rdb
17341b18ed
dist: Add PACKAGE_DATA_DIRS entry for pytz zoneinfo database
2021-02-16 12:35:44 +01:00
rdb
03b96edfbc
interval: Fix ability to await Sequence objects
2021-02-08 16:16:20 +01:00
rdb
28615c6a9e
interval: Support awaiting CInterval from coroutines
...
This is a partial implementation of #909 - it is somewhat inefficient (not suspending the task using a future) and does not implement cancellation. A more complete implementation may follow in 1.11.0.
2021-02-07 12:40:58 +01:00
rdb
f55cdd8907
dist: Support strftime-style date formatting in log_filename
...
Fixes #1103
2021-02-06 12:36:14 +01:00
rdb
d043df7d4e
task: Add delay= argument to taskMgr.add()
...
This has the same effect as doMethodLater, but slightly better describes what it does
2021-01-18 23:37:23 +01:00
rdb
a270a55ccd
dist: Add ignoreImports mechanism, prevents every app including numpy
...
Apparently a host of thirdparty packages currently get included by default, such as importlib.metadata -> toml -> numpy, and this is getting rather out of hand. The ignoreImports mechanism provides a way for us to flag certain imports as being optional dependencies.
Also added is various "builtins" imports in Python 2.7 (which are all under version checks and would otherwise lead to the PyPI "builtins" package being included, which would pull in "future", etc.)
2021-01-18 23:33:39 +01:00
rdb
ef6aa9d6ca
directtools: Fix repeated selections causing scaling node to get huge
...
This appears to be a regression from 0fe56bd0a9 , but I can't be sure. Before this fix, repeated clicks of an object would cause the scaling handles to get larger and larger, until eventually causing NaN assertions.
2021-01-18 19:05:45 +01:00
rdb
68daa238b1
dist: Add some determinism support to bdist_apps
...
It's necessary to set PYTHONHASHSEED=0 as well as SOURCE_DATE_EPOCH for deterministic compilation, and moreover, the generated zip files do still have timestamps in them.
2021-01-18 19:02:42 +01:00
rdb
b3f0768656
Revert "directtools: Fix empty scaling node of object handle"
...
This reverts commit b507c88cd9 .
2021-01-17 15:40:47 +01:00
rdb
52b4df4aec
stdpy: Expose DEFAULT_PROTOCOL and HIGHEST_PROTOCOL in direct.stdpy.pickle
2021-01-01 17:41:34 +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
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
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
2c209e0f02
stdpy: Fix direct.stdpy.pickle module for Python 3
2020-12-29 13:05:00 +01:00
janEntikan
5dc5d009c1
extensions_native: fix missing include for subdivideCollision()
...
Closes #1084
2020-12-28 15:36:02 +01:00
rdb
e7a6d735e3
dgui: Add "versionadded" to docstrings of newly added methods
2020-12-27 10:48:12 +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
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
86937c7bb9
dist: Check if entire directory should be skipped
...
This is functionally equivalent, but reduces the message spam in verbose mode, and perhaps is a little faster
2020-12-24 14:19:17 +01:00
rdb
adbeea33fb
dist: Warn if picking up binary dependency from outside a wheel
2020-12-24 14:16:40 +01:00
rdb
8bb0de52b7
dist: Add additional ignored system libraries for Windows
2020-12-24 14:15:58 +01:00
rdb
012661e1ba
dist: Add more ignore libraries for macOS
...
This is the full list of libraries that occur both in the 10.6 SDK and the 11.1 SDK.
2020-12-24 13:23:58 +01:00
rdb
6b1c681a24
extensions_native: Fix indirect rgbPanel import
...
It's defined in Valuator, not in Slider
2020-12-19 15:50:43 +01:00
rdb
7c676b5d26
directtools: Fix incorrect rounding for color conversion to hex
...
The color picker returns color values up to 255.99 so this can otherwise result in it returning a color like #100100100 , and the hex code otherwise not matching with what is displayed in the color picker.
2020-12-19 15:27:23 +01:00
rdb
8ba1ae924c
tkwidgets: Fix EntryScale missing import and menu errors
2020-12-19 15:26:15 +01:00
rdb
66c41d6c31
dist: Fix ability to deploy app without requiring OpenSSL enabled
...
Fixes #1073
2020-12-17 23:59:50 +01:00
rdb
4d50e73132
pfreeze: Support building for macOS arm64 architecture
2020-12-15 18:59:04 +01:00
rdb
8883bf9bdd
dgui: Fix ability to create OnscreenGeom/Image/Text without ShowBase
2020-12-15 11:45:52 +01:00
rdb
35eeb27386
VFSImporter: fix detection of source file encoding in Python 3
...
Incidentally, this should (in theory) also fix the _bootlocale import loop referenced in #1065
2020-12-09 15:46:51 +01:00
rdb
7b4ecbd60f
directtools: Fix use of built-in direct instead of base.direct
2020-12-09 15:44:13 +01:00
rdb
4e7742b8e2
VFSImporter: replace deprecated U open() flag
...
Fixes #1063
2020-11-28 22:22:32 +01:00
Daniel
7eba53cffa
showbase: Fix an entire DirectSession being (re)created on node selection
...
Closes #1051
2020-11-17 12:02:53 +01:00
rdb
f1ca8a9018
direct: Additional linking in Loader API documentation
2020-11-17 12:01:42 +01:00
rdb
f88441c584
dist: Fix error building Windows executable in Python 3.9
2020-11-17 12:01:05 +01:00
Daniel
b507c88cd9
directtools: Fix empty scaling node of object handle
...
Closes #1029
2020-10-02 12:16:10 +02:00