Commit Graph

292 Commits

Author SHA1 Message Date
Camilla Berglund
f5b71f5329 Add error section to glfwMaximizeWindow reference 2016-06-01 20:34:21 +02:00
Camilla Berglund
20ac3d321f Remove caveat for fixed bug 2016-05-31 21:22:40 +02:00
Camilla Berglund
20bce151c1 Documentation work 2016-05-30 17:00:21 +02:00
Camilla Berglund
325729d0f6 Documentation work 2016-05-22 14:25:04 +02:00
Camilla Berglund
ef80beab81 Add run-time context creation API selection
Fixes #145.
2016-05-04 17:00:07 +02:00
Camilla Berglund
12a695696d Add validation of size limit and aspect ratio args 2016-05-04 16:34:52 +02:00
Emmanuel Gil Peyrot
f0f5d9f644 wayland: Implement size limits and aspect ratio 2016-05-02 21:47:00 +02:00
Camilla Berglund
8a7fa306ce Add glfwSetJoystickCallback 2016-03-31 12:12:09 +02:00
Camilla Berglund
7ab7d8b4b1 Make use of uint32_t where appropriate
This change does not affect the ABI.
2016-03-28 12:34:57 +02:00
Camilla Berglund
5661d03be8 Replace GLFWuint64 with uint64_t
C99 stdint.h is provided by VS 2010 and later.  GLFW has not provided
testing or binaries for VS 2008 for several releases.

For earlier versions of VS there are third-party alternatives:

https://msinttypes.googlecode.com/svn/trunk/stdint.h
http://www.azillionmonkeys.com/qed/pstdint.h

This change does not affect the ABI.
2016-03-28 12:34:44 +02:00
Camilla Berglund
6570d0c4b7 Add glfwSetWindowMonitor
This adds the ability to switch between windowed and full screen modes,
move a full screen window between monitors and update its desired
resolution and refresh rate.

