rdb
f30019af13
tests: xfail vector floor division tests on Windows
...
Can't figure this one out for now.
2021-08-03 15:49:11 +02:00
rdb
5804c663a9
tests: Backport unit test fix from c0d3491223
2021-06-01 11:47:19 +02:00
rdb
2386e80448
linmath: Backport support for floor division to 1.10
...
Backport of 8944737844
(Also fixes return type of `__pow__` to always be derived class)
2021-06-01 10:45:56 +02:00
rdb
4e0e945279
linmath: Backport round(), floor(), ceil() support for vectors
...
See #821
2021-06-01 10:23:58 +02:00
rdb
8372b8150a
gobj: Cube map sampling support in TexturePeeker
...
Closes #1098
Co-authored-by: Mitchell Stokes <mogurijin@gmail.com >
2021-03-24 12:50:42 +01:00
rdb
8bde2f2b1b
tests: Add unit tests for GeomPrimitive::offset_vertices()
2021-03-22 22:04:08 +01:00
rdb
3732d3f1e6
PythonUtil: Fix Python 3 next() for SerialNumGen, AlphabetCounter
2021-03-22 21:49:58 +01:00
rdb
064e0383be
event: Allow AsyncFuture to store arbitrary PyObject result
2021-03-01 19:16:22 +01:00
Stephen Imhoff
a9f3940577
Add bullet ghost node test
2021-02-05 20:31:01 +00:00
rdb
a5a0809949
gobj: Support integer texture formats in TexturePeeker
2021-01-17 15:27:19 +01:00
rdb
3479c6eee2
tests: Add unit tests for GLSL usampler/isamspler/uimage/iimage
2021-01-17 12:13:59 +01:00
rdb
f20d859fe2
pgraph: Fix bug passing non-tuple sequence to shader input
2021-01-16 14:05:43 +01:00
rdb
a84f1b5595
express: distinguish between null vs empty in CPTA pickle as well
2021-01-02 02:22:06 +01:00
rdb
c81c506df3
express: Fix PointerToArray comparison operator
2021-01-01 17:54:09 +01:00
rdb
b2462c1d8c
express: Support pickling PointerToArray objects
2021-01-01 17:42:30 +01:00
rdb
e755f87130
pgraph: Add pickling for LoaderFileTypeRegistry
...
Useful to test that pickling singletons works
2021-01-01 17:08:55 +01:00
rdb
3a5201fd65
tests: Add tests for pickling DoubleBitMask
2021-01-01 17:08:34 +01:00
rdb
f8ce339960
collide: Add pickle support for most collision handlers
...
Also redo CollisionHandlerEvent pickling to use Datagram instead
Related to #1090
2021-01-01 16:56:18 +01:00
rdb
8852c835fc
collide: Support pickling for CollisionTraverser, HandlerEvent+Queue
...
Fixes #1090
2020-12-31 16:57:34 +01:00
rdb
a5557bc38d
stdpy: Fix pickle sometimes duplicating Panda objects
...
We have to unify multiple Python wrappers pointing to the same C++ object.
2020-12-31 16:55:34 +01:00
rdb
a6580f5dd3
physics: Fix GlobalForceGroup
2020-12-30 23:57:43 +01:00
rdb
c141bef19b
stdpy: Add missing threading.ThreadError
2020-12-30 23:57:27 +01:00
rdb
65c1ef968c
stdpy: Add PicklingError to pickle module
2020-12-30 22:34:44 +01:00
rdb
2c209e0f02
stdpy: Fix direct.stdpy.pickle module for Python 3
2020-12-29 13:05:00 +01:00
rdb
d5c2dc6447
dgui: Add setTextPos, etc. aliases for setPos
...
setPos will be deprecated in a future version.
See #1041
2020-12-26 13:59:19 +01:00
rdb
93900a203e
putil: Backport part of 9d8c523dfa
...
Fixes #886
2020-11-17 23:36:06 +01:00
rdb
5d0044a481
tests: Add unit test for RenderEffects comparison
2020-09-16 23:38:56 +02:00
rdb
c646924f03
tests: remove occasionally-failing PythonUtil.weightedChoice test
...
It does not test a behavior of this function that we support, anyway.
2020-09-14 11:01:01 +02:00
rdb
56c33fb8b6
tests: add unit test for StreamReader.readlines()
2020-09-12 23:09:38 +02:00
rdb
1236303acf
tests: Add new unit test for Triangulator (also testing #985 )
2020-08-18 18:38:19 +02:00
Mitchell Stokes
dd77bd4cdf
shadergen: Make use of material alpha if present ( #925 )
...
The material alpha overrides alpha values from flat color or vertex colors. This follows what the fixed-function pipeline does.
Fixes #912
2020-08-17 12:27:03 +02:00
rdb
9ac1a4f7cb
tests: Add some unit tests for #987
2020-08-17 12:16:33 +02:00
rdb
be24266715
tests: Copy some linmath/gobj tests over from master branch
2020-08-17 12:16:33 +02:00
rdb
c7341bec26
tests: Fix Filename test to match paths case-insensitively
2020-08-17 12:16:33 +02:00
rdb
f7cef5c284
tests: fix typo in TextureAttrib test
2020-06-29 12:49:26 +02:00
rdb
8d99f38aa2
tests: update TextureAttrib unit tests
2020-06-29 11:32:15 +02:00
rdb
913ab6669e
tests: Add more attribute tests to try to make coverage deterministic
2020-06-15 15:20:38 +02:00
rdb
a9b158192f
putil: fix crash in BitArray::has_any_of()
2020-06-14 12:55:52 +02:00
rdb
55951c3025
pgraph: fix has_tags() after clearing Python tags
...
Fixes #936
2020-06-02 20:31:18 +02:00
Ashwini
80ab6a28c4
pnmimage: Added offset to add_sub_image and mult_sub_image
...
Closes #903
2020-04-25 22:56:40 +02:00
rdb
064da09cf0
putil: add pickling support to Datagram class
2020-04-01 18:25:43 +02:00
Fireclaw
5d93237386
dgui: fix regression in DirectScrolledFrame (see #699 )
...
Made initialization ignore the setScrollBarWidth function
Respect the length/height of the scrollbar and only change the actual
width in the setScrollBarWidth function
Added a very basic unittest class for the scrolledFrame
Closes #864
2020-02-10 13:17:05 +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
rdb
b9713f71b1
tests: add some DCPacker unit tests (for #751 )
2019-12-25 16:58:11 +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
fireclawthefox
e6fc6c695d
tests: add unit tests for DirectOptionMenu
2019-11-03 12:14:37 +01:00
rdb
c6990b9f9b
prc: fix possible stack overflow in StreamReader
...
Fixes #754
2019-10-08 19:44:23 +02:00
rdb
7f7cbd1c25
tests: add Filename unit tests for fspath protocol in particular
2019-09-04 12:40:58 +02:00
rdb
833f778cb7
pnmimage: add quantize feature to reduce number of colors in image
2019-08-28 22:44:16 +02:00