Commit Graph

158 Commits

Author SHA1 Message Date
rdb
35135ea0e1 Merge branch 'release/1.10.x' 2019-09-01 21:54:57 +02:00
rdb
833f778cb7 pnmimage: add quantize feature to reduce number of colors in image 2019-08-28 22:44:16 +02:00
rdb
61a276f49a tests: add some ModifierButtons unit tests 2019-08-28 11:04:20 +02:00
rdb
7b5f818ab2 tests: convert makepanda/test_imports.py to a unit test 2019-08-26 10:07:58 +02:00
rdb
665d2fc56b Merge branch 'release/1.10.x' into incoming 2019-08-23 10:53:09 +02:00
rdb
88f8071dfc tests: add unit tests for direct.showbase.Loader.Loader class 2019-08-22 10:45:36 +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
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 2019-08-20 01:08:56 +02:00
rdb
a0aa7de291 dgui: fix critical regression introduced by 43a5719 2019-08-19 21:26:35 +02:00
rdb
a40228202b Merge branch 'release/1.10.x' 2019-08-18 22:34:23 +02:00
Sam Edwards
fd62daca7b tests: Add some callbacks/simulation tests for Bullet 2019-08-16 17:11:57 -06:00
John Cote
ff188c1dca tests: Add unit test for DirectEntry._autoCapitalize()
Closes #628

Co-authored-by: rdb <git@rdb.name>
2019-08-14 13:26:33 +02:00
rdb
bc563c8664 Merge branch 'release/1.10.x' 2019-08-03 11:24:05 +02:00
hecris
674c9fdee9 collide: implement box into capsule
Closes #675
2019-08-02 19:14:58 +02:00
Mitchell Stokes
369dccbab9 tests: Add tests around compiling GLSL and Cg shaders (#622) 2019-08-01 12:32:06 +02:00
rdb
3a7ab6c319 Merge branch 'release/1.10.x' 2019-07-15 19:51:19 +02:00
rdb
8d61002cd6 tests: add unit tests for some shader loading operations 2019-07-15 19:46:59 +02:00
pythonengineer
46a3a72029 PythonUtil: weightedChoice should throw IndexError on empty list
Also includes a unit test.

Closes #682
2019-07-15 19:39:31 +02:00
rdb
fa62344452 express: better fix for encrypt_string Python 3 issues
A workaround for the bug described in #684 was made in e080d33e31 but this fix is significantly cleaner.

Unit test was added.
2019-07-10 13:46:42 +02:00
rdb
d5788d9422 Merge branch 'release/1.10.x' 2019-07-10 12:22:56 +02:00
rdb
bac376541f pgraph: add NodePath.replace_texture() 2019-07-10 09:53:42 +02:00
hecris
563ff75c2f collide: implement check from parabola into inverse sphere 2019-06-20 19:33:42 +02:00
hecris
47f39809ee collide: add collision test for parabola into box
Closes #664
2019-06-07 22:21:27 +02:00
rdb
c4a01ac564 pipeline: give Mutex and ReMutex more Pythonic semantics
This allows using mutices in with-blocks and wraps up the functionality of acquire() and try_acquire() into a single acquire(blocking=True).

Furthermore, the GIL is no longer released in cases of no contention.
2019-05-12 20:58:13 +02:00
rdb
a7c743fd5e Allow seek of IDecryptStream to begin (for looping encrypted audio) 2019-05-12 15:51:35 +02:00
rdb
60922fabc1 Give istream/ostream a friendlier file-like interface for Python 2019-05-12 15:46:14 +02:00
rdb
bf302a0838 tests: hopefully fix sporadic test failures with condition var test 2019-05-03 18:03:16 +02:00
rdb
362ee33d32 tests: hopefully make notify_all() test more robust 2019-05-02 21:34:40 +02:00
rdb
0ac36185a9 Merge branch 'release/1.10.x' 2019-05-02 21:34:25 +02:00
rdb
cc4d5259cc linmath: fix mat4.get_col3() and mat4.get_row3() when using Eigen 2019-05-02 19:40:23 +02:00
rdb
3f4d85574a tests: add UserDataAudio unit tests 2019-04-29 18:05:29 +02:00
rdb
1723fae158 Merge branch 'release/1.10.x' into incoming 2019-04-29 11:52:23 +02:00
rdb
ca5b4e7b54 ode: fix OdeJoint.attach with None parameters
Fixes #633
2019-04-28 22:29:29 +02:00
rdb
daa57733cb Merge branch 'release/1.10.x' 2019-04-14 23:11:03 +02:00
hecris
2288ffca8b tests: add bullet heightfield test
Closes #619
2019-04-14 23:10:54 +02:00
rdb
6df700939a glsl: make ParamVecBase4 and ParamVecBase4i work with ptr inputs 2019-04-14 23:08:02 +02:00
rdb
6464327e6f tests: add more thorough unit test for SparseArray::clear_range 2019-04-14 17:59:55 +02:00
Epihaius
83723d38a5 tests: Create test_sparsearray.py
Closes #590
2019-04-14 17:59:29 +02:00
Jerome
66ea0471a0 tests: Add unit test for CollisionRay into CollisionBox
Closes #613
2019-04-09 13:50:04 +02:00
hecris
ac451d79ef tests: add more collision unit tests
Closes #609
2019-04-09 13:44:20 +02:00
Hitesh Saini
fff422fab7 tests: add unit tests for ClockObject
Closes #593
2019-04-02 21:34:13 +02:00
rdb
57b0be8647 tests: skip auto-shader tests if Cg shaders are not supported 2019-04-02 21:27:08 +02:00
rdb
e0d6e07a93 tests: add capsule-into-sphere and segment-into-sphere tests 2019-03-29 13:45:06 +01:00
rdb
5a8a8dd550 tests: add unit tests for lens extrude and project operations 2019-03-29 12:20:01 +01:00
hecris
2d9079713b tests: add collision tests
Closes #583
2019-03-29 12:15:08 +01:00
rdb
5f0f005723 tests: add various tests for PythonTask.__dict__ access 2019-03-04 22:59:17 +01:00
rdb
3f1bd1744b tests: add threaded unit tests for Mutex and ConditionVar 2019-02-07 00:19:15 +01:00