Fixes #43.
2016-03-18 11:13:24 +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
ee33dcdf33 Fix speling
[ci skip]
2016-03-07 14:43:10 +01:00
Camilla Berglund
defaea3496 Documentation work 2016-03-07 13:36:54 +01:00
Camilla Berglund
46fce40fd5 Fix error lists for raw timer functions 2016-03-07 13:35:37 +01:00
Camilla Berglund
5620895e88 Add glfwWaitEventsTimeout
This function will put the calling thread to sleep until an event
arrives or until the specified timeout has elapsed.
2016-03-06 17:28:40 +01:00
Camilla Berglund
337c77a39b Documentation work 2016-03-06 14:11:14 +01:00
Camilla Berglund
487557b343 Relax thread constraints for glfwSetTime 2016-03-06 11:51:32 +01: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
8221aadea3 Include stddef.h unconditionally in public header 2016-03-06 09:40:16 +01:00
Camilla Berglund
baf574494d Add glfwFocusWindow
This removes the (undocumented) behavior where glfwShowWindow would
bring the window to front and set input focus.  That function now
does what it says.
2016-02-25 21:37:40 +01:00
Camilla Berglund
db49aa6bd9 Cleanup 2016-02-22 13:16:43 +01:00
Camilla Berglund
70ffae7430 Documentation work 2016-02-22 11:59:40 +01:00
Camilla Berglund
7669ade19c Make instance extension count unsigned
Fixes #714.
2016-02-22 10:44:43 +01:00
Camilla Berglund
a10caa4631 Add glfwMaximizeWindow and GLFW_MAXIMIZED
Fixes #266.
2016-02-21 15:32:26 +01:00
Camilla Berglund
80c203f3bb Separate guide and reference documentation tags 2016-02-19 10:38:30 +01:00
Camilla Berglund
001c50cfc6 Add paragraphs on GL helpers not being for Vulkan 2016-02-19 09:19:17 +01:00
Camilla Berglund
95c44ab298 Fix cursor coordinate phrasing
Fixes #387.
2016-02-17 15:06:56 +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
386b60396f Documentation work
[ci skip]
2016-02-10 13:48:49 +01:00
Camilla Berglund
d6e0a4390c Documentation work 2016-02-09 07:41:48 +01:00
Camilla Berglund
ca21a5c7b4 Correct GLES3 extension header paths 2016-02-09 07:25:16 +01:00
Camilla Berglund
f51cf81148 Add error sections to reference docs
[ci skip]
2016-02-05 03:47:17 +01:00
Camilla Berglund
832c2ffa3b History work 2016-01-31 22:36:34 +01:00
Camilla Berglund
951a9583fa Add Doxygen aliases for custom paragraphs 2016-01-31 22:35:37 +01:00
Camilla Berglund
276b1bc07a Add check for EGL specific buffer swap issue
Fixes #675.
2016-01-31 19:17:21 +01:00
Camilla Berglund
d0649e6868 Fix confusing legacy parameter names 2016-01-27 03:26:32 +01:00
Camilla Berglund
810bab7391 Add history to public types 2015-12-15 22:37:22 +01:00
Camilla Berglund
0df4e06f11 Make more RFC 2119 compliant use of may 2015-12-13 14:49:01 +01:00
Camilla Berglund
994d8ae54d Relax native access header constraints 2015-11-10 15:11:32 +01:00
Camilla Berglund
e046d0696b Add glfwGetGLXWindow 2015-11-09 23:52:03 +01:00
Camilla Berglund
9c315412e1 Add glfwGetKeyName
Fixes #464.
2015-11-09 14:46:09 +01:00
Camilla Berglund
a36e3a2033 Fix documentation formatting error 2015-11-05 17:14:26 +01:00
Camilla Berglund
bce20c3280 Add links to GLFWglproc reference 2015-11-05 13:58:52 +01:00
Camilla Berglund
98b478fec1 Add more GLFW_NO_API documentation 2015-11-05 13:52:04 +01:00
Camilla Berglund
9d71eb46b8 Add guide section links to type reference 2015-11-05 09:24:16 +01:00
Camilla Berglund
7be8209d14 Add GLFW_CONTEXT_NO_ERROR window hint
This adds support for the GL_KHR_no_error extension.
2015-10-27 20:36:20 +01:00
Camilla Berglund
496f559c9a Add GLFW_NO_API for creating context-less windows 2015-10-26 00:30:30 +01:00
Camilla Berglund
d95b77ebec Fix monitor notifications on X11
Fixes #288.
2015-10-24 23:25:20 +02:00
Camilla Berglund
318e8acfae Header file documentation work 2015-10-24 21:18:52 +02:00
Camilla Berglund
af5b82acf5 Documentation work 2015-10-19 16:01:42 +02:00
Camilla Berglund
d84772d620 Add size limits and aspect ratio functions
Fixes #555.
2015-10-18 17:18:29 +02:00
Camilla Berglund
a407a673dd Add native Wayland and Mir functions
Fixes #419.
2015-10-15 01:48:44 +02: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
e163d21f23 Remove stale remark 2015-10-10 22:16:27 +02:00
Camilla Berglund
f5cbdbab4f Clarify monitor reference documentation
Related to #594.
2015-09-17 16:37:21 +02:00
Camilla Berglund
cf9079c783 Fix documentation typo 2015-09-16 18:51:49 +02:00
Camilla Berglund
0b65053ffd Clarify documentation of glfwGetClipboardString
The reference documentation for glfwGetClipboardString did not link to
GLFW_FORMAT_UNAVAILABLE.

