10019 Commits

Author SHA1 Message Date
Dylan K. Taylor
61391b6e23
Release 3.17.6 3.17.6 2021-03-10 20:48:57 +00:00
Dylan K. Taylor
fbb6f1f81c
Workaround for cursor sync in 1.13+, closes #4059 2021-03-07 21:17:52 +00:00
Dylan K. Taylor
712df04bc4
Updated NBT dependency to 0.2.17 2021-03-07 21:06:08 +00:00
Dylan K. Taylor
1563e25378
Updated composer dependencies 2021-03-07 19:57:16 +00:00
Dylan K. Taylor
ed84252942
Player: Improved XUID verification
we check if an existing player is online with a matching XUID first; if there isn't, we don't bother loading the playerdata, since that other player couldn't have joined unless they had a match or were allowed to bypass.
2021-03-07 19:53:19 +00:00
Dylan K. Taylor
3d90625020
Revert "Revert "Use PHP 7.4.16 for Actions""
This reverts commit 9f6b914925cc228ce1e34b7f12db1678fe3eb0e9.
2021-03-07 16:37:33 +00:00
Dylan K. Taylor
9f6b914925
Revert "Use PHP 7.4.16 for Actions"
This reverts commit 0e614ea8fd313e7bd86b61aa2e5040763623e653.

