13562 Commits

Author SHA1 Message Date
Dylan K. Taylor
ec7ea98ead
UPnP: expose more functionality 2021-06-13 22:48:38 +01:00
Dylan K. Taylor
80bf948588
Separate UPnPNetworkInterface from UPnP implementation 2021-06-13 22:41:36 +01:00
Dylan K. Taylor
3d0b21f30c
Denoise NetworkSession with typed properties 2021-06-13 22:27:23 +01:00
Dylan K. Taylor
e5dd5a5745
NetworkSession: Fixed missing nullable declarations
phpstan doesn't report these because .. reasons .. @ondrejmirtes this is causing bugs to go unfound :(
I'm aware of the irony that I just silenced the bugs that were exposed by this commit .. that's an architectural problem for another day
2021-06-13 22:24:12 +01:00
Dylan K. Taylor
04a6e89d6f
Change encryption to use CTR instead of GCM
despite MCPE claiming to use GCM, it omits the auth tag, which defeats the whole point of using GCM.
CTR can be used instead, with the final 4 bytes of the IV being 0002.
2021-06-13 21:57:23 +01:00
Dylan K. Taylor
0df2677464
EncryptionContext: Allow passing encryption algo as a constructor parameter 2021-06-13 19:57:48 +01:00
Dylan K. Taylor
492ad6bb66
3.21.1 is next 2021-06-13 15:38:22 +01:00
Dylan K. Taylor
82e8eb46ac
Release 3.21.0 3.21.0 2021-06-13 15:38:22 +01:00
Dylan K. Taylor
c7868a810d
Move PHP minimum to 7.4
7.3 isn't actively tested anymore, and since 7.4 has been out for so long already, it doesn't make sense to keep pandering to users who can't be bothered to update their PHP binaries.
In most cases, these users are also experiencing problems caused by older versions of pthreads that were long since fixed.
In addition, pthreads is no longer tested or supported on 7.3, so users can't get newer bug fixes even if they wanted to.
2021-06-13 15:34:24 +01:00
Dylan K. Taylor
cc00b3e19b
Merge remote-tracking branch 'origin/stable' 2021-06-13 15:27:29 +01:00
Dylan K. Taylor
4df536fee7
Bump Snooze to 0.3.0 2021-06-13 15:22:12 +01:00
Dylan K. Taylor
d8b56a1219
Update transient composer junk that we don't care about, but have to update so that it doesn't slip in to some other commit 2021-06-13 14:48:51 +01:00
Dylan K. Taylor
a676dba9f0
Updated ClassLoader dependency 2021-06-13 14:48:51 +01:00
Dylan K. Taylor
2cc22a29c1
Update composer dependencies 2021-06-13 14:40:46 +01:00
Jason
6fb364b16f
Store ender chest viewer count on the tile, instead of relying on the inventory's viewer count (#4238)
Fixes #4021
2021-06-13 14:37:09 +01:00
Stephen B
8e2829bdd4
Remove movement workaround from 1.14.30 (#4246) 2021-06-13 14:32:40 +01:00
Dylan K. Taylor
408e29da90
Removed PermissionRemovedExecutor
this interface is just about the most pointless code in all of PM or Bukkit. In over 4 million lines of code on Poggit, a Google search and a GitHub search, I didn't find a single usage of it that wasn't just bukkit internals code copy pasta, a spoon, a port of PM/Bukkit/whatever into a different language, or someone's generated javadoc.
2021-06-12 21:55:59 +01:00
Dylan K. Taylor
b525f45bf8
Fixed CS 2021-06-12 21:51:08 +01:00
Dylan K. Taylor
8e1d27a719
Constrain types to PermissibleInternal on internal permission subscription methods 2021-06-12 21:28:19 +01:00
Dylan K. Taylor
bfcf4a25d4
Automatic cleanup of permission subscriptions on PermissibleBase destructor calls
this has gotten too complex ...
2021-06-12 21:12:39 +01:00
Dylan K. Taylor
0ebafbd224
.... adding the most important part would probably help 2021-06-12 20:46:53 +01:00
Dylan K. Taylor
7dcc4891ca
Block: added getDropsForIncompatibleTool() 2021-06-11 19:09:14 +01:00
Dylan K. Taylor
e4ed7bc4ea
Fixed Mushroom Stem blocks never dropping anything 2021-06-11 19:04:12 +01:00
Dylan K. Taylor
22b5e5db5e
AsyncPool: Do not drop pending tasks on shutdown
this creates an extra element of uncertainty for async pool usage.
2021-06-11 18:30:32 +01:00
Dylan K. Taylor
f245147c11
AsyncPool: make collectTasks() return value more accurate
during onCompletion() anything may happen, including scheduling new tasks, which the previous code did not account for.
2021-06-11 18:30:32 +01:00
dependabot[bot]
af79e787ea
Bump phpstan/phpstan from 0.12.88 to 0.12.89 (#4262)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.12.88 to 0.12.89.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Commits](https://github.com/phpstan/phpstan/compare/0.12.88...0.12.89)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 15:10:45 +01:00
Jason
532d57eec7
Arrow: Save and load critical state (#4241)
Fixes #3596
2021-06-09 14:00:36 +01:00
Dylan K. Taylor
920eb7cce5
Merge branch 'stable' 2021-06-09 13:46:00 +01:00
Dylan K. Taylor
65c53e6512
actions: use PHP 7.4.20 2021-06-09 13:44:00 +01:00
Dylan T
38a32c6540
changelog: remove mentions of unsupported / corrupted world handling
the fixes for these problems were backported to PM3 during the PHPStan integration.

[ci skip]
2021-06-09 13:19:40 +01:00
Dylan T
2fff3fa60c
changelog: be more specific about the range of Bedrock worlds supported
this was written 2 years ago, before 1.13 was released to disrupt everything all over again.

[ci skip]
2021-06-09 13:16:57 +01:00
Dylan K. Taylor
5503fadf13
3.20.1 is next 2021-06-08 20:21:55 +01:00
Dylan K. Taylor
99964709c9
Release 3.20.0 3.20.0 2021-06-08 20:21:55 +01:00
Dylan K. Taylor
b85f3bd149
make-release: abort on no changelog changes 2021-06-08 20:20:30 +01:00
Dylan K. Taylor
2bbb24fab7
Merge branch 'stable' 2021-06-08 20:00:08 +01:00
Dylan K. Taylor
57d274901d
Protocol changes for 1.17.0 2021-06-08 19:40:28 +01:00
Dylan K. Taylor
f3e1c82246
this again :thonkingtempered: 2021-06-08 19:27:49 +01:00
Dylan K. Taylor
908b627846
3.19.4 is next 2021-06-08 18:52:01 +01:00
Dylan K. Taylor
afb21c1df2
Release 3.19.3 3.19.3 2021-06-08 18:51:48 +01:00
dependabot[bot]
988be2a96b
Bump phpunit/phpunit from 9.5.4 to 9.5.5 (#4247)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.4 to 9.5.5.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.4...9.5.5)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 21:57:21 +01:00
Dylan K. Taylor
afe67f7502
Updated build/php submodule to pmmp/php-build-scripts@0a0ac2abb3 2021-06-05 20:18:58 +01:00
Dylan K. Taylor
2d686e6dc0
Merge remote-tracking branch 'origin/stable' 2021-06-04 18:03:32 +01:00
Dylan K. Taylor
b257348a3a
Renamed fields of AddEntityPacket and RemoveEntityPacket 2021-06-04 17:18:24 +01:00
Dylan K. Taylor
12c66d3362
CraftingDataPacket: fixed assert failure on debug builds 2021-06-04 17:13:50 +01:00
Dylan K. Taylor
9702b51bd1
Utils: improve how boolean arguments are displayed in stack traces 2021-06-02 21:36:47 +01:00
Dylan K. Taylor
fadc96bb0e
Utils: include spl_object_id() in stack traces 2021-06-02 21:34:19 +01:00
Dylan K. Taylor
493977661f
Require pocketmine/binaryutils ^0.2.1 2021-05-30 20:46:39 +01:00
Dylan K. Taylor
7d99b0115c
Added a getName() override for RakLibServer 2021-05-29 23:51:46 +01:00
Dylan K. Taylor
0402e7e697
Separate CommandReader impl from CommandReaderThread 2021-05-29 23:41:11 +01:00
Dylan K. Taylor
4bcc7e09cb
PacketSerializer: fix unnecessary FQN 2021-05-29 14:24:48 +01:00