Fixes #605.
2015-09-16 18:25:56 +02:00
Camilla Berglund
40da56fbf7 Fix grammar 2015-09-09 12:28:03 +02:00
Camilla Berglund
c8e068712b Fix glfwGetProcAddress documentation 2015-09-08 21:43:05 +02:00
Camilla Berglund
85a01bfd9b Document image data being non-premultiplied
Fixes #426.
2015-08-17 21:09:59 +02:00
Camilla Berglund
20ed0a15a4 Clarify documentation re X11 asynchronicity
Related to #575.
2015-08-12 21:31:54 +02:00
Camilla Berglund
d12b34388d Added reference to CMake Info.plist template. 2015-07-21 17:42:01 +02:00
Jay Weisskopf
c599ea0737 Fix typo: "is" changed to "are"
Fixes #512.
2015-05-13 00:18:12 +02:00
Camilla Berglund
6412dcb896 Added note on delayed OS X window title updating.
Fixes #495.
2015-04-07 22:19:57 +02:00
Camilla Berglund
e8bceaa284 Documentation work. 2015-04-07 22:19:55 +02:00
Camilla Berglund
59abeeb097 Added window attribute remarks.
Fixes #485.
Related to #476.
2015-04-07 22:19:55 +02:00
Camilla Berglund
d95b79f9eb Documentation grammar fix. 2015-04-07 22:19:54 +02:00
Camilla Berglund
5268914b3f Started 3.1.2. 2015-03-20 00:16:24 +01:00
Camilla Berglund
821f3e674a Enabled High DPI support with custom Info.plist.
Fixes #422.
2015-03-17 16:54:59 +01:00
Camilla Berglund
8f08661d9e Header option macro fixes and documentation work.
This adds compile-time checks and documentation warning about defining
header option macros during compilation of GLFW.

Fixes #445.
2015-03-17 16:39:09 +01:00
Camilla Berglund
d493a82f9e Various error fixes.
Fixed incorrect error types.  Added missing error string prefixes.
Removed some invalid or superfluous error emissions.  Clarified some
error strings.  Joined error string lines to aid grep.  Replaced some
generic error strings with specific ones.  Documentation work.

Fixes #450.
2015-03-15 15:52:27 +01:00
Camilla Berglund
5bbc2b4949 Added and documented glfwSetGamma value checks. 2015-03-15 15:47:39 +01:00
Camilla Berglund
76fff4d042 Documented Windows gamma ramp size limit. 2015-03-15 15:47:39 +01:00
Camilla Berglund
6e20cda7fd Fixed test for invalid timer values.
Fixes #436 (properly).
2015-03-15 15:47:39 +01:00
Camilla Berglund
8d910d7950 Public header comment cleanup. 2015-02-22 19:22:48 +01:00
Camilla Berglund
e8ce4ab8e8 Enable _WIN32 on detection of MinGW, not Cygwin. 2015-02-22 19:22:48 +01:00
Camilla Berglund
d586fe6737 Removed stale NT arch hacks. 2015-02-22 19:22:48 +01:00
Camilla Berglund
c5353646b6 MinGW also supports __declspec(dllimport). 2015-02-22 19:22:48 +01:00
Camilla Berglund
1247fc030f Removed support for LCC. 2015-02-22 19:22:48 +01:00
Camilla Berglund
a8bc2af649 Removed support for Borland C++. 2015-02-22 19:22:48 +01:00
Camilla Berglund
85de0db05d Fixed glfwSetTime accepting invalid values.
Fixes #436.
2015-02-22 19:22:33 +01:00
Camilla Berglund
11c22d6a17 Context function reference fixes. 2015-02-19 15:33:51 +01:00
Camilla Berglund
93855ae6ab Fixed name of path drop list. 2015-02-16 15:40:08 +01:00
Camilla Berglund
ead8a1c333 Started 3.1.1. 2015-01-25 10:42:01 +01:00
Camilla Berglund
4188c263e3 Documentation work. 2015-01-18 17:30:10 +01:00
Camilla Berglund
ce8f97c23c Documentation work.
Fixes #212.
Fixes #420.
2015-01-16 01:34:12 +01:00
Camilla Berglund
1591caa0e5 Formatting. 2015-01-08 06:56:17 +01:00
Camilla Berglund
bb3dd31dd7 Documentation work. 2015-01-06 00:02:43 +01:00
Camilla Berglund
138feb8be6 Documentation work. 2015-01-05 18:01:24 +01:00
Camilla Berglund
2085876da6 Documentation work. 2015-01-05 16:17:50 +01:00
Camilla Berglund
d459145d28 Made glfwGetCursorPos query system directly.
Fixes #103.
Fixes #153.
Fixes #193.
Fixes #355.
Fixes #381.
2015-01-04 16:54:19 +01:00
Camilla Berglund
b19fb4c24d Added caveat for context sharing on Windows.
WGL prohibits sharing with contexts current on non-main threads.

