1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00
Commit Graph

386 Commits

Author SHA1 Message Date
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
Camilla Berglund d4e1f98394 Added output of initial window size. 2012-08-07 13:01:19 +02:00
Camilla Berglund 8ed66ea4d5 Removed calling of callbacks from setters. 2012-08-07 12:45:55 +02:00
Camilla Berglund 585a840329 Added window parameter to glfwSwapBuffers. 2012-08-06 18:13:37 +02:00
Camilla Berglund aff30d0baa Renamed window creation/destruction functions.
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
2012-08-06 17:59:34 +02:00
Camilla Berglund 13ff3eeca9 Test program swap interval toggling work. 2012-08-03 19:54:07 +02:00
Camilla Berglund 2972cdfeb1 Removed glfwIsWindow. 2012-08-03 16:20:52 +02:00
Camilla Berglund 854e634fec Merge branch 'master' into multi-monitor
Conflicts:
	include/GL/glfw3.h
	src/CMakeLists.txt
	src/fullscreen.c
	src/internal.h
	src/win32_fullscreen.c
	src/win32_platform.h
	src/x11_fullscreen.c
	tests/modes.c
2012-08-03 02:57:33 +02:00
Camilla Berglund 88fd170e64 Fixed type errors in modes test. 2012-08-02 18:22:11 +02:00
Camilla Berglund 871e1a70d7 Made video mode retrieval dynamic. 2012-08-02 18:03:43 +02:00
Camilla Berglund c047bd2efe Merge branch 'master' of github.com:elmindreda/glfw 2012-08-02 01:42:26 +02:00
Camilla Berglund 3a72f33541 Removed GLFW_ACCELERATED window parameter. 2012-08-02 01:13:05 +02:00
Camilla Berglund d1617bdd78 Made flag parsing output even more consistent. 2012-08-01 01:46:06 +02:00
Camilla Berglund b00064902d Made flag parsing output more consistent. 2012-07-31 23:51:27 +02:00
Camilla Berglund 6c86149bad Improved output of OpenGL bitmasks. 2012-07-31 23:14:31 +02:00
Camilla Berglund bd630c4e83 Added missing newline. 2012-07-11 00:33:32 +02:00
Camilla Berglund 247ee76b5c Added monitor physical dimensions to output. 2012-07-06 14:08:01 +02:00
Camilla Berglund c06f838d88 Merge branch 'master' into multi-monitor
Conflicts:
	.gitignore
	examples/CMakeLists.txt
	include/GL/glfw3.h
	src/CMakeLists.txt
	src/internal.h
	src/win32_platform.h
	src/win32_window.c
	src/x11_fullscreen.c
	src/x11_platform.h
	tests/listmodes.c
