Commit Graph

  • 150fd9a9cf Add highly-optimized VarInt writing method Andrew Steinborn 2021-05-08 23:26:43 -04:00
  • 6369a95ec9 Readd safe and slow compression handling and hide it behind a system property Andrew Steinborn 2021-05-08 18:40:23 -04:00
  • 0a4e226571 Merge pull request #492 from Leymooo/feature/combine-varint-prefix-with-compression Andrew Steinborn 2021-05-08 17:01:56 -04:00
  • a8e0516d18 Also do not copy memory in case when packet needs to compress Leymooo 2021-05-07 19:36:30 +03:00
  • 9318fe3dca Update link to Adventure documentation Andrew Steinborn 2021-05-06 21:08:57 -04:00
  • 37a4199d43 Combine VarInt prefix encoding with compression Andrew Steinborn 2021-05-06 19:56:45 -04:00
  • 3d9a166892 Fix Checkstyle Andrew Steinborn 2021-05-06 16:46:43 -04:00
  • 3fdacd30d1 Explain why Player#sendPluginMessage may not do what some people think it ought to do Andrew Steinborn 2021-05-06 16:43:40 -04:00
  • bbc53da87e Create FUNDING.yml Andrew Steinborn 2021-05-06 16:10:56 -04:00
  • fb3f21abc6 More bitshifting magic Andrew Steinborn 2021-05-06 00:48:19 -04:00
  • 1cef82d54d Unroll the VarInt writing loop Andrew Steinborn 2021-05-05 22:13:54 -04:00
  • d42cc4f984 Force a flush after a certain threshold of packets have been queued for sending Andrew Steinborn 2021-05-04 18:51:01 -04:00
  • e0153267db Fixed copyright year (#490) Nicolas RAYNAUD 2021-05-05 00:22:50 +02:00
  • 7c76ae9a27 Make sure to check not only the entire array but also how much was written Andrew Steinborn 2021-05-04 16:32:37 -04:00
  • 3dc8e25ec7 Fix varint writing (for real!) Andrew Steinborn 2021-05-04 16:30:32 -04:00
  • 2713831f77 Revert "Avoid calling writeVarInt in the (very) common uncompressed packet case" Riley Park 2021-05-03 19:38:39 -07:00
  • c041bea1b6 Avoid calling writeVarInt in the (very) common uncompressed packet case Andrew Steinborn 2021-05-03 20:17:51 -04:00
  • 0debb81392 I was nagged to make it more consistent Andrew Steinborn 2021-05-03 20:08:16 -04:00
  • 0811ebb312 Gotta add the license header to the test file Andrew Steinborn 2021-05-03 19:18:06 -04:00
  • 4ca97a6df9 Reapply "Optimize varint writing" Andrew Steinborn 2021-05-03 19:14:48 -04:00
  • e531cdb373 Revert "Optimize varint writing" Andrew Steinborn 2021-05-03 18:07:25 -04:00
  • 3db2fe8d63 Optimize varint writing Andrew Steinborn 2021-05-03 17:31:32 -04:00
  • 347853b945 Disable hinting test for now Andrew Steinborn 2021-04-25 10:18:58 -04:00
  • 81311e7516 Don't attempt to decode empty buffers (fixes #482) Andrew Steinborn 2021-04-25 10:14:13 -04:00
  • f00b9b73ea Make ServerboundHandshakePacket immutable Andrew Steinborn 2021-04-23 19:16:47 -04:00
  • 3dc3c40c33 Convert some more packets to use PacketReader/PacketWriter Andrew Steinborn 2021-04-23 19:01:40 -04:00
  • 48a69c7cc5 Add missing hyphen Fabian Mäkilä 2021-04-23 17:20:26 +03:00
  • c729acc829 Change some wording based on suggestions FabianAdrian 2021-04-23 17:13:33 +03:00
  • d7435fcbb6 Velocity 1.1.6-SNAPSHOT Andrew Steinborn 2021-04-22 11:28:49 -04:00
  • 92865b0307 Velocity 1.1.5 Andrew Steinborn 2021-04-22 11:23:57 -04:00
  • ce26ae76c2 Fix case-sensitivity for ping passthrough Andrew Steinborn 2021-04-22 11:23:42 -04:00
  • e416b9fc45 Reapply f1cb3eb and add the same fix to ping passthrough Andrew Steinborn 2021-04-22 11:22:55 -04:00
  • a5565847d1 Merge branch 'dev/1.1.0' into dev/2.0.0 Andrew Steinborn 2021-04-22 11:21:33 -04:00
  • 8b38fba08e feat: nb_NO and nn_NO localisation (#467) Mariell Hoversholm 2021-04-21 22:21:51 +02:00
  • 688babb4da Actually fix loading locales from paths with spaces in them Andrew Steinborn 2021-04-19 08:48:42 -04:00
  • 1bd691f91b Checkstyle strikes again! Andrew Steinborn 2021-04-19 08:03:55 -04:00
  • 7c0b622742 Try #2 at explicit path Andrew Steinborn 2021-04-19 08:01:58 -04:00
  • 6a349d24ac Specify an explicit path instead of using Paths.get() to construct it Andrew Steinborn 2021-04-19 07:54:48 -04:00
  • efa9f6f303 Make sure we fallback to en_US. Fixes #474 Andrew Steinborn 2021-04-19 07:42:11 -04:00
  • 71db78e172 Fix the automatic registration of main plugin event listeners. (#471) Seppe Volkaerts 2021-04-19 01:18:01 +02:00
  • 5024e432f8 Add fi_FI translations. Fabian Mäkilä 2021-04-19 00:38:48 +03:00
  • 01336ff239 Merge pull request #472 from Cybermaxke/2.x/fix-filesystem-compile-error Riley Park 2021-04-18 14:27:31 -07:00
  • 6ac5643212 Fix ambiguous newFileSystem method when using Java 13. Seppe Volkaerts 2021-04-18 22:54:18 +02:00
  • d26d61f038 Fix pluralization of /glist player summary Andrew Steinborn 2021-04-18 11:16:11 -04:00
  • 699314d7ae Create messages_ru.properties EasyClifton 2021-04-18 16:58:09 +03:00
  • ca52f8989e Load forced hosts as lowercase too, see #464 Andrew Steinborn 2021-04-18 08:22:36 -04:00
  • ff54622663 Forced hosts should be case-insensitive. Fixes #464 Andrew Steinborn 2021-04-18 08:20:04 -04:00
  • c069a0730f Fix "too many servers" message Andrew Steinborn 2021-04-17 22:23:04 -04:00
  • f2ddd391a5 Fix localization loading from JAR Andrew Steinborn 2021-04-17 09:15:34 -04:00
  • 6c369c7d09 Fix SpotBugs stuff Andrew Steinborn 2021-04-17 09:05:23 -04:00
  • 3209103317 Licensing fun Andrew Steinborn 2021-04-17 09:01:21 -04:00
  • 69cba59630 Load localizations automatically. Andrew Steinborn 2021-04-17 09:00:48 -04:00
  • c0b6f461cb Add localization support. Fixes #230 Andrew Steinborn 2021-04-17 08:30:31 -04:00
  • 5d07c29cf6 Fix SpotBugs issue Andrew Steinborn 2021-04-17 07:08:35 -04:00
  • 50f4742240 Add some cases where the locale should fallback to the default Andrew Steinborn 2021-04-17 07:06:23 -04:00
  • 3d0ca2732e Run all components in cases where the locale is known through the translation registry. Andrew Steinborn 2021-04-17 07:02:39 -04:00
  • 4318c179a4 Fix Javadocs for PairedPluginChannelId and KeyedPluginChannelId Andrew Steinborn 2021-04-17 06:19:29 -04:00
  • ec6fb80d6c Fix typo Andrew Steinborn 2021-04-17 06:17:45 -04:00
  • 9645fb59da Further improvements. Andrew Steinborn 2021-04-17 06:04:12 -04:00
  • 0ed8352012 Do it to the message event too Andrew Steinborn 2021-04-17 05:00:16 -04:00
  • 47c354e6ee [Breaking] Many renamings in the API Andrew Steinborn 2021-04-17 04:58:16 -04:00
  • 2254e3b617 Rename CommandManager#metaBuilder -> CommandManager#createMetaBuilder Andrew Steinborn 2021-04-17 04:23:58 -04:00
  • cf7c2b004a Better documentation for EventHandler Andrew Steinborn 2021-04-17 04:10:27 -04:00
  • a6728476db I missed a spot Andrew Steinborn 2021-04-17 03:52:01 -04:00
  • 730d385f02 Extract interfaces for all events. Andrew Steinborn 2021-04-17 03:50:10 -04:00
  • c8519949bc Configuate 4.0.0 is stable Andrew Steinborn 2021-04-16 04:12:45 -04:00
  • f879858e7d Bring 2.0.0 fully up to date on GPLv3 relicense Andrew Steinborn 2021-04-16 04:11:55 -04:00
  • e49603ec0c Merge branch 'dev/1.1.0' into dev/2.0.0 Andrew Steinborn 2021-04-16 04:02:01 -04:00
  • f1cb3eb1a2 Move timeout handler to after frame decoder Andrew Steinborn 2021-04-15 22:56:37 -04:00
  • c51359e893 Move away from deprecated percent() method. Andrew Steinborn 2021-04-15 04:23:59 -04:00
  • 4de71fe942 Fix color and overlay packets for Adventure boss bar Andrew Steinborn 2021-04-15 04:22:44 -04:00
  • 5ea6728d1a Added ListenerBoundEvent and ListenerCloseEvent. (#454) Cubxity 2021-04-02 17:24:45 +00:00
  • c34aee76ae Fix Forge/Client Proxy Connections mismatch in config (#456) Rocco 2021-04-02 18:36:32 +02:00
  • 54474d7100 Add Duration methods to TaskBuilder (#445) A248 2021-04-02 01:51:54 -04:00
  • 7ba2318506 Fix one more case of a possibly swallowed exception (#455) A248 2021-04-02 01:45:58 -04:00
  • be21ac5a30 [ci-skip] Update license in README Andrew Steinborn 2021-03-31 20:36:08 -04:00
  • c747120b20 Relicense the Velocity proxy under the terms of GPLv3 (#448) Andrew Steinborn 2021-03-31 16:04:06 -04:00
  • 514115a85c Do not use an ASCII string for handshake Andrew Steinborn 2021-03-30 12:10:55 -04:00
  • f88283f127 Revert "Revert strict handshake hostname checks" Andrew Steinborn 2021-03-30 12:07:46 -04:00
  • 8aad6e2ece clear input buffer in case of bad varints Andrew Steinborn 2021-03-30 12:05:43 -04:00
  • 0cc300b621 don't swap these two around Andrew Steinborn 2021-03-23 07:38:07 -04:00
  • 3111816545 Warn about null permission functions. Andrew Steinborn 2021-03-23 07:31:57 -04:00
  • 0016f4ce19 Relay more exceptions (#446) A248 2021-03-22 08:11:25 -04:00
  • 015693090f Fix typo (thanks zml) Andrew Steinborn 2021-03-21 16:17:41 -04:00
  • da54a091fb Allow the java.lang module to be opened, as a temporary Java 15+ workaround Andrew Steinborn 2021-03-21 16:15:48 -04:00
  • 517e92a929 Potentially fix #289 fix/disconnect-issues Andrew Steinborn 2021-03-12 23:58:35 -05:00
  • 690bcfcaa5 Change version-name logic (#441) FivePB (Xer) 2021-03-11 10:24:04 +01:00
  • d2c2b78ab9 Adventure 4.7.0 Riley Park 2021-03-08 16:47:04 -08:00
  • c11c5d2d48 Bump Guice to 5.0.1 Andrew Steinborn 2021-03-04 10:29:35 -05:00
  • 5eb6dfe936 Bump Adventure to 4.6.0 Andrew Steinborn 2021-03-02 12:34:19 -05:00
  • 4206457fbc Bump Adventure to 4.6.0 Andrew Steinborn 2021-03-02 12:33:47 -05:00
  • 3a51bee052 Fix Checkstyle errors and update geriatric Checkstyle version Andrew Steinborn 2021-03-01 19:41:35 -05:00
  • 602ed04dee Started work on revamped protocol registry Andrew Steinborn 2021-02-21 22:43:12 -05:00
  • ba7ba70f4b Connections -> HandlerNames Andrew Steinborn 2021-02-21 21:03:06 -05:00
  • 0294cfda56 Add PacketWriter interface. Andrew Steinborn 2021-02-21 20:45:59 -05:00
  • f167414ae8 Don't build with Java 8, it will fail. Andrew Steinborn 2021-02-21 18:10:59 -05:00
  • 28f12e2d7f Merge remote-tracking branch 'origin/dev/2.0.0' into dev/2.0.0 Andrew Steinborn 2021-02-21 18:10:10 -05:00
  • 0e05f5f308 Mostly brought 2.0.0 up to update with Velocity 1.1.5-SNAPSHOT changes. Andrew Steinborn 2021-02-21 18:09:56 -05:00
  • 699147c916 Merge branch 'dev/1.1.0' into dev/2.0.0 Andrew Steinborn 2021-02-21 17:56:40 -05:00
  • 72d47b5a3d Don't advertise the BungeeCord plugin messaging channel if it is disabled. Andrew Steinborn 2021-02-18 18:12:38 -05:00