21989 Commits

Author SHA1 Message Date
Mitchell Stokes
c33ae8a95f Merge branch 'master' into deploy-ng 2018-07-15 12:42:51 -07:00
Mitchell Stokes
0fd1250142 deploy-ng: Fix execute permission bits for tarball installers created on Windows 2018-07-15 12:07:22 -07:00
Mitchell Stokes
f3e87a0d01 deploy-ng: Create zip installers without first creating a temporary directory 2018-07-15 12:07:22 -07:00
Mitchell Stokes
7a0004172a deploy-ng: Fix cefpython3 on Windows 2018-06-26 20:26:30 -07:00
Mitchell Stokes
a17751adcf deploy-ng: Avoid interactive prompt on packages fetched via a VCS 2018-06-26 19:12:16 -07:00
Mitchell Stokes
ca812b890c deploy-ng: Add initial support for cefpython3 2018-06-25 21:14:00 -07:00
Mitchell Stokes
dd9a7f31ec deploy-ng: Ensure sys.frozen is defined in frozen applications 2018-06-25 19:50:01 -07:00
Mitchell Stokes
8c5c2c3c7d deploy-ng: Add package data hooks for jsonschema 2018-06-25 18:20:41 -07:00
Mitchell Stokes
ffe776b8f9 deploy-ng: Support pktutil.get_data() on Python 3
Python 2 should already work.
2018-06-25 18:20:41 -07:00
Mitchell Stokes
0253a7a29f deploy-ng: Remove dist.setup()
This was a hack used by installation methods that did not support
registering new commands correctly. The commands should now work
regardless of installation method (wheel, deb, NSIS installer, etc.).
2018-06-25 18:20:41 -07:00
Mitchell Stokes
d9885e4f1b deploy-ng:Fix parsing bdist_apps.installers from setup.cfg 2018-06-25 18:20:41 -07:00
Sam Edwards
47f7d3f297 general: Add headers explaining the renamed config_*.h 2018-05-14 02:36:42 -06:00
Sam Edwards
c81229c1a8 pfmprogs: Rename config_pfm to config_pfmprogs 2018-05-14 02:36:42 -06:00
Sam Edwards
52e7c952b3 putil: Rename config_util to config_putil 2018-05-14 02:36:42 -06:00
Sam Edwards
87c11d8018 pstatclient: Rename config_pstats to config_pstatclient 2018-05-14 02:36:42 -06:00
rdb
b6f2919420 deploy-ng: make Tkinter work for Windows non-cross-builds
This is only a temporary solution, since this only supports one platform.  We may have to pack the .tcl files into the panda3d .whl archive.
2018-05-13 23:39:30 +02:00
rdb
d00109452a deploy-ng: set __file__ for all frozen modules (using import hooks)
Many thirdparty libraries rely on __file__ being set properly, for example to be able to locate data files, so it is easiest to just set this to something remotely sensible (like the executable path).
2018-05-13 23:37:40 +02:00
rdb
5322811e08 deploy-ng: be lenient when processing DLLs with invalid codepage 2018-05-13 23:35:52 +02:00
rdb
ef69e8935f freezer: add mechanism for overriding modules with custom code 2018-05-13 23:35:00 +02:00
rdb
f34d4c4851 deploy-ng: add hidden imports for matplotlib 2018-05-13 23:32:46 +02:00
rdb
126f4bc418 deploy-ng: copy over data directories for matplotlib 2018-05-13 23:30:14 +02:00
rdb
229e1a1b1f deploy-ng: fix building a Linux build from Python 2.7 on Windows 2018-05-13 23:26:55 +02:00
rdb
e292fedd91 deploy-ng: add .libs directory in .whl to search path
This seems to be a convention imposed by auditwheel and used by numpy.
2018-05-13 22:56:44 +02:00
rdb
ea351da50c deploy-ng: fix issue with irrelevant wheels in cache dir being used
This is still not a perfect solution, since eg. the wrong version of a package may still be used if older versions are still in the __whl_cache__ directory.  We may want to look into using pip to resolve the package versions, or do something clever such as automatically remove cached wheels if a newer version of the same package was downloaded.
2018-05-13 22:56:11 +02:00
rdb
6175e79c57 cppparser: fix infinite recursion stack overflow with enum classes 2018-05-06 22:21:24 +02:00
rdb
666591ff48 cppparser: fix compile warnings on MSVC 2018-05-06 22:19:33 +02:00
rdb
ed54856e9f makepanda: don't fail building Windows installer if Pmw is missing 2018-05-06 22:18:30 +02:00
Mitchell Stokes
bf1b486e5a Merge branch 'master' into deploy-ng 2018-05-06 11:30:01 -07:00
Mitchell Stokes
ebe2588a50 Merge branch 'master' into deploy-ng 2018-05-06 11:21:13 -07:00
Mitchell Stokes
cb077fcdae deploy-ng: Add panda3d.dist-info to installers 2018-05-06 11:20:19 -07:00
Mitchell Stokes
7073609480 deploy-ng: Use sys.executable instead of 'python' in tests/build_samples.py 2018-05-06 10:25:32 -07:00
Mitchell Stokes
7eeb416765 deploy-ng: Remove debug print 2018-05-06 10:24:55 -07:00
Mitchell Stokes
081ceb4329 deploy-ng: Fix parsing platforms from setup.cfg 2018-05-06 09:50:17 -07:00
Mitchell Stokes
82d32e1f14 deploy-ng: Fix using lists in dictionaries when using setup.cfg 2018-05-06 09:47:02 -07:00
rdb
549301d0f0 putil: keep reference to objects queued for writing
This prevents a crash when a reference counted object is destroyed right after a write_pointer call.

