Commit Graph

2510 Commits

Author SHA1 Message Date
Camilla Berglund
5f7f6319eb Made global setting of CMake module path explicit. 2015-05-13 16:14:01 +02:00
Camilla Berglund
47592fbf42 Cleaned up example build file. 2015-05-13 16:01:42 +02:00
Camilla Berglund
80a38c1e45 Updated Info.plist template file. 2015-05-13 15:59:09 +02:00
Jay Weisskopf
c599ea0737 Fix typo: "is" changed to "are"
Fixes #512.
2015-05-13 00:18:12 +02:00
Camilla Berglund
9040c64e5b Implemented GLFW_AUTO_ICONIFY on OS X.
Fixes #506.
2015-05-06 23:53:52 +02:00
Camilla Berglund
905073a506 Simplified WGL extension logic.
Not applying this to GLX or EGL yet because Mesa.
2015-05-04 19:31:33 +02:00
Emmanuel Gil Peyrot
656666e722 wayland: Fix typo introduced in e253beaa.
Closes #502.
2015-04-20 22:34:30 +02:00
Camilla Berglund
460c34df4b Documentation tweaks. 2015-04-19 13:50:13 +02:00
Camilla Berglund
d1ea1ec21b Added credit. 2015-04-19 13:27:44 +02:00
Emmanuel Gil Peyrot
e253beaa2b wayland: Implement glfwGetCursorPos
Closes #499.
2015-04-19 13:27:43 +02:00
Camilla Berglund
9021e52a6f Fixed clipboard test OS X modifier. 2015-04-16 18:34:32 +02:00
Camilla Berglund
5b6e67119f Added credit. 2015-04-14 21:15:50 +02:00
Eric Larson
ad1739c63f Fixed invalid pointer when Xrandr is unavailable.
Fixes #497.
Closes #498.
2015-04-14 21:11:27 +02:00
Camilla Berglund
b415b9aacf Fixed harmless argument reversal. 2015-04-14 19:05:58 +02:00
Camilla Berglund
dc9d287e33 Comment cleanup. 2015-04-14 18:32:54 +02:00
Camilla Berglund
135be952fe Added reporting of unlikely WGL extension error. 2015-04-14 18:32:53 +02:00
Camilla Berglund
c21a8573b4 Replaced comment with assertion. 2015-04-14 18:32:53 +02:00
Camilla Berglund
5733b0e4cb Removed repetitition in input guide.
Fixes #496.
2015-04-10 13:31:54 +02:00
Camilla Berglund
5c3f8efd23 Context config translation cleanup. 2015-04-10 13:18:26 +02:00
Camilla Berglund
076d9311fa Removed tab characters. 2015-04-10 13:17:27 +02:00
Camilla Berglund
c5099ff407 Cleanup of #493. 2015-04-09 17:59:37 +02:00
Chi-kwan Chan
4277e9f5d6 Removed NSScreen member of OS X monitor.
Apple's documentation of [NSScreen screens] mentions that, "The
(screens) array should not be cached.  Screens can be added, removed,
or dynamically reconfigured at any time."  Because of this, we simply
obtain the screen from a displayID whenever we need it.

Fixes #492.
Closes #493.
2015-04-09 17:59:37 +02:00
Camilla Berglund
882b770ecb Cleanup of #487. 2015-04-09 17:59:37 +02:00
Elviss Strazdins
a21f586c3b Removed check for whether context is current.
The GLFW TLS slot will be out of sync if an outside source makes another
context current.

