Commit Graph

2720 Commits

Author SHA1 Message Date
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
Camilla Berglund
5bbc2b4949 Added and documented glfwSetGamma value checks. 2015-03-15 15:47:39 +01:00
Camilla Berglund
76fff4d042 Documented Windows gamma ramp size limit. 2015-03-15 15:47:39 +01:00
BryceMehring
c43f082993 Fixed X11 mouse button mismatch.
Bug introduced by 4d146cb39d.

Closes #449.
2015-03-15 15:47:39 +01:00
Camilla Berglund
6e20cda7fd Fixed test for invalid timer values.
Fixes #436 (properly).
2015-03-15 15:47:39 +01:00
Camilla Berglund
4596663232 Updated glad. 2015-03-15 15:47:39 +01:00
Camilla Berglund
d79beb9539 Renamed monitor test program. 2015-03-15 15:47:15 +01:00
Camilla Berglund
46888206be Removed unused GLU dependency. 2015-03-12 01:33:48 +01:00
Camilla Berglund
c1dce0f617 Cleanup. 2015-03-07 22:33:04 +01:00
Camilla Berglund
6e9788a9e6 Removed invalid context hint checks.
These are documented as ignored for OpenGL ES contexts.
2015-03-07 22:31:59 +01:00
Camilla Berglund
d90f5e0429 Fixed debug bit not being set for OpenGL ES. 2015-02-27 02:53:21 +01:00
Camilla Berglund
bbfdedff01 Updated changelog. 2015-02-22 21:27:42 +01:00
Camilla Berglund
8d910d7950 Public header comment cleanup. 2015-02-22 19:22:48 +01:00
Camilla Berglund
48f4a591de Formatting. 2015-02-22 19:22:48 +01:00
Camilla Berglund
e8ce4ab8e8 Enable _WIN32 on detection of MinGW, not Cygwin. 2015-02-22 19:22:48 +01:00
Camilla Berglund
d586fe6737 Removed stale NT arch hacks. 2015-02-22 19:22:48 +01:00
Camilla Berglund
c5353646b6 MinGW also supports __declspec(dllimport). 2015-02-22 19:22:48 +01:00
Camilla Berglund
1247fc030f Removed support for LCC. 2015-02-22 19:22:48 +01:00
Camilla Berglund
a8bc2af649 Removed support for Borland C++. 2015-02-22 19:22:48 +01:00
Camilla Berglund
4d146cb39d Fixed hole in mouse button sequence on X11. 2015-02-22 19:22:48 +01:00
Camilla Berglund
cf7dc1d737 Documented hidden cursor workaround. 2015-02-22 19:22:48 +01:00
Aleksey Rybalkin
a343e9a475 Added workaround for cursor hiding on some WMs.
Closes #431.
Fixes #309.
2015-02-22 19:22:48 +01:00
Jonathan Miller
dc4f0f6c91 Fixed close being used instead of inotify_rm_watch.
Closes #432.
Fixes #440.
2015-02-22 19:22:48 +01:00
Camilla Berglund
98e36753e6 Clarified language for windowed full screen.
Fixes #447.
2015-02-22 19:22:48 +01:00
Camilla Berglund
85de0db05d Fixed glfwSetTime accepting invalid values.
Fixes #436.
2015-02-22 19:22:33 +01:00
Camilla Berglund
11c22d6a17 Context function reference fixes. 2015-02-19 15:33:51 +01:00
Camilla Berglund
75a6d87542 Added support for Cygwin-X.
Fixes #406.
2015-02-16 15:40:57 +01:00
Camilla Berglund
5f21e213df Made Xxf86vm optional at compile-time. 2015-02-16 15:40:41 +01:00
Camilla Berglund
f4c127f75a Made XInput2 optional at compile-time.
This is required for RHEL 5, CentOS 5 and Cygwin-X.

Fixes #314.
2015-02-16 15:40:39 +01:00
Camilla Berglund
93855ae6ab Fixed name of path drop list. 2015-02-16 15:40:08 +01:00
Camilla Berglund
ac8dba2a80 Cleaned up text/uri-list parsing. 2015-02-16 15:40:08 +01:00
Camilla Berglund
f5c9265d1b Fixed test joystick drawing leaving holes.
Fixes #437.
2015-02-02 20:08:30 +01:00
Camilla Berglund
21280ca775 Fixed glfwSetWindowSize not changing video mode.
glfwSetWindowSize did not change the video mode for full screen windows
on OS X.

Fixes #423.
2015-01-29 15:56:06 +01:00
Camilla Berglund
ead8a1c333 Started 3.1.1. 2015-01-25 10:42:01 +01:00
Camilla Berglund
4188c263e3 Documentation work. 2015-01-18 17:30:10 +01:00
Camilla Berglund
3efff4e8de Documentation work. 2015-01-17 23:10:54 +01:00
Camilla Berglund
479fa6408a Documentation work. 2015-01-17 23:52:54 +01:00
Camilla Berglund
ce196232a7 Documentation work. 2015-01-16 14:09:03 +01:00
Camilla Berglund
ce8f97c23c Documentation work.
Fixes #212.
Fixes #420.
2015-01-16 01:34:12 +01:00
Camilla Berglund
4e375d0e74 Documentation work. 2015-01-11 18:25:54 +01:00
Camilla Berglund
500f5ebf04 Documentation work.
Fixes #416.
2015-01-11 03:57:28 +01:00