Donny Lawrence
f29643dd14
cocoa: Prevent a deadlock when using SIMPLE_THREADS on macOS
...
Closes #491
Fixes #490
2018-12-26 22:47:14 +01:00
Donny Lawrence
0fa0ad673f
cocoa: use CVDisplayLink on macOS to sync video to display(s)
...
Closes #487
Fixes #486
2018-12-24 13:36:13 +01:00
rdb
cc08bacec5
cocoa: fix compilation error
2018-11-30 17:13:35 +01:00
rdb
234fd675b1
Merge branch 'master' into input-overhaul
2018-06-23 23:24:09 +02:00
Sam Edwards
b2bfb31114
general: Remove `using std::*` from headers
...
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.
Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
rdb
ba2de46beb
Merge branch 'master' into input-overhaul
2018-06-08 15:23:47 +02:00
rdb
57602d750f
cocoadisplay: don't crash if window/buffer fails to open
2018-06-03 22:35:37 +02:00
rdb
21d8c29645
More warning fixes
2018-06-03 06:45:35 -04:00
rdb
b8af5bf64f
cocoa: fix compile error caused by faulty merge
...
[skip ci]
2018-03-29 14:44:10 +02:00
Donny Lawrence
7830aab21d
cocoa: Fix unresponsive menubar, add default item for application menu.
...
Closes #259
2018-03-29 14:30:16 +02:00
rdb
7062da944a
cocoa: fix ability to type AltGr characters and dead keys
...
It would seem that interpretKeyEvents/insertText would be the right way to do this, but while that does handle AltGr keys correctly, it does not handle dead keys at all. This approach seems to do the right things.
2018-03-29 14:22:59 +02:00
rdb
94385e865f
Merge remote-tracking branch 'origin/master' into input-overhaul
2018-01-28 14:31:45 +01:00
rdb
fe0c182830
cocoa: fix app launching regression on macOS
...
The regression was introduced by ef7f856c46
Fixes #227
2018-01-17 19:46:30 +01:00
rdb
962e6e31e4
Merge branch 'master' into input-overhaul
2018-01-03 14:46:13 +01:00
rdb
ef9803b25e
Changes to support compiling input-overhaul branch on macOS
2017-12-22 14:59:52 +01:00
rdb
ef7f856c46
cocoa: support windowless offscreen rendering on macOS
...
Fixes : #183
2017-12-20 14:27:08 +01:00
rdb
8b3ad7348e
cocoa: fix broken mouse events in fullscreen on macOS (LP 1500026)
2017-07-10 19:53:53 +02:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
573af61636
Merge remote-tracking branch 'eswartz/support-mouse-confinement-cocoa' into release/1.9.x
...
Closes : #20
2015-11-21 17:43:07 +01:00
rdb
de65c02ef2
Implement improvement upon eswartz' fix to properly handle programmatic window size changes on Mac OS X
...
Closes : #39
2015-11-21 17:34:37 +01:00
Ed Swartz
8746fd2252
Explicitly resizing window does not trigger event on OS X; do it ourselves
2015-06-15 10:03:38 -05:00
Ed Swartz
fc5a2e5e33
Implement confined mouse mode for OS X.
...
Note: it seems that using #set_pointer() will result in
a long delay before an absolute mouse position is updated,
even though deltas are reported.
Thus, in CocoaPandaView, the mouse deltas are sent for both
relative and confined modes, so client code (e.g. the "mouse
modes" demo) will be able to recenter the mouse without
choppy movement.
2015-04-30 17:57:00 -05:00
rdb
3f520cad01
Fix black screen when going to fullscreen on Mac OS X
2015-04-01 02:40:59 +02:00
rdb
10796fe33e
Fix unlockFocus error in release builds
2015-03-30 17:58:35 +02:00
rdb
f624cdcac0
Fix various Mac OS X bugs and build issues
2015-03-25 19:43:21 +01:00
rdb
a65b477734
Commit patches by cfsworks:
...
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb
e9ec2cbf78
Implement get_keyboard_map on Mac OS X
2014-03-17 09:41:04 +00:00
rdb
0b99086e8c
Improve key events on Cocoa: add support for the brand new raw key event system, distinguish between left/right modifier keys, fix the lack of down event on help/insert key, fix the lack of up-event while command is pressed
2014-03-08 20:58:03 +00:00
rdb
9866d2d69f
Fix shift modifier (keys were sent as shift-A instead of shift-a) and add some more key input debug info
2013-03-06 22:10:04 +00:00
rdb
4166327919
Fix some special keys, specifically backspace (it was mismapped to delete)
2012-11-08 13:35:48 +00:00
rdb
4017e1897d
Backport to work on Leopard as well
2012-11-04 13:56:09 +00:00
rdb
6a98f97c9b
support pre-10.6 OSX
2012-11-03 13:39:53 +00:00
rdb
1f0304c696
new Cocoa graphics pipe is now fully functional
2012-08-03 12:14:04 +00:00
rdb
e79c9aef46
more changes
2012-06-13 17:26:21 +00:00
rdb
b71bca5c49
a lot of improvements
2012-06-07 07:52:56 +00:00
rdb
24cdca64e7
Brand new Cocoa display module
2012-05-25 10:38:47 +00:00