rdb
c6990b9f9b
prc: fix possible stack overflow in StreamReader
...
Fixes #754
2019-10-08 19:44:23 +02:00
rdb
3c9591cfbf
interrogate: envelop function calls in parentheses
...
This reduces the risk of calling a preprocessor macro instead of a method.
2019-10-08 19:43:34 +02:00
rdb
fb5440bd07
cppparser: hack fix for method defs in parentheses
2019-10-08 19:43:34 +02:00
rdb
0247f9e3fa
physics/particlesystem: remove some unused macros
2019-10-08 19:43:17 +02:00
rdb
657af0edb5
cppparser: don't expand function-style macro if not followed by (
2019-10-07 18:38:21 +02:00
rdb
5b938278c2
physics: also add set_name/get_name if NDEBUG is set, for ABI compat
2019-10-07 11:36:58 +02:00
rdb
1eeea718c5
display: fix ABI compat with GraphicsStateGuardian flash texture
2019-10-06 11:54:31 +02:00
rdb
ec6638314c
general: remove some oddly-placed audio_error macros
2019-10-06 11:51:15 +02:00
Aidan Noll
984d70e8e0
dgui: update DirectScrolledList type checking for Python 2/3 compatibility
2019-10-05 21:10:05 +02:00
rdb
8b0256e0f9
glgsg: fix NV driver crash after deletion of buffer that is still bound to a generic attribute index not used by Cg shader after having been used by a GLSL shader directly prior if no shaders are used afterwards
2019-10-05 21:04:09 +02:00
rdb
3a19dfb62e
Fix load_dso error message sometimes being suppressed
2019-10-05 20:56:58 +02:00
rdb
4ceb494127
makepackage: allow Homebrew Python to find Panda3D libraries
2019-10-05 20:55:23 +02:00
rdb
9f9e1d8293
chan: print out actual anim info when showing AnimBundleNode in ls()
...
This allows one to more easily discover the animations present in a scene graph, such as when using bam-info -ls to inspect a .bam file.
2019-09-30 14:02:53 +02:00
rdb
66b338c112
mathutil: workaround for infinite loop in Triangulator
...
Fixes #737
2019-09-18 15:45:45 +02:00
rdb
343c808fc4
dtoolbase: fix repeated calls to TypeRegistry::ptr() in register_type
2019-09-16 21:09:15 +02:00
rdb
7fa373bd6a
makepanda: fix custom --python-incdir and --python-libdir on macOS
2019-09-16 21:07:13 +02:00
rdb
f4926bff20
Fix a variety of ABI compatibility issues
...
We need third-party extensions that link with the Panda3D libraries to continue to work when shipping them with the optimized libraries that deploy-ng uses. To do this, we need the optimized build not to omit symbols that these extensions might depend on.
2019-09-16 03:33:09 +02:00
rdb
5a23821ac1
notify: work around GCC 4.7 compilation issue with constexpr
...
This can be reverted on master if we can verify that it does work with GCC 4.8.
2019-09-16 03:27:22 +02:00
rdb
d7681b23d3
notify: fix ABI incompatibility with NDEBUG on Windows
...
On MSVC (not with GCC/clang), adding `static` changes the mangled symbol name, so we shouldn't add that when building with NDEBUG. On GCC/clang, it doesn't, but adding `const` does, and C++11 rules make `constexpr` methods implicitly `const`, so I've removed the `constexpr` variants from NotifyCategoryProxy for now. Hopefully the compiler is still smart enough to compile out any references when compiling with NDEBUG.
2019-09-15 20:24:58 +02:00
rdb
72b1814331
interrogate: fix comment in C bindings for default arguments
...
Fixes #732
2019-09-10 09:37:25 +02:00
rdb
b3f3f53e01
interrogate: fix missing std:: prefix for string_holder
2019-09-10 09:37:25 +02:00
Paul m. p. P
35b80d0751
interrogate: add missing async/await keywords
...
Closes #735
2019-09-10 09:37:24 +02:00
rdb
5339b8239c
dist: style fix for None comparison in FreezeTool.py
2019-09-08 09:51:41 +02:00
rdb
05ed918d63
general: mark deprecated methods with the @deprecated tag
...
This makes them easier to find and, if necessary, automatically generate deprecation warnings for.
2019-09-08 09:50:28 +02:00
Ian Eborn (Thaumaturge)
73d6c52da6
deploy-ng: fix typo in FreezeTool.py
...
This causes an error when a module referenced by a star pattern doesn't exist.
Fixes #721
Closes #725
2019-09-07 09:45:06 +02:00
rdb
8b241b8c18
windisplay: fix issues with losing mouse cursor confinement
...
Fixes #727
Fixes #729
2019-09-06 15:36:36 +02:00
rdb
e535473b65
tkwidgets: fix missing sys import from Valuator.py
...
[skip ci]
2019-09-06 14:12:04 +02:00
rdb
7f7cbd1c25
tests: add Filename unit tests for fspath protocol in particular
2019-09-04 12:40:58 +02:00
rdb
ba1023efa9
stdpy: clarify comment to indicate os.PathLike is supported in open()
2019-09-04 12:26:43 +02:00
rdb
323f74cb55
event: squelch unprotected NewFrame event spam warning
2019-09-04 10:19:01 +02:00
rdb
79c71a5d97
pgraph: fix missing includes of *Collection classes in nodePath.h
2019-09-03 22:46:18 +02:00
rdb
2e03eb405b
deploy-ng: handle .pz and .gz models correctly
2019-09-03 22:45:40 +02:00
rdb
57ff1a5441
interrogate: remove vestigial code causing assert for C bindings
...
Fixes #722
2019-09-03 12:15:02 +02:00
rdb
191a5b09e9
bin2c: fix compilation warning
2019-09-01 21:46:41 +02:00
rdb
4d254177ba
general: Fix missing notifyCategoryProxy.h includes
2019-09-01 21:44:42 +02:00
rdb
d843c5c198
deploy-ng: use median cut algorithm when palettizing icon
...
This prevents infrequently occurring colors from being washed out.
See #718
2019-08-28 22:58:59 +02:00
rdb
28d9a33db4
deploy-ng: fix an exception when all icon images could not be read
2019-08-28 22:58:50 +02:00
rdb
833f778cb7
pnmimage: add quantize feature to reduce number of colors in image
2019-08-28 22:44:16 +02:00
rdb
00376c9d0a
deploy-ng: fix some Python 3 issues in icon generation code
...
See #718
2019-08-28 22:41:58 +02:00
rdb
61a276f49a
tests: add some ModifierButtons unit tests
2019-08-28 11:04:20 +02:00
rdb
88f8071dfc
tests: add unit tests for direct.showbase.Loader.Loader class
2019-08-22 10:45:36 +02:00
rdb
2575c01261
Loader: fix passing a tuple to loader.loadModel
2019-08-22 10:44:34 +02:00
rdb
f0ba25e11d
tests: work around Python 2.7 tempfile case bug on Windows
2019-08-20 14:40:15 +02:00
rdb
7d34526c33
tests: fix OS-specific filename issue on Windows with loader tests
2019-08-20 14:00:15 +02:00
rdb
b23561d863
tests: add unit tests for Python loader file types
2019-08-20 13:23:11 +02:00
rdb
f63b3a86b9
loader: add LoaderFileTypeRegistry.unregister_type()
2019-08-20 13:23:11 +02:00
rdb
c2f49f4c4a
loader: a few additional checks for Python loader plug-ins
2019-08-20 13:23:11 +02:00
rdb
d5a576f3cb
Bump version number on release/1.10.x branch to 1.10.5
2019-08-20 13:23:11 +02:00
rdb
64982f8b14
makepanda: makepackage/makewheel take default version from setup.cfg
...
dtool/PandaVersion.pp is obsolete and will be removed soon.
2019-08-20 13:23:11 +02:00
rdb
0265ee8ef8
readme: update version number in links to 1.10.4.1
...
(Though, it doesn't matter much for the thirdparty packages, as the contents are identical to 1.10.4)
2019-08-20 13:13:55 +02:00