Commit Graph

2650 Commits

Author SHA1 Message Date
Zbigniew Mandziejewicz
75a1c67458 Merge 2f59dadb0c into ac9a6f8504 2015-10-13 04:38:48 +00:00
Camilla Berglund
ac9a6f8504 Clarify client API major version tests 2015-10-13 00:48:32 +02:00
Camilla Berglund
bf7cce25dc Replace external context and client API headers 2015-10-13 00:48:18 +02:00
Camilla Berglund
0eccf75f65 Replace GL booleans with public macros 2015-10-13 00:46:02 +02:00
Camilla Berglund
13fbb4748a Clean up cursor mode setting 2015-10-12 22:01:50 +02:00
Camilla Berglund
95a07f3340 Start 3.2 2015-10-12 21:59:49 +02:00
Camilla Berglund
30306e5470 Fix resolution for reopen test 2015-10-12 21:09:07 +02:00
Aaron Jacobs
755f913b02 Fix invalid types, null pointer use, memory leak
Closes #612.
2015-10-12 21:09:07 +02:00
Camilla Berglund
fb6fbcf700 Fix video modes not restored when hiding OS X app 2015-10-12 21:08:59 +02:00
Camilla Berglund
adf130965c Update changelog 2015-10-12 19:11:21 +02:00
Camilla Berglund
be65829055 Clarify GLU deprecation 2015-10-12 19:05:21 +02:00
Camilla Berglund
e0084617d5 Fix monitor disappearing on OS X with AGS
When automatic graphics switching is activated, the CGDirectDisplayID
for the display changes, casuing the primary GLFWmonitor to disappear.
2015-10-12 18:42:18 +02:00
Camilla Berglund
8b2da399ee Add description of 3.1.2 release 2015-10-12 13:59:45 +02:00
Camilla Berglund
e163d21f23 Remove stale remark 2015-10-10 22:16:27 +02:00
Camilla Berglund
0d759c8c1a Fix XBufferOverflow handling for XIM input 2015-10-09 14:16:01 +02:00
Camilla Berglund
87ad8c0561 Fix XIM input on non-UTF-8 locales 2015-10-09 13:26:23 +02:00
Zbigniew Mandziejewicz
2f59dadb0c Remove 3.0 dependendent target export in build tree 2015-10-08 00:34:37 +08:00
Zbigniew Mandziejewicz
d022855f54 Update build documentation with new CMake linking 2015-10-05 20:40:42 +08:00
Zbigniew Mandziejewicz
ccd7ec0120 Include GLFW_DLL in interface definitions 2015-10-05 14:46:34 +08:00
Zbigniew Mandziejewicz
cd373545b0 Setup shared/static Travis and AppVeyor build 2015-10-05 06:05:30 +08:00
Zbigniew Mandziejewicz
97fd691183 Modernize src and examples CMake build files 2015-10-05 05:41:56 +08:00
Zbigniew Mandziejewicz
ba2c5a7d06 Windows build 2015-10-05 05:20:13 +08:00
Zbigniew Mandziejewicz
8117f78a23 Remove CMake <2.8.12 declarations 2015-10-05 01:12:04 +08:00
Zbigniew Mandziejewicz
6eb7c7d6a0 Travis CI: Set language and operating systems 2015-10-05 00:12:42 +08:00
Tamas Kenez
60121fb0a9 cmake: use export(EXPORT ..) only if CMake >= 3.0 2015-10-05 00:00:48 +08:00
Zbigniew Mandziejewicz
38c91bc938 Travis CI configuration 2015-10-05 00:00:48 +08:00
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