rdb
c788912070
Merge branch 'release/1.10.x'
2020-10-02 12:20:58 +02:00
rdb
6d228dfd2e
express: Add ZipArchive class, support mounting zips to VFS
2020-10-01 23:58:27 +02:00
rdb
5d0044a481
tests: Add unit test for RenderEffects comparison
2020-09-16 23:38:56 +02:00
rdb
54b93116e8
Merge branch 'release/1.10.x'
2020-09-16 10:59:59 +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
921cbc6bae
Merge commit 'e0d34131822a8852ff72dc9c5597f4dc6900719a'
2020-09-13 16:17:06 +02:00
rdb
56c33fb8b6
tests: add unit test for StreamReader.readlines()
2020-09-12 23:09:38 +02:00
rdb
707ea089cb
Merge remote-tracking branch 'origin/release/1.10.x'
2020-09-01 11:09:29 +02:00
Derzsi Dániel
7f426ea64e
putil: Turn UniqueIdAllocator's free into an atomic operation ( #999 )
2020-08-29 15:17:20 +02:00
Daniel
95d1ac2f8b
tests: Add proper tests for UniqueIdAllocator
2020-08-27 14:35:25 +02:00
Daniel
0d2dddd988
tests: Account for clock inaccuracies in all ClockObject tests
...
Closes #998
2020-08-27 14:33:20 +02:00
rdb
1236303acf
tests: Add new unit test for Triangulator (also testing #985 )
2020-08-18 18:38:19 +02:00
rdb
b655aa86c5
Merge branch 'release/1.10.x'
2020-08-17 13:05:51 +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
Tohka
c4af56620b
gobj: Support registering texture pool filters from Python code
...
Closes #954
2020-07-25 14:54:32 +02:00
rdb
e787929c85
Merge branch 'release/1.10.x'
2020-06-29 14:50:59 +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
Fireclaw
0f2cf6d14b
Add maximized property to WindowProperties, plus implementation ( #809 )
...
Closes #809
Co-authored-by: rdb <git@rdb.name >
2020-06-20 23:00:52 +02:00
rdb
4a21329a79
Merge remote-tracking branch 'origin/release/1.10.x'
2020-06-20 19:49:55 +02:00
rdb
913ab6669e
tests: Add more attribute tests to try to make coverage deterministic
2020-06-15 15:20:38 +02:00
rdb
d01c53c2d8
Merge branch 'release/1.10.x'
2020-06-14 13:02:25 +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
rdb
c218af2f49
tests: Make ClockObject test a little laxer again
...
This failed on the Windows builder because apparently time.sleep is apparently not super precise on Windows.
2020-05-19 21:59:48 +02:00
rdb
9ad4e4586c
collide: Use correct intersection point for sphere into poly
...
Previously, the reported surface and intersection points could be outside the polygon if the sphere was colliding with the edge.
Fixes #907
2020-05-05 16:52:21 +02:00
rdb
b85df6d9ed
tests: Change unreliable ClockObject test
...
The tests are randomly failing due to more time being elapsed. On a busy buildbot we don't really have any guarantee that the test doesn't take longer than the threshold.
2020-05-05 14:36:04 +02:00
Rishabh Tewari
e2ec8ecbf0
tests: Improve ClockObject tests
...
Closes #898
2020-05-05 13:28:47 +02:00
rdb
bfbbcad990
task: Support calling cancel() on currently awaiting futures
...
Fixes #911
2020-05-05 13:21:49 +02:00
rdb
d799a09002
cleanup: Remove support for EOL versions of Python
...
Fixes #905
2020-04-26 20:07:56 +02:00
rdb
e2177ecbdb
Merge branch 'release/1.10.x'
2020-04-26 00:16:25 +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
ba010168cf
tests: more improvements to test suite coverage
2020-04-25 14:44:43 +02:00
rdb
ad296492f8
tests: add more TextureAttrib comparison tests
...
This will hopefully cover all the lines that are hit non-deterministically by codecov.
2020-04-25 10:36:23 +02:00
rdb
a01711148b
tests: add an assorted variety of unit tests
...
I'm mostly trying to make sure we have over-coverage for a couple of places that are being hit intermittently by our current unit tests, generating noisy codecov reports. If we make sure these places are hit always, we hopefully won't have codecov misreport lost/gained coverage for unrelated changes.
2020-04-02 13:45:09 +02:00
rdb
9d8c523dfa
putil: Assorted improvements to BitArray, SparseArray, *BitMask*:
...
* Support converting BitMask types to int
* BitArray constructor accepts a Python long of arbitrary size
* DoubleBitMask (and QuadBitMask, by extension) supports Python long in constructor
* Support for pickling (except DoubleBitMask)
* All of them now properly define __bool__()
* More unit tests
Fixes #886
2020-04-01 20:31:16 +02:00
rdb
30d9f88f8e
Merge branch 'release/1.10.x'
2020-04-01 18:53:00 +02:00
rdb
064da09cf0
putil: add pickling support to Datagram class
2020-04-01 18:25:43 +02:00
Fireclaw
c73415b4ba
dgui: fix sizing after changing Slider/Scrollbar orientation
...
Closes #700
2020-02-23 16:28:40 +01:00
Thaumaturge
50d27166d8
particles: expose birth_litter() to support burst emission
...
Closes #524
Closes #340
2020-02-23 15:17:57 +01:00
rdb
fda898807a
Merge branch 'release/1.10.x' into master
2020-02-10 13:52:05 +01: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
6c66c8618d
tests: add unit test for passing plain mat3/mat4 to GLSL shader
2020-01-25 17:00:48 +01:00
rdb
508444d27f
tests: use unique, non-interned keys for property refcount tests
...
There is an intermittent build failure and I suspect it's because the keys are too generic and are interned, and thus may have their refcount incremented or decremented by some other (background?) process.
2020-01-22 12:01:27 +01:00
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