Camilla Berglund
12b6c56903
Add suffixes to platform specific helper functions
...
Also merge win32_tls.h into win32_platform.h.
ago%!(EXTRA string=10 years)
Emmanuel Gil Peyrot
9ac9c61433
Wayland: Make sure the cursor buffer is valid
...
Fixes #645 .
ago%!(EXTRA string=10 years)
Camilla Berglund
9c315412e1
Add glfwGetKeyName
...
Fixes #464 .
ago%!(EXTRA string=10 years)
Emmanuel Gil Peyrot
4c06426d46
Wayland: Create the surface before the context
...
This fixes a regression introduced in 496f559c
where a context would be
created for a NULL egl_surface, which subsequently fails.
Fixes #633 .
ago%!(EXTRA string=10 years)
Camilla Berglund
496f559c9a
Add GLFW_NO_API for creating context-less windows
ago%!(EXTRA string=10 years)
Camilla Berglund
efdbfd3883
Cleanup
ago%!(EXTRA string=10 years)
Ricardo Vieira
e8f3de0f2e
Implement glfwCreateStandardCursor for Wayland
...
Closes #620 .
ago%!(EXTRA string=10 years)
Camilla Berglund
d84772d620
Add size limits and aspect ratio functions
...
Fixes #555 .
ago%!(EXTRA string=10 years)
Camilla Berglund
a407a673dd
Add native Wayland and Mir functions
...
Fixes #419 .
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
13fbb4748a
Clean up cursor mode setting
ago%!(EXTRA string=10 years)
Camilla Berglund
95a07f3340
Start 3.2
ago%!(EXTRA string=10 years)
Camilla Berglund
1343ef5915
Replace stray malloc with calloc
ago%!(EXTRA string=10 years)
Emmanuel Gil Peyrot
656666e722
wayland: Fix typo introduced in e253beaa
.
...
Closes #502 .
ago%!(EXTRA string=10 years)
Emmanuel Gil Peyrot
e253beaa2b
wayland: Implement glfwGetCursorPos
...
Closes #499 .
ago%!(EXTRA string=10 years)
Emmanuel Gil Peyrot
4974585d04
wayland: Handle disconnect properly
...
Merge code for PollEvents and WaitEvents, and handle disconnect properly.
ago%!(EXTRA string=10 years)
Camilla Berglund
0fcbaeb596
Fixed broken Mir and Wayland builds.
...
Fixes #411 .
ago%!(EXTRA string=11 years)
Camilla Berglund
439417a22c
Comment and string spell check pass.
ago%!(EXTRA string=11 years)
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 .
ago%!(EXTRA string=11 years)
Camilla Berglund
2a1375e97c
Added glfwCreateStandardCursor.
...
This function allows the creation of cursor objects using one of several
standard cursor shapes from the current system cursor theme.
ago%!(EXTRA string=11 years)
Jonas Ådahl
4dd669661b
wayland: Coding style cleanup
...
Fixes * positioning, indentation and newline inconsistencies.
ago%!(EXTRA string=11 years)
Jonas Ådahl
cd51d285e6
wayland: Clean up anonymous file creation
...
It was a copy paste without fully updating the coding style. There were
also some autotools macros that were no longer valid. So far its assumed
that the needed functions exist. If better portability is needed, there
needs to be some detction added to the cmake build script.
ago%!(EXTRA string=11 years)
Jonas Ådahl
6e8e94837d
wayland: Don't check *alloc result
ago%!(EXTRA string=11 years)
Camilla Berglund
e9c7314d50
Added GLFW_FOCUSED window hint.
...
Fixes #101 .
ago%!(EXTRA string=11 years)
Camilla Berglund
41d998eb3c
Removed duplicate inclusion of client header.
ago%!(EXTRA string=11 years)
Ricardo Vieira
25204b1ec7
wayland: Support for setting a cursor image
...
Closes #346 .
ago%!(EXTRA string=11 years)
Camilla Berglund
8d170c7f47
Merged clipboard code into input.
ago%!(EXTRA string=11 years)
Camilla Berglund
b1fd3c00d0
Removed duplicate window position clearing.
ago%!(EXTRA string=11 years)
Ricardo Vieira
a7c9ca3b43
wayland: Release input focus when window is destroyed
...
This fixes a seg. fault on the reopen test because events might occur
after the window is destroyed (for example leave events).
ago%!(EXTRA string=11 years)
Ricardo Vieira
acf6bfb1f6
wayland: Destroy window context before clearing the egl surface
ago%!(EXTRA string=11 years)
Ricardo Vieira
2c5c6a1ff5
wayland: Add support for resizing windows
ago%!(EXTRA string=11 years)
Jonas Ådahl
a75cf5a163
wayland: Add basic input support
ago%!(EXTRA string=11 years)
Camilla Berglund
5ea485e197
Added missing function stub.
ago%!(EXTRA string=11 years)
Camilla Berglund
1127c0e6e5
Renamed Wayland files to match prefix.
ago%!(EXTRA string=11 years)
Camilla Berglund
7a4623e034
Added cursor stubs to Wayland backend.
ago%!(EXTRA string=11 years)
Camilla Berglund
d6243c63fe
Removed tab characters.
ago%!(EXTRA string=11 years)
Camilla Berglund
420f3f7840
Wayland error reporting work.
ago%!(EXTRA string=11 years)
Camilla Berglund
ede7a585bf
Shortened Wayland platform prefix.
ago%!(EXTRA string=11 years)
Camilla Berglund
5491bd4fd2
Formatting and cleanup.
ago%!(EXTRA string=11 years)
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.
ago%!(EXTRA string=11 years)