2012-07-05 16:15:01 +02:00
Camilla Berglund cef9dea1d2 Unified nomenclature for cursor positions. 2012-06-22 13:57:25 +02:00
Camilla Berglund 9cc0abffc5 Rewrote joystick test. 2012-06-06 02:04:15 +02:00
Camilla Berglund 2213450840 Renamed GLFW_NO_GLU to GLFW_INCLUDE_GLU. 2012-06-05 23:55:10 +02:00
Camilla Berglund 6059523b6d Simplified mode printing. 2012-05-07 01:30:55 +02:00
Camilla Berglund 5527e52f58 Added hilighting of desktop mode. 2012-05-07 01:13:07 +02:00
Camilla Berglund d109d8a6d2 Restructured modes test for better encapsulation. 2012-05-07 01:12:08 +02:00
Camilla Berglund eeed6394c0 Added abort via escape key. 2012-05-07 00:44:39 +02:00
Camilla Berglund e55b5fc27c Removed listmodes test. 2012-05-07 00:34:40 +02:00
Camilla Berglund 93c3d52716 Formatting. 2012-05-07 00:33:21 +02:00
Camilla Berglund dd1a46af43 Added header to more closely match output of older test. 2012-05-07 00:32:03 +02:00
Camilla Berglund 3d5a574e3b Made listing the default for modes test. 2012-05-07 00:29:36 +02:00
Lambert Clara 7a5c2d5f75 Fix clang warning : self-comparison always evaluates to false 2012-04-21 11:47:58 +02:00
Camilla Berglund 141b56afc0 Added libm as direct dependency for tests and examples. 2012-04-19 16:57:44 +02:00
Camilla Berglund 351f2b2664 Fixed build setup for clipboard test. 2012-04-13 12:57:04 +02:00
Camilla Berglund f8a726371e Fixed test description. 2012-04-12 18:42:56 +02:00
Camilla Berglund 9ace27f97b Updated clipboard test. 2012-04-12 17:28:58 +02:00
Camilla Berglund f868712f02 Simplified clipboard API. 2012-04-12 00:51:58 +02:00
Camilla Berglund 67a3f5dc8f Added error callback. 2012-04-09 17:41:17 +02:00
Camilla Berglund bf1ada029b Added window parameter to clipboard API. 2012-04-09 16:00:54 +02:00
Camilla Berglund 7044ed6f06 Simplified and made clipboard API more type safe. 2012-04-09 15:54:36 +02:00
Camilla Berglund 2ad5764f06 Formatting. 2012-03-29 13:44:55 +02:00
Camilla Berglund cca6b52120 Formatting. 2012-03-29 13:31:19 +02:00
Camilla Berglund e49f1b8801 Fixed broken example. 2012-03-29 13:30:40 +02:00
Camilla Berglund 92d4c02e07 Merge branch 'master' into clipboard
Conflicts:
	src/CMakeLists.txt
2012-03-29 13:29:28 +02:00
Camilla Berglund 4ef9aec7e0 Made scrolling deltas floating point. 2012-03-28 21:54:09 +02:00
Camilla Berglund a1d5fc039d Added support for right control key. 2012-03-28 15:07:47 +02:00
Camilla Berglund d022e54934 Merge branch 'master' into clipboard 2012-03-28 14:58:03 +02:00
Camilla Berglund 466246670f Merge branch 'master' into cursor-enter-leave 2012-03-26 13:54:28 +02:00
Camilla Berglund 865aa05ec1 Merge branch 'master' into clipboard
Conflicts:
	src/CMakeLists.txt
	src/libglfw.pc.cmake
2012-03-26 03:04:29 +02:00
Camilla Berglund 1eb24ff261 Executable dependency list fixes. 2012-03-25 17:07:43 +02:00
Camilla Berglund 23776f67e3 Formatting. 2012-03-25 13:58:07 +02:00
Camilla Berglund 7b46a184cb Added standard option to switch between static and dynamic library, dropped dynamic test. 2012-03-25 13:55:39 +02:00
Camilla Berglund 08942fcabe Removed call to non-portable function. 2012-03-22 23:28:43 +01:00
Camilla Berglund 8109470e72 Merge branch 'master' into cursor-enter-leave 2012-03-22 12:06:00 +01:00
Camilla Berglund 18efa516a2 Added modes test. 2012-03-08 01:01:42 +01:00
Camilla Berglund c286c716cd Formatting. 2012-03-05 23:41:05 +01:00
Camilla Berglund adf4899f4c Added name and version to test and example bundles. 2012-03-05 22:37:48 +01:00
Camilla Berglund 4b21ccbe19 Output fix. 2012-03-05 20:22:23 +01:00
Camilla Berglund cd7b9b1568 CMake file formatting. 2012-02-29 20:15:39 +01:00
Tai Chi Minh Ralph Eastwood 5937af089e Merge branch 'master' of github.com:raedwulf/glfw into clipboard
Conflicts:
	src/CMakeLists.txt
	tests/CMakeLists.txt
