Camilla Berglund
7123bcfc3e
Fixed modifier key events being lost.
2014-06-17 11:49:29 +02:00
Camilla Berglund
20b7ac0518
Formatting.
2014-06-12 22:08:37 +02:00
Camilla Berglund
7653f3af49
Updated comments on global variables.
2014-06-10 15:04:32 +02:00
Camilla Berglund
ae469ee614
Made X11 Unicode table const.
2014-06-10 15:04:32 +02:00
Camilla Berglund
c6e02c09ff
Fixed leaks of joystick mutable arrays.
2014-05-29 13:19:08 +02:00
Camilla Berglund
8f2336f02c
Fixed release of get rule objects.
...
Partial revert of b4c03b992c
.
Fixes #262 .
2014-05-29 11:28:22 +02:00
Camilla Berglund
04ea2112bd
Fixed possible use of invalid HWND.
2014-05-23 13:24:36 +02:00
Camilla Berglund
4923f1cf7e
Call platform API directly where possible.
2014-05-21 21:30:24 +02:00
Camilla Berglund
56f0bb8613
Comment fix.
2014-05-21 21:30:24 +02:00
Camilla Berglund
b91116e2bc
Fixed glfwShowWindow restoring maximized windows.
...
Fixes #264 .
2014-05-19 15:01:05 +02:00
Camilla Berglund
dc5c264e26
Fixed broken key repeat detection.
2014-05-19 15:01:05 +02:00
Camilla Berglund
22e1b525a5
Cleaned up shared key repeat detection.
2014-05-18 14:06:51 +02:00
Camilla Berglund
d95b1b33e5
Cleanup of XKB detection code.
2014-05-18 14:06:49 +02:00
Andrew Corrigan
b889aa7841
Automatically detect Xkb at run-time.
...
Uses XGetKeyboardMapping as a fallback. Fixes #282 .
2014-05-18 12:45:43 +02:00
Camilla Berglund
e02b278db1
Linux joystick cleanup.
2014-05-16 11:27:30 +02:00
Camilla Berglund
deed44a4af
Fixed joystick name dangling pointer.
2014-05-16 11:25:34 +02:00
Camilla Berglund
aa6f8d40bd
Fixed misspelled parameter.
...
Fixes #287 .
2014-05-04 12:19:11 +02:00
Camilla Berglund
5ea485e197
Added missing function stub.
2014-05-04 11:51:40 +02:00
Camilla Berglund
cda5b25cb2
Moved to WM_NCCREATE.
2014-04-20 15:26:52 +02:00
Camilla Berglund
646c1cb8a8
Added inclusion of TLS header to Wayland.
2014-04-08 17:47:38 +02:00
Camilla Berglund
1fed6f8abd
Fixed name of global TLS state macro.
2014-04-08 17:47:38 +02:00
Camilla Berglund
1127c0e6e5
Renamed Wayland files to match prefix.
2014-04-08 17:47:38 +02:00
Camilla Berglund
48619a385e
Renamed joystick state members.
2014-04-08 17:47:38 +02:00
Camilla Berglund
eaf3bd5ca4
Formatting.
2014-04-08 17:47:38 +02:00
Camilla Berglund
12b28c4bb9
Fixed name of global context state macro.
2014-04-08 17:47:38 +02:00
Camilla Berglund
7c925353a5
Renamed context module headers.
2014-04-08 17:47:38 +02:00
Camilla Berglund
8113c00712
Merged CMake platform file picking blocks.
2014-04-08 17:47:38 +02:00
Camilla Berglund
17d9051b82
Separated time state from window system state.
2014-04-08 17:47:38 +02:00
Camilla Berglund
7a4623e034
Added cursor stubs to Wayland backend.
2014-04-08 17:47:38 +02:00
Camilla Berglund
115c6bc000
Removed superfluous include.
2014-04-08 17:47:38 +02:00
Camilla Berglund
fce0114174
Renamed POSIX time module.
2014-04-08 17:47:38 +02:00
Camilla Berglund
0e4096e201
Removed X11-specific macro from Wayland port.
2014-04-08 17:47:38 +02:00
Camilla Berglund
d6243c63fe
Removed tab characters.
2014-04-08 17:47:38 +02:00
Camilla Berglund
420f3f7840
Wayland error reporting work.
2014-04-08 17:47:38 +02:00
Camilla Berglund
ede7a585bf
Shortened Wayland platform prefix.
2014-04-08 17:47:38 +02:00
Camilla Berglund
5491bd4fd2
Formatting and cleanup.
2014-04-08 17:47:38 +02:00
Camilla Berglund
660034332d
Separated joystick state from window system state.
...
This is partially in preparation for pending support for additional
joystick APIs like XInput, DirectInput and IOHID.
2014-04-08 16:07:21 +02:00
Camilla Berglund
22095d12f5
Made Wayland header macro structure match X11.
2014-04-08 16:07:20 +02:00
Camilla Berglund
b7fc8099f1
Removed duplicate addition of POSIX time header.
2014-04-08 16:07:20 +02:00
Camilla Berglund
f312b5e386
Removed unused file.
2014-04-08 16:07:20 +02:00
Jonas Ådahl
8e99996321
Introduce experimental Wayland backend
...
This patch introduces a new backend that enables GLFW applications to
run on Wayland. For now, only output is supported (windowed and
fullscreen). Pointer cursor management, input devices, clipboard etc are
not supported yet.
There are some concepts that can not be supported, more specifically
glfwSetWindowPos, glfwGetWindowPos and glfwSetCursorPos, as they are not
supported by Wayland.
This patch also changes the time and joystick implementations used by the
X11 backend to be shared between the Wayland backend and the X11 backend.
2014-04-08 16:07:20 +02:00
Camilla Berglund
99c98407c9
Removed flicker-inducing workaround.
...
Fixes #267 .
2014-04-08 14:11:21 +02:00
Camilla Berglund
c1ed0b2d5b
Removed duplicate fallback.
2014-04-08 13:25:20 +02:00
Camilla Berglund
70c1aff94c
Fixed missing dereference in b29fbc82c2
.
2014-04-08 12:07:44 +02:00
Camilla Berglund
b29fbc82c2
Ensure out arguments are always set.
2014-04-07 16:28:11 +02:00
Camilla Berglund
7911c9300d
Nomenclature fix.
2014-04-07 13:38:54 +02:00
Camilla Berglund
bbc12ade7f
Added missing X command flushing.
2014-04-07 13:36:25 +02:00
Camilla Berglund
4a8f6ba58c
Moved window delegate creation to createWindow.
2014-04-06 13:46:16 +02:00
Camilla Berglund
f5a996a5af
Fixed focus events triggered by window frame.
2014-04-02 13:30:23 +02:00
Camilla Berglund
b54c76d6a3
Removed typedef of removed struct.
2014-04-02 13:30:22 +02:00
Camilla Berglund
ebb7145ccc
Fixed VC++ warnings.
2014-03-31 22:33:22 +02:00
Camilla Berglund
584879c759
Fixed flipped M and N key.
2014-03-31 21:59:45 +02:00
Camilla Berglund
1900d9a656
Included extended flag in Win32 scan code.
2014-03-30 20:54:38 +02:00
Camilla Berglund
78efc18079
Split out TLS code into separate modules.
...
This allows the TLS code to be re-used by partial ports like EGL.
2014-03-30 15:24:09 +02:00
Camilla Berglund
2889f484f4
Formatting.
2014-03-30 12:32:17 +02:00
Camilla Berglund
0c58df06d5
Added support for _NET_REQUEST_FRAME_EXTENTS.
2014-03-30 12:28:01 +02:00
Camilla Berglund
d6e0e0de2b
Formatting.
2014-03-30 12:23:39 +02:00
Camilla Berglund
eb3f75e03e
Added glfwGetWindowFrameSize.
2014-03-30 10:57:32 +02:00
Camilla Berglund
d3ae574418
Formatting.
2014-03-30 10:45:33 +02:00
Camilla Berglund
d7882cb89b
Aligned libGL soname to Linux ABI.
...
Fixed #261 .
2014-03-30 10:37:49 +02:00
Camilla Berglund
bf0adc2c70
Fixed crash on monitor disconnection.
2014-03-25 19:37:25 +01:00
Doug Binks
dc987edf34
First draft of physical key fix for Windows.
2014-03-20 23:46:43 +01:00
Camilla Berglund
7ac3d85126
Formatting.
2014-03-20 11:30:27 +01:00
Camilla Berglund
8fa9cc0de3
Added GLFWimage struct.
2014-03-20 11:30:27 +01:00
Camilla Berglund
608de57358
Cleanup.
2014-03-20 11:30:27 +01:00
urraka
40c04a7565
Added support for custom system cursors.
...
This adds 3 functions to the GLFW API: glfwCreateCursor,
glfwDestroyCursor and glfwSetCursor.
2014-03-20 11:30:27 +01:00
Camilla Berglund
aaac715060
Reverted 43095307da
.
...
The proposed fix broke for multiple displays of the same model.
2014-03-19 23:25:03 +01:00
Camilla Berglund
8ebd135536
Fixed last use of wndconfig in EGL port.
2014-03-19 13:15:04 +01:00
Jonas Ådahl
b2b3f170a9
Make EGL use ctxconfig instead of wndconfig
2014-03-18 21:35:50 +01:00
Camilla Berglund
2200f87492
Fixed glfwDestroyWindow not flushing the output buffer.
2014-03-12 20:53:57 +01:00
Camilla Berglund
5c23071a81
Fixed leak of display name.
2014-03-10 18:56:33 +01:00
Camilla Berglund
43095307da
Cleanup of CGDisplayIOServicePort replacement.
2014-03-10 18:56:33 +01:00
Matthew Henry
bebae14223
Replace CGDisplayIOServicePort with a workaround
...
This could be cleaned up and refined a bit by comparing more display
attributes when available, but it gets the job done.
Closes #192 .
2014-03-10 18:56:33 +01:00
Camilla Berglund
a859c10fa1
Formatting.
2014-03-10 13:55:23 +01:00
Camilla Berglund
78f1b8bd15
Fixed invalid video mode being restored.
2014-03-10 12:44:27 +01:00
Camilla Berglund
87dd7b89f5
Video mode detection cleanup.
2014-03-10 12:36:23 +01:00
Camilla Berglund
1ccc23268c
Added glfwPostEmptyEvent.
2014-03-09 17:55:55 +01:00
Camilla Berglund
9309f75704
Fixed missing ICCCM protocol message checks.
2014-03-09 13:24:37 +01:00
Camilla Berglund
98552f1d75
Added caching of X11 NULL atom.
2014-03-09 13:18:58 +01:00
Camilla Berglund
27c5760b0c
Updated broken RandR gamma comment.
2014-03-07 01:02:54 +01:00
Camilla Berglund
6e990b77d1
Removed stale comment.
2014-03-07 00:11:43 +01:00
Camilla Berglund
596b1e69ce
Fixes for legacy MinGW 4.2.
2014-03-06 23:33:09 +01:00
Camilla Berglund
d2205aa1a0
Added missing suffix for WNDCLASSW.
2014-03-06 23:21:13 +01:00
Camilla Berglund
76eefcc08a
Moved some VC++ specific hacks to platform header.
2014-03-06 21:05:55 +01:00
Camilla Berglund
6d8e78cc95
Further separation of window and context.
...
The context related parts of _GLFWwndconfig have been moved to
_GLFWctxconfig and given better names. Window hint and attribute
members have been renamed to match.
2014-03-06 20:07:58 +01:00
Camilla Berglund
0701d4ce6e
Made use of Win32 W-suffixed symbols explicit.
2014-03-06 18:30:14 +01:00
Camilla Berglund
d169557b00
Made GLX 1.3 the minimum supported version.
2014-03-06 16:45:40 +01:00
Camilla Berglund
ae8393c06e
Fixed refresh of debug context attribute.
2014-03-06 15:29:45 +01:00
Camilla Berglund
e2d6f2761c
Fixed constness of function parameters.
2014-03-06 14:37:13 +01:00
Michael Dickens
04b4e605a0
Removed C99-ism for the sake of OS X 10.6.
...
Fixes #241 .
2014-02-13 20:58:48 +01:00
Camilla Berglund
bf389f7183
Cleaned up RandR video mode handling.
2014-02-13 14:38:46 +01:00
Camilla Berglund
96433cdf19
Fixed meaningless Win32 video mode restore.
2014-02-13 14:25:55 +01:00
Camilla Berglund
2ec0acc972
Formatting (removed tab characters).
2014-02-13 13:30:15 +01:00
Camilla Berglund
b3c461bd7e
Cleaned up fix for #234 .
...
XFree may not be passed NULL. An invalid window handle will cause
_glfwGetWindowProperty to not return 1.
2014-02-13 13:30:12 +01:00
Camilla Berglund
69e10b88b0
Fixed uncaught BadWindow in EWMH check.
...
Fixes #234 .
2014-02-11 15:50:19 +01:00
Camilla Berglund
7f4e947447
Fixed return value for WM_DROPFILES.
2014-02-11 00:56:52 +01:00
Camilla Berglund
d0d2332193
WINVER fixes for MinGW and VC++.
2014-02-10 21:12:20 +01:00
Camilla Berglund
9beba1ba31
Fixed copypaste mistake.
2014-02-10 19:10:57 +01:00
Camilla Berglund
c1446618cf
Blurb nomenclature fix.
2014-02-10 15:33:41 +01:00
Camilla Berglund
cf177905e5
Allowed drops from less privileged processes.
...
By default, UAC will prevent less privileged processes from sending
these messages. This resolves that on Windows 7 and later. Windows
Vista is still affected by this issue, as it has UAC but lacks
ChangeWindowMessageFilterEx.
Fixes #227 .
2014-02-10 15:13:05 +01:00