Camilla Löwy
782e6b6cef
Make joystick platform code init on demand
...
This makes joystick support initialize the first time a joystick
function is called, including those gamepad functions that are layered
on top of joystick functions.
Related to #1284 .
Related to #1646 .
ago%!(EXTRA string=5 years)
Camilla Löwy
0dea8a4441
EGL: Add support for EGL_ANGLE_platform_angle
...
This adds basic support for selecting the platform type (rendering
backend) when running on ANGLE.
Related to #1380 .
ago%!(EXTRA string=5 years)
Camilla Löwy
9a87c2a4b4
Add feature available/implemented errors
...
This adds two new error codes: GLFW_FEATURE_UNAVAILABLE for when
a GLFW feature cannot be reasonably implemented on that platform, and
GLFW_FEATURE_UNIMPLEMENTED for when it can be but has not been yet.
This replaces the current situation where the Wayland code emitted
GLFW_PLATFORM_ERROR in both cases while the macOS code silently did
nothing.
If your application exits on any GLFW error, these error codes should at
least be easy to filter out from that behavior.
Ideally, GLFW_FEATURE_UNAVAILABLE should be rare and
GLFW_FEATURE_UNIMPLEMENTED should never be emitted at all.
Fixes #1692 .
ago%!(EXTRA string=5 years)
Camilla Löwy
7dbdd2e6a5
Add more standard cursors
...
This adds the standard cursors for diagonal and omnidirectional
resize/move and operation-not-allowed. It also adds new (better?) names
for the horizontal and vertical resize/move and pointing hand cursors.
References:
- https://developer.apple.com/documentation/appkit/nscursor
- https://stackoverflow.com/questions/10733228/
- https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setsystemcursor
- https://freedesktop.org/wiki/Specifications/cursor-spec/
- https://tronche.com/gui/x/xlib/appendix/b/
Related to #427 .
ago%!(EXTRA string=6 years)
Camilla Löwy
56aad76b16
Add C dialect reminders to each source file
...
Files built for Win32 must use C89 style declarations for compatibility
with VS 2010 and 2012, which are still supported by GLFW.
ago%!(EXTRA string=6 years)
Camilla Löwy
a337c56848
Start 3.4
ago%!(EXTRA string=6 years)
Camilla Löwy
ab118b2529
Fix copyright years (somewhat)
ago%!(EXTRA string=6 years)
Camilla Löwy
8c611fd5d0
Win32: Fix build on older versions of Visual C++
...
Older versions did not provide fmin or fmax. This adds internal
versions of fminf and fmaxf that should not be confused with
standards compliant implementations.
ago%!(EXTRA string=7 years)
Camilla Löwy
819a2205e5
Cleanup
ago%!(EXTRA string=7 years)
Camilla Löwy
973bf29622
Remove use of non-standard function strdup
...
Related to #873 .
ago%!(EXTRA string=8 years)
Camilla Löwy
bb3ab87a18
Remove unmaintained internal Doxygen docs
...
The useful bits have been transformed to function definition comments.
The style guide stub has been added to the regular docs build.
ago%!(EXTRA string=8 years)
Camilla Löwy
6158801aeb
Change glfwInitHintString to glfwWindowHintString
...
Fixes #1139 .
ago%!(EXTRA string=8 years)
Camilla Löwy
3169179de1
Fix string literal exceeding max length
...
Fixes #1145 .
ago%!(EXTRA string=8 years)
Kovid Goyal
68809869f9
Fix spurious error from glfwInitHintString
...
Closes #1138
ago%!(EXTRA string=8 years)
Camilla Löwy
71018b4ab5
Fix termination on mapping parse error
ago%!(EXTRA string=8 years)
Camilla Löwy
79e2433eb0
Fix termination on sync object creation failure
ago%!(EXTRA string=8 years)
Camilla Löwy
6d463d36fa
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
0c70eb8d5c
Unify error message buffer lengths
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
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
d5de48ab53
Report invalid constants in the appropriate base
...
If the expected constants are defined in hexadecimal in the header then
the error string should also use hexadecimal.
Idea by IntellectualKitty.
Related to #970 .
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
85c6168bba
Fix missing type cast
...
Thanks, Clang!
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
1982543cd2
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
aaf2800c9c
Add internal TLS support
...
Related to #970 .
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
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
4928e2bf0a
Clarify undocumented platform errors
ago%!(EXTRA string=8 years)
Camilla Löwy
2ba461e348
Formatting
ago%!(EXTRA string=8 years)
Camilla Löwy
0c090a8c8b
Perform full termination on platform init failure
ago%!(EXTRA string=8 years)
Camilla Löwy
926d2beddb
Move initialized flag into library struct
ago%!(EXTRA string=8 years)
Camilla Löwy
48a795c101
Merge single-use function _glfwFreeMonitors
...
All other uses were elminiated by _glfwInputMonitor.
ago%!(EXTRA string=9 years)
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.
ago%!(EXTRA string=9 years)
Camilla Löwy
f4d0c83181
Paperwork done
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
c844fea9df
Improve client API error messages
...
Add separate strings for each client API to make it easier to grep.
Remove 'client' from fallback error messages as API-related error tokens
are used for non-client APIs as well.
ago%!(EXTRA string=9 years)
Camilla Berglund
614debd13f
Initialize Vulkan API on demand
ago%!(EXTRA string=9 years)
Camilla Berglund
757eea2779
Update email address
ago%!(EXTRA string=9 years)
Camilla Berglund
6a8e169001
Update copyright notice year
ago%!(EXTRA string=9 years)
Camilla Berglund
31f67dd3cc
Add glfwGetTimerValue and glfwGetTimerFrequency
...
This adds raw timer access to the public API and builds the
floating-point time functions on top. It also makes the GLFWuint64 type
public.
ago%!(EXTRA string=9 years)
Camilla Berglund
2accdb76bd
Cleanup
ago%!(EXTRA string=9 years)
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.
ago%!(EXTRA string=9 years)
Camilla Berglund
496f559c9a
Add GLFW_NO_API for creating context-less windows
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
95a07f3340
Start 3.2
ago%!(EXTRA string=10 years)
Camilla Berglund
226f85efcb
Key translation tables are now in _glfw.
ago%!(EXTRA string=10 years)
Camilla Berglund
2fbd948a67
Fixed initialization failing on headless systems.
...
Fixes #482 .
ago%!(EXTRA string=10 years)
Camilla Berglund
16e80258b8
Shrunk error message buffer.
...
This fixes a VC++ static analysis warning.
ago%!(EXTRA string=10 years)
Camilla Berglund
bc219056a6
Removed superfluous comments.
ago%!(EXTRA string=11 years)