Camilla Löwy
9477311130
Update changelog and add credit
2021-01-18 23:52:27 +01:00
Laurent Aphecetche
384ff74a46
Cocoa: Fix install name for installed dylib
...
The install name was incorrectly set to a relative path.
This change leaves the install name of the installed dylib as
@rpath/soname. Those who wish to override this can set the
CMAKE_INSTALL_NAME_DIR variable.
Closes #1504 .
2021-01-18 23:52:27 +01:00
Camilla Löwy
f8d6801a50
Simplify references in CMake if-statements
2021-01-18 23:52:27 +01:00
Camilla Löwy
3959ee8949
Cocoa: Unify CG display to NS screen mapping
...
This moves the matching of CG displays to NS screens to monitor
enumeration time.
2021-01-18 23:52:27 +01:00
Camilla Löwy
8ab40399d3
Update changelog and add credit
...
Related to #1833 .
2021-01-18 23:52:27 +01:00
Nevyn Bengtsson
2bc52ca82e
Cocoa: Use modern API to get display name
...
On Apple Silicon, IOKit is deprecated and there will be no
matching io_service that we can query for name. Luckilly,
NSScreen got an API to fetch the display name in 10.15.
This is a blocker to get glfw running on Apple Silicon.
Fixes #1809 .
Closes #1833 .
2021-01-18 23:52:27 +01:00
Camilla Löwy
5aff72aa00
Cocoa: Fix duplicate monitor connection events
2021-01-18 23:52:27 +01:00
Camilla Löwy
8b11867464
Cocoa: Fix menubar for unbundled apps on 10.15
...
NSApp setActivationPolicy: was being called too soon when the app was
not bundled and launched from the command line.
This fix is based on #1802 by @richardwilkes.
Fixes #1648 .
Closes #1802 .
2021-01-18 23:52:27 +01:00
Camilla Löwy
552209fe46
Update changelog
2021-01-18 23:52:27 +01:00
Philip Rideout
f5af421a6b
Cocoa: Fix duplicate video mode detection
...
Closes #1830 .
2021-01-18 23:52:27 +01:00
Camilla Löwy
5d1d1a01e3
Update repo URL for Nuklear
...
Fixes #1826 .
2021-01-18 02:04:35 +01:00
Luke Bayes
3a8ebb1903
Added 2 entries to the gitignores file.
...
I downloaded and built from sources as as submodule for a personal
exploration that I'm working on and discovered that the glfw submodule
shows changed files after a build.
Adding these 2 entries fixes the issue.
Closes #1827 .
2021-01-18 02:04:35 +01:00
Camilla Löwy
6ce6b50787
Add credit
...
Related to #1818 .
2020-12-15 02:13:30 +01:00
ashishgamedev
761f97d6b6
Fix indentation in internal.h
...
Closes #1818 .
2020-12-15 02:12:20 +01:00
Bhee
0b9e48fa3d
Fix minor typo: If if -> If.
2020-12-14 12:27:57 +01:00
Nicolas Caramelli
1adfbde4d7
Wayland: Move 96 DPI default to outputHandleMode
...
Closes #1792 .
2020-12-09 19:11:40 +01:00
Luflosi
08e5a17063
Use switch statement instead of if-else-chain for cursor shapes
...
Closes #1739 .
2020-12-08 15:45:14 +01:00
Camilla Löwy
7e8da57094
Add missing changelog issue number
2020-11-19 02:49:14 +01:00
Leonard König
0dc1005c85
Wayland: Fix destroying CSDs in the correct order
...
On Wayland we implement Client-Side Decorations if the compositors do not
implement SSDs. In that case, the destructors of the surfaces were called
in the wrong order, leading to a dereference of an already freed object.
We need to first destroy the subsurface before destroying the parent surface.
Related PR on kitty: https://github.com/kovidgoyal/kitty/pull/3066
Related issue on kitty: https://github.com/kovidgoyal/kitty/issues/3051
Closes #1798 .
2020-11-19 02:47:30 +01:00
Camilla Löwy
3327050ca6
Cocoa: Fix ObjC being built as C with CMake 3.19
...
CMake 3.19 adds -xc when the LANGUAGE file property is C, breaking our
workaround for CMake 3.15 and earlier not understanding the .m suffix.
Fixes #1787 .
2020-11-18 00:11:13 +01:00
Camilla Löwy
5c928ff452
Add credit
...
Related to #1774 and #1782 .
2020-11-11 19:14:29 +01:00
Camilla Löwy
2f76f70c76
Wayland: Simplify adding of protocol sources
2020-11-11 19:11:38 +01:00
Camilla Löwy
420b165bff
Wayland: Fix indentation
2020-11-11 19:11:38 +01:00
Camilla Löwy
a62a6c5019
Wayland: Scanner tool has input and output args
2020-11-11 19:11:38 +01:00
Camilla Löwy
d5f32dfb3b
Wayland: Ensure paths are passed on in quoted form
2020-11-11 19:11:38 +01:00
Camilla Löwy
a6f8cc9d44
Fix unquoted paths with variable references
...
Whitespace is a field separator in CMake.
2020-11-11 19:11:38 +01:00
Joel Winarske
af8f9713dd
Wayland: Fix CMake binary dir when built as subdir
...
Regression introduced by 2747e47393
.
Related to #1782 .
2020-11-11 19:10:19 +01:00
Camilla Löwy
0bccc3852b
Win32: Filter out duplicate size events
...
This mirrors the filtering done on X11 and Cocoa. Possibly this should
be done by shared code instead.
Fixes #1610 .
2020-11-11 19:10:19 +01:00
Camilla Löwy
ac627706ef
Win32: Fix clang-cl interpreting -Wall as /Wall
...
Unlike -Wall, VS /Wall really means all warnings.
Closes #1780 .
2020-11-11 19:10:05 +01:00
Camilla Löwy
6b78419c9a
Win32: Enable /W3 on VS for library sources
...
/W3 is the default for new VS projects and the library builds cleanly
with it on VS 2010-2019 so let's try to keep it that way.
2020-11-11 19:09:10 +01:00
Camilla Löwy
9b140d08d7
Remove ignored Clang compiler flag
...
Clang ignores this when C99 is enabled, while GCC does not. Removing
the checks for Clang to hopefully avoid a false sense of security.
2020-11-11 19:07:26 +01:00
Camilla Löwy
35f3508ecd
Update changelog and add credit
...
Related to #1786 .
2020-10-20 20:03:58 +02:00
Andy Williams
c940695eb0
Fix macOS Print Screen
...
Many years ago this value was changed from F13 to Print Screen with
1ae9ce1e0a
. However, this was later
reverted to F13 with 5759d0fdf2
.
This changes it back to Print Screen for consistency with other
platforms.
Closes #1786 .
2020-10-20 19:59:16 +02:00
Nicolas Caramelli
0ef149c8f2
Wayland: Assume 96 DPI if physical size is <= 0
2020-10-14 12:04:28 +02:00
Camilla Löwy
a506a8dc73
Add credit
...
Related to #1779 and #1781 .
2020-10-05 23:25:32 +02:00
Nicolas Caramelli
8d47dc5894
Update test SPIR-V shader code
...
Closes #1781 .
2020-10-05 23:24:12 +02:00
Camilla Löwy
48aa567d0c
Update changelog and add credit
...
Related to #1775 .
2020-10-05 23:24:12 +02:00
Vladimir Perminov
53b1396a09
Win32: Fix value for _WIN32_WINNT_WINBLUE
...
An incorrect value for _WIN32_WINNT_WINBLUE caused GLFW to think Windows
8 was 8.1 or greater. This led to a crash when attempting to call
SetProcessDpiAwareness.
Closes #1775 .
2020-10-05 23:24:12 +02:00
Camilla Löwy
60e7364b30
Update changelog
...
Related to #1761 .
2020-10-05 23:24:12 +02:00
Doug Binks
166611cef5
Win32: Update all monitor handles on config change
...
Closes #1761 .
2020-10-05 23:24:12 +02:00
Nicolas Caramelli
0b2660f39f
Wayland: Remove FindWaylandProtocols.cmake and FindXKBCommon.cmake (not used anymore)
2020-10-04 20:31:12 +02:00
Emmanuel Gil Peyrot
40d150c399
Docs: Remove mentions of extra-cmake-modules
2020-09-30 17:04:20 +02:00
Emmanuel Gil Peyrot
8aaf072842
Wayland: Remove extra-cmake-modules from CI
2020-09-30 17:02:33 +02:00
Emmanuel Gil Peyrot
2e6fb7fe22
Wayland: Remove extra trailing whitespace
2020-09-30 17:02:32 +02:00
Joel Winarske
2747e47393
Wayland: Remove extra-cmake-modules dependency
...
Fixes #1774 .
2020-09-30 17:02:26 +02:00
Camilla Löwy
1353f37a51
Make unsupported versions of CMake fail early
2020-09-23 20:07:34 +02:00
Camilla Löwy
539535a367
Specify maximum version of CMake known to work
...
Related to #1753 .
2020-09-23 20:06:18 +02:00
Camilla Löwy
73ef5f0abb
Update CODEOWNERS for move to SCSS
2020-09-22 19:50:40 +02:00
Luflosi
58df92acad
Use consistent indentation for Doxygen custom stylesheet
...
Most of this file is indented with tabs but parts are indented with spaces.
Closes #1770 .
2020-09-18 14:27:57 +02:00
Siavash Eliasi
96f9f5c4b9
Migrate to Sass for Doxygen custom stylesheets
...
Closes #1759 .
2020-09-07 20:50:57 +02:00