25944 Commits

Author SHA1 Message Date
rdb
ba388e2866 shader: More efficient state-based shader input fetching
Previously every input was fetched as a matrix.  Now, every input is fetched as a vector, with matrices taking up multiple vectors.  This saves a lot of copying and a lot of space in the cache.

Furthermore, integer state-based inputs can be defined (for future use)

Naming still needs to be revised, since it's called the "mat part cache" etc.
2023-09-17 17:54:17 +02:00
rdb
c99fe581d3 Merge branch 'release/1.10.x' 2023-09-16 09:57:09 +02:00
rdb
27daecf030 Add .DS_Store to .gitignore 2023-09-16 09:52:55 +02:00
rdb
8596207d8e directnotify: Don't assume presence of softspace attribute 2023-09-16 09:50:55 +02:00
rdb
144479d8e4 cocoa: squelch secure restorable state warning on macOS 14 2023-09-16 09:50:17 +02:00
rdb
71154492b9 pstats: Add macOS port
Closes #1531
2023-08-30 15:08:46 +02:00
rdb
aa13953f2b makepanda: Fix error in plistlib.load invocation 2023-08-30 15:06:17 +02:00
rdb
b22b970d10 makepanda: Require macOS SDK 10.12 or higher
This does not remove support for older macOS versions, they can still be targeted by newer SDKs (10.9 can still be targeted by the macOS 12 SDK)

I would like to require macOS 11 SDK, but we still need 10.13 for FMOD
2023-08-29 22:51:17 +02:00
rdb
e6f4128c0b makepanda: Add macOS SDK versions 14.0, 13.3 2023-08-29 22:51:17 +02:00
rdb
577dc25130 pstats: Fix erroneous highlight in strip chart before oldest frame 2023-08-29 22:51:17 +02:00
rdb
da57279d9a pstats: Fix GTK strip chart total label and window title not updating
...when navigating around in a session that is not being updated automatically (eg. loaded from file)
2023-08-28 13:04:05 +02:00
rdb
9de9b8c680 directnotify: Remove obsolete softspace attribute from RotatingLog 2023-08-26 11:15:57 +02:00
dakotachasesmith
160ba090a5 clientrepositorybase: Prevent crash on handleUpdateField if updates are handled in Python and repo does not have owner view 2023-08-06 08:09:32 +02:00
Christopher He
cbfd8f4545
collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
rdb
0bc290eb2c event: Replace _PyGen_FetchStopIterationValue in Python 3.13+
See python/cpython#106320 and python/cpython#107032

