Camilla Löwy
372e908682
Remove internal header inclusion guards
...
Inclusion of internal headers is already both centralized and follows
strict rules. Inclusion guards are both an unneccessary maintenance
burden and may hide inclusion order bugs.
2017-05-25 19:35:13 +02:00
Camilla Löwy
186d03b32a
Cleanup
...
Related to #983 .
2017-05-17 22:26:15 +02:00
Felipe Ferreira da Silva
412eb6a611
Add glfwRequestWindowAttention
...
Related to #988 .
2017-05-11 13:36:39 +02:00
Camilla Löwy
4ff66a7818
X11: Fix IM-duplicated key events leaking through
...
Fixes #747 .
Fixes #964 .
2017-03-27 02:00:31 +02:00
Camilla Löwy
6a65341e14
X11: Fix multiple issues in XDND support
...
The code blindly expected UTF8_STRING for files. It did not downgrade
based on source protocol version. It did not handle hostnames in
text/uri-list data. It did not specify the source time stamp when
converting the selection. It did not search the XdndTypeList when
necessary. It did not ignore sources that specified invalid versions.
While better, this is still not fully conformant. Hostnames are not
validated and it does not guard against source crashes.
Fixes #968 .
2017-03-16 23:41:06 +01:00
Camilla Löwy
e9560ef021
Add GLFW_OSMESA_CONTEXT_API
...
This allows the creation of OpenGL contexts via OSMesa on existing
platforms. It does not add a compile- or link-time dependency on
OSMesa.
Fixes #281 .
2017-02-28 20:38:10 +01:00
Camilla Löwy
a570d0a129
X11: Use XI_RawMotion for disabled cursor motion
...
Related to #125 .
2017-02-26 18:48:04 +01:00
Camilla Löwy
67a55efa27
Add null joystick backend
...
This prepares the X11 backend to support other joystick APIs, for
example the FreeBSD libusb one.
2017-02-01 03:07:25 +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
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
c156b50e4c
Add glfwSetWindowMaximizeCallback
...
Fixes #778 .
2016-09-29 01:24:56 +02: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
067d1d6935
Cleanup
2016-08-12 01:46:21 +02:00
Camilla Berglund
9a781cef53
Formatting
2016-06-15 01:35:07 +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
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
ef80beab81
Add run-time context creation API selection
...
Fixes #145 .
2016-05-04 17:00:07 +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
e51e27fcab
Add back tracking of X11 override-redirect
2016-02-28 16:09:36 +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
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
02fdd6459e
Make EGL backend more readable
2015-12-13 14:49:55 +01:00
Camilla Berglund
9c315412e1
Add glfwGetKeyName
...
Fixes #464 .
2015-11-09 14:46:09 +01:00
Camilla Berglund
496f559c9a
Add GLFW_NO_API for creating context-less windows
2015-10-26 00:30:30 +01: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
527952102a
Fixed filtering of events duplicated by XIM.
...
Duplicate events cannot be filtered by the return value of XFilterEvent,
as that discards dead key events on some IMs (ibus), nor by its inverse,
as that discards all key events on other IMs (?). This solution is
based on the workaround in SDL2 and takes advantage of the identical
time of the duplicate events.
Fixes #548 .
Closes #554 .
Closes #571 .
2015-08-07 16:53:43 +02:00
Camilla Berglund
a1399426c3
Removed superfluous X11 window struct member.
2015-06-15 14:38:13 +02:00
Camilla Berglund
bdcffa90eb
Remove superfluous X11 library struct member.
2015-06-15 14:28:13 +02:00
Camilla Berglund
ff67e06844
Added prefixes to header guard macros.
2015-06-07 19:32:24 +02:00
Camilla Berglund
38ae319bea
Header inclusion cleanup.
2015-05-28 01:52:22 +02:00
Camilla Berglund
287e30239c
Renamed extension version struct members.
2015-05-28 01:52:22 +02: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
0fcbaeb596
Fixed broken Mir and Wayland builds.
...
Fixes #411 .
2015-01-06 01:44: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
1495134398
Changed all key translation to arrays.
2014-12-15 21:55:17 +01:00