1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-27 12:38:53 -05:00
Commit Graph

545 Commits

Author SHA1 Message Date
Camilla Berglund 2588c9be17 Renamed GLFW_BUILD_DLL to _GLFW_BUILD_DLL. 2012-03-25 17:40:30 +02:00
Camilla Berglund c097246312 Fixed listing of non-pkg-config libraries. 2012-03-25 17:34:21 +02:00
Camilla Berglund bd8eb1399a Put platform detection in a single place. 2012-03-25 16:51:24 +02:00
Camilla Berglund 20e685d37b Formatted variables not used outside of the local CMake project. 2012-03-25 16:49:15 +02:00
Camilla Berglund d743793e71 Pkg-config dependency generation fixes. 2012-03-25 14:51:56 +02:00
Camilla Berglund 7b46a184cb Added standard option to switch between static and dynamic library, dropped dynamic test. 2012-03-25 13:55:39 +02:00
Camilla Berglund 29d38c3b64 Increased Cocoa pixel format attribute array size. 2012-03-23 15:27:50 +01:00
Camilla Berglund c2a2114590 Fixed GCC warnings. 2012-03-22 23:30:00 +01:00
Camilla Berglund 8d2c2791c2 Added initial Linux MinGW-w64 support. 2012-03-22 16:57:38 +01:00
Camilla Berglund 812ad163eb Formatting. 2012-03-22 14:29:23 +01:00
Camilla Berglund 742299faaa Merged implementation for Win32. 2012-03-22 13:17:44 +01:00
Camilla Berglund 8109470e72 Merge branch 'master' into cursor-enter-leave 2012-03-22 12:06:00 +01:00
Camilla Berglund df1af5ca75 I am POSIXed. 2012-03-20 20:00:04 +01:00
Camilla Berglund c58750ef92 Applied fix for pixel format creation failure. 2012-03-20 15:30:46 +01:00
Camilla Berglund 61d4cf4f39 Merge branch 'master' of github.com:elmindreda/glfw 2012-03-20 15:24:23 +01:00
Camilla Berglund eb83a3e8f9 Replaced final deprecated Core Graphics call. 2012-03-20 15:23:35 +01:00
Camilla Berglund 21f2327e56 Formatting. 2012-03-10 16:23:09 +01:00
Camilla Berglund 5fd66f7d30 Free visual list earlier. 2012-03-07 18:38:08 +01:00
Camilla Berglund 339fb7d246 Made key code translation table private to function. 2012-03-07 15:13:41 +01:00
Camilla Berglund 89eec8af09 Made more consistent use of key code conversion. 2012-03-07 15:10:53 +01:00
Camilla Berglund 8155f90bf3 Formatting. 2012-03-07 15:04:14 +01:00
Camilla Berglund be547da9d2 Replaced more deprecated CoreGraphics calls. 2012-03-06 02:21:01 +01:00
Camilla Berglund 5f854b2bbf Replaced CFRelease with CGDisplayModeRelease. 2012-03-06 00:58:04 +01:00
Camilla Berglund a90675c526 Shortened the shortening. 2012-03-05 22:05:40 +01:00
Camilla Berglund 3383e59a73 Renamed function. 2012-03-05 20:30:59 +01:00
Camilla Berglund cb9bae5c71 Made glfwOpenWindow enforce the forward-compat and profile hints. 2012-03-05 20:27:47 +01:00
Camilla Berglund e55396d754 Shortened call to setAppleMenu:. 2012-03-05 20:09:06 +01:00
Camilla Berglund cc15dff98c Merge branch 'master' of github.com:elmindreda/glfw 2012-03-05 16:29:37 +01:00
Camilla Berglund 7af82fdade Replaced deprecated CoreGraphics calls in video mode enumeration. 2012-03-05 16:27:53 +01:00
Camilla Berglund c0db61bd6e Moved autorelease pool back to glfwInit. 2012-03-05 16:26:15 +01:00
Camilla Berglund f49119107f Removed misplaced Win32 configuration macros. 2012-03-01 03:45:06 +01:00
Camilla Berglund cd7b9b1568 CMake file formatting. 2012-02-29 20:15:39 +01:00
Camilla Berglund a82598ea24 Disable dynamic loading for Win32 DLL. 2012-02-29 19:52:34 +01:00
Camilla Berglund 98fbc07aa4 Fixed GLFW_WINDOW_NO_RESIZE state not being saved. 2012-02-27 02:21:26 +01:00
Camilla Berglund a202799f45 Renamed AppKit init function. 2012-02-26 03:24:42 +01:00
Hanmac 7e0ca6705b Added use of XkbKeycodeToKeysym when Xkb is available. 2012-02-23 21:51:57 +01:00
Camilla Berglund ea36557b93 Merge remote-tracking branch 'raedwulf/clipboard' into clipboard
Conflicts:
	src/CMakeLists.txt