2012-02-19 06:29:48 +00:00
Tai Chi Minh Ralph Eastwood d561e3a0b0 Merge branch 'master' of github.com:raedwulf/glfw into clipboard
Conflicts:
	tests/CMakeLists.txt
2012-02-19 06:17:52 +00:00
Tai Chi Minh Ralph Eastwood f332e0009d Add mising clipboard test program. 2012-02-19 05:39:21 +00:00
Camilla Berglund e23eed7e27 Merge branch 'master' of github.com:elmindreda/glfw 2012-02-14 23:14:44 +01:00
Camilla Berglund 9760c2ad5a Tearing test cleanup. 2012-02-09 02:25:25 +01:00
Camilla Berglund da86ba8062 Added logging of window size. 2012-02-09 02:07:43 +01:00
Camilla Berglund 62e8d07f4f Added swap interval toggling to tearing test. 2012-02-09 00:49:11 +01:00
Camilla Berglund 30ae9bdd47 Formatting. 2012-02-07 17:19:38 +01:00
Camilla Berglund 5159cfc2b0 Added window close control. 2012-02-07 16:40:26 +01:00
Camilla Berglund 0c3b1b5a0e Removed allocator. 2012-02-07 14:58:58 +01:00
Camilla Berglund 086fba40b4 Fixed program names in help output. 2012-02-07 02:30:52 +01:00
Camilla Berglund b35ef1ac53 Added gamma setting function. 2012-02-07 02:29:02 +01:00
Camilla Berglund 55a34c6967 Made gamma test set gamma at startup. 2012-02-07 02:22:09 +01:00
Camilla Berglund ba3a60523b Added context state copying to sharing test. 2012-02-06 16:27:56 +01:00
Camilla Berglund fb465377e3 Merge remote-tracking branch 'adrian/multi-display-support' into multi-monitor 2012-02-05 02:50:22 +01:00
Camilla Berglund 6b98a04d17 Merge branch 'utf8' into multi-monitor
Conflicts:
	src/CMakeLists.txt
2012-02-04 20:12:28 +01:00
Camilla Berglund ee4f2386e7 Updated to new API. 2012-02-04 02:13:44 +01:00
Camilla Berglund ad55edf114 Merge branch 'master' into utf8 2012-02-04 01:55:46 +01:00
Camilla Berglund b997db3a8b Removed GLFWthreadmodel and glfwInitWithModels. 2012-02-04 01:38:00 +01:00
Camilla Berglund ce288a8939 Transformed glfwEnable/Disable/SetCursorMode into glfwGetInputMode/SetInputMode. 2012-02-04 00:51:35 +01:00
Camilla Berglund 4cffa3b185 Added UTF-8 window title test. 2012-02-02 16:04:37 +01:00
Camilla Berglund c4806b9532 Merged cursor enter/leave callbacks. 2012-01-30 22:59:38 +01:00
Camilla Berglund 3663d62362 Added cursor enter/leave support to events test. 2012-01-30 22:44:51 +01:00
Marcel Metz a69974403e Added x11 support for monitor PnP detection. 2012-01-30 16:21:21 +01:00
Camilla Berglund f0de0c6466 Removed duplicate libm and librt setup. 2012-01-29 19:13:08 +01:00
Marcel Metz 4c6681bad6 Merge branch 'master' into multi-display-support
Conflicts:
	src/CMakeLists.txt
	src/input.c
