Commit Graph

319 Commits

Author SHA1 Message Date
rdb f3d51fd72c tests: Don't rely on png being available for TexturePool tests
Instead, use SGI image format, support for which is generally enabled in Panda
2023-02-24 23:01:40 +01:00
rdb 868a4eac47 tests: Fix test_imports_panda3d for frozen/embedded panda3d package 2023-02-24 22:39:55 +01:00
rdb 6860c7776b tests: Fix unit test suite when building without physics or net 2023-02-23 00:20:53 +01:00
rdb 86ceade7b3 tests: Skip encrypt_string test when building without OpenSSL 2023-02-22 23:31:32 +01:00
rdb 84ada4d66b tests: Fix OverflowError in test_format_arrays on 32-bit
This is actually a bug in interrogate - it's converting an unsigned size_t via Py_ssize_t, which is not correct.  However, it's a bunch of trouble to fix that.
2023-02-22 23:29:37 +01:00
rdb 2e21cf87e4 tests: Skip test_task_cancel_waiting() test if no threads enabled 2023-02-22 23:18:23 +01:00
rdb a63bbba4c1 tests: Add HashVal md5 unit test that doesn't rely on hashlib 2023-02-22 21:55:26 +01:00
rdb 11c7d38ce4 tests: Remove executable permissions from test_property.py
[skip ci]
2023-02-22 18:20:39 +01:00
rdb 35348fd74a express: Do not rely on OpenSSL for MD5 hash support
These hashes are used in various places in the Panda codebase (for integrity checks, not for crypto), so using an internal implementation allows retaining this functionality when building Panda without OpenSSL.

Based on the following public domain implementation:
https://github.com/B-Con/crypto-algorithms
2023-02-22 16:47:14 +01:00
rdb 5d63c7e898 Merge branch 'release/1.10.x' 2023-02-20 19:27:58 +01:00
rdb 2e7dc9e4f4 tests: Add unit test for GeomVertexFormat arrays list 2023-02-20 19:05:37 +01:00
Timothy Paustian 50de135641
task: Fix re-adding task object removing extraArgs (#1132)
Fixes #1097
2023-02-13 10:58:02 +01:00
git2323 518d4777fa
do not prefer framebuffer configs with excessive multisamples (#1456)
Co-authored-by: user1 <user1@user1.org>
2023-02-12 23:04:46 +00:00
Rishabh Tewari dcd2aa83d4 tests: Added video and audio tests
Closes #663
2023-02-07 18:08:32 +01:00
rdb fed5865645 tests: Add unit tests for #1105 2023-02-07 12:24:54 +01:00
rdb 92185bcb28 Merge branch 'release/1.10.x' 2022-12-19 16:42:29 +01:00
rdb 896346b99f gobj: Implement `copy.deepcopy()` for Texture class
Actually ensures that the underlying RAM images are really fully unique.
2022-12-19 16:22:33 +01:00
rdb e67cd74725 express: Implement `copy.deepcopy()` for PointerToArray
It actually makes a unique copy of the underlying array.
2022-12-19 16:22:00 +01:00
rdb 7a55c723ba Merge branch 'release/1.10.x' 2022-12-04 19:28:03 +01:00
rdb 41f0c9d48d pgraph: Support None as second arg of replace_texture/replace_material
This removes the relevant texture or material
2022-12-04 19:24:04 +01:00
rdb d621df47ac prc: Fix bf-cbc encryption/decryption regression with OpenSSL 3.0
Loads the legacy provider to continue supporting this algorithm
2022-12-04 19:22:26 +01:00
rdb e961ea99ac Merge branch 'release/1.10.x' 2022-11-13 12:10:38 +01:00
rdb 0220a43ce0 shader: Fix support for `#pragma include <example.glsl>` in GLSL 2022-11-09 17:20:11 +01:00
rdb 63017864ab pgraph: Support any number of attribs in `RenderState::make()` in Python 2022-11-07 18:17:48 +01:00
rdb 4c58eb3382 tests: Replace use of deprecated imp module in test_imports 2022-10-31 23:21:54 +01:00
rdb 316b0009ae Merge branch 'release/1.10.x' 2022-10-31 23:10:39 +01:00
rdb 4c6df54d6f tests: Fix failing window unit test on macOS
Fixes #804 (together with previous commit 979f194f49)
2022-10-29 18:47:15 +02:00
rdb 979f194f49 tests: Load either 120 or 150 GLSL shaders depending on capabilities
Addresses part of #804
2022-10-29 18:46:59 +02:00
rdb a111bb4442 tests: skip auto-shader tests if Cg shaders are not supported
Backport of 57b0be8647
2022-10-29 18:16:58 +02:00
rdb 2a0da59dae tests: Add more tests for sphere-into-box 2022-10-05 14:55:46 +02:00
Derzsi Dániel d79709f004
express: Add support for bytes multifile encryption passwords (#1334) 2022-07-20 22:50:06 +02:00
rdb 20334cce05 Merge branch 'release/1.10.x' 2022-06-29 19:09:59 +02:00
Stephen A. Imhoff 33691d72ec bullet: Fix assertion when reconstructing BulletConvexHullShape from bam
Fixes #1251
Closes #1252
2022-06-29 17:06:19 +02:00
rdb 4df8c86590 tests: Add unit test for PandaNode prev_transform tracking mechanism 2022-02-24 11:43:44 +01:00
rdb 5695d1a719 tests: Add separate unit test for AsyncFuture.wait() with timeout
Since it's using a different implementation than the no-timeout version now
2022-02-24 11:43:11 +01:00
rdb a33fcab8da tests: Switch from deprecated ConditionVarFull to ConditionVar 2022-02-22 15:22:10 +01:00
rdb 7a2a83572c Merge branch 'release/1.10.x' 2022-01-05 08:50:11 +01:00
rdb d65ca1edd6 pgraph: Fix nodes with same key but diff value getting flattened
This was a regression from 69b3468b2c
2022-01-05 08:14:08 +01:00
rdb 60c5589671 pgraph: Optimize handling/checking of identity/invalid transforms 2021-11-16 17:30:36 +01:00
rdb a4ea476cce linmath: Implement read-only buffer protocol support for vectors
Fixes #1194
2021-10-27 10:53:35 +02:00
rdb 0ae8d8f315 tests: Robustify depth range test case 2021-08-31 14:02:49 +02:00
rdb 53741ffa13 pgraph: Implement new DepthBiasAttrib to replace DepthOffsetAttrib
Fixes #1157
2021-08-26 10:47:07 +02:00
rdb 280175f267 display: Support specifying depth range on DisplayRegion
See https://discourse.panda3d.org/t/depthoffsetattrib-z-range-composition-order/27943/4
2021-08-26 10:42:25 +02:00
rdb c293ad3da2 Merge branch 'release/1.10.x' 2021-08-03 20:19:15 +02:00
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 f27e9b2a86 linmath: Add __rmul__ operator for left scalar multiplication
Fixes #1048
2021-07-05 14:16:55 +02:00
rdb 199b797d72 Merge branch 'release/1.10.x' 2021-06-01 11:50:12 +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