bschaefer
f000b5daff
Mir: Fix window/context creation order
...
Need to create the native window before creating the context as creating
the context creates the EGL surface.
2016-05-02 21:58:54 +02:00
Emmanuel Gil Peyrot
1e82832737
wayland: Report unsupported operations as errors
2016-05-02 21:49:57 +02:00
Emmanuel Gil Peyrot
c301a1e51a
wayland: Implement remaining attribute getters
2016-05-02 21:49:31 +02:00
Emmanuel Gil Peyrot
e673bdc617
wayland: Implement maximized state
2016-05-02 21:49:27 +02:00
Emmanuel Gil Peyrot
71cedc6cfe
wayland: Implement glfwSetWindowMonitor
2016-05-02 21:49:23 +02:00
Emmanuel Gil Peyrot
5034c6c65e
wayland: Handle hidden window as no shell surface
2016-05-02 21:47:21 +02:00
Emmanuel Gil Peyrot
f0f5d9f644
wayland: Implement size limits and aspect ratio
2016-05-02 21:47:00 +02:00
Camilla Berglund
0b6a4313dd
Create EWMH and XDND atoms on demand
2016-05-01 23:01:48 +02:00
IntellectualKitty
3b0b5dacf5
Fix test for joystick presence in matchCallback
...
The matchCallback function has an initial loop to filter out redundant
joystick additions based on matching deviceRef values. However, the if
statement incorrectly combines this test with the condition that the
joystick is not present, which is obviously incorrect.
Closes #753 .
2016-04-27 15:42:19 +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
135ed7feb4
Fix build on legacy MinGW
2016-03-31 15:04:25 +02:00
Camilla Berglund
bd345164d3
Fix missing constant on VC++ 2010
2016-03-31 13:07:06 +02:00
Camilla Berglund
7cbdae1bed
Add initial DirectInput 8 support
...
Fixes #232 .
2016-03-31 12:24:01 +02:00
Camilla Berglund
3aebb0bfe3
Cleanup
2016-03-31 12:23:49 +02:00
Camilla Berglund
8a7fa306ce
Add glfwSetJoystickCallback
2016-03-31 12:12:09 +02:00
Camilla Berglund
bdd17c337f
Make helper window child of HWND_MESSAGE
2016-03-31 12:12:08 +02:00
Camilla Berglund
eb3577c1eb
Add initial XInput support
2016-03-31 12:12:04 +02:00
Camilla Berglund
c580949417
Cleanup
2016-03-29 14:01:06 +02:00
IntellectualKitty
ae4ece840d
Remove redundant OS X joystick polling
...
Closes #729 .
2016-03-29 14:00:13 +02:00
Camilla Berglund
c234a19423
Fix invalid EGL display being terminated
2016-03-29 11:13:07 +02:00
Camilla Berglund
20574fa81f
Fix VC++ warnings
2016-03-29 11:13:07 +02:00
Camilla Berglund
29e232f4b2
Improved error messages
2016-03-29 11:13:06 +02:00
Camilla Berglund
33c68a24a0
Formatting
...
[ci skip]
2016-03-29 11:12:49 +02:00
Camilla Berglund
f96d865b93
Cleanup
2016-03-28 20:16:53 +02:00
Camilla Berglund
925208d28f
Fix copypaste mistake
2016-03-28 12:44:50 +02:00
Camilla Berglund
7ab7d8b4b1
Make use of uint32_t where appropriate
...
This change does not affect the ABI.
2016-03-28 12:34:57 +02:00
Camilla Berglund
5661d03be8
Replace GLFWuint64 with uint64_t
...
C99 stdint.h is provided by VS 2010 and later. GLFW has not provided
testing or binaries for VS 2008 for several releases.
For earlier versions of VS there are third-party alternatives:
https://msinttypes.googlecode.com/svn/trunk/stdint.h
http://www.azillionmonkeys.com/qed/pstdint.h
This change does not affect the ABI.
2016-03-28 12:34:44 +02:00
Camilla Berglund
5eb2e83c82
Cleanup
2016-03-28 12:26:08 +02:00
Camilla Berglund
c1e4c45c7a
Replace Win32 window long with window property
...
Related to #25 .
2016-03-28 10:57:19 +02:00
Camilla Berglund
3503cba5d9
Fix Ctrl+Pause reported as unknown key on Win32
...
Fixes #730
2016-03-24 21:26:57 +01:00
Camilla Berglund
17bcefeac1
Fix CGL context not being released until later
...
Fixes #721 .
2016-03-18 12:01:48 +01: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
99c925efd8
Add tracking of which window 'owns' a monitor
2016-03-16 16:16:29 +01:00
Camilla Berglund
ea888114fa
Remove monitor from _GLFWwndconfig
2016-03-16 16:16:02 +01:00
Camilla Berglund
3a6fe042ea
Cleanup
2016-03-16 16:15:49 +01:00
Camilla Berglund
0d1dd82b89
Move X11 PPosition hack to glfwSetWindowPos
2016-03-16 16:11:35 +01:00
Camilla Berglund
ea73ccf22d
Add support for EWMH _NET_WM_WINDOW_TYPE
2016-03-16 16:07:22 +01:00
Camilla Berglund
86751b42a6
Fix OS X default max window size
2016-03-16 15:05:50 +01:00
Camilla Berglund
9a78fd049d
Fix view not being made first responder
2016-03-16 14:48:53 +01:00
Camilla Berglund
89f438de5a
Fix window focus regression
...
Regression caused by baf574494d
.
2016-03-15 22:22:51 +01:00
Camilla Berglund
4e4b8727fc
Fix Win32 icon restoration
2016-03-11 14:41:58 +01:00
Camilla Berglund
d2338f3a49
Fix X11 icon image copy
2016-03-11 14:41:57 +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
fca5a8ab48
Fix Win32 custom cursor set for non-client area
...
Udating the cursor via glfwSetCursor incorrectly included the non-client
area of the window.
2016-03-07 12:30:25 +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
31f67dd3cc
Add glfwGetTimerValue and glfwGetTimerFrequency
...
This adds raw timer access to the public API and builds the
floating-point time functions on top. It also makes the GLFWuint64 type
public.
2016-03-06 11:51:23 +01:00
Camilla Berglund
8221aadea3
Include stddef.h unconditionally in public header
2016-03-06 09:40:16 +01:00
Camilla Berglund
663ee327b0
Decrease amount of Hocus Pocus
2016-03-02 23:15:02 +01:00
Camilla Berglund
de2d4c7763
Clarify pointer assertions
2016-03-02 17:58:05 +01:00
Camilla Berglund
5fa7e2faa4
Release autorelease pool last
2016-03-01 19:36:05 +01:00