Unpack a dependency's source again when its patches change
When a pull replaced, edited or removed one of a dependency's patches, the next deps build
failed at the patch step (OCCT after the seam patch was replaced) or kept the old change in
the source. The deps build now unpacks that dependency fresh before patching it, while builds
whose patches are unchanged unpack nothing. The first deps build after this change unpacks
each patched dependency once.
Build OpenCV with an empty CPU_DISPATCH, so it compiles only its baseline CPU code and skips the extra per-CPU copies (SSE4.1 to AVX-512 on x64, NEON DOTPROD on ARM64) that it chooses between at runtime. The baseline is unchanged, so there is no new CPU requirement. This cuts OpenCV's build time and makes the app about 4 to 5 MB smaller.
A dialog_auto_answer rule with a path still cancelled every open and save file picker on Linux, so a script
couldn't save or open a project through the File menu or insert an SVG in the Design tab there, and the sweep
skipped those steps. File pickers now take the path as on Windows and macOS. This needs the updated
wxWidgets, so rebuild the deps.
flatpak-builder checks that a named branch's tip is the pinned commit, so the source download failed as soon as the fork's v3.3.2 branch moved past b44c39c1. Both Flatpak jobs stopped with "Git commit for branch v3.3.2 is 89844cb1..., but expected b44c39c1...".
#17742 fixed the same breakage in the CMake deps recipe, which the Flatpak build does not use. The manifest carries its own pin, so it needed its own fix.
Dropping the branch keeps the commit pin and leaves nothing that goes stale when the fork moves. kde-extra-cmake-modules in this file already pins itself the safe way, with an immovable tag plus its commit. disable-shallow-clone makes git fetch full history, which it needs to check out a commit that is no longer a branch tip.
Also rewords the comment #17742 left in deps/wxWidgets/wxWidgets.cmake. No build change there.
Reported in #17740.
GIT_TAG pins a commit, but GIT_SHALLOW fetches only the fork's branch head, so the
checkout failed as soon as the fork moved past that commit. Every source build broke
at the wxWidgets download step with "unable to read tree", including distribution
packages built from the 2.5.1 tarball and our own deps jobs on a cache miss.
Pinning the new head instead would work until the next time the fork moves. A full
clone keeps the deliberate pin and cannot go stale.
Fixes#17740
Since the OCCT 8.0.1 update, some STEP files imported with cone faces missing. OCCT told the two seam pcurves of a cone apart with a 1e-7 threshold, which fails when the neighboring pcurves end slightly past the seam. The OCCT patch now picks the closer pcurve. The #16290 fix is kept.
Also stops admesh from merging unrelated edges of open meshes from STEP and SVG import on ARM64. A mesh built in memory reaches the nearby check with a tolerance of 0, and dividing by it was undefined. The check now returns early, which is what x86-64 already did.
Expat 2.10.0 has UTF-8 quotes in a comment in random_rand_s.c. cl.exe reads source files in the system code page, so on code page 936 it reads the line break as part of a double-byte character. The next line becomes part of the comment and the build fails with C1020.
Pass /utf-8 to Expat's C compiler when building with MSVC, keeping the existing C flags.
The windows-11-vs2026-arm runner image 20261112.217.1 moved from MSVC 14.51 to 14.52, and its cl.exe crashes with C1001 while optimizing OCCT's BRepGraph_LayerTopoSupplement.cxx. clang-cl builds compile OCCT with cl on ARM64, so every Windows arm64 deps build on that image fails.
A second OCCT patch compiles that one file without optimization when the compiler is cl targeting ARM64. Other compilers and architectures see no change.
OpenVDB, Blosc and OpenEXR are no longer built or searched for by default. Only SLA hollowing uses them, and SLA printing can't be reached in OrcaSlicer. Configure both the deps and the app with `-DSLIC3R_OPENVDB=ON` to build them again.
Without OpenVDB, `sla::generate_interior()` logs a warning and returns an empty interior, and the hollowed-cube SLA test is skipped. The Flatpak manifest no longer downloads the three source archives.
OCCT now builds only the toolkits libslic3r links, 26 with SLIC3R_CAD and 23 without, instead of whole modules. Every module is off and the list is passed in BUILD_ADDITIONAL_TOOLKITS, and OCCT adds their dependencies itself. The list must match OCCT_LIBS in src/libslic3r/CMakeLists.txt.
OCCT's own precompiled headers are on. clang-cl can break exception copies with a precompiled header (llvm/llvm-project#53486), so clang-cl Ninja builds compile OCCT with cl, as Windows ARM64 already did. With the Visual Studio generator OCCT may stay on clang-cl, so precompiled headers are off there. The .pch files are deleted after install. libslic3r clears INTERFACE_PRECOMPILE_HEADERS on the OCCT targets so OCCT's headers are not merged into its own.
The Windows x64 OCCT DLLs are now built with cl instead of clang-cl. OCCT's build time drops by about 45% on Windows and from 6m28 to 1m58 on Linux.
* Bump libcurl to 8.17.0
7.75.0 is from March 2021 and has 80 published CVEs against it. The ones our
use reaches are the Transfer-Encoding chain memory bomb from any hostile
server (CVE-2022-32206, CVE-2023-23916) and credential leaks on redirects
(CVE-2022-27774, CVE-2022-27776); the rest are closed too.
8.17.0 is the last release that builds against OpenSSL 1.1.1: from 8.18.0 on,
lib/vtls/openssl.c refuses anything older than 3.0.0, so moving further waits
for the OpenSSL 3 switch.
curl's CMake renamed its options along the way: CMAKE_USE_* became
CURL_USE_*, ENABLE_MANUAL became ENABLE_CURL_MANUAL, CURL_STATICLIB became
BUILD_STATIC_LIBS, and ENABLE_VERSIONED_SYMBOLS and USE_RTMP are gone.
libpsl, libidn2, brotli, zstd and WebSockets are now on by default and are
switched off explicitly so the feature set stays HTTP(S) over OpenSSL with
zlib, and no new shared library ends up in the AppImage or the macOS bundle.
The 7.75-specific clang-cl probe workaround is no longer needed.
Verified on Linux by building the dependency in isolation against the bundled
OpenSSL 1.1.1w: curl-config reports FILE FTP FTPS HTTP HTTPS IPFS IPNS and
the OpenSSL backend only, and every libcurl-using source in src/ passes a
syntax check against the new headers.
* Move to OpenSSL 3.5.9 and libcurl 8.23.0
OpenSSL 1.1.1 left public support in September 2023; every fix since,
including this year's DTLS ones that libdatachannel's camera transport
reaches, ships only to paid subscribers. 3.5 is the long-term-support
series, maintained until April 2030. curl follows in the same change because
8.18.0 and later refuse to build against anything older than OpenSSL 3.0, so
the two cannot move separately.
Recipe changes: the tarball comes from the release assets instead of the
tag archive, no-tests shortens the build, the ARM64 /Gs4096 override goes
(1.1.1's VC configs passed /Gs0; 3.x does not set /Gs at all), and the
hand-written CMake config advertises 3.5.9. The deprecated low-level MD5_*
calls still compile: OpenSSL 3 keeps them behind a deprecation warning,
which the build already silences for dependency headers.
Verified on Linux by building OpenSSL, curl, libdatachannel, FFmpeg and
CPython in an isolated dependency tree: libcrypto identifies as 3.5.9,
curl-config reports the OpenSSL backend with HTTP(S)/FTP(S)/FILE only, and
the bundled python3 imports ssl against 3.5.9 and creates a default context.
Every OpenSSL-using source file in src/ passes a syntax check against the new
headers. Windows and macOS are left to CI.
* Compare the Full libcurl Version Number in Http.cpp
The two guards tested LIBCURL_VERSION_MINOR alone, so at 8.x they went
false: the progress callback declared with curl_off_t was registered as
CURLOPT_PROGRESSFUNCTION, which libcurl calls with doubles, and the
TLS backend check compiled out. Compare LIBCURL_VERSION_NUM instead.
* Link SystemConfiguration Into libcurl on macOS
libcurl 8's Curl_macos_init calls SCDynamicStoreCopyProxies when IPv6
is enabled. curl's own CMake package links the framework, but our
FindCURL module builds CURL::libcurl from the static archive alone, so
both macOS builds failed to link.
* Keep OpenSSL's Default Security Level at 1
OpenSSL 3 raises the default from level 1 to 2. Level 2 refuses DHE with
1024-bit parameters on every connection and, when the peer is verified,
1024-bit RSA keys as well, so old self-signed printer certificates and
firmware TLS stacks would stop connecting. Configure with
OPENSSL_TLS_SECURITY_LEVEL=1 to keep the level 1.1.1 shipped with. TLS
1.0 and 1.1 need level 0 in 3.x and stay refused either way.
Also drop no-ssl3-method (the default in 3.x) and CURL_DISABLE_SMB (SMB
is opt-in since curl 8.23), delete the hand-written OpenSSL CMake package
that nothing reads (the build finds OpenSSL in module mode, and 3.x
installs its own lib/cmake/OpenSSL), stop probing the Flatpak runtime
for OpenSSL because the GNOME 50 SDK ships 3.5.9 and would have replaced
the pinned build, and keep a note of the MD5_* callers still to port.
* Build the Pinned OpenSSL and curl in the Flatpak
The Flatpak block stopped probing for OpenSSL so the GNOME SDK's copy
could not stand in for the pinned build, but the find_package(CURL) it
kept resolves the SDK's CURLConfig.cmake, whose find_dependency(OpenSSL)
leaves OPENSSL_FOUND set. Both dep_OpenSSL and dep_CURL were skipped,
and libdatachannel's configure then failed looking for a static
libcrypto under /app. Drop the CURL probe too: the Flatpak's curl has to
link the bundled OpenSSL, so neither of them can come from the SDK.
* Pass the Legacy Progress Callback to CURLOPT_PROGRESSFUNCTION
The pre-7.32 branch registered xfercb, declared with curl_off_t, for an
option libcurl calls with doubles. xfercb_legacy is the matching one
and was unused.
A crafted AMF could freeze Orca on Windows and macOS. The bundled expat 2.5.0 was built without XML_DTD, so its entity-amplification guard was compiled out. Expat 2.10.0 is now built from the release tarball with the guard on. Linux uses the system library only if it is already 2.10.0. Files that rely on unbounded entity expansion now fail to import instead of exhausting memory. The vendored 2.5.0 and 2.2.0 copies are removed, and the old expat.lib in existing Windows deps folders is overwritten. Deps need a rebuild on every platform.
Update OpenCV from 4.6.0 to 4.14.0.
- Drop 0001-vs.patch. 4.14.0 already detects the VS 2022 and VS 2026 runtimes, so OpenCV now builds with no patches.
- Turn off three options that 4.14.0 enables by default: AVIF (it would link a system libavif), the new GIF decoder, and KleidiCV (downloaded at configure time on aarch64).
- Build OpenCV with -fno-delayed-template-parsing under clang-cl, so softfloat.cpp compiles for Windows ARM64.
- Point the Flatpak manifest at the 4.14.0 tarball.
Behavior change: the PNG reader rejects a few malformed files that 4.6 loaded.
FreeType was only bundled for OCCT's font code in TKService. The only Orca code that used that font code was Shape/TextShape.cpp, and nothing calls it. Its one call in ImGuiWrapper.cpp is commented out. The Emboss tool and the Design tab's text use stb_truetype.
Build OCCT with USE_FREETYPE=OFF, and remove the FREETYPE dep, its Flatpak source entry, the freetype.dll copy on Windows, TextShape, and the freetype and fontconfig links in libslic3r. OCCT only links fontconfig when FreeType is on, and libslic3r_gui links fontconfig on its own.
libpng 1.6.35 was from 2018, and 1.6.59 includes the security fixes released since then. The local patches and the NEON workarounds are removed, because 1.6.59 already handles the macOS target architecture, the clang 19 build on macOS, and NEON on Windows ARM64. Apple arm64 builds now use NEON, which is the libpng default.
OpenCV compiled its bundled libpng 1.6.37 into opencv_world, so glTF
textures decoded with cv::imdecode and images loaded with cv::imread went
through that copy instead of the libpng the rest of Orca uses. Turn
BUILD_PNG off and depend on dep_PNG, the same way libjpeg is shared.
0002-clang19-macos.patch only patched the bundled copy's pngpriv.h,
which is no longer compiled, so drop it.
WebView2 sets its rasterization scale to monitor DPI multiplied by the
user's Windows text size, and tracks that value itself. wx keeps the
webview bounds in raw pixels, so the page is drawn at the larger scale
inside an unchanged box. Dialogs hosting web content (Color Picker,
Plugins, Speed Dial, WebPanel pages) look zoomed in at 200% text size,
while the native wx chrome does not.
Turn off monitor-change detection on the controller and set the
rasterization scale to the webview's DPI scale on every bounds update,
so the page follows the monitor like the rest of the UI. The patch is
applied only on MSVC, the only build that uses the Edge backend.
* Update GMP to 6.3.0 to Avoid the x18 Register on Apple Silicon
GMP 6.2.1's arm64 assembly keeps loop counters in x18, which Apple reserves and
macOS zeroes on every return to user space (syscalls, page faults, preemption).
When that happens inside one of those loops the counter underflows and the
routine walks the stack until the guard page: EXC_BAD_ACCESS / SIGBUS inside
__gmpn_* whenever CGAL falls back to exact arithmetic (texture import boundary
smoothing, text emboss cuts, mesh repair, mesh boolean).
6.3.0 moves those counters to ordinary temporaries (gmp-6.2 changeset
f4ff6ff711ed); no x18 use remains under mpn/arm64. The GCC 15 patch applies
unchanged apart from a line offset. The tarball comes from the GNU mirror, like
MPFR. Windows is unaffected: MSVC copies the prebuilt libgmp-10 and the arm64
job stages MSYS2's GMP.
Built with the deps recipe flags and ran make check on Linux x86_64 (clang 18,
200/200) and macOS arm64 (Apple clang, 199/199).
* Add gmplib.org as a Fallback Download for GMP
Same two-source pattern as MPFR: the GNU mirror first, the project's own
server second, one hash for both.
* Use the OrcaSlicer_deps Mirror as the GMP Fallback Download
SoftFever published gmp-6.3.0.tar.xz in SoftFever/OrcaSlicer_deps, the
same mirror 6.2.1 came from. Both sources serve the .tar.xz release file,
byte-identical (one SHA-256): the GNU server first, the mirror as fallback.
* Stage GMP 6.3.0 for the Flatpak Build
The Flatpak sandbox has no network, so the manifest pre-downloads every
dependency tarball into external-packages/. Point the GMP entry at the
6.3.0 .tar.xz the deps recipe now expects.
Build without precompiled headers when the compiler is clang-cl, in both the slicer and the wxWidgets dependency, and add a CI check that fails if broken exception throw info comes back.
With a precompiled header, clang-cl can leave the copy constructor out of the throw info it emits for an exception type (llvm/llvm-project#53486, open since 2022 and still present in clang 22.1.3). The linker keeps one throw info per type for the whole binary. When it keeps one from a precompiled header file, a copy of that exception is bitwise, and the copy and the original free the same data.
Mesh Boolean hits this on every operation. mcut destroys a std::promise that was never set, which stores a broken_promise future_error in an exception_ptr. Freeing it corrupts the heap, and Windows ends the process with 0xC0000374. The 2.5.0-alpha release has broken throw info for 64 exception classes, including std::runtime_error, std::bad_alloc and boost exceptions.
scripts/check_exception_throw_info.ps1 runs after the Windows clang build and its uploads, before any deploy. It fails when an exception class has throw info both with and without a copy constructor, when OrcaSlicer.pdb is missing, or when it finds no exception classes at all. scripts/test_check_exception_throw_info.ps1 tests it on canned dumps.
build_win.bat now treats -l as --no-pch. The Windows ccache key drops the cl.exe version, which only mattered for precompiled headers.
The bug came in with #15428, which moved Windows CI to clang-cl. 2.4.2 was built with MSVC.
Fixes#16581
* fix: pin the Python that builds CPython on Windows
CPython's build needs a Python to run its own build scripts. Without a local
Python 3.10-3.13, find_python.bat installs the newest pythonx86 from nuget.
That became 3.15.0 on 2026-10-09, and 3.15 removed
SourceFileLoader.load_module, which 3.12's makeopcodetargets.py calls:
AttributeError: 'SourceFileLoader' object has no attribute 'load_module'
Download Python 3.13.16 from nuget.org as its own dependency, with a hash
(pythonarm64 on ARM64 hosts, pythonx86 elsewhere), and pass it to PCbuild as
PYTHON, which find_python.bat takes before any other Python. PYTHONHOME and
PYTHONPATH are dropped from that step, since PCbuild runs the scripts
without -E. DEP_PYTHON_HOST points at an existing Python 3.10-3.13 instead,
for machines that cannot reach nuget.org.
Drop 01-windows-nuget.patch. It fixed the dead nuget.exe download link in
find_python.bat, and that fallback is never reached now. Existing deps trees
keep working: with no patch command, ExternalProject skips the patch step
instead of re-applying the patch to patched sources.
* fetch externals separately
---------
Co-authored-by: yw4z <ywsyildiz@gmail.com>
* fix: hide symbols of the bundled static openssl
* fix: hide the bundled static OpenSSL symbols on Linux
* fix: relink _ssl/_hashlib when OpenSSL recipe changes
Building deps with Xcode 27 on macOS 26 failed at the Python install step,
and a libpython built with Xcode 27 segfaulted on macOS 12-26 whenever a
plugin started a subprocess.
* Add developer flag for printer agents
* Parse user print info on the UI thread to prevent heap corruption (#119)
get_user_print_info()'s HTTP fetch can run on a worker thread (e.g. BindJob),
but parse_user_print_info() mutates userMachineList (insert/erase/delete
MachineObject). on_machine_alive (SSDP) mutates the same maps on the UI thread
without locking, so parsing off-thread races the map and frees MachineObjects
out from under it -> heap corruption.
Keep all device-list mutation on the UI thread: parse inline when already on
the main thread, otherwise marshal via CallAfter so it stays serialized with
on_machine_alive.
* Prevent loss of user access code on LAN reselect
Keep user access code intact to maintain access rights even if
device slot is unpopulated, ensuring continuous connection
and status message reception.
* Harden send flow and separate upload failure recovery (#111)
* fix(send): harden FT send path + IP pre-flight UX
* Remove early returns
* Working Moonraker and Qidi printer agent transport (#104)
Folds the Qidi AMS box-mapping print
overrides (apply_box_mapping +
start_* wrappers) that the transport
fix builds on.
* Add support for runtime error status in plugins
Distinguish a loaded plugin whose
capability errored (RuntimeError,
warn-styled, stays checked) from a
load-time Error. Status now derives
via resolve_plugin_status(); enum
ordinal keeps dialog sort priority.
Unloading clears stale errors.
* Resolve duplicate agent ID conflicts
Reject a printer-agent capability
whose agent ID is already owned by
another capability or built-in:
flag the plugin error, disable the
capability, and warn the user
instead of silently ignoring it.
* fix: checkbox should depend on plugin is_loaded status
* Replace fake-enum printer agent dropdown (#121)
A dedicated PrinterAgentChoice field
reads rows straight from the live
agent registry and stores the agent
id string, replacing the fake-coEnum
index mapping. The field moves to
TabPrinter and registers with the
searcher so UnsavedChanges renders
it; the PhysicalPrinterDialog copy
and its update hook are removed
(#125). switch_printer_agent now
resolves ids via
resolve_printer_agent_id.
* Reset device selection on agent swap or unload (#124)
set_live_printer_agent centralizes
the swap: deselect the machine,
clear stale sidebar state and the
previous agent's Other Devices, then
install the new agent (or null when
its provider vanished). Plugin
load/unload callbacks refresh the
dropdown and re-run agent selection.
load_last_machine no longer falls
back to the first available machine.
* Gate agent mode behind use_printer_agents toggle
Replace per-printer auto-activation
(is_current_printer_agent_plugin)
with a global experimental AppConfig
toggle, default off: legacy
print-host behavior is unchanged
until the user opts in. The toggle
drives device-tab routing, print
button defaults, connect-button
visibility and sidebar layout, and
dedups machine-select dialog opens.
* Track BBLPrinterAgentPlugin.py
* Add printer-agent and plugin status tests
Ports the agent lifecycle, duplicate
agent-id, built-in-id clash and
status-resolution tests. The loader
runs on a detached worker thread, so
the lifecycle tests live in their own
executable. Tests install the
production unload-side registry
wiring themselves (no GUI in the
test binary) and register agents
manually so concurrent loads stay
deterministic.
* fix: pin HTTP to prevent connection refusal
Set `use_ssl` to false to ensure Moonraker
connectivity, as the service uses HTTP rather
than HTTPS, preventing connection issues. Initialize
device info early for reliable name resolution.
* Bring Moonraker device panel to feature parity
The monitor panel showed wrong or missing
data for Moonraker printers, and its
controls did nothing.
Push payload now carries layer number and
total layers. Remaining time replaces the
wrong total_duration - print_duration
formula. The chamber light toggle maps to
Klipper SET_PIN / SET_LED, and pause,
resume and stop post to
/printer/print/{action}. Task thumbnails
resolve via /server/files/thumbnails onto
a new MachineObject thumbnail url.
Filament sync switches to pull mode so the
agent is queried on demand.
Not compiled or run.
* Stop blocking print on unreported nozzle data
* fix: make Klipper macro lamp control reliable
* Surface Moonraker webcams and gate unrunnable controls
* Keep Bambu AMS dialect out of the agent waist
M620 is Bambu firmware dialect, not a
neutral command. Composing it in
MachineObject let non-Bambu agents
(Moonraker/Klipper) forward it and
report success on firmware that
cannot run it.
Agents now own the dialect: the
default refusal on IPrinterAgent
returns not-supported so the UI
can say so; BBLPrinterAgent keeps
the byte-identical composition.
* Fix multi-color filament logic
Reuse color decoding across functions to improve
code readability and maintain consistency in
multi-color filament handling.
* Move Moonraker commands off the UI thread
Pause/resume/stop, g-code sends, temps, and
light ran synchronous HTTP on the UI thread,
freezing the app up to 10s per click on slow
or unreachable printers.
Run them on a single agent-owned FIFO worker
so g-code ordering is preserved, while command
translation stays synchronous so unsupported-
command dialogs still work.
Add a pending-disabled state to the pause,
resume, and abort buttons for Moonraker-family
printers: the icon only flips once the
WebSocket reports the real state, which also
rules out double-click races.
* Show Snapmaker U1 camera in Device tab
The U1 exposes no /server/webcams/list entry;
its camera only captures after an explicit
camera.start_monitor RPC, which the Moonraker
websocket executes unauthenticated but only
answers over MQTT - so the call is fire and
forget.
Start the camera when the camera view is
shown and renew every 300 s: the printer
retires the capture task at ~362 s and
stop_monitor is accepted but ineffective,
so teardown is simply to stop renewing.
Frames land in monitor.jpg as still JPEGs
(~2 fps at interval 0), so the webview loads
a local HTML wrapper that repolls with a
cache buster.
* fix: start stream when camera URL changes
* fix: stop Qidi slot parse throwing on null
* Keep printer-agent progress in sync
Keep the shared task progress aligned with agent
reports that lack Bambu cloud task identity.
Release the lazily allocated task during reset to
avoid leaks when machine objects reconnect.
* docs: document the printer-agent subsystem
* fix: merge access codes into one
* Reconcile implementation split with PR tip
* feat: abstract remaining gcode commands in devicemanager
* refactor: abstract bambu specific protocol to printer agent
* refactor: push bbl workflows to bbl printer agent
* remove unused
* fix: default impl
* fix callback error
* fix: remove redundant cache
* specify api for getting file transfer url
* revert file transfer abstraction
* fix: ams filament mapping workflow
* feat: update qidi to use subscription based filament sync mode
* fix: resolve stubgen byte header conflict
* fix: ams sync info and periodic ams sync via subscription workflow
* fix: skip filament sync dialog if filamentSyncMode is none
* feat: parse nozzle information for qidi and moonraker printer agents
* fix: extend access code requirements t 0, 8 or more characters.
* remove irrelevant docs
* fix: remove heavy includes from IPrinterAgent
* fix: defer filesystem and camera abstractions
* fix: remote do_fetch_filament_info from tests
* cleanup moonraker and snapmaker printer agents
* fix: access codes regression
* fix: tests
* fix: printer agent switching on preset change
* fix: remove unused variable
* fix: snapmaker U1 SelectMachineDialog blocking print
* fix: merge artifact
* fix: clear up some unrelated changes
* feat: connect to cloud printer and monitor
* feat: connect to cloud printer and monitor
* feat: generic camera stream support for http snapshot and rtsp
* fix: build & access code UI
* feat: generic camera stream support for http snapshot and rtsp
* fix: build & access code UI
* feat: connect to cloud printer and monitor
* feat: connect to cloud printer and monitor
* fix: build errors
* feat: camera via webrtc
* fix: build
* fix: cmake
* feat: remove frame assembler and change config to set protocol
* fix: orcaprinteragent refactor
* fix: LAN paths and camera stream
* feat: use ffmpeg to render http camera stream
* fix: make model_id/dev_type optional instead of blocking
* fix: connect via ip dialog
* feat: LAN impl for Orca Printer Agent
* fix: model_id resolution method for non bambu printers
* fix: ffmpeg http camera stream jittering due to incomplete frames
* fix: revert sdcard check
* feat: check printer storage status before sending
* fix: moonraker printer agent hang on printer power cut
* fix: shim layer for any compatibiliity changes
* fix: cloud printers were using the wrong MQTT endpoint
* feat: cloud download via HTTP
* temp: doc for intended change
* fix: warnings
* fix: warnings
* fix: camera auto-play on startup
* fix: split infra from impl
* fix: uninitialized ams state blocking print
* Fixes nullptr deref
* Log first before std::move
* fix: printer agent virutal optional functions
* fix: parameterize orcaslicer_copy_test_dlls() for printer_agent_plugin_tests
* Revert "fix: parameterize orcaslicer_copy_test_dlls() for printer_agent_plugin_tests"
This reverts commit 2f566e3779.
* Guard libdatachannel. Remove unused code
* fix: unit tests & unused variables
* fix(ci): deps build order for datachannel
* Resolve printer agent first before getting cloud printer agent
* fix(ci): set depends openssl
* fix: re-include apply header guarded by ifdef __APPLE__
* fix(ci): add libdatachannel to flatpak manifest
* fix: add internal_developer_mode chekc back to MediaPlayCtrl::load()
* fix: invoke js clearInterval on WebMediaController::stop
* fix: change rtc log level
* fix: inject provider, agent id and generation to get_user_print_info to ensure correct metadata
* fix: revert moonraker specific behavior
* fix: remove stale comment
* fix: use ORCA_CLOUD_PROVIDER instead of hardcoded string
* fix: remove hardcoded ICE servers
* feat: enable https camera stream mode
* fix: move non-mandatory printer agent function stubs to IPrinterAgent
* fix: dedupe compatible printer type check
* fix: stop the correct media controller
* fix: scope get_my_machine_list to printers listed under the current printer agent
* fix: move printer agent plugin tests into test_plugin_lifecycle.cpp
* fix: always build bundled DataChannel dep
* fix: disable unused DataChannel media support
* revert: filament sync work
* fix: wrap command_* with small wrapper
* fix: regression bug, connecting to bambu needs bblp username
* fix: default impl for vendor agnostic gcode commansd
* refactor: media controller playback routing and ownership
* fix: bump libdatachannel ver & update flatpak to use tar instead
* fix: stop flatpak DataChannel build from re-cloning over the sandboxed network
* fix: update windows ffmpeg prebuild
* fix: update printer agent plugin API
* fix: shift camera signaling channel to network agent
* fix: follow external-packages for flatpak libdatachannel deps & add flatpak path to use source_dir
* feat: add printer-agent.md doc to HLSD
* fix: guard DeviceManager command dispatch when no printer agent is bound
* fix: port BBL implementations from #15711
* refactor: connect_printer api and dialog
* fix(tests): make omitted printer agent operations answer like a missing agent
* fix: preserve printer agent defaults in PrinterAgentPluginCapabilityTrampoline
* test: cover printer agent default command dispatch
* fix: validate windows FFmpeg avformat library
* feat: extend optional printer model warnings to calibration & ams workflows
* fix: handle malformed printer progress values safely
* fix: clear webview document on stop
* chore: reduce diagnostic logging level to trace
* refactor: centralize printer compatibility checks
* tests: add device manager integration coverage
* tests: cover WebMediaController lifecycle with wxWebView stub
* fix: make integration tests headless
* refactor: collapse command_ams_refresh_rfid and command_ams_refresh_rfid2
* refactor: make printer connection SSL agent-specific
* fix: persist input printer host and port
* fix: use correct device id for Moonraker connections
* fix: make moonraker gcode commands asynchronous
* fix: preserve moonraker device names
* fix: add include for non BBL_RELEASE_TO_PUBLIC path in BBLPrinterAgent
---------
Co-authored-by: Andrew <159703254+andrewsoonqn@users.noreply.github.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: Lam Wei Lun <weilun.lam@gmail.com>
For clang-cl, CMake sets the depfile flags to the gcc-style -MD, -MT and -MF,
passed through as -clang: arguments. ccache does not parse those, so a cache
hit writes only the object. Ninja has no depfile to read, so it records zero
header dependencies for that object and does not rebuild it after a header
edit. The stale object is still linked into the library and the DLL. sccache
0.15.0 reproduces the depfile on a hit and is unaffected.
Use /showIncludes instead. CMake already does that for MSVC, and ccache
reproduces it on a hit. A make-rules override sets the flags, because CMake
includes the override after Platform/Windows-Clang.cmake. It is forwarded to
each dependency because every one configures as its own CMake project, and it
is only set when the file exists, because scripts/flatpak/make_deps_tar.sh
packs deps/ alone.
In a build with a warm cache, 678 of 790 objects had no recorded headers.
Object code does not change. One GUI translation unit compiled both ways is
byte-identical apart from the COFF timestamp.
- GMP: name the parameters in the configure probe from
0001-GMP_GCC15.patch. Unnamed parameters are a hard error on GCC 10
and older, so configure failed there.
- TBB: turn off the automatic hwloc search so a system libhwloc-dev is
not picked up.
- scripts/linux.d/debian: run apt update before checking which
webkit2gtk package exists, and prefer webkit2gtk-4.1 since the build
requires it. Add automake, which MPFR's autoreconf needs.