Camilla Löwy
f25202fbfa
Remove non-GUI binaries from GUI-only setup
...
(cherry picked from commit c016b26852
)
2019-12-19 06:47:51 +01:00
Camilla Löwy
b5bccd1425
Make target-specific define target-specific
...
(cherry picked from commit db76abb63c
)
2019-12-19 06:47:24 +01:00
Camilla Löwy
03f2cde34e
Replace CMake generator expression with variable
...
Generator expressions are amazing but best used in moderation.
(cherry picked from commit c194193797
)
2019-12-19 06:47:14 +01:00
Camilla Löwy
cd70e1bbc4
Merge GCC/Clang specific CMake blocks
...
(cherry picked from commit 9dc365f192
)
2019-12-19 06:47:07 +01:00
Camilla Löwy
f318ab7467
Remove unneccessary example target property
...
Bundle icon file copying is performed by MACOSX_PACKAGE_LOCATION.
(cherry picked from commit c81def70be
)
2019-12-19 06:46:51 +01:00
Camilla Löwy
db2ff13d41
Fix source list for Objective-C fix
...
(cherry picked from commit 197193ac0b
)
2019-12-19 06:44:15 +01:00
Camilla Löwy
82bd22ec29
Fix source list for -Wdeclaration-after-statement
...
The context creation files were not included on platforms other than
Win32.
(cherry picked from commit 9486ec0c02
)
2019-12-19 06:43:47 +01:00
Camilla Löwy
bcd232e2ae
Remove tab character
...
(cherry picked from commit bc7b19cbd1
)
2019-12-19 06:43:17 +01:00
Camilla Löwy
f650a898f2
Trust CMake to do the right thing for static libs
...
CMake understands what private library dependencies for a static library
means and handles it correctly.
(cherry picked from commit f6d44cedfd
)
2019-12-19 06:43:04 +01:00
Camilla Löwy
8c1b59f885
Remove dependency on platform header paths
...
The tests and examples should not need these paths.
(cherry picked from commit d74c18117d
)
2019-12-19 06:42:55 +01:00
Camilla Löwy
5a1512aaa0
Rename CMake variable for GUI-only programs
...
Hopefully this is less ambiguous.
(cherry picked from commit 92c70b2a83
)
2019-12-19 06:41:32 +01:00
Camilla Löwy
b05d887968
Fix .gitignore entries for VS with CMake
...
(cherry picked from commit 7dd14a4b20
)
2019-12-19 06:39:27 +01:00
Camilla Löwy
e135210cb3
NSGL: Fix disabling of Retina resolution
...
It appears the default is now YES.
Fixes #1442 .
(cherry picked from commit fa60269245
)
2019-12-19 06:38:22 +01:00
Camilla Löwy
2da4adce40
Cocoa: Fix pre-window-creation event processing
...
Polling the event queue before NSApp had been allowed to finish
launching, in our case by starting our self-terminating run loop,
triggered an assertion inside NSApplication.
This fix, which makes all event processing functions capable of starting
it, makes that assertion less likely.
A more Cocoa-friendly fix would be to finish launching NSApp during
glfwInit and let people annoyed by the menu bar disabled it with
GLFW_COCOA_MENUBAR. That may not be suitable for 3.3-stable, though.
Fixes #1543 .
(cherry picked from commit 6e6805000a
)
2019-12-19 06:37:23 +01:00
Camilla Löwy
17d727cd35
Cocoa: Update outdated comment
...
(cherry picked from commit b3544ca43e
)
2019-12-19 06:37:12 +01:00
Camilla Löwy
58c1621481
Add Xcode section to .gitignore file
...
(cherry picked from commit 382943f2b0
)
2019-12-19 06:35:28 +01:00
Emmanuel Gil Peyrot
9db0bd45e6
Wayland: Unset the cursor name on border exit
...
It would previously conserve the last name it had before leaving the
border, sometimes desynchronising with what it should have been.
(cherry picked from commit ef6189f348
)
2019-12-19 06:35:14 +01:00
Camilla Löwy
73a8ebb691
X11: Cleanup
...
This is technically valid but misleading and may inspire future bugs
like the one fixed by 0b652a44d2
.
2019-12-17 02:17:31 +01:00
Camilla Löwy
4e70c95aa3
X11: Cleanup
...
The window state action is not an atom.
2019-12-17 01:53:48 +01:00
Camilla Löwy
9db156421f
X11: Fix updating GLFW_FLOATING on a hidden window
2019-12-17 01:53:40 +01:00
Camilla Löwy
0b652a44d2
X11: Fix invalid read when clearing GLFW_FLOATING
2019-12-17 01:51:35 +01:00
Camilla Löwy
9b6d68ec70
X11: Fix missing checks for EWMH attention atoms
2019-12-16 16:22:22 +01:00
Camilla Löwy
4837b78ffe
X11: Fix maximization of hidden windows
...
This fixes glfwMaximizeWindow having no effect on hidden windows by
manually appending the maximization states to the EWMH state property.
2019-12-16 16:22:15 +01:00
Camilla Löwy
bc3be40f21
Enable strict C99 for non-VS compilers
2019-12-16 12:48:32 +01:00
Camilla Löwy
da3f20d860
Win32: Add missing include for wcscmp
2019-12-15 18:37:57 +01:00
Camilla Löwy
fb0028c766
Win32: Enable Unicode mode for all compilers
2019-12-15 18:37:57 +01:00
Camilla Löwy
994c3b4e48
Cocoa: Remove stale GCC workaround
2019-12-15 18:37:57 +01:00
Camilla Löwy
18307467b4
Gather CMake setup of configuration header
2019-12-15 18:37:57 +01:00
Camilla Löwy
49c5d837b4
Replace CMake threads variable with modern target
2019-12-15 18:37:56 +01:00
Camilla Löwy
8a5fd0c5a4
Replace ad-hoc CMake code with DEFINE_SYMBOL
...
This target property does what we were doing manually.
2019-12-15 18:37:56 +01:00
Camilla Löwy
a5ed740d9d
Fix use of CMake 3.13 command target_link_options
2019-12-15 18:37:56 +01:00
Camilla Löwy
a264d32987
Replace CMake list variables with target_sources
2019-12-15 18:37:56 +01:00
Camilla Löwy
081484ed34
Fix POSIX conformance issues for clock_gettime
...
CLOCK_MONOTONIC should not be used as a feature macro. The POSIX
feature macros are provided by unistd.h. CLOCK_MONOTONIC is provided by
time.h. CLOCK_MONOTONIC requires _POSIX_C_SOURCE >= 199309L on some
systems.
2019-12-15 18:15:40 +01:00
Camilla Löwy
506a6aafde
Formatting
2019-12-11 22:10:00 +01:00
Camilla Löwy
a875a536b7
Cocoa: Fix duplicate conversion of title string
2019-12-11 22:08:56 +01:00
Camilla Löwy
2551829f75
Win32: Add VERSIONINFO resource to GLFW DLL
...
This will let people see the API version in the Explorer property box.
2019-12-11 21:02:08 +01:00
Camilla Löwy
7e03bce138
Fix typo
2019-12-11 21:02:08 +01:00
Luflosi
ac30ef3e0c
Fix typo
...
Fixes #1601 .
2019-12-11 21:02:01 +01:00
Camilla Löwy
a43f545677
Add dependency name hints to CMake error messages
...
Fixes #1605 .
2019-12-10 10:56:39 +01:00
Camilla Löwy
59055d585f
Update minimum required CMake version to 3.1
2019-12-09 23:48:26 +01:00
Camilla Löwy
8a1f4940fc
Remove reference to non-existent CMake variable
2019-12-09 23:48:26 +01:00
Camilla Löwy
5f4a6f689a
Gather all macOS specific CMake properties
2019-12-09 23:48:26 +01:00
Camilla Löwy
c016b26852
Remove non-GUI binaries from GUI-only setup
2019-12-09 23:48:26 +01:00
Camilla Löwy
db76abb63c
Make target-specific define target-specific
2019-12-09 23:48:26 +01:00
Camilla Löwy
c194193797
Replace CMake generator expression with variable
...
Generator expressions are amazing but best used in moderation.
2019-12-09 23:35:51 +01:00
Camilla Löwy
9dc365f192
Merge GCC/Clang specific CMake blocks
2019-12-09 23:35:51 +01:00
Camilla Löwy
c81def70be
Remove unneccessary example target property
...
Bundle icon file copying is performed by MACOSX_PACKAGE_LOCATION.
2019-12-09 23:35:51 +01:00
Camilla Löwy
197193ac0b
Fix source list for Objective-C fix
2019-12-09 23:35:51 +01:00
Camilla Löwy
135d87aa3c
Remove inclusion of X11 extension header paths
...
They should be found in X11/extensions on every platform.
2019-12-09 23:35:50 +01:00
Camilla Löwy
2fb336268f
Shorten name of Info.plist template file
...
Our template file is not simply a copy of the file included in CMake and
so should not be named as if it was.
2019-12-09 23:35:50 +01:00