2011-11-22 16:06:24 +01:00
Camilla Berglund 85982b2985 Removed Cygwin cross-compilation hacks. 2011-11-03 00:13:49 +01:00
Camilla Berglund 8117f4e48d Finished dynamic linking test debug output. 2011-11-02 23:10:04 +01:00
Camilla Berglund 0c122bb8ad Added dynamic linking test. 2011-11-02 17:59:18 +01:00
Marcel Metz 8e89fff792 Merge branch 'master' into multi-display-support 2011-10-14 14:37:41 -04:00
Camilla Berglund 851f510d4b Added mode switch and offset output to peter. 2011-10-13 14:11:06 +02:00
Marcel Metz 784f60365e Stub implementation of monitor callback. 2011-10-09 00:20:34 -04:00
Camilla Berglund 792034c42d Fomatting. 2011-10-09 00:55:39 +02:00
Camilla Berglund ec8ee0c6e7 Merge branch 'master' of github.com:elmindreda/glfw 2011-10-09 00:02:14 +02:00
Camilla Berglund ebffe58369 Renamed version to glfwinfo. 2011-10-09 00:01:44 +02:00
Marcel Metz ac57be060d Merge branch 'master' into multi-display-support
Conflicts:
	src/fullscreen.c
	src/win32_window.c
	src/x11_fullscreen.c
