945 Commits

Author SHA1 Message Date
Dylan K. Taylor
cdeb3ea5a6 Sync NBT dependency 2019-03-30 19:53:24 +00:00
Dylan K. Taylor
3ea5260935 Sync composer dependencies 2019-03-30 18:28:42 +00:00
Dylan K. Taylor
f4480c07ee Updated NBT dependency 2019-03-29 19:47:15 +00:00
Dylan K. Taylor
98f56087de make composer happy 2019-03-23 12:53:00 +00:00
Dylan K. Taylor
15c6554d8a Updated RakLib dependency 2019-03-23 12:52:50 +00:00
Dylan K. Taylor
8c536c248d Updating for latest PocketMine-NBT changes 2019-03-21 15:58:22 +00:00
Dylan K. Taylor
87928038e6 sync deps 2019-03-17 15:19:47 +00:00
Dylan K. Taylor
a858103e6b Support paletted subchunks, drop all formats except leveldb 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
1f5c901f29 ext-ds is now required 2019-03-01 20:03:16 +00:00
Dylan K. Taylor
01255c5368 Updated RakLib to get ITC efficiency enhancements 2019-02-15 12:29:16 +00:00
Dylan K. Taylor
0c89159cf2 Merge branch '3.6' 2019-02-09 19:22:00 +00:00
Dylan K. Taylor
1a8a04eab8 Merge branch '3.5' 2019-02-07 17:12:49 +00:00
Dylan K. Taylor
768cfe3953 Updated composer dependencies 2019-02-07 16:47:16 +00:00
Dylan K. Taylor
d6e44c7475 Sync composer dependencies 2019-01-26 14:11:45 +00:00
Dylan K. Taylor
5221db1178 Updated BinaryUtils dependency 2019-01-22 17:22:11 +00:00
Dylan K. Taylor
053defb7dc Updated RakLib dependency 2019-01-21 14:19:15 +00:00
Dylan K. Taylor
6b7710e62b Introduce dedicated NBT data exceptions, fix up some corrupted chunk handling 2019-01-19 12:43:47 +00:00
Dylan K. Taylor
bbc8bc4df5 Move some error handling stuff to SPL 2019-01-17 19:16:03 +00:00
Dylan K. Taylor
23269da1a6 Fixed the disaster of packet receive error handling 2019-01-16 19:53:48 +00:00
Dylan K. Taylor
1c2ed0836f Sync composer dependencies 2019-01-15 10:26:33 +00:00
Dylan K. Taylor
5d8fa2e126 Crash main server thread when RakLib dies
this way we get crashdumps and find out what's actually wrong with RakLib in the wild.
2019-01-09 19:04:12 +00:00
Dylan K. Taylor
b9ce6537a8 Sync composer dependencies (master) 2019-01-09 00:22:42 +00:00
Dylan K. Taylor
8452c7bdbd Sync composer dependencies 2019-01-09 00:18:55 +00:00
Dylan K. Taylor
2924303169 Sync NBT dependency 2019-01-07 22:38:04 +00:00
Dylan K. Taylor
4f50119b74 LoginPacket: Cater for more error cases
This now doesn't crash unexpectedly at the first sign of broken data.
2019-01-07 14:45:44 +00:00
Dylan K. Taylor
adc1069ed2 Merge branch '3.5' 2019-01-04 23:28:44 +00:00
Dylan K. Taylor
4b9a142a5d Import global functions and constants for enhanced performance
This is better for performance because these then don't need to be reevaluated every time they are called.

When encountering an unqualified function or constant reference, PHP will first try to locate a symbol in the current namespace by that name, and then fall back to the global namespace.
This short-circuits the check, which has substantial performance effects in some cases - in particular, ord(), chr() and strlen() show ~1500x faster calls when they are fully qualified.

However, this doesn't mean that PM is getting a massive amount faster. In real world terms, this translates to about 10-15% performance improvement.
But before anyone gets excited, you should know that the CodeOptimizer in the PreProcessor repo has been applying fully-qualified symbol optimizations to Jenkins builds for years, which is one of the reasons why Jenkins builds have better performance than home-built or source installations.
We're choosing to do this for the sake of future SafePHP integration and also to be able to get rid of the buggy CodeOptimizer, so that phar and source are more consistent.
2019-01-04 20:43:15 +00:00
Dylan K. Taylor
f81bbd60e8 Avoid use of internal fields in BinaryStream 2019-01-01 16:42:14 +00:00
Dylan K. Taylor
ae497a828f Merge branch 'release/3.5' 2018-12-30 17:33:31 +00:00
Dylan K. Taylor
ff2e982f22 Updated BinaryUtils dependency 2018-12-30 12:44:08 +00:00
Dylan K. Taylor
2e5465e328 Updated RakLib dependency 2018-12-29 20:13:28 +00:00
Dylan K. Taylor
7b3115c00c Moved network NBT serializer into network namespace 2018-12-29 20:12:00 +00:00
Dylan K. Taylor
3ebd7e8ba6 Add network-wide API to filter raw packets by regex, stricter validation for Query 2018-12-28 16:30:52 +00:00
Dylan K. Taylor
cf20f0e23a Merge branch 'release/3.5' 2018-12-27 15:53:12 +00:00
Dylan K. Taylor
6417cff618 Fixed resource packs with comments in manifest
MOJANG, THERE'S NO SUCH THING AS COMMENTS IN STANDARD JSON
2018-12-27 15:50:51 +00:00
Dylan K. Taylor
e5cb48bec2 Merge branch 'release/3.5' 2018-12-22 13:31:18 +00:00
Dylan K. Taylor
4763360e9e Update BinaryUtils dependency 2018-12-22 13:07:45 +00:00
Dylan K. Taylor
8dbeda69a7 Make use of Facing::rotateY() to reduce boilerplate 2018-12-07 10:49:12 +00:00
Dylan K. Taylor
05e968d9fd Merge branch 'release/3.4' 2018-12-04 18:40:54 +00:00
Dylan K. Taylor
762405d16a Add daverandom/callback-validator as a dependency 2018-12-04 17:14:37 +00:00
Dylan K. Taylor
302c509b9f Merge branch 'release/3.4' 2018-12-03 16:17:26 +00:00
Dylan K. Taylor
f091446ec7 Sync NBT dependency 2018-12-03 16:15:02 +00:00
Dylan K. Taylor
d5ae4ad141 Sync Math dependency 2018-11-24 18:34:49 +00:00
Dylan K. Taylor
101de7adda Update Math dependency, obliterate some nasty code from Block 2018-11-23 19:41:52 +00:00
Dylan K. Taylor
0b03e3c95b Update dependencies, fix travis failure 2018-11-05 21:20:42 +00:00
Dylan K. Taylor
011b9ae159 Update to latest NBT lib version 2018-10-23 16:47:00 +01:00
Dylan K. Taylor
9901e61d65 Merge branch 'release/3.3' 2018-10-12 09:32:17 +01:00
Dylan K. Taylor
97980d4516 Update composer dependency versions 2018-10-12 09:31:19 +01:00
Dylan K. Taylor
9338061390 Update composer lock dependencies 2018-10-06 15:10:43 +01:00
Dylan K. Taylor
1bb4daa7d1 Fixed mess of rotations being inverted 2018-09-16 17:37:36 +01:00