17401 Commits

Author SHA1 Message Date
Dylan K. Taylor
5d514a274f
Merge branch 'legacy/pm4' of github.com:pmmp/PocketMine-MP into legacy/pm4 2023-06-07 21:24:13 +01:00
Dylan K. Taylor
2220dc557e
4.22.1 is next 2023-06-07 21:23:57 +01:00
Dylan K. Taylor
b5fc31a781
Release 4.22.0 4.22.0 2023-06-07 21:23:54 +01:00
Dylan K. Taylor
9a67e3d660
PM5-specific changes for 1.20.0.23 beta 2023-06-07 21:08:41 +01:00
Dylan K. Taylor
132330e16f
Merge branch 'legacy/pm4' into stable 2023-06-07 21:08:09 +01:00
Dylan T
179eec9754
PHP-CS-Fixer 3.17 2023-06-07 21:04:11 +01:00
Dylan K. Taylor
441f1f534f
Random change PHP-CS-Fixer wanted to make 2023-06-07 20:59:32 +01:00
Dylan K. Taylor
e747478afd
and one more 2023-06-07 20:58:15 +01:00
Dylan K. Taylor
92c45dd7e1
Fixed PHPUnit deprecation warnings 2023-06-07 20:57:43 +01:00
Dylan K. Taylor
2538880408
1.20.0 2023-06-07 20:56:59 +01:00
Dylan K. Taylor
0f9f0a3b7f
Remove async compression pocketmine.yml options
CompressBatchTask is kept for internal testing for now
2023-06-05 21:36:33 +01:00
Dylan K. Taylor
3e4d8f4a60
shush 2023-06-05 21:21:26 +01:00
Dylan K. Taylor
20c2fae0c6
First look at specialized network compression threads
closes #5641

This has been mostly tested on Windows so far, where it offers substantial performance gains for compression.
On *nix, the performance advantage is smaller, since there's less overhead to creating new AsyncTask instances; however, the performance benefit is still clearly visible.

