23566 Commits

Author SHA1 Message Date
rdb
1b4035f29a device: move HID API definitions to separate header file 2019-02-06 21:56:47 +01:00
rdb
aadc62a96c device: fix inability to detect devices with pipelining enabled
This is because the message window is being created in the main thread, but there is nothing processing messages in the main thread.
2019-02-06 21:51:06 +01:00
rdb
63d2992d5e egg: add ability to read <Tangent> with four components
This is not intended to be used just yet in 1.10, but already added in preparation for changes on master to support #546.  I'm just allowing Panda to parse the syntax ahead of time to reduce potential .egg incompatiblities.
2019-02-05 00:30:54 +01:00
rdb
2afd604c9d collide: implement capsule-into-invsphere and box-into-invsphere tests 2019-02-04 23:50:53 +01:00
rdb
e967368468 collide: add capsule-into-polygon test
Need to find a better solution for the interior point calculation when the capsule is hitting a polygon edge with the cylindrical part.  The current approach pushes the capsule back too much.
2019-02-04 23:45:19 +01:00
rdb
16d5c27a57 collide: remove unused legacy_to_3d method 2019-02-04 23:38:02 +01:00
rdb
22cac1cdf9 device: fix stack corruption crashes on 32-bit Windows 2019-01-31 18:23:29 +01:00
rdb
86c266fd88 Merge branch 'release/1.10.x' 2019-01-31 00:58:29 +01:00
rdb
3a6f7fcde1 dtoolbase: docstring clarification for record_python_type
[skip ci]
2019-01-31 00:11:21 +01:00
John Cote
2627c433d6 particles: Import SpriteAnim in Particles.py
Fixes #544
Closes #545
2019-01-31 00:06:34 +01:00
rdb
0ba1235d35 ShaderGenerator: print out generated shader in spam output mode 2019-01-31 00:05:23 +01:00
rdb
1d9334f578 parser-inc: add atomic_int, etc. typedefs 2019-01-30 23:59:34 +01:00
rdb
0e447b7429 ShaderGenerator: do shadow map calcs in fshader if out of varyings
If too many shadow-casting lights are active, too many TEXCOORD varyings will be used and a shader compilation error will be displayed.  Instead, Panda will now just do the calculation in the fragment shader if not enough varyings are available.  It's slower, but better than crashing.
2019-01-30 23:54:22 +01:00
rdb
dc8f01df8a ShaderGenerator: pack eye-space normal to save one varying
Only when normal mapping is enabled.
2019-01-30 23:51:50 +01:00
rdb
ffa0c74402 Merge branch 'release/1.10.x' 2019-01-26 20:18:02 +01:00
rdb
376cef51c4 interrogate: fix Python 3 crash with optional std::wstring args
This would cause PyMem_Free to be called on an uninitialized pointer if a default argument was not specified.

