Commit Graph

7522 Commits

Author SHA1 Message Date
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
rdb f708402760 deploy-ng: add 128, 256 to req. icon sizes, prefer scale from double 2019-08-18 11:10:40 +02:00
rdb 2fe0599255 deploy-ng: support adding icons to Windows binaries (part of #468) 2019-08-17 22:42:52 +02:00
rdb 5a804925ec deploy-ng: set module suffixes properly for Python 3.8 2019-08-14 15:24:40 +02:00
fireclawthefox 24d48d8cb0 dgui: allow setting DirectEntryScroll entry after the fact
Closes #702
2019-08-14 13:31:08 +02:00
rdb 5c99cf16f8 dgui: fix DirectEntry._autoCapitalize() on Python 3.x (#628) 2019-08-14 13:26:33 +02:00
rdb 43a5719bac dgui: allow using various GUI items without instantiating ShowBase
This is done by eliminating dependency on the `hidden` built-in, which can now instead be imported from ShowBaseGlobal.
2019-08-14 13:26:27 +02:00
fireclawthefox 2b64a7d74f dgui: Scrollbar width changeable after initialization
Closes #699
2019-08-03 09:42:16 +02:00