2012-02-19 13:43:26 +01:00
Tai Chi Minh Ralph Eastwood 8b7fc5d601 Trailing whitespace. 2012-02-19 06:30:45 +00:00
Tai Chi Minh Ralph Eastwood 5937af089e Merge branch 'master' of github.com:raedwulf/glfw into clipboard
Conflicts:
	src/CMakeLists.txt
	tests/CMakeLists.txt
2012-02-19 06:29:48 +00:00
Tai Chi Minh Ralph Eastwood d561e3a0b0 Merge branch 'master' of github.com:raedwulf/glfw into clipboard
Conflicts:
	tests/CMakeLists.txt
2012-02-19 06:17:52 +00:00
Tai Chi Minh Ralph Eastwood a3430c2dec No idea why this file changed... or should it be changed at all. 2012-02-19 05:40:11 +00:00
Camilla Berglund 84ea69358f Removed unused variable, fixed chdir regression. 2012-02-15 01:57:43 +01:00
Camilla Berglund 4a9545317e Postponed AppKit init to first window creation. 2012-02-15 01:44:55 +01:00
Camilla Berglund e7f7c19de3 Made C-only modules C. 2012-02-15 01:20:27 +01:00
Camilla Berglund 65f55d03b1 Removed invalid timer set. 2012-02-15 01:11:16 +01:00
Camilla Berglund 7302f761d9 Cleaned up bundle resource directory logic, clarified comment. 2012-02-15 00:33:01 +01:00
Camilla Berglund f2062e06b7 Removed traces of Captain Obvious. 2012-02-09 16:31:01 +01:00
Camilla Berglund 13a438c91e Replaced NSDate time source with mach_absolute_time. 2012-02-09 01:53:26 +01:00
Camilla Berglund cd670c34a2 Fixed Alt+F4 not being translated into WM_CLOSE. 2012-02-07 16:56:06 +01:00
Camilla Berglund 0b34cb1466 Removed unused variable. 2012-02-07 16:21:37 +01:00
Camilla Berglund bba4a56352 Added missing return value. 2012-02-07 16:21:19 +01:00
Camilla Berglund ca9633247b Merge branch 'master' of github.com:elmindreda/glfw
Conflicts:
	src/win32_window.c
2012-02-07 15:43:29 +01:00
Camilla Berglund 0c3b1b5a0e Removed allocator. 2012-02-07 14:58:58 +01:00
Camilla Berglund f6dfaf50ad Formatting. 2012-02-05 16:56:26 +01:00
Camilla Berglund fb465377e3 Merge remote-tracking branch 'adrian/multi-display-support' into multi-monitor 2012-02-05 02:50:22 +01:00
Camilla Berglund 32b07923ab Formatting. 2012-02-05 02:43:49 +01:00
Camilla Berglund fccef20b76 Added explicit WINVER, avoid redefining UNICODE. 2012-02-05 02:41:52 +01:00
Camilla Berglund 84579305cb Made string conversions globally available. 2012-02-05 02:07:50 +01:00
Camilla Berglund 6b98a04d17 Merge branch 'utf8' into multi-monitor
Conflicts:
	src/CMakeLists.txt