Fixes #542
2019-01-26 19:27:50 +01:00
rdb
403e56817a dtoolbase: fix x86 compilation error on Android 2019-01-26 19:22:44 +01:00
rdb
d8891674e3 Merge branch 'release/1.10.x' 2019-01-23 23:28:28 +01:00
rdb
0b087ecf92 installpanda: create intermediate directories with mode 0755 too
Fixes #541
2019-01-23 23:23:33 +01:00
rdb
3cc9e49469 installpanda: fix issues installing includes to existing dir 2019-01-23 23:07:15 +01:00
rdb
9d12a4c437 general: improvements to doxygen API reference:
* In C++ reference, only pick up classes defined in .h file
* Add a few excludes to C++ reference that aren't public API
* On class index pages, reduce number of columns
* Add @since for some methods/classes that are new in 1.10.0
* Fix/improve a few docstrings here and there
2019-01-23 22:24:02 +01:00
rdb
66655aae85 device: fix incorrect features when printing InputDevice 2019-01-21 15:32:22 +01:00
rdb
fc90ca7fdf Merge branch 'release/1.10.x' 2019-01-20 17:02:15 +01:00
rdb
eef2a93163 makepanda: allow building for Android from Windows machine 2019-01-20 15:59:08 +01:00
Sam Edwards
d961514892 CMake: Use string/list(APPEND foo ...) instead of set(foo ${foo} ...) 2019-01-19 17:01:36 -07:00
rdb
c0b973b789 makepanda: support cross-compiling for Android again 2019-01-20 00:32:26 +01:00
rdb
7968022c23 Fix some warnings comparing char against EOF
This is not possible on platforms where char is unsigned.  In cases where fail() is checked, it is also unnecessary.
2019-01-20 00:31:43 +01:00
rdb
ba4036e290 prc: clear error flag if loading deploy-ng blobinfo fails 2019-01-19 23:12:46 +01:00
rdb
6eca44464e load_dso: prevent load_dso_error() from returning old error
This happens if load_dso fails due to being unable to find the file, but not setting the dlerror flag and therefore causing a misleading error message to be shown.
2019-01-19 23:10:46 +01:00
rdb
7d09451b2d display: remove unused iterator variable 2019-01-19 23:08:14 +01:00
rdb
73076c7115 android: add missing include for open() definition 2019-01-19 23:04:19 +01:00
rdb
85ca6f66f2 makepackage: add some missing imports 2019-01-19 23:02:30 +01:00
rdb
e4f0a9ce32 pgraph: allow getting NodePath from CullTraverserData in Python 2019-01-19 22:59:51 +01:00
LD
1389ada384 setuptools: os.makedirs does not support 'exist_ok' parameter in Python2
Closes #540
2019-01-19 22:56:54 +01:00
Sam Edwards
8c4dfd7a70 CMake: Move compiler flag detection to its own file 2019-01-19 13:22:20 -07:00
Sam Edwards
404cfa3fff CMake: Install audiotraits headers 2019-01-13 21:03:01 -07: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
rdb
cb375f5758 Merge branch 'release/1.10.x' 2019-01-13 22:35:18 +01:00
Sam Edwards
2298aba578 CMake: Correct order for {opus,vorbis}file libs 2019-01-13 14:24:35 -07:00
Sam Edwards
955081f81f movies: Fix missing includes in {opus,vorbis}AudioCursor.cxx 2019-01-13 13:59:08 -07:00
Younguk Kim
5a9a87d2c1 makepanda: fix link error of assimp tool
Closes #535
2019-01-13 21:49:41 +01:00
Sam Edwards
0ff6787c1c CMake: Fix compatibility with CMake 3.0
`x GREATER_EQUAL y` wasn't added until 3.7, so
instead this uses `NOT x LESS y`
2019-01-13 13:00:56 -07:00
Sam Edwards
052004d06b CMake: Detect Opus 2019-01-13 12:04:48 -07:00
Sam Edwards
8a2375a5f1 CMake: Detect Ogg+Vorbis 2019-01-13 11:58:09 -07:00
Sam Edwards
615a1d205d CMake: Modify Find*.cmake to trust find_*()'s caching 2019-01-13 10:45:03 -07: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
rdb
095d6ac818 readme: fix link to development builds
Closes #533

[skip ci]
2019-01-13 15:19:06 +01:00
rdb
ec08fff3a7 travis: enable Discord notification 2019-01-13 12:22:09 +01:00
Sam Edwards
a0e12f4211 CMake: Use the SKIP_COMPOSITING flag on some files
Files excluded from compositing are (from makepanda):
dtool/src/dtoolbase/indent.cxx
panda/src/display/graphicsStateGuardian.cxx
panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx
panda/src/grutil/multitexReducer.cxx
panda/src/pgraph/nodePath.cxx
panda/src/pnmimage/convert_srgb_sse2.cxx (due to being compiled w/ SSE2)
2019-01-12 15:00:03 -07:00
Sam Edwards
986377b131 CMake: Make CompositeSources skip sources with SKIP_COMPOSITING property 2019-01-12 15:00:03 -07:00