Camilla Löwy
aaf2800c9c
Add internal TLS support
...
Related to #970 .
2017-03-19 00:52:46 +01:00
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 .
2017-03-06 03:23:29 +01:00
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.
2017-03-01 04:35:41 +01:00
Camilla Löwy
4928e2bf0a
Clarify undocumented platform errors
2017-02-26 20:09:46 +01:00
Camilla Löwy
2ba461e348
Formatting
2017-02-23 17:46:59 +01:00
Camilla Löwy
0c090a8c8b
Perform full termination on platform init failure
2017-02-08 06:53:04 +01:00
Camilla Löwy
926d2beddb
Move initialized flag into library struct
2017-02-08 06:53:04 +01:00
Camilla Löwy
48a795c101
Merge single-use function _glfwFreeMonitors
...
All other uses were elminiated by _glfwInputMonitor.
2017-01-10 15:01:55 +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
f4d0c83181
Paperwork done
2016-11-30 14:00:41 +01:00
Camilla Berglund
53fafad915
Start 3.3
2016-08-18 23:55:49 +02:00
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.
2016-08-01 20:49:22 +02:00
Camilla Berglund
614debd13f
Initialize Vulkan API on demand
2016-07-20 15:18:42 +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
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.
2016-03-06 11:51:23 +01:00
Camilla Berglund
2accdb76bd
Cleanup
2016-02-17 21:30:17 +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
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
226f85efcb
Key translation tables are now in _glfw.
2015-06-16 22:26:30 +02:00
Camilla Berglund
2fbd948a67
Fixed initialization failing on headless systems.
...
Fixes #482 .
2015-04-09 17:59:37 +02:00
Camilla Berglund
16e80258b8
Shrunk error message buffer.
...
This fixes a VC++ static analysis warning.
2015-04-07 22:19:57 +02:00
Camilla Berglund
bc219056a6
Removed superfluous comments.
2014-11-10 01:57:45 +01:00
Camilla Berglund
382133b384
Fixed test for no found monitors.
2014-11-06 02:11:52 +01:00
Camilla Berglund
626dbf6057
Added clearing of global struct on terminate.
2014-08-18 12:17:00 +02:00
Camilla Berglund
7653f3af49
Updated comments on global variables.
2014-06-10 15:04:32 +02:00
urraka
40c04a7565
Added support for custom system cursors.
...
This adds 3 functions to the GLFW API: glfwCreateCursor,
glfwDestroyCursor and glfwSetCursor.
2014-03-20 11:30:27 +01:00
Camilla Berglund
611006af18
Updated API version in comment headers.
2014-01-22 01:32:00 +01:00
Camilla Berglund
0548c713e8
Renamed monitor helper functions for clarity.
2014-01-21 15:23:11 +01:00
Camilla Berglund
83f57ff0ce
Fixed potential segfault on init.
2013-08-21 10:15:52 +02:00
Camilla Berglund
63a191eb8d
Added clearing of callbacks on terminate.
2013-07-30 17:06:06 +02:00
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
2013-07-30 14:46:52 +02:00
Camilla Berglund
f7282e86c0
Added pointer swap macro for callback setters.
2013-07-30 14:44:56 +02:00
Camilla Berglund
68b7ea86d2
Monitor enumeration fixes.
2013-06-09 13:10:21 +02:00
Camilla Berglund
5d308db654
New gamma ramp API.
2013-05-22 21:56:14 +02:00
Camilla Berglund
11a27de3d3
Added return by setters of previous callback.
2013-04-18 18:20:25 +02:00
Camilla Berglund
37a137559e
Monitor enumeration cleanup.
2013-04-18 15:30:34 +02:00
Camilla Berglund
57751a5494
Added initial NSScreen integration.
...
This (tentatively) fixes the bug of full screen windows on OS X always
opening on the primary monitor.
2013-04-17 23:11:04 +02:00
Camilla Berglund
8fe816d248
Removed GLFW_NO_ERROR.
...
As glfwGetError was removed (due to a race between glfwInit error
reporting and manual TLS setup on OS X), this token has no purpose.
2013-03-18 19:23:21 +01:00
Camilla Berglund
92a71e07d3
Made gamma ramp functions per-monitor.
2013-02-12 14:03:51 +01:00
Camilla Berglund
d97dddc8c4
Simplified function comment headers.
2013-02-11 19:43:22 +01:00
Camilla Berglund
3e78570a31
Removed duplicate documentation.
...
The public, platform, native, event and utility functions are already
documented in-source. Having duplicate documentation inevitably means
having them contradict one another. Furthermore, most of the function
descriptions simply repeated the name of the function.
2013-01-25 01:25:40 +01:00
Camilla Berglund
c3da8e417f
Merge branch 'master' of github.com:elmindreda/glfw
2013-01-06 19:59:51 +01:00
Matt Arsenault
6501a3007c
No monitors should call error callback
2013-01-06 12:37:56 -05:00
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
2013-01-05 21:13:28 +01:00
Camilla Berglund
3817771a40
Started adding documentation for internal APIs.
2013-01-02 03:42:20 +01:00
Camilla Berglund
b72a97d531
Renamed global struct and substructs.
...
Renamed _glfwLibrary to _glfw and made all substructs lower-case, making
global variable names easier to read and type. Partially inspired by the
internal naming conventions of glwt.
2013-01-02 01:44:57 +01:00
Camilla Berglund
835f00eb10
Merge branch 'master' into multi-monitor
...
Conflicts:
include/GL/glfw3.h
readme.html
src/fullscreen.c
src/internal.h
src/window.c
src/x11_fullscreen.c
2012-12-31 21:13:10 +01:00