Camilla Löwy
feaa532886
Add missing word
2019-05-24 14:43:49 +02:00
Camilla Löwy
e91d0fc499
Clarify triangle-opengl uniform uniform update
...
The previous way worked as mat4 is an array typedef but this way may be
clearer to people new to the linmath header.
2019-05-24 14:43:49 +02:00
Camilla Löwy
3cf7645b96
Documentation work
...
Most context related hint and attribute links had copypaste errors.
The GLFW_CONTEXT_RELEASE_BEHAVIOR and GLFW_CONTEXT_NO_ERROR attributes
did not have guide documentation.
2019-05-24 14:43:49 +02:00
Camilla Löwy
e4aba7feaa
Convert triangle-opengl example to 3.3 core
2019-05-24 14:43:49 +02:00
Camilla Löwy
a639d6e635
Rename OpenGL triangle example to triangle-opengl
2019-05-24 14:43:39 +02:00
Camilla Löwy
d44bfe0264
Add vertex type and offsetof to OpenGL triangle
2019-05-24 14:39:35 +02:00
Camilla Löwy
f61d0916fd
Convert OpenGL triangle example to C99
2019-05-19 21:10:29 +02:00
Camilla Löwy
c415c71947
Clean up glfwinfo Vulkan version output
2019-05-19 21:10:29 +02:00
Camilla Löwy
144c98bcb3
Simplify glfwinfo Vulkan enumerations
2019-05-19 21:10:29 +02:00
Camilla Löwy
fa025d8f80
Convert glfwinfo to C99
2019-05-19 21:10:29 +02:00
Camilla Löwy
700d1f28d8
Add Vulkan 1.1 support to glfwinfo
2019-05-19 21:10:29 +02:00
Camilla Löwy
0b01d850ed
NSGL: Remove enforcement of forward-compatible flag
...
This sharp corner should have been addressed a long time ago.
2019-05-19 21:10:29 +02:00
Camilla Löwy
4d99045e87
Add credit
...
Related to #1480 .
(cherry picked from commit 57bf6b2f75
)
2019-05-19 18:32:28 +02:00
Camilla Löwy
b383e70021
X11: Fix CMake check for XInput headers
...
The X11_Xinput_* variables have been removed in recent CMake, leaving
only the X11_Xi_* set.
Related to #1480 .
(cherry picked from commit ceb16cb5f1
)
2019-05-19 18:32:13 +02:00
Camilla Löwy
645b8c3bba
Add stable release branch to CI
...
(cherry picked from commit 0ccb690853
)
2019-05-19 18:31:57 +02:00
Camilla Löwy
80935c6c27
Remove cmake from Travis CI package list
...
This was left over from an old workaround for Travis CI having an
ancient version of CMake pre-installed.
(cherry picked from commit 535491c4f3
)
2019-05-19 18:31:50 +02:00
Camilla Löwy
73a3ef86db
Format Travis CI inline script for readability
...
(cherry picked from commit 7dc36dd7da
)
2019-05-19 18:31:46 +02:00
Camilla Löwy
d715917add
Add descriptive names for Travis CI jobs
...
(cherry picked from commit c0eabc594f
)
2019-05-19 18:31:42 +02:00
Camilla Löwy
b596c79014
Use CMakeDependentOption for dependent options
...
This replaces the earlier manual logic for dependent CMake options with
the cmake_dependent_option function from CMakeDependentOption.
(cherry picked from commit cd290f767f
)
2019-05-19 18:31:30 +02:00
Camilla Löwy
bc8b567d7c
Move to the modern CMake project version option
...
This replaces the manual ad-hoc version variables we have used since
CMake 2.x (and GLFW 2.x lite).
(cherry picked from commit a255e7ace6
)
2019-05-19 18:30:58 +02:00
Camilla Löwy
37cc51b823
X11: Only check for headers at build time
...
GLFW does not require the X11 extension libraries to build or run, so
only fail if the headers are unavailable.
(cherry picked from commit 5c5963f1c0
)
2019-05-19 18:27:33 +02:00
Camilla Löwy
9cc83cf07f
X11: Fix CMake not checking for XInput2 headers
...
Fixes #1480 .
(cherry picked from commit 090b16bfae
)
2019-05-19 18:27:06 +02:00
Camilla Löwy
e826f839a4
Update changelog and add credit
...
(cherry picked from commit 42a3e4434f
)
2019-05-19 18:27:01 +02:00
Konstantin Podsvirov
2e3b4cf898
Fix use of absolute path in INSTALL_INTERFACE
...
Closes #1470 .
(cherry picked from commit 15af302f77
)
2019-05-19 18:26:58 +02:00
Camilla Löwy
6648b3d4bb
Documentation work
...
The monitor content scale was missing from the monitor properties
paragraph.
(cherry picked from commit be71147ad5
)
2019-05-19 18:26:51 +02:00
Camilla Löwy
76505355e1
Update Travis CI build
...
- Migrate to Xenial
- Use whitelisted PPA instead of hardcoded deb URL
- Only add X11 dependencies for X11 builds
- Only set sudo on matrix entries
(cherry picked from commit ff7d42a55e
)
2019-05-19 18:23:10 +02:00
Camilla Löwy
57bf6b2f75
Add credit
...
Related to #1480 .
2019-05-17 19:19:07 +02:00
Camilla Löwy
ceb16cb5f1
X11: Fix CMake check for XInput headers
...
The X11_Xinput_* variables have been removed in recent CMake, leaving
only the X11_Xi_* set.
Related to #1480 .
2019-05-17 17:26:46 +02:00
Camilla Löwy
0ccb690853
Add stable release branch to CI
2019-05-17 17:02:09 +02:00
Camilla Löwy
535491c4f3
Remove cmake from Travis CI package list
...
This was left over from an old workaround for Travis CI having an
ancient version of CMake pre-installed.
2019-05-17 17:02:09 +02:00
Camilla Löwy
7dc36dd7da
Format Travis CI inline script for readability
2019-05-17 16:53:40 +02:00
Camilla Löwy
c0eabc594f
Add descriptive names for Travis CI jobs
2019-05-17 16:15:59 +02:00
Camilla Löwy
8ee589e43b
Disable examples and tests when a subproject
...
This changes the default value of the GLFW_BUILD_EXAMPLES and
GLFW_BUILD_TESTS CMake options to false when GLFW is being added as
a subdirectory by another CMake project.
If you want the previous behavior, force these options to true before
adding the GLFW subdirectory:
set(GLFW_BUILD_EXAMPLES ON CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS ON CACHE BOOL "" FORCE)
add_subdirectory(path/to/glfw)
Doing this is backward compatible with earlier versions of GLFW.
The GLFW_BUILD_DOCS option is left enabled as it also requires Doxygen
to have any effect, is quicker to build and is more likely to be useful
when GLFW is a subproject.
2019-05-17 16:12:52 +02:00
Camilla Löwy
cd290f767f
Use CMakeDependentOption for dependent options
...
This replaces the earlier manual logic for dependent CMake options with
the cmake_dependent_option function from CMakeDependentOption.
2019-05-17 16:12:52 +02:00
Camilla Löwy
a255e7ace6
Move to the modern CMake project version option
...
This replaces the manual ad-hoc version variables we have used since
CMake 2.x (and GLFW 2.x lite).
2019-05-17 16:12:52 +02:00
Camilla Löwy
5c5963f1c0
X11: Only check for headers at build time
...
GLFW does not require the X11 extension libraries to build or run, so
only fail if the headers are unavailable.
2019-05-17 16:12:52 +02:00
Camilla Löwy
090b16bfae
X11: Fix CMake not checking for XInput2 headers
...
Fixes #1480 .
2019-05-17 16:12:52 +02:00
Camilla Löwy
42a3e4434f
Update changelog and add credit
2019-05-17 16:12:52 +02:00
Konstantin Podsvirov
15af302f77
Fix use of absolute path in INSTALL_INTERFACE
...
Closes #1470 .
2019-05-17 16:12:52 +02:00
Camilla Löwy
be71147ad5
Documentation work
...
The monitor content scale was missing from the monitor properties
paragraph.
2019-05-17 16:12:52 +02:00
Camilla Löwy
ff7d42a55e
Update Travis CI build
...
- Migrate to Xenial
- Use whitelisted PPA instead of hardcoded deb URL
- Only add X11 dependencies for X11 builds
- Only set sudo on matrix entries
2019-05-17 16:12:52 +02:00
Emmanuel Gil Peyrot
599fb3de34
Wayland: Remove wl_shell support
...
This protocol is part of the core Wayland, but it is pretty badly
designed and is missing quite a few features, and is in the process of
being phased out in compositors. Its support in GLFW requires
duplicating pretty much every single window management codepath.
This bumps the required compositor versions to the ones which have
implemented xdg-shell, approximately two years ago, which seems sensible
to me.
2019-04-20 10:05:15 +02:00
Camilla Löwy
a337c56848
Start 3.4
2019-04-16 23:08:39 +02:00
Camilla Löwy
a9343d641c
Start 3.3.1
2019-04-16 14:48:16 +02:00
Camilla Löwy
b079610962
Documentation work
2019-04-16 01:40:30 +02:00
Camilla Löwy
186e9372d5
Add credit
2019-04-16 01:05:57 +02:00
Camilla Löwy
ab118b2529
Fix copyright years (somewhat)
2019-04-15 20:50:00 +02:00
Camilla Löwy
1f91697cd3
Win32: Fix VS static analysis warnings
2019-04-15 15:37:15 +02:00
Camilla Löwy
334a485968
Win32: Fix potential buffer overrun
...
Found with VS static analysis.
2019-04-15 15:35:19 +02:00
Camilla Löwy
0e74265426
Cocoa: Fix cursor hover test
2019-04-15 14:52:17 +02:00