24008 Commits

Author SHA1 Message Date
Mitchell Stokes
893f5ce492 Fix assert on Py_SIZE(long) when using Python 3.12
Starting with Python 3.12, passing a PyLong into Py_SIZE() triggers an
assertion. PyLong (and the whole C API) is transitioning to be more
opaque and expose fewer implementation details.
2023-10-13 10:54:33 +02:00
Mitchell Stokes
521cad206d makepanda: Stop using deprecated distutils (#1549)
Just duplicating locations.py from direct. It's a bit ugly, but
makepanda is getting phased out anyways.

Co-authored-by: rdb <git@rdb.name>
2023-10-13 10:13:28 +02:00
David Crompton
ad8882123b Panda3DToolsGUI: Update setup.py to use setuptools and change Print statements to Python3 syntax 2023-10-11 19:25:42 -07:00
rdb
79a60688ce pnmimage: Support reading of .bmp files with RLE8 compression 2023-10-11 15:53:57 +02:00
rdb
d5263b597b makepanda: Strip version suffixes when parsing setup.cfg metadata
Fixes #1539
2023-10-09 17:02:57 +02:00
rdb
a2fa54f385 gobj: fix _contexts != nullptr assert when prepare fails 2023-10-09 16:52:45 +02:00
rdb
dcc96a60b1 makepanda: Make version parsing in CreatePandaVersionFiles more robust 2023-10-09 16:50:59 +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
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
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
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
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
52c704f79d Update BACKERS.md
[skip ci]
2023-07-21 19:42:07 +02:00
rdb
787e14fade egg2pg: Fix infinite recursion when <Collide> used with <Line>
Fixes #1515
2023-07-19 11:10:49 +02:00
rdb
94ebd7c953 pstats: Fix exception when __module__ is a descriptor
This comes up when using metaclasses

Fixes #1505
2023-06-12 09:54:25 +02:00
rdb
d4d4aefbce makepackage: Force creating .dmg as HFS+ for 10.9 compatibility
Fixes #1502

[skip ci]
2023-06-08 13:47:33 +02:00
rdb
b79d8efce6 Don't use RTTI features when building with -fno-rtti
This should make it possible to use `-fno-rtti` in a C++ application even when Panda has been compiled with RTTI enabled.
2023-05-25 14:11:51 +02:00
rdb
d2e93cc185 gobj: Fix post_load_store_cache field being uninitialized on cycle
This is randomly causing textures to be downloaded, which can be a significant performance drain
2023-05-25 13:55:22 +02:00
rdb
3df594a6dd dist: Add hidden import for shapely
[skip ci]
2023-05-08 19:50:21 +02:00
rdb
1072e6bf1a dist: Show better error message when targeting outdated platform
This occurs if someone explicitly mentions eg. manylinux1 in their platforms list and then updates to Python 3.10
2023-05-08 18:30:25 +02:00
rdb
3f76f4aa70 dist: Strip out delvewheel patch from packaged Python code
Fixes #1492
2023-05-08 18:18:42 +02:00
rdb
4b276826b6 workflow: Update GitHub CI runner OS versions 2023-05-08 11:20:54 +02:00
rdb
c958919037 Make API documentation for Filename and VirtualFileSystem clearer
Mention specifically that Filename methods act on the physical disk whereas VirtualFileSystem methods act on the VFS

Fixes #1493

[skip ci]
2023-05-08 11:19:03 +02:00
max
cc74efa79a Fix assorted instances of leftover Python 3 syntax
Closes #1490
2023-05-05 11:08:17 +02:00
rdb
5d833c988a interrogate: Support explicit cls parameter for static methods 2023-05-05 10:55:06 +02:00
rdb
45fbfab094 pgraph: Add file_version property to BamFile (like BamReader/Writer) 2023-05-05 10:52:46 +02:00
rdb
749e297a02 putil: Add file_version property to BamWriter (mirroring BamReader) 2023-05-05 10:51:24 +02:00
rdb
86804b3ed1 putil: Fix a faulty docstring in BamReader 2023-05-05 10:48:04 +02:00
rdb
eb82dbc765 putil: Accept bytes in DatagramOutputFile::write_header() 2023-05-05 10:47:14 +02:00
rdb
87b46a61ed display: minor doc fix and code cleanup 2023-05-05 10:45:26 +02:00
rdb
f5d5340ad3 egldisplay: make pbuffers resizeable 2023-04-08 10:37:13 +02:00
rdb
21d7a83bfc egldisplay: Fix GL_INVALID_OPERATION with headless pbuffer 2023-03-29 16:33:33 +02:00
rdb
389b24e695 windisplay: Fix issues switching fullscreen while maximized
Fixes #1469
2023-03-13 10:53:47 +01:00
rdb
68927cad0b interrogate: Code size reduction for generated wrappers
No need to have a separate entry in the string table for every possible class for this uncommon error message
2023-03-09 11:00:36 +01:00
rdb
c5d6bae1c3 glgsg: Work around Panfrost driver bug with wireframe mode 2023-03-09 10:58:10 +01:00
rdb
622eda951f dist: Implement fallback for sysconfig for FreezeTool (see #1395) 2023-02-24 22:24:41 +01:00
rdb
a5be6fa5ff pnmimagetypes: Fix compile error with some versions of png.h
Some define these as macros, which interferes with these definitions
2023-02-24 22:21:27 +01:00
rdb
79ba760319 direct: Backport assorted fixes from master 2023-02-24 22:20:01 +01:00
rdb
6cfa73d268 dist: Add hidden import for setuptools.monkey -> setuptools.msvc 2023-02-24 22:19:33 +01:00