Commit Graph
168 Commits
Author SHA1 Message Date
Raven Szewczyk 558ccc849a Add extensible enums for reika's mods (#53) 1.3.4 2023-03-28 16:57:50 +01:00
Raven Szewczyk 7186edf692 Delayed key release fix (#52)
* Fix handling of out-of-order char events when the key is released after being repeated.

Closes #48

* Forward org.lwjgl.input.Mouse setGrabbed calls to lwjglx for better debugger support
1.3.3
2023-03-26 12:58:27 +01:00
Raven Szewczyk 090d31b2c7 Add Java 20 to supported list 1.3.2 2023-03-25 19:32:25 +00:00
Raven Szewczyk e20c62ee3f Add lwjglx debug agent support 1.3.1 2023-03-24 11:50:30 +00:00
Raven Szewczyk ca9044a0f5 Use Unimixins instead of GTNHMixins (#49) 1.3.0 2023-03-18 21:36:30 +01:00
Raven Szewczyk 51d310ef2a Add a HotSwapAgent plugin to rerun asm transformers on hotswap (#46) 1.2.2 2023-03-16 18:57:49 +00:00
Raven Szewczyk 4d8f766320 Add backspace->char mapping 1.2.1 2023-03-16 14:51:41 +00:00
Raven Szewczykandgeeky_kappa 7b925da85c [WIP] IME support (#43)
* Reapply "Rewrite Keyboard to behave like lwjgl3 (#42)"

This reverts commit 0713491dd5.

* Everthing works now

* Add char mappings for Enter, Escape, Tab

Closes #44

---------

Co-authored-by: geeky_kappa <[email protected]>
1.2.0
2023-03-16 10:41:17 +00:00
Raven Szewczyk 0713491dd5 Revert "Rewrite Keyboard to behave like lwjgl3 (#42)"
This reverts commit 34175a0d09.
1.1.45
2023-03-15 15:06:56 +00:00
kappa-maintainer 34175a0d09 Rewrite Keyboard to behave like lwjgl3 (#42)
* Rewrite Keyboard to simplify lwjglx's stupid logic

* Add exception handling

* Add back combine key char

* Forgot to spotless
2023-03-15 14:59:45 +00:00
Raven Szewczyk 999b8c1d0d Compatibility and warning fixes (#41)
* Add retries with larger atlases to the stitcher code

Closes #31

* Add a dummy Controllers class

Closes #34

* Fix unsupported NestHost in the shaded jakarta jar.
1.1.44
2023-03-14 13:33:35 +00:00
Raven Szewczyk 47431f00e6 Include NEI in dev env 1.1.43 2023-03-14 12:35:52 +00:00
Raven Szewczyk 4d73711ded Add multibyte char event handling by duplicating key events when multiple chars happen after a single keypress (#40) 2023-03-14 12:35:27 +00:00
kappa-maintainerandRaven Szewczyk bc0bf578b5 Add workaround for input method users (#33)
* Add IME workaround.

* spotless

* Clearer naming for KeyCodes conversion functions

* add -> offer to not crash/deadlock if the queue overflows

* Make the IME hacks configurable, and off by default (because they're quite hacky)

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2023-03-14 12:20:06 +00:00
Raven Szewczyk 6bfb77cd4c More phantom mouse movement fixes, this fixes the NEI Creative+ menu moving the camera.
NEI rapidly closes and opens a gui within the same frame, so here I add a counter for movement events to be ignored and make sure the camera doesn't get a DX/DY reading until after those events get actually ignored.
1.1.42
2023-03-13 18:43:31 +00:00
Raven Szewczyk 781e7920b5 Also ignore a mouse event on mouse regrabs 1.1.41 2023-03-13 17:57:49 +00:00
Raven Szewczyk 7aa1195f1e Ignore one mouse movement event after cursor ungrabbing to prevent a stale cursor position in GUIs. 1.1.40 2023-03-13 16:41:02 +00:00
Vadzim Dambrouski c47e58af4c Revert the glColor3ub hack (#30)
It's not needed for LWJGL version 3.3.2-20230304.162250-10 and up.
1.1.39
2023-03-11 15:06:54 +00:00
Raven Szewczyk 8dadeb51d3 Add custom char mappings to Esc&Backspace to prevent them typing in chars into textboxes 1.1.38 2023-03-10 20:03:34 +00:00
Raven Szewczyk 81c13b7b0b Add an error when running with older Java 17 versions.
ServerLaunchWrapper copy to stop the security error from happening before our error is shown.
1.1.37
2023-03-04 21:06:48 +00:00
Raven Szewczyk fec39a61e3 Update lwjgl to 3.3.2-snapshot-10 with the macos fixes 1.1.36 2023-03-04 19:48:07 +00:00
Raven Szewczyk ae8f15d6a6 Fix broken getEventDX/Y calculations 1.1.35 2023-03-04 11:19:40 +00:00
Raven Szewczyk 25d0cafd06 [ci skip] Update README with the new java flags 2023-03-02 12:18:49 +00:00
Raven Szewczyk 199196daec Add jakarta.servlet to try to fix #21 1.1.34 2023-03-02 11:17:47 +00:00
Raven Szewczyk 81eac2e40d Add com.sun.jndi.dns opens needed for the server browser to work 2023-03-02 10:42:45 +00:00
Raven Szewczyk 0dec8a322e Update buildscript 2023-03-02 10:33:43 +00:00
mist475andRaven Szewczyk 18d2e79f12 add HoverEvent$Action to default extended enums for lotr mod compat (#26)
* add HoverEvent$Action to default extended enums for lotr mod compat

* Apply spotless

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2023-03-02 10:29:08 +00:00
Raven Szewczyk de338dc7f0 Newlines -> spaces in java args 1.1.33 2023-02-27 16:44:19 +00:00
Raven Szewczyk 2126106ee9 Remove unnecessary extends AbstractTexture, fixes CoFHCore loading crash
Closes #16, #19
1.1.32
2023-02-21 20:50:40 +00:00
Raven Szewczyk f21364cd3d Update forgePatches with better exception printing 1.1.31 2023-02-18 17:43:37 +00:00
Raven Szewczyk c622d3f346 Add missing jdk-internal class loading exclusions
Fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/12621>
1.1.30
2023-02-18 11:05:17 +00:00
Vadzim Dambrouski a9ca07aa56 HACK: Apply the same workaround for glColor4ub (#18)
See #17

Found out that Botania is using 4ub variant, we need to patch it too.
1.1.29
2023-02-17 15:44:33 +01:00
Raven Szewczyk 8c59710734 Replace anonymous with inner class in the redirect transformer to allow public visibility
Trying to work around a weird crash in a dev env
1.1.28
2023-02-15 22:25:01 +00:00
Raven Szewczyk 516340717f Update README 1.1.27 2023-02-15 19:50:31 +00:00
Raven Szewczyk 73e3fbdd60 Update mmc-pack.json 2023-02-15 19:41:44 +00:00
Raven Szewczyk dd51dd3775 Make STB mixins optional and auto-disable the stiching one if FastCraft is present without OptiFine 2023-02-15 19:39:07 +00:00
Raven Szewczyk e686ddfa2a Switch to LWJGL 3.3.2 snapshots for Java 19 and MacOS fixes 2023-02-15 19:10:22 +00:00
Vadzim Dambrouski c9bc61511e HACK: Temporary workaround for glColor3ub crash on macOS (#17)
glColor3ub is causing SEGFAULT on negative values, use glColor3i instead.
See https://github.com/LWJGL/lwjgl3/issues/858

This call is rarely used so performance impact should be minimal.
2023-02-15 17:58:19 +00:00
Raven Szewczyk 49e85ce8df Use the glfw-async native on macosx to fix the AWT incompatibility 1.1.26 2023-02-14 11:48:59 +00:00
Raven Szewczyk ee2a9fd8b7 Fix server-side OS detection 1.1.25 2023-02-11 22:04:34 +00:00
Raven Szewczyk 936ab4e55c Tell Minecraft the initial framebuffer size on window creation 1.1.24 2023-02-11 21:57:09 +00:00
Raven Szewczyk 6cf4958efa MacOS fixes 1.1.23 2023-02-11 21:35:35 +00:00
Raven Szewczyk fda0b1c187 Remove JEC by default in the reobf testing env again 1.1.22 2023-02-09 09:47:57 +00:00
Raven Szewczyk d18f17ea73 Update buildscript 2023-02-09 09:43:45 +00:00
Raven Szewczyk 40c9eed144 Remove core package exclusion as it's not needed 2023-02-09 09:43:29 +00:00
Raven Szewczyk e8ff47f04b Remove gt+dependencies in the published maven version 1.1.21 2023-02-07 14:00:43 +00:00
Raven Szewczyk 9d94c293a2 Add a couple of missing key mappings that should fix the double-input issue 1.1.20 2023-02-06 19:26:40 +00:00
Raven Szewczyk c4c9e765a5 Fix github build not having the refmap 1.1.19 2023-02-05 19:09:09 +00:00
Raven Szewczyk 1316781c77 Add a config for debug event logging for troubleshooting 2023-02-05 18:19:05 +00:00
Raven Szewczyk b1a633fea4 Also catch java interface method references in the CPIMRF asm transformer
Closes #15
2023-02-05 18:10:38 +00:00