rdb
316b0009ae
Merge branch 'release/1.10.x'
2022-10-31 23:10:39 +01:00
rdb
4cf8187df7
cocoadisplay: Fix crash with threading-model on newer macOS versions
...
Updates the context on the main thread instead of the draw thread now. If render_frame happens to run while the context needs updating, it will skip the frame.
Fixes #1286
2022-10-29 20:51:05 +02:00
rdb
79bd743957
Merge branch 'release/1.10.x'
2022-09-02 23:14:15 +02:00
LD
12ae2973ae
cocoadisplay: Disable the event suppression interval when moving the position of the mouse pointer
2022-09-01 09:07:16 +02:00
LD
102da5bc35
cocoadisplay: Don't use position delta for confined mouse mode as it lead to invalid estimation of the pointer position
2022-09-01 09:07:16 +02:00
LD
69bf5fa626
cocoadisplay: Remove overzealous coordinates transform performed on mouse position
2022-09-01 09:07:16 +02:00
LD
105f9abbfa
cocoadisplay: Trigger handle_move_event() when a resize event is received to also update the origin of the window if needed
2022-09-01 09:07:16 +02:00
rdb
e27162df0b
Merge branch 'release/1.10.x'
2022-02-06 15:32:24 +01:00
rdb
692221cacb
cocoadisplay: Invert direction of horizontal scroll
...
Now behaves consistent with other applications (tested with Logitech MX Master 3 for Mac on macOS 10.13 in unnatural scrolling configuration).
Set `cocoa-invert-wheel-x true` to revert to old behaviour.
2022-01-22 15:56:53 +01:00
rdb
d46651c032
Merge branch 'release/1.10.x'
2022-01-04 16:35:19 +01:00
rdb
d1c756713d
display: Handle raw event for key between Shift and Z on ISO keyboards
...
This key is called raw-< for lack of anything better, it's usually mapped as backslash on US keyboards but that would not allow distinguishing between the backslash key near the enter key.
2022-01-04 11:05:46 +01:00
rdb
0e219fa5c9
display: Remove obsolete mouse_mode_relative/absolute methods
2021-07-02 16:00:41 +02:00
rdb
199b797d72
Merge branch 'release/1.10.x'
2021-06-01 11:50:12 +02:00
Ben Humphries
0415a08416
cocoadisplay: Round refresh rates when choosing display mode on macOS
...
Closes #1144
Co-authored-by: rdb <git@rdb.name>
2021-06-01 10:56:55 +02:00
rdb
b817e19ab6
Merge branch 'release/1.10.x'
2021-03-13 16:50:12 +01:00
LD
209e031964
cocoadisplay: Test all the fullscreen modes to find the valid one
...
Closes #1039
2021-03-13 12:44:30 +01:00
rdb
abe3c2bf0b
CMake: Mark all system macOS frameworks as advanced variables
...
It should be extremely unusual to want to change these, and they are just cluttering up the CMake GUI.
2020-12-19 00:33:22 +01:00
rdb
66ac3be604
Merge branch 'release/1.10.x' into master
2020-09-12 23:23:58 +02:00
LD
28f49ffd0b
cocoadisplay: Use [event charactersIgnoringModifiers] when UCKeyTranslate() can not translate the input key
2020-09-01 20:29:53 +02:00
rdb
dcc08ac572
Merge branch 'release/1.10.x'
2020-07-25 14:58:35 +02:00
Donny Lawrence
5d6ff0ecc8
cocoadisplay: Fix handling of shift modifier
...
Closes #967
Fixes #959
2020-07-25 10:27:18 +02:00
Fireclaw
0f2cf6d14b
Add maximized property to WindowProperties, plus implementation ( #809 )
...
Closes #809
Co-authored-by: rdb <git@rdb.name>
2020-06-20 23:00:52 +02:00
rdb
fda898807a
Merge branch 'release/1.10.x' into master
2020-02-10 13:52:05 +01:00
rdb
2b632c8e20
cocoa: use resolved filename to load cursor image (thanks treamous)
2020-02-01 09:49:35 +01:00
rdb
b272af8bbf
Merge branch 'cmake'
2020-01-22 11:20:51 +01:00
rdb
26b86dfe5f
Merge branch 'release/1.10.x'
2020-01-22 11:20:24 +01:00
rdb
b573cc3587
cocoa: fix compilation issues with new NSCursor hotspot code
...
See #849
2020-01-22 09:47:58 +01:00
rdb
05d5bac598
Merge branch 'release/1.10.x' into incoming
2020-01-21 15:34:25 +01:00
Donny Lawrence
4f4b14dd2b
cocoadisplay: Use hotspot read from .cur files
...
Previously, the cursor's hotspot defaulted to (0,0). Fixes #845 .
Closes #849
2020-01-21 14:53:19 +01:00
rdb
b212d254d0
Merge branch 'release/1.10.x' into incoming
2020-01-07 22:09:59 +01:00
LD
a56b85dbed
cocoadisplay: Fix switch to fullscreen on macOS 10.9 using current display resolution
2020-01-07 14:09:05 +01:00
rdb
389cc4bfdb
Merge branch 'release/1.10.x'
2020-01-06 03:25:22 +01:00
LD
f68604a3f5
cocoadisplay: Fix regression introduced by 45461e667a
...
Closes #829
2020-01-05 23:01:49 +01:00
LD
ff1a2632bd
cocoa: Remove now useless respondsToSelector for setWantsBestResolutionOpenGLSurface
...
Closes #820
2019-12-30 03:07:15 +01:00
rdb
b78b7be326
Merge branch 'release/1.10.x'
2019-12-30 01:50:54 +01:00
LD
45461e667a
cocoadisplay: use same scaling factor as the current view when switching to fullscreen on MacOS 10.15+
...
Fixes #794
2019-12-29 22:24:56 +01:00
rdb
0e56ddc438
cocoa: remove pre-10.6 code
2019-12-11 17:05:51 +01:00
rdb
9565d99fab
Merge branch 'release/1.10.x'
2019-12-08 15:18:51 +01:00
LD
f72c72b36a
MacOS: Force disable application HiDPI support on NSView, fixes #794
2019-11-29 10:07:48 +01:00
Sam Edwards
5fa4af9189
CMake: Rely on GNUInstallDirs to specify install paths
...
This makes multiarch OSes happy as they can dictate that
64-bit libraries go into 'lib64'
2019-08-31 00:48:42 -06:00
Sam Edwards
19ed9f6b47
Merge branch 'master' into cmake
2019-08-24 18:07:12 -06:00
rdb
5e7e64179b
cleanup: fix a host of unprotected debug/spam messages
2019-08-23 18:58:57 +02:00
Donny Lawrence
f0b4d7637b
CMake: Separate composite files by extension.
2019-06-27 17:38:18 -06:00
Sam Edwards
039f5af34e
Merge branch 'master' into cmake
2019-06-03 23:12:23 -06:00
Sam Edwards
df9640454f
cocoadisplay: Add missing EXPCL_PANDA_COCOADISPLAY
2019-04-15 15:57:57 -06:00
Sam Edwards
6097d34ead
CMake: Neatly format everything for readability and consistency
2019-04-14 22:37:18 -06:00
rdb
5530074945
cocoa: fix crash when typing with RIME as input method
...
Fixes #620
2019-04-14 22:10:32 +02:00
Sam Edwards
52541825b5
CMake: Move p3cocoadisplay to OpenGL component
2019-03-13 20:17:55 -06:00
Sam Edwards
f8161cc529
Merge branch 'master' into cmake
2019-03-12 02:03:16 -06:00
rdb
4e92b708ff
Merge branch 'macosstuckwindowfix' of github.com:treamology/panda3d into release/1.10.x
...
Closes #536
Fixes #534
2019-03-04 12:23:53 +01:00