Commit Graph
55 Commits
Author SHA1 Message Date
Tomás Romero e2842fb5ca chore: merge main 2026-11-02 15:28:31 +01:00
springmin 496f51ca02 ci: lint the OHOS workspace with clippy
Add a -D warnings clippy gate to the build-only OpenHarmony workflow. Verified locally against the current platform workspace.
2026-11-01 08:12:46 +08:00
Tomás Romero c5309f590f fix: create the default keyring when a session has none 2026-10-31 19:26:01 +01:00
Tomás Romero 78a75831a0 chore: audit the OpenHarmony lockfile daily 2026-10-31 16:43:15 +01:00
springmin 4845e4fbe4 ohos: address final platform review fixes
Keep the wheel axis step from cancelling the system scroll setting, validate present buffer stride and bounds before copying, and harden the PDFium source workflow with dispatch-only triggers, pinned actions and a checksum-verified SDK download.
2026-10-31 06:45:13 +08:00
springmin 6914dc2040 pdfium: add the user-permissions compatibility symbol
The source port exposes FPDF_GetDocPermissions with user semantics but no separate FPDF_GetDocUserPermissions symbol required by pdfium-render 0.9.4. Apply a pinned source patch that adds the compatibility entry point, and rebuild the CI artifact.
2026-10-28 22:43:28 +08:00
springmin dfcc2d780f ci: package PDFium component-build libraries
The OHOS port's default GN configuration is a component build and emits libpdfium.cr.so plus sibling .cr.so dependencies. Stage all component libraries beside a stable libpdfium.so and upload/checksum the complete set.
2026-10-28 22:43:28 +08:00
springmin 70b0c9dbf7 ci: default the PDFium revision on push events
workflow_dispatch inputs are empty for the temporary push trigger; fall back to the pinned source revision instead of passing an empty pathspec to git fetch.
2026-10-28 22:43:28 +08:00
springmin 54097b8f78 ci: allow the fork PDFium build to run from its feature branch
GitHub registers workflow_dispatch only on the default branch. Add a narrow push trigger for the PDFium source branch so the first build can run from the fork before promoting the workflow.
2026-10-28 22:43:28 +08:00
springmin cce49a7723 ci: build OHOS PDFium from a pinned source revision
Add a fork-only manual workflow that runs on a Linux x86_64 GitHub-hosted runner, installs the public OHOS SDK, builds the pinned OHOS PDFium source tree, strips the library and uploads the artifact with its license and checksum. No signing material is used.
2026-10-28 22:43:28 +08:00
springmin 197eb1e0f0 build: drop the vendored fontique patch
fontique 0.11.1 already supports fontconfig-dlopen, which leaves an empty system collection when Fontconfig is absent. OHOS registers /system/fonts explicitly, so the local fontique copy, patch queue and quality verification are no longer needed; use the crates.io package and keep the lockfile pinned.
2026-10-28 19:17:59 +08:00
springmin dc26e3df49 ci: make the OHOS workflow build-only
Remove the signing input and the GITHUB_ENV/command-line secret path. CI now always builds an unsigned hap; release signing remains a local explicit step.
2026-10-27 09:16:49 +08:00
Tomás Romero 95ff8882eb Merge branch 'main' into ohos-alias 2026-10-24 23:01:38 +02:00
Tomás Romero a207c25fc1 feat: add app icon variants 2026-10-24 19:05:52 +02:00
Tomás Romero dd276ff8c2 fix: use the core Wayland clipboard protocol 2026-10-24 03:20:46 +02:00
springmin 8861d4b7f2 ohos: add the OpenHarmony platform host
Tier-3 community port (maintainer: springmin), rebased onto the merged
document-provider abstraction (#84) and the opener seam (#80).

- platform/ohos: Slint backend (XComponent window adapter, software renderer
  with the experimental femtovg/wgpu path, input/IME, clipboard, system
  fonts), the NAPI cdylib that builds a PlatformContext (app-private paths,
  DocumentProvider over the ArkTS pickers, Asset Store credential store,
  loopback OAuth broker, external URL opener, notification publisher) and
  calls flectar_mail::run, the demo crate, the ArkTS shell and the build and
  packaging scripts (bundle name configurable, defaults to
  com.flectar.mail_ohos).
- src/platform/ohos.rs: PDFium directory, renderer name, thread priority,
  preview lifecycle, email font directory; OpenHarmony stays under the
  mobile capability alias.
- patches/fontique + crates/fontique: the Fontconfig opt-out as a patch queue
  applied by the platform/ohos workspace, verified from quality.yml.
- .github/workflows/ohos.yml: manually dispatched tier-3 workflow, unsigned by
  default, signing material only from the FLECTAR_OHOS_* secrets.
- src/documents.rs: run_request blocks the calling thread on mobile hosts;
  the picker covers the window, and keeping the presentation thread idle is
  what OpenHarmony needs (verified on device; desktop keeps the runtime
  request for the native dialog).
- The email renderer and the compose editor load platform::email_font_dir()
  and the Han fallback, so CJK mail bodies and composed text render with the
  platform fonts.
- New-mail notifications: a publisher seam fed by CoreEvent::MailNew; the host
  publishes through @kit.NotificationKit.
2026-10-23 08:42:42 +08:00
Tomás Romero d5ea80b294 Merge main into Android signing branch 2026-10-20 21:19:09 +02:00
Tomás Romero eaa75d7e44 fix(android): share signing identity across all release channels 2026-10-20 21:18:42 +02:00
Tomás Romero bf6c74d41c fix(android): preserve signing identity across alpha releases 2026-10-20 14:24:11 +02:00
Tomás Romero a684ac8147 fix: build and validate RPMs for Fedora 43 and 44 2026-10-19 16:46:33 +02:00
Tomás Romero a4b615e2a1 chore: fix dependency audit 2026-10-18 01:36:59 +02:00
Tomás Romero 7c32f04056 chore: fix security and translation checks 2026-10-16 19:24:17 +02:00
Tomás Romero 2d4a620321 chore: lint every platform in CI 2026-10-16 16:04:13 +02:00
Tomás Romero ddf2ce63b3 chore: validate Android OAuth configuration 2026-10-13 21:03:18 +00:00
Tomás Romero 19d449ca39 chore: fix Android native callback loading 2026-10-13 20:48:15 +00:00
Tomás Romero f605115a25 chore: upgrade Blitz to v0.3.0-beta.3 2026-10-12 16:55:13 +00:00
Tomás Romero bc0f966846 fix: validate Android release lockfile 2026-10-08 18:18:26 +00:00
Tomás Romero 2a13a69bff chore: add Russian translations 2026-10-08 15:37:37 +00:00
Tomás Romero 981b8c85d4 perf: reduce mailbox refresh allocations 2026-09-25 14:12:26 +00:00
Tomás Romero 5d57496e7e chore: upgrade Slint to 1.18.1 2026-09-25 12:15:31 +00:00
Tomás Romero 9dc3d87dd4 docs: remove contributor license agreement 2026-09-20 20:42:52 +00:00
Tomás Romero 9f4636a83f chore: upgrade slint 2026-09-17 20:06:43 +00:00
Tomás Romero 9e2deea8d0 chore: use lucide icons 2026-09-16 02:26:33 +00:00
Tomás Romero c45ab95e1b fix: classify emoji presentation 2026-09-15 23:21:52 +00:00
Tomás Romero 95c8bfda6e chore: support intel macs 2026-09-13 19:21:49 +00:00
Tomás Romero b1d09a002b chore: include GPU renderer in desktop builds 2026-09-13 19:21:49 +00:00
Tomás Romero 7a6deb7e2f fix: avoid Windows license path collision 2026-09-11 23:42:43 +00:00
Tomás Romero 7827234404 fix: package PDFium in macOS Frameworks 2026-09-11 21:32:07 +00:00
Tomás Romero a2f667f4e8 fix: complete packaged tray translation 2026-09-11 02:42:07 +00:00
Tomás Romero 44cde4e86e ci: verify Linux packages on packaging changes 2026-09-11 02:24:01 +00:00
Tomás Romero dabdda0e41 build: publish RPM and Flatpak preview packages 2026-09-11 02:16:24 +00:00
Tomás Romero b7e3f065eb chore: reuse linux release build 2026-09-10 23:34:45 +00:00
Tomás Romero 38e6cf74f4 chore: cache cargo audit 2026-09-10 23:34:42 +00:00
Tomás Romero 8b30d8efd9 chore: update quality checks 2026-09-10 18:58:39 +00:00
Tomás Romero 4a32a2c4f2 chore: update native packaging 2026-09-10 18:58:39 +00:00
Tomás Romero 4bc7f7adc3 fix: use source date for release metadata 2026-09-08 20:54:41 +00:00
Tomás Romero 9654ca8a13 fix: stamp linux release metadata 2026-09-08 20:43:56 +00:00
Tomás Romero a566a9c26a chore: add local release checks 2026-09-08 19:19:53 +00:00
Tomás Romero ffaec8fdf2 chore: prepare alpha 2 2026-09-08 15:16:39 +00:00
Tomás Romero 8c3bfbb5c3 fix: build release artifacts 2026-09-08 15:04:21 +00:00