Commit Graph
26 Commits
Author SHA1 Message Date
Raven Szewczyk 4356f91c54 Update rfb, lwjgl and fix APPLE extension build errors 2026-02-28 14:22:58 +00:00
Raven Szewczyk ec40545bf3 Delete APPLE class stubs that are now part of lwjgl3 itself, fixes VAO crash 2026-02-28 14:10:22 +00:00
Raven Szewczyk b000adbea4 Add missing APPLE GL extension mappings 2026-02-14 20:19:36 +00:00
Raven Szewczyk 540896d2b2 Fix final modifier on ContextCapabilities virtual class confusing javac 2025-03-14 21:04:21 +00:00
Raven Szewczyk 6769363d96 Use RetroFuturaBootstrap instead of LaunchWrapper, significant compatibility improvements (#113)
* Start work on RFB bundling/support

* Use the first RFB release

* Upgrade GSON, RFB, migrate lwjglx redirector to an rfb plugin

* Update rfb again

* Update to RFB 0.3 APIs

* Migrate LCL transformers to RFB

* Update release workflow

* Fix server main class name

* Update RFB with the server fix

* Forgot Spotless...

* Fix maven publishing of snapshots

* Prism: Use included forgePatches jar instead of downloading from Nexus

* Fix crash when config/ doesn't already exist

* Change server entry point to a custom class, remove SLW forge patch.

* Move ASM upgrade to a batch transformer in RFB

* Bump RFB

* Update Apache Commons Compress

* Start work on the relauncher coremod

* Update bs&rfb

* Fix latest GTNHGradle compat

* Update dep versions

* Kotlinify buildscript

* Fix some more kts bugs, make it easier to run with GT

* Fix coremod not loading

* Fix remaining LCL.getSources issues that caused e.g. broken NEI handlers

* RIP forge patches, you won't be missed

* Start on parsing version.json in the relauncher

* WIP library downloader

* Skip downloading existing files, exit without tripping the SecurityManager

* Add missing relauncher libraries, fix jvm arg order

* Fix lwjgl3ify not loading itself as a mod, not downloading the main client jar

* Progress bar dialog for library downloads

* Start work on relauncher guis

* Working java detection and selection on Linux

* Fix use of some library functions not present in a lwjgl3ify-less instance

* Include the ServerMain class in the forgepatches jar

* Relauncher stub + graphical console for the new instance

* Add a fallback $VALUES search loop

* Switch from Rhino to Nashorn for JS

* Update rfb and apache commons-lang3

* Fix ItemStackHolder setting, simplify both object holders

Closes #93

* Add missing lwjgl.util subpackages

Closes #92

* Bump RFB with more asm fixes

Closes #37

* Update RFB with the dragonapi fix

* Exclude nashorn from LCL to avoid coremods complaining about it

* Add proxy lwjglx calls to lwjgl dummy Keyboard/Mouse classes for reflection

* Add InputEvents API, handle Minecraft keybindings with it to fix dead key support

* Update RFB

* Fix some warnings

* Add OSX and Windows JVM installation scanning

* Start work on translatable strings in the relauncher GUI

* Spotless, fix being able to walk with inventory screen open

Closes #123

* Update rfb with the java.lang.Compiler fix

* Finish rest of gui translations, allow any whitespace to split args, assign very little ram to the bootstrapper process

* Add a manifest attribute to more conveniently opt-out of lwjgl3ify transformers

* Update RFB, commons-compress, shade in newer commons-io too

* Remove the server jar name from java9argx.txt

* Update RFB with the #127 fix

* Add LiteLoader compatibility, tested with Voxelmap

Closes #67

* GL tweaks: move glGetString safety check into bindings, fix GL debug log notification spam

* Implement custom OpenGL context version&profile settings via the LWJGL2 Display API

* Simple sharedDrawable implementation

* Downgrade the servlet api to fix journeymap's new webmap crash

* Add sun.awt opens

* README updates

* RFB 1.0.0 (no changes from 0.4.1)
2024-03-11 21:09:38 +00:00
Raven Szewczyk b4b733ceb2 Fix handling of null device/context in ALC bindings (#108)
Closes #100
2024-01-11 22:18:54 +00:00
Jason MitchellandRaven Szewczyk f8c4a5e330 Adjustments needed to get Angelica (Iris/Oculus backport) working (#88)
* WIP Adjustments needed to get Angelica (Iris/Oculus backport) working

* Move to GL20

* Hacky lwjglx.debug support since its transformer doesn't like lwjgl3ify's init call

* Don't submit invalid keycodes

* Add missing glTextureParameter

* Update buildscript

* Better setupDebugMessageCallback.

* Fix up the isKeyDown patch

* Better glGetActiveUniform sizetype impl

* Clean up the debug handler code

* Update the buildscript

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2023-11-23 20:58:11 +00:00
Raven Szewczyk 16fae70244 [ci skip] Update the spotless config 2023-09-23 11:47:09 +01:00
Raven Szewczyk 4cf597e9b3 Add missing OpenAL bindings to fix SoundPhysics (#75)
* Add missing OpenAL EFX bindings and a couple of AL/ALC10 functions

* Log the classloader and transformer exclusions for easier post-mortem debugging.
2023-09-04 17:16:13 +01:00
Raven Szewczyk 520487da25 Patch compiler errors in generated code again 2023-06-03 10:42:08 +01:00
Raven Szewczyk 9df185517b Update autogenerated bindings 2023-06-03 10:38:53 +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
2023-03-26 12:58:27 +01:00
Vadzim Dambrouski c47e58af4c Revert the glColor3ub hack (#30)
It's not needed for LWJGL version 3.3.2-20230304.162250-10 and up.
2023-03-11 15:06:54 +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.
2023-02-17 15:44:33 +01: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 20ecd94040 Apply new spotless configs 2023-02-05 17:43:05 +00:00
Raven Szewczyk 0633e1cbbc Attempt 1 for fastcraft fix: use real copies of lwjgl util classes in the dummy org.lwjgl namespace 2023-01-25 11:17:33 +00:00
Raven Szewczyk f649173132 Fix a couple of crashes from the full pack 2023-01-18 14:19:42 +00:00
Raven Szewczyk ebccef7125 Manually fix some compile errors in the dummy classes 2023-01-18 13:42:07 +00:00
Raven Szewczyk 588b5912cf Add dummy classes for mixins to see in the classpath for the ones missing in lwjgl3 2023-01-18 13:39:51 +00:00
Raven Szewczyk d71c6cdffa Add fields 2023-01-18 13:03:57 +00:00
Raven Szewczyk c4501f7833 Check for pointer types to avoid passing in memory addresses into wrong places 2023-01-15 08:29:54 +00:00
Raven Szewczyk bd2f8bf117 Fix ALCdevice/GLSync returning function generation 2023-01-15 08:13:33 +00:00
Raven Szewczyk 2e90fac616 Enough transformers to get into a world 2023-01-14 21:41:26 +00:00
Raven Szewczyk 33fc6611b3 Add *Buffer transformations 2023-01-13 13:05:51 +00:00
Raven Szewczyk 882d7a8c48 First iteration of autogenerated api wrappers 2023-01-11 22:12:51 +00:00