apparently php-build doesn't have 7.4.16 yet ...
2021-03-06 00:41:19 +00:00
Dylan K. Taylor
0e614ea8fd
Use PHP 7.4.16 for Actions 2021-03-06 00:32:56 +00:00
dependabot-preview[bot]
401bd09d60
Bump phpstan/phpstan from 0.12.79 to 0.12.80 (#4054) 2021-03-01 16:56:23 +00:00
dependabot-preview[bot]
649671cc69
Bump phpstan/phpstan from 0.12.78 to 0.12.79 (#4051) 2021-02-27 17:42:19 +00:00
Dylan K. Taylor
e755e1dc23
ResourcePackClientResponsePacket: fixed non-deterministic decoding 2021-02-27 01:08:18 +00:00
dependabot-preview[bot]
e34a444dde
Bump phpstan/phpstan from 0.12.77 to 0.12.78 (#4046) 2021-02-26 00:34:38 +00:00
Dylan K. Taylor
78f9985377
Player: fixed PlayerMoveEvent->getFrom() returning unexpected results on movement reversion
fixes #4043
2021-02-26 00:30:42 +00:00
Dylan K. Taylor
fac2bd3379
Liquid: mark getSmallestFlowDecay() as impure
this fixes two bogus PHPStan warnings.
2021-02-25 22:41:07 +00:00
Dylan K. Taylor
fcfd51dfc7
CrashDump: do not put FALSE into crashdumps in case file_get_contents() failed 2021-02-23 19:39:21 +00:00
Dylan K. Taylor
ccc76cf338
Make less noise about XBL being enabled
this has been in force for years now, it's expected by now.
2021-02-23 19:25:22 +00:00
Dylan K. Taylor
10a73488ed
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable 2021-02-22 16:43:51 +00:00
Dylan K. Taylor
9c5114084b
Updated Snooze to fix race conditions 2021-02-22 16:42:54 +00:00
dependabot-preview[bot]
11630ab1aa
Bump phpstan/phpstan from 0.12.76 to 0.12.77 (#4041) 2021-02-18 11:34:42 +00:00
Dylan K. Taylor
a3068b39a2
Update composer dependencies 2021-02-16 22:31:01 +00:00
Dylan K. Taylor
edbc73a72c
3.17.6 is next 2021-02-16 22:13:05 +00:00
Dylan K. Taylor
3a0c8dd594
Release 3.17.5 3.17.5 2021-02-16 22:13:05 +00:00
Dylan K. Taylor
16fa26405a
Remove remaining usages of LevelDB::close()
this is handled by the object destructor.

closes #4035
2021-02-15 20:10:11 +00:00
mmm545
57423540f0
BUILDING.md: Document server-phar.php's compression bug (#4037)
This bug is not fixable on PM's side because the fault lies with php-src. It was fixed recently in 1bb2a4f91c.
2021-02-15 19:53:44 +00:00
dependabot-preview[bot]
8f8821c904
Bump phpstan/phpstan from 0.12.75 to 0.12.76 (#4038) 2021-02-15 11:25:36 +00:00
Dylan K. Taylor
094102fe92
fopen() might return FALSE if permission was denied to read/write the file 2021-02-12 16:16:36 +00:00
Dylan K. Taylor
2aef83e7d7
MainLogger: fix type ambiguity 2021-02-12 15:05:24 +00:00
dependabot-preview[bot]
5c3e78e1d3
Bump phpstan/phpstan from 0.12.74 to 0.12.75 (#4033) 2021-02-12 14:58:01 +00:00
Dylan K. Taylor
18666e5a60
Be compatible with newest versions of php-leveldb 2021-02-11 22:33:29 +00:00
Dylan K. Taylor
f72163c173
Fixed build not failing when PHP build gets borked 2021-02-11 17:06:03 +00:00
Dylan K. Taylor
7407e504b6
actions: bump PHP versions to 7.3.27 and 7.4.15 2021-02-11 16:35:19 +00:00
Dylan K. Taylor
0e396dc47d
actions: update PHP extension versions 2021-02-11 16:24:09 +00:00
Dylan K. Taylor
d2204da1d5
[ci skip] center the build badges 2021-02-11 16:05:55 +00:00
Dylan K. Taylor
2a51269305
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable 2021-02-11 16:05:24 +00:00
dependabot-preview[bot]
928041ddf1
Bump phpstan/phpstan from 0.12.71 to 0.12.74 (#4028)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.12.71 to 0.12.74.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Commits](https://github.com/phpstan/phpstan/compare/0.12.71...0.12.74)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-08 21:42:08 +00:00
Dylan T
007f4f9350
CraftingDataPacket: Remove useless @var comment 2021-02-08 11:53:50 +00:00
Dylan K. Taylor
46e9f0cec6
Player: fixed verify-xuid not kicking in by default on old configs 2021-02-07 21:10:23 +00:00
Dylan K. Taylor
606d56b55d
Composer: lock in PHP at ^7.3 || ^8.0, don't leave it unbounded 2021-02-07 17:31:32 +00:00
Dylan K. Taylor
78a62a8b27
Remember and verify player XUIDs (controlled by player.verify-xuid in pocketmine.yml) 2021-02-05 14:42:57 +00:00
Dylan K. Taylor
c5bdd7dd64
Added a unit test to ensure valid format of MINECRAFT_VERSION_NETWORK 2021-02-04 22:36:40 +00:00
dependabot-preview[bot]
8ee37a3033
Bump phpunit/phpunit from 9.5.1 to 9.5.2 (#4023) 2021-02-04 16:46:22 +00:00
Dylan K. Taylor
7e3e63f342
Fixed race condition in MainLogger shutdown
this resulted in a deadlock in https://github.com/pmmp/PocketMine-MP/runs/1831812620?check_suite_focus=true because the notify() arrived while writeLogStream() was executing.
This ensures that either:
- the notification will occur before the sleep, and therefore no sleeping will occur (this->shutdown = true before the wait)
- the notification will arrive during the sleep.
2021-02-04 16:40:10 +00:00
Dylan K. Taylor
8ef1e54e20
MainLogger: fixing CPU waste on logger thread
this doesn't need to keep spinning every 25ms; it can just wake up when there's actually log messages to write into the buffer.
2021-02-04 15:07:40 +00:00
Dylan K. Taylor
eaf3a86981
MainLogger: fixed UB in writeLogStream()
notify() has to be used inside a synchronized block.
2021-02-04 15:03:14 +00:00
Dylan K. Taylor
317a48d9b0
ItemStackRequest: expose filterStrings 2021-02-03 23:40:34 +00:00
Dylan K. Taylor
bc14660e55
Added missing ItemStackRequest protocol changes 2021-02-03 23:37:41 +00:00
Dylan K. Taylor
b1bb9fbd1c
Reinstall PHP deps on cache hit
the 20.04 actions image doesn't have libzip5 and who knows what else is missing ...
2021-02-03 17:42:11 +00:00
Dylan T
96181f8cf5
Version PHP build caches by image version
we can't safely use `ubuntu-latest` because the build caches will break if they were built for 18.04 and used on 20.04, or vice versa. Instead, we pin the images (and caches) to a specific version.
2021-02-03 17:24:50 +00:00
Dylan K. Taylor
4771e3dc28
3.17.5 is next 2021-02-02 14:04:51 +00:00
Dylan K. Taylor
2e9117d102
Release 3.17.4 3.17.4 2021-02-02 14:04:50 +00:00