Dylan T
d5a1961e6b
Force minimum uptime to be >= 120 seconds if a crash occurs ( #2534 )
...
This is an incremental improvement over 4a6841a5a465c791b512517394241f0ac0b38739. This change works better because it also reduces disk spam of crashdumps.
This will now sleep if the server uptime was less than 120 seconds before crashing. If unattended, this will clamp down on automated crashdump spam. If attended, the user can simply press CTRL+C to abort the process and skip the delay.
2018-11-25 14:35:35 +00:00
Dylan K. Taylor
6bc79149c3
SubChunk: Fixed $changed not getting set in setBlock() when only block data changed
...
it was comparing a string and an int. This now compares the integer values first.
2018-11-22 16:47:25 +00:00
Dylan K. Taylor
e018311e73
Make start script errors a bit more noob-friendly
2018-11-13 18:23:54 +00:00
Dylan K. Taylor
71d02e5870
Improve dev build error messages
2018-11-12 22:07:14 +00:00
Dylan K. Taylor
d312aef1ac
3.3.3 is next
2018-11-11 11:58:51 +00:00
Dylan K. Taylor
200de3fe84
Release 3.3.2
3.3.2
2018-11-11 11:58:25 +00:00
Dylan K. Taylor
f560a6efea
Merge tag '3.2.7' into release/3.3
2018-11-11 11:24:23 +00:00
Dylan K. Taylor
7ecd7fd13f
Release 3.2.7
3.2.7
2018-11-11 11:23:20 +00:00
Dylan K. Taylor
b893645a81
Merge branch 'release/3.2' into release/3.3
2018-11-11 11:15:39 +00:00
Dylan K. Taylor
b19b3134ad
PluginManager: reduce unnecessary indentation
2018-11-11 11:15:27 +00:00
Dylan K. Taylor
243f86b0a0
Merge branch 'release/3.2' into release/3.3
2018-11-10 22:37:02 +00:00
Dylan K. Taylor
9156cbc269
PluginManager: Make registerEvents() check order more logical
...
Prioritize validating that the function is actually a handler, before trying to parse its doc comment.
2018-11-10 22:36:46 +00:00
Dylan K. Taylor
43fe6a1934
Merge branch 'release/3.2' into release/3.3
2018-11-07 20:02:28 +00:00
Dylan K. Taylor
342a74ffcb
Level: Collect garbage from chunk internals in doChunkGarbageCollection()
2018-11-07 20:01:07 +00:00
Dylan K. Taylor
2183bf875c
Merge remote-tracking branch 'origin/release/3.2' into release/3.3
2018-11-04 23:32:33 +00:00
Dylan T
8cc2a4ce5d
Remove start script support for source-code installations ( #2495 )
...
This was suggested recently by @TheDeibo. We don't want users running source-code installations unless they are developers, and developers should know how to boot a source-code installation anyway.
2018-11-04 23:31:57 +00:00
Dylan K. Taylor
f61e14e341
Merge branch 'release/3.2' into release/3.3
2018-11-04 22:38:45 +00:00
Dylan K. Taylor
7b24fbc8db
Utils: fix a mistake in getNiceClassName() doc
2018-11-04 22:38:38 +00:00
Dylan K. Taylor
c4f3426bae
Merge branch 'release/3.2' into release/3.3
2018-11-04 22:15:21 +00:00
Dylan K. Taylor
046c39b02e
Remove some Throwable abuse in AsyncTasks
2018-11-04 22:15:06 +00:00
Dylan K. Taylor
5c3eed40b3
Merge branch 'release/3.2' into release/3.3
2018-11-04 11:57:28 +00:00
Dylan K. Taylor
3e5237b6e0
ItemEntity: remove useless instanceof
2018-11-04 11:57:22 +00:00
Dylan K. Taylor
d9a867016c
Merge branch 'release/3.2' into release/3.3
2018-11-03 19:43:45 +00:00
Dylan K. Taylor
a50a863ab7
Chunk: be more intelligent about fast-serializing chunks
...
This reduces the amount of useless data that pthreads has to copy around.
2018-11-03 19:43:35 +00:00
Dylan K. Taylor
1b03168b88
Merge branch 'release/3.2' into release/3.3
2018-11-03 15:12:40 +00:00
Dylan K. Taylor
6b9fee05d6
Fixed performance bug with chunk sending
...
this process of fast-serialization, fast-deserialize, network-serialize is an order of magnitude slower than just doing the network encode directly on the main thread, and also copies more useless data.
For the main thread, the figures were something like 3x more expensive, and then an extra 7x for deserialization on the worker thread. This is a ridiculously large overhead.
2018-11-03 15:12:30 +00:00
Dylan K. Taylor
45a18ffe1e
Merge branch 'release/3.2' into release/3.3
2018-11-03 12:12:23 +00:00
Dylan K. Taylor
f0182c9996
TaskHandler: remove incorrect internal warning
...
this is perfectly fine to use, and preferable to getting a cyclic ref to the scheduler. TaskScheduler->cancelTask() does pretty much the exact same thing, and the scheduler internals are designed to deal with this anyway.
2018-11-03 12:12:02 +00:00
Dylan K. Taylor
2d88058710
Merge branch 'release/3.2' into release/3.3
2018-10-31 18:55:18 +00:00
Dylan K. Taylor
ab48d85c35
Properly deal with anonymous tasks in timings
2018-10-31 18:51:30 +00:00
Dylan K. Taylor
d9b7a28747
Merge branch 'release/3.2' into release/3.3
2018-10-30 15:42:52 +00:00
Dylan K. Taylor
31ceafa111
Chest: keep inventory better in sync when paired
...
should fix #2502
2018-10-30 15:42:44 +00:00
Dylan K. Taylor
694d7d4e20
Merge branch 'release/3.2' into release/3.3
2018-10-29 12:42:10 +00:00
Dylan K. Taylor
2da2fdd6d4
Added a test for Item->equals() when both items have no NBT
2018-10-29 12:42:03 +00:00
Dylan K. Taylor
c1c56f29bb
Merge branch 'release/3.2' into release/3.3
2018-10-26 20:08:55 +01:00
Dylan K. Taylor
9b820a0849
Guard against possible overflow bug in NetworkBinaryStream
2018-10-26 20:08:48 +01:00
Dylan K. Taylor
3128449033
3.3.2 is next
2018-10-25 19:36:20 +01:00
Dylan K. Taylor
a60154e0b7
Release 3.3.1
3.3.1
2018-10-25 19:29:57 +01:00
Dylan K. Taylor
4cbbf2e91c
Merge branch 'release/3.2' into release/3.3
2018-10-25 19:29:34 +01:00
Dylan K. Taylor
b0624aff9f
3.2.7 is next
2018-10-25 19:28:54 +01:00
Dylan K. Taylor
c38e2c5ccb
Release 3.2.6
3.2.6
2018-10-25 19:20:26 +01:00
Dylan K. Taylor
02ef0bfbb4
Remove unnecessary quotes
...
these appear on the echoed message, which is undesirable.
2018-10-25 18:49:06 +01:00
Dylan K. Taylor
4835537886
Merge branch 'release/3.2' into release/3.3
2018-10-25 18:41:58 +01:00
Dylan K. Taylor
4a6841a5a4
Added client side self rate-limiting for crashdump reporting
...
this should produce some reduction in spam at the source.
This could also be used to control the rate at which constantly-crashing servers restart to stop them spamming the disk as well, but the main concern here is eliminating crash archive involuntary DDoS by crashy servers.
2018-10-25 18:10:59 +01:00
Dylan K. Taylor
925da62afa
Merge branch 'release/3.2' into release/3.3
2018-10-24 15:49:09 +01:00
Dylan K. Taylor
09985c5763
Fixed async light population producing garbage when generator isn't registered, closes #2488
2018-10-24 15:49:00 +01:00
Dylan K. Taylor
d1ee9eb960
Merge branch 'release/3.2' into release/3.3
2018-10-24 12:00:55 +01:00
Dylan K. Taylor
196cf8a68d
Fixed missing MoveEntityDeltaPacket field
2018-10-24 12:00:25 +01:00
Dylan K. Taylor
5e68858ebf
Merge branch 'release/3.2' into release/3.3
2018-10-21 18:16:59 +01:00
Dylan K. Taylor
45c9caa38c
Fixup some formatting issues
2018-10-21 18:15:25 +01:00