Fixes #402.
2014-12-27 22:47:07 +01:00
Camilla Berglund
b2030f6d73 Fixed X11 character input for C locale.
Fixes #396.
2014-12-18 03:24:38 +01:00
Camilla Berglund
44372b89f6 Documentation work. 2014-12-18 02:53:14 +01:00
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.
2014-12-15 21:58:44 +01:00
Camilla Berglund
49ec306a0a Added glfwGet*Adapter to native API. 2014-10-29 02:55:02 +01:00
Camilla Berglund
b140606a49 Added GLFW_INCLUDE_GLEXT for glext.h inclusion.
Closes #365.
2014-10-13 23:57:21 +02:00
Camilla Berglund
2d13eb0920 Documentation work. 2014-10-13 17:23:05 +02:00
Camilla Berglund
3afa831e28 Updated comments for DLL macros. 2014-10-13 15:48:40 +02:00
Camilla Berglund
96d230becb Documentation work. 2014-10-07 12:24:31 +02:00
Camilla Berglund
6be821c18b Documentation work. 2014-10-06 23:18:33 +02:00
Camilla Berglund
95654cfada Documentation work. 2014-10-06 15:01:58 +02:00
Camilla Berglund
4591ad2d64 Documentation work. 2014-09-22 11:08:33 +02:00
Camilla Berglund
e57b8212ce Removed duplicate words in documentation. 2014-09-17 15:19:56 +02:00
Camilla Berglund
58c390991c Made glfwGetX11Monitor return output, not CRTC. 2014-09-17 12:45:51 +02:00
Camilla Berglund
99cedceef5 Expose display device name as UTF-8.
This makes interaction with libOVR simpler, as it provides the display
device name in the same encoding.
2014-09-16 18:28:08 +02:00
Camilla Berglund
1b6d8a6ed6 Enabled enumeration of mirroring displays.
This exposes all monitors in every mirroring group, which is needed for
robust detection of an Oculus Rift.
2014-09-16 18:27:33 +02:00
Camilla Berglund
8d170c7f47 Merged clipboard code into input. 2014-09-09 16:36:41 +02:00
Camilla Berglund
2eb5ed33be Documented X11 cursor positioning caveat.
Closes #129.
2014-08-31 13:10:32 +02:00
Camilla Berglund
44c899ce70 Added support for GL_KHR_context_flush_control. 2014-08-21 19:29:04 +02:00
Camilla Berglund
9ccb966a3a Added APIENTRY hack to native header. 2014-08-21 19:29:04 +02:00
Camilla Berglund
036da0fb4e Added RandR header inclusion to native header.
Fixes #222.
2014-07-28 21:19:50 +02:00
Camilla Berglund
70fd348432 Fixed API version in header files. 2014-07-08 13:44:34 +02:00
Camilla Berglund
96b12ee504 Added character with modifiers callback.
The undefined behaviour changed with #40 has been reverted, making the
character-only callback again behave like a system text field.  This
behavior has now been documentated.

Fixes #203.
Fixes #305.
2014-06-24 10:50:05 +02:00
Camilla Berglund
e8e05d462c Documentation work.
Fixes #276.
2014-06-19 11:38:22 +02:00
Camilla Berglund
3ce7bfef07 Added GLFW_FLOATING.
Fixes #23.
2014-06-18 16:39:39 +02:00
Camilla Berglund
c9808586b3 Added GLFW_DOUBLEBUFFER. 2014-06-18 16:36:53 +02:00
Camilla Berglund
281013002d Added GLFW_DONT_CARE.
This changes the behavior of framebuffer hints set to zero.  Before,
zero meant that any value was acceptable.  This changes zero to be an
explicit preference and adds GLFW_DONT_CARE to mean that any value is
equally acceptable.

