mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-06 23:31:19 +00:00
Follow-up to the feature/OrcaSonar review. Scopes the new behavior to the OrcaSonar agent, fixes several AMS-sync and lifecycle bugs, and makes the MQTT tests run in CI. Non-OrcaSonar agents keep their existing behavior. ## Changes Discovery - Gate the background SSDP scan to a configured OrcaSonar machine instead of running for every non-BBL profile; drive discovery on demand from the machine-select popup and back off idle rounds from 5s to 60s. - Add NSLocalNetworkUsageDescription and NSBonjourServices to both macOS Info.plist templates. AMS sync - Resolve id-less printer-set trays by material type in get_ams_cobox_infos and the sidebar badge loop, matching sync_ams_list, so combo arrays and badges stay aligned. - Keep a printer-set tray that resolved by type out of the "unknown or incompatible filaments" dialog. AMS device UI - Gate the "Empty" tray classification, and the editable temperature fields, to the OrcaSonar agent; Bambu keeps "?" and read-only presets. - Validate AMS material temps on confirm: reject out-of-range values and min > max before the command is sent. Storage tab - Bind the show/hide handler on the panel's ancestors (StoragePanel and MonitorPanel) and unbind on destruction, so the Bambu file system stops when the tab is left. Transport - Load /etc/ssl/cert.pem on macOS in add_platform_root_certificates, after set_default_verify_paths. - Release lifecycle_mutex before start()'s connect wait so stop() can cancel the attempt and signal completion instead of stalling the UI thread. Localization - Add OrcaFilesPanel.cpp to list.txt and regenerate the catalogs. ## Tests - Un-hide the loopback MockBroker integration tests (ephemeral port, no network) so ctest registers and runs them. - Mock broker tracks SUBSCRIBE/UNSUBSCRIBE and delivers push_report only to a subscribed topic; the reconnect test asserts the re-SUBSCRIBE. - Add bbl empty-tray cases, an AMS combo-alignment case, and unknowns assertions to the AMS sync tests.
151 lines
4.1 KiB
XML
151 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>English</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
|
|
<key>CFBundleGetInfoString</key>
|
|
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
|
|
<key>CFBundleIconFile</key>
|
|
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>com.orcaslicer.OrcaSlicer</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleLongVersionString</key>
|
|
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
|
|
<key>CFBundleName</key>
|
|
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>APPL</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
|
|
<key>CFBundleSignature</key>
|
|
<string>????</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
|
|
<key>ATSApplicationFontsPath</key>
|
|
<string>fonts/</string>
|
|
<key>CFBundleURLTypes</key>
|
|
<array>
|
|
<dict>
|
|
<key>CFBundleURLName</key>
|
|
<string>OrcaSlicer Downloads</string>
|
|
<key>CFBundleURLSchemes</key>
|
|
<array>
|
|
<string>orcaslicer</string>
|
|
</array>
|
|
</dict>
|
|
</array>
|
|
<key>CFBundleDocumentTypes</key>
|
|
<array>
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>stl</string>
|
|
<string>STL</string>
|
|
</array>
|
|
<key>CFBundleTypeIconFile</key>
|
|
<string>images/stl.icns</string>
|
|
<key>CFBundleTypeName</key>
|
|
<string>STL</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Viewer</string>
|
|
<key>LISsAppleDefaultForType</key>
|
|
<true/>
|
|
<key>LSHandlerRank</key>
|
|
<string>Alternate</string>
|
|
</dict>
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>obj</string>
|
|
<string>OBJ</string>
|
|
</array>
|
|
<key>CFBundleTypeIconFile</key>
|
|
<string>images/OrcaSlicer.icns</string>
|
|
<key>CFBundleTypeName</key>
|
|
<string>STL</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Viewer</string>
|
|
<key>LISsAppleDefaultForType</key>
|
|
<true/>
|
|
<key>LSHandlerRank</key>
|
|
<string>Alternate</string>
|
|
</dict>
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>amf</string>
|
|
<string>AMF</string>
|
|
</array>
|
|
<key>CFBundleTypeIconFile</key>
|
|
<string>images/OrcaSlicer.icns</string>
|
|
<key>CFBundleTypeName</key>
|
|
<string>AMF</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Viewer</string>
|
|
<key>LISsAppleDefaultForType</key>
|
|
<true/>
|
|
<key>LSHandlerRank</key>
|
|
<string>Alternate</string>
|
|
</dict>
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>3mf</string>
|
|
<string>3MF</string>
|
|
</array>
|
|
<key>CFBundleTypeIconFile</key>
|
|
<string>images/OrcaSlicer.icns</string>
|
|
<key>CFBundleTypeName</key>
|
|
<string>3MF</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Viewer</string>
|
|
<key>LISsAppleDefaultForType</key>
|
|
<true/>
|
|
<key>LSHandlerRank</key>
|
|
<string>Alternate</string>
|
|
</dict>
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>gcode</string>
|
|
<string>GCODE</string>
|
|
</array>
|
|
<key>CFBundleTypeIconFile</key>
|
|
<string>images/gcode.icns</string>
|
|
<key>CFBundleTypeName</key>
|
|
<string>GCODE</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Viewer</string>
|
|
<key>LISsAppleDefaultForType</key>
|
|
<true/>
|
|
<key>LSHandlerRank</key>
|
|
<string>Alternate</string>
|
|
</dict>
|
|
</array>
|
|
<key>CSResourcesFileMapped</key>
|
|
<true/>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
|
|
<key>NSLocalNetworkUsageDescription</key>
|
|
<string>OrcaSlicer uses your local network to discover and connect to printers.</string>
|
|
<key>NSBonjourServices</key>
|
|
<array>
|
|
<string>_octoprint._tcp</string>
|
|
<string>_http._tcp</string>
|
|
</array>
|
|
<key>NSAppTransportSecurity</key>
|
|
<dict>
|
|
<!-- Disable App Transport Security. Resolves https://github.com/OrcaSlicer/OrcaSlicer/issues/791 -->
|
|
<key>NSAllowsArbitraryLoads</key>
|
|
<true/>
|
|
<key>NSAllowsArbitraryLoadsInWebContent</key>
|
|
<true/>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|