Commit Graph

7703 Commits

Author SHA1 Message Date
Sam Edwards 28b85d2f58 CMake: Work around CMake issue 20206 2020-01-10 16:48:59 -07:00
Sam Edwards 9b7bcf2564 Merge branch 'master' into cmake 2019-11-07 21:21:04 -07:00
rdb 847ebf667f Merge branch 'release/1.10.x' 2019-11-06 10:49:05 +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 6d96028b71 Merge branch 'release/1.10.x' 2019-11-02 20:42:32 +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
rdb 40b3c7ccc9 direct: remove empty useless direct.controls.PhysicsRoller module 2019-10-29 23:55:14 +01:00
rdb a72be90f17 Merge branch 'release/1.10.x' 2019-10-29 23:13:22 +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
Sam Edwards 12c16eb9ff Merge branch 'master' into cmake 2019-10-15 23:43:25 -06:00
rdb 247f3c415a Merge branch 'release/1.10.x' 2019-10-08 19:50:48 +02: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
Sam Edwards 5961cc2ee0 Merge branch 'master' into cmake 2019-10-05 15:00:49 -06:00
rdb 114a7c0995 Merge branch 'release/1.10.x' 2019-10-05 21:13:42 +02:00
Aidan Noll 984d70e8e0 dgui: update DirectScrolledList type checking for Python 2/3 compatibility 2019-10-05 21:10:05 +02:00
rdb 6c0a4c722c dist: fix various errors in icon.py 2019-09-30 13:51:40 +02:00
Sam Edwards 9645aaee07 CMake: Fix generated pandac.PandaModules on Py2
Python 2 doesn't use the fully qualified module name in
its ImportError output; only the local name. Test for that.
2019-09-18 01:13:33 -06:00
Sam Edwards fe7fdc0976 CMake: Reclassify direct/distributed/ headers as installed headers 2019-09-16 17:43:03 -06:00
Mitchell Stokes 660249a5cc Remove p3d/AppRunner/plugin system
Co-authored-by: rdb <git@rdb.name>

Closes #734
2019-09-10 16:49:57 +02:00
rdb 2c42cfcc1a Merge branch 'release/1.10.x' 2019-09-10 16:34:11 +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
Paul m. p. P ec1c3ef347 extract_docs: fix reference to undefined typename
Closes #730
2019-09-06 16:02:51 +02:00
rdb df848965fb showbase: *Global.py modules should not export 'sys' module 2019-09-06 16:02:51 +02:00
rdb 6428e1b3cb Merge branch 'release/1.10.x' 2019-09-06 15:51:34 +02:00
rdb e535473b65 tkwidgets: fix missing sys import from Valuator.py
[skip ci]
2019-09-06 14:12:04 +02:00
rdb 504257f4d2 ParticleEffect: loadConfig should respect model-path
Fixes #687
2019-09-06 14:11:13 +02:00
rdb 31a054c933 tkwidgets: change how TreeNode icons are located/loaded
This makes it follow the regular resolution rules of the model-path and doesn't risk a RuntimeError when importing the module.
2019-09-06 14:01:55 +02:00
Sam Edwards dbe7a2f94b Merge branch 'master' into cmake 2019-09-06 04:05:12 -06:00
rdb d92b440617 Merge branch 'release/1.10.x' 2019-09-06 09:46:20 +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 35135ea0e1 Merge branch 'release/1.10.x' 2019-09-01 21:54:57 +02:00
Sam Edwards 5fa4af9189 CMake: Rely on GNUInstallDirs to specify install paths
This makes multiarch OSes happy as they can dictate that
64-bit libraries go into 'lib64'
2019-08-31 00:48:42 -06:00
Sam Edwards 1a654cba04 CMake: Record the location that headers are installed
This populates INTERFACE_INCLUDE_DIRECTORIES on the targets
after they're installed.
2019-08-30 22:58:18 -06: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
Sam Edwards 855d217f35 CMake: Update for upstream changes
- Miles is gone; remove all references
- pystub is gone; remove all references
- dcparser uses Interrogate extensions properly; don't depend on Python
- stringStream* moved to express from downloader
2019-08-24 18:07:22 -06:00
Sam Edwards 19ed9f6b47 Merge branch 'master' into cmake 2019-08-24 18:07:12 -06:00
Sam Edwards 6c3013a29c dcparser: move Python-specific code to extension files
We can now build dcparser without linking to Python and dcparse.exe's dependency on pystub is removed.

Co-authored-by: rdb <git@rdb.name>
2019-08-23 18:58:19 +02:00
Sam Edwards 36df3bdf0b dcparser: Delete dcPython.h
py_panda.h has the same purpose; we also don't want
Python.h brought in from the headers (only from the
.cxx files) so that including the headers won't require
linkage against Python.
2019-08-23 13:15:36 +02:00
rdb 665d2fc56b Merge branch 'release/1.10.x' into incoming 2019-08-23 10:53:09 +02:00
rdb 2575c01261 Loader: fix passing a tuple to loader.loadModel 2019-08-22 10:44:34 +02:00