Fixes #70.
2014-06-18 16:36:22 +02:00
Camilla Berglund
25e7ff1196 Added GLFW_AUTO_ICONIFY.
By default, full screen windows that lose focus will be iconified and
the video mode will be restored.  This makes it impossible to create
applications spanning multiple monitors.  The GLFW_AUTO_ICONIFY window
hint will allow users to disable this behavior.

Fixes #143.
2014-06-18 16:33:58 +02:00
Camilla Berglund
20b7ac0518 Formatting. 2014-06-12 22:08:37 +02:00
Camilla Berglund
eaff0f73d1 Documentation fix. 2014-04-07 16:28:11 +02:00
Camilla Berglund
8061bb54fe Formatting. 2014-03-30 17:13:41 +02:00
Camilla Berglund
eb3f75e03e Added glfwGetWindowFrameSize. 2014-03-30 10:57:32 +02:00
Camilla Berglund
5c8121e7a8 Clarified language for file drop callback. 2014-03-29 21:35:21 +01:00
Camilla Berglund
0e20577af4 Confined remaining functions to main thread. 2014-03-24 12:17:13 +01:00
Camilla Berglund
a9c7377e0a Clarified thread safety statement. 2014-03-24 11:40:44 +01:00
Camilla Berglund
8fa9cc0de3 Added GLFWimage struct. 2014-03-20 11:30:27 +01: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
7ebd10a868 Added GLFW_INCLUDE_ES31.
Fixes #255.
2014-03-19 23:02:47 +01:00
Camilla Berglund
1ccc23268c Added glfwPostEmptyEvent. 2014-03-09 17:55:55 +01:00
David Avedissian
128e678815 Fixed missing include in glfw3native.h for Cocoa.
Fixes #240.
2014-02-13 13:30:15 +01:00
Camilla Berglund
611006af18 Updated API version in comment headers. 2014-01-22 01:32:00 +01:00
Camilla Berglund
d73e15d08f Added mention of encoding to GLFWdropfun. 2014-01-21 20:59:54 +01:00
Camilla Berglund
8f349e84ae Cleaned up drop callback design. 2014-01-21 18:23:25 +01:00
arturo
89d0723ba3 Initial drag and drop support. 2014-01-21 15:25:49 +01:00
Camilla Berglund
75f916db44 Formatting. 2014-01-13 23:27:11 +01:00
Camilla Berglund
16eb97dbc3 Added native monitor handle access to native API. 2014-01-13 23:05:01 +01:00
Camilla Berglund
7e806a8567 Started 3.1. 2014-01-01 15:29:57 +01:00
Camilla Berglund
a18b187494 Expanded cursor mode descriptions. 2013-12-05 03:27:12 +01:00
Camilla Berglund
2ae46fa90a Added notes on window refresh. 2013-12-04 19:14:33 +01:00
Camilla Berglund
2db0401a57 Removed excuse. 2013-11-20 15:08:53 +01:00
Camilla Berglund
f18aef4aec Removed fixed @bug. 2013-11-03 14:17:03 +01:00
Camilla Berglund
b9fb45f408 Documentation updates. 2013-10-27 11:03:47 +01:00
Camilla Berglund
2c920fbb8b Clarified character callback parameter. 2013-10-10 19:41:56 +02:00
Camilla Berglund
6d9d85670f Clarified unit of cursor positions. 2013-09-28 22:12:50 +02:00
Camilla Berglund
521fa7d005 Added crossrefs for window and fb size. 2013-09-26 20:02:19 +02:00
Camilla Berglund
07db5daa61 Added note on GDI software OpenGL. 2013-09-26 19:15:45 +02:00
Camilla Berglund
59422ec980 Started 3.0.4. 2013-09-24 21:36:11 +02:00