forked from prusa3d/PrusaSlicer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
379 changed files
with
63,889 additions
and
5,892 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ jobs: | |
secrets: inherit | ||
with: | ||
with_asan: true | ||
debug_symbols: true | ||
actions_branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Build without GUI | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_nogui: | ||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_nogui.yml@master | ||
secrets: inherit | ||
with: | ||
actions_branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
add_cmake_project(Catch2 | ||
URL "https://github.com/catchorg/Catch2/archive/refs/tags/v2.13.10.zip" | ||
URL_HASH SHA256=121e7488912c2ce887bfe4699ebfb983d0f2e0d68bcd60434cdfd6bb0cf78b43 | ||
URL "https://github.com/catchorg/Catch2/archive/refs/tags/v3.8.0.zip" | ||
URL_HASH SHA256=bffd2c45a84e5a4b0c17e695798e8d2f65931cbaf5c7556d40388d1d8d04eb83 | ||
CMAKE_ARGS | ||
-DCATCH_BUILD_TESTING:BOOL=OFF | ||
-DCMAKE_CXX_STANDARD=17 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
if (APPLE) | ||
# Only disable NEON extension for Apple ARM builds, leave it enabled for Raspberry PI. | ||
set(_disable_neon_extension "-DPNG_ARM_NEON:STRING=off") | ||
else () | ||
set(_disable_neon_extension "") | ||
endif () | ||
if (MSVC OR APPLE) | ||
if (APPLE) | ||
# Only disable NEON extension for Apple ARM builds, leave it enabled for Raspberry PI. | ||
set(_disable_neon_extension "-DPNG_ARM_NEON:STRING=off") | ||
else () | ||
set(_disable_neon_extension "") | ||
endif () | ||
|
||
set(_patch_cmd PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt.patched CMakeLists.txt) | ||
set(_patch_cmd PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt.patched CMakeLists.txt) | ||
|
||
if (APPLE) | ||
set(_patch_cmd ${_patch_cmd} && ${PATCH_CMD} ${CMAKE_CURRENT_LIST_DIR}/PNG.patch) | ||
endif () | ||
if (APPLE) | ||
set(_patch_cmd ${_patch_cmd} && ${PATCH_CMD} ${CMAKE_CURRENT_LIST_DIR}/PNG.patch) | ||
endif () | ||
|
||
add_cmake_project(PNG | ||
URL https://github.com/glennrp/libpng/archive/refs/tags/v1.6.35.zip | ||
URL_HASH SHA256=3d22d46c566b1761a0e15ea397589b3a5f36ac09b7c785382e6470156c04247f | ||
PATCH_COMMAND "${_patch_cmd}" | ||
CMAKE_ARGS | ||
-DPNG_SHARED=OFF | ||
-DPNG_STATIC=ON | ||
-DPNG_PREFIX=prusaslicer_ | ||
-DPNG_TESTS=OFF | ||
-DPNG_EXECUTABLES=OFF | ||
${_disable_neon_extension} | ||
) | ||
add_cmake_project(PNG | ||
URL https://github.com/glennrp/libpng/archive/refs/tags/v1.6.35.zip | ||
URL_HASH SHA256=3d22d46c566b1761a0e15ea397589b3a5f36ac09b7c785382e6470156c04247f | ||
PATCH_COMMAND "${_patch_cmd}" | ||
CMAKE_ARGS | ||
-DPNG_SHARED=OFF | ||
-DPNG_STATIC=ON | ||
-DPNG_PREFIX=prusaslicer_ | ||
-DPNG_TESTS=OFF | ||
-DPNG_EXECUTABLES=OFF | ||
${_disable_neon_extension} | ||
) | ||
|
||
set(DEP_PNG_DEPENDS ZLIB) | ||
set(DEP_PNG_DEPENDS ZLIB) | ||
endif() |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
diff --color -urN wxWidgets-323a465e577e03f330e2e6a4c78e564d125340cb/build/cmake/lib/webview/CMakeLists.txt dep_wxWidgets/build/cmake/lib/webview/CMakeLists.txt | ||
--- wxWidgets-323a465e577e03f330e2e6a4c78e564d125340cb/src/osx/carbon/dcscreen.cpp 2024-06-26 10:39:50.000000000 +0200 | ||
+++ dep_wxWidgets/src/osx/carbon/dcscreen.cpp 2025-01-08 14:13:51.980634573 +0100 | ||
@@ -14,6 +14,7 @@ | ||
#include "wx/osx/dcscreen.h" | ||
|
||
#include "wx/osx/private.h" | ||
+#include "wx/osx/private/available.h" | ||
#include "wx/graphics.h" | ||
|
||
wxIMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxWindowDCImpl); | ||
@@ -68,15 +69,26 @@ | ||
if ( subrect ) | ||
srcRect = CGRectOffset( srcRect, -subrect->x, -subrect->y ) ; | ||
|
||
- CGImageRef image = NULL; | ||
- | ||
- image = CGDisplayCreateImage(kCGDirectMainDisplay); | ||
+ CGImageRef image = nullptr; | ||
|
||
- wxASSERT_MSG(image, wxT("wxScreenDC::GetAsBitmap - unable to get screenshot.")); | ||
- | ||
- CGContextDrawImage(context, srcRect, image); | ||
+#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 140000 | ||
+ if ( WX_IS_MACOS_AVAILABLE(14, 4) ) // errors on lower versions of macOS 14 | ||
+ { | ||
+ // TODO add ScreenKit implementation | ||
+ } | ||
+ else | ||
+#endif // macOS 10.14+ | ||
+ { | ||
+#if __MAC_OS_X_VERSION_MAX_ALLOWED < 150000 | ||
+ image = CGDisplayCreateImage(kCGDirectMainDisplay); | ||
+#endif | ||
+ } | ||
|
||
- CGImageRelease(image); | ||
+ if ( image != nullptr ) | ||
+ { | ||
+ CGContextDrawImage(context, srcRect, image); | ||
+ CGImageRelease(image); | ||
+ } | ||
|
||
CGContextRestoreGState(context); | ||
#else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
add_cmake_project(z3 | ||
URL https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.13.0.zip | ||
URL_HASH SHA256=81543736dcbbbcb037a7df55d0be596245d509f3f69f56610df32728e48ee050 | ||
CMAKE_ARGS | ||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON | ||
-DZ3_INCLUDE_GIT_HASH=OFF | ||
-DZ3_INCLUDE_GIT_DESCRIBE=OFF | ||
-DZ3_USE_LIB_GMP=OFF | ||
-DZ3_BUILD_LIBZ3_SHARED=OFF | ||
-DZ3_ENABLE_EXAMPLE_TARGETS=OFF | ||
-DZ3_ALWAYS_BUILD_DOCS=OFF | ||
-DZ3_BUILD_EXECUTABLE=OFF | ||
-DZ3_BUILD_TEST_EXECUTABLES=OFF | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.