13
0
geforkt von Mirrors/Velocity

Update 1.21.2 client support #5

Zusammengeführt
Lixfel hat 39 Commits von upstream nach master 2024-11-11 08:15:33 +01:00 zusammengeführt
Besitzer
Keine Beschreibung angegeben.
Lixfel hat 39 Commits 2024-11-10 18:38:38 +01:00 hinzugefügt
There is little expectation that we should get a -ve number in here, but
it is sadly seen in the wild. We will use an alternative exception path rather
than returing a magic number to indicate an invalid value.

once primative classes arrive, this should probably be written to use those
for passing up the result.
This time around, instead of the very ad hoc approach I have historically taken, this time we actually have a convenient script that takes care of basically all the hard work necessary, including cross-compilation.

We compile natives for Ubuntu 20.04 LTS (OpenSSL 1.1.x native and libdeflate) and Ubuntu 22.04 LTS (OpenSSL 3.x.x native), for both x86_64 and aarch64.

The macOS natives have also been recompiled on macOS Sonoma.
This is an optimization that has been in BungeeCord for some time, but it's an idea that makes a lot of sense: avoid a memory copy when we don't need to do one. The OS will hopefully be smart enough to use `writev()` or similar for this.
Applies more to the margins (such as login phase and server list ping), but every bit does help.
Reference: PaperMC/Paper#11367
Fix 1.19.3+ unsigned chat not being changed by `PlayerChatEvent`.
This was unused and did little more than add unnecessary memory usage. The only time we need the dimension registry is during server switching - once that is done, we no longer need the registry.
This required a not-insubstantial number of bug fixes, since the sync support had bit-rotted somewhat. This PR also corrects a number of bugs.

Finally. the per-plugin executor services are now used to execute all async event tasks.
* Adjust HAProxy's existance to log when the proxy protocol is enabled during bind.

* Added additional warning message, instead of changing the main one. We can see what the preference would be.
Signed-off-by: U5B <56985400+U5B@users.noreply.github.com>
* 24w33a

* 24w34a

* 24w38a

* 24w40a

* 1.21.2
* replace old links

* content to 'PaperMC', cause its probably the best
This technically can break backwards compatibility, but this seems to be very unlikely to be the practice in reality. (The Velocity implementation probably wasn't correct, anyway.)
* feat: expose list order in TabListEntry

* fix: address comment (from github)

* fix: address another comment (from github)
Merge remote-tracking branch 'upstream/dev/3.0.0' into upstream
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
d9d1319a3a
# Conflicts:
#	proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java
Lixfel hat Commit a22bfa10f9 in master 2024-11-11 08:15:33 +01:00 gemerged
Lixfel löschte die Branch upstream 2024-11-11 08:15:34 +01:00
Anmelden, um an der Diskussion teilzunehmen.
Keine Beschreibung angegeben.