10573 Commits

Author SHA1 Message Date
Dylan K. Taylor
2a6ffb5aa9 updated build/php submodule 2019-11-09 17:33:25 +00:00
Dylan K. Taylor
932418b951 fixing some PHPStan complaints about bootstrap
this isn't an ideal fix, but it'll do.
2019-11-07 18:22:37 +00:00
Dylan K. Taylor
95812252d6 NetworkBinaryStream: fix a mistake in doc for putEntityRuntimeId() 2019-11-07 18:22:37 +00:00
Dylan K. Taylor
cac3c356a5 Painting: fix dropping multiple items when multiple blockupdates occur in the same tick
test case: place sand on top of a line of signs, put a painting on the sand and break the supporting sign
fixes #2774 for stable
2019-11-06 14:29:43 -05:00
Dylan K. Taylor
c5d3e9be76 phpstan: silence leveldb noise
maybe there's a better way to do this, but I don't know it yet.
2019-11-05 20:21:36 +00:00
Dylan K. Taylor
714f4dc023 fortify CI with PHPStan 2019-11-05 19:42:37 +00:00
Dylan K. Taylor
a86bcd5110 travis.sh: don't redownload phpunit if it already locally exists 2019-11-05 19:39:04 +00:00
Dylan K. Taylor
7ffc477d76 introduced baseline PHPStan configuration 2019-11-05 11:16:49 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
cbef2bbc51 move ThreadException to pocketmine\thread namespace 2019-10-29 12:42:38 +00:00
Dylan K. Taylor
5edff79f5f 3.9.8 is next 2019-10-28 16:07:35 +00:00
Dylan K. Taylor
0c91d568b4 Release 3.9.7 3.9.7 2019-10-28 16:07:35 +00:00
Dylan K. Taylor
35fabc7765 updated DevTools submodule to 1.13.5 2019-10-28 16:03:26 +00:00
Dylan K. Taylor
2e446e4df3 added pocketmine/classloader dependency (extracted from pocketmine/spl) 2019-10-28 12:29:48 +00:00
Dylan K. Taylor
b5a98a993f lazy-init RuntimeBlockMapping 2019-10-27 20:58:43 +00:00
Dylan K. Taylor
0840ba8067 PocketMine.php: reduce unnecessary pocketmine\NAME dependencies 2019-10-26 21:37:15 +01:00
Dylan K. Taylor
274cf58ccf PocketMine.php: remove useless ini_set() (this is a PHP_INI_SYSTEM directive which can't be changed at runtime) 2019-10-25 21:38:47 +01:00
Dylan K. Taylor
1bce5d0bc2 PocketMine.php: move BaseClassLoader creation to where it's actually used 2019-10-25 21:26:22 +01:00
Dylan K. Taylor
0d5d5e21a8 CommandReader: define $w and $e to make PHPStan happy 2019-10-25 16:11:02 +01:00
Dylan K. Taylor
a145e18c1e CrashDump: use fully qualified reference for GIT_COMMIT constant
this makes it easier to filter out PHPStan noise.
2019-10-25 16:08:37 +01:00
Dylan K. Taylor
d1ca779c1a fix PHPStan @throws incompatible warning 2019-10-25 15:49:47 +01:00
Jack Noordhuis
c8cf329c94 Plugin::getLogger() interface no longer depends on PluginLogger (#3160)
The Plugin contract now typehints the relied on AttachableLogger contract rather than the concrete PluginLogger implementation.
2019-10-24 20:26:42 +01:00
Dylan K. Taylor
46e005543f update pocketmine/log 2019-10-24 19:49:53 +01:00
Dylan K. Taylor
0a751857cc added pocketmine/log dependency 2019-10-24 19:39:58 +01:00
Dylan K. Taylor
abbb8bbf55 travis.sh: allow latest phpunit v7 now that we have XML
not ready to move to v8 yet because of BC breaks
2019-10-24 13:37:24 +01:00
Dylan K. Taylor
e4d2a4d911 canary: update build/php submodule 2019-10-24 13:30:05 +01:00
Dylan K. Taylor
466580197d Merge branch 'stable' 2019-10-24 13:29:44 +01:00
Dylan K. Taylor
86c7870427 update build/php submodule 2019-10-24 13:28:27 +01:00
Dylan K. Taylor
15762b03f8 EntityMetadataCollection: fixed wrong parameter doc type on set() 2019-10-24 13:27:38 +01:00
Dylan K. Taylor
ec13cd695d travis: use ds 1.2.9 2019-10-24 13:19:29 +01:00
Dylan K. Taylor
dbc4f84bcb travis: add igbinary 2019-10-24 13:18:42 +01:00
Dylan K. Taylor
043f1a5577 ext-igbinary is mandatory since e1352668d1bfc9d6638afc4c7c43cf17b87430c5 2019-10-24 13:17:04 +01:00
Dylan K. Taylor
acdcb99566 fixed 2cac7331f5f4922fba3eeb1c98ce1fbe45541cec merge error 2019-10-24 11:46:47 +01:00
Dylan K. Taylor
2cac7331f5 Merge branch 'stable' 2019-10-24 09:35:57 +01:00
Dylan K. Taylor
48080b7f90 PocketMine.php: define INT32_MASK earlier
this is non-dependent on any of the PM crap.
2019-10-24 09:23:37 +01:00
Dylan K. Taylor
b216fb8910 PocketMine.php: set INI entries as early as possible 2019-10-24 09:18:50 +01:00
Dylan K. Taylor
d3171d6a8e backport a53f698d383fd06efe4fab516314fa22ad0f4ab0: PocketMine.php: remove useless set_time_limit() call
this is hardcoded to zero in the PHP core anyway.
2019-10-24 09:14:18 +01:00
Dylan K. Taylor
c063a4da29 backport 5c1f1f00cbbcc6460927b922f993f1de8e1e046c: move assert.exception to PocketMine.php with the other stuff 2019-10-24 09:12:05 +01:00
Dylan K. Taylor
cc79dfa64c backport 8b40a8f21764008aa7b2a64788af2c77f238e219: PocketMine.php: move INI entry setting to a separate function 2019-10-24 09:09:53 +01:00
Dylan K. Taylor
d6b9950901 backport fdfbaf4e95d9760199b363005cca71b852d5eee5: make startup performance warnings a little more coherent 2019-10-24 09:06:28 +01:00
Dylan K. Taylor
1815fe5b46 backport 647f86a5b818c308e7fd690178c20099a836cfe9: PocketMine.php: remove redundant ini_set()
this is overridden later on by MemoryManager.
2019-10-24 09:02:37 +01:00
Dylan K. Taylor
3e993250d8 backport 0c31b8731fe68bd56dbbfcc5eed77dedef914664: PocketMine.php: use main logger to emit force-kill debug 2019-10-24 08:57:31 +01:00
Dylan K. Taylor
1163ac1d7a backport 0c31b8731fe68bd56dbbfcc5eed77dedef914664: PocketMine.php: get rid of redundant LOCK_FILE_PATH constant 2019-10-24 08:55:28 +01:00
Dylan K. Taylor
9a51ba697a PocketMine.php: move some mission-critical stuff earlier in boot sequence
fixes #3161
2019-10-24 08:50:13 +01:00
Dylan K. Taylor
9aab97578b World: clean up lighting update API 2019-10-23 21:52:39 +01:00
Dylan K. Taylor
3768f3008e World: group light-related functions
i don't know why these were dumped between getBlock() and setBlock() to begin with.
2019-10-23 21:29:00 +01:00
Dylan K. Taylor
f01b7b74ba World: remove setBlockLightAt() and setBlockSkyLightAt() 2019-10-23 21:25:29 +01:00
Dylan K. Taylor
a3b73d95a7 LightUpdate: allow providing effective light levels for propagation, fix #2999 2019-10-23 21:01:19 +01:00
Dylan K. Taylor
f3f9ebf312 SubChunkIteratorManager: added isValid() 2019-10-23 20:21:09 +01:00
Dylan K. Taylor
21e9bca64a World: remove getHeightMap() and setHeightMap()
these are too specialized to be of any use to plugin developers, and they are also misleading - plugin devs often think this refers to the highest block Y coordinate, but it doesn't.
2019-10-23 19:30:06 +01:00