25946 Commits

Author SHA1 Message Date
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
f4dc4740a6 makepanda: Look for the macOS 13.1 SDK
[skip ci]
2023-01-19 15:43:06 +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
David Crompton
a88b6ee8db showbase: Allow destroy() to be called from non-main thread
Also adds an error message when `run()` is called from non-main thread

Closes #1436
Fixes #1269

Co-authored-by: rdb <git@rdb.name>
2023-01-16 14:15:19 +01:00
David Crompton
4d90ce5c5a bdist_apps: Fix assertion error from calling finalize_options twice 2023-01-14 19:51:02 +00:00
rdb
b282e8920d Merge branch 'release/1.10.x' 2023-01-13 22:32:35 +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
rdb
6ad50b5cb1 ShaderGenerator: implement remaining missing TexGenAttrib modes
Fixes #1437
2023-01-13 17:04:04 +01:00
rdb
10f4c6bb21 shader: Add texconst_i shader input for Cg shaders to access TexGen constant 2023-01-13 17:02:15 +01:00
rdb
21347bb2d5 glgsg: Fix bug if same texture is used with different tex gen modes in FFP 2023-01-13 17:00:12 +01:00
rdb
86a1973f89 x11display: Clean up cursor filename map after freeing it
Not essential, but slightly neater
2023-01-13 14:53:25 +01:00
rdb
3954d43292 makepanda: Create __panda section in deploy-stub on macOS 2023-01-13 13:39:10 +01:00
rdb
b526286d40 pstats: Add collectors for texture/image reading/writing 2023-01-13 11:42:26 +01:00
rdb
0c4fe35a5c pview: Add -S flag to connect to pstats right away 2023-01-13 11:40:30 +01:00
rdb
6404704ee3 x11display: Attempt to fix crash on shutdown with custom cursor 2023-01-12 22:51:49 +01:00
David Crompton
581f374ba6 Notifier: Add custom exception type for Notifier.error 2023-01-10 23:15:20 +01:00
David Crompton
cd6ad8285e ShowBase: Add a private DirectObject to allow use of base.accept for window-events 2023-01-10 21:50:20 +00:00
rdb
2157f1162e pstats: Proper thread cleanup after a thread exits (PStats 3.2)
The thread will linger around in the server as long as there is data (so, it will be removed after `pstats-history` seconds)

Fixes #450
2023-01-10 14:37:39 +01:00
Frang
a91111183f
Merge pull request #1426 from Frangwhuf/MaskType
patch around non-exported return type
2023-01-09 09:49:07 -05:00
rdb
1867094afe Bump version number on release/1.10.x branch to 1.10.14 2023-01-09 13:25:26 +01:00
rdb
2e42400700 deploy-stub: Fix crash when running in Python 3.11
Fixes #1423
2023-01-09 13:19:09 +01:00
Cary Sandvig
89e27ad9db patch around non-exported return type 2023-01-05 16:23:42 -05:00
Frang
275fe32079
create PY_EXTENSION and friends (#1415) 2023-01-04 20:54:53 +01:00
rdb
2d606c07e3 dtoolbase: Remove unused get_best_parent_from_Set()
This method is no longer used as of e6f870ece6f973fd57ecf57c62ec96a4a898cc6c

Fixes #1421
2023-01-03 23:09:35 +01:00
Cary Sandvig
b10b49bd6b fix SocketStream::flush() covariant 2023-01-03 11:48:36 -05:00
rdb
a2aa8af973 Correctly support 4-component UV coordinates in generated shaders
Supports projective UVs, matching fixed-function pipeline behavior
2023-01-02 10:48:33 +01:00
rdb
b9cff34076 display: Fix incorrect EXPCL macro for ScreenshotRequest 2022-12-28 12:08:49 +01:00
rdb
4734bb9deb display: Fix missing includes 2022-12-26 21:24:16 +01:00
rdb
cfd18bb16f display: Add support for asynchronous screenshot download 2022-12-26 20:01:38 +01:00
rdb
d5fed54a0c x11: Fix occasional crash on shutdown 2022-12-26 19:18:38 +01:00
rdb
0747f46055 event: Improve interface for adding tasks from C++
The order of arguments is now the same as in Python (with the callable first), sort and priority arguments have been added, and new tasks can be added directly to a chain
2022-12-26 19:10:01 +01:00
rdb
2aa2a35a9f pstats: Fix regression: crash when opening session file 2022-12-26 11:18:00 +01:00
rdb
a2890c03de collide: Allow creating dummy CollisionHandler
Useful for benchmarks or unit tests where the result does not matter.
2022-12-26 11:16:53 +01:00
Cary Sandvig
3247903d7b add more HAVE_PYTHON
Also add some more #endif comments.
2022-12-23 13:38:46 -05:00
rdb
470e352ab8 readme: Update version number to 1.10.13
[skip ci]
v1.10.13
2022-12-20 12:33:42 +01:00
rdb
92185bcb28 Merge branch 'release/1.10.x' 2022-12-19 16:42:29 +01:00
rdb
0911040999 express: Fix compile error with GCC 2022-12-19 16:38:19 +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
0ace26a938 gobj: Fix double-precision colors not being clamped in GeomVertexWriter 2022-12-19 15:18:04 +01:00
rdb
eafcfe1d70 motiontrail: Fix Python implementation error in double-prec mode 2022-12-19 15:17:19 +01:00
rdb
e5a8eb5b1d cocoadisplay: Fix Command+Q in green-button-style fullscreen mode
It seems macOS has an extra NSWindow without a delegate in this mode
2022-12-19 12:55:57 +01:00