Closes #1526
2023-08-05 16:37:01 +02:00
rdb
a463f25d39 Update BACKERS.md
[skip ci]
2023-08-05 15:53:27 +02:00
Disyer
f596666b84 panda: Install correct config headers for pstatclient and putil
Closes #1525
2023-08-05 14:51:31 +02:00
Disyer
0cf2a5f385 pandatool: Correct header guard names (#1525) 2023-08-05 14:50:48 +02:00
Disyer
e8179e489f panda: Correct header guard names (#1525) 2023-08-05 14:50:28 +02:00
rdb
c203b0f786 tests: Don't require tkinter to be able to run test suite 2023-08-05 10:29:32 +02:00
rdb
d659d5fe25 workflow: Install python3-tk package 2023-08-04 16:23:18 +02:00
WMOkiishi
32edfa43fd direct: Get direct to pass a mypy check
Closes #1476
2023-08-04 14:31:44 +02:00
rdb
ab93d88f1b stdpy: Remove obsolete check for None function on module shutdown
This behaviour was removed in Python 3.4 so should no longer be an issue
2023-08-04 14:28:52 +02:00
rdb
f80cd08993 Remove support for EOL Python versions 3.6 and 3.7 2023-08-04 14:20:59 +02:00
rdb
a68ecb9765 Merge branch 'release/1.10.x' 2023-08-04 14:07:41 +02:00
rdb
360bf20933 dcparser: Fix segfault with nested struct or switch
Fixes #1499
2023-08-04 14:02:13 +02:00
rdb
c08353dea7 showbase: Don't disable Windows mesasge loop with multi-threaded pipeline
Fixes half of #1494
2023-08-04 13:52:11 +02:00
rdb
3160d7f3e9 py_panda: Don't use _PyUnicode_EqualToASCIIString in Python 3.13+
See #1523
2023-08-03 22:22:45 +02:00
Disyer
596ff9ddb8 python: Remove usage of private _PyUnicode C API calls 2023-08-03 21:35:33 +03:00
rdb
3f3819e7fa tests: Further expand on tools tests 2023-08-03 13:21:38 +02:00
rdb
4537540820 tests: Look for tools in proper location without relying on PATH 2023-08-02 16:45:40 +02:00
rdb
1cb2554c48 tests: Test that tools run when testing wheels
Intended to catch issues like #1504
2023-08-02 16:36:04 +02:00
rdb
8cbf93162a cppparser: Backport enum scope fix to 1.10
From bc039a0476b31fa624ce548629b7e05cccd2d570
2023-08-02 12:40:37 +02:00
Aidan Noll
4097dc2e28 downloader: Fix issues with error codes with LibreSSL on Windows
Closes #1503

Co-authored-by: rdb <git@rdb.name>
2023-08-02 12:40:01 +02:00
rdb
e3f73f37f6 doc: Adding coding style guide
Closes #279

Co-authored-by: Sam Edwards <CFSworks@gmail.com>

[skip ci]
2023-08-02 11:40:13 +02:00
rdb
c34f2bbc64 Switch to UPPER_CASE convention for enum classes as per PEP-8
Old names are still kept around for compatibility reasons, but deprecated - fortunately there are not that many cases of enum classes yet
2023-08-02 11:16:54 +02:00
rdb
bc039a0476 cppparser: Allow referencing enumerant within enum scope 2023-08-02 11:06:32 +02:00
WMOkiishi
f7f3179a89 Move test code from across direct to proper test modules
Closes #1480
2023-08-02 08:37:51 +02:00
WMOkiishi
d1f4212acd direct: Utilize the built-in sorted function
Closes #1479
2023-08-02 08:37:51 +02:00
Max Rodriguez
70cdbae247 framework: Create aspect2d child nodes & update on win resize
Closes #1510
Fixes #1508
2023-08-02 08:21:40 +02:00
WMOkiishi
ea84547805 general: Mark many constructors as explicit
Closes #1514
Fixes #1431
2023-08-02 08:18:43 +02:00
Max Rodriguez
b6c427f2b4 putil: Deprecated MouseData alias for PointerData
Co-authored-by: rdb <git@rdb.name>

Closes #1513
2023-08-02 08:13:02 +02:00
rdb
cc861cdaa1 Merge branch 'release/1.10.x' 2023-08-02 08:09:26 +02:00
rdb
262bde3082 grutil: Add clear_color method to CardMaker 2023-08-02 08:08:25 +02:00
rdb
9fd39e1aef Add .idea to .gitignore 2023-08-02 07:56:24 +02:00
rdb
3c9aea1ee1 text: Fix missing epvector.h include in textAssembler.h 2023-08-02 07:51:46 +02:00
rdb
cc49825e00 pgraph: Mark all sub-classes of RenderAttrib as final 2023-07-27 08:40:52 +02:00
rdb
f0a4e61fd9 Revert "general: Add headers explaining the renamed config_*.h"
This reverts commit 47f7d3f29733bdcbc39ece033006f7f9f2d3857b.

These header files have been deprecated for years and can be safely removed now.
2023-07-26 20:02:49 +02:00
rdb
115a716a7d Implement support for custom TypedWritable subclasses in Python
Fixes #1495
2023-07-26 19:55:40 +02:00
rdb
71ee57bc92 linmath: Unroll LVecBase4 less-than operator implementation 2023-07-26 19:33:43 +02:00