rdb
5e7e64179b
cleanup: fix a host of unprotected debug/spam messages
2019-08-23 18:58:57 +02:00
rdb
1ec7c5d20e
Delete pystub, it is no longer needed or used for anything.
2019-08-23 18:58:53 +02: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
0e4597fb2e
cppparser: fix finding types in explicitly specialized template class
2019-08-23 13:15:36 +02:00
rdb
8c40ff39d7
bullet: fix contact added callback behavior
...
The API seems to imply that the callback is per-world, when it is actually a global setting. This fixes it to truly behave per-world. This also fixes a crash on shutdown caused by the callback destructing when the Python interpreter is already shutting down.
Fixes #712
2019-08-23 12:18:47 +02:00
rdb
665d2fc56b
Merge branch 'release/1.10.x' into incoming
2019-08-23 10:53:09 +02:00
rdb
806496d191
ffmpeg: proper fallback when compiling without libswscale
...
Compiling with libswscale isn't really optional if you want to play most video files, but if you know what you are doing and all your videos already have a supported pixel formats, it is now possible.
Fixes #711
2019-08-23 10:51:52 +02:00
Sam Edwards
c62d5fbe35
CMake: Fix incorrect comment
2019-08-22 14:58:43 -06:00
Sam Edwards
6cb62d1d18
CMake: When zlib isn't available, run_pzip() should copy at build-time
...
This prevents copying to configurations that the user isn't going
to build, and also plays nice with multi-configuration generators
where the configuration isn't known until build-time.
2019-08-22 14:58:43 -06:00
Sam Edwards
9ca4f19b90
CMake: Make sure we define flags variables for Distribution
...
This fixes a CMake error with the MSVC generator, but it's also
generally good to have around.
2019-08-22 14:58:43 -06:00
Sam Edwards
896a8dbca5
CMake: Some more changes to p3pystub
...
- Don't build it at all on Win32 where it isn't needed
- Don't link it into interrogate_module (oops, missed that)
2019-08-22 14:58:43 -06:00
rdb
88f8071dfc
tests: add unit tests for direct.showbase.Loader.Loader class
2019-08-22 10:45:36 +02:00
rdb
2575c01261
Loader: fix passing a tuple to loader.loadModel
2019-08-22 10:44:34 +02:00
rdb
f0ba25e11d
tests: work around Python 2.7 tempfile case bug on Windows
2019-08-20 14:40:15 +02:00
rdb
7d34526c33
tests: fix OS-specific filename issue on Windows with loader tests
2019-08-20 14:00:15 +02:00
rdb
b23561d863
tests: add unit tests for Python loader file types
2019-08-20 13:23:11 +02:00
rdb
f63b3a86b9
loader: add LoaderFileTypeRegistry.unregister_type()
2019-08-20 13:23:11 +02:00
rdb
c2f49f4c4a
loader: a few additional checks for Python loader plug-ins
2019-08-20 13:23:11 +02:00
rdb
d5a576f3cb
Bump version number on release/1.10.x branch to 1.10.5
2019-08-20 13:23:11 +02:00
rdb
64982f8b14
makepanda: makepackage/makewheel take default version from setup.cfg
...
dtool/PandaVersion.pp is obsolete and will be removed soon.
2019-08-20 13:23:11 +02:00
rdb
0265ee8ef8
readme: update version number in links to 1.10.4.1
...
(Though, it doesn't matter much for the thirdparty packages, as the contents are identical to 1.10.4)
2019-08-20 13:13:55 +02:00
Sam Edwards
c16092fe8a
CMake: Workaround for some export errors when doing a static build
...
This refuses to export/install the p3assimp/p3ptloader/p3txafile
libraries when building statically, because they depend on libraries
that are never installed, and static linkage would require all of the
dependencies to be available.
A more proper fix would involve installing these base libraries, but
only when doing a static build. I suspect nobody will ask for that,
so I haven't done it.
2019-08-19 18:50:53 -06:00
Sam Edwards
b9e50da3ce
CMake: p3distort is NOT a component; it's its own pandafx library
2019-08-19 18:50:53 -06:00
rdb
1e6be1b2ee
Merge branch 'release/1.10.x' into incoming
2019-08-20 01:26:32 +02:00
rdb
1318fd80d7
tests: add unit test for track-gui-items setting in DirectGUI
v1.10.4.1
2019-08-20 01:08:56 +02:00
rdb
062460cbe0
dgui: store guiItems on ShowBase class dict instead of module
2019-08-20 01:07:39 +02:00
rdb
b19abf1480
doc: add release note for 1.10.4.1
...
[skip ci]
2019-08-19 23:35:35 +02:00
rdb
edbdf43f07
makepanda: PANDA_VERSION_STR should contain the full version number
2019-08-19 22:57:51 +02:00
rdb
6364485b49
ffmpeg: fix an unprotected debug print
2019-08-19 21:58:08 +02:00
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
35efdaebdb
mayapath: remove PANDA_INCOMPATIBLE_PYTHON var, no longer used
2019-08-18 22:35:11 +02:00
rdb
a40228202b
Merge branch 'release/1.10.x'
2019-08-18 22:34:23 +02:00
rdb
818ed57894
linmath: work around obscure MSVC optimization bug with Eigen
v1.10.4
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
Sam Edwards
fd62daca7b
tests: Add some callbacks/simulation tests for Bullet
2019-08-16 17:11:57 -06:00
Sam Edwards
31c9a88dcf
CMake: Ugh, just give p3distributed a dummy .cxx instead
...
Windows won't even create the .lib unless there's at least one
source file. Whatever, this is easy to do.
2019-08-15 16:47:55 -06:00
Sam Edwards
d008037244
CMake: Use Python::Module, not Python::Python, for extension linkage
...
CMake 3.15+ provides the former, which extension modules should link
against in order to ensure the ABI-appropriate linkage for the
platform.
For older versions of CMake, try to hack up the correct linkage for
the platform. If the platform isn't recognized, tell the user to
upgrade CMake.
This also tweaks p3pystub just a bit, since now it's actually relied
upon to resolve runtime link issues when p3dcparse pulls in direct,
as p3dcparse doesn't link against Python at all.
2019-08-15 16:47:53 -06:00