material_symbols_icons ships whole icon fonts and relies on Flutter's
icon tree shaker, which left 334 KB of the Rounded font in the APK.
third_party/mornye_symbols holds that font cut down to the 253 symbols
lib/theme/material_symbols.dart names, with the upstream code points
and the FILL and opsz axes; it takes 71 KB in the APK.
scripts/optimize_fonts.py regenerates the package from the upstream
one after an icon is added.
flutter gen-l10n wrote a class for each of the 21 ARB files, and every
class repeated the English text of each message its language has not
translated. The app only offers the 13 languages of
supported_locales.dart.
scripts/gen_l10n.dart writes those 13 only. Each language class extends
the English one and overrides just the messages whose text differs, and
the bare es, pt and zh classes are left out where only a country
variant ships. For the 13 languages every message resolves to the same
text as before (compared across all 2989 messages).
Flutter no longer generates the files: l10n.yaml is gone and pubspec
sets generate: false, because a root l10n.yaml makes every build run
Flutter's own generator. Run `dart scripts/gen_l10n.dart` after ARB
changes and once in a new checkout; build_android.sh does it too. The
script also drops the records of earlier Flutter-generated outputs from
.dart_tool, which made the next build delete the files as stale.
locale_config.xml lists the same 13 languages for Android's per-app
language setting. The Arabic layout test brings its own delegate, as
the app ships no right-to-left language. build_android.sh also passes
MORNYE_MOBILE, which a later commit reads.
The move to 3.50.0 left the backport pinned to 3.47.9, so the SDK
preparation step refused the new pin and builds ran without the fix.
3.50.0 still lacks the ancestor-cache refresh: the regression test fails
on the unpatched SDK.
Lyrics in other alphabets now show how they are sung without an AI key
or a network: Korean (Revised Romanization with liaison,
nasalization, lateralization, aspiration and palatalization), Cyrillic
with one standard per language (Russian, Ukrainian, Belarusian,
Bulgarian, Serbian, Macedonian, Kyrgyz, picked from the letters of the
song), Hindi and Punjabi in the plain lyrics spelling with dropped
inherent vowels, Chinese Hanyu Pinyin with phrase readings for
polyphones, and Japanese kana by Hepburn.
Japanese lines with kanji are not romanized offline: a reading
dictionary does not fit the size budget. Those lines, and scripts the
device cannot romanize (Thai, Arabic and others), are what an AI
translation is asked to romanize when it is set up to; otherwise they
show no romanization. A translation no longer asks the AI to romanize
what the device can.
Pinyin comes from a 259 KB gzipped asset built by
scripts/build_pinyin_data.dart from Unihan (Unicode License v3) and
phrase-pinyin-data (MIT); both notices are in the app's licenses. It
loads on a background isolate the first time Chinese lyrics play.
Word-timed lines keep their timing: the line romanizes as a whole, so
sounds that run across words read right, and each word takes its own
part. The romanization is shown, never saved with the song.
Lyrics settings get Romanize lyrics (it starts as the AI romanization
switch was, so whoever turned that off is not shown romanization) and
Romanization as main line, which shows the romanized text as the line
with the original under it; a word-timed line whose romanization has no
timing keeps its original as the main line.
3.47.9 is a hotfix release that still lacks the semantics ancestor-cache
refresh, so the backport moves to the new pin unchanged; it applies
cleanly to the 3.47.9 source.
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.
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.
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.
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.
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.
Add architecture-specific CI jobs, native playback dependencies and bundle validation. Native Windows ARM64 compilation and runtime testing are still pending.
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.
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.
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.
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.
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.
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.
- 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.