Commit Graph

22962 Commits

Author SHA1 Message Date
rdb 2b0a2ea6df makepanda: allow passing in more than 3 digits in version number 2019-08-19 21:57:49 +02:00
rdb d028bebb52 makepanda: change getversion.py to take version from setup.cfg
[skip ci]
2019-08-19 21:37:50 +02:00
rdb e69c412c2b Bump version to 1.10.4.1 2019-08-19 21:30:46 +02:00
rdb a0aa7de291 dgui: fix critical regression introduced by 43a5719 2019-08-19 21:26:35 +02:00
rdb 818ed57894 linmath: work around obscure MSVC optimization bug with Eigen 2019-08-18 18:07:00 +02:00
rdb 6127ff5c4a doc: add some additional notes for 1.10.4
[skip ci]
2019-08-18 13:45:09 +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 22833686e3 test_wheel: temp hack around pypa/pip#6885 to make Win Py3.8 tests pass
A proper fix for this has been merged in pip already (pypa/pip#6874), so this hack will only exist until pip 19.2.3 is out.
2019-08-17 21:01:28 +02:00
rdb e9399375d9 readme: change version numbers from 1.10.3 to 1.10.4
[skip ci]
2019-08-17 19:59:20 +02:00
rdb b94e080ad2 makepackage: apply workaround for bpo-28440 to 2.7 and 3.8+ too
See #502
2019-08-17 19:59:20 +02:00
rdb 1e846709d3 Add various @since tags to methods that are new in 1.10.4 2019-08-17 13:49:47 +02:00
rdb ee96742973 Add Python 3.8 classifier to setup.cfg 2019-08-17 13:31:35 +02:00
rdb 5a804925ec deploy-ng: set module suffixes properly for Python 3.8 2019-08-14 15:24:40 +02:00
rdb 96cf87e444 doc: add release notes for Panda3D 1.10.4 2019-08-14 15:11:39 +02:00
rdb 9fac30b3e8 makepanda: Python 3.8 no longer has d/m SOABI flags 2019-08-14 15:07:23 +02:00
rdb 0e27f19d94 bullet: fix various unprotected debug() prints 2019-08-14 15:07:06 +02:00
rdb c54f964a3b bullet: workaround for deadlock adding shape to scaled body (#689) 2019-08-14 14:38:58 +02:00
fireclawthefox 24d48d8cb0 dgui: allow setting DirectEntryScroll entry after the fact
Closes #702
2019-08-14 13:31:08 +02:00
John Cote ff188c1dca tests: Add unit test for DirectEntry._autoCapitalize()
Closes #628

Co-authored-by: rdb <git@rdb.name>
2019-08-14 13:26:33 +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
rdb acb0a41049 ode: fix several unprotected debug() prints
This should especially help with trimesh generation performance, which previously formatted a complete description of the trimesh to the debug output even if it was disabled.
2019-08-14 13:11:02 +02:00
rdb 999d1f74f7 makepanda: fix locating UCRT when building with Windows SDK 7.1A
[skip ci]
2019-08-14 09:01:43 +02:00
rdb 8f9d0ab6f6 pgraph: fix some TextureAttrib state cache issues
The _render_stages and _render_ff_stages cannot simply be copied, because they contain pointer references to the previous TextureAttrib.  Never copy them, and always mark _sort_seq as stale.

This fixes a test failure in replace_texture.
2019-08-13 18:08:48 +02:00
rdb 262f8b7643 makepanda: look in correct location for VC 2017 dlls 2019-08-13 17:48:47 +02:00
rdb df8ccdb7ab Add support for Python 3.8 2019-08-13 17:48:32 +02:00
rdb fef72ab2a5 test_wheel: don't try to install pip outside the virtual env
We can no longer have pip pre-installed, see #690
2019-08-13 17:46:05 +02:00
rdb 6b3e6f9097 makepackage: install pip as part of installer, using ensurepip
Fixes #690
2019-08-13 17:45:06 +02:00
rdb b141483b22 notify: fix macOS build, don't include <atomic> if we don't have it 2019-08-13 13:48:17 +02:00
rdb 2771c29ac9 Make it possible to compile for Maya 2009 2019-08-13 11:49:32 +02:00
rdb 8be70ed16d glgsg: auto convert to srgb(a) if sluminance not supported
This is particularly the case when requesting a core-only profile (gl-version 3 2) where luminance textures are deprecated.

There is apparently no way to emulate them with swizzles (as we do with luminance textures), so we'll have to duplicate the channels out.

Fixes #693
2019-08-12 21:04:48 +02:00
rdb dc599901bc Work around shutdown hang when compiling with SIMPLE_THREADS=1
This is a workaround for a specific case of #508
2019-08-12 19:37:11 +02:00
rdb 932e981572 device: fix deadlock when building with SIMPLE_THREADS=1
GetMessage blocks without yielding, so we need to use an alternative message pump using PeekMessage instead.

Fixes #704
2019-08-12 19:34:17 +02:00
rdb a86bdcfe3f notify: support setting notify-output after static init time
Previously it was only possible to set this in the default-loaded Config.prc file; now it is possible to set this at any time, though it can only be set once from its default value and not changed after it has already been set to something other than the default value.
2019-08-03 10:36:00 +02:00
rdb 42dff65e4d general: fix various unprotected debug() outputs
These should be protected by an is_debug() check so that they can be optimized out properly in a release build.  Setting check-debug-notify-protect in Config.prc can be used to track down cases of missed checks.
2019-08-03 10:33:43 +02:00
fireclawthefox 2b64a7d74f dgui: Scrollbar width changeable after initialization
Closes #699
2019-08-03 09:42:16 +02:00
fireclawthefox c395460390 directtools: Added missing imports
Closes #698
2019-08-03 09:40:11 +02:00
Mitchell Stokes 369dccbab9 tests: Add tests around compiling GLSL and Cg shaders (#622) 2019-08-01 12:32:06 +02:00
Mitchell Stokes f2686c5ad8 glsl: Fix Shader::_error_flag not being set on compile errors (#622) 2019-08-01 12:14:31 +02:00
rdb 7f385b5ddf glsl: fix use of multiple p3d_TextureMatrix[] values 2019-07-30 19:30:15 +02:00
rdb 5449f963a5 loader: fix leak of EntryPoint.name reference 2019-07-30 19:29:18 +02:00
rdb aea5ee8c7a task: work around MSVC compiler bug crashing test suite in release mode 2019-07-30 18:38:16 +02:00
rdb 93ed9632ac loader: fix incorrect EXPCL that prevents compilation on Windows 2019-07-30 13:28:10 +02:00
rdb 7b9f87412a loader: support Python loader plug-ins
This allows defining custom loader types from Python code.  Packages can use metadata entry points to register file types with the loader.

Example code: https://gist.github.com/rdb/cb3c2f4a98ce371c722e3f297b445153
2019-07-30 13:04:46 +02:00
rdb f989bce584 wgldisplay: don't restore gamma atexit if we never modified it
This avoids possible instability (see #685) when this feature isn't even used
2019-07-29 17:05:36 +02:00
rdb 7ab377f28e dgui: fix option menu's cancelFrame not working in scrolled frame
Fixes #658
2019-07-29 13:07:26 +02:00
rdb 224a32090f task: fix other task chains still running after exception occurs
A task returning DS_interrupt would only interrupt the current task chain, not the entire task manager.  This meant that other tasks might get run with an exception state set, causing the exception state to get stomped on or the Python interpreter to complain.

Fixes #692
2019-07-26 08:30:16 +02:00