24269 Commits

Author SHA1 Message Date
rdb
c3052f3ae0 dist: support implicit namespace packages (as per PEP 420)
Fixes #778
2019-12-11 16:10:46 +01:00
rdb
a503e9439e test_wheel: only install colorama on Windows 2019-12-11 15:25:15 +01:00
rdb
1568d1c6b1 test_wheel: workaround to keep this working on Python 3.4 for now
colorama dropped Python 3.4 (see tartley/colorama#228) but pip is not smart enough to lock to an older version.
2019-12-09 09:50:39 +01:00
Sam Edwards
86e3e6e166 shader: Fix missing include 2019-12-08 14:30:21 -07:00
rdb
406268c2e9 shader: use specific PStatCollector and group markers for shader compile
This makes it possible to determine which shader is taking which amount of time to compile.
2019-12-08 15:19:38 +01:00
rdb
9565d99fab Merge branch 'release/1.10.x' 2019-12-08 15:18:51 +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
kamgha
6e36abf5ba makepanda: build against OpenEXR 2.4 (MSVC)
Fixes #799
Closes #800
2019-12-08 10:29:44 +01:00
rdb
97a19c278b parser-inc: define __SIZE_TYPE__ and __PTRDIFF_TYPE__
This fixes an Interrogate parse error in termux when /usr/include gets added as -S argument
2019-12-08 10:28:50 +01:00
rdb
4f4b79295f makepanda: fix error when building on Android without specifying --target 2019-12-07 14:32:09 +01:00
Sam Edwards
e474350a48 CMake: Add a "Coverage" configuration, when using GCC/Clang 2019-12-05 10:35:25 -07:00
Sam Edwards
4000199acb CMake: Fix Bullet building under clang-cl 2019-12-05 10:34:48 -07:00
Sam Edwards
6bde9423df CMake: Don't pass GNU-like -f options to clang-cl 2019-12-05 10:34:47 -07:00
Sam Edwards
5c98b793a2 CMake: Make sure C++11 is marked as the required standard 2019-12-05 10:34:47 -07:00
Sam Edwards
cfedd71093 CMake: Disable searching macOS frameworks when using THIRDPARTY_DIRECTORY 2019-12-05 10:34:47 -07:00
Sam Edwards
bc152f665c CMake: Escape $<LINK_ONLY> in exported packages file 2019-12-05 10:34:47 -07:00
LD
791be4766a MacOS: Don't crash if no elements are returned by IOHIDDeviceCopyMatchingElements
Fixes #797
2019-12-03 23:26:25 +01:00
Leandro Benedet Garcia
71dfc51f8a general: Changed macros and definitions for the engine to compile with MinGW (#793) 2019-12-02 09:21:01 -07:00
LD
f72c72b36a MacOS: Force disable application HiDPI support on NSView, fixes #794 2019-11-29 10:07:48 +01:00
rdb
77eeed6a82 makepanda: discourage targeting macOS older than 10.9 (as per #300) 2019-11-28 22:30:34 +01:00
rdb
1ea8c9f299 Merge branch 'release/1.10.x' 2019-11-28 22:28:31 +01:00
rdb
d8481e7d22 Update BACKERS.md
[skip ci]
2019-11-28 22:23:11 +01:00
Sam Edwards
23f779e799 downloader: Simplify HTTPDate's timezone-correction code 2019-11-27 11:45:08 -07:00
Leandro Benedet Garcia
ae33d62978 general: Update EXPCL declarations to be MinGW-friendly (#792) 2019-11-27 11:25:24 -07:00
Sam Edwards
a37eabe089 CMake: Set generated prc's model-cache-dir properly for Windows/macOS 2019-11-25 03:03:03 -07:00
rdb
1cfd297433 makepanda: specify freetype library after harfbuzz as well
This fixes static linking of harfbuzz and freetype, which have a circular dependency on each other.
2019-11-17 20:37:33 +01:00
rdb
92476a3788 dist: fix exception when module has None __path__ 2019-11-17 20:36:40 +01:00
Sam Edwards
4556059c90 CMake: Use find_program to detect host tools when cross-compiling
In the future, we should also try to do find_package(Panda3D) to use
the host tools even if Panda3D isn't in a system path.
2019-11-13 15:30:26 -07:00
Sam Edwards
f377bdfb29 CMake: Copy thirdparty/**/*.dll to bin/ directory 2019-11-13 15:30:23 -07:00
Sam Edwards
ae59bd031f CMake: Fix typo 2019-11-11 20:16:00 -07:00
Sam Edwards
0b342d0f9f CMake: Don't use PythonInterp/PythonLibs when FindPython available 2019-11-11 00:48:14 -07:00
Sam Edwards
1c866dff78 CMake: Don't override Python_ROOT 2019-11-11 00:48:11 -07:00
rdb
d08219584d particles: combine two soft_start() overloads created by #769 2019-11-11 03:29:46 +01:00
rdb
d088263f6f Merge branch 'release/1.10.x' 2019-11-11 03:28:39 +01:00
Mitchell Stokes
47feac9a3d build_apps: Fix defaults for package_data_dirs
Fixes #779
2019-11-10 16:58:39 -08:00
Thaumaturge
76d6b7ce58 tests: add unit tests for particle systems and #769 in particular
Co-authored-by: rdb <git@rdb.name>
2019-11-10 20:34:03 +01: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
ccca3cca3a gobj: fix crash printing out residency trackers 2019-11-10 19:23:10 +01:00
rdb
2d836697b0 glgsg: fix issue extracting texture data for multiview textures 2019-11-10 19:20:10 +01:00
rdb
cb01d45eb6 glgsg: fix RTM_copy_ram for multiview textures 2019-11-10 19:09:31 +01:00
rdb
6fd662335d express: fix typo in VirtualFileSystem docstring 2019-11-09 20:27:03 +01:00
rdb
1b863ead55 cppparser: fix finding types in explicitly specialized template class 2019-11-09 20:26:33 +01:00
rdb
f1b235e065 gobj: use range for where possible in PreparedGraphicsObjects
This makes the code easier to read and maintain.
2019-11-09 14:45:00 +01:00
rdb
9201d75bbe gobj: fix crash on shutdown with cached buffer contexts
This was a regression from 207263c1a89de2386d140573d5b5c14b53974048
2019-11-09 14:39:49 +01:00
Sam Edwards
9b7bcf2564 Merge branch 'master' into cmake 2019-11-07 21:21:04 -07:00
rdb
d2bd4181e0 interrogate: set tp_base to DTOOL_SUPER_BASE and tp_basicsize to 0
The tp_basicsize field, as well as a few others, seem to be inherited from whatever is set in tp_base.  In absence of a tp_base, Python will set it to PyBaseObject_Type, which is not at all correct for Panda types.
2019-11-06 10:49:53 +01:00
rdb
bbb334abea audio: sound.set_time() should take effect immediately
Fixes #770
2019-11-06 10:49:27 +01:00
rdb
847ebf667f Merge branch 'release/1.10.x' 2019-11-06 10:49:05 +01:00