Commit Graph

132 Commits

Author SHA1 Message Date
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
rdb 63d2992d5e egg: add ability to read <Tangent> with four components
This is not intended to be used just yet in 1.10, but already added in preparation for changes on master to support #546.  I'm just allowing Panda to parse the syntax ahead of time to reduce potential .egg incompatiblities.
2019-02-05 00:30:54 +01:00
rdb e4daa0bf16 tests: test various things that could suffer from libc++ eof() bug 2019-01-10 21:55:07 +01:00
rdb 0c5546bcb0 tests: add unit tests for Audio3DManager sound velocity 2019-01-06 09:32:41 +01:00
rdb 0d5d6466f1 Remove references to obsolete index from requirements.txt 2019-01-05 20:53:11 +01:00
Mitchell Stokes 8f4d66db04 tests/build_samples: Use temporary directories to avoid in-source builds 2019-01-04 18:55:31 -08:00
rdb 7bdbbc78a3 tests: fix syntax error in setup.py, use default platforms 2018-12-28 15:36:02 +01:00
rdb 01915a36db Merge branch 'master' into deploy-ng 2018-12-26 23:41:50 +01:00
rdb 69decc17ff tests: raise GLSL version from 1.30 to 1.50 for compute shader 2018-12-23 22:28:52 +01:00
rdb bd6ef2b0ea Rename CollisionTube to CollisionCapsule (bam 6.44)
Adds ability to register "obsolete" names for certain types under older .bam versions, so that we are still able to write out old .bam files.

Fixes #347
2018-12-23 22:28:06 +01:00
rdb 4c0fa1e75d Merge branch 'master' into deploy-ng 2018-12-16 22:36:45 +01:00
rdb 73452957ee gobj: better handle NaNs in vertex data when calculating bounds 2018-12-16 20:43:30 +01:00
rdb a7752da4f1 Merge branch 'master' into deploy-ng 2018-12-09 20:22:23 +01:00
rdb b5b77e5956 pgraph: fix issues with serializing empty NodePaths 2018-12-09 20:16:55 +01:00
rdb 825058805a dtoolutil: add GlobPattern::matches_file() and unit test
This is used similar to matches() but for file paths: it does not match slashes for * characters and has special support for /**/ and ignores // and /./ patterns.
2018-12-09 15:21:11 +01:00
rdb d7124d4df4 Merge branch 'master' into deploy-ng 2018-11-29 12:57:49 +01:00
rdb c427357db9 pnmimage: fix PixelSpec coercion, add PixelSpec unit test 2018-11-27 17:09:40 +01:00
rdb 3d7fcf2ce9 Merge branch 'master' into deploy-ng 2018-11-12 18:31:43 +01:00
rdb 0e7302e86a tests: add a few basic unit tests for WindowProperties class 2018-11-12 18:14:48 +01:00
rdb 54b3474670 Merge branch 'master' into deploy-ng 2018-10-28 20:47:36 +01:00
rdb da82087735 tests: add unit test for TextNode::write, see #431 2018-10-28 11:45:39 +01:00
Sam Edwards 3b7b9cd18c tests: Enhance GLSL test
- Don't assume GLSL 4.30 is available just because the driver
  supports compute shaders. Drivers before OpenGL 4.3 may still
  offer the extension.

- Use GLSL 1.30 by default, and turn on additional features
  using extensions. Skip any tests requiring extensions that
  aren't supported by the driver.

- Unsigned literal ints should have a 'u' suffix.

- Clean up a few dead Python expressions
2018-10-20 17:55:46 -06:00
Mitchell Stokes b16f9f8f4f Merge branch 'master' into deploy-ng 2018-10-18 17:58:21 -07:00
rdb 4bc0a1ef5e tests: fix futures test when building without true threading 2018-10-17 17:28:25 +02:00
rdb c28045990c Merge branch 'master' into deploy-ng 2018-10-15 15:42:48 +02:00
rdb 0561d7920f tests: add unit tests for TextEncoder 2018-10-08 23:19:29 +02:00
rdb 93a3e7e699 Changes to make ColorAttrib behavior more consistent:
- T_off now actually properly disables vertex colours
- T_vertex is now the default, to preserve the previous behaviour
- ShaderGenerator behavior is now the same as in the FFP
- tests are updated to verify new behavior
- tests now properly use vertex colours, previously they accidentally only used flat colors
- With color-scale-via-lighting off and no color scale, color is no longer munged
- p3d_Color in GLSL shaders is now properly set to white instead of black with T_off mode
- In DX9 shaders will now sample white color for absent or disabled vertex color

Fixes #401
Also see #371
2018-10-08 22:09:22 +02:00