rdb
6b12fbe6f2
dgui: show assertion when passing a NaN into DirectSlider
...
If we don't do this, we get an assertion somewhere in the bowels of the scene graph, which will be much less helpful for tracking down the origin of the NaN.
2020-01-07 21:41:04 +01:00
rdb
1c4773a8e4
dist: move "import pip" from module level to download_wheels
...
The aim of this is that pip is no longer a dependency to be able to run test_imports.
2020-01-07 14:52:06 +01:00
LD
201f9a48be
dist: Also use copy_with_dependencies() for executables to flatten their dependencies
...
Closes #837
2020-01-07 14:50:38 +01:00
rdb
b245c480c0
dist: fix ModuleFinder reading .pyc files in Python 2.7-3.3, 3.7 and 3.8
...
Fixes #836
2020-01-06 21:05:22 +01:00
LD
f09ee92582
dist: glob pattern must be lowercase as it is compared to lowercase filenames
...
Closes #832
2020-01-06 18:18:04 +01:00
LD
bd5841781c
dist: Add missing dependency for CEFPython on macOS
...
Closes #835
2020-01-06 18:18:04 +01:00
LD
8d0d733da8
dist: Flatten also @rpath/ dynamic library references
...
Closes #834
2020-01-06 18:18:04 +01:00
rdb
ca89b7420a
Update Python 2.7 EOL warnings to indicate that EOL date is reached
...
[skip ci]
2020-01-06 00:36:49 +01:00
rdb
3367fe266f
tkpanels: properly test "None" return from askopenfilename
2020-01-03 18:19:39 +01:00
rdb
7ca66bfe6f
tkpanels: work around tkinter bug cancelling file open dialog on macOS
...
Fixes #811
2020-01-02 01:06:03 +01:00
rdb
c02bbe50af
p3d: add deprecation notice to all direct.p3d modules
2019-12-31 17:15:34 +01:00
rdb
15d6e0c543
actor: support custom Python loader hooks
...
Fixes #750
2019-12-29 14:57:43 +01:00
rdb
0972dfa457
dcparser: fix ability to compile outside of Panda
...
Fixes #759
2019-12-29 14:27:05 +01:00
rdb
c0fd600454
stdpy: threading2: join non-daemonic threads at interpreter shutdown
...
Fixes #758
2019-12-28 23:51:54 +01:00
rdb
bb3bfebdc2
stdpy: support name and daemon properties in threading2 module
2019-12-28 23:48:04 +01:00
rdb
2f31c9ce68
stdpy: recognize daemon=True argument in Thread constructor
2019-12-28 23:46:58 +01:00
rdb
cb53e5d822
dcparser: fix unpacking uint64 and int64
...
Closes #751
2019-12-25 16:57:06 +01:00
rdb
8e6ae703c1
dist: use macosx_10_9_x86_64 by default for Python 3.8+
...
This is because Python 3.8 is only available for macOS 10.9+, and no longer for 10.6.
2019-12-18 09:10:58 -05:00
rdb
0b52241e95
stdpy: return number of bytes from write() method
2019-12-17 22:58:12 +01:00
rdb
c3052f3ae0
dist: support implicit namespace packages (as per PEP 420)
...
Fixes #778
2019-12-11 16:10:46 +01:00
rdb
55f624e073
windisplay: add a variable to disable Panda's message pump
...
This is particularly important for Tcl/Tk, which assumes it is in charge of the Windows event loop.
Fixes #586
2019-12-08 15:04:06 +01:00
rdb
b43b0c9fad
dist: ship regular "distutils" even when in PyPI "virtualenv" env
...
Fixes #747
2019-12-08 12:42:05 +01:00
rdb
92476a3788
dist: fix exception when module has None __path__
2019-11-17 20:36:40 +01:00
Mitchell Stokes
47feac9a3d
build_apps: Fix defaults for package_data_dirs
...
Fixes #779
2019-11-10 16:58:39 -08:00
Thaumaturge
c0daa75353
particles: add parameter to delay particle birth in soft_start()
...
Also adds a get_tics_since_birth() getter.
This feature can be used to synchronize different particle effects.
Closes #769
2019-11-10 20:33:45 +01:00
rdb
f47fd8875c
particles: add snake-case aliases to Python particle classes
2019-11-10 20:26:45 +01:00
rdb
2e3b350510
dgui: allow creating DirectOptionMenu without ShowBase
2019-11-03 12:12:42 +01:00
rdb
69e8b4ed3c
showbase: make render2d available to GUI items without ShowBase
2019-11-03 12:09:36 +01:00
fireclawthefox
eb3b45ebb1
dgui: Fix reset text scale on DirectOptionMenu item unhighlight
...
Set text scale to previous unhighlighted scale on unhighlight to keep
custom scales
2019-11-03 11:51:36 +01:00
rdb
39988e4787
general: update a few outdated links in API documentation
2019-11-02 19:41:56 +01:00
rdb
22e88a5b6a
direct: a few improvements to API documentation
2019-11-02 19:41:11 +01:00
fireclawthefox
b3c79096e5
distributed: fix division exception in ServerRepository
...
change operator to double slash for integer division
Closes #762
2019-10-29 20:47:48 +01:00
rdb
f149fb4ab0
direct: big formatting changes for the benefit of API reference
...
Part of the effort to move the API reference to Sphinx, see panda3d/panda3d-docs#21
2019-10-29 20:43:41 +01:00
rdb
ffeb8937bf
task: fix unnecessary use of PythonUtil.Queue class
...
A standard list will do just fine here.
2019-10-29 14:57:20 +01:00
rdb
0a622d08e9
direct: fix a few broken imports
2019-10-29 14:57:04 +01:00
rdb
099be1f652
stdpy: fix bad performance reading all data from file
...
See Moguri/panda3d-gltf#31
2019-10-08 19:44:29 +02:00
Aidan Noll
984d70e8e0
dgui: update DirectScrolledList type checking for Python 2/3 compatibility
2019-10-05 21:10:05 +02:00
rdb
5339b8239c
dist: style fix for None comparison in FreezeTool.py
2019-09-08 09:51:41 +02:00
Ian Eborn (Thaumaturge)
73d6c52da6
deploy-ng: fix typo in FreezeTool.py
...
This causes an error when a module referenced by a star pattern doesn't exist.
Fixes #721
Closes #725
2019-09-07 09:45:06 +02:00
rdb
e535473b65
tkwidgets: fix missing sys import from Valuator.py
...
[skip ci]
2019-09-06 14:12:04 +02:00
rdb
ba1023efa9
stdpy: clarify comment to indicate os.PathLike is supported in open()
2019-09-04 12:26:43 +02:00
rdb
2e03eb405b
deploy-ng: handle .pz and .gz models correctly
2019-09-03 22:45:40 +02:00
rdb
d843c5c198
deploy-ng: use median cut algorithm when palettizing icon
...
This prevents infrequently occurring colors from being washed out.
See #718
2019-08-28 22:58:59 +02:00
rdb
28d9a33db4
deploy-ng: fix an exception when all icon images could not be read
2019-08-28 22:58:50 +02:00
rdb
00376c9d0a
deploy-ng: fix some Python 3 issues in icon generation code
...
See #718
2019-08-28 22:41:58 +02:00
rdb
2575c01261
Loader: fix passing a tuple to loader.loadModel
2019-08-22 10:44:34 +02:00
rdb
062460cbe0
dgui: store guiItems on ShowBase class dict instead of module
2019-08-20 01:07:39 +02:00
rdb
a0aa7de291
dgui: fix critical regression introduced by 43a5719
2019-08-19 21:26:35 +02:00
rdb
170ad017bb
deploy-ng: fix some issues with .icns files generated on macOS
...
Also add support for 1024x1024 icons, supported as of Mac OS X 10.7
I'm not sure that it's significant to put the mask before the respective sized image, but I've seen other working icons do it, so it can't hurt.
2019-08-18 11:14:39 +02:00
Mitchell Stokes
d3c9199d9f
deploy-ng: add icon support for macOS ( #468 )
2019-08-18 11:13:18 +02:00