Commit Graph

7965 Commits

Author SHA1 Message Date
rdb cf04a04e32 Merge branch 'release/1.10.x' 2022-07-24 21:43:09 +02:00
Derzsi Dániel 89ee20bcf7 distributed: Import inspect only during DC file read
Closes #1336
2022-07-24 21:40:11 +02:00
rdb 20334cce05 Merge branch 'release/1.10.x' 2022-06-29 19:09:59 +02:00
rdb 91dd802de6 dist: Include `_sysconfigdata` module properly
Fixes #1326
2022-06-29 16:07:48 +02:00
rdb c24a15ed40 task: Fix missing `taskMgr` reference when using managed tasks 2022-06-29 15:12:06 +02:00
rdb ecf4d19e83 Merge branch 'release/1.10.x' 2022-05-10 16:12:36 +02:00
Sergei Korotkov e3cf5be500 filter: Remove the silly dependency on the ShowBase instance
Closes #1302
2022-05-10 15:58:33 +02:00
rdb 59755a043e distributed: Fix regression from c917a9e (which was fix for #1262)
With that fix, getDatagram would return the wrong result after the datagram was reassigned in C++
2022-05-05 10:44:26 +02:00
rdb 1b21e604f0 Merge branch 'release/1.10.x' 2022-04-21 11:09:28 +02:00
rdb 98314da00f showbase: Fix BufferViewer frame in non-standard coordinate systems 2022-04-04 10:30:35 +02:00
rdb e7dd93d0d4 filter: Fix CommonFilters with non-default coordinate system
Fixes #1289
2022-04-04 10:28:18 +02:00
rdb 3084fcd8dc dist: Correct fix for android x86_64 ABI
[skip ci]
2022-03-17 13:29:13 +01:00
rdb e272de8708 dist: Fix accidental error message with x86_64 ABI with Android
[skip ci]
2022-03-17 09:23:38 +01:00
rdb cafcdede5f dist: Disable _bootlocale injection for Python 3.10+
Python 3.10 removed the _bootlocale module (see bpo-42208)

[skip ci]
2022-03-15 11:20:39 +01:00
rdb b610a6492e dist: Don't set sys.platform to "android" on Android
Let's just do what upstream does, so that there are no surprises.
2022-03-12 18:19:51 +01:00
rdb e02a9989fb android: Changes to add compatibility with pyjnius/plyer 2022-03-12 18:18:15 +01:00
rdb 5c03cd59fb dist: Add special support for hidden imports of plyer module 2022-03-12 16:52:12 +01:00
rdb 218f2af7fb dist: Support .* imports inside wheels
No longer try to import modules directly (we can do this if we really have to, but then we have to load it from the proper location) since we don't want to grab the system version of the package which may not be present or may be a different version.  Support discovering .* imports inside .whl files that are on sys.path.
2022-03-12 16:50:05 +01:00
rdb 683c54938c task: Don't capture SIGINT on Android
There's no point to doing that, and doing so restricts the ability to run Python in a separate thread
2022-03-09 16:23:37 +01:00
rdb 573df4b320 dist: Add more resource codes for AndroidManifest.xml values 2022-03-09 16:23:37 +01:00
rdb 37c48ea829 dist: Helpful error for invalid android_abis value 2022-03-09 16:23:37 +01:00
rdb 76fb49252c dist: Fix regression with data_dir NameError in build_apps
Fixes #1276

Also let's consistently use the term "assets" for all the application data (and not the gaming-specific term "game files") and use the term "data" for package data only
2022-03-02 10:45:57 +01:00
rdb 46c1b887ea Fix heap alignment with SSE2 on 32-bit Windows by inheriting MemoryBase
Fixes #510
2022-03-02 09:57:44 +01:00
rdb c917a9e1a1 distributed: PyDatagramIterator now retains reference to Datagram
Fixes #1262
2022-03-01 16:09:07 +01:00
rdb a0be50c769 general: Fix assorted compiler warnings 2022-03-01 16:09:07 +01:00
rdb cfc11ba430 dist: Fix issue when deploy_libs in .whl have inconsistent suffixes 2022-02-25 11:20:55 +01:00
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