23470 Commits

Author SHA1 Message Date
rdb
8f9ca34eec makepackage: Don't write Sample Programs to start menu in Win 8/10
The start menu in newer versions of Windows doesn't show any hierarchy, making this utterly unreadable and useless.
2020-12-22 16:21:55 +01:00
rdb
78e23c018c makepackage: Update links to manual in Windows installer for Sphinx 2020-12-22 16:10:08 +01:00
rdb
401d7d0f92 makepackage: Fix error in installer.nsi 2020-12-22 16:09:51 +01:00
rdb
c759bfd6b8 doc: Add 1.10.8 release notes
[skip ci]
2020-12-22 13:00:39 +01:00
rdb
500e984bcc readme: Change thirdparty links from 1.10.7 to 1.10.8
[skip ci]
2020-12-22 12:43:01 +01:00
rdb
880c59eb19 makepackage: Don't install Python 3.9/3.10 buildings on Vista/Win7
These versions of Python require Windows 8.1.
2020-12-22 12:41:28 +01:00
rdb
8f43048c4f makepackage: Support installing Python 3.10 bindings in Windows installer 2020-12-22 12:37:06 +01:00
rdb
eea0abe488 makepackage: Only copy Frameworks dir if present and not empty
This directory may now be vestigial as of the previous commit.

[skip ci]
2020-12-21 22:16:36 +01:00
rdb
5cd6469fd8 makepanda: Don't make built/Frameworks directory unless needed
It is no longer needed if we don't ship Cg as a framework, see #1079

[skip ci]
2020-12-21 22:10:53 +01:00
rdb
310f3ca085 samples: Add deprecation notice to rocket-console sample
[skip ci]
2020-12-20 11:46:38 +01:00
rdb
ac021e94d6 putil: Ensure SimpleHashMap::_deleted_chain/_table are always initialized
Good to be on the safe side.
2020-12-20 00:59:55 +01:00
rdb
f7ab42da56 putil: Fix memory leak in SimpleHashMap
Fixes #1077
2020-12-20 00:23:04 +01:00
rdb
74983d19a4 dtoolbase: Fix small memory leak in NeverFreeMemory
It's using a set purely keyed by number of remaining bytes, so if there are two pages with the exact same number of remaining bytes, one of them gets lost.

See #1077
2020-12-20 00:19:37 +01:00
rdb
b5c857c73f pgraphnodes: Backport ShaderGenerator stub to 1.10.x
Needed if interrogate is being run with the __aarch64__ definition in a multi-arch build
2020-12-19 23:50:07 +01:00
rdb
6b1c681a24 extensions_native: Fix indirect rgbPanel import
It's defined in Valuator, not in Slider
2020-12-19 15:50:43 +01:00
rdb
7c676b5d26 directtools: Fix incorrect rounding for color conversion to hex
The color picker returns color values up to 255.99 so this can otherwise result in it returning a color like #100100100, and the hex code otherwise not matching with what is displayed in the color picker.
2020-12-19 15:27:23 +01:00
rdb
8ba1ae924c tkwidgets: Fix EntryScale missing import and menu errors 2020-12-19 15:26:15 +01:00
rdb
2d65738a18 makepanda: Respect lib-10.6 dir when copying dylibs/running install_name_tool
In the 1.10.8 thirdparty packages, OpenCV is split into a lib folder and a lib-10.6 folder, so we should use the proper dylibs to still be able to target 10.6
2020-12-19 14:10:51 +01:00
rdb
9544911127 makepanda: fix error building with --universal flag
[skip ci]
2020-12-18 12:54:35 +01:00
rdb
66c41d6c31 dist: Fix ability to deploy app without requiring OpenSSL enabled
Fixes #1073
2020-12-17 23:59:50 +01:00
rdb
a18edf54b7 makepanda: Changes to support build for macOS 11.0 / arm64
Besides use of --universal with --osxtarget 11, it's now also possible to create a fat build with ARM64 by using --osxtarget 10.9 --arch x86_64 --arch arm64 (it will use the 11.x SDK but target 10.9)

FMOD Ex is also being disabled when building against the 10.14 SDK or higher, because the necessary libstdc++.6.0.9.dylib is no longer being shipped.  FMOD Ex, libRocket and Cg are all disabled on ARM64 (FMOD Ex and Cg don't have the binaries available, libRocket could theoretically be built but there's no point as there won't be an ARM64 build of Python 2.7, and besides, we've deprecated it anyway).

