Camilla Berglund
1fd9428287
Merge branch 'master' into joystickname
...
Conflicts:
src/x11_joystick.c
2012-11-08 15:55:25 +01:00
Camilla Berglund
18d71c2b6d
Made window-related callbacks per-window.
...
This makes polymorphic behaviour easier to implement and avoids the problem of
events being triggered before the GLFW window object is fully usable.
2012-10-29 13:36:01 +01:00
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.
2012-10-22 03:20:16 +02:00
Camilla Berglund
bf43247aed
Fixed output of GLFW-parsed context profile by glfwinfo.
2012-10-21 22:13:14 +02:00
Camilla Berglund
2c6f4329a4
Updated iconification test to use callbacks.
2012-10-05 04:00:27 +02:00
Camilla Berglund
937f137246
Improved error formatting.
2012-09-30 15:51:46 +02:00
Camilla Berglund
38cad9aff0
Added client API window hint.
...
This is cherry-picked from the EGL branch in preparation for the EGL backend.
2012-09-30 15:32:50 +02:00
Camilla Berglund
7fa27f1e98
Fixed warnings on VC++.
2012-09-27 02:49:20 +02:00
Camilla Berglund
85cfc6bdd0
Merge branch 'master' into joystickname
...
Conflicts:
src/x11_joystick.c
2012-09-23 15:46:42 +02:00
Camilla Berglund
89018331f7
Fixed invalid uses of glfwDestroyWindow.
2012-09-13 17:29:07 +02:00
Camilla Berglund
d214bfdfde
Made defaults test window hidden.
2012-09-11 22:23:35 +02:00
Camilla Berglund
dcc3d67158
Merge branch 'showwindow'
2012-09-11 20:03:55 +02:00
Camilla Berglund
2b946289d8
Added direct dependency on librt for threads test on X11.
2012-09-09 01:31:23 +02:00
Camilla Berglund
9f94286c9a
Merge branch 'master' into showwindow
...
Conflicts:
readme.html
2012-09-08 21:20:45 +02:00
Camilla Berglund
93a1d1c226
Added stubs, implemented on Linux and Cocoa.
2012-09-07 01:01:34 +02:00
Camilla Berglund
8a948753df
Added printing of debug context window parameter.
2012-09-06 23:55:23 +02:00
Camilla Berglund
a3502a7f00
Merge branch 'tls' of github.com:elmindreda/glfw into tls
2012-09-06 15:41:47 +02:00
Camilla Berglund
5e23620c7f
Merge branch 'master' into tls
...
Conflicts:
src/x11_window.c
2012-09-06 15:40:18 +02:00
Camilla Berglund
9a183090e0
Merge branch 'master' into showwindow
...
Conflicts:
src/window.c
2012-09-06 15:11:50 +02:00
Camilla Berglund
733cd5372f
Fixed and separated GLFW version check.
2012-08-30 02:17:08 +02:00
Camilla Berglund
2502e4d6f3
Renamed glfwGetJoystickPos to glfwGetJoystickAxes.
2012-08-29 18:58:16 +02:00
Camilla Berglund
f50d38f148
Moved glfwinfo version check to before glfwInit.
2012-08-28 22:56:35 +02:00
Camilla Berglund
f5bfe41456
Moved GLFW_VISIBLE hint use to glfwinfo.
2012-08-28 17:52:22 +02:00
Camilla Berglund
035a8f4a49
Merge branch 'master' into tls
...
Conflicts:
src/x11_window.c
2012-08-26 21:56:55 +02:00
Camilla Berglund
b665903e14
Added testing of glfwShowWindow and GLFW_VISIBLE.
2012-08-21 21:19:33 +02:00
Camilla Berglund
06700e62bf
Don't call OpenGL functions until there's a context.
2012-08-19 02:21:47 +02:00
Camilla Berglund
12e00876d7
Formatting.
2012-08-15 20:26:09 +02:00
Camilla Berglund
2e789e17e6
Made threads test a GUI program.
2012-08-13 19:52:49 +02:00
Camilla Berglund
86bcfb3e4e
Added multiple windows to threads test.
2012-08-13 19:37:39 +02:00
Camilla Berglund
c594bb4689
Made loop boolean volatile.
2012-08-12 22:36:10 +02:00
Camilla Berglund
c9896a2f75
Merge branch 'master' into tls
2012-08-12 16:47:40 +02:00
Camilla Berglund
8699399103
Merge branch 'master' of github.com:elmindreda/glfw
2012-08-12 16:45:27 +02:00
Camilla Berglund
4057885ac3
Decreased nesting in threads test.
2012-08-12 16:32:54 +02:00
Camilla Berglund
ac3a5e28c9
Made the leap to glfwWaitEvents.
2012-08-12 16:24:37 +02:00
Camilla Berglund
98c1c2fbf2
Added threading support to CMake files.
2012-08-12 16:18:59 +02:00
Camilla Berglund
cd37da470f
Merge branch 'master' into tls
2012-08-12 15:35:06 +02:00
Camilla Berglund
06b5d0f665
Formatting.
2012-08-12 15:32:06 +02:00
Camilla Berglund
129598eb51
Merge branch 'master' of github.com:elmindreda/glfw
2012-08-12 15:31:34 +02:00
Camilla Berglund
7bdadcb671
Replaced inline defines with glext.
2012-08-12 15:31:15 +02:00
Camilla Berglund
5b95715bb1
Added simple silly stupid test.
2012-08-12 15:24:55 +02:00
Lambert Clara
c2729181a2
Fix various warnings reported by gcc
...
Shadowed variables, const warnings
2012-08-12 14:02:38 +02:00
Camilla Berglund
3162f290a6
Fixed float constant type mismatches.
2012-08-12 13:37:12 +02:00
Camilla Berglund
d8ccf5d272
Formatting.
2012-08-12 13:36:52 +02:00
Camilla Löwy Berglund
c8c36f6ec0
Merge pull request #16 from belkiss/master
...
Replaced snprintf with sprintf due to MSVC.
2012-08-12 03:48:19 -07:00
Camilla Berglund
5bbac6fe69
Moved Free Getopt files to support directory.
2012-08-12 12:44:23 +02:00
Lambert Clara
704e56fc81
Fix compilation with MSVC by using sprintf instead of snprintf
...
snprintf is part of c99 standard, not supported by MS compilers
2012-08-12 12:29:55 +02:00
Camilla Berglund
2f095cc9e3
Removed implicit glfwMakeCurrentContext.
...
Implicitly making the context current makes sense in a
single-window API but less sense in a multi-window one.
2012-08-10 15:29:45 +02:00
Camilla Berglund
2410e2aaf4
Replaced automatic closing with window parameter.
2012-08-10 13:31:15 +02:00
Camilla Berglund
ddcf5d471e
Removed mirroring of default framebuffer attribs.
2012-08-10 13:28:58 +02:00
Camilla Berglund
3216661da7
Removed ill-advised use of glfwGetCurrentContext.
2012-08-07 21:40:40 +02:00