Fixes #310
2018-05-05 23:10:41 +02:00
rdb
8a98bf42a3 general: enable use of tie and tuple on macOS (from TR1, for now) 2018-05-05 23:09:39 +02:00
rdb
71eee6df3f showbase: make iris/fade/letterbox transitions awaitable
This allows using a coroutine to build up a more complex sequence including transitions (eg. scripted cutscene), as well as provide a standard way to register callbacks upon completion of the transition.
2018-05-05 23:05:50 +02:00
rdb
cf58de4d04 showbase: make base.movie() awaitable (by returning a future) 2018-05-05 23:02:11 +02:00
rdb
11e21af52c showbase: fix iris/fade transitions for extreme aspect ratios
Fixes #311
2018-05-05 22:08:52 +02:00
rdb
b45726001e task: fix double free when failing to retrieve coroutine exception 2018-05-05 20:53:04 +02:00
rdb
9db74bca1d task: use consistent ordering for tasks with same sort value
We don't guarantee a specific order in this case, especially because they can be run in either order if there is more than one thread, but it is still useful to have a defined order for single-threaded task chains.  To that end, tasks
are now run in the order in which they were added to taskMgr.add (in absence of any other ordering constraints).

Fixes #309
2018-05-01 15:06:27 +02:00
Mitchell Stokes
52360dc10c deploy-ng: Add bztar and xztar installers 2018-04-30 20:31:54 -07:00
Mitchell Stokes
7f974865d5 deploy-ng: Subclass from setuptools.Command instead of distutils.core.Command 2018-04-30 20:27:31 -07:00
Mitchell Stokes
4b9315ef43 deploy-ng: Fix running against pip 10.0+ 2018-04-30 18:50:42 -07:00
rdb
3b4d4b0804 glgsg: fix broken upload of downscaled texture without mipmaps
Fixes #306
2018-04-30 19:13:54 -04:00
rdb
f986f8de1b showbase: add back clampScalar and PriorityCallbacks to PythonUtil
These were removed by 88dbb31daa02779405ef5326677eefb5cf93f3c8 under the assumption that they were not used, but it has recently come to my attention that there is still code out there that uses these.

PriorityCallbacks has been updated to be compatible with Python 3 by only comparing the priority, rather than the (priority, callback) tuple. This also has the side-effect of ditching the bisect dependency.

Also moves testing code from the source to the unit tests.
2018-04-21 11:43:46 +02:00
Donny Lawrence
574000aedd Add getter and setter for Content-Type header
Fixes #296
Closes #305
2018-04-21 11:20:18 +02:00
deflected
1ac351d594 bullet: Allow intractions with bullet world during tick callbacks
- Release the global lock during the user tick callback
        and allow interactions with bullet world
        - Acquire the lock again after the callback

Signed-off-by: deflected <deflected@users.noreply.github.com>
2018-04-20 21:29:08 +03:00
rdb
e6e39cce0e bullet: fix deadlock in get_manifold 2018-04-20 12:51:26 +02:00
rdb
fc172f8918 tests: fix unit test on 32-bit Ubuntu due to float imprecision 2018-04-20 12:48:26 +02:00