Commit Graph

7980 Commits

Author SHA1 Message Date
rdb 8b5fc7d835 stdpy: Switch from deprecated ConditionVarFull to ConditionVar 2022-02-22 15:21:32 +01:00
rdb 65ee79158f showbase: Start recording right away when opening PStats connection
Don't wait until the next frame - makes it harder to diagnose long load times in the new Timeline view
2022-02-20 16:54:15 +01:00
rdb d7bbcfb0b7 pstats: Some collector reorganisation:
- "App:Show code:General" is gone, it was causing too much trouble
- Replace odd "Client::GuiObjects" with "Nodes:GUI"
- Regroup "Dirty PipelineCyclers" underneath "PipelineCyclers"
2022-02-17 12:48:36 +01:00
Maxwell175 350836cc38
PythonUtil: remove Enum class (#1253) 2022-02-01 10:31:14 +01:00
rdb ce7c1ec16c dist: Suppress warning about android_log module building for Android
This module is linked statically and provided via the built-in module loader
2022-01-14 10:56:42 +01:00
rdb b803ef2ac5 dist: Set default Linux target to manylinux2014
According to
https://github.com/mayeut/pep600_compliance/blob/master/README.rst
manylinux2010 is EOL, and so are all Linux distributions that support manylinux2010 but not manylinux2014.

Setting the default to manylinux2014 means that more thirdparty packages are supported and hopefully means we're not always behind and have to struggle to keep building for it.
2022-01-14 10:54:26 +01:00
rdb a56ee57422 Merge branch 'release/1.10.x' 2022-01-14 10:50:10 +01:00
rdb c32866fa33 showbase: Fix missing ClockObject import in JobManager
Regression in eefcae7b05
2022-01-14 10:48:25 +01:00
rdb 58afbbfaa0 dist: Add missing platforms to default installer dictionary 2022-01-14 10:46:56 +01:00
rdb 54606c8894 showbase: docstring fix
[skip ci]
2022-01-14 09:58:57 +01:00
rdb 40f54a766c Merge branch 'release/1.10.x' 2022-01-07 10:52:28 +01:00
rdb b736b3e4db filter: Accept floating-point values for FilterManager mul= parameter
Fixes #1231
Closes #1232
2022-01-07 10:15:49 +01:00
rdb d46651c032 Merge branch 'release/1.10.x' 2022-01-04 16:35:19 +01:00
rdb 28b566726a dist: Suppress spurious warnings about missing tkinter modules
[skip ci]
2022-01-04 16:00:45 +01:00
rdb 67b89983ac dist: Also accept manylinux wheels when requesting generic linux tag 2022-01-04 15:25:19 +01:00
rdb 6935d2badc dist: Add support for tkinter
Requires adding `tkinter` to `requirements.txt`. For now, wheels are only provided for Python 3.6 and up.

Fixes #780
2022-01-04 15:21:24 +01:00
rdb f8df5cac32 Merge branch 'release/1.10.x' 2022-01-02 20:11:41 +01:00
rdb 2aac58b5ab task: Restore previous interrupt handler after `taskMgr.step()`
Related to #1180
2022-01-02 10:39:52 +01:00
rdb b53895aa3d Merge branch 'release/1.10.x' 2022-01-01 18:18:46 +01:00
loonaticx 500491e6c9 CommonFilters: Documentation adjustments
* State that we're using Cg shaders, ideal for clarification.
* Commented out Josh's monologue since it doesn't particularly contribute to the API page
* Added documentation to the setBloom function to help clarify.

Closes #1200

Co-authored-by: rdb <git@rdb.name>
2022-01-01 15:20:57 +01:00
rdb 9598065641 Merge branch 'release/1.10.x' 2021-12-26 14:13:23 +01:00
rdb c38d582f8c showbase: Add `base.clock` alias for `globalClock`
Mirrors eefcae7b05 on master
2021-12-26 12:30:00 +01:00
rdb eefcae7b05 direct: Add `base.clock`, deprecate `globalClock` 2021-12-25 11:47:42 +01:00
rdb 68f0931f43 dist: Fix use of Python 3.8+-only syntax 2021-12-13 09:35:38 +01:00
rdb 73a27fa281 task: Get rid of unnecessary __makeTaskList
We can directly convert AsyncTaskCollection objects to a list (though even that is of questionable value since task collections behave list-like enough)
2021-12-12 13:46:26 +01:00
rdb b8c301164a dist: Implement more reliable solution for logging stdout/stderr
The previous trick doesn't seem to work on one of my devices.  The disadvantage of the new solution, however, is that it doesn't capture anything until site.py is successfully executed.
2021-12-10 14:56:13 +01:00
rdb 25d57e0eef dist: Fix incorrect arch check for Android in build_apps 2021-12-10 13:42:20 +01:00
rdb 1289d5bfb4 dist: Build multi-ABI distributions on Android
[skip ci]
2021-12-09 15:42:43 +01:00
rdb eb753be249 dist: Add support for automatically signing Android App Bundles 2021-12-08 14:50:05 +01:00
rdb 267907d329 dist: Support adding icons to Android applications
[skip ci]
2021-12-08 00:00:30 +01:00
rdb 17e00c5786 dist: Don't complain about libz.so being missing on Android
It's a system library there
2021-12-07 23:06:44 +01:00
rdb 46b7fc6ee2 dist: Fix bug with grayscale icons becoming blue when scaled 2021-12-07 23:05:29 +01:00
rdb 25667f4094 dist: Fix bug with grayscale icons becoming blue when scaled 2021-12-07 23:04:39 +01:00
rdb 44e10d10a0 Support deploying Python apps for Android using bdist_apps 2021-12-07 21:00:08 +01:00
rdb 4c7e513dfd dist: Always compile Python code with optimize level 2 2021-12-07 18:12:19 +01:00
rdb 5de31c6293 Merge branch 'release/1.10.x' 2021-12-04 21:57:35 +01:00
rdb 24755bc8eb gui: Allow OnscreenImage to be used before ShowBase is created
Use TexturePool directly instead of a loader being present in the builtins

Fixes #1209
2021-12-04 20:40:29 +01:00
rdb 6419acb56f actor: Fix deadlinks to renamed manual page in API reference 2021-12-04 20:37:50 +01:00
rdb 0bc0709b72 Merge branch 'release/1.10.x' 2021-11-02 15:20:41 +01:00
Epihaius 29294cb974 interval: Redefine some properties in MetaInterval class
The `play_rate` property invokes the underlying C++ `set_play_rate` method, which leads to a bug (#1202).
The property is now redefined to make it invoke the overriding `MetaInterval.set_play_rate` method instead.

Fixes #1202
Closes #1204
2021-11-02 15:13:17 +01:00
rdb e87a2a1f0f showbase: Fix typo in API reference 2021-11-02 15:01:18 +01:00
rdb 605651f0e8 Merge branch 'release/1.10.x' 2021-10-26 17:27:56 +02:00
rdb 594a26662e dist: Automatically include cacert.pem when depending on certifi 2021-10-26 13:59:39 +02:00
rdb ca061c98a6 dcparser: Improve assertion error message for invalid UTF-8 data 2021-10-26 13:58:40 +02:00
rdb cd9712270b dcparser: slight code cleanup in dcPacker.cxx 2021-10-26 13:51:04 +02:00
rdb de334f5597 PythonUtil: remove deadlink from normalDistrib docstring 2021-10-26 13:28:35 +02:00
rdb e9b5092734 dist: Fix frozen modules not packaged (such as zipimport in Python 3.8+) 2021-10-14 09:49:58 +02:00
rdb 98e3b1f03e dist: update linecache module with missing __all__ item 2021-10-14 09:47:46 +02:00
rdb 224d21352a dist: Suppress warnings about missing __builtin__ and _winapi 2021-10-14 09:47:03 +02:00
rdb 3d386d2d63 dist: Default to manylinux2010 for Python 3.10+
manylinux1 is not being offered for Python 3.10, so no thirdparty package will have wheels available for this
2021-08-30 18:15:37 +02:00