Commit Graph

3000 Commits

Author SHA1 Message Date
Camilla Berglund
7f2e4d8ace Win32: Fix possible leak of dummy context 2016-06-23 14:17:54 +02:00
Camilla Berglund
6f313ff245 Win32: Use helper window to load WGL extensions
This removes window re-creation logic by performing the initial context
creation on the helper window, simplifying both window and context
creation and paving the way for attaching to existing window handles
without compromising on context or framebuffer hint support.
2016-06-22 23:33:34 +02:00
Camilla Berglund
a991c01731 Fail sharing if either window is context-less 2016-06-22 14:36:46 +02:00
Camilla Berglund
b5aae7e901 Documentation work
[ci skip]
2016-06-22 13:33:25 +02:00
Camilla Berglund
5b7d6ed8b9 Documentation work 2016-06-21 16:46:17 +02:00
Camilla Berglund
38856886e6 Documentation work 2016-06-21 16:36:16 +02:00
Camilla Berglund
f2ba78e04b Rename static functions to allow unity build
Fixes regression introduced by GLFW_CONTEXT_CREATION_API.

Fixes #783.
2016-06-15 01:35:07 +02:00
Camilla Berglund
ae32d968b9 Fix test program line endings 2016-06-15 01:35:07 +02:00
Camilla Berglund
df5dcf5162 Win32: Fix stub comment 2016-06-15 01:35:07 +02:00
Camilla Berglund
76801973e1 Cocoa: Clean up joystick globals 2016-06-15 01:35:07 +02:00
Camilla Berglund
b6b8ff591d Fix cursor position coordinate delimiter
Comma would be great but we don't control the locale.
2016-06-15 01:35:07 +02:00
Camilla Berglund
9a781cef53 Formatting 2016-06-15 01:35:07 +02:00
Camilla Berglund
aaccfd8201 I don't know how to C
Fixes #773.
2016-06-15 01:35:07 +02:00
Camilla Berglund
4bccb3dc9f Start 3.2.1 2016-06-15 01:35:05 +02:00
A. Tombs
d8c278bf52 Add explanation of parameters to gamma test
Unlike similar test programs (e.g. tearing.c), the gamma test does not
explain the meanings of the optional parameters `h` and `f`. This patch
adds these explanations to the usage text.

Closes #775.
2016-06-06 21:25:13 +02:00
A. Tombs
407385dc72 Correct program name printed by tearing test
The tearing test incorrectly calls itself "iconify" when printing usage
information, probably just a copy-paste error.

Closes #774.
2016-06-06 21:23:30 +02:00
Camilla Berglund
f6ec835599 Fix documentation for timer thread safety 2016-06-02 16:13:47 +02:00
Camilla Berglund
5f17b61ff2 Win32: Remove accidental C99 2016-06-02 15:57:47 +02:00
Camilla Berglund
d203ccbf5e Add workaround for missing headers in legacy MinGW 2016-06-02 14:21:56 +02:00
Camilla Berglund
757eea2779 Update email address 2016-06-01 21:25:20 +02:00
Camilla Berglund
6a8e169001 Update copyright notice year 2016-06-01 21:25:19 +02:00
Camilla Berglund
9e86826eab Documentation work 2016-06-01 21:25:18 +02:00
Camilla Berglund
278bffe059 Remove severely outdated Rift guide 2016-06-01 21:25:09 +02:00
Camilla Berglund
f5b71f5329 Add error section to glfwMaximizeWindow reference 2016-06-01 20:34:21 +02:00
Camilla Berglund
20ac3d321f Remove caveat for fixed bug 2016-05-31 21:22:40 +02:00
Camilla Berglund
4adbeced25 Make cursor test wait by default 2016-05-31 15:38:28 +02:00
Camilla Berglund
7314501d62 Formatting 2016-05-31 15:38:12 +02:00
Camilla Berglund
1615edf5fb Clarify wording
Related to #766.
2016-05-31 15:37:20 +02:00
Camilla Berglund
28d4c9e9f4 X11: Re-enable cursor for all types of FocusOut
This prevents disabled cursor mode from interfering with window frame
interactions.

Related to #650.
2016-05-31 13:04:04 +02:00
Camilla Berglund
ed076b7c5b Win32: Re-enable cursor during modal loops
Related to #650.
2016-05-31 12:59:41 +02:00
Camilla Berglund
915a98c560 Add missing XFlush calls 2016-05-30 22:14:13 +02:00
Camilla Berglund
2d2756cbad Simplify cursor window logic 2016-05-30 22:12:33 +02:00
Camilla Berglund
03db3ed6e9 Cleanup 2016-05-30 21:19:00 +02:00
Camilla Berglund
20bce151c1 Documentation work 2016-05-30 17:00:21 +02:00
Camilla Berglund
85f6c6b2df Add description of 3.2 release 2016-05-29 17:55:08 +02:00
Camilla Berglund
bda031f4ac Cleanup 2016-05-29 15:34:08 +02:00
Camilla Berglund
797ee8d8e3 Move all cursor positioning to platform code
Due to Wayland, shared code cannot rely on cursor positioning being
supported by the underlying platform.

This implicitly fixes #617 as it moves cursor centering into
_glfwPlatformSetCursorMode, thus separating it from the stale value of
_glfw.cursorWindow.

Fixes #617.
2016-05-29 15:33:49 +02:00
Camilla Berglund
0e846883bf Clarify cursor position variable names 2016-05-27 02:39:03 +02:00
Camilla Berglund
72b3a7a59f Move comment to the actual line being discussed 2016-05-27 02:39:03 +02:00
Camilla Berglund
32f38b97d5 Fix OS X key names not following layout 2016-05-24 22:12:15 +02:00
Camilla Berglund
7fd7dca375 Remove completed todo 2016-05-23 22:59:11 +02:00
Camilla Berglund
0a668be1bf Add arrow keys to gamma test 2016-05-23 15:23:14 +02:00
Camilla Berglund
edb284f189 Add more argument value checks 2016-05-23 15:23:14 +02:00
Camilla Berglund
54cb23d234 Fix value checks failing on GLFW_DONT_CARE 2016-05-23 15:23:14 +02:00
Camilla Berglund
c4c99727c5 Add dynamic loading of HIToolbox.framework
Fixes #717.
2016-05-23 15:21:56 +02:00
Camilla Berglund
57f4ba7b37 Add basic argument checks for glfwSetWindowMonitor 2016-05-23 15:19:09 +02:00
Camilla Berglund
325729d0f6 Documentation work 2016-05-22 14:25:04 +02:00
Camilla Berglund
cd49efa84e Enable Cocoa multi-threaded mode 2016-05-22 14:02:29 +02:00
Camilla Berglund
bc649e1632 Formatting 2016-05-11 15:23:27 +02:00
ocornut
3c1a83d61f Fix keys filtered by IME being passed to callback
Closes #651.
2016-05-10 12:30:04 +02:00