50 Commits
Author SHA1 Message Date
zarzet d8796a5203 fix(windows): build without the ATL component and find Inno Setup (#764)
flutter_local_notifications_windows and flutter_secure_storage_windows use
only CW2A and CA2W from ATL, an optional Visual Studio component. When
CMake cannot find atlbase.h, those two plugins get a minimal stand-in with
the same thread code page default and null handling; the real ATL is used
whenever it is installed.

package_windows.ps1 looks for ISCC.exe in PATH, the per-user install and
both Program Files folders, and explains how to install Inno Setup instead
of installing it with Chocolatey.

Contributed by Rohit in #764, reworked so the shim never replaces an
installed ATL and without the audioplayers coroutine flags.
2026-11-04 16:11:23 +07:00
zarzet 22a2abaca0 fix(about): restore Git commit in direct mobile builds
Supply GIT_COMMIT from Android Gradle and the iOS Flutter build phase so the existing About footer displays the revision without manual build flags. Preserve explicit defines and source archive builds.

Validation: 19 targeted tests passed, Android compiler define forwarding checked with automatic and explicit revisions, ShellCheck and Xcode project syntax checks passed, git diff --check clean.
2026-10-31 23:50:21 +07:00
zarzet a73f63772d chore(deps): update Flutter, native and Rust dependencies 2026-10-30 01:29:33 +07:00
zarzet 1f12076765 feat(search): recognize songs playing nearby
A microphone button in the empty search field listens to the room and
names the song, on phones and desktop.

- The audio fingerprint and the Shazam request run in Rust behind a new
  recognize_song data job, so every platform shares one path.
- Listening sends the audio so far at 4, 8 and 12 seconds and stops at
  the first match; quiet or short clips are reported instead of sent.
- A match can be played from the library (by ISRC, then title and
  artist), searched in Mornye, or opened in Shazam. Recent matches are
  kept in a local history.
- Android asks for the microphone only when listening starts; iOS and
  macOS gain the microphone usage description and entitlement. The Linux
  package recommends pulseaudio-utils for capture.
2026-10-26 01:33:56 +07:00
zarzet e0ab3c10ca merge: integrate reviewed Windows and extension fixes 2026-10-25 23:19:03 +07:00
zarzet c90ec6478a fix(windows): exclude x64 exception runtime from ARM64 bundles 2026-10-25 22:52:19 +07:00
zarzet d9c5c52ed8 fix(build): name the macOS SDK for Rust C code built inside Xcode
The embed phase clears SDKROOT, and inside Xcode cc is the toolchain
clang, which finds no SDK without it. ring (TLS for Mornye Link) then
failed on TargetConditionals.h. The desktop build now sets SDKROOT from
xcrun when unset, which also keeps Xcode and command line builds on one
Cargo cache.
2026-10-25 04:01:54 +07:00
zarzet 753ab00006 ci(windows): prepare verified SignPath release signing 2026-10-25 00:52:41 +07:00
Illyasvelovna d14a2d7272 fix(windows): bundle the Visual C++ runtime next to mornye.exe
mornye.exe and mornye_desktop.dll import VCRUNTIME140.dll,
VCRUNTIME140_1.dll and MSVCP140.dll, but neither the installer nor the
portable zip ships them, so the app does not start on PCs without the
Visual C++ Redistributable. Install them app-local with CMake's
InstallRequiredSystemLibraries, and make check_windows_bundle.ps1
require them so CI catches a regression.
2026-10-24 05:21:20 -06:00
zarzet b26af322b4 chore(desktop): build macOS FFmpeg with Opus 1.6.1 and NASM 3.02 2026-10-24 12:12:27 +07:00
zarzet d8a54db106 fix(flutter): backport semantics geometry crash fix 2026-10-23 13:49:43 +07:00
zarzet 104b8a8491 chore(license): adopt LGPL-3.0-only for Mornye 2026-10-22 23:11:09 +07:00
zarzet 8f553c7aa3 feat(windows): prepare native ARM64 builds and packages
Add architecture-specific CI jobs, native playback dependencies and bundle validation. Native Windows ARM64 compilation and runtime testing are still pending.
2026-10-22 23:10:34 +07:00
zarzet 4a3805a50e build(desktop): move bundled FFmpeg to 9.0
macOS builds FFmpeg 9.0.2 from the signed release tarball; Linux and
Windows take BtbN's n9.0 LGPL builds. The configure options and encoder
list are unchanged and all still exist in 9.0.
2026-10-21 15:28:32 +07:00
zarzet 3c7edf6f24 chore(branding): point links and packaging at mornyeapp/Mornye
The repository moved to mornyeapp/Mornye, so the GitHub links in the
app, README, contributing guide, issue templates, changelog config,
AltStore source and Linux and Windows packaging now use it. The remote
config endpoint keeps its old server name.
2026-10-21 11:34:39 +07:00
zarzet b6c996efee fix(desktop): let macOS and Linux pick library folders
The macOS file picker checks the user-selected files entitlement even
outside the sandbox and silently returned nothing without it. Linux
reaches the picker through the desktop portal, so the package recommends
xdg-desktop-portal and the settings page reports a picker failure
instead of doing nothing.
2026-10-21 02:21:37 +07:00
zarzet f3c05dfbe4 build(macos): sign with a stable self-signed identity when available
Ad hoc signatures change on every build, so macOS asks for the keychain
password again after each rebuild or update. A self-signed certificate keeps
the designated requirement stable; Gatekeeper behavior is unchanged.
2026-10-20 17:04:56 +07:00
zarzet dbb59e7ae5 build(desktop): bundle the staged ffmpeg and ffprobe in desktop apps
An Xcode "Embed FFmpeg" phase copies build/ffmpeg/macos-universal (or
the host architecture) into Contents/Resources/ffmpeg and signs the
tools; MORNYE_REQUIRE_FFMPEG=1 turns a missing stage into an error.
Linux installs them into lib/ffmpeg and Windows into ffmpeg\, warning
when nothing is staged. A macOS integration test converts and probes
with the bundled tools.
2026-10-20 16:13:08 +07:00
zarzet c819120061 build(ffmpeg): build a universal LGPL FFmpeg with soxr for macOS
Build arm64 and x86_64 from pinned sources and merge them with lipo
(macos-universal). Add the SoX Resampler (the conversion settings offer
soxr) and a host NASM for the x86 assembly, limit encoders to the ones
the app requests, drop avdevice, and record the configure lines in
SOURCE.txt. The license check now also requires libsoxr and, on macOS,
rejects links to non-system libraries.
2026-10-20 16:13:08 +07:00
zarzet 767edb376a build(packaging): add dmg, AppImage, deb and Inno Setup packaging
- scripts/package_macos_dmg.sh: ad hoc signs the release app inside out
  (keeping its entitlements), builds a compressed dmg with an Applications
  symlink, then mounts it read-only and checks the signature and the
  universal slices.
- scripts/package_linux.sh: AppImage (pinned appimagetool 1.9.1 and type2
  runtime, checked by SHA-256) and deb (dpkg-shlibdeps Depends with a fixed
  fallback) from the Flutter bundle, installed under usr/lib/mornye.
- linux/packaging: desktop entry registering x-scheme-handler/mornye,
  AppStream metainfo and 128/256 px icons.
- windows/installer/mornye.iss and scripts/package_windows.ps1: per-user
  Inno Setup installer in %LOCALAPPDATA%\Programs\Mornye with Start Menu
  and optional desktop shortcuts (AppUserModelID com.zarz.mornye), the
  HKCU mornye:// protocol, closing a running app on upgrade and a
  /RELAUNCH=1 switch for silent updates, plus a portable zip.
2026-10-20 15:07:31 +07:00
zarzet f4c0a78d4c Merge branch 'desktop/d8-ffmpeg' 2026-10-20 14:40:39 +07:00
zarzet e0669f7c12 build(desktop): add script to stage LGPL ffmpeg and ffprobe
Downloads BtbN LGPL builds for Linux and Windows with checksum checks and
builds FFmpeg, LAME and Opus from pinned sources on macOS. Documents the
bundle locations the app searches and rejects GPL or nonfree builds.
2026-10-20 14:36:18 +07:00
zarzet 5d369a2628 build(desktop): install the Rust library in the Linux and Windows bundles
Linux installs libmornye_desktop.so into the bundle's lib/ directory and
Windows installs mornye_desktop.dll next to mornye.exe. Both fail at
configure time with a clear message when the library was not built.
Add scripts/build_rust_backend_windows.ps1 as the Windows counterpart of
`build_rust_backend.sh desktop`, replacing the commented commands.
2026-10-20 14:27:17 +07:00
zarzet dd513d8f63 build(desktop): bundle the Rust library into the macOS app
Add an "Embed Rust Backend" Run Script phase to the Runner target. It
builds libmornye_desktop.dylib with build_rust_backend.sh when the staged
copy is missing or older than the Rust sources, copies it into
Contents/Frameworks and signs it (ad hoc unless an identity is set), so
the app loads the backend without MORNYE_DESKTOP_LIB.
MORNYE_SKIP_RUST_BUILD=1 embeds a prebuilt staged library as is.
2026-10-20 14:26:50 +07:00
zarzet 40f6f0b346 build(desktop): stage the desktop library from build_rust_backend.sh
Add a desktop mode that builds mornye-desktop for the host: a universal
macOS dylib (arm64 and x86_64, install name @rpath, ad hoc signed) or the
Linux shared library, staged under rust_backend/target/desktop/<os>/.
Document the intended Windows commands and the new crate in the README.
2026-10-20 13:45:43 +07:00
zarzet 51d3459426 chore(branding): drop remaining SpotiFLAC references
Remove the original SpotiFLAC creator and PC source links from About,
point docs links and podspec homepages at mornye.com, drop stale
SpotiFLAC build artifact cleanup, and rename incidental test data.
Legacy compatibility (backup magic, lyrics provider id, extension
suffix, signed session protocol) is kept so old data still loads.
2026-10-20 12:27:29 +07:00
zarzet 37e21b5712 feat(branding): rename app and native backend to Mornye
Rename the Dart package, Android and iOS identifiers, Rust crates, native libraries, and Discord plugin. Preserve legacy data readers and compatibility aliases.

Update localized branding, documentation, artwork, build tooling, and release artifacts. Route Telegram release notifications to @mornyeupdates and link @mornyecommunity.
2026-10-20 12:00:44 +07:00
zarzet 43f7257d3d docs(rust): say that Go is the retired backend in crate docs
Rust is the only backend and routes the app on Android and iOS. Rewrite
the migration-era crate, script and comment wording that implied Go still
runs, and note in each crate doc that Go mentions describe the retired
backend whose observable behavior remains a compatibility contract.
2026-10-18 22:02:52 +07:00
zarzet 9063104799 chore: retire Go-era config and rename SMB fixture servers
Drop the gomod renovate rule, the stray em dash in crowdin.yml and the migration wording in check_rust_backend.sh. Rename the SMB fixture servers so test_*.py discovery no longer implies unit tests, and describe supported_locales.dart as hand-maintained since its generator never existed.
2026-10-18 22:01:32 +07:00
zarzet ef903248c0 feat(network): delete SMB and WebDAV tracks from the library 2026-10-11 16:14:01 +07:00
zarzet d611590039 chore(android): update Gradle Kotlin NDK and native build dependencies 2026-10-11 14:33:52 +07:00
zarzet 5caa2ed588 chore(flutter): update SDK and packages with glass and navigation compatibility 2026-10-11 14:32:03 +07:00
zarzet 9f2062d495 build(android): verify full APK integrity and publish checksums 2026-10-08 23:54:24 +07:00
zarzet f61e815e24 perf(android): trim platform assets and release Dart symbols 2026-10-06 21:58:55 +07:00
zarzet b8c50b1527 perf(android): reduce release APK size
Keep Dart debug data outside libapp.so and archive matching symbols and R8 mappings in CI. Pack native relocations, preserve JNI exports, and recompress PNG assets losslessly.

ARM64 APK shrinks from 80,306,680 to 76,080,247 bytes (5.26%). Verified with 1,877 Flutter tests, 19 native device tests, Discord SDK integration, and release startup on a 16 KiB Android emulator.
2026-10-06 15:22:42 +07:00
zarzet 3191ff926f ci: provision pinned Discord SDK for Android and iOS 2026-10-04 02:12:44 +07:00
zarzet 9c0b22e2c8 feat(build): require Discord in production and keep Lite opt-in 2026-10-04 01:40:54 +07:00
zarzet 541bfc4002 perf(media): shrink FFmpeg while preserving HTTPS motion artwork 2026-10-04 01:35:48 +07:00
zarzet 84cac92983 feat(network): add SMB and WebDAV libraries with streaming and uploads 2026-10-03 04:27:47 +07:00
zarzet 0b2cf0e4e5 feat(discord): add opt-in mobile rich presence with track artwork 2026-10-03 02:14:11 +07:00
zarzet 728d179d69 refactor(discord): remove rich presence and bundled SDK
Remove the presence setting, platform bridge, SDK archive, and SDK preparation from local and CI builds. Reject leftover Discord native libraries in release APK audits.
2026-09-26 03:07:04 +07:00
zarzet 64f76293ec fix(android): bundle Discord SDK in local and CI releases 2026-09-26 02:02:49 +07:00
zarzet 1d53609b51 fix(android): avoid blocked statx probes on legacy ARM32 devices
Vendor the pinned Rustix package with an Android-only weak libc lookup so missing statx returns ENOSYS and uses the existing stat64 fallback. Add an isolated Android smoke test with a hidden symbol and a seccomp filter that kills raw statx probes.

Verified 177 workspace tests, host Clippy, and ARM64 Android sandbox smoke test. ARM32 cross-target Clippy passes with the existing needless_return warning in binary.rs exempted; physical Android 10 ARM32 validation remains required.
2026-09-25 17:24:54 +07:00
zarzet 1e3414b3d0 fix(ci): audit stripped iOS archives and configure FFmpeg tests 2026-09-23 22:59:44 +07:00
zarzet 3e50dd75d6 chore(rust): update crypto, network and UniFFI dependencies 2026-09-17 02:59:14 +07:00
zarzet aa99726439 feat(backend): migrate production backend to Rust
Replace the Go backend with the Rust workspace and route Android/iOS through
UniFFI bindings. Include the migrated extension runtime, network, providers,
media metadata, downloads and library operations, with version 5.0.0+147.

Remove Go sources, adapters, native build selection and CI dependencies.
Build Rust unconditionally and lock the iOS Rust pod using a relative path.
Retain legacy source and migration evidence in a local ignored archive.

Validation: Android Kotlin compile and 53 native tests; Swift Rust-branch
equivalence and syntax; CocoaPods install; workflow, shell, Ruby, plist and
diff checks. Reuse the preceding 100 Rust tests, fmt/Clippy and five-ABI
build checkpoint; no new APK or iOS application build for this cleanup.

Known follow-up: URL/URLSearchParams globals are missing from the Rust JS
runtime. A controlled extension replay confirms a URL-resolution regression;
this commit does not fix that runtime gap.
2026-09-14 22:58:27 +07:00
zarzet 4b7e731474 feat(about): show compiled short Git commit 2026-09-06 14:54:35 +07:00
zarzet 0290ab7151 fix(ci): standardize Android ARM release build 2026-08-30 12:06:04 +07:00
zarzet 834a8dde89 chore(repo): improve contributor experience 2026-07-29 14:16:10 +07:00
zarzet 3fdcf6d5b7 Initial commit: SpotiFLAC Android/iOS app 2026-01-01 19:28:15 +07:00