Commit Graph
343 Commits
Author SHA1 Message Date
SoftFever b85dbded55 List the commands tools/list leaves out with tool_list, in place of tool_search
tool_search matched words, so an agent that asked for a goal such as "add a brim" or "round the edges"
got unrelated commands. Agents now read tool_list, which lists the Design tab's commands, the menu items
that take no arguments and the plugins' operations with what each does, and a call refused for its
arguments names the tool_describe call that gives that command's parameters.
2026-11-22 17:56:09 +08:00
SoftFever 15bb082ce2 Refuse misspelt Design arguments and tell agents how to fix refused calls
A misspelt argument to most Design commands was ignored, so the command ran with
its default, such as a helix built with the default pitch. Every Design command now
refuses it and names the arguments it takes. Refusals of a missing object or part,
an unknown setting key, an invalid setting value or a preset that is not installed
now say the valid range, the similar keys, what the setting takes or the command
to use, and plate_add and object_add_handy_model say what they added.
2026-11-22 01:28:26 +08:00
SoftFever 867ba9b005 Merge branch 'main' into feature/mcp 2026-11-21 18:57:39 +08:00
SoftFever b30dfcd51b Let MCP path rules answer file pickers on Linux
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.
2026-11-21 17:24:41 +08:00
Kris Austin ced396fedc Pin the Flatpak wxWidgets source by commit alone (#17743)
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.
2026-11-20 17:19:27 -06:00
SoftFever 9d7778ec86 Make the full MCP sweep finish in about 11 minutes
A full sweep on six jobs took 17 to 19 minutes, too long to run often. Its 66 tests are
now 40 that cover the same areas with each scenario run once, and the sweep finishes in
about 11 minutes. The Speed Dial test checks a handful of commands no other test reaches,
and the sweep runs only test_*.py files; smoke_test.json and the Design replays are
played by the tests that use them.
2026-11-20 21:38:12 +08:00
SoftFever cbf5226d13 Let MCP clients read the connected printer's status and pause, resume or stop its print
printer_status reads what the Device tab shows of the printer it is connected to: its state, progress, layer, the
file printing and the temperatures, with no serial number and nothing sent to the printer. print_pause, print_resume
and print_stop do what the tab's buttons do, and are refused, saying why, where the printer's state does not allow
them or a job can be resumed only at the printer.
2026-11-19 22:58:34 +08:00
SoftFever 0584100037 Let MCP clients start a print, send to a Bambu printer, and test the print host
print_start opens the dialog the Print button opens for the selected printer, for one plate or all of them, and is
refused where the button would be disabled, such as for a plate not sliced. printer_send, and the Send G-code Speed
Dial action with it, open the dialog that sends to a Bambu printer's storage where they used to refuse such a printer,
and take the plate to send. printer_test_host checks that the printer's print host answers, as the Test button of its
connection dialog does.
2026-11-19 22:40:22 +08:00
SoftFever 23a104bc85 Let MCP clients lay an object on a face, set its brim ears, and add text or an SVG to a named object
object_lay_on_face turns an instance so that the face a direction names lies on the bed, as a click in the Lay on Face
gizmo does, and object_set_brim_ears places brim ears at bed positions, or clears them, as the Brim Ears gizmo stores
them; called with only their object, both open their gizmo. object_add_text and object_add_svg can name the object the
part joins and make it a negative part or a modifier. The Brim Ears gizmo shows ears set this way when it next opens,
rather than writing back the ones it held.
2026-11-19 22:11:04 +08:00
SoftFever 4f6821f059 Let MCP clients cut an object along a plane with object_cut
object_cut cuts an object at a height or along any plane, keeping either piece or both, laid where the Cut gizmo would
lay them or kept as two parts of one object, in one undo step, as the gizmo's Perform cut does. Named with only its
object it opens the Cut gizmo on it, for connectors, the dovetail and cuts along a contour. A plane that misses the
object, or an object with connectors, is refused with the model left as it was.
2026-11-19 20:49:40 +08:00
SoftFever d25593e29b Let MCP clients open the painting, Measure, Simplify and Mesh Boolean gizmos on a named object
object_paint, object_measure, object_simplify and part_boolean open their gizmo on the object, instance or part a
client names, where before a client had to know the gizmo existed and click its icon after selecting. A refused
opening says why in the gizmo's own terms, such as Mesh Boolean needing two parts, and leaves the selection and the
undo history as they were.
2026-11-19 20:21:41 +08:00
SoftFever 1d63e52dec Say action and Speed Dial, not tile and palette, in the MCP commands and docs
The MCP commands, their catalog and the docs called a command's Speed Dial entry a "tile" and the Speed
Dial itself "the palette", words the app already uses for an entry's icon and for sets of colours. They now
say "action" and "Speed Dial", as action_search and action_run do, and the catalog's tiles, tile_group and
in_palette fields are now actions, action_group and has_own_action. Speed Dial ids, and the pins people
stored under them, are unchanged.
2026-11-19 01:39:50 +08:00
SoftFever bbda030f4d Say menu item, not menu row, in the MCP commands and docs
The MCP command descriptions, docs and code called an entry of the app's
menus a "row", the word they also use for the rows of the object list and
the app's other lists. They now say "menu item", so a row is only ever a row
of a list or table. Command names, arguments and Speed Dial tile ids are
unchanged.
2026-11-19 00:35:28 +08:00
SoftFever d64e10f4dd Regroup the slicer's MCP commands and let each run from its arguments
Outside the Design tab an agent had 175 commands, 50 of them in the tool
list. There are now 118, named by what they act on (`object_`, `plate_`,
`preset_`, `filament_`, `plugin_` and so on), and 115 are listed. Each takes
its target and values in the call, acts on the selection when it names no
target and says what it acted on; an old name is refused. Printers and
system filaments install and uninstall, preferences read and write, plugins
enable, reload, uninstall and refresh, and objects reorder, with no dialog
to drive.

The Speed Dial keeps its 129 tiles under the same ids. Eight defects in the
rows these commands share with the menus are fixed. For a person: an object
row that cannot run says why instead of "Select an object first.", rows
that failed no longer claim success, Duplicate Plate can be undone, and
Refresh Plugins picked while a refresh runs now runs after it instead of
beside it.
2026-11-18 16:50:32 +08:00
SoftFever 81b93dd687 Rename and regroup the Design tab's MCP commands, and add the missing ones
The Design commands follow Fusion 360's names and grouping: one command per
job, with a `type` argument for its variants, so 133 commands become 88. An
old name or argument is refused. What the tab could do and no command
reached now has one: re-opening a committed sketch, selecting geometry,
confirming or cancelling an open tool, placing a body, sketch patterns and
dimensions, and text, SVG art and projected edges from arguments.

Ten defects in the Design tab's cards and sketch tools found on the way are
fixed. For a person: the Mirror tool binds a mirrored line or arc to its
source, Commit to Plate and Export STEP stop when the open card's Confirm
fails, and the Speed Dial keeps a query typed before its list arrives.
2026-11-16 19:50:08 +08:00
HanifKoh 191760b5cb Ship the Linux Preset Caches Before Packing the AppImage (#17485) 2026-11-16 13:49:03 +08:00
HanifKoh cbf282e6b3 Sign Each Windows Binary Once and Keep the Signed NSIS Plugins (#17483) 2026-11-16 13:37:02 +08:00
SoftFever 0604f25fd9 Make the MCP tool descriptions say what the tools do, and rename four misleading names 2026-11-16 05:14:35 +08:00
SoftFever ef23583a9a Report a project save that wrote nothing as not saved 2026-11-16 05:14:26 +08:00
Ian Bassi ebfce227c6 Copy the Python runtime only when it changes, and use thin archives with clang-cl (#17511) 2026-11-15 11:07:56 -03:00
SoftFever fece418ae0 Make the automation runtime its own subsystem, with MCP as one front end
Everything that drives OrcaSlicer by command (the dispatch of the command
catalog, jobs, the journal, replays, Python scripts, recordings) lived
inside the MCP server's service class. So Action Replay, the Run Script
panel, a plugin's tool call, a person's recording and a run from the
command line each had to start "the MCP service", with all of its GUI
hooks, although none of them needs a server or an agent.

The automation runtime is now a subsystem of its own. It starts the first
time a front end asks for it and knows none of them. The MCP endpoint
(HTTP, the protocol, the token, the discovery file, the takeover of a port
another window holds) is one front end beside the others, opened and
closed without stopping what the others run. The widget inspector, menu
capture and ImGui item recording are turned on only by a front end that
drives the GUI, so a person's recording or long command does not carry
them.

The part of the runtime that needs no GUI is the library
libslic3r_automation, built without wxWidgets and tested by its own suite,
automation_tests. A wx dependency in it fails to build, and its tests no
longer link the GUI library or the embedded Python.

The command line has one option set for this: --run FILE runs a replay or
a Python script once the GUI is ready, with --outputdir for its files, and
--unrestricted-scripts and --cad turn their settings on for one run
without saving them. --mcp-run, --mcp-run-out and --mcp-token are gone;
the scripts setting is python_scripts_unrestricted and a session's output
folder is <datadir>/automation/out. get_app_state reports ready and
version at the top level, and its mcp block describes the endpoint only.

No change to slicing output.
2026-11-14 23:41:01 +08:00
SoftFever 72dc14c9d6 Fix MCP menu paths, CAD-off replies, test-instance sign-in, Preview focus and clang-tidy on macOS 2026-11-14 17:04:40 +08:00
SoftFever 822775179b Merge branch 'main' into feature/mcp 2026-11-14 01:05:25 +08:00
SoftFever 1ef24b7d34 Hold Speed Dial commands, MCP tools and Design tools in one command catalog
Every command takes JSON arguments and has one function for a person and for
automation: with no arguments it does what a person's pick does, and with
arguments it runs silently. The Design tab's CAD tools are commands that
call_tool runs, and they show as Speed Dial tiles on the Design tab.
2026-11-13 20:59:31 +08:00
yw4z 30da6fd145 Add SLIC3R_OPENVDB option to build without OpenVDB (#17401)
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.
2026-11-12 18:15:26 -06:00
SoftFever 0616068e26 Run commands, tools and the plugin API through one operations layer
A Speed Dial command, the MCP tool that does the same thing and the plugin
API's preset calls now run one shared operation, so every route accepts and
refuses the same states, with one wording and a code for each refusal. An
import by a command or a tool is one undo step, and import_file adds geometry
only.

The cases where two routes behaved differently now behave the same: a project
is not saved under a .gcode.3mf name, an empty project exports as .3mf but not
as STL, arrange runs from any view and with a gizmo open, a mixed-colour
filament slot is refused as one, a hidden preset is shown before it is
selected, and a layer is refused while the Preview has none.
2026-11-12 22:06:10 +08:00
HanifKoh a4de8cb891 Build the Flatpak, macOS x86_64 and Windows arm64 for Pull Requests on Request (#17202)
* Move the Flatpak Jobs Into a Reusable Workflow

build_flatpak.yml holds the Flatpak build and its two sandbox unit-test jobs, moved verbatim, so a second workflow can call them. Build all calls it for every event it built the Flatpak for before.

* Build the Flatpak, macOS x86_64 and Windows arm64 for Pull Requests on Request

Build all no longer builds them for a pull request: the Flatpak is the slowest
Linux leg, a macOS x86_64 build holds one of the few hosted macOS runners for
an hour, and Windows arm64 doubles the Windows legs. Pushes, the nightly and
dispatches still build everything, and a pull request's macOS arm64 build ships
as its own DMG in place of the universal one.

The new build_optional.yml builds them on a label (build-flatpak,
build-macos-x86_64, build-windows-arm64), from when it is added and on every
later push, and builds the Flatpak and Windows arm64 without a label when the
pull request changes anything outside the sources, tests, profiles,
translations and docs, which is where what breaks only those legs lives. Each
build keeps its own concurrency group, which cancel_closed_pr_builds.yml joins.

The macOS admission script now counts the macOS jobs of both workflows, and
build_check_cache.yml names the workflows in its env instead of deriving one
from the caller. The label bot lets a contributor ask for the Flatpak.

* Run the Windows Build Script Tests Only When a Pull Request Changes Them

The three suites build their own fixtures and read nothing else from the
tree, so on a pull request a short Linux job looks for a change to the scripts
or the suites first, and the Windows builds accept the skipped job. Pushes and
the nightly still run them every time.

* Read WORKFLOW Through a Checked Expansion

Shellcheck's SC2153 takes a bare uppercase reference next to the lowercase variable for a misspelling.

* Let the Pull Request Author Ask for Any Optional Build Through the Bot

GitHub starts no workflow from an event the job's own token causes, so the
label bot mints a GitHub App installation token when the app's secrets exist
and adds the build-* labels with it; without them the build starts with the
next push. The run a label starts is an ordinary pull_request run, so a first
pull request's waits for a maintainer's approval as Build all does.

* Build Everything the Labels Ask for in Every Optional Builds Run

Each label added starts a run of its own, and the pull request's checks show
the newest run only, so a run that built its own label's leg alone left the
others looking skipped. Every run now builds everything the labels and the
changed files ask for; the concurrency group of each build cancels the one an
earlier run of the commit started, so the newest run ends with them all.

* Filter Optional Builds Like Build All and Add a build-all Label

The workflow takes Build all's pull_request paths plus the Flatpak packaging,
so a pull request Build all skips, one that only changes an unrelated
workflow or script, gets no optional build and starts none on a label. The
build-all label asks for every optional build at once.

* Keep the Flatpak on Every Pull Request

flatpak-builder compiles with the GNOME SDK's default flags, which include
-D_GLIBCXX_ASSERTIONS, so the Flatpak's unit tests are the only pull request
check that aborts on an out-of-range vector access where the other legs'
Release builds read garbage and pass. Since August that caught four bugs
that changed only src/, tests/ or resources/, which the infra rule would not
have built, and the leg runs on hosted Linux runners, so gating it freed no
macOS runner. Build all calls build_flatpak.yml on pull requests again; the
optional builds are the macOS x86_64 and Windows arm64 ones, and build-all
means those two.

* Revert "Keep the Flatpak on Every Pull Request"

This reverts commit 998e31a99b.

The Flatpak stays behind the build-flatpak label and the infra rule, as
the maintainers prefer.

* Build the Linux Legs With libstdc++'s Assertions

flatpak-builder compiles with the GNOME SDK's default flags, which include
-D_GLIBCXX_ASSERTIONS, so the Flatpak's unit tests were the only pull
request check that aborts on an out-of-range vector access where the other
legs' Release builds read garbage and pass. Pull requests build the Flatpak
on request only now. SLIC3R_GLIBCXX_ASSERTIONS defines the macro for the
OrcaSlicer build, and the Linux legs turn it on, so every pull request keeps
those checks on a leg that always runs. The checks are libstdc++'s
lightweight subset: no class changes layout, so the prebuilt deps link as
they are.
2026-11-12 14:29:26 +08:00
SoftFever 58ff1f5244 Merge remote-tracking branch 'origin/main' into feature/mcp 2026-11-11 03:35:56 +08:00
SoftFever 0935d49c83 Run the Design-tab GUI tests through MCP on every platform 2026-11-11 00:27:51 +08:00
SoftFever 3f73a72998 Move the Design-tab GUI checks into the MCP tests 2026-11-11 00:27:33 +08:00
HanifKoh 6bf8892f4c Bump the Bundled uv to 0.13.7 (#17292)
uv 0.11.21 verifies PyPI's TLS certificate against its vendored CA bundle,
which still trusts the emSign ECC Root CA - G3 whose eMudhra intermediates
were compromised (GHSA-hq85-5cpj-mr62). An on-path attacker holding one of
those keys could substitute the packages that plugin dependencies install.
0.13.4 drops that root; 0.13.7 is the current release. Hashes come from the
release's .sha256 assets; the Flatpak manifest fetches the same archives.
2026-11-10 16:48:08 +08:00
HanifKoh 4ab9f7a732 Move to OpenSSL 3.5.9 and libcurl 8.23.0 (#17293)
* 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.
2026-11-10 16:47:55 +08:00
SoftFever 4dd989a9e3 Merge remote-tracking branch 'origin/main' into feature/mcp 2026-11-10 03:03:41 +08:00
SoftFever fe98638cff Describe CAD checks and sketch code as they are, not as they were 2026-11-10 01:57:37 +08:00
SoftFever 017963d5a5 Correct CAD docs and comments that disagree with the code 2026-11-10 00:54:31 +08:00
SoftFever 3b245fbc7b Remove the Design tab's Docker test setup and check its offer table in CI 2026-11-10 00:04:05 +08:00
SoftFever cbb2c7ad40 Run the CAD sketch checks against the app's MCP server 2026-11-09 23:51:41 +08:00
TheLegendTubaGuy b4bd9c8492 Remove null checks before delete (#17375)
Deleting a null pointer already does nothing. Enable clang-tidy's readability-delete-null-pointer so new null checks around delete are caught on changed lines, drop the one in DragCanvas's destructor, and remove ParamsPanel::delete_subwindows(), whose only caller is inside #if 0.

The --fix help and summary message in the clang-tidy scripts are reworded to "apply clang-tidy's fixes", since this check has its own fix.

Closes #7847
2026-11-09 07:55:35 -06:00
Lam Wei Lun 7f124c1b0a Pin expat to 2.10.0 and restore its entity-amplification guard (#17290)
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.
2026-11-07 14:24:08 -06:00
Kris Austin da77fc3ee1 Bump the version to 2.6.0-dev (#17340) 2026-11-07 08:07:41 -06:00
SoftFever 73e64d3bc5 Sign Windows release and nightly builds in CI (#17305)
* Sign Windows release and nightly builds in CI

* Replace the README's SignPath signing policy with a signed-builds note
2026-11-06 13:33:40 +08:00
SoftFever 6114c7b496 Fix the duplicate backfill workflow and run it in paced batches of open issues 2026-11-05 00:23:52 +08:00
SoftFever b2d254921c Update issue dedupe to upstream's current workflow on Claude Haiku 5.5 (#17264) 2026-11-05 00:10:14 +08:00
mosfet80 8d423e0e6d Update gst-plugins-good to 1.26.11 in the Flatpak manifest (#16516)
Build the Flatpak's jpeg and gtk plugins from gst-plugins-good 1.26.11, so they match the GStreamer 1.26.11 core in the GNOME 50 runtime. They were built from 1.22.8.
2026-11-03 15:20:15 -06:00
Ian Chua 52c50e626e fix: flatpak bundle uv (#17045)
* fix: flatpak builds weren't bundling UV

* fix: prominently fail if no UV
2026-10-31 02:22:48 +08:00
Ian Bassi 3bc827066d Fix tooltip line breaks and ambiguous msgids in all languages (#17055) 2026-10-30 12:52:34 -03:00
HanifKoh 40d7f25ff9 Bump wxWidgets to the Fork Commit With the Wayland Seat Release Fix (#17015)
* Update WxWidget Git Tag

* Bump the Flatpak wxWidgets Pin to the Same Commit as the Deps Build
2026-10-29 14:45:40 +08:00
HanifKohandLam Wei Lun 541ff1da58 Prune the Cached Preset JSONs Once for All Windows Targets (#16926)
* Prune the Cached Preset JSONs Once for All Windows Targets

build_preset_cache.bat pruned each target on its own, reading every
vendor's preset list from the checkout's <vendor>.json. CI names the
checkout as the first target, and pruning it deletes those files, so the
install tree that the portable zip and the MSIX are packed from only
lost the 71 vendor JSONs and kept all 14,600 preset JSONs next to the
caches. The prune also started one PowerShell per vendor and deleted
file by file, which took 28 minutes on the Windows arm64 runner against
under a minute on x64, and set the wall clock of every PR.

The pruning moves to prune_cached_presets.ps1, run once for all targets:
it reads every vendor profile before touching any target and deletes in
a single process, printing how long each target took. The batch script
only validates the targets, installs the caches and queues them.

A test suite exercises the script on a made-up profiles tree, including
the source-then-install-tree order CI uses, and runs in the Windows build
script tests job.

* Resolve the Prune Script Next to the Repo Root, Not %0

The prune label runs after the argument loop has shifted %0 along with
the rest, so %~dp0 named the last target's directory and PowerShell
could not find the script. REPO_ROOT was captured before any shift.

* Read the Preset List From the Target's Own Profile in the Shell Script

The shell script read each vendor's preset list from the source profiles,
which is gone once an earlier --prune-source target has been pruned. No
caller passes the source as a target today, so this is the same latent
dependency the batch file had, removed before it bites.

Ported from https://github.com/OrcaSlicer/OrcaSlicer/pull/16975.

---------

Co-authored-by: Lam Wei Lun <weilun.lam@gmail.com>
2026-10-28 22:11:34 +08:00
HanifKoh be4eff43f4 Fail the Profile Checks When a Changed Bundle Keeps Its Version (#16923)
The app installs a bundled profile set only when its version is newer than
the installed one, and the OTA profile update is named after the version, so
a vendor bundle merged without a bump in its <Vendor>.json never reaches a
user. Nothing checked that: two recent OrcaFilamentLibrary additions and a
Qidi printer model merged with their version unchanged.

Add a version-check command to orca_profile_tool.py that diffs two revisions
(or the working tree against the commit it left main at), groups the changed
files by vendor bundle, and fails unless every changed bundle's version is
newer than before and written as four numbers. The fourth component folds
into the third as the app reads it, so 02.04.00.100 is not newer than
02.04.01.00. A bundle the base does not have, blacklist.json and the user
preset directory are not judged.

Run it as the version_bump check in the Check profiles workflow against the
branch a PR merges into, and in check_profile.sh and check_profile.ps1,
which take --base / -Base to compare with another ref and skip the check for
a --profiles tree outside a git checkout.
2026-10-27 21:10:54 +08:00
Kris Austin 1008a47870 Update OpenCV to 4.14.0 (#16851)
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.
2026-10-25 21:57:10 -05:00