25100 Commits

Author SHA1 Message Date
rdb
2b0a6b995a display: Add a way to query system DPI scaling
See #426
2020-12-26 16:25:51 +01:00
rdb
2156e6deb2 Merge branch 'release/1.10.x' 2020-12-26 14:00:29 +01:00
rdb
d5c2dc6447 dgui: Add setTextPos, etc. aliases for setPos
setPos will be deprecated in a future version.

See #1041
2020-12-26 13:59:19 +01:00
rdb
55d43a1d57 device: Fix macOS crash when unplugging device in threaded pipeline
Fixes #1082
2020-12-26 12:46:45 +01:00
rdb
5fd6436df5 doc: Update release notes for 1.10.8
[skip ci]
2020-12-25 00:25:33 +01:00
rdb
84a6e900af dist: Fix error using build_apps in Python 2.7 2020-12-25 00:24:01 +01:00
rdb
030bdd1d34 dist: Work around stdlib bug causing erroneous missing module warnings 2020-12-24 20:52:10 +01:00
rdb
4b7c11059d dist: Ignore some missing modules 2020-12-24 20:46:33 +01:00
rdb
d2a7481181 dist: handle SyntaxError in imported module 2020-12-24 20:46:13 +01:00
rdb
4e6395e07a dist: Fix line of code that mysteriously disappeared 2020-12-24 19:17:44 +01:00
rdb
9a20d4713f showbase: Remove unused C++ runtestFullscreenSizes interface
If there is a need for this, we can implement it properly in GraphicsWindow (open an issue or comment in #1014 if you are affected by this, please)

See #1014
2020-12-24 15:31:56 +01:00
rdb
a3010a43a5 Merge branch 'release/1.10.x' 2020-12-24 15:31:52 +01:00
rdb
4cf32bece3 doc: Update release notes for 1.10.8
[skip ci]
2020-12-24 15:30:17 +01:00
rdb
86937c7bb9 dist: Check if entire directory should be skipped
This is functionally equivalent, but reduces the message spam in verbose mode, and perhaps is a little faster
2020-12-24 14:19:17 +01:00
rdb
adbeea33fb dist: Warn if picking up binary dependency from outside a wheel 2020-12-24 14:16:40 +01:00
rdb
8bb0de52b7 dist: Add additional ignored system libraries for Windows 2020-12-24 14:15:58 +01:00
rdb
012661e1ba dist: Add more ignore libraries for macOS
This is the full list of libraries that occur both in the 10.6 SDK and the 11.1 SDK.
2020-12-24 13:23:58 +01:00
rdb
4a62cc13be makewheel: Set --force-rpath when calling patchelf
This is necessary to avoid the creation of a DT_RUNPATH instead of DT_RPATH.  DT_RUNPATH does not have the desired behaviour.
2020-12-24 13:22:00 +01:00
rdb
5c98c6fb71 makepanda: accept arm64 as alias for aarch64 when building for Android 2020-12-24 13:21:35 +01:00
rdb
35b7ef0dcb shader: Add additional mode-based texture inputs to GLSL shaders
This adds the following inputs:
  p3d_Texture[] (as alternative to p3d_Texture0, etc.)
  p3d_TextureFF[]
  p3d_TextureModulate[]
  p3d_TextureAdd[]
  p3d_TextureNormal[]
  p3d_TextureHeight[]
  p3d_TextureSelector[]
  p3d_TextureGloss[]
  p3d_TextureEmission[]
2020-12-23 18:20:43 +01:00
rdb
05876317cf Add TextureStage::M_emission mode
This is similar to M_glow, except that the emission factor is in the RGB channels.
2020-12-23 17:33:59 +01:00
rdb
1b8c4e0029 dtoolutil: Fix compile warning in ExecutionEnvironment 2020-12-22 23:14:59 +01:00
rdb
b73052260c workflow: Fix GitHub Actions CI with latest thirdparty packages 2020-12-22 16:48:30 +01:00
rdb
4747e6e4df CMake: Fix CMAKE_CONFIGURATION_TYPES not including Coverage
Coverage is added based on the value of CMAKE_CXX_COMPILER_ID, which isn't known until after the project() call.

This fixes a regression in f26f7d22260b85ea4d0d6044dc2c410ad1da8a20
2020-12-22 16:48:12 +01:00
rdb
131ae98bfd Merge branch 'release/1.10.x' 2020-12-22 16:45:24 +01:00
rdb
30bca7a119 dtoolutil: fix ExecutionEnvironment::has_environment_variable() for shadowed var
Fixes MAIN_DIR being set more than once (which seems to avoid a compiler bug in an opt4 build).
2020-12-22 16:22:45 +01:00
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
5cb4f6b518 workflow: Remove mention of removed Frameworks directory
Cg is now shipped as just a regular library
2020-12-22 00:38:34 +01:00
rdb
f4fa444013 Merge branch 'release/1.10.x' 2020-12-22 00:37:50 +01:00
rdb
f26f7d2226 CMake: Fix CMAKE_CONFIGURATION_TYPES not being set properly in the cache 2020-12-21 23:31:20 +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
1070299a9d Update to 1.10.8 thirdparty packages for Windows as well 2020-12-21 16:55:21 +01:00
rdb
8dd3301c43 text: Fix issue with TextNode::set_text() called from non-App stage
Because TextEncoder is not pipeline-cycled, text_changed() should propagate text changes up to stage 0.

See #1070; this caused the frame rate meter to show 0.0 fps most of the frames.
2020-12-21 16:53:05 +01:00
rdb
dfc5b47ec9 CMake: Improve reporting of enabled-but-not-found packages
Fixes #1072 (together with 3786dc2aeaaf09479e12a590ab426a770f18fdb5)
2020-12-20 18:36:41 +01:00
rdb
3786dc2aea CMake: Fix detection and use of SSE2 compiler flag on MSVC
This is one half of the fix for #1072
2020-12-20 18:35:17 +01:00
rdb
310f3ca085 samples: Add deprecation notice to rocket-console sample
[skip ci]
2020-12-20 11:46:38 +01:00
rdb
fa04d77b57 makepanda: Replace use of deleted GetThirdpartyLibDir function
This caused a build error due to a faulty auto-merge.
2020-12-20 01:11:46 +01:00
rdb
e08282003b putil: Give SimpleHashMap a type handle to enable memory usage tracking
Previously SimpleHashMap were entirely absent from the PStats memory statistics.
2020-12-20 01:02:23 +01:00
rdb
ae3d8c2663 dtoolbase: More elegant fix for NeverFreeMemory memory leak
Better fix for 74983d19a41d5fbf006cb269d6b1adc9f705dc99 is to just switch to an std::multimap.  This couldn't go in the 1.10.x branch due to the risk of ABI change.
2020-12-20 01:02:15 +01:00
rdb
dee8df9427 Merge branch 'release/1.10.x' 2020-12-20 01:02:08 +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
c4376b4f41 makepanda: Disable Maya builds for ARM64 on macOS 2020-12-20 00:32:20 +01:00
rdb
f7ab42da56 putil: Fix memory leak in SimpleHashMap
Fixes #1077
2020-12-20 00:23:04 +01:00