2012-02-04 20:12:28 +01:00
Camilla Berglund f582746aaa Merge branch 'utf8' 2012-02-04 02:17:19 +01:00
Camilla Berglund e937c86893 Added UTF-8 window title support for Cocooa. 2012-02-04 02:15:17 +01:00
Camilla Berglund fcae55591e Merge branch 'master' of github.com:elmindreda/glfw 2012-02-04 02:05:38 +01:00
Camilla Berglund ad55edf114 Merge branch 'master' into utf8 2012-02-04 01:55:46 +01:00
Camilla Berglund b997db3a8b Removed GLFWthreadmodel and glfwInitWithModels. 2012-02-04 01:38:00 +01:00
Camilla Berglund 609c008a19 Moved input mode functions to top. 2012-02-04 01:34:12 +01:00
Camilla Berglund 5a05da441d Formatting. 2012-02-04 00:52:13 +01:00
Camilla Berglund ce288a8939 Transformed glfwEnable/Disable/SetCursorMode into glfwGetInputMode/SetInputMode. 2012-02-04 00:51:35 +01:00
Camilla Berglund 9c0c2c6b08 Upgraded Win32 port to Unicode mode. 2012-02-03 20:34:24 +01:00
Camilla Berglund 06074bc698 Added support for _NET_WM_ICON_NAME. 2012-02-02 17:20:14 +01:00
Camilla Berglund 797e936311 Replaced XStoreName and XSetIconName with X*SetWMProperties. 2012-02-02 17:01:11 +01:00
Camilla Berglund 083380884b Removed declarations made superfluous by our glxext.h header. 2012-02-01 22:00:07 +01:00
Camilla Berglund 78c135606a Removed error made superfluous by our glxext.h header. 2012-02-01 18:38:06 +01:00
Camilla Berglund 87dfde34a9 Formatting. 2012-02-01 14:43:42 +01:00
Camilla Berglund a508d21961 Merge remote-tracking branch 'hanmac/utf8Title' into utf8 2012-02-01 14:28:42 +01:00
Camilla Berglund 05173690d0 Merge branch 'master' of github.com:elmindreda/glfw 2012-02-01 14:27:43 +01:00
Camilla Berglund 017e2b3483 Formatting and cleanup. 2012-02-01 00:48:29 +01:00
Hanmac 1be6f17c66 add _NET_WM_NAME to the hasEWMGH check 2012-02-01 00:10:17 +01:00
Camilla Berglund 42cf91a07c Fixed GLFW_KEY_GRAVE_ACCENT and GLFW_KEY_WORLD_1 on Cocoa. 2012-02-01 00:00:20 +01:00
Marcel Metz 5a16042c8a Fixed mingw compile errors. 2012-01-31 23:47:01 +01:00
Camilla Berglund b6c510c9d1 Split window and context creation into separate functions. 2012-01-31 17:53:19 +01:00
Camilla Berglund b016d642ab Comment fixes. 2012-01-31 15:27:15 +01:00
Hanmac 8e2f4cfb31 add setting an utf8 string to _NET_WM_NAME for x11 2012-01-31 12:14:59 +01:00
Camilla Berglund c4806b9532 Merged cursor enter/leave callbacks. 2012-01-30 22:59:38 +01:00
Camilla Berglund 1d2a9790c9 Only show cursor on leave in hidden mode. 2012-01-30 22:44:41 +01:00
Camilla Berglund 7e470518ba Formatting. 2012-01-30 22:32:14 +01:00
Camilla Berglund 1ddafc25a6 Moved new cursor input code to other cursor input code. 2012-01-30 22:30:40 +01:00
Hanmac 0b752b84c3 Added API and X11 implementation of cursor enter and leave callbacks. 2012-01-30 22:19:39 +01:00
Marcel Metz a69974403e Added x11 support for monitor PnP detection. 2012-01-30 16:21:21 +01:00
Marcel Metz df64773a44 Moved monitor callback to shared implementation. 2012-01-30 14:55:23 +01:00
Marcel Metz f228d23024 Moved platform specific monitor list creation part to separate functions. 2012-01-30 12:33:32 +01:00
Marcel Metz 6f970f5753 Made monitor list cleanup shared. 2012-01-30 12:04:16 +01:00
Camilla Berglund fa17b7e616 Compatibility fixes. 2012-01-30 00:02:54 +01:00
Camilla Berglund 26c95559d2 Merge remote-tracking branch 'adrian/multi-display-support' into multi-monitor
Conflicts:
	.gitignore
