24269 Commits

Author SHA1 Message Date
Sam Edwards
5961cc2ee0 Merge branch 'master' into cmake 2019-10-05 15:00:49 -06:00
rdb
114a7c0995 Merge branch 'release/1.10.x' 2019-10-05 21:13:42 +02:00
rdb
207263c1a8 display: handle resource releases in batches, not individually
This is intended to eventually replace the old interface, since GSGs may be able to do a batch of prepare/release operations more efficiently.
2019-10-05 21:13:32 +02:00
rdb
802a08b146 glgsg: fix unnecessary create-delete-create of new textures 2019-10-05 21:13:22 +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
12e71ff1a6 Merge branch 'release/1.10.x' 2019-09-30 14:03:50 +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
6c0a4c722c dist: fix various errors in icon.py 2019-09-30 13:51:40 +02:00
Sam Edwards
aadcb179d6 CMake: Change default build type to Standard 2019-09-21 02:45:46 -06:00
Sam Edwards
9bb59b03b9 CMake: Add several essential flags
See GH #717 for relevant discussion
2019-09-19 22:33:11 -06:00
Sam Edwards
bd1605907e CMake: Rename 'Distribution' config to 'Standard'
This is the configuration shipped to Python developers
in the form of the public SDK.
2019-09-19 22:18:28 -06:00
Sam Edwards
8429f50d3a CMake: Use -fno-rtti on most build configurations 2019-09-19 04:44:46 -06:00
rdb
66b338c112 mathutil: workaround for infinite loop in Triangulator
Fixes #737
2019-09-18 15:45:45 +02:00
Sam Edwards
9645aaee07 CMake: Fix generated pandac.PandaModules on Py2
Python 2 doesn't use the fully qualified module name in
its ImportError output; only the local name. Test for that.
2019-09-18 01:13:33 -06:00
Sam Edwards
fe7fdc0976 CMake: Reclassify direct/distributed/ headers as installed headers 2019-09-16 17:43:03 -06:00
rdb
ee12f19267 Enable continuous integration workflow using GitHub Actions 2019-09-16 21:45:23 +02:00
rdb
5242b6a8b4 interrogate: remove apparently-unused definition 2019-09-16 21:22:16 +02:00
rdb
9d14117ad3 Merge branch 'release/1.10.x' 2019-09-16 21:20:20 +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
52f590e90a CMake: do not use test_imports.py, it has been removed 2019-09-16 13:58: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
Mitchell Stokes
660249a5cc Remove p3d/AppRunner/plugin system
Co-authored-by: rdb <git@rdb.name>

Closes #734
2019-09-10 16:49:57 +02:00
fireclawthefox
4d9bfe76f4 tests: Added Tests for most DirectGuiBase features
Closes #731
2019-09-10 16:36:13 +02:00
rdb
2c42cfcc1a Merge branch 'release/1.10.x' 2019-09-10 16:34:11 +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
086cb1ee6d tests: fix return statement that should be a continue 2019-09-06 16:18:44 +02:00
Paul m. p. P
ec1c3ef347 extract_docs: fix reference to undefined typename
Closes #730
2019-09-06 16:02:51 +02:00
rdb
df848965fb showbase: *Global.py modules should not export 'sys' module 2019-09-06 16:02:51 +02:00
Paul m. p. P
a667a303bd parser-inc: fix missing include to pick up PyObject
Closes #723
2019-09-06 16:02:51 +02:00
rdb
9415ca811d parser-inc: remove obsolete libtar.h file 2019-09-06 16:02:51 +02:00
rdb
6428e1b3cb Merge branch 'release/1.10.x' 2019-09-06 15:51:34 +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
504257f4d2 ParticleEffect: loadConfig should respect model-path
Fixes #687
2019-09-06 14:11:13 +02:00
rdb
31a054c933 tkwidgets: change how TreeNode icons are located/loaded
This makes it follow the regular resolution rules of the model-path and doesn't risk a RuntimeError when importing the module.
2019-09-06 14:01:55 +02:00
rdb
53ff35dd6e tests: fix test_imports not to import things starting with 'lib' 2019-09-06 13:44:03 +02:00
Sam Edwards
9512b2274b CMake: Remove libtar, unneeded downloadertools progs 2019-09-06 04:07:42 -06:00
Sam Edwards
dbe7a2f94b Merge branch 'master' into cmake 2019-09-06 04:05:12 -06:00
rdb
2e198fd2ef downloadertools: remove check_adler, check_md5, check_crc
Tools to check hashes are readily available from thirdparty sources; there is no good reason why a 3D engine should provide them.
2019-09-06 11:55:17 +02:00