Camilla Löwy
0735250eb1
X11: Fix potential window property data leaks
2017-01-16 17:53:28 +01:00
Camilla Löwy
0cd409bd6d
Comment work
2017-01-11 19:55:33 +01:00
Camilla Löwy
04f559e28d
Restructure monitor enumeration
...
This way is both kinder on event-based enumeration and less work to
unwind allocations for when properly implementing GLFW_OUT_OF_MEMORY.
2017-01-02 06:03:02 +01:00
Camilla Löwy
e649708cb2
X11: Make more use of XRRGetScreenResourcesCurrent
...
Closes #877 .
2016-12-18 15:49:17 +01:00
Camilla Löwy
6eae8f22dc
X11: Load Xxf86vm at run-time
2016-12-11 00:05:15 +01:00
Camilla Löwy
32eb50b75e
Move to Vulkan style function typedefs
...
PFN_FunctionName is more readable than SCREAMSOUP_T.
Context creation API function typedefs are kept as-is where the original
header provided them, for compatibility and familiarity reasons.
2016-12-08 16:56:05 +01:00
Camilla Löwy
f4d0c83181
Paperwork done
2016-11-30 14:00:41 +01:00
Camilla Berglund
e6a32db7b9
Cleanup
2016-09-07 16:49:29 +02:00
Camilla Berglund
ccfd6dde45
X11: Make clipboard IPC use helper window
2016-09-07 16:33:41 +02:00
Camilla Berglund
3b3a1390ad
X11: Add IPC helper window
2016-09-07 16:33:41 +02:00
Camilla Berglund
fafe1732b5
Cleanup
2016-09-07 16:33:41 +02:00
Camilla Berglund
53fafad915
Start 3.3
2016-08-18 23:55:49 +02:00
Camilla Berglund
d5e00e6b0f
Initialize context creation APIs on demand
2016-07-20 13:10:51 +02:00
Camilla Berglund
fb418b26d7
Fix grammar
...
Fixes #776 .
2016-07-17 15:39:25 +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
ef80beab81
Add run-time context creation API selection
...
Fixes #145 .
2016-05-04 17:00:07 +02:00
Camilla Berglund
11d051b69a
Formatting
2016-05-03 13:43:17 +02:00
Camilla Berglund
932a161d44
Unconditionally use some EWMH atoms
...
These window properties do no harm if they're declared even if the WM
doesn't support them. This makes GLFW slightly more tolerant of WM
changes as well as things like Ubuntu Unity reading _NET_WM_ICON without
declaring support for it.
2016-05-03 13:40:53 +02:00
Camilla Berglund
0b6a4313dd
Create EWMH and XDND atoms on demand
2016-05-01 23:01:48 +02:00
Camilla Berglund
ea73ccf22d
Add support for EWMH _NET_WM_WINDOW_TYPE
2016-03-16 16:07:22 +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
93b4c828c1
Fix VC++ build failure
...
Regression caused by 71c72db1e3
.
2016-02-23 11:49:42 +01:00
Jonas Ådahl
9160a7ceb3
x11: Premultiply custom cursor image alpha
...
As with Wayland, X11 expects cursor pixels to have the alpha
premultiplied, so lets convert the non-premultiplied pixels to
premultiplied pixels.
Fixes #353 .
Closes #707 .
2016-02-22 13:06:55 +01:00
Camilla Berglund
bb3b3452f3
Cleanup
2016-02-22 12:29:52 +01:00
Camilla Berglund
bda18bc899
Remove XInput2 XI_Motion support
...
Sadly, this interferes with the Steam overlay.
Fixes #304 .
2016-02-21 18:32:57 +01:00
Camilla Berglund
a10caa4631
Add glfwMaximizeWindow and GLFW_MAXIMIZED
...
Fixes #266 .
2016-02-21 15:32:26 +01:00
Camilla Berglund
9b75bffc88
Add basic Vulkan support
...
Added GLFW_INCLUDE_VULKAN. Added glfwVulkanSupported,
glfwGetRequiredInstanceExtensions, glfwGetInstanceProcAddress,
glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface.
Added port of LunarG SDK tri example.
2016-02-16 14:58:58 +01:00
Camilla Berglund
2cc6caf182
Remove superfluous call
2016-01-10 20:08:14 +01:00
celestinmarot
80cef67580
Fix memory leak in X11 key LUT generation
...
Closes #662 .
2016-01-10 20:06:43 +01:00
Camilla Berglund
12b6c56903
Add suffixes to platform specific helper functions
...
Also merge win32_tls.h into win32_platform.h.
2015-12-13 14:50:59 +01:00
Camilla Berglund
9c315412e1
Add glfwGetKeyName
...
Fixes #464 .
2015-11-09 14:46:09 +01:00
Camilla Berglund
d95b77ebec
Fix monitor notifications on X11
...
Fixes #288 .
2015-10-24 23:25:20 +02:00
Camilla Berglund
8aaa6d2162
Cleanup
2015-10-14 13:43:05 +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
87ad8c0561
Fix XIM input on non-UTF-8 locales
2015-10-09 13:26:23 +02:00
Camilla Berglund
6123937bde
Add missing version string entries
2015-09-01 17:19:09 +02:00
Camilla Berglund
afe4aadade
Make all GLX functions dynamically loaded
2015-08-18 17:56:34 +02:00
Camilla Berglund
2d39dff84a
Replace XkbGetKeyboard with XkbGetMap
...
Switch to XkbGetMap as XkbGetKeyboard returns NULL on XWayland.
Fixes #389 .
2015-08-18 14:27:28 +02:00
Camilla Berglund
04a439a0a0
Fix function name conflict between source files
...
Fixes #574 .
2015-08-16 15:35:12 +02:00
Camilla Berglund
2205bdd469
Improved X11 display opening failure.
2015-07-06 14:38:00 +02:00
Camilla Berglund
bdcffa90eb
Remove superfluous X11 library struct member.
2015-06-15 14:28:13 +02:00
Camilla Berglund
8e96402819
Formatting.
2015-06-09 21:04:58 +02:00
Camilla Berglund
b00a7d0619
Simplified version string functions.
2015-06-02 03:32:29 +02:00
Camilla Berglund
ef6dec17ba
Added missing entries to Linux version strings.
2015-06-02 03:32:28 +02:00
Camilla Berglund
287e30239c
Renamed extension version struct members.
2015-05-28 01:52:22 +02:00
Camilla Berglund
3c52cb1790
Simplified glXGetProcAddress logic.
...
Removed compile-time selection of GLX entry point retrieval mechanism.
Made dlopen a required dependency.
This is a stopgap solution until we start requiring GLX 1.4.
2015-05-27 02:20:55 +02: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
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
439417a22c
Comment and string spell check pass.
2015-01-05 22:21:31 +01:00
Camilla Berglund
56202ee7c6
Added Linux joystick hot-plugging via inotify.
...
This is a temporary solution until the proper libudev one.
Progresses #17 .
2014-12-28 13:28:09 +01:00
Camilla Berglund
b2030f6d73
Fixed X11 character input for C locale.
...
Fixes #396 .
2014-12-18 03:24:38 +01:00
Camilla Berglund
1495134398
Changed all key translation to arrays.
2014-12-15 21:55:17 +01:00
Camilla Berglund
4918514eaf
Added support for _NET_WM_FULLSCREEN_MONITORS.
...
This allows EWMH full screen windows to correctly cover monitors that
overlap other monitors, such as an Oculus Rift mapped onto a section of
a larger monitor.
Fixes #175 .
2014-09-22 13:31:59 +02:00
Camilla Berglund
c769061a8a
Cleanup of basic XIM support.
...
Shortened and simplified the code. Removed reporting of XIM sentinel
key press event. Added credit. Updated changelog.
Closes #151 .
2014-09-22 11:08:33 +02:00
Lucas Hinderberger
cec63f3cb5
Fixed dead keys in X11.
...
The library will now try to create an X input context to handle dead
keys properly on international keyboards. This makes it possible to
enter for example an e with accent grave on a German keyboard without
further efforts. A fallback mechanism is provided in case the client
does not support X input method / context creation. In that case, the
library will behave as it did before.
2014-09-22 11:08:33 +02:00
Camilla Berglund
f8d80a936f
Internal header cleanup.
2014-09-02 19:47:29 +02:00
Camilla Berglund
5d525c4a5f
Moved display closing into _glfwPlatformTerminate.
2014-08-21 21:18:02 +02:00
Camilla Berglund
e5d890a1aa
Made clipboard string member name consistent.
2014-08-21 21:14:29 +02:00
Camilla Berglund
a5281df501
Moved RandR gamma probe to init.
2014-08-18 12:58:02 +02:00
Camilla Berglund
9b6c14b7ae
Unified X11 cursor creation.
2014-06-22 13:15:36 +02:00
Camilla Berglund
3ce7bfef07
Added GLFW_FLOATING.
...
Fixes #23 .
2014-06-18 16:39:39 +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
0c58df06d5
Added support for _NET_REQUEST_FRAME_EXTENTS.
2014-03-30 12:28:01 +02:00
Camilla Berglund
eb3f75e03e
Added glfwGetWindowFrameSize.
2014-03-30 10:57:32 +02: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
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
58db8622bd
Cleanup.
2014-01-22 20:15:27 +01:00
Camilla Berglund
611006af18
Updated API version in comment headers.
2014-01-22 01:32:00 +01:00
Camilla Berglund
8ae063bb1b
Cleanup.
2014-01-21 15:25:49 +01:00
arturo
89d0723ba3
Initial drag and drop support.
2014-01-21 15:25:49 +01:00
Camilla Berglund
5ef4f77fb5
Added support for _NET_WM_BYPASS_COMPOSITOR.
2013-11-20 19:59:17 +01:00
Camilla Berglund
0ccbddf767
Moved version number macro to internal.h.
...
This lets alternative build environments avoid having to manually keep
track of which version of GLFW is being built.
2013-11-20 13:58:57 +01:00
Camilla Berglund
951f02acf3
Fixed keypad 5 release events.
2013-08-16 17:48:11 +02:00
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
2013-07-30 14:46:52 +02:00
Camilla Berglund
45653c5549
Cleaned up X error handler work.
2013-07-11 01:32:46 +02:00
siavash
3b4eb2f0a0
Added blank cursor creation error checking on X11.
2013-07-09 21:08:21 +04:30
Camilla Berglund
4883073b91
Cleanup.
2013-06-24 14:38:00 +02:00
Camilla Berglund
2ce9e8e6b2
Fixed clipboard string leaks.
...
The clipboard string was not by the Win32 and Cocoa ports on terminate.
2013-06-24 14:08:55 +02:00
Camilla Berglund
11615fcaf2
Added scancode to key callback.
2013-06-05 23:46:09 +02:00
Camilla Berglund
475d10d9d8
Formatting.
2013-05-02 23:06:59 +02:00
Camilla Berglund
be28914732
Added setting of _NET_WM_PID.
2013-05-02 16:31:27 +02:00
Camilla Berglund
179194a687
Added support for clipboard manager.
2013-04-29 13:16:56 +02:00
Camilla Berglund
1b34887e10
Formatting.
2013-04-29 13:01:30 +02:00
Camilla Berglund
ae1532670c
Separated formats from targets.
2013-04-29 13:01:30 +02:00
Camilla Berglund
822eb1c986
Added support for MULTIPLE target.
2013-04-29 13:01:26 +02:00
Camilla Berglund
7012d97958
Removed clipboard format index macros.
2013-04-29 00:23:59 +02:00
Camilla Berglund
130f07d8c3
Added include required for XUniqueContext.
2013-04-17 17:31:29 +02:00
Camilla Berglund
26756b9ae1
Moved to use X11 context manager.
2013-04-15 02:24:43 +02:00
Camilla Berglund
32273c5d96
Formatting.
2013-04-14 16:33:20 +02:00
Camilla Berglund
52ade53553
Removed stale comment.
2013-04-14 16:10:16 +02:00
Camilla Berglund
49db3b2a9e
Formatting.
2013-04-08 15:24:24 +02:00
Camilla Berglund
f41d85a209
Added initial XInput2 cursor motion.
2013-04-04 16:48:58 +02:00