Camilla Berglund
9cd0c101f0
Fix glfwMaximizeWindow not checking window mode
2016-08-21 17:43:40 +02:00
Camilla Berglund
53fafad915
Start 3.3
2016-08-18 23:55:49 +02:00
Camilla Berglund
613868b893
Add missing assertion
2016-07-11 16:39:53 +02:00
Camilla Berglund
a991c01731
Fail sharing if either window is context-less
2016-06-22 14:36:46 +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
2d2756cbad
Simplify cursor window logic
2016-05-30 22:12:33 +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
54cb23d234
Fix value checks failing on GLFW_DONT_CARE
2016-05-23 15:23:14 +02:00
Camilla Berglund
57f4ba7b37
Add basic argument checks for glfwSetWindowMonitor
2016-05-23 15:19:09 +02:00
Camilla Berglund
bc649e1632
Formatting
2016-05-11 15:23:27 +02:00
Camilla Berglund
ef80beab81
Add run-time context creation API selection
...
Fixes #145 .
2016-05-04 17:00:07 +02:00
Camilla Berglund
12a695696d
Add validation of size limit and aspect ratio args
2016-05-04 16:34:52 +02:00
Camilla Berglund
99dc2c48bd
Fix setting of GLFW_MAXIMIZED hint
...
Caused by a bad rebase.
Fixes #738 .
2016-04-17 13:44:07 +02:00
Camilla Berglund
29e232f4b2
Improved error messages
2016-03-29 11:13:06 +02:00
Camilla Berglund
5eb2e83c82
Cleanup
2016-03-28 12:26:08 +02:00
Camilla Berglund
6570d0c4b7
Add glfwSetWindowMonitor
...
This adds the ability to switch between windowed and full screen modes,
move a full screen window between monitors and update its desired
resolution and refresh rate.
Fixes #43 .
2016-03-18 11:13:24 +01:00
Camilla Berglund
ea888114fa
Remove monitor from _GLFWwndconfig
2016-03-16 16:16:02 +01:00
Camilla Berglund
89f438de5a
Fix window focus regression
...
Regression caused by baf574494d
.
2016-03-15 22:22:51 +01:00
Camilla Berglund
b823f7151e
Add glfwSetWindowIcon
...
Adds support for setting window icons programmatically on platforms
where this makes sense.
Fixes #453 .
Closes #467 .
2016-03-10 17:26:26 +01:00
Camilla Berglund
5620895e88
Add glfwWaitEventsTimeout
...
This function will put the calling thread to sleep until an event
arrives or until the specified timeout has elapsed.
2016-03-06 17:28:40 +01:00
Camilla Berglund
de2d4c7763
Clarify pointer assertions
2016-03-02 17:58:05 +01:00
Camilla Berglund
baf574494d
Add glfwFocusWindow
...
This removes the (undocumented) behavior where glfwShowWindow would
bring the window to front and set input focus. That function now
does what it says.
2016-02-25 21:37:40 +01:00
Camilla Berglund
a10caa4631
Add glfwMaximizeWindow and GLFW_MAXIMIZED
...
Fixes #266 .
2016-02-21 15:32:26 +01:00
Camilla Berglund
0ebdad53e8
Add asserts for public API pointer parameters
2016-01-31 17:56:36 +01:00
Camilla Berglund
d0649e6868
Fix confusing legacy parameter names
2016-01-27 03:26:32 +01:00
Camilla Berglund
5006ef3f56
Use more GLFWbool
2015-11-05 08:58:40 +01:00
Camilla Berglund
7be8209d14
Add GLFW_CONTEXT_NO_ERROR window hint
...
This adds support for the GL_KHR_no_error extension.
2015-10-27 20:36:20 +01:00
Camilla Berglund
496f559c9a
Add GLFW_NO_API for creating context-less windows
2015-10-26 00:30:30 +01:00
Camilla Berglund
f52ce00bf1
Remove outdated comment
2015-10-25 00:39:05 +02:00
Camilla Berglund
f5855968bb
Move glClear call to context module
2015-10-25 00:35:16 +02:00
Camilla Berglund
d84772d620
Add size limits and aspect ratio functions
...
Fixes #555 .
2015-10-18 17:18:29 +02:00
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
2015-10-13 00:46:02 +02:00
Camilla Berglund
95a07f3340
Start 3.2
2015-10-12 21:59:49 +02:00
Camilla Berglund
6b8d490249
Make all client API functions dynamically loaded
2015-08-12 01:01:42 +02:00
Camilla Berglund
cc4c232956
Renamed cursor window library struct member.
...
Since _glfwPlatformWindowFocused it has a more limited role.
2015-06-17 12:06:45 +02:00
Camilla Berglund
5f74c2afdf
Cleanup.
2015-06-07 18:27:37 +02:00
Camilla Berglund
96b3f17d02
Re-used config structs for hints.
2015-06-07 18:14:07 +02: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
439417a22c
Comment and string spell check pass.
2015-01-05 22:21:31 +01:00
Camilla Berglund
641761ddb0
Changed state attribs to direct access.
...
Changed the window states (focused, iconified and visible) to query the
system directly.
THIS IS A BREAKING CHANGE, although a fairly obscure one. It affects
applications that both care about telling actual key events from
synthetic ones, and are implemented in a non-self-synchronizing way, and
that poll the GLFW_FOCUSED window attribute instead of using the window
focus callback.
If you maintain one of these, please feel free to drop me an email and
I'll help any way I can to transition your application to 3.1.
Fixes #189 .
Fixes #204 .
2015-01-04 16:53:32 +01:00
Camilla Berglund
a6ded4d3fe
Formatting.
2014-12-31 22:32:08 +01:00
Camilla Berglund
e0c26f0ec5
Changed default of GLFW_REFRESH_RATE.
...
Fixes #354 .
2014-10-06 23:52:10 +02:00
Camilla Berglund
49579165a7
Added value clamping for stereo hint.
2014-09-18 20:40:11 +02:00
Camilla Berglund
e9c7314d50
Added GLFW_FOCUSED window hint.
...
Fixes #101 .
2014-09-10 11:50:50 +02:00
Camilla Berglund
7dba90b7ca
Removed racy checks of cached iconification state.
2014-09-09 16:53:22 +02:00
Camilla Berglund
44c899ce70
Added support for GL_KHR_context_flush_control.
2014-08-21 19:29:04 +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