rdb
46e662bd8e
interrogate: Add cleverness to avoid writing out dead code
...
Hopefully fixes GCC 13 compile regression, see #1580
2024-01-05 13:56:02 +01:00
rdb
6b3dfc7e16
pgraph: add note to LensNode::is_in_view docstring about CS
...
Closes panda3d/panda3d-docs#143
2024-01-04 16:22:41 +01:00
kamgha
25b85041d5
egg-palettize: fix writing Magfilter
...
Fixes a typo that applied the value from the Minfilter to the entry of the Magfilter.
Closes #1585
2024-01-04 16:22:30 +01:00
jb
7277199d6e
windisplay: fix handling of invalid devices, replaced 0 with nullptr
...
Fixes #1559
Closes #1563
2023-12-10 13:24:31 +01:00
Ian Eborn (Thaumaturge)
1c4a91858b
grutil: Change docstring for MeshDrawer link_segment method
...
In short, this adds notes regarding the manner in which the method makes use of the "frame" and "color" parameters.
Fixes #1560
Closes #1569
2023-12-10 13:21:12 +01:00
rdb
be958c409f
recorder: Fix error reading multiple recorders from .bam file
...
Modified version of #1564 without changing ABI
Fixes #1561
2023-12-10 13:18:47 +01:00
rdb
4f37d97cf6
glgsg: Show internal format in debug output
2023-12-10 13:18:23 +01:00
rdb
0cc3f8fbf6
dist: Fix error when using bam_model_extensions with bdist_apps
2023-12-09 23:55:01 +01:00
rdb
89701270dd
gles2gsg: Fix image load/store support in OpenGL ES 3.1
...
This does require gl-immutable-texture-storage to be on, so it is not enabled by default unless that variable is set. That is not a breaking change since before this change, support was never enabled to begin with
2023-12-09 21:15:28 +01:00
Dakota Smith
3097d2637c
bullet: Fix deadlock when contact added callback accesses certain data or executes bullet methods
2023-11-19 02:17:54 +01:00
git2323
f9a86bced6
device: fix small typo, fixes 1571 ( #1572 )
2023-11-18 11:49:53 +01:00
rdb
edf4b7d448
tests: Also skip Cg unit tests on arm64 reporting as aarch64
...
[skip ci]
2023-10-22 12:24:33 +02:00
rdb
0121e74aa4
assimp: Add assimp-disable-extensions config var (for #1537 )
...
This can be used to disable certain extensions from being loaded via Assimp
Also makes the `get_additional_extensions()` method a bit more efficient by having it avoid string concatenation, using a temporary buffer instead
2023-10-22 11:59:30 +02:00
rdb
b4e8cf6958
dist: Fix crash running deploy-stub on arm64 with 16 KiB pages
...
arm64/aarch64 kernels may be configured with 4K, 16K or 64K pages, 16K seems to be most common.
The alignment does cause a big waste of space, we may have to revisit the use of mmap, or just mmap the whole executable
2023-10-22 11:29:23 +02:00
rdb
2539de14fc
wxwidgets: Fix some issues with WxSlider, code cleanup
2023-10-22 11:27:15 +02:00
rdb
eec66c585e
display: Add method for querying current display mode index
...
Note that it doesn't work on macOS with high-DPI displays, this requires #1308 (which is on master), otherwise it will just report -1 for now
Fixes #1550
2023-10-21 14:03:51 +02:00
rdb
26fae21cb9
showbase: Suppress deprecation warning
2023-10-15 16:29:11 +02:00
rdb
3059f8f76b
tests: Add site.py file for deploy-stub test
2023-10-15 16:23:02 +02:00
rdb
cb7f25f59c
tests: Fix an issue running tests with some Python 3.4 setups
2023-10-15 16:21:30 +02:00
rdb
479774477b
tests: Compat w/ older pytest by using tmpdir instead of tmp_path
2023-10-15 14:48:01 +02:00
rdb
a0ea85d39e
test_wheel: Put python DLL on system PATH for FreezeTool unit test
2023-10-15 14:28:38 +02:00
rdb
00c6bee3f6
Add Python 3.12 to setup.cfg
2023-10-15 14:27:27 +02:00
rdb
ab0c177c79
showbase: Fix redundant call to entry_points()
in Loader
2023-10-15 14:26:56 +02:00
rdb
5e4fc7999e
Switch to 1.10.14 thirdparties, enable Python 3.12 CI on Windows
2023-10-14 21:25:42 +02:00
rdb
1db6dbc166
tests: Don't cache loaded test model
2023-10-14 21:24:22 +02:00
rdb
87e69b71bf
workflow: Add $pythonLocation/lib
to LD_LIBRARY_PATH for tests
2023-10-14 19:38:22 +02:00
rdb
9dce403bee
tinydisplay: fix missing include in zmath.h
2023-10-14 18:05:47 +02:00
rdb
f9c213fcbb
tests: Run runtime executable generated by FreezeTool test
2023-10-14 17:35:16 +02:00
rdb
b2465c3b38
tests: Fix running tests on Windows and with Python 2.7
2023-10-14 17:31:35 +02:00
rdb
972c0009ac
workflow: Add setuptools as requirement when testing Python 3.12
2023-10-14 11:29:02 +02:00
rdb
c1c035d5c9
showbase: Switch Loader entry point detection to importlib.metadata
...
Only in Python 3.8 and up, where this module is available, otherwise it falls back to pkg_resources
Add unit test for custom entry point loaders
2023-10-14 11:27:46 +02:00
rdb
c77697a2c0
pytest: Don't skip "dist" directory in test discovery
2023-10-14 09:55:51 +02:00
rdb
f24a18f45e
tests: Add unit test for Freezer.generateRuntimeFromStub
2023-10-14 09:55:37 +02:00
rdb
bf456baa35
workflow: Skip Python 3.12 tests on Windows for now
...
Until we've added Python 3.12 to thirdparty packages
2023-10-13 13:35:40 +02:00
rdb
e4738194d5
pfreeze: use clang, fix missing path with non-system Python on macOS
2023-10-13 13:22:17 +02:00
rdb
2a5228b05f
Fix compatibility with Python 3.12 by removing use of imp module
...
Some modules (such as VFSImporter, and various modules in direct.p3d that depend on it) are still unavailable.
2023-10-13 13:21:34 +02:00
rdb
7f0eafcc27
workflow: Disable Python 3.7 CI, enable Python 3.12 CI
2023-10-13 12:10:08 +02:00
rdb
225b577ccd
tests: Skip Cg tests on arm64 machines
2023-10-13 10:55:17 +02:00
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