23062 Commits

Author SHA1 Message Date
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
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
LD
791be4766a MacOS: Don't crash if no elements are returned by IOHIDDeviceCopyMatchingElements
Fixes #797
2019-12-03 23:26:25 +01:00
LD
f72c72b36a MacOS: Force disable application HiDPI support on NSView, fixes #794 2019-11-29 10:07:48 +01:00
rdb
d8481e7d22 Update BACKERS.md
[skip ci]
2019-11-28 22:23:11 +01: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
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
fireclawthefox
e6fc6c695d tests: add unit tests for DirectOptionMenu 2019-11-03 12:14:37 +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
78c3db379c gobj: fix tests crash due to ShaderBuffer context not cleared at GSG death 2019-11-03 11:48:51 +01:00
rdb
c611abc6c2 physx: fix a pair of misformatted docstrings 2019-11-02 20:39:29 +01:00
rdb
3bfd994cf8 general: Fix a couple of misformatted docstrings. 2019-11-02 19:54:25 +01:00
rdb
c52db7239b makepanda: fix unnecessary re-copy of unmodified direct files 2019-11-02 19:51:16 +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
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
e1df400f87 makewheel: add pandac/input/*.in interrogatedb files
These are present in the normal SDK builds and are useful for analyzing the API, for example for generating FFI code or generating API documentation.
2019-10-29 20:44:52 +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
rdb
a9759fab14 makepanda: fix makepanda.bat to look in Python 3.7 folder 2019-10-25 11:50:50 +02:00
rdb
518dece368 deploy-ng: strip -psn_* argument that macOS passes to GUI apps 2019-10-25 10:37:02 +02:00
rdb
fd8405cd87 x11display: change info message about unavailable XF86DGA to warning 2019-10-25 10:26:32 +02:00
rdb
45973fe697 makepanda: remove a leftover debug print 2019-10-25 10:25:40 +02:00
rdb
3e99d16eb1 gobj: clarify range of GeomPrimitive::offset_vertices() parameters 2019-10-25 10:25:11 +02:00
rdb
dae762f52b pstatclient: fix compile error when compiling without DO_PSTATS 2019-10-25 10:24:30 +02:00
rdb
4098f55d70 dtoolutil: record stdlib (libc++ vs libstdc++) in PandaSystem
This is particularly relevant on macOS, for finding out which stdlib Panda was compiled with.
2019-10-25 10:21:30 +02:00
rdb
6dcaab2d3a glgsg: fix multisample FBO for 16-bit float buffer
Fixes #756
2019-10-10 15:18:45 +02:00
rdb
08572f3c38 general: Fix a variety of ABI incompatibility issues with opt4 builds 2019-10-08 19:44:29 +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
rdb
c6990b9f9b prc: fix possible stack overflow in StreamReader
Fixes #754
2019-10-08 19:44:23 +02:00
rdb
3c9591cfbf interrogate: envelop function calls in parentheses
This reduces the risk of calling a preprocessor macro instead of a method.
2019-10-08 19:43:34 +02:00
rdb
fb5440bd07 cppparser: hack fix for method defs in parentheses 2019-10-08 19:43:34 +02:00
rdb
0247f9e3fa physics/particlesystem: remove some unused macros 2019-10-08 19:43:17 +02:00
rdb
657af0edb5 cppparser: don't expand function-style macro if not followed by ( 2019-10-07 18:38:21 +02:00