Commit Graph

2624 Commits

Author SHA1 Message Date
Tamas Kenez
e990a20000 build: add DEBUG_POSTFIX 'd' 2015-10-05 00:00:48 +08:00
Zbigniew Mandziejewicz
fc869d1100 Remove package export 2015-10-05 00:00:48 +08:00
Tamas Kenez
6ed81bb33c cmake: fix exported include dir path
target_include_directories used GLFW_INSTALL_INCLUDE_DIR
which was undefined.
The correct variable is CMAKE_INSTALL_INCLUDEDIR which
is what the installer sections use.
2015-10-05 00:00:47 +08:00
Tamas Kenez
566108d35a fix: some install(FILES..) assumed GLFW_BINARY_DIR 2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
c38315ec69 Simplified build tree CMake config 2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
14c867d2c9 Use GNUInstallDirs, enable build tree export 2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
a89f9680ec Fix CMake exports in build directory 2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
f63d50977f Update build.dox 2015-10-05 00:00:47 +08:00
Nicholas Vitovitch
e2ff064544 Conditionaly enables target_include_directories.
CMake's target_include_directories breaks compatibility with glfw's
minimum required version. The command is now if-guarded for
CMake <2.8.11.
2015-10-05 00:00:47 +08:00
Nicholas Vitovitch
6297f916a6 Removes an absolute path from glfwTargets.cmake
Invokes target_include_directories using generator expressions.
The cmake package can now be relocated w/o error.
2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
d2d89a8d80 Added include directory to glfw target 2015-10-05 00:00:47 +08:00
Nicholas Vitovitch
168ad2a4b3 Export transitive dependencies
Uses CMake 2.8.12 policy to export transitive interface libraries via
glfw3Targets.cmake. This means we now link to dependent libraries
(i.e. opengl32 on Win32) for free.
2015-10-05 00:00:47 +08:00
Nicholas Vitovitch
6eeecb1b22 Introduces install path variables.
Adds variables for GLFW_INSTALL_{LIBRARY,INCLUDE,CONFIG,PKGCONFIG}_DIR,
which enforces consistency between our install paths and paths exported via glfw3Config.cmake.
2015-10-05 00:00:47 +08:00
Nicholas Vitovitch
016d0e105f Renames export targets file to glfw3Targets.cmake
Normalize name so that all cmake configuration files share a common
prefix of "glfw3".
2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
f42ada5ede glfwTargets install directory 2015-10-05 00:00:46 +08:00
Zbigniew Mandziejewicz
d9765be736 Update glfw3Config.cmake.in 2015-10-05 00:00:46 +08:00
Zbigniew Mandziejewicz
a2fa3369de Fix installation path of CMake package files 2015-10-05 00:00:46 +08:00
Camilla Berglund
842aeb8c47 Make Win32 video mode enumeration faster 2015-10-04 13:51:35 +02:00
Camilla Berglund
3dc53e21e5 Cleanup 2015-09-20 15:52:44 +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
7c6a8775eb Fix error type for unavailable pixel format error
All backends reported this as GLFW_PLATFORM_ERROR, while the
documentation mandates GLFW_FORMAT_UNAVAILABLE.
2015-09-16 16:24:21 +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
f6f0771770 Replace NSScreen with platform functions 2015-09-07 16:32:10 +02:00
Camilla Berglund
4ad00fa388 Add window refresh events logging to iconify test 2015-09-07 16:32:10 +02:00
Camilla Berglund
4b4cb9ce66 Fix window refresh events emission on OS X 2015-09-07 16:32:10 +02:00
Camilla Berglund
67eadf1e97 Fix glfwIconifyWindow not restoring video mode
Fixes #590.
2015-09-07 16:32:10 +02:00
Camilla Berglund
6123937bde Add missing version string entries 2015-09-01 17:19:09 +02:00
Camilla Berglund
da3a77b4e3 Add dynamic client library loading to EGL backend
Fixes #586.
2015-08-27 20:52:10 +02:00
Camilla Berglund
255f9f0234 Fix deadlock with negative swap interval on Aero
Fixes #587.
2015-08-27 20:25:28 +02:00
Camilla Berglund
ba4504a9c7 Formatting 2015-08-25 02:26:10 +02:00
Camilla Berglund
7e13a4909e Make all EGL functions dynamically loaded 2015-08-25 02:24:42 +02:00
Camilla Berglund
afe4aadade Make all GLX functions dynamically loaded 2015-08-18 17:56:34 +02:00
Camilla Berglund
8db7528ac7 Add support for Cygwin libGL soname 2015-08-18 16:58:32 +02:00
Camilla Berglund
2d39dff84a Replace XkbGetKeyboard with XkbGetMap
Switch to XkbGetMap as XkbGetKeyboard returns NULL on XWayland.

Fixes #389.
2015-08-18 14:27:28 +02:00
Camilla Berglund
b69b4a9f2a Remove global symbols for Motif WM hints 2015-08-18 13:34:51 +02:00
Camilla Berglund
85a01bfd9b Document image data being non-premultiplied
Fixes #426.
2015-08-17 21:09:59 +02:00
Camilla Berglund
352a4f2757 Update changelog 2015-08-17 21:09:43 +02:00
Camilla Berglund
41287694cb Replace convertBaseToScreen deprecated in 10.11
Closes #534.
2015-08-17 19:46:24 +02:00
Camilla Berglund
04a439a0a0 Fix function name conflict between source files
Fixes #574.
2015-08-16 15:35:12 +02:00
Camilla Berglund
e528a8c7a4 Clarify comment for X11 translateKey 2015-08-16 15:12:13 +02:00
Camilla Berglund
362751e4ef Fix cursor test event mode message 2015-08-16 14:29:04 +02:00
Camilla Berglund
0db3940cc4 Formatting 2015-08-16 14:28:51 +02:00
Camilla Berglund
e2bb5e1726 Fix glfwWaitEvents generating events on Win32
Disabled cursor mode caused subsequent glfwWaitEvents calls to return
directly on Win32 due to cursor re-centring emitting WM_MOUSEMOVE.

Fixes #543.
2015-08-16 14:27:54 +02:00
Camilla Berglund
572ac09660 Fix example build errors on VS2013 and earlier
VC++ does not support inline in C mode.

Fixes #581.
2015-08-16 03:24:39 +02:00
Camilla Berglund
9f5a483256 Fix glfwWaitEvents returning prematurely on X11 2015-08-14 13:52:02 +02:00
Camilla Berglund
cc752ad6a0 Fix EINTR not being handled for select on X11
Closes #580.
2015-08-14 13:49:52 +02:00
Camilla Berglund
ce2ec035f4 Fix TinyCThread time retrieval 2015-08-14 12:42:38 +02:00