23260 Commits

Author SHA1 Message Date
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
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
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
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
Sam Edwards
856754a3de general: Don't abuse PyErr_Restore
The intended purpose of this function is to restore an exception
that has already been raised and saved with PyErr_Fetch. It should
not be used to raise new exceptions nor should it be used to clear
the current exception.

The especially egregious example is
`PyErr_Restore(exc_type, nullptr, nullptr);`
as the null value may not be handled correctly.
2019-11-05 18:44:20 -07: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
9a7e103c33 collide: restore missing CollisionTraverser.showCollisions()
This was an accidental regression in e48a40abad5399c7c3a0abffe1dfb3256b9a2317 which unexposed CollisionVisualizer and therefore caused this method to no longer be wrapped by Interrogate.
2019-11-02 20:43:21 +01:00
rdb
6d96028b71 Merge branch 'release/1.10.x' 2019-11-02 20:42:32 +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
rdb
40b3c7ccc9 direct: remove empty useless direct.controls.PhysicsRoller module 2019-10-29 23:55:14 +01:00
rdb
a72be90f17 Merge branch 'release/1.10.x' 2019-10-29 23:13:22 +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
David Rose
41fa3c52e3 further fix to pfmFile.resize() 2019-10-18 12:50:52 -07:00