Commit Graph

3937 Commits

Author SHA1 Message Date
Michael Pfaff 61fa03042f
Disable some parallelization in the generator because java annotation processors are horribly thread-unsafe 2022-10-05 18:17:14 -04:00
Michael Pfaff f2ec595d8a
Fix typo in last commit 2022-10-05 18:11:53 -04:00
Michael Pfaff 02f595e0b9
Move more logging to Java side 2022-10-05 18:08:45 -04:00
Michael Pfaff e9b94885d9
Fix macOS 12.5.1 support 2022-09-26 23:23:48 -04:00
Michael Pfaff c7e9e36013
Make OpenGL function addresses public 2022-09-17 13:31:14 -04:00
Michael Pfaff 6511c09f7a
Make generated native methods public 2022-09-17 13:08:13 -04:00
Michael Pfaff c5508a6664
Add missing headers for windows 2022-09-16 09:24:17 -04:00
Michael Pfaff 8dbd70ee34
Try to optimize the builds a little bit more. There is a pretty rare race condition that causes a build failure (bad synchronization in the java compiler). 2022-09-12 21:08:44 -04:00
Michael Pfaff 2ca4ae367b
Add more missing headers 2022-09-12 11:08:09 -04:00
Michael Pfaff eca99cf7b3
Add more missing headers 2022-09-12 11:01:50 -04:00
Michael Pfaff 2f193265ca
Add more missing headers 2022-09-12 11:00:33 -04:00
Michael Pfaff 3e1bd16a37
Add more missing headers 2022-09-12 10:59:46 -04:00
Michael Pfaff 9131fb0fc8
Add more missing headers 2022-09-09 17:59:16 -04:00
Michael Pfaff 699e95a969
Add more missing headers 2022-09-09 17:58:34 -04:00
Michael Pfaff d80a9518f4
Add missing headers 2022-09-09 17:57:21 -04:00
Michael Pfaff 150fc50317
Support macOS versions with a patch number 2022-09-09 17:04:57 -04:00
Michael Pfaff fbc1c49513
Clean-up macos build 2022-09-09 12:04:53 -04:00
Michael Pfaff 71f1ffbcfd
Remove unused import 2022-09-09 09:47:33 -04:00
Michael Pfaff 49c273763a
Access WaveFileReader reflectively 2022-09-09 09:26:05 -04:00
Michael Pfaff 34e1bc3868
Remove unnecessary generator arg 2022-09-09 09:25:34 -04:00
Michael Pfaff 314078eb11
Fix generators (needed to flush PrintWriters, even though it's backed by an in-memory buffer) 2022-09-09 00:42:36 -04:00
Michael Pfaff 00d87d7003
Fix logging when a file is skipped 2022-09-08 22:22:16 -04:00
Michael Pfaff 83e0ecd95c
Remove unnecessary generator args 2022-09-08 22:20:31 -04:00
Michael Pfaff 7148fe1ec7
Fix validation timing 2022-09-08 13:40:36 -04:00
Michael Pfaff 0001c5897e
Change generator logging a bit and add novalidate flag 2022-09-08 13:37:32 -04:00
Michael Pfaff 74841b5262
Change SupportedSourceVersion annotation to 10 2022-09-08 13:18:53 -04:00
Michael Pfaff bc6c628f6e
Remove SupportedSourceVersion annotation 2022-09-08 13:14:22 -04:00
Michael Pfaff b418015c02
Increase parallelization 2022-09-08 12:22:31 -04:00
Michael Pfaff 6b8aad48ee
Prune .gitignore 2022-09-08 07:10:58 -04:00
Michael Pfaff 0ebbec4e7f
Optimize generators 2022-09-08 07:10:40 -04:00
Michael Pfaff 632dac735a
Make getFunctionAddress public 2022-09-03 14:34:06 -04:00
Michael Pfaff 58e900386a
Remove version check from build.xml 2022-08-26 15:04:17 -04:00
Michael Pfaff b7e7d97f20
Add stubs to source path for generators 2022-08-19 13:42:16 -04:00
Michael Pfaff 655dfda1fd
Update Java 2022-08-19 13:41:30 -04:00
Michael Pfaff db00d7f587
Clean-up, use stubs unfettered lib 2022-08-16 20:59:13 -04:00
Michael Pfaff c84c67d672
Clean-up library loading a bit 2022-08-16 20:34:35 -04:00
Michael Pfaff b53c59b989
Clean-up 2022-08-16 14:27:14 -04:00
Michael Pfaff 0b89143608
Optimize build configurations 2022-08-14 13:26:07 -04:00
Michael Pfaff 4f7fee2ed4
Remove a lot of synchronization 2022-08-14 13:21:03 -04:00
Michael Pfaff 68d112adec
Fixed generated C files output path
In addition to the main fix...

- refactored GeneratorVisitor a bit
- slightly improve context in a debug message
2022-08-10 21:01:25 -04:00
Michael Pfaff bc636fa213
Fixed default logger 2022-08-10 12:39:47 -04:00
Michael Pfaff 325db15a1d
More progress, nearly fixed native header generation
BufferUtils.c and CallbackUtil.c have been modified to not include the
generated header file. This is because `javac` is choosing to ignore
those files for generation of headers for unknown reasons.
2022-08-10 11:43:59 -04:00
Michael Pfaff 134263f5cd
More progress, Windows build is definitely broken for now 2022-08-09 21:59:46 -04:00
Michael Pfaff 119cfd7369
Fix ant package name in Containerfile 2022-03-29 13:49:52 -04:00
Michael Pfaff 9cb793315f
Refactor Linux build file similarly to macOS build file 2022-03-29 12:55:52 -04:00
Michael Pfaff 5f66c07685
Remove some leftover applet tests 2022-03-29 09:49:09 -04:00
Michael Pfaff 80ff887638
Deduplicate generator build scripts 2022-03-29 09:48:40 -04:00
Michael Pfaff 68e2ca0b76
Part 1/2
- Remove applet
- Remove webstart
- Refactor all generation to the `target` folder
- Remove eclipse-update
- Update java version in `.tool-versions`
- Update `.gitignore`
- Remove unused `res` folder
- Only macOS builds work currently
- TODO: finish the aforementioned changes to all other targets
- `build.sh` runs in headless mode to avoid the focus stealing and
  performance issues on macOS
2022-03-22 21:26:50 -04:00
Michael Pfaff 9ba07be839
Set JAVA_HOME if not already set in build.sh 2022-03-22 15:47:06 -04:00
Michael Pfaff 2bfd7e88c0
Increase optimization levels 2022-03-22 15:46:18 -04:00
Michael Pfaff fdaabdc249
Patch macOS build-script 2022-03-22 13:53:08 -04:00
Michael Pfaff 98c040138b
Ignore generated applet files 2022-02-05 12:15:29 -05:00
Michael Pfaff 229a1da41b
Added build script and update minimum versions to Java 1.8 2022-01-05 13:50:35 -05:00
Ioannis Tsakpinis 2df01dd762 Reset resizable state on destroy. Close #142 2016-12-08 21:50:34 +02:00
Ioannis Tsakpinis 8bb7dfefc6 Store XRandR frequencies in the original format to improve #64
Also, reset the screen configuration on exit only if there has been a display mode change.
2016-09-09 17:25:50 +03:00
Ioannis Tsakpinis d0c96dfef2 Add warnings that the project is not actively maintained 2016-07-14 21:41:59 +03:00
Ioannis Tsakpinis ff352b63dd Merge pull request #124 from chrobione/patch-1
Add mkdir bin to build-generator.xml
2015-12-27 14:54:12 +02:00
Ioannis Tsakpinis 669689f288 Merge pull request #123 from chrobione/patch-2
Update InfoUtilFactory.java
2015-12-27 14:51:49 +02:00
Chrobi 9fd235ddf6 Update InfoUtilFactory.java
Update `calculateImage2DSize` and `calculateImage3DSize` method calls per issue https://github.com/LWJGL/lwjgl/issues/74#issuecomment-167174311
2015-12-26 22:49:01 -07:00
Chrobi 5d716b2b5a Build Error because bin directory not found
From a `git clone` trying to `ant generate-all` on Ubuntu Linux on Odroid XU4 I got the error:  
lwjgl/platform_build/build-generator.xml:26 destination directory  lgwjgl/bin does exist or is not a directory.
2015-12-26 22:28:04 -07:00
Ioannis Tsakpinis a5d81379f7 Fix clCreateImage2D/3D checks 2015-10-11 22:52:50 +03:00
Ioannis Tsakpinis 6650201a6d NV_path_rendering fixes to make it usable 2015-07-28 12:00:33 +03:00
Ioannis Tsakpinis 40694134ab Simplify event to KeySym mapping. Fix #28 2015-05-22 23:48:47 +03:00
Ioannis Tsakpinis a5c4462a3e Ignore setDisplayMode when the Display parent is set. Fix #98 2015-05-20 15:24:16 +03:00
Ioannis Tsakpinis 1dbca8b623 Merge pull request #116 from tfg13/master
further fixes for exotic xrandr outputs
2015-05-14 01:20:20 +03:00
tulius 0b83683ed1 further fixes for exotic xrandr outputs 2015-04-29 21:14:04 +02:00
Ioannis Tsakpinis a33e83ee38 Merge pull request #114 from metc/master
Fix a `java.lang.NullPointerException`.
2015-04-29 20:23:49 +03:00
Christopher Métrailler 36e7e73043 Fix a `java.lang.NullPointerException`.
See this previous commit 093bfe9698 (diff-9db50c9a42c2d4171ea35b48e3bfcbd3R146)
2015-04-29 19:18:07 +02:00
Ioannis Tsakpinis ef5149a3c3 Merge pull request #113 from Blunderchips/master
Fixed typo in the constructor comments
2015-04-27 12:04:47 +03:00
Matthew 'siD' Van der Bijl 589ce0bd5c Fixed typo in the constructor comments
Fixed a typo above one of the constructors in the Vector2f class.
"Constructor for Vector3f." -> "Constructor for Vector2f."
2015-04-27 10:36:27 +02:00
Ioannis Tsakpinis e4b098c5e2 Do not reset cursor clipping when releasing mouse grab in fullscreen mode. Fix #106
Also refactored and optimized cursor handling.
2015-02-09 17:08:38 +02:00
Ioannis Tsakpinis ae4606c53f Bump version to 2.9.4 2015-01-19 20:41:13 +02:00
Ioannis Tsakpinis 70a8746f9a Fix window resizing when mouse is grabbed and optimize cursor clipping 2015-01-14 01:38:21 +02:00
Ioannis Tsakpinis 89b22fa151 Fix cursor stuttering/drifting with mouse grab and high keyboard repeat rates
In those situations we get multiple WM_MOUSEMOVE events per frame. The problem was that we moved the cursor back to the window center after every such event, right in the middle of the event loop. The fix was to only center the cursor once, after the event buffer has been drained.
2015-01-14 01:09:42 +02:00
Ioannis Tsakpinis 831ac15619 Reset mouse tracking state on window recreation 2015-01-07 20:23:22 +02:00
Ioannis Tsakpinis 67d29a75a0 Fix javadoc error 2015-01-07 20:22:38 +02:00
Ioannis Tsakpinis 301a37c5fe Revert 849511784b 2015-01-05 20:16:56 +02:00
Ioannis Tsakpinis ee2a1c79a3 Improvements to setTitle on Linux
WM_CLASS should not change after window creation. It's illegal (may only change while the window is in the Withdrawn state) and causes flickering issues on the taskbar.

The native setTitle implementation has been changed to use a better fallback when XChangeProperty fails and _NET_WM_ICON_NAME is also set, in addition to _NET_WM_NAME.
2014-12-30 14:50:40 +02:00
Ioannis Tsakpinis 85e5488e4d Enable parallel compilation 2014-12-30 14:35:00 +02:00
Ioannis Tsakpinis 54df7fb066 Fix nightly build link 2014-12-30 14:34:40 +02:00
Ioannis Tsakpinis 6ae9382a11 Bump version to 2.9.3 2014-12-30 14:33:04 +02:00
Ioannis Tsakpinis 4a8e5bf4f7 Merge pull request #104 from md-5/patch-1
Force high performance GPU for Nvidia Optimus systems
2014-12-14 19:00:49 +02:00
md-5 e503ea631c Force high performance GPU for Nvidia Optimus systems 2014-12-14 08:41:37 +11:00
Ioannis Tsakpinis 8cdaf59905 Replace .jnilib with .dylib on OS X with JDK 6. Resolve #100 2014-11-28 13:26:26 +02:00
Ioannis Tsakpinis 45678633f9 Fix libjawt.dylib detection. 2014-11-21 20:06:48 +02:00
Ioannis Tsakpinis e429e2699c Ignore .eh symbols 2014-11-21 20:06:31 +02:00
Ioannis Tsakpinis 132cecf861 Added missing "gl" prefix. 2014-11-03 17:25:46 +02:00
Ioannis Tsakpinis 751e1023f7 Merge pull request #97 from piotr-piastucki/master
Add missing functionality to create empty textures with glCompressedTexImage1/2/3D
2014-10-24 15:07:36 +03:00
Piotr Piastucki 37ebf89df0 Add missing functionality to create empty textures with glCompressedTexImageXD 2014-10-22 23:09:33 +02:00
Ioannis Tsakpinis 4d451457b4 Use OpenAL64 on Windows x64. Fixes #95. 2014-10-08 12:21:46 +03:00
Ioannis Tsakpinis 220f55d914 Merge pull request #93 from b23prodtm/macosx
OS X x86_64 build: fixed typo
2014-10-04 20:01:44 +03:00
b23prodtm ca19ebd11b x86_64 : build symbols issue was fixed 2014-10-03 18:52:58 +02:00
Ioannis Tsakpinis b44f503882 Build the symbols list in the x86_64 only build. 2014-10-02 17:34:03 +03:00
Ioannis Tsakpinis f25e503ce0 Refactored the OS X script for better readability and to enable builds on newer versions.
Issues resolved:

- Added support for the 10.8 (Mountain Lion) and 10.9 (Mavericks) SDKs.
- Dropped universal builds on 10.8 or higher, x86 is not supported anymore.
- Use clang instead of gcc on 10.8 or higher. Fixes a system header compilation error on 10.9.
- Fixed issue with the libjawt path on certain JDKs.
2014-10-01 22:35:25 +03:00
Ioannis Tsakpinis 42ccc83499 Create virtual key up events for all pressed keys when the display loses focus.
This is a workaround for missed key events and incorrect key state reporting. This is actually a cleaner solution to the previous workaround on Windows and works nicely on Linux too.
2014-10-01 21:04:50 +03:00
Ioannis Tsakpinis 035a4d679b Merge pull request #92 from dc740/master
Finally fix support for OpenBSD
2014-09-30 11:15:43 +03:00
Emilio Moretti 079a4b2e9c Fix the last bug and finally support OpenBSD 2014-09-29 22:36:59 -03:00
Ioannis Tsakpinis 76867b161f Merge pull request #54 from qbit/master
enable build on OpenBSD
2014-09-29 20:33:14 +03:00
Ioannis Tsakpinis 1dff231df3 Removed obsolete @Optional annotations. 2014-09-24 23:20:36 +03:00
Ioannis Tsakpinis a570c1c085 Fixed EXT_Cg_shader filename. 2014-09-21 15:33:17 +03:00