2012-01-29 19:09:20 +01:00
Camilla Berglund 0cb77a31b6 Formatting. 2012-01-29 17:08:22 +01:00
Camilla Berglund 32f186e82d Made joystick array static. 2012-01-29 15:51:09 +01:00
Camilla Berglund ea8c7029a7 Formatting. 2012-01-29 15:41:06 +01:00
Camilla Berglund e26fd639f9 Disabled debug printing. 2012-01-29 15:39:35 +01:00
Camilla Berglund 58bb6b5288 Formatting. 2012-01-29 15:38:22 +01:00
Camilla Berglund 3ff48b5b47 Formatting. 2012-01-29 15:37:29 +01:00
Camilla Berglund 98173ece03 Removed calls to exit on joystick init failure. 2012-01-29 15:32:16 +01:00
Camilla Berglund a5b8c8db18 Replaced malloc and free with GLFW allocator. 2012-01-29 15:30:43 +01:00
Camilla Berglund e05f0c0f53 Formatting. 2012-01-29 15:30:01 +01:00
Camilla Berglund 2935652f48 Merge remote-tracking branch 'tikhomirov/osx_joystick'
Conflicts:
	.gitignore
	src/cocoa_init.m
2012-01-29 15:05:58 +01:00
Marcel Metz bc237f885c Merge branch 'master' into multi-display-support 2012-01-28 20:48:38 +01:00
Camilla Berglund e93ae44ee5 Formatting. 2012-01-24 18:28:37 +01:00
Marcel Metz c7a5474bfc Merged with master. 2012-01-24 18:00:51 +01:00
Camilla Berglund 8f3b21eb81 Merge branch 'master' of github.com:elmindreda/glfw 2012-01-20 02:24:17 +01:00
Camilla Berglund 1187c7da62 Ported the temporary cursor jitter fix from 2.7.3. 2012-01-20 02:23:27 +01:00
Camilla Berglund 57f9602b0e Removed speculation. 2012-01-18 21:13:06 +01:00
Camilla Berglund 1ca5391acd Removed trailing whitespace. 2012-01-18 21:12:34 +01:00
Camilla Berglund 6add995b06 Formatting. 2012-01-18 19:59:42 +01:00
Camilla Berglund d322fa1ab4 Added workaround for APIENTRY. 2012-01-18 18:44:28 +01:00
Camilla Berglund 379d0025ec Removed library name from version string to more closely match OpenGL format. 2012-01-18 18:15:28 +01:00
Camilla Berglund cde95f72c0 Made X extensions be adjacent in version string. 2012-01-18 18:13:31 +01:00
Camilla Berglund 129ef3f72a Added Xkb presence to version string. 2012-01-18 17:51:46 +01:00
Camilla Berglund 87f713a5e2 Added glfwInit exception comment. 2012-01-10 21:35:13 +01:00
Marcel Metz 4c6681bad6 Merge branch 'master' into multi-display-support
Conflicts:
	src/CMakeLists.txt
	src/input.c
