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
tc
96bb90b5e9
cocoa: guarantee 24bit depth when Config.prc has `depth-bits` set to `1`
...
Checks if the value of Config.prc for `depth-bits` is `1` and sets it
manually to 24.
This prevents getting a 16 bit depth buffer on macos
Intended to address #501
Closes #551
2019-02-07 22:26:54 +01:00
Donny Lawrence
2c513ba1c4
Move handle_close_event() call to windowShouldClose, which only triggers when the close button is pressed by the user.
2019-01-13 19:07:43 -05:00
Donny Lawrence
d51db6e39e
Fix an instance where a macOS window will stick around when trying to have it destroyed.
...
This commit also removes an extraneous call to [_window setReleasedWhenClosed], which is already set in cocoaPandaWindow's init method.
2019-01-13 11:54:56 -05:00
Sam Edwards
3122bf3506
CMake: Fix p3device build on macOS
2018-12-29 04:52:26 -07:00
Sam Edwards
3b194c75e4
Merge branch 'master' into cmake
2018-12-28 22:15:44 -07:00
Sam Edwards
66d145e2d2
CMake: Oops, fix some macOS linkage mistakes
2018-12-28 22:14:05 -07:00
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
Sam Edwards
7d6386f2de
CMake: Change some stray "Panda" install components with "Core"
2018-12-11 17:27:37 -07:00
Sam Edwards
99fee1a64d
CMake: Assign COMPONENT and EXPORT to all targets
2018-12-06 17:48:44 -07:00
Donny Lawrence
8a0f438156
Get rid of the flickering that occurs on Mojave as a result of changes in the way AppKit handles view layers.
2018-12-03 23:05:05 -05:00
rdb
cc08bacec5
cocoa: fix compilation error
2018-11-30 17:13:35 +01:00
Sam Edwards
8df53698f4
CMake: Add missing .h/.I files that weren't getting installed
2018-11-28 16:13:05 -07:00
rdb
26fcf131c9
Merge branch 'master' into input-overhaul
2018-11-25 17:10:31 +01:00
Sam Edwards
6b26889e7e
Merge branch 'master' into cmake
2018-11-12 15:41:42 -07:00
rdb
f629a5df1a
cocoa: don't enable sRGB unless it was explicitly requested
...
Fixes #443
2018-11-09 18:25:07 +01:00
Sam Edwards
62f7aabe91
Merge branch 'master' into cmake
2018-11-01 22:33:04 -06:00
rdb
357b6d3093
Merge branch 'master' into input-overhaul
2018-10-29 23:40:46 +01:00
rdb
ed96a52703
cocoa: cautiously enable sRGB framebuffers on macOS
...
[skip ci]
2018-10-28 20:41:14 +01:00
Sam Edwards
2d80d6d063
general: Add missing includes and remove deprecated type
...
Credit for missing includes to @treamology in Git commit
16cfac4829
CGTableCount removed; modern macOS seems to call this
a uint32_t instead. I can find no reference to CGTableCount
in any documentation, and the (very old) source code I dig
up just typedefs it anyway.
2018-10-14 15:50:06 -06:00
Sam Edwards
b3f1b7d40b
Merge branch 'cmake' of https://github.com/treamology/panda3d into cmake
...
# Conflicts:
# .travis.yml
# direct/src/showbase/CMakeLists.txt
# dtool/dtool_config.h.in
# dtool/src/prc/CMakeLists.txt
# panda/src/cocoadisplay/CMakeLists.txt
# panda/src/express/CMakeLists.txt
# panda/src/osxdisplay/CMakeLists.txt
2018-10-14 02:26:56 -06:00
rdb
e30b597926
Merge branch 'master' into input-overhaul
2018-09-16 12:28:22 +02:00
Sam Edwards
208ecd6708
Merge branch 'master' into cmake
2018-09-02 16:06:41 -06:00
Sam Edwards
4695557a5d
general: Don't require BUILDING_* for static builds
2018-08-31 23:54:32 -06:00
Sam Edwards
2ab77d9a27
Merge branch 'master' into cmake
2018-08-14 21:59:45 -06: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
Sam Edwards
600590ed7a
CMake: Update BUILDING_ defines for upstream
2018-06-12 16:23:32 -06:00
Sam Edwards
ed2b3017d4
Merge branch 'master' into local/cmake-merge
2018-06-12 16:19:30 -06:00
Sam Edwards
a971bc1dfc
general: Break apart BUILDING_PANDAGL
2018-06-12 16:15:45 -06:00
Sam Edwards
c4126942f6
Merge branch 'master' into cmake
2018-06-10 02:29:21 -06:00
rdb
ba2de46beb
Merge branch 'master' into input-overhaul
2018-06-08 15:23:47 +02:00
Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards
592a2e2d68
Merge branch 'master' into cmake
2018-06-06 13:18:12 -06:00
Donny Lawrence
16cfac4829
Add missing macOS-specific imports
2018-06-05 17:31:00 -05: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
Donny Lawrence
87a05913f8
Remove redundant conditional, add missing newline
2018-05-28 17:38:32 -05:00
Donny Lawrence
e0bc369174
Make sure libs are installed, delete extraneous whitespace
2018-05-28 15:57:15 -05:00
Donny Lawrence
beec6578c8
Fix CMake build issues on macOS.
2018-05-17 15:41:31 -05:00
Sam Edwards
1fcb8a2748
CMake: Skip optional subdirectories in a cleaner way
...
Instead of wrapping the whole subdirectory's CMakeLists in
a gigantic if block, we use if(NOT HAVE_FOO) + return()
This is tidier since it keeps the indentation generally consistent
across all CMakeLists files.
2018-04-20 02:26:47 -06:00
Sam Edwards
449195a33d
CMake: Define appropriate BUILDING_ symbols
2018-03-31 04:24:06 -06:00
Sam Edwards
25b13ad199
Merge branch 'master' into cmake
2018-03-31 04:23:49 -06:00