Commit graph

99 commits

Author SHA1 Message Date
Bjarne Koll
d9699b5935
Configure mokitor Server mock as stubOnly (#8861)
A recent patch moved the internal unit tests to mokito, allowing
deep mocking to easily setup a mocked server instance.
While this change is useful, the server's Server#getItemFactory methods
is one of the hottest paths during unit testing, being called numerous
times by material tests.
As mokito mocks keep track of each invocation to allow for verifications
of invocations down the line, the server mock allocates a huge amount of
memory to keep track of all invocations, ultimately leading to an OOM
exception.

The previous solution solved this by increasing the tests memory to 2 GB,
however as of right now simply configuring the server mock as "stubOnly",
properly prevents the overflow of invocation records as none of the unit
test code relies on invocation verification.
2023-02-21 17:18:49 +01:00
Owen
841da90501
Paper Plugins (#8108) 2023-02-19 08:57:10 -06:00
Jason
8fced9d5ab
[ci skip] Update paperweight to 1.5.1 (#8856) 2023-02-16 09:03:25 -07:00
Jake Potrebic
afe633df08
convert API/server tests to mockito (#8848)
* convert API tests to mockito

* convert server tests to mockito

* add co-author
2023-02-15 13:27:40 -08:00
Nassim Jahnke
a0b59cad77
[ci skip] Update paperweight to 1.4.1 2023-01-06 09:43:31 +01:00
Jason Penilla
3822cc891d
Update paperweight to 1.4.0 2022-12-13 10:09:15 -07:00
Shane Freeder
7414739946
Disable ATs from unapplied folder 2022-12-07 23:25:00 +00:00
Nassim Jahnke
4fbe8d0b9b
First server patches 2022-12-07 18:08:55 +01:00
Nassim Jahnke
fd58a696cb
API patches 2022-12-07 17:46:46 +01:00
Jake Potrebic
b95d4b28b8
Moving ATs from the at file to individual patches (#8573) 2022-11-19 15:53:20 -08:00
Jake Potrebic
e22dacf4d2
update yarn param mappings (#8563) 2022-11-12 12:57:41 -08:00
Jason Penilla
4a9c9b3fb0
Build updates 2022-10-31 15:25:30 -07:00
Jake Potrebic
bef2c9d005
1.19.2 (#8250) 2022-08-05 15:58:34 -07:00
Nassim Jahnke
734a43657a
Move patches over, start with first few 2022-07-27 20:52:03 +02:00
Jason Penilla
0d79b867e5
Update paperweight to 1.3.8 2022-06-27 15:27:36 -07:00
Jason Penilla
3690440aaa Update paperweight to 1.3.7 2022-06-12 13:43:58 -07:00
Nassim Jahnke
cb05aa6b8b
Prepare for 1.19 dev 2022-06-07 18:52:56 +02:00
Jason
af3b3778f6
Update ForgeFlower (#7857) 2022-05-29 12:54:25 -07:00
Noah van der Aa
ed4e9163ef
[ci-skip] Update repository and API urls (#7835) 2022-05-20 08:12:30 -07:00
Jason Penilla
c449f6a1f7
Build updates
- update paperweight to 1.3.6
- update tiny-remapper to 0.8.2
2022-04-21 19:27:56 -07:00
Jason
a9f252e56a
Replace third party repos with Paper repo (#7733)
we now mirror Fabric, Forge, and Mojang
2022-04-13 19:58:48 -07:00
Jason
4322c05f02
Use patched spigot decompiler (#7706) 2022-04-07 09:36:19 -07:00
Jason Penilla
820e9ca70b
Update decompiler & param mappings 2022-04-05 10:37:36 -07:00
Shane Freeder
b9f26bb1e9
Add printPaperVersion task 2022-03-04 09:41:03 +00:00
Jason Penilla
753bf2c103
Update paperweight to 1.3.5 2022-03-03 19:06:19 -07:00
Nassim Jahnke
c2e2281f29
Initial 1.18 update 2022-02-28 22:52:35 -07:00
Jason Penilla
9cab01ed1d
[ci skip] Update Gradle wrapper to 7.4 2022-02-21 13:44:17 -07:00
Jason Penilla
41263d9231
[ci skip] Update paperweight to 1.3.4 2022-01-27 13:19:45 -07:00
Jason Penilla
f7dbd062e7
[ci skip] Update parameter mappings 2022-01-25 20:44:24 -07:00
Jason Penilla
b164899084
Update tiny-remapper 2022-01-25 20:22:49 -07:00
Jake Potrebic
eb98398158
Fixed FishingHook param mappings being swapped (#7243) 2022-01-02 22:24:33 -08:00
Jason Penilla
fa438331e0
[ci skip] Update shadow and remove semicolons from kotlin code 2021-12-31 14:28:13 -08:00
Owen1212055
721f14842f
[ci skip] Change test logging settings to log by default (#7203) 2021-12-30 13:52:30 -08:00
Jason Penilla
5cb294299c
Update paperweight to 1.3.3 and shadow to 7.1.1 2021-12-21 01:14:41 -08:00
Jason Penilla
91f3edaac4
Update paperweight to 1.3.2 2021-12-12 01:23:12 -08:00
Nassim Jahnke
1c779c2d2e
Update to 1.18.1 (#7076) 2021-12-10 15:24:07 +01:00
Jason
956124f86a
Build updates (#6992) 2021-12-01 23:21:14 -08:00
Shane Freeder
13a445c083
Update paperclip to v3.0.2 2021-12-01 09:28:26 +00:00
Kyle Wood
effa3bad36
Update to paperweight 1.3.0 2021-11-30 19:10:15 -06:00
Jake Potrebic
ba722a8c9d Update paperclip and yarn mappings (#6943) 2021-11-30 19:26:33 +01:00
Kyle Wood
0af80abdca Bump Paperclip and fix configuration cache issue 2021-11-30 19:26:33 +01:00
Josh Roy
bc0dd0df3d Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
716b4fce Revert SnakeYAML upgrade
ca6f8942 Update to Minecraft 1.18-rc3
57e7e952 #683: Add Player#showDemoScreen

CraftBukkit Changes:
c98abfb0 Update to Minecraft 1.18-rc3
9b258501 #960: Add Player#showDemoScreen
d9542247 Produce remapped jars after bootstrap jar
99f3ddde SPIGOT-6808: Fix RegionAccessor#getBiome

Spigot Changes:
b7a4222e Update to Minecraft 1.18-rc3
2021-11-30 19:26:33 +01:00
Kyle Wood
e519a51f95 Upgrade paperweight with bundler jar updates
This allows creating paperclip jars pre-patch (only the reobf'd jar for
now).
2021-11-30 19:26:33 +01:00
Jake
00be0b7b30 Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
d25437bc Update to Minecraft 1.18-pre8

CraftBukkit Changes:
5a39a236 Update to Minecraft 1.18-pre8

Spigot Changes:
7840c2af Update to Minecraft 1.18-pre8
2021-11-30 19:26:33 +01:00
Jason Penilla
35aeb0ddeb Update server build file 2021-11-30 19:26:33 +01:00
Kyle Wood
1ac7223aae Verify and fix build-data adjustments for 1.18 reobf 2021-11-30 19:26:33 +01:00
Jason Penilla
a8ef7aa56f Prepare for updating server patches 2021-11-30 19:26:33 +01:00
Jason Penilla
721986c9c8 Use correct decompile repo 2021-11-30 19:26:33 +01:00
Jason Penilla
d3f17db87d java 17 2021-11-30 19:26:33 +01:00
Jason Penilla
67069e1e74 not local snapshot 2021-11-30 19:26:33 +01:00