2011-11-22 16:06:24 +01:00
Camilla Berglund 85982b2985 Removed Cygwin cross-compilation hacks. 2011-11-03 00:13:49 +01:00
Camilla Berglund 96267c8696 Formatting. 2011-11-02 17:34:27 +01:00
Camilla Berglund a18cd1b14c Renamed GLFW_WINDOW_NO_RESIZE to GLFW_WINDOW_RESIZABLE. 2011-11-02 16:56:34 +01:00
Marcel Metz 8e89fff792 Merge branch 'master' into multi-display-support 2011-10-14 14:37:41 -04:00
Marcel Metz 85d4bfcff5 Implemented monitor (dis)connect callback for win32. 2011-10-14 14:32:06 -04:00
Camilla Berglund 2660b27cf3 Renamed internal cursor position in preparation of new API. 2011-10-13 15:20:59 +02:00
Camilla Berglund 3ebe9a4358 Mouse input fixes. 2011-10-13 14:07:52 +02:00
Camilla Berglund 30c43d60a5 Removed superfluous test. 2011-10-13 14:07:24 +02:00
Camilla Berglund 72ef537425 Added input function for window damage events. 2011-10-09 21:12:13 +02:00
Camilla Berglund de147988f2 Fixed editing mistakes. 2011-10-09 17:40:29 +02:00
Camilla Berglund 30ab9e2058 Moved input-related functions to input file. 2011-10-09 17:13:58 +02:00
Camilla Berglund d0840bdea1 Added more input functions to clarify internal API. 2011-10-09 17:10:40 +02:00
Marcel Metz 784f60365e Stub implementation of monitor callback. 2011-10-09 00:20:34 -04:00
Camilla Berglund ec8ee0c6e7 Merge branch 'master' of github.com:elmindreda/glfw 2011-10-09 00:02:14 +02:00
Camilla Berglund 65f074d257 Formatting. 2011-10-08 23:57:03 +02:00
Camilla Berglund 1960d1ebb1 Added error setting for more cases of invalid tokens. 2011-10-08 23:41:30 +02:00
Marcel Metz ac57be060d Merge branch 'master' into multi-display-support
Conflicts:
	src/fullscreen.c
	src/win32_window.c
	src/x11_fullscreen.c
2011-10-07 00:35:37 -04:00
Camilla Berglund 1036d8e808 Restored dropped guards for RandR-specific function. 2011-10-06 23:53:11 +02:00
Camilla Berglund 9738728298 Reshuffling, formatting and shortening. 2011-10-06 23:28:56 +02:00
Camilla Berglund 970269cf3a Merge branch 'master' of github.com:elmindreda/glfw 2011-10-05 00:52:45 +02:00
Camilla Berglund 0322d8fba0 Made Win32 port build (functionality soon). 2011-10-05 00:47:39 +02:00
Camilla Berglund c18eda3a1a Added error messages. 2011-10-04 01:06:43 +02:00
Marcel Metz 29a4eca87d Renamed monitor related files. 2011-10-03 14:22:06 -04:00
Marcel Metz 3aa4976d6f Removed constant string length for monitor parameters. 2011-10-03 13:54:05 -04:00
Marcel Metz f89feefa46 Added define guards for XRandR code. 2011-10-03 12:48:59 -04:00
Marcel Metz 426df42d00 Replaced display with monitor in monitor related api. 2011-10-03 03:24:35 -04:00
Marcel Metz 58d4323ece Implemented display aware glfwVideoModes function for X11 XRandR and win32. 2011-10-02 16:47:15 -04:00
Marcel Metz a905e671b3 Implemented display iteration for win32 platform. 2011-10-02 16:47:15 -04:00
Marcel Metz 4634c334ea Renamed compare video modes function to internal interface conventions. 2011-10-02 16:47:15 -04:00
Marcel Metz beacbb3447 Implemented display iteration for x11. Added attributes and queries for physical size, name and logical position. Updated test executable. 2011-10-02 16:47:06 -04:00
Marcel Metz 3cb4dea453 Fixed implementation on win32 platform for iteration of video modes. 2011-10-02 16:18:31 -04:00
Marcel Metz d5def558d3 Renamed struct member to match x11 naming. 2011-10-01 01:48:42 -04:00
Marcel Metz 71af8b190f Renamed or implemented missing methods for cursor specific features. 2011-10-01 01:40:36 -04:00