Dylan K. Taylor
bac57c159f
Player: fix bridging, towering and various other fast building bugs
...
clickPos is relative to the base block position, so if you keep aiming at the same spot on the block and jump, it thinks you're still spamming.
closes #2730
2021-01-27 00:11:14 +00:00
Dylan K. Taylor
38b2d83799
MemoryManager: fixed protected properties being dumped multiple times
...
we don't need to scan the parent classes for anything other than private properties, because protected and public properties will appear on the main reflection as if they were declared directly as such.
2021-01-26 20:32:23 +00:00
Dylan T
c134b1cd8a
[ci skip] README: add some badges
2021-01-26 17:34:05 +00:00
Dylan K. Taylor
62deafda48
CommandReader: removed readline support
...
readline has been borked for a long time and it's not thread safe.
2021-01-25 17:53:25 +00:00
Dylan K. Taylor
31b6df4376
3.17.4 is next
2021-01-25 17:15:43 +00:00
Dylan K. Taylor
b296ae1b87
Release 3.17.3
3.17.3
2021-01-25 17:15:31 +00:00
Dylan K. Taylor
f9e42b716a
Scrub PHPStan baselines
...
these are now always generated with level 8.
2021-01-24 20:31:22 +00:00
Dylan K. Taylor
34c1d455a7
phpstan: enable checkMissingCallableSignature
2021-01-24 20:27:53 +00:00
Dylan K. Taylor
af8936dba5
phpstan 0.12.69
2021-01-24 20:14:42 +00:00
Dylan K. Taylor
e8ffab1787
RegionLoader: avoid hitting the disk twice during chunk reads
...
this provides some performance improvement (although it's difficult to measure because of cache).
this does mean that we read some garbage data during chunk reads, but it's less costly than hitting the disk twice.
2021-01-20 21:05:44 +00:00
Dylan K. Taylor
ecc1e1f698
RegionLoader: improve performance of region header validation
...
I was unaware that fseek actually makes a syscall which is rather costly, which became painfully obvious during large world conversions on PM4.
On average this problem appeared to be adding about 5ms to the load time for a newly loaded region, which is insanely expensive.
2021-01-20 20:04:21 +00:00
Dylan K. Taylor
ea5931e274
Updated build/php submodule to pmmp/php-build-scripts@60194e8b14
2021-01-16 19:34:06 +00:00
Dylan K. Taylor
988cf7f535
Fixed PHP 8.0 deprecation error
2021-01-16 19:31:07 +00:00
Dylan T
e156fb47e8
Disable xdebug on Actions
2021-01-15 21:09:45 +00:00
Dylan T
efc5f34877
wrong place ... when shared defaults :(
2021-01-15 17:53:39 +00:00
Dylan K. Taylor
dd0d8842d5
actions: disable fail-fast
2021-01-15 17:35:27 +00:00
Dylan K. Taylor
7bdc564ccc
Update first-party dependencies to PHP 8.0 compatible versions
...
all deps of PM3 are ready (at least as far as PHPStan can show).
2021-01-15 16:59:51 +00:00
Dylan K. Taylor
69fff23f1a
LevelProviderManager: removed bogus @var
...
I'm not sure why this wasn't detected until 0.12.67...
2021-01-15 16:53:49 +00:00
Dylan K. Taylor
ae43698e88
phpstan 0.12.67
...
for some reason dependabot shit itself while trying to scan for updates and thought this wasn't updatable ...
2021-01-15 16:53:49 +00:00
dependabot-preview[bot]
0987e03c03
Bump phpstan/phpstan-strict-rules from 0.12.8 to 0.12.9 ( #4003 )
2021-01-13 10:55:54 +00:00
Dylan K. Taylor
97c124edf9
thanks git, this just sneaked in without any questions ................
2021-01-12 21:43:34 +00:00
Dylan K. Taylor
56501178b7
Updated composer dependencies
2021-01-12 21:41:25 +00:00
dependabot-preview[bot]
da663deea1
Bump phpstan/phpstan from 0.12.65 to 0.12.66 ( #4001 )
2021-01-12 10:41:59 +00:00
Dylan K. Taylor
972c911485
phpstan 0.12.65
2021-01-09 18:04:42 +00:00
Dylan K. Taylor
0d8858f948
composer.json: sort packages automatically
2021-01-09 17:38:22 +00:00
Dylan K. Taylor
da71540fce
first shot building multi PHP versions on actions
2021-01-05 22:03:51 +00:00
Dylan K. Taylor
ec9b39862b
bootstrap: commit suicide if composer dependencies are not in sync
2020-12-29 17:47:32 +00:00
Dylan K. Taylor
efca8077d5
3.17.3 is next
2020-12-28 23:03:37 +00:00
Dylan K. Taylor
5066d5225b
Release 3.17.2
3.17.2
2020-12-28 23:03:32 +00:00
Dylan K. Taylor
aefaf73685
Living: extract an applyConsumptionResults() method from consumeObject()
...
inspired by #3592 , which has gone stale
2020-12-28 22:27:29 +00:00
Dylan K. Taylor
15401d740f
RegionLoader: mark area as garbage in removeChunk()
2020-12-27 19:16:05 +00:00
Dylan K. Taylor
5920b0ba40
Remove _PHPSTAN_ANALYSIS constant
...
we don't need this anymore since PHPStan is able to intelligently decide whether to autoload a file or not.
2020-12-27 19:10:40 +00:00
Dylan K. Taylor
dea75a0687
RegionLoader: do not attempt to auto-repair chunks with oversized lengths
...
In the old days, we used to try to correct this problem by adjusting the region header to match the
length found at the start of the chunk payload. However, this has a very good chance to cause corruption
of other chunks, since we can't do any fast overlap checks (an upsize might cause the chunk's alloocated
area to overlap into another one, causing corruption when either chunk's space gets written to).
This corruption risk has become more problematic since the
introduction of region garbage sector reuse, since a broken location
header could cause chunks to trash each others' saved data.
In addition, if there is a length mismatch, there's a good chance that the oversized chunk itself will
already be corrupted, so we'd just fail trying to decompress it later on.
So, instead of trying to fix this automatically, we bail and hope this doesn't occur often enough for
users to get upset, and allow external offline tools to attempt to repair the mess instead.
2020-12-27 18:50:52 +00:00
Dylan K. Taylor
873e8740e0
3.17.2 is next
2020-12-23 22:20:24 +00:00
Dylan K. Taylor
260c55f23a
Release 3.17.1
3.17.1
2020-12-23 22:20:19 +00:00
Dylan K. Taylor
9ed430acb9
CrashDump: fixed a bug in crashdump generation
2020-12-23 21:53:12 +00:00
Dylan K. Taylor
f0241043de
CrashDump: add server uptime to crash information
2020-12-23 20:26:18 +00:00
Dylan K. Taylor
135f1c95e4
phpstan 0.12.64
2020-12-23 20:04:40 +00:00
Dylan K. Taylor
5431807e43
Split tests up into multiple jobs
...
this gives a more granular view of test failures and also allows independent steps to run in parallel.
2020-12-23 19:48:39 +00:00
Dylan T
d49ae832e8
actions: rename cache miss fallback build step
2020-12-21 21:32:27 +00:00
Dylan T
ff9d013005
build: hash composer cache by lockfile instead of composer.json
...
this ensures a cache refresh when transitive dependencies are updated.
2020-12-20 23:58:37 +00:00
Dylan K. Taylor
b0e1317818
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable
2020-12-20 23:53:26 +00:00
Dylan K. Taylor
8653afb0fb
Updated composer dependencies
2020-12-20 23:53:09 +00:00
Dylan T
995b56aaa0
Fixed Composer package cache
2020-12-20 23:49:28 +00:00
Dylan K. Taylor
3ecddf312d
build.sh: sort configure parameters
2020-12-20 22:49:39 +00:00
Dylan T
470243ca6f
experimental: build PHP in a separate build job
2020-12-20 22:30:47 +00:00
dependabot-preview[bot]
3f21e59917
Bump phpstan/phpstan-strict-rules from 0.12.5 to 0.12.7 ( #3976 )
2020-12-18 13:44:19 +00:00
dependabot-preview[bot]
fdd74a4f46
Bump phpstan/phpstan-phpunit from 0.12.16 to 0.12.17 ( #3975 )
2020-12-18 13:15:05 +00:00
Dylan K. Taylor
a43b46a93c
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable
2020-12-18 00:33:10 +00:00
Dylan K. Taylor
0604dfc9e5
phpstan 0.12.63
2020-12-18 00:32:55 +00:00