Commit Graph

182 Commits

Author SHA1 Message Date
Leandro (Cerberus1746) Benedet Garcia
ffed59679d tests: add more unit tests for vector classes
Closes #826
2020-01-21 15:27:34 +01:00
rdb
a8a775ad09 Merge branch 'release/1.10.x' 2020-01-04 02:49:28 +01:00
rdb
cef70a4fe5 tests: remove __gt__ asserts from test_shaderinput_vector_compare
This fails in Python 2, and we don't actually provide this operator or make any guarantees about greater-than ordering, so it was silly to test for it to begin with.
2020-01-04 01:21:54 +01:00
rdb
b60c3e6c7e tests: add unit tests for ShaderInput comparison (#827) 2020-01-03 18:52:55 +01:00
Leandro (Cerberus1746) Benedet Garcia
12f8363284 linmath: support round(), floor(), ceil() in vector classes
Closes #821
2019-12-30 03:06:00 +01:00
rdb
b78b7be326 Merge branch 'release/1.10.x' 2019-12-30 01:50:54 +01:00
rdb
b9713f71b1 tests: add some DCPacker unit tests (for #751) 2019-12-25 16:58:11 +01:00
rdb
2801165db3 tests: add unit tests for DirectFrame 2019-12-11 18:02:17 +01:00
Brian Lach
48ff3aeb08 pgraph: use bit flags instead of incremental enum for ShaderAttrib flags
The flags in the enum are actual bit flags instead of indices. This allows for setting/clearing a mask of flags in one go, rather than having to set each flag in its own function call. Existing code shouldn't be affected.

Closes #688
2019-12-11 16:49:42 +01:00
leotada
636c3d044a bullet: change wheel get/setSteering to use degrees
Fixes #757
Closes #784
2019-12-11 16:49:42 +01:00
hitesh4
cf4d418f2f tests: add unit tests for GeomVertexReader
Closes #604
2019-12-11 16:49:34 +01:00
rdb
d088263f6f Merge branch 'release/1.10.x' 2019-11-11 03:28:39 +01: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
rdb
847ebf667f Merge branch 'release/1.10.x' 2019-11-06 10:49:05 +01:00
fireclawthefox
e6fc6c695d tests: add unit tests for DirectOptionMenu 2019-11-03 12:14:37 +01:00
rdb
40b3c7ccc9 direct: remove empty useless direct.controls.PhysicsRoller module 2019-10-29 23:55:14 +01:00
rdb
247f3c415a Merge branch 'release/1.10.x' 2019-10-08 19:50:48 +02:00
rdb
c6990b9f9b prc: fix possible stack overflow in StreamReader
Fixes #754
2019-10-08 19:44:23 +02:00
Mitchell Stokes
660249a5cc Remove p3d/AppRunner/plugin system
Co-authored-by: rdb <git@rdb.name>

Closes #734
2019-09-10 16:49:57 +02:00
fireclawthefox
4d9bfe76f4 tests: Added Tests for most DirectGuiBase features
Closes #731
2019-09-10 16:36:13 +02:00
rdb
086cb1ee6d tests: fix return statement that should be a continue 2019-09-06 16:18:44 +02:00
rdb
53ff35dd6e tests: fix test_imports not to import things starting with 'lib' 2019-09-06 13:44:03 +02:00
rdb
d92b440617 Merge branch 'release/1.10.x' 2019-09-06 09:46:20 +02:00
rdb
7f7cbd1c25 tests: add Filename unit tests for fspath protocol in particular 2019-09-04 12:40:58 +02:00
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