Commit Graph

8074 Commits

Author SHA1 Message Date
rdb 5d63c7e898 Merge branch 'release/1.10.x' 2023-02-20 19:27:58 +01:00
rdb 8ee4f8dee2 showbase: Remove dead branch in ContainerLeakDetector 2023-02-20 18:53:14 +01:00
rdb 231ba92e31 showbase: Fix missing `sys` import in ContainerLeakDetector 2023-02-20 18:50:04 +01:00
rdb 93670b5942 dist: Strip .abi3.so suffix from libraries 2023-02-20 18:32:04 +01:00
rdb ccd1d4727d dist: Add hidden imports for older scipy version 2023-02-20 18:31:54 +01:00
rdb 718f72fe01 cluster: Fix typo in ClusterServer.addControlMapping 2023-02-20 18:25:28 +01:00
rdb 5ecd6249d1 directdevices: Fix typo in DirectDeviceManager.normalizeChannel 2023-02-20 18:24:15 +01:00
rdb 92e3dbbe58 dist: Remove dead code in Icon class 2023-02-20 18:04:35 +01:00
rdb 127798437f particles: Fix missing import in ParticleFloorTest 2023-02-20 18:04:22 +01:00
rdb a3f6a62de0 showbase: Fix undefined function use in ProfileSession.py 2023-02-20 18:04:04 +01:00
rdb afd3df8ef1 tkpanels: Fix use of removed `cmp()` function 2023-02-20 17:44:37 +01:00
rdb 6aef8159b1 leveleditor: Fix use of removed `cmp()` function 2023-02-20 17:29:00 +01:00
Timothy Paustian 50de135641
task: Fix re-adding task object removing extraArgs (#1132)
Fixes #1097
2023-02-13 10:58:02 +01:00
rdb 5e26aae1ff cleanup: Fix assorted issues uncovered by clang-tidy 2023-02-12 18:17:03 +01:00
John C. Allwein 7b7294b15d direct: fix missing import in Loader 2023-02-12 09:28:04 -07:00
WMOkiishi c7c70bc32a
direct: Cut down on usage of `import *` (#1454)
* Remove most `import *`s in `direct`

* Address feedback
2023-02-12 13:16:52 +00:00
rdb c076d5ad08 showbase: Don't return same texture object if loaded with different settings
Follow-up to #1105
2023-02-07 12:26:41 +01:00
rdb 8bc1743d75 Merge branch 'release/1.10.x' 2023-01-27 16:17:41 +01:00
Disyer 6cb074e5c8 distributed: Fix segfault when ConnectionRepository is verbose by holding GIL
Also removes obsolete USE_PYTHON_2_2_OR_EARLIER macro

Closes #1430
2023-01-16 15:14:31 +01:00
David Crompton a88b6ee8db showbase: Allow `destroy()` to be called from non-main thread
Also adds an error message when `run()` is called from non-main thread

Closes #1436
Fixes #1269

Co-authored-by: rdb <git@rdb.name>
2023-01-16 14:15:19 +01:00
David Crompton 4d90ce5c5a bdist_apps: Fix assertion error from calling finalize_options twice 2023-01-14 19:51:02 +00:00
David Crompton 581f374ba6 Notifier: Add custom exception type for Notifier.error 2023-01-10 23:15:20 +01:00
David Crompton cd6ad8285e ShowBase: Add a private DirectObject to allow use of base.accept for window-events 2023-01-10 21:50:20 +00:00
Cary Sandvig b10b49bd6b fix SocketStream::flush() covariant 2023-01-03 11:48:36 -05:00
rdb cfd18bb16f display: Add support for asynchronous screenshot download 2022-12-26 20:01:38 +01:00
rdb 92185bcb28 Merge branch 'release/1.10.x' 2022-12-19 16:42:29 +01:00
rdb eafcfe1d70 motiontrail: Fix Python implementation error in double-prec mode 2022-12-19 15:17:19 +01:00
rdb aa852973f7 motiontrail: Switch usage_hint for geometry to `UH_stream`
Seems to better match the actual usage.
2022-12-16 20:16:14 +01:00
rdb e08a502c88 motiontrail: Calculate bounding volume much more efficiently
A lot of time was going into updating the bounding volume.
2022-12-16 20:15:13 +01:00
rdb 32297ecd02 showbase: Fix some members not showing up in API documentation 2022-12-16 19:37:49 +01:00
rdb 42372e139c motiontrail: Update API documentation 2022-12-16 19:37:28 +01:00
rdb c366dab405 motiontrail: Further cleanup of CMotionTrail code 2022-12-16 18:18:12 +01:00
rdb 8354e175cf Merge branch 'release/1.10.x' 2022-12-16 17:36:04 +01:00
rdb 19186781f3 motiontrail: Clean up and optimization of C++ implementation 2022-12-16 16:14:06 +01:00
Daniel 24c14296c0 direct: Clean up broken usage of "types" module with Python 3 2022-12-15 20:29:33 +01:00
rdb cce46b5edb motiontrail: Set `start_color` and `end_color` in `add_vertex()` 2022-12-15 20:23:55 +01:00
rdb 5912630e01 Merge branch 'release/1.10.x' 2022-12-15 19:59:00 +01:00
rdb 8ab37b8804 motiontrail: Add easier way to call `add_vertex()`
Currently, you must pass in a function, which is a little awkward compared to just passing in a position.  Now you can just pass in a vertex position, similar to the C++ interface.
2022-12-15 17:58:46 +01:00
rdb 154223d075 motiontrail: Clean up and document MotionTrail class 2022-12-15 17:58:23 +01:00
rdb e1b4083d6d Merge branch 'release/1.10.x' 2022-12-12 17:19:10 +01:00
rdb 1375d38725 showbase: Fix assorted issues with GarbageReport:
* Use of removed `types.InstanceType`
* New-style classes are not reported very neatly
* Extreme amount of digits in report due to float division

Fixes #1304
2022-12-09 17:34:27 +01:00
rdb 5fcc04ba7f distributed: Change `gc-save-all` to 0 by default
Fixes #1407
2022-12-07 13:54:47 +01:00
rdb 5f3f2339e6 dist: Drop egg2bam handler, add egg/gltf/glb to bam_model_extensions
See #714
2022-12-06 20:04:45 +01:00
rdb c82f95ad6b Merge branch 'release/1.10.x' 2022-12-06 20:02:35 +01:00
rdb 3f3fd74f86 dist: Use Panda loader system for converting models to .bam
Set bam_model_extensions in order to specify which formats are automatically converted to .bam

Fixes #714
2022-12-06 19:41:00 +01:00
rdb 765d76740d dist: Use manylinux2014_x86_64 for linux_x86_64 alias on Py 3.11 2022-12-06 19:37:38 +01:00
rdb 32ebe11b06 dist: Add an option to retain docstrings in compiled Python code
Fixes #1341
2022-12-06 15:21:39 +01:00
rdb ffbfdb22e0 dist: Add `prefer_discrete_gpu` option to force use of dedicated GPU
Currently only implemented on Windows.

Fixes #680
2022-12-06 15:20:57 +01:00
rdb ecbd262ac4 dist: Always use manylinux2014 for Python 3.11+, add manylinux_2_28 2022-12-06 14:43:47 +01:00
rdb 95a77e4f75 showbase: Add `do_events()` and `process_event()` snake_case aliases 2022-12-06 12:57:02 +01:00