Repository navigation
Conversation
* feat(ipados): treat iOS keyboard modifiers like macOS (Cmd shortcuts, shift-wheel) * feat(ipados): sandbox-aware import/export/save dialogs and fullscreen window * build(ipados): iOS Standalone-only CMake target with static ONNX Runtime xcframework * ci(ipados): add iPadOS compile workflow producing an unsigned IPA * fix(ipados): avoid unreachable window-geometry code on iOS * ci(ipados): build feature branches only through their pull request * feat(ipados): default UI language follows device language on first launch * feat(ipados): tell finger touches from pointer input and hide the mouse trail for fingers JUCE reports every iOS event as a touch. Observe UITouch.type with a passive per-window gesture recognizer (plus a hover recognizer) and opt in to UIApplicationSupportsIndirectInputEvents so trackpad/mouse clicks arrive as indirect pointer touches. The mouse trail is drawn only for pointer input. * fix(ipados): present UIDocumentPickerViewController directly for imports juce::FileChooser on iOS routes picks through NSFileCoordinator and silently drops the callback on a coordination error, leaving import stuck on the picker. Open audio as copies and move them into Documents/Imported; open projects in place with security-scoped access. * feat(ipados): finger gestures in the piano roll Finger input only (mouse, trackpad and Pencil keep the desktop behaviour): - drag on empty space pans the view in both axes - double tap on empty space toggles play/pause - two-finger pinch zooms the time axis, the pitch axis, or both, depending on the angle between the fingers; the midpoint pans - dragging a note still corrects pitch; taps still move the playhead * feat(ipados): long-press a track header to open the track menu Touch long press (500 ms, cancelled by >10 px movement) opens the same menu as right-click: add, duplicate, colour, delete. The menu is placed beside the finger with taller items so lifting the finger cannot pick an item. * fix(ipados): show the numeric keyboard when editing BPM The BPM field is self-drawn and not a TextInputTarget, so iOS never raised the soft keyboard. On iOS, tapping the value overlays a TextEditor with the decimal keyboard; Return or tapping away commits, Escape cancels. * feat(ipados): show a 2-second label when a top-bar button is touched juce::TooltipWindow ignores touch input, so iPad users never saw what the toolbar icons do. TopBarComponent now shows the touched control's tooltip in a bubble below it for 2 s (longer while held), then fades it out. The side-panel toggles and play/pause are excluded. * ci(ipados): configurable runner defaulting to macos-15-intel; check indirect-input plist key * fix(ipados): silence switch-enum and init-capture shadow warnings in the iOS code * fix(ipados): keep the touch label beneath open popup menus The label was a front-most child of the editor while menus are children of the editor's content root, so it covered the File/Edit/View menus. Put it in the same container and keep it behind any modal sibling. * fix(ipados): rename picker init-capture to avoid shadow warning ---------
Finger input only: a tap on empty space still seeks and clears the selection (now on release), a drag on empty space pans both axes, a double tap toggles play/pause, and a two-finger pinch zooms the time axis and/or the track height by finger angle. Clips, edges and the ruler keep their existing touch behaviour.
On iOS, Open Project lists the .otproj files under the app's Documents (newest first) instead of going straight to the system picker; Browse Files... remains as a fallback. The project type is now declared in Info.plist so the picker recognises .otproj, and project media folders are dot-prefixed so the Files app hides them.
juce::PopupMenu opens a submenu only after the pointer rests on its item for ~100 ms, so a finger tap never opened it. On iOS a global touch listener invokes the item's accessibility showMenu action when a submenu item is tapped.
After naming the export, iOS asks whether to keep it in the OpenTune Exports folder or choose a location in Files; the latter renders into Exports and then moves the file with the system export picker (cancel keeps it in Exports).
Matches the track header's long-press menu; mouse/trackpad menus keep the compact desktop height.
TouchTooltipPresenter gains a long-press trigger, multi-line layout and a touch-only text property; labels now fade 2 s after release. The Tune-mode cursor tool reminds users to switch back to it after editing notes.
JUCE aligns the helper calls in its configuration-sequence test, so the pinned source has seven spaces before (manager) and the four-space anchor never matched; every dependency fetch failed on macOS, Windows and iPadOS.
…out.md about.md is embedded as binary data in every build (standalone and plugins). Headings (#, ##), text and [label](url) links are rendered in the app theme; links appear as buttons and open in the default browser without showing the address.
…otproj that references it
… keeps them; overridable bundle ID and build number
…drawer swallow a new one
ROOT is derived from the script directory, so from scripts/ it walks up one level. The Xcode build dir, cmake -S, and the dependency fetchers still target the repository root.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
iPad 版补上首次运行的演示工程和引导,帮助里的网页改在应用内打开,并增加一个在 Mac 上生成可签名 Xcode 工程的脚本。现有的
ipados.yml打包流程没有改。演示工程
assets里的 wav 打进应用包的Demo/Demo.wav,不复制到用户目录。Documents/Projects/Demo.otproj生成工程。工程里的relativeMediaPath写成从工程目录指向包内音频的相对路径。.Demo_Media的工程不动。0/0,点掉提示前不消失)→ 右侧工具长按可看用法 → 结束。帮助
Xcode / App Store
./makeXcodeProject.sh。脚本下载依赖,并在Build/ipados-xcode/(已 gitignore)生成工程。