Camilla Löwy
ce5e649d3b
Cleanup
...
Move global data to library struct. Simplify semantics. Update
changelog.
Related to #1028 .
ago%!(EXTRA string=8 years)
Camilla Löwy
c23fca6343
Fix APIENTRY from windows.h being undefined
...
Some extension loader headers include windows.h. If they were included
before glfw3.h, glfw3native.h would leave APIENTRY undefined. This adds
the GLFW_APIENTRY_DEFINED macro to signal when GLFW "owns" APIENTRY and
may undefine it.
Fixes #1062 .
ago%!(EXTRA string=8 years)
Camilla Löwy
af866e05d2
Cleanup
...
Related to #973 .
ago%!(EXTRA string=8 years)
Camilla Löwy
b7a0f225ea
Cleanup
...
Don't advertise native functions in public API guides. Don't list
primary selection access as most notable new feature. Don't have
different levels of abstraction among selection helper functions. Don't
forget to take credit.
Related to #1056 .
ago%!(EXTRA string=8 years)
Kristian Nielsen
29a75ab09d
X11: Add native access to primary selection
...
This adds the native access functions glfwSetX11SelectionString and
glfwGetX11SelectionString under GLFW_EXPOSE_NATIVE_X11. They are
similar to glfwSetClipboardString and glfwGetClipboardString but operate
on the PRIMARY selection.
The primary selection is widely used in X11, and so seems important to
support. Primary selection is mostly an X11-specific thing, hence it's
exposed as an X11 native interface.
Fixes #894 .
Closes #1056 .
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
ago%!(EXTRA string=8 years)
Camilla Löwy
079518617c
Linux: Fix missing feature macro for using strdup
...
This adds _XOPEN_SOURCE = 500.
Fixes #1055 .
ago%!(EXTRA string=8 years)
Camilla Löwy
f95c9d1bf3
Win32: Fix XInput axis normalization
...
Fixes #1045 .
ago%!(EXTRA string=8 years)
Camilla Löwy
75e44abf09
Win32: Remove deadzone logic from XInput path
...
Related to #1021 .
Related to #1045 .
ago%!(EXTRA string=8 years)
Camilla Löwy
a397195d3f
Linux: Make joystick init always fail silently
...
Related to #833 .
ago%!(EXTRA string=8 years)
Camilla Löwy
ab2247f8f3
Cocoa: Fix string object being updated incorrectly
...
Fixes #1050 .
ago%!(EXTRA string=8 years)
Camilla Löwy
5b7281bd41
Add glfwGetJoystickGUID
...
This function completes the first round of support for
SDL_GameControllerDB.
Fixes #900 .
ago%!(EXTRA string=8 years)
Camilla Löwy
213dd2d0d6
Add glfwInitHintString
...
Adds string type init hints. Adds X11 specific init hints for WM_CLASS
components. Documentation work.
Fixes #893 .
ago%!(EXTRA string=8 years)
Camilla Löwy
e55e616f1f
Cleanup
...
Replaces tabs with spaces. Makes code idiomatic. Adds credit.
Closes #1043 .
ago%!(EXTRA string=8 years)
Camilla Löwy
67c9155f3b
Documentation work
ago%!(EXTRA string=8 years)
Camilla Löwy
8e899ccc29
Cocoa: Add support for MoltenVK dynamic library
...
Tested with MoltenVK 0.18.0.
Related to #870 .
ago%!(EXTRA string=8 years)
Camilla Löwy
953106e74d
Add support for SDL_GameControllerDB
...
This adds support for importing and applying mappings from the
SDL_GameControllerDB database.
Related to #900 .
ago%!(EXTRA string=8 years)
Camilla Löwy
07bf2b166b
GLX: Fix segfault when no GLXFBConfigs available
...
Fixes #1040 .
ago%!(EXTRA string=8 years)
Camilla Löwy
be51c201dd
Cleanup
...
Related to #1039 .
ago%!(EXTRA string=8 years)
Camilla Löwy
58c05ba8ee
Fix library destination for DLL platforms
...
Fixes #1035 .
ago%!(EXTRA string=8 years)
Camilla Löwy
d2952e4e92
Cleanup
...
Related to #1005 .
ago%!(EXTRA string=8 years)
Camilla Löwy
2ca9a0979e
Add note on extra-cmake-modules dependency
...
The Wayland backend requires this package to generate headers from XML
protocol descriptions. Although this package was created by the KDE
project, it does not depend on any part of KDE.
Fixes #1013 .
[ci skip]
ago%!(EXTRA string=8 years)
Camilla Löwy
5bcf9c76fd
Linux: Fix path buffer length warning
...
Fixes #1025 .
ago%!(EXTRA string=8 years)
ryogo.yoshimura
4dee58d480
Cocoa: Fix conversion between NSPoint and CGPoint
...
GLFW still supports versions of macOS before these became the same
underlying type.
Closes #1023 .
ago%!(EXTRA string=8 years)
Camilla Löwy
f4ea29cd06
GLX: Add GLX_ARB_create_context_no_error support
ago%!(EXTRA string=8 years)
Camilla Löwy
52f7684487
WGL: Add WGL_ARB_create_context_no_error support
ago%!(EXTRA string=8 years)
Camilla Löwy
14a3fe0ac0
Make glfwGetError also provide description
...
Related to #970 .
ago%!(EXTRA string=8 years)
Camilla Löwy
186d03b32a
Cleanup
...
Related to #983 .
ago%!(EXTRA string=8 years)
Camilla Löwy
baa9cd8968
Cleanup
...
Closes #988 .
ago%!(EXTRA string=8 years)
Felipe Ferreira da Silva
412eb6a611
Add glfwRequestWindowAttention
...
Related to #988 .
ago%!(EXTRA string=8 years)
Camilla Löwy
731ff91acd
WGL: Add support for WGL_EXT_colorspace
ago%!(EXTRA string=8 years)
Camilla Löwy
6350641f0a
Add glfwGetError
...
Related to #970 .
If you have opinions on the design or implementation of this function,
please come join us in #970 before it is frozen for release.
ago%!(EXTRA string=8 years)
Camilla Löwy
66b16f1fc1
X11: Add validation of RandR gamma ramp size
ago%!(EXTRA string=8 years)
Camilla Löwy
2226e60944
Formatting
ago%!(EXTRA string=8 years)
Camilla Löwy
9f63a8abfa
Update changelog
...
Issue #682 was implicitly fixed by
77a8f103d8
.
Closes #682 .
ago%!(EXTRA string=8 years)
Camilla Löwy
4ff66a7818
X11: Fix IM-duplicated key events leaking through
...
Fixes #747 .
Fixes #964 .
ago%!(EXTRA string=8 years)
Camilla Löwy
5fe4dfb511
X11: Narrow criteria for disabling RandR
...
Fixes #972 .
ago%!(EXTRA string=8 years)
Camilla Löwy
55d0560746
Cocoa: Fix range handling for hats and buttons
...
Fixes #888 .
ago%!(EXTRA string=8 years)
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 .
ago%!(EXTRA string=8 years)
Camilla Löwy
27a8b3c17b
EGL: Add support for EGL_KHR_context_flush_control
ago%!(EXTRA string=8 years)
Camilla Löwy
3d8aa53573
Cocoa: Fix full screen window not being restorable
...
Once a full screen window was iconified, it would appear to restore but
then disappear.
Fixes #848 .
ago%!(EXTRA string=8 years)
Camilla Löwy
7c88c92778
Cocoa: Fix window rect on leaving video mode
...
Fixes #748 .
ago%!(EXTRA string=8 years)
Camilla Löwy
97dbd8b63b
Win32: Fix monitor event emission
...
Fixes #784 .
ago%!(EXTRA string=8 years)
Camilla Löwy
0df9cc2fc5
Win32: Improve monitor enumeration
...
This changes enumeration to add as a GLFW monitor any active adapter
without displays, even if other active adapters do have displays.
Related to #441 .
Fixes #960 .
ago%!(EXTRA string=8 years)
Camilla Löwy
798d7c6d68
Implement glfwGetJoystickHats
...
This moves the buttons-as-hats logic to shared code and adds the
GLFW_JOYSTICK_HAT_BUTTONS input mode as a way to disable this legacy
behavior.
Fixes #889 .
ago%!(EXTRA string=8 years)
Camilla Löwy
c50aba1335
Cocoa: Add support for MainMenu.nib loading
ago%!(EXTRA string=8 years)
Camilla Löwy
6d9a58bfef
Add glfwInitHint
...
This allows setting hints that control how the library is initialized,
transforming more compile-time options into run-time ones.
ago%!(EXTRA string=8 years)
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 .
ago%!(EXTRA string=8 years)
Camilla Löwy
c54b5da403
Win32: Fix Vulkan library paths for 1.0.42.0 SDK
...
Libraries have moved from Bin and Bin32 to Lib and Lib32.
Fixes #956 .
ago%!(EXTRA string=8 years)
Camilla Löwy
c745f434f5
Win32: Fix VULKAN_STATIC_LIBRARY not set on 32-bit
ago%!(EXTRA string=8 years)
Camilla Löwy
a570d0a129
X11: Use XI_RawMotion for disabled cursor motion
...
Related to #125 .
ago%!(EXTRA string=8 years)