1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00
Commit Graph

683 Commits

Author SHA1 Message Date
Camilla Berglund 271d9fc76e Formatting. 2014-06-24 13:26:15 +02:00
Doug Binks 55b5ca0bcc Fixed WGL not re-creating for sRGB hint.
Fixes #312.
2014-06-24 13:07:58 +02:00
Camilla Berglund 96b12ee504 Added character with modifiers callback.
The undefined behaviour changed with #40 has been reverted, making the
character-only callback again behave like a system text field.  This
behavior has now been documentated.

Fixes #203.
Fixes #305.
2014-06-24 10:50:05 +02:00
Camilla Berglund f3b65445dc Fixed cursor outside new full screen windows.
The cursor was not positioned over newly created full screen windows,
leading to confusing behavior like invisible cursor or window
iconification.

This fix is a stop-gap until the direct cursor position work is merged.

Fixes #111.
2014-06-18 17:13:28 +02:00
Camilla Berglund 3ce7bfef07 Added GLFW_FLOATING.
Fixes #23.
2014-06-18 16:39:39 +02:00
Camilla Berglund c9808586b3 Added GLFW_DOUBLEBUFFER. 2014-06-18 16:36:53 +02:00
Camilla Berglund 281013002d Added GLFW_DONT_CARE.
This changes the behavior of framebuffer hints set to zero.  Before,
zero meant that any value was acceptable.  This changes zero to be an
explicit preference and adds GLFW_DONT_CARE to mean that any value is
equally acceptable.

Fixes #70.
2014-06-18 16:36:22 +02:00
Camilla Berglund 25e7ff1196 Added GLFW_AUTO_ICONIFY.
By default, full screen windows that lose focus will be iconified and
the video mode will be restored.  This makes it impossible to create
applications spanning multiple monitors.  The GLFW_AUTO_ICONIFY window
hint will allow users to disable this behavior.

