9a5d3e3d4f
Merge branch 'stable'
2020-01-28 14:35:50 +00:00
e2871fad8e
composer.json: move require-dev next to require
2020-01-28 14:32:55 +00:00
41d02003c2
Install PHPStan and PHPUnit via dev dependencies
2020-01-27 12:04:42 +00:00
73257ffde7
updated pocketmine/spl dependency
2020-01-19 19:50:20 +00:00
a4b810977a
Merge commit '651ef500a3be530f5bf1f72990c711706eab3ca7'
2020-01-13 19:29:38 +00:00
651ef500a3
Make pocketmine\PATH and pocketmine\RESOURCE_PATH always available
...
these are non-dependent on environment, so they can be determined with no external input.
This fixes 2 PHPStan issues, fixes some code that couldn't run outside of PM, and makes it easier to write code that depends on PM.
2020-01-13 10:55:54 +00:00
a733f094ac
phpstan: added a custom rule to disallow strict equality operators on enum members
...
comparing enums with equality operators is unreliable because there is no guarantee that the enum objects won't be somehow duplicated, through serialization, cloning or ext-parallel dumb object copying. This means that two equal enum objects may not be thw same object.
2020-01-08 19:45:05 +00:00
c16337a80f
Merge branch 'stable' with changes
2019-11-09 18:01:04 +00:00
4cb0b319c0
load some non-class constants with composer
...
this makes PHPStan happy and also makes working with PM code externally less of a pain in the ass.
2019-11-05 11:16:22 +00:00
2e446e4df3
added pocketmine/classloader dependency (extracted from pocketmine/spl)
2019-10-28 12:29:48 +00:00
0a751857cc
added pocketmine/log dependency
2019-10-24 19:39:58 +01:00
043f1a5577
ext-igbinary is mandatory since e1352668d1
2019-10-24 13:17:04 +01:00
95a4081d24
update composer dependencies
2019-08-25 16:04:51 +01:00
5499ac620c
Removed pocketmine subdirectory, map PSR-4 style
2019-07-30 19:14:57 +01:00
72c0af2e82
Merge branch 'stable'
2019-07-22 17:39:44 +01:00
5a08a10448
update dependency requirements
2019-07-22 17:15:18 +01:00
a858103e6b
Support paletted subchunks, drop all formats except leveldb
2019-03-10 19:53:24 +00:00
1f5c901f29
ext-ds is now required
2019-03-01 20:03:16 +00:00
768cfe3953
Updated composer dependencies
2019-02-07 16:47:16 +00:00
b9ce6537a8
Sync composer dependencies (master)
2019-01-09 00:22:42 +00:00
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
cf20f0e23a
Merge branch 'release/3.5'
2018-12-27 15:53:12 +00:00
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
05e968d9fd
Merge branch 'release/3.4'
2018-12-04 18:40:54 +00:00
762405d16a
Add daverandom/callback-validator as a dependency
2018-12-04 17:14:37 +00:00
0b03e3c95b
Update dependencies, fix travis failure
2018-11-05 21:20:42 +00:00
011b9ae159
Update to latest NBT lib version
2018-10-23 16:47:00 +01:00
f218868338
Separate facing/bearing handling from Vector3, deobfusticate a ton of @shoghicp old code
2018-09-05 19:56:14 +01:00
034472bfe7
Merge branch 'release/3.3'
2018-09-04 11:58:19 +01:00
a4a9309193
Updated NBT dependency for bug fix
2018-09-04 11:43:38 +01:00
2bf6764112
Implemented network encryption ( #2343 )
...
For those who fuss about performance, you can disable the `network.enable-encryption` option to use sessions without encryption.
2018-07-31 15:54:18 +01:00
78eae28a3e
Updated dependencies to release versions
2018-06-13 11:17:07 +01:00
8a9af7bf2f
Update and sync extension dependencies
2018-06-12 16:27:52 +01:00
f3a84b332b
Updated RakLib and SPL dependencies, allow any 0.3.x SPL
2018-06-09 20:13:27 +01:00
37b445f210
Updated Math dependency
2018-06-09 13:05:25 +01:00
9d16863b1a
Convert some TesterPlugin tests into PHPUnit tests, add PHPUnit configuration
2018-06-05 19:33:21 +01:00
3ee6bfca2a
Updated Math dependency
2018-05-28 14:04:17 +01:00
c513d355cb
Updated Snooze dependency
2018-05-25 13:52:12 +01:00
f4a26ddfd9
update Composer dependencies to get Snooze asserts
...
warning: there are bugs in this code! this will crash and burn without warning!!!!!
2018-05-20 12:57:23 +01:00
753ed3801d
update RakLib version
2018-05-09 20:18:36 +01:00
2a0a2134d1
Server: Implemented an signal/sleep interrupt mechanism for ticking ( #2171 )
...
This allows other threads to notify the main thread to wake it up while it's sleeping between ticks, allowing reduction of processing latency.
Currently only RakLib and the CommandReader threads utilize this, but it's planned to extend it to more things in the near future.
CommandReader is now event-driven instead of poll-based - the server will not poll the CommandReader thread for messages each tick anymore.
RakLib utilizes this mechanism to get packets processed without delays to lower latency.
This now adds an extra dependency - `pocketmine/snooze` library contains the meat of the code used for this. See the Snooze repository for details.
2018-05-09 14:18:13 +01:00
554fe4d14d
Updated dependencies, require 64-bit PHP in composer.json
2018-04-16 10:19:17 +01:00
c276ef2b7f
Updated dependency versions
2018-04-13 20:09:18 +01:00
476ac39988
update PHP version requirements in composer files
2018-04-09 15:50:55 +01:00
99134de6b6
Updated NBT dependency
...
this needs further changes (particularly to Furnace) to stop things abusing NBT for runtime data handling, otherwise performance is going to drop off a cliff.
2018-04-04 10:29:32 +01:00
3d89bf5693
Updated PocketMine Math dependency
2018-03-18 18:08:24 +00:00
7f6b8ad7c2
Moved \pocketmine\math to a separate library
2018-03-17 12:45:55 +00:00
313b224bec
Updated Composer dependency names and repo URLs
2018-03-17 12:19:14 +00:00
d12b1d3e07
Updated RakLib dependency
2018-03-17 11:27:56 +00:00
cbbed6a6c1
Updated RakLib dependency
2018-02-19 10:01:56 +00:00