Camilla Berglund
68b7ea86d2
Monitor enumeration fixes.
ago%!(EXTRA string=12 years)
Camilla Berglund
5d308db654
New gamma ramp API.
ago%!(EXTRA string=12 years)
Camilla Berglund
11a27de3d3
Added return by setters of previous callback.
ago%!(EXTRA string=12 years)
Camilla Berglund
37a137559e
Monitor enumeration cleanup.
ago%!(EXTRA string=12 years)
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.
ago%!(EXTRA string=12 years)
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.
ago%!(EXTRA string=12 years)
Camilla Berglund
92a71e07d3
Made gamma ramp functions per-monitor.
ago%!(EXTRA string=12 years)
Camilla Berglund
d97dddc8c4
Simplified function comment headers.
ago%!(EXTRA string=12 years)
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.
ago%!(EXTRA string=13 years)
Matt Arsenault
6501a3007c
No monitors should call error callback
ago%!(EXTRA string=13 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=13 years)
Camilla Berglund
3817771a40
Started adding documentation for internal APIs.
ago%!(EXTRA string=13 years)
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.
ago%!(EXTRA string=13 years)
Camilla Berglund
1790194828
Renamed _glfwInputError and moved to event API.
ago%!(EXTRA string=13 years)
Camilla Berglund
9cc8fc0d0a
Removed glfwGetError and glfwErrorString.
...
The cached error code cannot be made per-thread unless it required
glfwInit (due to lack of __thread on OS X), which would be confusing and
partially defeats the purpose of it.
Beginners would use the generic error string facility instead of the
error callback and then be confused by its nondescript messages.
Storing the provided error code from within the error callback, whether
globally or per-thread, requires just a few lines of code and hands
control to the user without compromising thread safety.
ago%!(EXTRA string=13 years)
Camilla Berglund
9af61d06cf
Removed return value of _glfwPlatformTerminate.
ago%!(EXTRA string=13 years)
Camilla Berglund
06c191feea
Updated error codes to better reflect multi-API support.
ago%!(EXTRA string=13 years)
Camilla Berglund
998cb5144e
Made glfwSetCursorPos fail silently if lacking focus.
ago%!(EXTRA string=13 years)
Camilla Berglund
14355d692f
Fixed active/focused nomenclature mixing.
ago%!(EXTRA string=13 years)
Camilla Berglund
d68acb78bf
Removed registering glfwTerminate with atexit.
...
Functions registered with atexit are called from the thread calling exit.
glfwTerminate should only be called from the main thread. Mistakes should be
explicit.
ago%!(EXTRA string=13 years)
Camilla Berglund
5df4df6ca4
Added glfwDefaultWindowHints.
ago%!(EXTRA string=13 years)
Camilla Berglund
830f2b439c
Cleanup.
ago%!(EXTRA string=13 years)
Camilla Berglund
aaaac00aa5
Comment fixes.
ago%!(EXTRA string=13 years)
Camilla Berglund
bd5ff15769
Moved error handling to init module.
ago%!(EXTRA string=13 years)
Camilla Berglund
85ca7ee184
Shortened comment.
ago%!(EXTRA string=13 years)
Camilla Berglund
5d52ad1548
Replaced GLFWGLOBAL and _init_c_ with extern.
ago%!(EXTRA string=13 years)
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
ago%!(EXTRA string=13 years)
Camilla Berglund
871e1a70d7
Made video mode retrieval dynamic.
ago%!(EXTRA string=13 years)
Camilla Berglund
0c3b1b5a0e
Removed allocator.
ago%!(EXTRA string=14 years)
Camilla Berglund
b997db3a8b
Removed GLFWthreadmodel and glfwInitWithModels.
ago%!(EXTRA string=14 years)
Camilla Berglund
0f481cb09d
Renamed window hint reset function for clarity.
ago%!(EXTRA string=14 years)
Camilla Berglund
3d82683177
Removed indirection made superfluous by introduction of cdecl.
ago%!(EXTRA string=14 years)
Camilla Berglund
ccbb956341
Added pluggable memory allocator and threading stub.
ago%!(EXTRA string=14 years)
Camilla Berglund
6e553c7376
Purged references to GLFW as a framework.
ago%!(EXTRA string=14 years)
Camilla Berglund
03f20ef736
Added back mistakenly removed init time window hint clearing.
ago%!(EXTRA string=15 years)
Camilla Berglund
3c85eef0bf
Moved atexit call to shared code.
ago%!(EXTRA string=15 years)
Camilla Berglund
d7670cf906
Moved glfwTerminate window closing to shared code.
ago%!(EXTRA string=15 years)
Camilla Berglund
0ba1cf9c59
Removed superfluous nonsense, added platform terminate call on failed platform init.
ago%!(EXTRA string=15 years)
Camilla Berglund
86c6023daa
Removed superfluous nonsense.
ago%!(EXTRA string=15 years)
Camilla Berglund
d6fe447ca9
Added glfwGetVersionString.
ago%!(EXTRA string=15 years)
Camilla Berglund
1723c4af07
Function comment header cleanup.
ago%!(EXTRA string=15 years)
Camilla Berglund
445bf1ea33
Renamed lib directory to src.
ago%!(EXTRA string=15 years)
Camilla Berglund
135194a960
Initial pass for multi-window support.
ago%!(EXTRA string=15 years)
Camilla Berglund
cdfbbaf78b
Made system header inclusion more conservative.
ago%!(EXTRA string=15 years)
Camilla Berglund
a4d888c2f5
Formatting pass (no code changes).
ago%!(EXTRA string=15 years)
Camilla Berglund
9e4137c0a9
Formatting pass (no code changes).
ago%!(EXTRA string=15 years)
Camilla Berglund
105e927b84
Shallow formatting pass (no code changes).
ago%!(EXTRA string=15 years)
Camilla Berglund
38b0ccb9b3
Updated API version.
ago%!(EXTRA string=15 years)
Camilla Berglund
3249f812d6
Initial import of 2.7 Lite.
ago%!(EXTRA string=15 years)