Fixes #143.
2014-06-18 16:33:58 +02:00
Camilla Berglund 20792526c6 Clarified dependency list. 2014-06-18 16:13:49 +02:00
Camilla Berglund 7123bcfc3e Fixed modifier key events being lost. 2014-06-17 11:49:29 +02:00
Camilla Berglund c6e02c09ff Fixed leaks of joystick mutable arrays. 2014-05-29 13:19:08 +02:00
Camilla Berglund b91116e2bc Fixed glfwShowWindow restoring maximized windows.
Fixes #264.
2014-05-19 15:01:05 +02:00
Andrew Corrigan b889aa7841 Automatically detect Xkb at run-time.
Uses XGetKeyboardMapping as a fallback.  Fixes #282.
2014-05-18 12:45:43 +02:00
Camilla Berglund deed44a4af Fixed joystick name dangling pointer. 2014-05-16 11:25:34 +02:00
Camilla Berglund 9becd733af Added file renaming notice. 2014-04-08 17:47:38 +02:00
Camilla Berglund 78fc96518f Updated change log. 2014-04-08 17:47:31 +02:00
Camilla Berglund 99c98407c9 Removed flicker-inducing workaround.
Fixes #267.
2014-04-08 14:11:21 +02:00
Camilla Berglund f5a996a5af Fixed focus events triggered by window frame. 2014-04-02 13:30:23 +02:00
Camilla Berglund eb3f75e03e Added glfwGetWindowFrameSize. 2014-03-30 10:57:32 +02:00
Camilla Berglund bf0adc2c70 Fixed crash on monitor disconnection. 2014-03-25 19:37:25 +01:00
Camilla Berglund af61bd3137 Updated change log. 2014-03-21 12:59:29 +01:00
Camilla Berglund 9209d9b304 Updated change log. 2014-03-20 11:30:27 +01:00
Camilla Berglund 30f86286f5 Fixed bad change log edit. 2014-03-20 11:30:08 +01:00
Camilla Berglund 7ebd10a868 Added GLFW_INCLUDE_ES31.
Fixes #255.
2014-03-19 23:02:47 +01:00
Camilla Berglund 6a03ed74fb Added credit. 2014-03-18 21:43:24 +01:00
Camilla Berglund 2200f87492 Fixed glfwDestroyWindow not flushing the output buffer. 2014-03-12 20:53:57 +01:00
Camilla Berglund 5c23071a81 Fixed leak of display name. 2014-03-10 18:56:33 +01:00
Camilla Berglund 43095307da Cleanup of CGDisplayIOServicePort replacement. 2014-03-10 18:56:33 +01:00
Camilla Berglund 41fd1655bd Added test for posting of empty event. 2014-03-09 20:05:27 +01:00
Camilla Berglund 1ccc23268c Added glfwPostEmptyEvent. 2014-03-09 17:55:55 +01:00
Camilla Berglund 9309f75704 Fixed missing ICCCM protocol message checks. 2014-03-09 13:24:37 +01:00
Camilla Berglund eb460c30ce Added missing link flags for threaded example. 2014-03-06 20:42:47 +01:00
Camilla Berglund d169557b00 Made GLX 1.3 the minimum supported version. 2014-03-06 16:45:40 +01:00
Camilla Berglund ae8393c06e Fixed refresh of debug context attribute. 2014-03-06 15:29:45 +01:00
Camilla Berglund 6029585f19 Added credit. 2014-03-04 13:50:35 +01:00
Camilla Berglund 69e10b88b0 Fixed uncaught BadWindow in EWMH check.
Fixes #234.
2014-02-11 15:50:19 +01:00
Camilla Berglund c1446618cf Blurb nomenclature fix. 2014-02-10 15:33:41 +01:00
Camilla Berglund 0cd31782d4 Enabled pkg-config file generation on MinGW.
Fixes #220.
2014-02-10 15:31:57 +01:00
Camilla Berglund 6fef0f1351 Updated changelog to include #231. 2014-02-10 14:27:49 +01:00
Camilla Berglund 84377c6175 Added _GLFW_USE_RETINA. 2014-02-10 13:45:13 +01:00
Camilla Berglund a70bcb97bb Added missing winmm loading errors. 2014-01-29 15:22:35 +01:00
Camilla Berglund 5ed23e593c Handle case of no available CRTCs. 2014-01-22 20:13:22 +01:00
Camilla Berglund dd02b96c94 Added flag for non-functional RandR monitor path. 2014-01-22 20:13:19 +01:00
Camilla Berglund 8f349e84ae Cleaned up drop callback design. 2014-01-21 18:23:25 +01:00
Camilla Berglund 18c635f474 Replaced Free Getopt with getopt_port. 2014-01-21 14:16:51 +01:00
Camilla Berglund 75f916db44 Formatting. 2014-01-13 23:27:11 +01:00
Camilla Berglund 16eb97dbc3 Added native monitor handle access to native API. 2014-01-13 23:05:01 +01:00
Camilla Berglund 2733cce8ff Added dependency section to readme. 2014-01-12 05:41:22 +01:00
Camilla Berglund 7341f8b635 Enlarged OS X invisible cursor.
Fixes #206.
2014-01-06 15:34:49 +01:00
Camilla Berglund 7e806a8567 Started 3.1. 2014-01-01 15:29:57 +01:00
Camilla Berglund eab31f228f Added description of 3.0.4 release. 2013-12-31 20:06:18 +01:00
Camilla Berglund d937b74b8f Fixed glfwSetWindowSize stealing focus. 2013-12-28 20:56:57 +01:00
Camilla Berglund cf458fa7a2 Formatting. 2013-12-11 14:41:51 +01:00
Camilla Berglund 0108a6bdeb Added credit. 2013-12-10 13:45:21 +01:00
Camilla Berglund 402189ba14 Fixed pthread.h not included by GLX header. 2013-12-10 00:47:19 +01:00
Camilla Berglund 56e600d7a1 Fixed iconify callback not triggered by Alt+Tab. 2013-12-05 02:19:41 +01:00
Camilla Berglund 0c0bb28d39 Allow setting swap interval to zero on DWM. 2013-12-04 08:00:53 +01:00
Camilla Berglund 5ef4f77fb5 Added support for _NET_WM_BYPASS_COMPOSITOR. 2013-11-20 19:59:17 +01:00
Camilla Berglund 0ccbddf767 Moved version number macro to internal.h.
This lets alternative build environments avoid having to manually keep
track of which version of GLFW is being built.
2013-11-20 13:58:57 +01:00
Camilla Berglund 23021422f3 Added explicit configuration header macro. 2013-11-20 12:06:07 +01:00
Camilla Berglund 4fe88a52fa Added credit. 2013-11-13 12:59:49 +01:00
Camilla Berglund 109e3d13ed Fixed reporting of negative window positions.
MSDN recommends LOWORD and HIWORD for WM_MOVE, but these do not
handle negative window positions correctly.

