Commit Graph

1128 Commits

Author SHA1 Message Date
Elias Naur 2bc0988c98 Linux: More native code refactoring 2005-11-22 13:53:13 +00:00
Elias Naur 7469d59dbf Linux: Removed current_* mode cache from display.c 2005-11-22 11:23:37 +00:00
Elias Naur f548d581ce Linux: Fixed a mouse cursor position issue in grabbed mode 2005-11-22 11:06:21 +00:00
Elias Naur 9a64711cea Linux: removed getWindowWidth/Height from native side 2005-11-22 10:32:17 +00:00
Elias Naur 026f64a8e5 Linux: Removed getScreenModeWidth/Height from display.c 2005-11-22 09:32:15 +00:00
Elias Naur 936ae90290 Linux: fixed an issue with Xrandr timestamps 2005-11-21 22:37:14 +00:00
Elias Naur e2ee957f0b Linux: let exceptions from display.c propagate to LinuxDisplay.java 2005-11-21 22:21:29 +00:00
Elias Naur b6dd18fc7d Linux: Moved saved display mode from C to LinuxDisplay.java 2005-11-21 21:59:11 +00:00
Elias Naur b3fd19cf01 Linux: Moved some JNI functions 2005-11-21 18:25:30 +00:00
Elias Naur 61bfceaaed Linux: Moved a display connection to java 2005-11-21 16:50:11 +00:00
Elias Naur debaaf6538 Linux: Move gamma ramps to java code 2005-11-21 16:32:34 +00:00
Elias Naur c9669d20c9 Linux: Folded three ramp arrays into one, to avoid multiple allocations 2005-11-21 13:43:49 +00:00
Elias Naur 6e5ed9d1ff Linux: Moved a display connection creation to java 2005-11-21 13:32:52 +00:00
Elias Naur 5af5828dc6 Linux: Moved display mode extension and window state handling up into java code 2005-11-21 13:22:52 +00:00
Elias Naur fe915b8d1c Linux: Removed superfluous check from display.c 2005-11-21 10:55:49 +00:00
Elias Naur 3099244b4f Linux: Added zero size check to display.c 2005-11-21 10:45:59 +00:00
Elias Naur 1d52341e60 OpenAL: Made alcGetCurrentContext static in org_lwjgl_openal_ALC.c 2005-11-20 13:47:45 +00:00
Elias Naur 314d353aea Linux: renamed _glX* function pointers to lwjgl_glX* to avoid symbol clash problems discovered in mustang 2005-11-20 13:20:40 +00:00
Elias Naur b669751c73 Linux: renamed _glX* function pointers to lwjgl_glX* to avoid symbol clash problems discovered in mustang 2005-11-20 13:19:39 +00:00
Elias Naur 95e35d95ac OpenAL: Fix the declaration of alGetListenerf and alGetListeneri 2005-11-16 09:19:18 +00:00
Ioannis Tsakpinis 202e913022 Added missing functions in ARB_vertex_shader 2005-11-05 18:57:25 +00:00
Brian Matzon a33a82e80b silly debug leftovers nuked 2005-11-04 19:28:34 +00:00
Brian Matzon 20a9d2216c reworked devil dynamic stub to use generated header using a new ILNative class 2005-11-04 19:22:52 +00:00
Brian Matzon 8e28671ce0 dynamic stub support 2005-11-02 22:04:15 +00:00
Elias Naur 140e3fa3b7 Added support for doubles (ALdouble and GLdouble) 2005-11-02 09:28:12 +00:00
Elias Naur 706a263c75 Added missing @Const annotations to opengl and openal functions 2005-10-28 15:43:51 +00:00
Elias Naur 56a56503d6 Linux: Don't assume JAWT Lock()/Unlock() are re-entrant, fixing a hang with GCJ 4 2005-10-23 19:41:09 +00:00
Elias Naur 9af9ed4320 OpenAL: Fixed native headers, now that altypes.h and alctypes are gone 2005-10-10 12:50:10 +00:00
Elias Naur 94f39655a5 Linux: Fix Mouse.setCursorPosition() 2005-10-10 09:11:24 +00:00
Elias Naur 2563ccb99d Mac OS X: Makefile now supports building an universal version of the lwjgl natives 2005-10-04 07:43:50 +00:00
Elias Naur df2bc7d7e0 Moved generated files to seperate directories 2005-09-29 17:13:38 +00:00
Elias Naur 39cb1c580d Win32: Moved some Win32Display.getVersion code to java 2005-09-23 10:39:56 +00:00
Elias Naur 77412a26a2 Win32: Moved some registry access code to java (for Win32Display.getAdapter()) 2005-09-23 10:25:24 +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 f07c190d3c Mac OS X: Removed usage of the deprecated function NSIsSymbolNameDefinedInImage 2005-08-26 15:11:21 +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
Brian Matzon 2656b694e1 0.98 version string 2005-08-17 22:05:15 +00:00
Elias Naur f72013defa Win32: Fixed SIS/VIA crashes 2005-08-08 16:00:15 +00:00
Kevin Glass ab19f4722e Fix for alpha based icons under win32. 2005-07-16 11:27:58 +00:00
Kevin Glass 8d51cf81a1 Fix win32 icon alpha mask 2005-07-16 10:30:16 +00:00
Kevin Glass fe139192ec Fix native code to work with RGBA rather than RBGR. 2005-07-10 20:16:53 +00:00
Kevin Glass 2147b530b3 Added Linux native code for window icon setting. 2005-07-06 19:46:35 +00:00
Kevin Glass 513fd74301 Updated to actually convert the passed int buffer 2005-07-05 22:08:55 +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
Kevin Glass bb0fe5ea3a Added function to set the window icon on win32 2005-07-05 21:45:02 +00:00
Elias Naur dda8ac8af1 Mac OS X: Handle MouseEvent.NOBUTTON case 2005-06-29 07:39:28 +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 c4ee90ff6e Mac OS X: Use NSOpenGLPFAMinimumPolicy when selecting pixel formats 2005-06-03 08:26:24 +00:00
Elias Naur f1705b7fde Added AccessController.doPrivileged where needed 2005-05-30 16:21:05 +00:00
Brian Matzon 2c3a019717 use dlopen to load dynamic libraries 2005-05-29 21:24:18 +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
Brian Matzon 4ad9b565d5 using .dylibs for devil on mac 2005-05-22 11:14:00 +00:00
Brian Matzon 322f35351b fixed fmod webstart loading 2005-05-19 22:32:30 +00:00
Brian Matzon 8d18a63f59 0.97 version string 2005-05-18 21:02:41 +00:00
Brian Matzon ff491196d2 missing fmod include 2005-05-18 19:46:29 +00:00
Brian Matzon 1c80d8bb90 nuking, never used 2005-05-18 19:38:41 +00:00
Brian Matzon 39c4e989a7 reorganize headers so that compilers stop whining 2005-05-18 17:36:42 +00:00
Elias Naur d67949edb2 Mac OS X Devil: Make sure we include our own header files last so that our definition of bool is used 2005-05-17 07:43:40 +00:00
Elias Naur 0f5281e24f OpenAL: Made the openal library path returned by the current ClassLoader and cwd more override java.library.path. Converted some printfDebug to printfDebugJava 2005-05-12 07:47:07 +00:00
Elias Naur 9902110033 Removed update() from Display.createWindow() as it caused garbage to appear as the first frame. Added a black background brush t win32 window class 2005-05-06 09:40:36 +00:00
Elias Naur 1c49b2f969 Mac OS X: Only use SetSystemUIMode workaround on 10.3 and lower 2005-05-03 09:08:12 +00:00
Elias Naur 98c7a3a54f Win32: Compile fixes 2005-04-29 15:20:19 +00:00
Elias Naur fdcf050747 Win32: Fix Mouse.setCursorLocation() 2005-04-29 15:08:16 +00:00
Elias Naur 0b9d221f9c Fix cursor jumping after Mouse.setGrabbed() 2005-04-28 09:57:45 +00:00
Elias Naur c8d5fe296b Moved AWTSurfaceLock retry-loop to java to avoid non-standard sleep functions 2005-04-27 20:30:14 +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 cc8cff2d42 Win32: Ignore SC_*MENU messages (triggered on ALT and F10 and made LWJGL apps appear to hang) 2005-04-18 07:31:07 +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
Brian Matzon 4ae8937633 removed debug 2005-04-12 19:13:35 +00:00
Brian Matzon c6a9e8cbf0 ignore fmod load path 2005-04-12 18:57:00 +00:00
Brian Matzon 62403c89a0 please mac compilation 2005-04-12 18:54:21 +00:00
Brian Matzon a3da5368e7 use "dynamic" header on mac 2005-04-12 18:53:40 +00:00
Brian Matzon 4c5d849c3f fake "dynamic" header for MacOSX, which uses a static lib *grumble* 2005-04-12 18:52:02 +00:00
Brian Matzon 0df543fbd2 Makefile for mac fmod 2005-04-12 18:49:49 +00:00
Brian Matzon c3bcaf3b7b don't call OpenTray on mac 2005-04-12 18:48:40 +00:00
Elias Naur e1a63721f1 Win32: Implemented Mouse.setCursorPosition() 2005-04-12 12:04:36 +00:00
Elias Naur 61ddd625df Added Mouse.setCursorPosition(x, y) 2005-04-12 11:45:06 +00:00
Elias Naur f3d3ce7ce5 Moved ALC error check to java. Fix linux type cast warnings 2005-04-12 10:55:23 +00:00
Elias Naur f5cf0ef2a4 Converted ALC pointers from int to long 2005-04-12 10:30:05 +00:00
Elias Naur 815ce87e2e Win32: Fixed 64 bit warnings in Mouse.c 2005-04-12 09:53:18 +00:00
Elias Naur a09b9aa919 Fixed compile warnings 2005-04-11 12:54:12 +00:00
Elias Naur 0e0ef2f1ab Mac OS X: Use GetStringUTFChars instead of GetNativeChars to get the openal path 2005-04-11 12:38:00 +00:00
Elias Naur 96463f2ef6 Linux: Improved keyboard mapping support 2005-04-11 10:00:09 +00:00
Elias Naur df4e906100 Removed event buffer overflow message 2005-04-11 07:58:10 +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 958029a667 Win32: Always sepcify WS_CLIPCHILDREN | WS_CLIPSIBLINGS in window style flags, since it is required for SetPixelFormat to work (according to MSDN docs) 2005-03-30 10:46:21 +00:00
Elias Naur d329181fc6 *** empty log message *** 2005-03-30 08:49:02 +00:00
Brian Matzon ad8d7676c2 moved Sys.log to LWJGLUtils and renamed property to org.lwjgl.util.Debug 2005-03-29 18:09:33 +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 6fe0155a44 Mac OS X: initialize delILhandle in declaration to please gcc 2005-03-29 10:32:42 +00:00
Brian Matzon ba72196907 removed bogus define 2005-03-28 14:59:22 +00:00
Brian Matzon fb7f46eec7 readded ilu/ilut handles - though they're never used. But stops compile errors 2005-03-28 14:53:30 +00:00
Brian Matzon 4d26c24be2 first stab at one-shot devil initialization on mac 2005-03-28 13:17:27 +00:00