2011-10-07 00:35:37 -04:00
Camilla Berglund 9738728298 Reshuffling, formatting and shortening. 2011-10-06 23:28:56 +02:00
Camilla Berglund 2f7f7ca06f Fixed color of window. 2011-10-05 00:46:56 +02:00
Camilla Berglund e290430c26 Fixed closing bug. 2011-10-05 00:46:09 +02:00
Marcel Metz 426df42d00 Replaced display with monitor in monitor related api. 2011-10-03 03:24:35 -04:00
Marcel Metz beacbb3447 Implemented display iteration for x11. Added attributes and queries for physical size, name and logical position. Updated test executable. 2011-10-02 16:47:06 -04:00
Marcel Metz b7d1d35c20 Added library search for math and realtime library in test and example projects for x11 platform. 2011-10-02 16:19:00 -04:00
Ralph Eastwood 57522db6e2 X11 implementation of clipboard pasting. 2011-09-21 15:43:28 +01:00
Camilla Berglund 6da82e0ffe Formatting. 2011-09-20 18:52:00 +02:00
Camilla Berglund e31042c0dc Removed duplicate word from events test output. 2011-09-20 15:18:03 +02:00
Camilla Berglund 56959bd075 Added channel sizes and formatting. 2011-09-19 20:36:01 +02:00
Camilla Berglund d0af26cd43 Allow error callback to be set before glfwInit. 2011-09-16 01:16:31 +02:00
Camilla Berglund 58db28ea83 Moved clear to refresh callback. 2011-09-08 22:58:47 +02:00
Camilla Berglund bca0283fdd Fixed exit codes. 2011-09-08 22:47:37 +02:00
Camilla Berglund e20ea6b005 Removed duplicate event processing. 2011-09-08 22:45:35 +02:00
Camilla Berglund 5327b0050e Improved gamma test rendering. 2011-09-06 15:51:34 +02:00
Camilla Berglund 2f4d75bd15 Added additional gamma test keys. 2011-09-06 15:44:47 +02:00
Camilla Berglund ca0dbdbb6e Simplified glfwSetGammaFormula to glfwSetGamma. 2011-09-06 15:43:31 +02:00
Camilla Berglund 638702a3d9 Added init and terminate to reopen test loop. 2011-09-06 14:58:34 +02:00
Camilla Berglund 81cfc1001d Moved glext headers to separate directory for clarity. 2011-09-06 14:33:25 +02:00
Camilla Berglund b1656d7323 Replaced GLFW_MOUSE_CURSOR enable with glfwSetCursorMode. 2011-09-06 13:55:29 +02:00
Camilla Berglund 4afc67c1df Various Windows and VC++ 2010 fixes. 2011-07-27 17:09:17 +02:00
Camilla Berglund c1ab73b979 Renamed context-related functions to more closely match underlying APIs. 2011-07-27 16:01:27 +02:00
Camilla Berglund d25f9db752 Removed glfwGetGLVersion, added GLFW_OPENGL_REVISION. 2011-05-21 17:16:32 +02:00
Camilla Berglund d43e0b50d0 Added initial ARB_robustness support. 2011-03-07 20:51:34 +01:00
Camilla Berglund 5983615f0e Moved all callback setting to before window opening, because I can. 2011-03-05 13:24:16 +01:00
Camilla Berglund fa58cc393d Added check for GL_ARB_multisample to FSAA test. 2011-03-05 13:23:06 +01:00
Camilla Berglund 74c9b57f3d Added timer reset to FSAA test. 2011-03-05 13:17:39 +01:00
Camilla Berglund 3a755b99d0 Moved callback setting to before window creation. 2011-02-27 21:42:09 +01:00
marcus256 8943a78a65 Merge branch 'marcus-rawkeys'. Changed handling of raw key codes. 2011-01-15 00:59:55 +01:00
Marcus e3cb563a28 Fixed key names in the example and test programs. 2011-01-03 22:22:14 +01:00
Marcus 3b0084799c Shortened the names of the left/right square bracket keys. 2011-01-03 22:07:01 +01:00
Marcus c0cb4c2fe1 Implemented raw key code support for X11. 2011-01-02 11:18:14 +01:00
Camilla Berglund f1e7d7c0ea Added error callback. 2010-11-23 17:45:23 +01:00
Camilla Berglund 4b51f2e9f7 Added comment. 2010-11-17 17:11:44 +01:00
Camilla Berglund ac03fa88f4 Corrected description. 2010-11-17 16:39:55 +01:00
Camilla Berglund 57e14372f2 Added getopt and sample count switch to FSAA test. 2010-11-17 16:26:32 +01:00
Camilla Berglund 940b69816c Made rendering and window size more sane. 2010-11-17 16:14:27 +01:00
Camilla Berglund 1f622adf0a Replaced inline declarations with glext.h use. 2010-11-17 16:06:15 +01:00
Camilla Berglund 88194055bb Added support for OpenGL ES 2.0. 2010-11-15 19:28:06 +01:00
Camilla Berglund 4044c2da66 Made callbacks library global. 2010-10-24 18:28:55 +02:00
Camilla Berglund 2630d4968c Initial implementation of experimental gamma ramp API. 2010-10-13 04:04:43 +02:00
Camilla Berglund 05a477242b Formatting. 2010-10-05 14:44:01 +02:00
Camilla Berglund 7e7672a2e5 Comment grammar fix. 2010-10-05 00:34:50 +02:00
Camilla Berglund 1585c8b981 Added escape key quitting. 2010-10-05 00:12:25 +02:00
Camilla Berglund 419f9f17a1 Added glfwGetCurrentWindow. 2010-10-04 23:13:33 +02:00
Camilla Berglund 104dfaa3ac Build file fixes and formatting. 2010-10-04 21:21:50 +02:00
Camilla Berglund 9e1031a35a Moved listmodes test program to tests directory. 2010-10-04 21:14:58 +02:00
Camilla Berglund 2899e8765c Added window positioning to sharing test. 2010-10-04 21:08:42 +02:00
Camilla Berglund 8dff22d9de Removed superfluous clear, added comment. 2010-10-04 19:35:28 +02:00
Camilla Berglund afcb2abbd4 Added simple context sharing test program. 2010-10-04 19:32:39 +02:00
Camilla Berglund 5ca2189f81 Removed DOS line endings. 2010-10-04 18:19:04 +02:00
Camilla Berglund 99ddce3214 Added context sharing. 2010-10-04 18:17:53 +02:00
Camilla Berglund 4942c8a0f4 Replaced inline declarations with glext.h usage. 2010-10-03 18:55:59 +02:00
Camilla Berglund c7c6ecdba5 Added reporting of glForward and glProfile. 2010-10-03 18:55:13 +02:00
Camilla Berglund 007766bd91 Added two-dimensional scrolling API and X11 implementation. 2010-09-27 02:09:54 +02:00
Camilla Berglund e13f0c441c Added binary category variables for easier maintenance. 2010-09-20 22:37:22 +02:00
Camilla Berglund 6aaf2a9193 Formatting. 2010-09-20 20:23:06 +02:00
Camilla Berglund 9da6b834da The default OpenGL version is 1.0. 2010-09-20 20:22:03 +02:00
Camilla Berglund 0d7e1794a5 Added window iconification callback. 2010-09-20 02:33:11 +02:00
Camilla Berglund d43057e5bb Removed unintentional execute bits. 2010-09-20 01:40:11 +02:00
Camilla Berglund 7ebe76289d Fixed broken file flags. 2010-09-19 02:45:20 +02:00
Camilla Berglund 7ead4ce4f5 Added fullscreen window focus test. 2010-09-18 18:28:14 +02:00
Camilla Berglund f06489d6cb Fixed flipped error messages, added window positioning, made color calc more weird. 2010-09-16 05:23:02 +02:00
Camilla Berglund e244ad3d41 Updated example and test programs to new API. 2010-09-14 03:10:59 +02:00
Camilla Berglund 39a966d136 Oh, right, this is C. 2010-09-14 02:22:52 +02:00
Camilla Berglund a76e891295 Added missing getopt.c file. 2010-09-14 01:04:33 +02:00
Camilla Berglund 2bfa89ec17 Added support for the GLFW version string. 2010-09-13 18:06:59 +02:00
Camilla Berglund ffca087fde Added iconify test program to build. 2010-09-11 15:24:45 +02:00
Camilla Berglund e142a3ec63 Updated test program to new API. 2010-09-11 15:23:58 +02:00
Camilla Berglund dc5ba0643d Fixed default GL version. 2010-09-11 15:13:23 +02:00
Camilla Berglund 63e64572a0 Formatting. 2010-09-11 14:33:24 +02:00
Camilla Berglund abaac3ea99 Added GLFW error strings to test programs, various tweaks. 2010-09-11 14:32:05 +02:00
Camilla Berglund a79a6eb82a Message tweak. 2010-09-11 02:59:50 +02:00
Camilla Berglund 484a2714fc Renamed GLFW_WINDOW to GLFW_WINDOWED. 2010-09-10 13:24:19 +02:00
Camilla Berglund cfbafc5b39 Renamed glfw.h to glfw3.h to avoid conflicts. 2010-09-10 13:16:03 +02:00
Camilla Berglund 06142786b9 Formatting. 2010-09-10 01:07:18 +02:00
Camilla Berglund 107b769ada Formatting. 2010-09-10 00:36:52 +02:00
Camilla Berglund 025f8c9518 Made windows have different titles. 2010-09-10 00:36:18 +02:00
Camilla Berglund e8209c5a0c Added simple multi-window example. 2010-09-10 00:31:22 +02:00
Camilla Berglund 950a3beda2 Moved bits parameters from glfwOpenWindow to glfwOpenWindowHint. 2010-09-09 19:58:51 +02:00
Camilla Berglund 50e6f828d1 Formatting. 2010-09-09 19:39:36 +02:00
Camilla Berglund 96c2d04b11 Formatting, added comment. 2010-09-09 19:36:40 +02:00
Camilla Berglund 93ea341211 Removed Unicode character actions, updated events test. 2010-09-09 19:33:37 +02:00
Camilla Berglund 8fa7dddf16 Added missing glfwPollEvents to reopen test. 2010-09-09 19:25:13 +02:00
Camilla Berglund b54334a451 Updated some tests to new API. 2010-09-09 19:22:47 +02:00
Camilla Berglund b0ce8006e3 Updated some examples and tests to new API. 2010-09-09 19:18:18 +02:00
Camilla Berglund 06f1ed38e6 Removed auto-polling. 2010-09-09 01:56:05 +02:00
Camilla Berglund c5af4c4324 Removed legacy GLFWCALL. 2010-09-08 04:15:36 +02:00
Camilla Berglund 3249f812d6 Initial import of 2.7 Lite. 2010-09-07 17:34:51 +02:00