Skip to content

Tags: PADL/SwiftOCA

Tags

0.7.5

Toggle 0.7.5's commit message
fix socket FD leak during reconnection in IORing connection backends

Release existing IORing socket (via deinit) before creating a new one
during reconnection retries. For domain socket connections, also unlink
the previous bound address.

Amp-Thread-ID: https://ampcode.com/threads/T-019d79df-4af5-74b0-8f9b-7fedda28d5e6
Co-authored-by: Amp <[email protected]>

0.7.0

Toggle 0.7.0's commit message
refactor OCABrowser and SwiftOCAUI for connection broker, block navig…

…ation, and view fixes

OCABrowser:
- Use OcaConnectionBroker for device discovery on both macOS and iOS
- Show device list in NavigationSplitView sidebar with protocol type
- Remove macOS-only BonjourBrowser and File menu device selection

SwiftOCAUI block navigation:
- Rewrite OcaBlockNavigationSplitView with drill-down sidebar navigation
- Leaf-only blocks show all members in a grid (max 4 columns) in detail
- Blocks with sub-blocks drill down via selection in sidebar

View dispatch fixes:
- Move OcaViewRepresentable conformances to DetailView.swift to ensure
  protocol conformance metadata is linked (static library stripping fix)
- OcaDetailView uses already-resolved objects directly instead of
  re-resolving, preserving dynamic type information
- Remove stale Combine imports

Actuator/sensor view fixes:
- Fix BoundedProperty._setValue to accept both OcaBoundedPropertyValue<V>
  and raw V types, fixing gain/slider commands not reaching the device
- Remove Combine-based debounce from VariableSliderView for immediate
  slider tracking during drag
- Remove .id(value.value) from LogSliderView that was destroying the
  slider on every value change
- Add minHeight to LogSliderView for proper vertical fader sizing

Level meter:
- Rewrite OcaLevelSensorView as vertical bar graph with PPM ballistics
- 10ms EMA attack, 14 dB/s linear decay (matching inferno_ui)
- Color-coded segments: green/yellow/orange/red
- dBFS scale markings

0.6.0

Toggle 0.6.0's commit message
don't infer addImageData() asynchronous nature automatically

instead, make it a function parameter (with a default value of true). not all
devices can handle out-of-order updates.

0.5.0

Toggle 0.5.0's commit message
make sendMessages, rather than sendMessage, mandatory to implement

0.4.5

Toggle 0.4.5's commit message
cache device property method IDs

0.4.1

Toggle 0.4.1's commit message
Revert "make device-side locking functions public"

This reverts commit 07cb5d2.

0.4.0

Toggle 0.4.0's commit message
dion't use @_alwaysEmitIntoClient on any platform, crashes with 6.1-dev

0.3.5

Toggle 0.3.5's commit message
add OcaTemperatureSensor

0.3.0

Toggle 0.3.0's commit message
move connection objectWillChance() into _updateConnectionState()

0.2.6

Toggle 0.2.6's commit message
switch back to main branch of FlyingFox