Commit Graph

23166 Commits

Author SHA1 Message Date
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
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
rdb 13e91135e5 downloadertools: remove show_ddb 2019-09-06 11:46:09 +02:00
rdb 8b8796e9df express: remove libtar dependency
We haven't built with this for many years, and apparently nobody has missed it, so… good riddance?
2019-09-06 11:21:15 +02:00
rdb aef81aceab downloadertools: remove apply_patch and build_patch
These seem to be unused.  Let me know if this is not the case.
2019-09-06 11:19:21 +02:00
rdb 55d5fe30e6 bullet: release GIL during expensive do_physics call
Fixes #726
2019-09-06 10:37:59 +02:00
rdb d1d244dfd2 pipeline: per-frame output message should be spam, not debug 2019-09-06 09:48:11 +02:00
rdb b4fd82b812 load_dso: we can expect LoadLibraryExW to be available 2019-09-06 09:46:57 +02:00
rdb d92b440617 Merge branch 'release/1.10.x' 2019-09-06 09:46:20 +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 35135ea0e1 Merge branch 'release/1.10.x' 2019-09-01 21:54:57 +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 7b5f818ab2 tests: convert makepanda/test_imports.py to a unit test 2019-08-26 10:07:58 +02:00
rdb 39224c651d test_wheel: remove temp hack for pip 19.2.2, as 19.2.3 is released
The hack was introduced in 22833686e3

[skip ci]
2019-08-25 10:03:04 +02:00
Sam Edwards abc941245e general: Fix missing includes (and one forward declaration) 2019-08-24 18:05:28 -06:00
rdb 5e7e64179b cleanup: fix a host of unprotected debug/spam messages 2019-08-23 18:58:57 +02:00
rdb 1ec7c5d20e Delete pystub, it is no longer needed or used for anything. 2019-08-23 18:58:53 +02:00
Sam Edwards 6c3013a29c dcparser: move Python-specific code to extension files
We can now build dcparser without linking to Python and dcparse.exe's dependency on pystub is removed.

Co-authored-by: rdb <git@rdb.name>
2019-08-23 18:58:19 +02:00
Sam Edwards 36df3bdf0b dcparser: Delete dcPython.h
py_panda.h has the same purpose; we also don't want
Python.h brought in from the headers (only from the
.cxx files) so that including the headers won't require
linkage against Python.
2019-08-23 13:15:36 +02:00
rdb 0e4597fb2e cppparser: fix finding types in explicitly specialized template class 2019-08-23 13:15:36 +02:00
rdb 8c40ff39d7 bullet: fix contact added callback behavior
The API seems to imply that the callback is per-world, when it is actually a global setting.  This fixes it to truly behave per-world.  This also fixes a crash on shutdown caused by the callback destructing when the Python interpreter is already shutting down.

Fixes #712
2019-08-23 12:18:47 +02:00
rdb 665d2fc56b Merge branch 'release/1.10.x' into incoming 2019-08-23 10:53:09 +02:00
rdb 806496d191 ffmpeg: proper fallback when compiling without libswscale
Compiling with libswscale isn't really optional if you want to play most video files, but if you know what you are doing and all your videos already have a supported pixel formats, it is now possible.

Fixes #711
2019-08-23 10:51:52 +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