Elias Naur
94f39655a5
Linux: Fix Mouse.setCursorPosition()
2005-10-10 09:11:24 +00:00
Elias Naur
df2bc7d7e0
Moved generated files to seperate directories
2005-09-29 17:13:38 +00:00
Elias Naur
5d139f4585
Linux: Added support for LWJGL_DISABLE_XRANDR environment variable to override Xrandr support on broken window managers
2005-09-13 06:56:14 +00:00
Elias Naur
545ac5ac95
Linux: Drop out of Xrandr loop after a set amount of iterations
2005-09-12 13:05:54 +00:00
Elias Naur
c1350ff363
Linux: Made the XRRSetScreenConfigAndRate retry loop more robust in order to avoid endless loops
2005-08-21 20:27:20 +00:00
Kevin Glass
2147b530b3
Added Linux native code for window icon setting.
2005-07-06 19:46:35 +00:00
Kevin Glass
0208d5b6d5
Added empty implementation of the window icon setting code in preperation for adding the Linux version.
2005-07-05 21:46:27 +00:00
Elias Naur
ce673390d3
Linux: Added library unload destructor that resets keyboard repeat mode
2005-06-28 15:19:32 +00:00
Elias Naur
c80ace3704
Linux: Added missing NULL check
2005-06-04 21:14:32 +00:00
Elias Naur
aef35ae0ed
Linux AWT: in case we're not on a SUN jdk, try to determine values instead of bombing out. This should help us compile and run on gcj
2005-05-27 11:50:13 +00:00
Elias Naur
0b9d221f9c
Fix cursor jumping after Mouse.setGrabbed()
2005-04-28 09:57:45 +00:00
Elias Naur
e6f8857439
Linux: If a keysym has no LWJGL mapping, try the unshifted keysym instead
2005-04-19 07:18:17 +00:00
Elias Naur
274abbf856
Linux: Added support for LWJGL_DISABLE_NETWM environment which will override the NetWM detection
2005-04-14 10:10:46 +00:00
Elias Naur
d26dca6029
Linux: Added XK_ISO_Left_Tab as an alias for KEY_TAB
2005-04-13 12:55:21 +00:00
Elias Naur
38fa843cd2
Linux: ignore vendor-specific keysyms
2005-04-13 12:21:53 +00:00
Elias Naur
61ddd625df
Added Mouse.setCursorPosition(x, y)
2005-04-12 11:45:06 +00:00
Elias Naur
96463f2ef6
Linux: Improved keyboard mapping support
2005-04-11 10:00:09 +00:00
Elias Naur
e8209e9a87
Linux: Use KeySyms instead of raw key codes to take the keyboard mapping in account
2005-04-09 23:26:27 +00:00
Elias Naur
7c8f43e915
Linux: Load libGL.so with the RTLD_GLOBAL flag. It seems that some drivers need it
2005-04-04 12:24:11 +00:00
Elias Naur
b59e82fd83
Linux: Statically link libXxf86vm
2005-04-01 09:51:11 +00:00
Brian Matzon
7963d74da8
added X11R6 to path
2005-03-30 16:55:09 +00:00
Elias Naur
c9fc024fa4
Linux: Moved display connection reference count to java. Linux: Load OpenGL library before opening display to work around a crash in NVIDIA drivers.
2005-03-29 11:31:22 +00:00
Elias Naur
508af9d0b9
Linux: Added missing NULL check
2005-03-28 10:29:16 +00:00
Elias Naur
bdcb68a582
Linux: Handle different GLX capabilities on different screens
2005-02-24 10:44:34 +00:00
Elias Naur
f4bfadcc5a
Removed unsued JNIEnv parameter from extgl_QueryExtension
2005-02-23 15:19:21 +00:00
Elias Naur
c092c5f367
Linux: Fixed glx
2005-02-23 14:16:57 +00:00
Elias Naur
ad92547914
Moved platform specific stuff from extgl.c into platform directories
2005-02-23 13:22:44 +00:00
Elias Naur
c96dc98b63
Clean out commented code
2005-02-23 11:42:04 +00:00
Elias Naur
9a764b3d33
Linux: moved handle allocations to native
2005-02-22 13:59:33 +00:00
Elias Naur
5d2e5de4eb
Linux makefile fix
2005-02-22 13:14:05 +00:00
Elias Naur
8bb10a1372
Linux: moved Cursor handle allocation to native side
2005-02-21 15:56:53 +00:00
Elias Naur
c8fc535c7c
Linux: fixed GLX 1.3
2005-02-21 15:35:09 +00:00
Elias Naur
fb5d89599b
Linux support for AWTGLCanvas. Big refactor of context specific code into Context.java that is now shared between Display, Pbuffer and AWTGLCanvas. (Win32 and Mac OS X is now broken while I implement the same changes on those platforms)
2005-02-20 11:24:22 +00:00
Elias Naur
8feec32e60
Linux: native error handling fixes
2005-02-18 09:26:32 +00:00
Elias Naur
2d5c4cf934
Moved platform specific opengl extension flags into the platform specific files
2005-02-17 12:39:33 +00:00
Elias Naur
17ee2523c0
The Big Generator. All OpenGL and OpenAL java and native source files are now generated from templates. See doc/generator.txt for a detailed description.
2005-02-15 11:05:36 +00:00
Elias Naur
e446883a7f
Renamed org.lwjgl.opengl.Window.allowSoftwareOpenGL to org.lwjgl.opengl.Display.allowSoftwareOpenGL
2005-01-27 21:26:46 +00:00
Elias Naur
a7fa07c2cc
Moved pbuffer supported check into native code to fix the case of no current context when creating the pbuffer
2005-01-19 13:05:07 +00:00
Elias Naur
66181d1486
Delegate Sys platform dependent methods into SysImplementation instances
2005-01-18 20:23:05 +00:00
Elias Naur
89074eafa2
Removed Sys.setProcessPriority
2005-01-18 19:05:34 +00:00
Elias Naur
f8ae518d0f
Linux:Moved NUM_BUTTONS up into java
2005-01-18 17:25:34 +00:00
Elias Naur
f4180a214d
Cleaned up Mouse and Keyboard now that buffering and translation are always enabled
2005-01-18 16:42:31 +00:00
Elias Naur
d64589aaa7
Linux: removed org_lwjgl_input_Controller.c, since the methods were empty anyway
2005-01-18 14:09:27 +00:00
Elias Naur
fbcd19698b
Moved Mouse.getNativeCursorCaps() to Cursor.getCapabilities()
...
Renamed Pbuffer.getPbufferCaps() to Pbuffer.getCapabilities()
2005-01-18 12:34:36 +00:00
Elias Naur
8668ab3e89
Linux: Hardened getAvailableDisplayModes so that it won't be confused by a changing number of display modes while it is executing
2005-01-16 10:43:30 +00:00
Elias Naur
37f6c9fe97
Linux: Don't free Pbuffer when it is not created
2005-01-14 13:30:41 +00:00
Elias Naur
7d8cc6abbb
Linux: Release context before destroying it
2005-01-12 12:20:53 +00:00
Elias Naur
ccd37148e1
Linux: Implemented AWT synchronization through JAWT. Needed because Xlib is not guaranteed thread safe
2005-01-11 15:22:12 +00:00
Elias Naur
925139bc7d
Added a Pbuffer argument to the Pbuffer constructor to enable sharing between pbuffers when the display is not created. Moved Pbuffer native methods into DisplayImplementation.
2005-01-11 13:53:12 +00:00
Elias Naur
4def20c892
Linux: Moved trivial methods from native to java
2005-01-06 14:03:48 +00:00
Elias Naur
b535bd0273
Don't close iconv descriptor if it is opened
2004-12-14 19:12:56 +00:00
Elias Naur
8419537ef7
More linux debug
2004-12-12 19:02:43 +00:00
Elias Naur
1263176471
*** empty log message ***
2004-12-12 17:07:45 +00:00
Elias Naur
46f9ce6ca4
Added more debug output to linux
2004-12-12 16:55:38 +00:00
Elias Naur
d1fb731587
Added java debug to all of linux native code
2004-12-11 20:18:18 +00:00
Elias Naur
7e4fc4c3b9
Added java debug output to linux display.c
2004-12-11 20:09:04 +00:00
Elias Naur
5ee6565bb5
Tweaked linux native isActive() and added printfDebugJava to print debug from native through Sys.log
2004-12-11 19:44:53 +00:00
Elias Naur
a65a9a3001
More linux fixes
2004-12-11 11:29:07 +00:00
Elias Naur
402f46e64d
More linux fixes
2004-12-11 11:21:01 +00:00
Elias Naur
f8dc7fa67b
Linux: Fix more mouse handling bugs
2004-12-11 11:11:23 +00:00
Elias Naur
644bbc9ac0
Improved fullscreen pointer handling
2004-12-11 08:10:44 +00:00
Elias Naur
3e59db54ab
*** empty log message ***
2004-12-10 19:49:11 +00:00
Elias Naur
9ec94cb364
Move getPbufferCaps to DisplayImplementation. Mac OS X pbuffer support
2004-11-18 12:10:28 +00:00
Elias Naur
8ee59e83fb
Linux: fix compilation
2004-11-14 11:39:54 +00:00
Brian Matzon
1bda864efd
changed String handling to use proper localizing method
2004-11-13 21:06:38 +00:00
Elias Naur
8458a8cbb7
Linux fixes to absolute coordinates
2004-11-12 15:43:14 +00:00
Elias Naur
9741a99c64
Make read() and poll() return absolute coordinates when the mouse is not grabbed
2004-11-12 15:01:29 +00:00
Elias Naur
47c8343728
Kill off automake/autoconf/libtool build system and replace by a much simpler Makefile
2004-11-12 14:32:42 +00:00
Elias Naur
2e291719fe
Linux fix destroyCursor native function typo
2004-11-11 16:58:21 +00:00
Elias Naur
78fc29c3cb
Cursor fixup
2004-11-11 13:42:26 +00:00
Elias Naur
5b1b513aab
Moved native cursors to DisplayImplementation
2004-11-11 13:27:59 +00:00
Elias Naur
4094c4ed7d
*** empty log message ***
2004-11-08 12:11:42 +00:00
Elias Naur
d3cc993523
Linux: don't rely on focus messages, just ask for the current focus at the end of the event loop act accordingly
2004-11-06 09:41:02 +00:00
Elias Naur
b4fde6438a
Linux: removed redundant last_z from Mouse.c. Mac: Compile fixes. Use NSAddImage for loading GL library
2004-11-05 10:30:04 +00:00
Elias Naur
2fe958948a
Split out native implementation of Display/Mouse/Keyboard into implementers of DisplayImplementation
2004-11-02 12:49:41 +00:00
Elias Naur
ddd61963ee
Split out native implementation of Display/Mouse/Keyboard into implementers of DisplayImplementation
2004-11-02 12:48:58 +00:00
Elias Naur
b76ea2d616
Linux: make accented character input work
2004-10-18 12:26:30 +00:00
Elias Naur
78c086a01c
Linux: Added basic support for Xutf8LookupString, providing better support for international characters
2004-10-16 21:59:20 +00:00
Elias Naur
22de5b7660
Minor linux keyboard input fixes
2004-10-15 21:31:46 +00:00
Elias Naur
bd34754f86
Linux: minor linux fix
2004-10-13 10:55:49 +00:00
Elias Naur
58d78eec2c
Linux: improved cursor position tracking
2004-09-30 12:31:59 +00:00
Elias Naur
91efa96d95
Linux: Don't warp cursor position at Mouse.create()
2004-09-28 13:02:38 +00:00
Elias Naur
468502cb00
Track event mouse deltas even when the event queue overflows
2004-09-27 13:20:27 +00:00
Elias Naur
9cb5176ce7
Linux: Fixed problem with updating screen dimension globals
2004-09-22 19:56:02 +00:00
Elias Naur
8b691bbe78
Linux: reset/restore gamma settings on activate/deactivate
2004-09-22 19:25:16 +00:00
Elias Naur
c6e9d5f13b
Fix linux Mouse compile
2004-09-22 18:35:14 +00:00
Elias Naur
8da3656540
Fix native mouse issues
2004-09-22 17:54:27 +00:00
Elias Naur
38ebcf5fb3
Updated win32 to report Mouse deltas
2004-09-22 15:06:27 +00:00
Elias Naur
fa1713c4e8
Add delta values to Mouse events
2004-09-22 11:08:21 +00:00
Elias Naur
0d013c7f54
Linux: Improve input latency by processing X messages from nPoll and nRead
2004-09-22 09:28:09 +00:00
Elias Naur
5361073072
Fix linux crash in nGetNativeCursorCaps
2004-09-21 14:36:52 +00:00
Elias Naur
af66408d3d
Added setLocation support for linux
2004-09-15 17:44:39 +00:00
Elias Naur
e686334d14
Improved _NET_WM_STATE_FULLSCREEN support for older kde window managers
2004-09-10 14:09:33 +00:00
Elias Naur
55a67aaacc
Converted native code from C++ (.cpp files) to C (.c files), thus avoiding an annoying dependency on the standard C++ library on Linux. We weren't using any particular C++ features anyway.
2004-09-10 08:13:56 +00:00
Elias Naur
aa60495bb5
Linux: improve cursor position handling (warp behaviour)
2004-09-08 20:15:55 +00:00
Elias Naur
bb540708a4
Removed commented out code
2004-09-06 10:21:34 +00:00
Elias Naur
33285cd06a
Linux: Reimplemented undecorated flag through use of the obscure Motif window manager hint instead of the override_redirect flag
2004-08-23 11:33:57 +00:00
Elias Naur
9cd4948517
Linux: cleanup and remove input grab in button press
2004-08-23 10:59:47 +00:00
Elias Naur
bb1d59fffe
Linux: Implemented support for Extended Window Manager Hints. LWJGL now cooperates
...
much better with the window manager, if the X randr and EWMH extensions are supported.
Especially fullscreen handling has improved, by avoiding the use of the override_redirect
flag.
2004-08-23 08:46:35 +00:00
Elias Naur
0c5bb83832
Linux: Added support for X RandR extension
2004-08-21 20:31:24 +00:00