There are still some wrinkles to iron out, such as the dumb algorithm used for cycling through threads which wastes memory on small servers, but this change is mainly aimed at large servers, where the benefit will be clearly apparent.
In practice, this should reduce main thread CPU load by 10-20% on some of the largest servers, offering a large amount of headroom for increased player counts.
2023-06-05 21:11:13 +01:00
Dylan K. Taylor
4af981d726
PHPStan 1.10.16
closes #5802
2023-06-05 17:07:19 +01:00
dependabot[bot]
ab3ebc1aa8
Bump phpunit/phpunit from 10.2.0 to 10.2.1 (#5803)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.2.0 to 10.2.1.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.2.1/ChangeLog-10.2.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.2.0...10.2.1)

---
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>
2023-06-05 15:01:41 +01:00
Dylan K. Taylor
57cbc25080
Merge remote-tracking branch 'origin/stable' into minor-next 2023-06-04 16:10:07 +01:00
Dylan K. Taylor
b9bdfe580b
Bump version to 5.2.0+dev
next feature release go brrrr
2023-06-04 16:07:10 +01:00
IvanCraft623
6d7f44d8fe
Implement glow lichen (#5401) 2023-06-04 16:04:08 +01:00
Dylan K. Taylor
f9818efff4
Fixed PHPUnit deprecation warnings 2023-06-04 14:00:26 +01:00
Dylan K. Taylor
7fef8f0ab6
5.0.2 is next 2023-06-03 21:56:30 +01:00
Dylan K. Taylor
2f43ccea6f
Release 5.0.1 5.0.1 2023-06-03 21:56:26 +01:00
Dylan K. Taylor
af1f7e098b
Require pmmpthread 6.0.1 2023-06-03 21:42:43 +01:00
Dylan K. Taylor
1706fb43eb
Updated build/php submodule to pmmp/PHP-Binaries@fcbc15f23e 2023-06-03 21:27:54 +01:00
Dylan K. Taylor
8d7f8ff3f5
Merge branch 'legacy/pm4' into stable 2023-06-03 21:23:00 +01:00
Dylan K. Taylor
c715efb18e
Jukebox: fix music not stopping when destroyed by explosion
closes #5794
2023-06-03 21:22:26 +01:00
Dylan K. Taylor
40be564689
BlockSpreadEvent: document poorly-named constructor parameters 2023-06-03 17:08:02 +01:00
IvanCraft623
4e031e7b3e
Always drop spore blossom item when it is broken (#5796) 2023-06-03 16:07:44 +01:00
Dylan K. Taylor
4340c26029
RuntimeDataSizeCalculator: Tidy up junk comments 2023-06-02 16:37:08 +01:00
Dylan K. Taylor
9c6d4093ae
Fixed crash when getting an item from a block which came from an item which came from a block
had a stroke yet?
2023-06-02 16:16:54 +01:00
Dylan K. Taylor
007ef833d4
Merge branch 'legacy/pm4' into stable 2023-06-02 13:34:29 +01:00
Dylan K. Taylor
6678360c00
Make changelogs less infuriating in PhpStorm 2023-06-02 13:34:16 +01:00
Dylan K. Taylor
102fd4d63a
CONTRIBUTING: pmmp/ClassLoader is no longer used by PM5 2023-06-02 13:12:50 +01:00
dependabot[bot]
2c0715ac6e
Bump phpunit/phpunit from 10.1.3 to 10.2.0 (#5790)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.1.3 to 10.2.0.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.2.0/ChangeLog-10.2.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.1.3...10.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 13:04:27 +01:00
dependabot[bot]
f75bb061ce
Bump tests/plugins/DevTools from 46d2479 to 83f0db3 (#5787)
Bumps [tests/plugins/DevTools](https://github.com/pmmp/DevTools) from `46d2479` to `83f0db3`.
- [Release notes](https://github.com/pmmp/DevTools/releases)
- [Commits](46d2479b73...83f0db3f9e)

---
updated-dependencies:
- dependency-name: tests/plugins/DevTools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 13:03:26 +01:00
Dylan K. Taylor
73e7201acb
5.0.1 is next 2023-06-01 16:09:52 +01:00
Dylan K. Taylor
b16cc69974
Release 5.0.0 5.0.0 2023-06-01 16:09:49 +01:00
Dylan K. Taylor
5de4215169
Merge branch 'major-next' into stable 2023-06-01 15:44:56 +01:00
Dylan K. Taylor
e128a4e1e7
Merge branch 'minor-next' into major-next 2023-06-01 14:54:03 +01:00
Dylan K. Taylor
c95c600100
Merge branch 'stable' into minor-next 2023-06-01 14:52:28 +01:00
Dylan K. Taylor
3db45b6a68
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2023-06-01 14:51:14 +01:00
Dylan K. Taylor
3e87ad281f
Use tagged fork of netresearch/jsonmapper
we need this for it to not be a huge pain in the ass to install PM as a composer dependency, which plugin CIs may do.
2023-06-01 14:51:04 +01:00
dependabot[bot]
b72da777eb
Bump tests/plugins/DevTools from a67f9af to a2f36e8 (#5785)
Bumps [tests/plugins/DevTools](https://github.com/pmmp/DevTools) from `a67f9af` to `a2f36e8`.
- [Release notes](https://github.com/pmmp/DevTools/releases)
- [Commits](a67f9af8d6...a2f36e8dbf)

---
updated-dependencies:
- dependency-name: tests/plugins/DevTools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 13:45:20 +01:00
Dylan K. Taylor
de49910e84
Fix CS 2023-05-31 22:18:25 +01:00
Dylan K. Taylor
d2fe537159
Merge branch 'minor-next' into major-next 2023-05-31 22:12:39 +01:00
Dylan K. Taylor
bb31df051d
Merge branch 'stable' into minor-next 2023-05-31 22:10:18 +01:00
Dylan K. Taylor
1101f35c17
Update setup-php-action to 2.0.0
this version vastly improves build time by using optimized prebuilts
instead of building the binaries on the runner.
2023-05-31 22:09:33 +01:00
Dylan K. Taylor
07225df936
Block: fixed tile-stored properties sticking to the item in asItem()
this was enabling duplication of items, since the dropped item object would contain a Block which still referenced the framed Item.
2023-05-31 21:48:06 +01:00
Muqsit Rayyan
3948dc4f75
Remove calls to ReflectionProperty::setAccessible() (#5783)
This is a no-op in PHP 8.1 and up.
2023-05-31 14:03:14 +01:00
Dylan K. Taylor
4f4dca7fc0
Mark WoodLikeBlockIdHelper as internal 2023-05-30 21:41:25 +01:00
Dylan K. Taylor
0ed5e94a72
Merge branch 'minor-next' into major-next 2023-05-30 16:15:56 +01:00