rdb
e2177ecbdb
Merge branch 'release/1.10.x'
2020-04-26 00:16:25 +02:00
rdb
c59a039fa8
pgraph: fix RenderState/TransformState count in PStats exploding
...
This was a regression in 1.10.6 that caused PStats to misreport the amount of RenderState/TransformStates in the application.
2020-04-25 23:39:03 +02:00
Ashwini
80ab6a28c4
pnmimage: Added offset to add_sub_image and mult_sub_image
...
Closes #903
2020-04-25 22:56:40 +02:00
Joel Stienlet
f2e67169bc
corrects bug: wrong case entered in MultiplexStreamBuf::Output::write_string() in panda/src/downloader/multiplexStreamBuf.cxx
...
Closes #902
2020-04-25 22:19:34 +02:00
rdb
ba010168cf
tests: more improvements to test suite coverage
2020-04-25 14:44:43 +02:00
rdb
98c82ddb9c
wxwidgets: don't create ShowBase instance upon importing WxPandaShell
2020-04-25 14:33:39 +02:00
rdb
46b29a136e
workflow: call apt-get update before installing Ubuntu dependencies
2020-04-25 10:40:58 +02:00
Donny Lawrence
afba3ba01c
makewheel: Support deps referenced by @rpath
...
The new CMake build system uses @rpath rather than @loader_path when
specifying a library's dependencies. Since rpaths are set by the
executable, we don't need to do any path manipulation to relocate the
libraries to a .app bundle like we do with @loader_path.
Fixes #913
2020-04-25 10:37:59 +02:00
rdb
ad296492f8
tests: add more TextureAttrib comparison tests
...
This will hopefully cover all the lines that are hit non-deterministically by codecov.
2020-04-25 10:36:23 +02:00
rdb
f56f06b65c
CMake: fix missing Coverage config in multi-config generators
2020-04-25 10:34:12 +02:00
rdb
00305bccae
device: fix failure to open message-only window
...
Not sure why I was getting this, but this seems to fix it
2020-04-13 15:10:29 +02:00
rdb
c40aa7addc
egg: remove register keyword from lexer.cxx.prebuilt
2020-04-13 15:10:29 +02:00
rdb
8cb213ce8a
CMake: fix broken pzip files on Windows
...
It seems piping isn't working properly for binary data
2020-04-13 15:10:28 +02:00
rdb
df4d6fd2dd
CMake: don't build egg2dae
...
This is not a finished tool, which is why we don't build it in makepanda
2020-04-13 15:10:28 +02:00
rdb
565f97b3b9
CMake: properly default build type to Standard
...
This wasn't being set properly because it needs to be set before the project() call
2020-04-13 15:10:20 +02:00
rdb
2cb8f69f61
CMake: enable CMP0091, fixes lack of /MD flag with Ninja+clang-cl
2020-04-13 13:19:12 +02:00
rdb
ffed048c3e
CMake: NOTIFY_DEBUG should be turned on in Standard build
2020-04-13 13:17:51 +02:00
rdb
00b81f381a
prc: give StreamWrapperBase virtual destructor (fixes compile error)
...
The compile error was observed with VS 2019 + clang-cl + Ninja + CMake in a Standard build on Windows 10.
2020-04-13 13:15:58 +02:00
rdb
d403b16249
dtoolutil: fix compile warnings on Windows
2020-04-13 12:33:02 +02:00
rdb
202a871a7e
showbase: remove wantUberdog from builtin scope
...
Applications that need it can trivially copy it to their own modules.
Closes #895
2020-04-13 12:25:16 +02:00
rdb
a55aa02a70
Add .DS_Store to .gitignore
...
Closes #900
[skip ci]
2020-04-13 12:17:05 +02:00
rdb
9e80282aff
dist: replace p3fmod_audio with p3openal_audio if former is missing
...
This helps when deploying to macOS, where p3fmod_audio is the default for 1.10 builds, a fact that is very easy to overlook when deploying to macOS and only including the p3openal_audio plug-in.
2020-04-02 22:34:04 +02:00
rdb
69296585a4
dist: make config.prc handling a bit more robust
...
Strip comments after value, don't look for variable names mid-string, and sort the prc files deterministically.
2020-04-02 22:31:13 +02:00
Mitchell Stokes
46dc9444d3
SceneGraphAnalyzer: Use smarter units for byte sizes in write()
...
Values above 10 MiB are displayed in MiB and values above 4 GiB are
displayed in GiB.
Closes #881
2020-04-02 13:53:56 +02:00
Derzsi Dániel
7ce1a9ffed
direct: Fix RuntimeError during ControlManager deletion
...
Closes #884
2020-04-02 13:52:47 +02:00
rdb
a01711148b
tests: add an assorted variety of unit tests
...
I'm mostly trying to make sure we have over-coverage for a couple of places that are being hit intermittently by our current unit tests, generating noisy codecov reports. If we make sure these places are hit always, we hopefully won't have codecov misreport lost/gained coverage for unrelated changes.
2020-04-02 13:45:09 +02:00
rdb
b511eabb0f
display: fix fallback of SMO_light_source_i_packed shader input
...
This is not actually used by anything, but we might as well ensure that it's set to something sensible
2020-04-02 12:41:14 +02:00
rdb
088a1f3774
display: fix crash with oversized p3d_LightSource array
...
This was a regression in 89f1a0e63c
Closes #897
2020-04-02 12:32:20 +02:00
rdb
94571aac93
collide: improve performance of colliding with visible geometry
2020-04-01 20:31:19 +02:00
rdb
b306806512
char: add joint property to JointVertexTransform
2020-04-01 20:31:19 +02:00
rdb
f192a0cdb6
gobj: more efficient pickling support for InternalName
...
Rather than going through the TypedWritable/bam route, this encodes InternalNames in a more compact and efficient manner.
2020-04-01 20:31:19 +02:00
rdb
9d8c523dfa
putil: Assorted improvements to BitArray, SparseArray, *BitMask*:
...
* Support converting BitMask types to int
* BitArray constructor accepts a Python long of arbitrary size
* DoubleBitMask (and QuadBitMask, by extension) supports Python long in constructor
* Support for pickling (except DoubleBitMask)
* All of them now properly define __bool__()
* More unit tests
Fixes #886
2020-04-01 20:31:16 +02:00
rdb
a203ff11fc
interrogate: support __getstate__ and __setstate__
...
The latter in particular will be called instead of __init__, so must construct the object.
2020-04-01 18:59:44 +02:00
rdb
a34867ae4f
interrogate: support __int__ -> nb_int slot mapping
2020-04-01 18:59:44 +02:00
rdb
e4819f2b5c
pipeline: fix compilation error on Windows with simple threading
2020-04-01 18:59:44 +02:00
rdb
30d9f88f8e
Merge branch 'release/1.10.x'
2020-04-01 18:53:00 +02:00
rdb
bff4733ef6
workflow: Fix failure to invoke tests
2020-04-01 18:50:57 +02:00
rdb
73ea170f2b
showbase: improve docstrings of ShowBase and ShowBaseGlobal
2020-04-01 18:32:22 +02:00
rdb
064da09cf0
putil: add pickling support to Datagram class
2020-04-01 18:25:43 +02:00
rdb
1c6d57f92b
CMake: Write panda3d/dtoolconfig.py like makepanda does
2020-04-01 12:19:03 +02:00
rdb
c4c99ca24a
CMake: fix bad location of panda3d/__init__.py in multiconfig build
2020-04-01 12:19:03 +02:00
rdb
fc71fef27d
deploy-stub: chdir to Resources dir in GUI macOS app bundle
...
This prevents a common error of trying to load non-Panda3D assets without specifying $MAIN_DIR. We aren't currently making any guarantees about the cwd (which may in fact be / when launching from Finder), so I think this is safe.
2020-03-30 15:54:50 +02:00
rdb
b05ae1f762
tform: fix MouseWatcher ABI incompatibility with NDEBUG builds
2020-03-30 14:06:39 +02:00
rdb
cefc92a775
glgsg: fix wrong shadow buffer host when rendering scene to buffer
...
Fixes #890
2020-03-30 14:02:31 +02:00
rdb
c81bfb09b7
shader: default fog exponential density to 0 if fog is disabled
2020-03-30 14:01:50 +02:00
rdb
8672054e30
showbase: fix erroneous docstring (audio unit is metres by default)
2020-03-30 13:57:15 +02:00
rdb
b286780ae6
pgraph: fix typo in comment
2020-03-30 13:56:55 +02:00
rdb
6a7bd49296
dist: don't warn about missing libc++.1.dylib on macOS
2020-03-30 13:55:59 +02:00
rdb
5489f66a62
Bump version number on release/1.10.x branch to 1.10.7
2020-03-30 13:52:11 +02:00
rdb
783c721cef
makewheel: strip codesign signature on macOS from libpython3.x.dylib
...
This is necessary because install_name_tool invalidates the signature, which causes the whole app to fail validation and refuse to open.
2020-03-29 15:34:01 +02:00