Dylan K. Taylor
7cf36f460b
Merge branch 'release/3.3' into release/3.4
2018-11-10 22:37:08 +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
3a6af3327f
Encapsulate plugin.yml commands handling inside PluginBase, removed CommandExecutor requirement from Plugin interface
...
This removes the need for custom Plugin implementations to implement onCommand().
In the future it's planned to remove plugin.yml commands completely and have them registered similarly to how events are handled.
2018-11-09 19:50:52 +00:00
Dylan K. Taylor
8b9ec5dde3
Merge branch 'release/3.4'
2018-11-07 22:11:27 +00:00
Dylan K. Taylor
a5f776af2f
Merge branch 'release/3.3' into release/3.4
2018-11-07 22:11:13 +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
0b03e3c95b
Update dependencies, fix travis failure
2018-11-05 21:20:42 +00:00
Dylan K. Taylor
67a5f3f557
Register MainLogger as SPL global, remove hard MainLogger dependency from many areas, break a bunch of cyclic dependencies
2018-11-05 19:01:59 +00:00
Dylan K. Taylor
ed8569a3f4
Remove Collectable class, fix memory leak on AsyncTask fatal error
2018-11-05 17:26:22 +00:00
Dylan K. Taylor
c201a0e909
Move language submodule to resources/
...
again, this isn't source code.
2018-11-05 09:49:21 +00:00
Dylan K. Taylor
ce7718f0d1
Move resources/ directory out of src/
...
this isn't source code and as such doesn't belong in here.
2018-11-05 09:46:43 +00:00
Dylan K. Taylor
2a5ab1f397
Merge branch 'release/3.4'
2018-11-04 23:33:10 +00:00
Dylan K. Taylor
3d2701e775
Merge branch 'release/3.3' into release/3.4
2018-11-04 23:32:56 +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
6437078c8b
TaskScheduler: remove deprecated constructor parameter
2018-11-04 23:30:04 +00:00
Dylan K. Taylor
0028ce0ed2
Merge branch 'release/3.4'
2018-11-04 23:25:05 +00:00
Dylan K. Taylor
e26af3fa1b
TaskScheduler: don't catch unexpected exceptions
...
this means that errors in scheduled tasks which are uncaught will now cause a server crash.
2018-11-04 23:22:30 +00:00
Dylan K. Taylor
1634dd62e3
Don't catch unexpected exceptions during command execution
2018-11-04 23:11:51 +00:00
Dylan K. Taylor
2a43d9ecb6
Merge remote-tracking branch 'origin/release/3.4'
2018-11-04 22:56:03 +00:00
Dylan T
755db3dac8
Added a ClosureTask implementation for easier task scheduling ( #2497 )
2018-11-04 22:55:40 +00:00
Dylan K. Taylor
3dabf90b0e
Merge branch 'release/3.3' into release/3.4
2018-11-04 22:38:58 +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
1c9137aa94
Merge branch 'release/3.4'
2018-11-04 22:18:15 +00:00
Dylan K. Taylor
0543c17849
Merge branch 'release/3.3' into release/3.4
2018-11-04 22:15:46 +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
87b471ce0f
AsyncPool: reverse e0d5c79848335ae9335686fd896e593324f2b191, don't catch unexpected exceptions thrown by onCompletion()
...
this should never throw an uncaught exception, and if it does it indicates broken code.
2018-11-04 22:09:30 +00:00
Dylan K. Taylor
38d419fb29
Level: use isInWorld() where appropriate
2018-11-04 12:59:34 +00:00
Dylan K. Taylor
6e05b5cc4b
Merge branch 'release/3.4'
2018-11-04 11:57:40 +00:00
Dylan K. Taylor
055ba6aa7c
Merge branch 'release/3.3' into release/3.4
2018-11-04 11:57:35 +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
0e87cf801e
Merge branch 'release/3.4'
2018-11-03 19:44:00 +00:00
Dylan K. Taylor
af1227f154
Merge branch 'release/3.3' into release/3.4
2018-11-03 19:43:54 +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
652256a109
Merge branch 'release/3.4'
2018-11-03 16:58:19 +00:00
Dylan K. Taylor
9caf62778c
AsyncTask: remove $serialize parameter from setResult()
...
Whether serialization is necessary can be determined automatically based on the type of variable.
2018-11-03 16:56:24 +00:00
Dylan K. Taylor
e94dd367ef
Merge branch 'release/3.4'
2018-11-03 15:46:31 +00:00
Dylan K. Taylor
d257d36e55
Merge branch 'release/3.3' into release/3.4
2018-11-03 15:14:27 +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
1b4c65e74d
Merge branch 'release/3.4'
2018-11-03 12:12:59 +00:00
Dylan K. Taylor
44d8a5528e
Merge branch 'release/3.3' into release/3.4
2018-11-03 12:12:42 +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