23630 Commits

Author SHA1 Message Date
rdb
c81c506df3 express: Fix PointerToArray comparison operator 2021-01-01 17:54:09 +01:00
rdb
b2462c1d8c express: Support pickling PointerToArray objects 2021-01-01 17:42:30 +01:00
rdb
52b4df4aec stdpy: Expose DEFAULT_PROTOCOL and HIGHEST_PROTOCOL in direct.stdpy.pickle 2021-01-01 17:41:34 +01:00
rdb
e755f87130 pgraph: Add pickling for LoaderFileTypeRegistry
Useful to test that pickling singletons works
2021-01-01 17:08:55 +01:00
rdb
3a5201fd65 tests: Add tests for pickling DoubleBitMask 2021-01-01 17:08:34 +01:00
rdb
c77593f3f0 egg: add pickle support to most EggData classes 2021-01-01 17:06:23 +01:00
rdb
f8ce339960 collide: Add pickle support for most collision handlers
Also redo CollisionHandlerEvent pickling to use Datagram instead

Related to #1090
2021-01-01 16:56:18 +01:00
rdb
a7042091be py_panda: backport some py_compat.h definitions 2021-01-01 16:37:21 +01:00
rdb
9cb129597c stdpy: pickle improvements
* Define __all__
* Define missing exception types
* clear_memo() now clears Panda-specific state as well
2021-01-01 15:58:51 +01:00
rdb
99f9352e76 interrogate: improvements to __setstate__ handling:
* Force single arg variant, easing argument parsing
* Allow defining __setstate__ taking multiple args, leading to tuple unpack
* Allow __setstate__ to be called on already initialized object (useful with __reduce__)
2021-01-01 15:57:41 +01:00
rdb
152d317c8c egg: Fix egg lexer state not being cleaned up after error 2021-01-01 15:52:57 +01:00
rdb
339331c1ad egg: Add properties to EggAnimPreload 2021-01-01 15:51:23 +01:00
rdb
3e1d4aa6b5 interrogate: Fix memory leak in __setstate__ 2020-12-31 18:12:52 +01:00
rdb
1793c9a938 interrogate: Fix __setstate__ not working for subclasses 2020-12-31 18:11:50 +01:00
rdb
8852c835fc collide: Support pickling for CollisionTraverser, HandlerEvent+Queue
Fixes #1090
2020-12-31 16:57:34 +01:00
rdb
a5557bc38d stdpy: Fix pickle sometimes duplicating Panda objects
We have to unify multiple Python wrappers pointing to the same C++ object.
2020-12-31 16:55:34 +01:00
rdb
ac991e4c5e collide: Fix error with CollisionHandler's again_patterns property 2020-12-31 16:55:22 +01:00
rdb
8d22b80698 display: Fix memory leak in GSG::get_prepared_textures() 2020-12-31 16:43:37 +01:00
rdb
a6580f5dd3 physics: Fix GlobalForceGroup 2020-12-30 23:57:43 +01:00
rdb
f1a171bfd8 particles: Fix writing representation of AngularVectorForce 2020-12-30 23:57:27 +01:00
rdb
b6e8163f97 dist: Add remaining manylinux libraries to exclude_dependencies
Prevents getting errors about these being missing.
2020-12-30 23:57:27 +01:00
rdb
e0309a98aa dist: Remove liblzma, libreadline and libbz2 from exclude_dependencies
These are not part of the manylinux specs, and actually needed by the Python _lzma, readline, etc. modules.

This fixes the problem that these dependencies are not being picked up automatically.
2020-12-30 23:57:27 +01:00
rdb
42580a81de dist: Add hidden imports for pandas 2020-12-30 23:57:27 +01:00
rdb
b6809defec dist: Remove unused import 2020-12-30 23:57:27 +01:00
rdb
c141bef19b stdpy: Add missing threading.ThreadError 2020-12-30 23:57:27 +01:00
rdb
2ce373b0da distributed: Assorted error fixes 2020-12-30 22:53:15 +01:00
rdb
20f38cad66 direct: Fix a few remaining uses of file() instead of open() 2020-12-30 22:35:24 +01:00
rdb
b7124da4aa directutil: Fix use of removed file() 2020-12-30 22:34:44 +01:00
rdb
f7bd54b9ee directtools: Fix use of builtin direct instead of base.direct 2020-12-30 22:34:44 +01:00
rdb
65c1ef968c stdpy: Add PicklingError to pickle module 2020-12-30 22:34:44 +01:00
rdb
d3ebeee058 sceneeditor: Fixes for missing/extraneous/misplaced imports 2020-12-29 14:40:49 +01:00
rdb
58b9de70c1 travis: Only build release branch 2020-12-29 13:50:56 +01:00
rdb
2c209e0f02 stdpy: Fix direct.stdpy.pickle module for Python 3 2020-12-29 13:05:00 +01:00
rdb
7d5fee3066 Update version number on release/1.10.x branch to 1.10.9 2020-12-29 12:50:02 +01:00
rdb
90fb31ac21 ffmpeg: Fix crash cleaning up audio/video context 2020-12-28 16:23:04 +01:00
janEntikan
5dc5d009c1 extensions_native: fix missing include for subdivideCollision()
Closes #1084
2020-12-28 15:36:02 +01:00
rdb
f2e66a280c deploy-stub: Fix immediate exit on Windows if no log_filename is set 2020-12-28 15:27:56 +01:00
rdb
21aa31f8c0 gobj: Fix build error on Windows 2020-12-28 12:07:17 +01:00
rdb
d39d40b1fc readme: Update version number in download link to 1.10.8
[skip ci]
v1.10.8
2020-12-27 11:06:21 +01:00
rdb
e7a6d735e3 dgui: Add "versionadded" to docstrings of newly added methods 2020-12-27 10:48:12 +01:00
rdb
2b0a6b995a display: Add a way to query system DPI scaling
See #426
2020-12-26 16:25:51 +01:00
rdb
d5c2dc6447 dgui: Add setTextPos, etc. aliases for setPos
setPos will be deprecated in a future version.

See #1041
2020-12-26 13:59:19 +01:00
rdb
55d43a1d57 device: Fix macOS crash when unplugging device in threaded pipeline
Fixes #1082
2020-12-26 12:46:45 +01:00
rdb
5fd6436df5 doc: Update release notes for 1.10.8
[skip ci]
2020-12-25 00:25:33 +01:00
rdb
84a6e900af dist: Fix error using build_apps in Python 2.7 2020-12-25 00:24:01 +01:00
rdb
030bdd1d34 dist: Work around stdlib bug causing erroneous missing module warnings 2020-12-24 20:52:10 +01:00
rdb
4b7c11059d dist: Ignore some missing modules 2020-12-24 20:46:33 +01:00
rdb
d2a7481181 dist: handle SyntaxError in imported module 2020-12-24 20:46:13 +01:00
rdb
4e6395e07a dist: Fix line of code that mysteriously disappeared 2020-12-24 19:17:44 +01:00
rdb
4cf32bece3 doc: Update release notes for 1.10.8
[skip ci]
2020-12-24 15:30:17 +01:00