Fixes #172.
2013-11-13 12:39:41 +01:00
Camilla Berglund 7af99bce88 Fixed cursor centering for odd window sizes. 2013-11-13 12:39:40 +01:00
Camilla Berglund b13c84f854 Removed joystick axis value negation on OS X. 2013-11-07 20:45:29 +01:00
Camilla Berglund b410cff68c Updated change log. 2013-11-07 20:36:45 +01:00
Camilla Berglund cc4c7167fd Fixed joysticks test segfault. 2013-11-07 19:29:33 +01:00
Camilla Berglund 6c12ffc902 Added the GLFW_BUILD_DOCS CMake option. 2013-11-07 18:23:54 +01:00
Camilla Berglund a83d257ac6 Moved application activation to window showing.
Fixes #93.
2013-11-07 18:07:46 +01:00
Camilla Berglund ec5cb9c6f7 Moved to Cocoa for transformation and activation. 2013-11-07 18:03:39 +01:00
Camilla Berglund e7c7ebf665 Added workaround for 10.9 SDK type definitions. 2013-11-07 17:20:06 +01:00
Camilla Berglund cc7f0bd532 Fixed crash retrieving the name of some displays. 2013-11-07 16:28:07 +01:00
Camilla Berglund e4a87b8a1c Added Compiz to bug fix entry. 2013-11-03 16:08:35 +01:00
Camilla Berglund 1cbd06c8a2 Fixed hidden window positioning on Metacity. 2013-11-03 13:51:34 +01:00
Camilla Berglund 1a4ffa497a Added credit. 2013-10-28 13:22:34 +01:00
Camilla Berglund 174c72f2c0 Moved GLFW compilation guide to docs. 2013-10-27 12:53:50 +01:00
Camilla Berglund e309a784d1 Documentation work. 2013-10-21 22:39:51 +02:00
Camilla Berglund 99f40ede1b Documentation work. 2013-10-21 22:35:22 +02:00
Camilla Berglund db8e6bed7a Cross-linked build guides. 2013-10-21 22:23:15 +02:00
Camilla Berglund 6172e2cfcc Fixed change log entry. 2013-10-21 17:46:05 +02:00
Camilla Berglund bc8ff545ca Fixed mode enumeration for Thunderbolt monitors. 2013-10-17 20:43:39 +02:00
Camilla Berglund e576bdc894 Removed joystick axis value negation. 2013-10-17 20:09:00 +02:00
Camilla Berglund d78510457c Added hack for full screen focus on OS X. 2013-10-17 19:59:34 +02:00
Camilla Berglund 16e63adc40 Tenative setting of install_name. 2013-10-16 20:56:59 +02:00
Camilla Berglund 0041699048 Fixed glfw3.pc not using LIB_SUFFIX. 2013-10-12 20:22:48 +02:00
Camilla Berglund 9c15e2ff86 Enabled Lion full screen. 2013-10-10 00:09:03 +02:00
Camilla Berglund 7775c87cd6 Cleanup and change log update. 2013-10-09 23:58:43 +02:00
Camilla Berglund 50850602b2 Clarified change log entries. 2013-10-09 21:12:03 +02:00
Camilla Berglund 553cc8ac96 Clarified change log entry. 2013-10-09 20:24:57 +02:00
Camilla Berglund f2a04a56a4 Added CoreVideo dependency to change log. 2013-10-09 20:23:20 +02:00
Camilla Berglund aab08712dd Fixed zero refresh rate on some monitors. 2013-10-09 19:45:39 +02:00
Andri Pálsson 99784fb8f0 Fixed hidden cursor positioning corner case. 2013-10-09 19:06:03 +02:00
Camilla Berglund 0e7c6e1d82 Updated change log. 2013-10-09 11:58:08 +02:00
Camilla Berglund 4e3c990656 Updated change log. 2013-10-08 19:45:17 +02:00
Camilla Berglund 6e68d89e0f Fixed focus for Win+D window restoration. 2013-10-07 16:12:23 +02:00
Camilla Berglund 9c5d9f8614 Fixed clip rect being set for unfocused windows. 2013-10-07 15:30:57 +02:00
Camilla Berglund 2053767709 Added credit. 2013-10-06 11:37:16 +02:00
Camilla Berglund 8194f1e2ae Added hack for setting WM_CLASS. 2013-10-04 13:41:19 +02:00
Camilla Berglund a7af3b2c8f Put GLFW_CLIENT_LIBRARY into correct section. 2013-10-04 13:13:16 +02:00
Camilla Berglund 5759d0fdf2 Fixed F13 being reported as PrtSc on OS X. 2013-09-26 19:58:35 +02:00
Camilla Berglund 201d0a78b1 Fixed Grave and World 1 being flipped. 2013-09-26 00:00:07 +02:00
Camilla Berglund 59422ec980 Started 3.0.4. 2013-09-24 21:36:11 +02:00
Camilla Berglund 6af51e049f Added more detailed notes on some CMake options. 2013-09-19 22:24:03 +02:00
Camilla Berglund fd4ea8bc25 Added description of 3.0.3 release. 2013-09-19 14:30:47 +02:00
Camilla Berglund 546c794321 Fixed OS X cursor bugs #3, #72 and #88. 2013-09-19 01:05:51 +02:00
Camilla Berglund 4ff8095dee Workaround for libXi and CMake 2.8.7. 2013-09-13 14:42:45 +02:00
Camilla Berglund 6770ae0556 Added workaround for legacy MinGW.
When building on legacy MinGW, WINVER and UNICODE need to be defined
before the inclusion of stddef.h (by glfw3.h), which is itself included
before win32_platform.h.
2013-09-13 12:26:55 +02:00
Camilla Berglund 57b8be1c24 Added support for mouse buttons 4-n. 2013-09-08 16:09:23 +02:00
Camilla Berglund b998d4fe01 Fixed _WIN32_WINNT not being set to Windows XP. 2013-09-03 13:38:16 +02:00
Camilla Berglund 8c1588b14e Started 3.0.3. 2013-08-26 16:22:06 +02:00
Camilla Berglund 58aef89521 Made release description match website. 2013-08-25 21:40:06 +02:00
Camilla Berglund 83f57ff0ce Fixed potential segfault on init. 2013-08-21 10:15:52 +02:00
Camilla Berglund 71c07feffd Added description of 3.0.2 release. 2013-08-20 12:46:32 +02:00
Camilla Berglund 9c20737b60 Allowed characters regardless of modifier keys. 2013-08-19 13:08:35 +02:00
Camilla Berglund 951f02acf3 Fixed keypad 5 release events. 2013-08-16 17:48:11 +02:00
Camilla Berglund 735bc2d815 Added NvOptimusEnablement. 2013-08-07 18:11:58 +02:00
Camilla Berglund a024e61bf8 Build documentation improvements. 2013-08-07 17:53:19 +02:00
Camilla Berglund 082fc019c7 Build documentation improvements. 2013-08-07 17:17:15 +02:00
Camilla Berglund ffb699fb06 Build documentation improvements. 2013-08-07 17:05:32 +02:00
Camilla Berglund d318de7c00 Expanded section on X11 and Mesa packages. 2013-08-07 16:01:38 +02:00
Camilla Berglund 68bd6687d6 Formatting. 2013-08-07 15:30:15 +02:00
Camilla Berglund 261f290abf Fixed original video mode being overwritten. 2013-08-06 19:52:09 +02:00
arturo a6a5fa937c Fixed window position being incorrect on some WMs. 2013-07-30 15:52:47 +02:00
Camilla Berglund 670070e61a Updated change log. 2013-07-30 15:02:08 +02:00
Dmitri Shuralyov 5655e26315 Changed scrollWheel to use precise scrolling deltas when available.
Use precise scrolling deltas only on supported versions of OS X;
hasPreciseScrollingDeltas, scrollingDeltaX, scrollingDeltaY are
available in OS X v10.7 and later.
Replaced a single occurence of a tab character with 4 spaces for
consistency in src/socoa_window.m.
2013-07-17 19:36:43 -07:00
Camilla Berglund 50b2961d34 Moved to auto-updated docs URLs. 2013-07-10 17:00:09 +02:00
Camilla Berglund 41a1374744 Updated references to OS X (previously Mac OS X). 2013-07-10 15:38:31 +02:00
Camilla Berglund c8b01f61d6 Enabled OpenGL 3.x and 4.x context on OS X 10.9. 2013-07-10 15:03:14 +02:00
Camilla Berglund d20aa0428a Fixed window positioning on OS X. 2013-07-09 17:08:26 +02:00
Camilla Berglund 1c80e99008 Added forcing of swap interval on DWM composition. 2013-07-08 00:32:23 +02:00
Camilla Berglund dcb4d8ee32 Fixed possible X11 screensaver race condition. 2013-07-04 17:52:15 +02:00
Camilla Berglund 58c69a9ac4 Enabled compilation on OS X 10.6 SDK. 2013-07-04 15:02:01 +02:00
Camilla Berglund 621753e8a8 Added credit. 2013-07-01 13:18:05 +02:00
Camilla Berglund 2656bf8f9f Added missing module handle freeing. 2013-06-26 14:04:07 +02:00
Camilla Berglund 194e22dbbe Fixed retrieval of OpenGL 1.0 and 1.1 on WGL. 2013-06-26 13:57:09 +02:00
Camilla Berglund a17dad4f44 Updated contact information. 2013-06-24 14:28:42 +02:00
Camilla Berglund 2ce9e8e6b2 Fixed clipboard string leaks.
The clipboard string was not by the Win32 and Cocoa ports on terminate.
2013-06-24 14:08:55 +02:00
Camilla Berglund e11a5e3973 Fixed resizing for full screen override redirect. 2013-06-19 13:47:19 +02:00
Camilla Berglund c10bf9ba9c Fixed incorrect hint default.
The default for the GLFW_ALPHA_BITS hint was zero instead of 8.
2013-06-17 17:42:25 +02:00
Camilla Berglund 10017b27bb Cleanup. 2013-06-17 12:46:51 +02:00
Camilla Berglund 1de60a4ff7 Started 3.0.2. 2013-06-17 12:46:44 +02:00
Camilla Berglund 22e1aa6cfc Fixed process transform when no menu bar. 2013-06-16 20:30:36 +02:00
Camilla Berglund 1c79d8a8e4 Added release description. 2013-06-16 20:04:18 +02:00
Kyle McDonald d5cd6ec8eb Restored support for Mac OS X 10.6.
Modified during merge.
2013-06-16 18:46:20 +02:00
Camilla Berglund eba8168a03 Fixed glfwGetFramebufferSize on OS X. 2013-06-16 18:32:16 +02:00
Camilla Berglund a7ff236b32 Fixed duplicate events being reported. 2013-06-16 18:29:46 +02:00
Camilla Berglund 61f7de5a25 Updated credits and changelog. 2013-06-16 12:36:56 +02:00
Camilla Berglund 77e4c61190 Fixed broken WGL error detection.
Context creation was attempted even if no valid pixel formats had been
found during enumeration.
2013-06-13 18:29:21 +02:00
Camilla Berglund 3a5fcfba06 Removed more version noise. 2013-06-13 15:09:52 +02:00
Camilla Berglund c9bd191edb Removed version noise. 2013-06-13 15:07:28 +02:00
Camilla Berglund c38f33adda Started 3.0.1. 2013-06-13 12:05:23 +02:00
Camilla Berglund c449ef2e12 Moved client build docs to Doxygen. 2013-06-12 16:06:45 +02:00
Camilla Berglund c8166e58d3 Formatting. 2013-06-09 12:50:48 +02:00
Camilla Berglund 11615fcaf2 Added scancode to key callback. 2013-06-05 23:46:09 +02:00
Camilla Berglund f9d1a37621 Fixed unguarded calls to monitor callback. 2013-06-04 17:46:06 +02:00
Camilla Berglund 3498163da1 Separated window and framebuffer sizes. 2013-06-04 01:51:54 +02:00
Camilla Berglund 2cd34386bc Added back refresh rate window hint. 2013-05-30 20:42:59 +02:00
Camilla Berglund ad1f6f0341 Renamed glfwGetWindowParam to glfwGetWindowAttrib.
Parameters are something specified at creation time and are often
immutable, while many of the values returned by glfwGetWindowParam
reflected current state not controlled by any parameter or hint.
2013-05-27 15:30:32 +02:00
Camilla Berglund 15ed715f4e Moved public headers to the GLFW directory. 2013-05-22 22:46:34 +02:00
Camilla Berglund 2d1b835711 Added a conservative set of key modifiers. 2013-05-22 21:56:14 +02:00
Camilla Berglund 19cfc5e6f2 Grammar fix. 2013-05-19 10:24:59 +02:00
Camilla Berglund 673d5b55e7 Added section on Ubuntu dependencies. 2013-05-17 02:52:33 +02:00
Camilla Berglund 037c5ec6f5 Added repository URL to readme. 2013-04-19 00:19:22 +02:00
Camilla Berglund 159f9b9526 Changed default cursor mode for fullscreen. 2013-04-11 01:04:13 +02:00
Camilla Berglund 8282a8fbe0 Documentation work. 2013-04-10 23:01:12 +02:00
Camilla Berglund 2f7cad5765 Added credit. 2013-04-08 15:23:52 +02:00
Camilla Berglund 21525d119f Updated readme links to guides. 2013-04-07 13:26:19 +02:00
Camilla Berglund f0bae76e5f Added credit. 2013-04-07 13:26:19 +02:00
Camilla Berglund 129e94da2e Changed cursor pos to double. 2013-04-04 16:29:40 +02:00
Camilla Berglund 378c75d153 Added GLFW_INCLUDE_NONE. 2013-03-13 20:44:00 +01:00
Camilla Berglund 6fadf37bda Replaced window close parameter with mutable flag.
Replaced the GLFW_SHOULD_CLOSE window parameter with the
glfwWindowShouldClose and glfwSetWindowShouldClose functions, allowing
the setting of the close flag from any point in the program.
2013-03-01 14:13:45 +01:00
SephiRok 1ae9ce1e0a Fixed print screen key input for all platforms. 2013-02-21 18:41:27 +01:00
Camilla Berglund 788bbefd8e Added missing credit. 2013-02-21 00:08:48 +01:00
Camilla Berglund eb80266d89 Added credit. 2013-02-17 19:11:16 +01:00
Camilla Berglund 253e0d6b23 Added GLFW_REPEAT. 2013-02-15 13:21:11 +01:00
Camilla Berglund 919bc0679d Formatted change log. 2013-02-14 20:35:48 +01:00
Camilla Berglund a933d8c109 Added GLFW_INCLUDE_ES3. 2013-02-14 19:28:59 +01:00
Camilla Berglund b6926b1836 Added note on using GLFW from CMake. 2013-02-14 17:27:37 +01:00
Camilla Berglund 8ad7c456fd Fixed Windows GLFW library names. 2013-02-11 19:43:22 +01:00
Camilla Berglund 7c1932381b Reintroduced glfwGetWindowPos, glfwSetWindowPos. 2013-02-11 19:43:08 +01:00
Camilla Berglund ee5f30ea8f Replaced glfwGetMonitorParam with glfwGetMonitor*.
Having one way to retrieve the cursor position and another (more
verbose) way to retrieve the monitor position is inconsistent.  Having
them both work the same way is the least surprising thing.

The expected glfwGetMonitorSize function gets an added Physical in its
name so users won't confuse it with glfwGetVideoMode.
2013-02-04 12:33:10 +01:00
Camilla Berglund 075e37d29e Added note on CMake option prefixes. 2013-02-04 12:33:04 +01:00
Camilla Berglund b39118408e Documentation work. 2013-02-04 12:20:42 +01:00
Camilla Berglund c70e2e9c3c Replaced readme.html with README.md.
Removed historic changelog, updated build and use documentation,
reformatted contributor list, removed structure table, etc.
2013-02-04 10:46:02 +01:00