Fixes #487.
2015-04-09 17:59:37 +02:00
Camilla Berglund
2fbd948a67 Fixed initialization failing on headless systems.
Fixes #482.
2015-04-09 17:59:37 +02:00
Camilla Berglund
49cf82a0ac Cleaned up monitor and video mode enumeration. 2015-04-09 17:40:27 +02:00
Camilla Berglund
6412dcb896 Added note on delayed OS X window title updating.
Fixes #495.
2015-04-07 22:19:57 +02:00
Camilla Berglund
16e80258b8 Shrunk error message buffer.
This fixes a VC++ static analysis warning.
2015-04-07 22:19:57 +02:00
Camilla Berglund
b875bbcdf1 Added missing VC++ gitignore entries. 2015-04-07 22:19:56 +02:00
Camilla Berglund
6b21c4f6c9 Fixed out-of-tree build documentation.
Fixes #489.
2015-04-07 22:19:56 +02:00
Camilla Berglund
e8bceaa284 Documentation work. 2015-04-07 22:19:55 +02:00
Camilla Berglund
59abeeb097 Added window attribute remarks.
Fixes #485.
Related to #476.
2015-04-07 22:19:55 +02:00
Camilla Berglund
d95b79f9eb Documentation grammar fix. 2015-04-07 22:19:54 +02:00
Camilla Berglund
1861cf4975 Removed stale comment. 2015-04-07 02:29:49 +02:00
Camilla Berglund
427c79b24b Documented framebuffer attribute retrieval.
Related to #476.
2015-03-30 21:53:47 +02:00
Camilla Berglund
f3270d4ce8 Fixed language referring to GLFW 2.
Fixes #476.
2015-03-26 12:42:30 +01:00
Emmanuel Gil Peyrot
4974585d04 wayland: Handle disconnect properly
Merge code for PollEvents and WaitEvents, and handle disconnect properly.
2015-03-26 15:12:49 +08:00
Camilla Berglund
5268914b3f Started 3.1.2. 2015-03-20 00:16:24 +01:00
Camilla Berglund
29b40112c2 Fixed sleeping monitors being excluded from list.
Closes #430.
2015-03-19 16:21:52 +01:00
Camilla Berglund
1d7898b5ea Added description of 3.1.1 release. 2015-03-19 15:49:49 +01:00
Camilla Berglund
3d204b1afd Sorted context APIs after window APIs. 2015-03-17 16:55:00 +01:00
Camilla Berglund
821f3e674a Enabled High DPI support with custom Info.plist.
Fixes #422.
2015-03-17 16:54:59 +01:00
Camilla Berglund
1a004264f4 Removed reference to Carbon by postponed feature. 2015-03-17 16:48:56 +01:00
Camilla Berglund
8f08661d9e Header option macro fixes and documentation work.
This adds compile-time checks and documentation warning about defining
header option macros during compilation of GLFW.

Fixes #445.
2015-03-17 16:39:09 +01:00
Camilla Berglund
eb7688df8f Added select to all custom X11 event polling.
All loops waiting for specific events now use select to sleep while
there is no new data.
2015-03-16 18:29:37 +01:00
Camilla Berglund
e8f8ec027d Documented C locale hack. 2015-03-15 15:55:54 +01:00
Camilla Berglund
d493a82f9e Various error fixes.
Fixed incorrect error types.  Added missing error string prefixes.
Removed some invalid or superfluous error emissions.  Clarified some
error strings.  Joined error string lines to aid grep.  Replaced some
generic error strings with specific ones.  Documentation work.

Fixes #450.
2015-03-15 15:52:27 +01:00
Camilla Berglund
a75e43ef22 Moved _NET_REQUEST_FRAME_EXTENTS to frame query.
The request is now only made when necessary and times out after 500ms.
This breaks our end of the protocol to work around broken
implementations at the other end.

It uses the GLFW timer instead of select, as select is not guaranteed to
update the timeout with the time remaining and a single select is not
sufficient as other events may be incoming.

Fixes #368 (mostly).
Fixes #429 (mostly).
2015-03-15 15:47:39 +01:00
Camilla Berglund
cb11b7ca6f Added live resizing to splitview example.
Fixes #424.
2015-03-15 15:47:39 +01:00
Camilla Berglund
75b7720d00 Removed stray word in window guide. 2015-03-15 15:47:39 +01:00