Commit Graph

2513 Commits

Author SHA1 Message Date
Elias Naur 8296ae06cb Linux: Moved the pointer warp X11 atom from native to java 2006-10-23 19:51:22 +00:00
Elias Naur 5dba786574 Linux: Moved another Display instance to java 2006-10-23 14:22:27 +00:00
Elias Naur 1a83741b89 Linux: Moved another Display instance to java 2006-10-23 14:16:40 +00:00
Elias Naur 8c5f601e31 Linux: Added sanity check to LinuxDisplay.getDisplay() 2006-10-23 14:05:40 +00:00
Elias Naur dd76a4b0d8 Linux: Moved Display pointer from native to java 2006-10-23 13:58:33 +00:00
Elias Naur 2e75098673 Linux: Simplified LinuxMouse 2006-10-23 10:24:03 +00:00
Elias Naur 1c18537f1e AWTGears: Set background of window to black to avoid some resizing artifacts 2006-10-20 12:55:01 +00:00
Elias Naur 5d5dde0aed Remove redundant resizing of AWT canvases in AWT tests 2006-10-20 12:36:51 +00:00
Elias Naur 12d445c7ec Added nicer resizing to AWT tests 2006-10-20 12:32:33 +00:00
Elias Naur 8698cf68f3 Linux: Don't use the SUN specific getScreenFromDevice in LinuxAWTCanvasPeerInfo. This avoids garbage creation per frame and avoids one bit of SUN JRE dependency. 2006-10-20 11:51:34 +00:00
Elias Naur dc4a31e799 Undo debug stuff that accidentially went with the last commit. 2006-10-20 10:44:28 +00:00
Elias Naur d9e94b2d54 Don't repaint() from a separate thread in AWT demos. This results in a smoother rendering. 2006-10-20 10:42:43 +00:00
Elias Naur 9f7da6d483 Windows: Restore the old ToAscii code used on win9x platforms in an attempt to fix broken keyboard input on win98se machines. 2006-10-11 20:26:35 +00:00
Elias Naur dedfaea500 Windows: Don't use a dummy window (HDC) when finding a pixel format but use the actual window directly. This will avoid cases where the pixel format index for the dummy window's HDC wasn't valid for the actual window's HDC. It also avoid unnecessary complexity.
Fix FullScreenWindowedTest to use the Display's current BPP to avoid 24/16 bpp weirdness
2006-10-11 13:48:48 +00:00
Ioannis Tsakpinis 1b1b9c5416 Added missing CURRENT_RASTER_SECONDARY_COLOR enum value (GL 2.1)
Added EXT_gpu_program_parameters extension
2006-10-11 11:21:40 +00:00
Elias Naur ec9b449b78 Made Display.getImplementation package private, and made the input.* packages access it through reflection. 2006-10-08 09:05:16 +00:00
Elias Naur 55f67e68cb Linux: Fix crash when LinuxCanvasImplementation.getScreenFromDevice fails 2006-09-28 21:53:18 +00:00
Elias Naur 9a684b77ab Bumped JNI library version 2006-09-21 14:39:10 +00:00
Elias Naur c91f78e1f6 Windows: Don't ignore errors from CoInitialize 2006-09-21 13:49:49 +00:00
Elias Naur 911fff596e Added 'res' to runtest ant target classpath 2006-09-20 11:49:14 +00:00
Elias Naur 87523ce63a Windows: Got rid of dummy window in WindowsDisplayPeerInfo 2006-09-19 14:17:13 +00:00
Elias Naur def08f06f8 Display.java: Moved Context creation to after createWindow to relax the requirement that the Display PeerInfo must be valid before createWindow(). This will help Windows get rid of a dummy window. 2006-09-19 13:41:18 +00:00
Elias Naur 08c39c86d2 Windows: Removed unused method in WindowsDisplayPeerInfo 2006-09-19 13:18:05 +00:00
Elias Naur 26f2014516 Windows: Don't discard messages from other windows in the message handler 2006-09-19 11:06:02 +00:00
Elias Naur 03c801b081 Linux: Map alt-gr to RMENU 2006-09-18 15:03:44 +00:00
Elias Naur 08e94f8a7b Linux: changed uname -i to uname -m to improve 64 bit detection in build script 2006-09-08 10:01:06 +00:00
Elias Naur 145f00031a Windows: Fixed NPE in Display.getVersion() 2006-09-08 08:29:16 +00:00
Ioannis Tsakpinis 71f67b1859 Added INVALID_FRAMEBUFFER_OPERATION_EXT in GLU.gluErrorString 2006-09-01 20:15:05 +00:00
Brian Matzon 93aa253732 fixed params (int -> float) 2006-08-31 16:40:53 +00:00
Elias Naur ec4a94d47d Don't throw exceptions on Mouse.getEventButtonState 2006-08-31 13:35:36 +00:00
Kevin Glass 7f9faf144d Removed sanity checks for controllers. All controllers are now reported allowing the developer to make the decision over which ones to display to the user. 2006-08-30 02:47:49 +00:00
Elias Naur a863ede4ae Updated jinput.jar 2006-08-25 05:47:59 +00:00
Elias Naur 562a37773a Updated jinput.jar 2006-08-22 21:21:37 +00:00
Elias Naur c664269b82 Updated jinput.jar 2006-08-22 09:24:20 +00:00
Kevin Glass b1a4935212 Added sanity checks on reported controllers to prune out one with no Axis or no Buttons. 2006-08-21 17:26:28 +00:00
Kevin Glass 8ac762037f Update controllers test to not poll() the controllers from multiple threads. 2006-08-21 17:25:49 +00:00
Elias Naur 6e2f7aa7b3 Mac OS X: re-imported jinput library 2006-08-18 22:31:23 +00:00
Elias Naur 39b65dc3e7 Win32: Re-imported jinput libraries 2006-08-18 22:17:32 +00:00
Brian Matzon 0d430092e3 using statically linked support libs 2006-08-18 08:49:25 +00:00
Brian Matzon 322c8ccc14 using statically linked support libs 2006-08-18 08:41:19 +00:00
Ioannis Tsakpinis 84fdaeaff3 Added EXT_blend_color & EXT_blend_minmax extensions. 2006-08-16 10:42:43 +00:00
Elias Naur f14923d34d Mac OS X: build fixes 2006-08-10 09:05:54 +00:00
Elias Naur dde118016c Update to beta3 2006-08-10 08:45:10 +00:00
Elias Naur 0160b1511c Windows: Updated jinput-dx8.dll 2006-08-10 08:16:03 +00:00
Elias Naur 38b92f0a89 Updated jinput.jar 2006-08-10 08:06:00 +00:00
Ioannis Tsakpinis 7f2440d950 Added OpenGL 2.1 support 2006-08-03 10:00:11 +00:00
Ioannis Tsakpinis 02e0c84e0e 2006-08-03 09:51:45 +00:00
Elias Naur 294b68f057 Mac OS X: Build fixes 2006-08-01 14:10:17 +00:00
Elias Naur 05f1f755bf Mac OS X: Native compilation fix 2006-08-01 13:55:19 +00:00
Elias Naur 78006b3409 Make sure the mode member is never null in FullScreenWindowedTest 2006-08-01 10:36:13 +00:00
Elias Naur 6e1913e4df Don't trust GL_MAX_CLIENT_ATTRIB_STACK_DEPTH since it is 0 on Xgl in linux. Instead make sure the state trackers are sized according to demand 2006-07-31 22:54:21 +00:00
Elias Naur 7b7ad52f29 ReferencesStack now clears references when popping to avoid keeping buffer references around too long 2006-07-31 22:37:31 +00:00
Elias Naur 552b7ca3fc Linux: Don't free already freed XIC and XIM instances in LinuxKeyboard 2006-07-31 01:22:33 +00:00
Ioannis Tsakpinis 84600dffdb Added SGIS_generate_mipmap & SGIS_texture_lod extensions 2006-07-25 15:31:16 +00:00
Elias Naur 4c9edffc85 Linux: Remove 32x32 icons size check, since other sizes seem to work alright. Document the fact that Display.setIcon use the icons from the icon array in order of decreasing preference 2006-07-22 21:30:31 +00:00
Elias Naur 086c4de5a1 Make sure OpenGL versions with major >= 3 is properly supported. Make sure major >= 1 in any case 2006-07-22 15:05:36 +00:00
Elias Naur 1fe2f034b0 Fix comment 2006-07-22 14:58:13 +00:00
Elias Naur 4d6cbb4d1c Windows: Ingore DI_POLLEDDEVICE when setting buffer size of a directinput device 2006-07-21 20:35:27 +00:00
Elias Naur ccc6b7ba66 glu: Remove unused Util.IntValue inner class 2006-07-17 23:27:29 +00:00
Elias Naur 4081364fa3 glu: Remove redundant initialization of PixelStoreState 2006-07-17 23:23:50 +00:00
Elias Naur 7106092827 Windows: Use env.MSSdk, not MSSDK (the capitalization is important in ant). The MSVC compiler doesn't seem to mind if the PLTSDK is included or not, though (if it did, we would have noticed the incorrect env. variable) 2006-07-15 23:31:37 +00:00
Elias Naur 9db6528620 Windows: Make mingw build.xml strip the dll after linking. Delete optional build files from mingw_ant. 2006-07-15 23:20:06 +00:00
Elias Naur fbca53f218 Windows: mingw path fixes 2006-07-15 23:04:07 +00:00
Elias Naur 8c1d6d041c Windows: added build.xml for MinGW building of lwjgl.dll. Hopefully this could enable us to build 64 bit versions of the natives in the future. It currently works, with some manual removal of double declarations of symbols in dinput.h(!) 2006-07-15 21:44:59 +00:00
Elias Naur 375a4490cf Windows: Fix warning 2006-07-15 21:37:50 +00:00
Elias Naur bd474ceaa9 Windows: Replace _WIN32 macro with _MSC_VER since the conditionals are really for the MSVC compiler, not for the windows platform in general. Code cleanup. 2006-07-15 21:01:11 +00:00
Elias Naur 050638760e Windows: Don't use a non-portable anonymous struct in contex.h 2006-07-15 20:25:56 +00:00
Elias Naur 5e012ce2e1 Windows: Cleanup 2006-07-15 19:55:42 +00:00
Elias Naur d9afe6b784 Windows: Moved NativeSysImplementation.java to WindowsSysImplementation.java and moved some native code to java. 2006-07-15 19:45:36 +00:00
Elias Naur 008c59a301 Windows: Move more of Display.getVersion to java 2006-07-15 19:25:13 +00:00
Elias Naur 01f382fa3b Windows: Added NULL check to malloc in display.c 2006-07-15 18:45:20 +00:00
Elias Naur 6b68892cc1 Windows: Forgot display.c in last commit 2006-07-15 18:43:04 +00:00
Elias Naur 79a8e1264c Fixed SysTest.java 2006-07-15 18:36:46 +00:00
Elias Naur 52396b5a5c Windows: Don't release clipboard data before use 2006-07-15 18:31:09 +00:00
Elias Naur 0c2f7092e2 Windows: Removed unused variable from display.c 2006-07-15 17:44:53 +00:00
Elias Naur 3b03560ee7 Split the external LWJGL version from the internal version of the native JNI library. The internal JNI version is now an integer. This has multiple advantages over the old way:
1. The JNI_VERSION field is now included automatically in the generated JNI headers, relieving us of the burden of updating the version number in both java and native code.
2. We can update the JNI version with every non-compatible change of the JNI library API, not just once per release, giving us extra safety when users download and build LWJGL from SVN.
3. We can now avoid rebuilding natives if a particular release only
contains java changes. Currently, This is mostly a problem when Brian bumps the
external version prior a release and I forget to re-build the natives ;)
2006-07-14 16:14:52 +00:00
Elias Naur 676728bfd3 Added additional @NoErrorCheck annotations 2006-07-14 13:07:38 +00:00
Elias Naur f5e9020e6e Added @NoErrorCheck to GL11.glGetError 2006-07-14 12:07:20 +00:00
Elias Naur 867828115e Added a commented out generatechecks option to the opengl stubs generator. It can can be activated to add Utils.checkGLError everywhere 2006-07-14 11:54:52 +00:00
Elias Naur f15c904fce Windows: Fixed setCursorPosition. 2006-07-14 10:38:31 +00:00
Elias Naur d859fdcca6 Added a Controllers applet test 2006-07-14 08:32:01 +00:00
Elias Naur 84db769858 Refresh Jinput.jar 2006-07-13 18:56:19 +00:00
Brian Matzon 1cfed9e4ac no more source dist - get from svn
date fixes
fixed signing and path issue when doing jnlp
2006-07-12 21:29:31 +00:00
Brian Matzon c7f8f488bd using constants for names 2006-07-12 19:57:22 +00:00
Brian Matzon d4a3be63d6 win32->windows 2006-07-12 19:55:57 +00:00
Brian Matzon d20fac0e67 check for fmod property when it's actually been imported 2006-07-12 19:38:24 +00:00
Brian Matzon 83c7ebb69d using ant build files for linux 2006-07-12 19:36:29 +00:00
Brian Matzon 4e63e68bf6 check for fmod 2006-07-12 19:35:54 +00:00
Brian Matzon ea4373698d linux ant build files 2006-07-12 19:32:48 +00:00
Elias Naur 0be9f21397 Windows: Fix double compiler flag 2006-07-12 19:07:20 +00:00
Elias Naur bb8dcf3996 Windows: Rename Win32* files to Windows* 2006-07-12 18:32:58 +00:00
Elias Naur 7815607e09 Windows: move natives from src/native/win32 to src/native/windows because the source really is bitness neutral, not 32 bit specific. 2006-07-12 18:09:11 +00:00
Elias Naur 624f93ba34 Windows: Use the standard _WIN32 macro instead of the LWJGL defined WIN32. 2006-07-12 16:55:05 +00:00
Elias Naur 8a1952f2b0 Added runtest ant target for easy execution of tests 2006-07-11 23:03:11 +00:00
Brian Matzon 94cae282d3 obsolete stuff - all hail svn remove! 2006-07-11 21:55:24 +00:00
Brian Matzon 5abc13ab8d removing old build file stuff 2006-07-11 21:53:19 +00:00
Brian Matzon 9d4a978282 removing old build file stuff 2006-07-11 21:50:42 +00:00
Brian Matzon 585cddd5f6 removing old build file stuff 2006-07-11 21:48:58 +00:00
Brian Matzon 3aca397292 build natives into bin/<name> 2006-07-11 21:47:04 +00:00
Brian Matzon eac254e3f8 build natives into bin/<name> 2006-07-11 21:46:44 +00:00