Fixes #1062
2020-12-17 13:00:22 +01:00
rdb
4d50e73132 pfreeze: Support building for macOS arm64 architecture 2020-12-15 18:59:04 +01:00
rdb
6f35cb0235 device: Silently ignore invalid evdev keycodes generated by some drivers
Fixes #1066
2020-12-15 12:33:22 +01:00
rdb
10ef9b3456 makepanda: recognize --osxtarget 11, --universal should add arm64 2020-12-15 12:32:40 +01:00
rdb
8883bf9bdd dgui: Fix ability to create OnscreenGeom/Image/Text without ShowBase 2020-12-15 11:45:52 +01:00
rdb
fa8c8e71b5 gobj: Assert instead of crash if primitive references out-of-bounds vert 2020-12-14 16:54:20 +01:00
rdb
a11e21e4f4 audio: Fix sound resuming after reactivation if stop() was called while inactive
Backport of fix for #559
2020-12-12 19:50:48 +01:00
rdb
130c70a9f5 Update BACKERS.md
[skip ci]
2020-12-12 13:58:43 +01:00
rdb
761c54f63d pgui: Workaround for DirectEntry flickering issues w/ pipelining
See #1070.  This is a temporary solution (one which isn't complete- it doesn't properly handle state changes).
2020-12-12 13:57:49 +01:00
Daniel
4f63ef635d panda: Remove PyEval_InitThreads calls when compiling against Python 3.9+
Cherry-pick from #1053
2020-12-12 00:16:58 +01:00
rdb
bf59e880c6 bullet: Fix compilation error with Bullet 2.90+ 2020-12-09 16:25:29 +01:00
rdb
8e2c0dff4a pgraph: Hack fix for copying model with LightAttrib on root
When a LightAttrib is set on the root of a model and the light is contained within that model, creating a copy (like the one Loader makes automatically) causes the LightAttrib to still point to the original light, not to the newly copied light.

This works around it only for the case when the LightAttrib is set on the root, and only for the case of NodePath::copy_to() (it turns out there are edge cases when doing it in PandaNode::copy_subgraph() that would be hard to explain).

See Moguri/blend2bam#44
2020-12-09 15:51:36 +01:00
rdb
9525ddbfef pgraph: LightAttrib::get_on_light(n) should call check_sorted() 2020-12-09 15:48:10 +01:00
rdb
35eeb27386 VFSImporter: fix detection of source file encoding in Python 3
Incidentally, this should (in theory) also fix the _bootlocale import loop referenced in #1065
2020-12-09 15:46:51 +01:00
rdb
7b4ecbd60f directtools: Fix use of built-in direct instead of base.direct 2020-12-09 15:44:13 +01:00
rdb
951c182c0e makepanda: Preparatory changes for Big Sur / arm64 builds 2020-11-30 19:46:20 +01:00
rdb
4e7742b8e2 VFSImporter: replace deprecated U open() flag
Fixes #1063
2020-11-28 22:22:32 +01:00
rdb
aace94a521 makepanda: Fix version checks for macOS 11.0 Big Sur
Fixes #1056
2020-11-25 01:22:26 +01:00
rdb
61a089ad59 ShaderGenerator: don't output unused attr_ambient input variable 2020-11-22 14:23:46 +01:00
rdb
b12fcec099 glgsg: Fix handling of sized rgba formats in OpenGL ES 2020-11-22 14:21:34 +01:00
rdb
d1e8554fde glgsg: Fix error message if vtx_normal is declred as float4 in Cg 2020-11-21 14:19:52 +01:00
rdb
5fe83f4286 makepanda: Don't fail building installer if models dir is empty 2020-11-21 14:19:22 +01:00
rdb
93900a203e putil: Backport part of 9d8c523dfa83f37cc15095bc8f4fae5f7f996bc6
Fixes #886
2020-11-17 23:36:06 +01:00
rdb
a6e6826939 interrogate: support __getstate__ and __setstate__
The latter in particular will be called instead of __init__, so must construct the object.
2020-11-17 22:35:25 +01:00
rdb
3abd157315 gobj: Fix a bad assertion comparison 2020-11-17 21:05:08 +01:00
rdb
3a2048e44a glgsg: Fix skinning shader being unable to render unskinned models
Panda was adding a column with weights (0, 0, 0, 0), but these weights don't add up to 1 so no useful identity matrix can be produced.  Instead it's better to fall back to the OpenGL default, (0, 0, 0, 1).

I'm also defaulting the transform_index values to (0, 1, 2, 3) to support non-indexed skinning (although that's pretty esoteric, given that that only supports 4 transforms...)
2020-11-17 21:01:56 +01:00
rdb
a30f4be157 readme: Fix Travis badge on release/1.10.x branch 2020-11-17 21:01:17 +01:00
Daniel
7eba53cffa showbase: Fix an entire DirectSession being (re)created on node selection
Closes #1051
2020-11-17 12:02:53 +01:00
rdb
f1ca8a9018 direct: Additional linking in Loader API documentation 2020-11-17 12:01:42 +01:00
rdb
f88441c584 dist: Fix error building Windows executable in Python 3.9 2020-11-17 12:01:05 +01:00