23970 Commits

Author SHA1 Message Date
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
rdb
0fdb8a244b dist: Silently ignore missing hidden imports 2023-02-24 22:19:03 +01:00
rdb
82a79acdd5 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.

Cherry-picked from 84ada4d66b3e9a5012c49abab8c3c21c2c3ae2bc
2023-02-24 22:07:38 +01:00
rdb
ed4d2a2280 dist: Add support for emscripten platform to FreezeTool.py 2023-02-24 22:05:05 +01:00
rdb
2e7dc9e4f4 tests: Add unit test for GeomVertexFormat arrays list 2023-02-20 19:05:37 +01:00
rdb
93670b5942 dist: Strip .abi3.so suffix from libraries 2023-02-20 18:32:04 +01:00
rdb
ccd1d4727d dist: Add hidden imports for older scipy version 2023-02-20 18:31:54 +01:00
rdb
718f72fe01 cluster: Fix typo in ClusterServer.addControlMapping 2023-02-20 18:25:28 +01:00
rdb
5ecd6249d1 directdevices: Fix typo in DirectDeviceManager.normalizeChannel 2023-02-20 18:24:15 +01:00
rdb
92e3dbbe58 dist: Remove dead code in Icon class 2023-02-20 18:04:35 +01:00
rdb
127798437f particles: Fix missing import in ParticleFloorTest 2023-02-20 18:04:22 +01:00
rdb
a3f6a62de0 showbase: Fix undefined function use in ProfileSession.py 2023-02-20 18:04:04 +01:00
rdb
afd3df8ef1 tkpanels: Fix use of removed cmp() function 2023-02-20 17:44:37 +01:00
rdb
6aef8159b1 leveleditor: Fix use of removed cmp() function 2023-02-20 17:29:00 +01:00
rdb
df1ef1bfaf Update BACKERS.md
[skip ci]
2023-02-13 12:04:27 +01:00
rdb
bd71541e5f readme: Update link pointing to old manual
[skip ci]
2023-02-13 11:32:46 +01:00
rdb
aaabb6a652 Fix assorted issues uncovered by clang-tidy 2023-02-12 13:55:59 +01:00
rdb
914993f31b putil: Fix SimpleHashMap error reporting at static init time 2023-02-12 13:49:44 +01:00
rdb
a9e9cfae1c py_panda: Fix definition of _PyErr_OCCURRED for Python >3.12.0a5
It should not be redefined for Python versions after 3.3.3, and if it's not defined by Python, it should just map to PyErr_Occurred()

See also #1457
2023-02-12 13:22:16 +01:00
rdb
173dd67b52 glgsg: Fix p3d_LightModel.ambient not updating properly 2023-02-12 13:07:14 +01:00
rdb
3d7c2505e9 pnmimagetypes: Fix memory leaks writing TIFF files 2023-02-11 15:21:16 +01:00
rdb
718bac1c69 audiotraits: Fix crash when encountering corruption in OpenAL stream
Partial backport of #1452
2023-02-03 14:44:14 +01:00
rdb
a20996d2aa pgraphnodes: Support missing texture types in shader generator:
- Cube arrays
- 1D texture arrays
- Buffer textures

Not to say that they are displayed meaningfully, but better than a cryptic error message.
2023-01-31 17:40:55 +01:00
rdb
d69d393e4c glgsg: Set ultimate Cg profiles to gp5vp/gp5fp/gp5gp
These support the most features, including cube map arrays (which aren't even supported in glslv/glslf)

This improves the quality of error messages, eg. using cube map arrays will no longer display a cryptic error about no overload of texCUBEARRAY() being available
2023-01-31 17:38:54 +01:00
rdb
52c7d6bddb shader: Add missing handling for 1D array textures in Cg shaders 2023-01-31 17:37:18 +01:00
rdb
51d0a55264 general: Fix silly new clang warning about unprefixed std::move() 2023-01-31 15:38:02 +01:00
rdb
614502d183 gobj: Add note to API doc about maximum stride value 2023-01-31 15:36:43 +01:00
rdb
c5ccd6232d glgsg: Prevent exceeding max supported vertex attrib stride
See also Moguri/panda3d-gltf#117
2023-01-31 15:30:52 +01:00
rdb
ef58255abd vision: Fix another use of wrong delete operator in ARToolKit code 2023-01-27 10:40:47 +01:00
Fireclaw
e14d43ebe5 dmodels: Fixed broken minusnode icon
Closes #1449
2023-01-27 10:29:49 +01:00
LD
518ee0fb8e cocoadisplay: Capture display before switching to fullscreen mode 2023-01-20 18:16:43 +01:00
rdb
4b992105e1 ShaderGenerator: Fix support for hardware point sprites
In gp5fp and glslf profiles, we can rely on per-fragment point coordinates to be available, otherwise we have to emulate support by calculating it from the fragment pixel coordinates
2023-01-16 19:33:09 +01:00
Disyer
6cb074e5c8 distributed: Fix segfault when ConnectionRepository is verbose by holding GIL
Also removes obsolete USE_PYTHON_2_2_OR_EARLIER macro

Closes #1430
2023-01-16 15:14:31 +01:00
rdb
e696ac4046 cocoa: Fix black bar when switching to fullscreen while z-order is top 2023-01-13 22:05:06 +01:00
rdb
76386bc4c0 cocoa: Fix window sizing bug when simultaneously changing undecorated 2023-01-13 22:04:42 +01:00
rdb
8c5e2e74f5 cocoa: Fix undecorated setting ignored when switching off fullscreen 2023-01-13 22:03:33 +01:00
rdb
7a8e218da7 glgsg: Correctly handle 4-component texcoords in default shader 2023-01-13 19:35:45 +01:00
rdb
67c413f089 dxgsg9: Fix issues setting some kinds of automatic shader inputs 2023-01-13 19:19:16 +01:00
rdb
709555577f ShaderGenerator: Add support for perspective points
Fixes #1440
2023-01-13 19:12:01 +01:00