Commit Graph
779 Commits
Author SHA1 Message Date
Tomás Romero adab2a654e fix: run folder pickers on the runtime 2026-11-02 17:44:14 +01:00
Tomás Romero ec1db861de Merge pull request #160 from flectar/iamdarkle/keyring
fix: handle a missing Linux keyring
2026-11-02 17:04:37 +01:00
Tomás Romero 48ab0d677c Merge pull request #167 from flectar/security-pulldown-cmark-0.13.6
fix: update pulldown-cmark for RUSTSEC-2026-0433
2026-11-02 17:03:09 +01:00
Tomás Romero 79815c3e3e fix: update pulldown-cmark for RUSTSEC-2026-0433 2026-11-02 15:33:04 +01:00
Tomás Romero e25337ce40 chore: update the OpenHarmony lockfile 2026-11-02 15:29:03 +01:00
Tomás Romero e2842fb5ca chore: merge main 2026-11-02 15:28:31 +01:00
Tomás Romero 917ebd1f84 Merge pull request #161 from flectar/iamdarkle/list-openharmony-port
docs: list the OpenHarmony port
2026-11-01 14:33:58 +01:00
Tomás Romero dabdb1b87f docs: list the OpenHarmony port 2026-11-01 13:40:57 +01:00
Tomás Romero c7c633264a Merge pull request #85 from springmin/ohos-alias
ohos: add the OpenHarmony platform host
2026-11-01 02:59: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 5c75aaedc0 docs: explain Linux keyring setup 2026-10-31 19:26:01 +01: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 3ec99b3369 fix: explain why the system keyring is unavailable 2026-10-31 19:25:53 +01:00
Tomás Romero 78a75831a0 chore: audit the OpenHarmony lockfile daily 2026-10-31 16:43:15 +01:00
Tomás Romero b07038b024 ohos: hide the app icon choice 2026-10-31 16:43:15 +01:00
Tomás Romero 34078cf3aa Merge pull request #158 from flectar/iamdarkle/generated-import-names
fix: store picked files under generated names
2026-10-31 14:31:26 +01:00
springmin f9ace0e1b1 ohos: support multi-select in the document picker
Expose pickOpenMany on the bridge, stage selected files as one JSON result, and implement DocumentProvider::import_many so compose attachments can import several files in one picker action.
2026-10-31 09:05:32 +08:00
Tomás Romero 2ed589680e ohos: alias the picker reply type 2026-10-31 01:48:16 +01:00
Tomás Romero 82589c6f07 chore: require every JNI callback export 2026-10-31 01:35:34 +01:00
Tomás Romero b50039c0d4 fix: keep picked names that contain slashes 2026-10-31 01:35:34 +01:00
Tomás Romero ec698c3e5f fix: store picked files under generated names 2026-10-31 01:35:34 +01:00
springmin 8335f7852e ohos: pass the original picker name through the attachment bridge
Carry the staged path and display name together from the ArkTS picker through the NAPI bridge. Keep the cache name random and only use the decoded original name as attachment metadata.
2026-10-31 06:50:22 +08:00
springmin 2f8dcb233c Merge remote-tracking branch 'origin/main' into ohos-alias 2026-10-31 06:50:12 +08:00
Tomás Romero 03ed0d3fb6 Merge pull request #151 from springmin/attachment-display-name
fix: keep picked file names
2026-10-30 23:45:19 +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 4d883dcd75 Merge remote-tracking branch 'origin/main' into ohos-alias 2026-10-31 06:28:38 +08:00
Tomás Romero 9d0b5c61c2 fix: name imported mail after the picked files 2026-10-30 22:59:30 +01:00
Tomás Romero 1b73fa004e fix: upload files under the picked name 2026-10-30 22:59:30 +01:00
Tomás Romero d8c80ddb8f fix: validate picked file names 2026-10-30 22:46:06 +01:00
Tomás Romero 1e1b7ca2ae Merge pull request #150 from springmin/certificate-document-provider
fix: import certificates through the document provider
2026-10-30 22:08:25 +01:00
Tomás Romero 4f6db624d8 Merge pull request #157 from flectar/iamdarkle/bug-error-downloading-attachments
fix: save files on filesystems without no-replace renames
2026-10-30 22:00:41 +01:00
Tomás Romero ef18e68e34 chore: drop the unused certificate paste message 2026-10-30 21:17:31 +01:00
Tomás Romero dcf21990c9 fix: save files on filesystems without no-replace renames 2026-10-30 21:09:48 +01:00
springmin da290d3232 chore: sync the OHOS lockfile with pulldown-cmark 0.13.5
Keep the nested OpenHarmony workspace on the patched dependency version after merging the root security update.
2026-10-29 11:15:30 +08:00
springmin 5d1e7b3053 Merge remote-tracking branch 'origin/main' into ohos-alias 2026-10-29 11:03:43 +08:00
springmin 9ad67dd572 fix: preserve the original picked attachment name
Hosts that stage imports under a random cache path can now attach the picker's display name without exposing the local path.
2026-10-29 05:53:59 +08:00
springmin bbec1d1d59 fix: import certificates through the document provider
Restore the shared provider flow so desktop, Android, iOS and OHOS all use the host document picker and read the staged certificate before its guard is dropped.
2026-10-29 05:53:39 +08:00
Tomás Romero ab8447ee99 Merge pull request #152 from springmin/security-pulldown-cmark
fix: update pulldown-cmark for RUSTSEC-2026-0414
2026-10-28 17:46:39 +01:00
springmin a00fcdaa48 pdfium: document the C++ runtime and compatibility layer
Ship the LLVM libc++ license, document why the OpenHarmony PDFium component bundles libc++_shared.so, and record the pinned source-build compatibility patch and CI workflow.
2026-10-28 22:43:28 +08:00
springmin 94e8470503 pdfium: cover the remaining optional pdfium-render symbols
Add compatibility entries for the annotation, catalog, font-name, page-object and text-object APIs that the pinned source no longer exports. These are not used by the preview renderer, but all dynamic bindings must resolve before the library can load.
2026-10-28 22:43:28 +08:00
springmin 349569f794 pdfium: export compatibility symbols from component builds
Define FPDF_IMPLEMENTATION before the PDFium headers so FPDF_EXPORT applies default visibility; without it the compatibility functions were compiled hidden and dlsym still failed.
2026-10-28 22:43:28 +08:00
springmin 0a37f86c7b pdfium: define the legacy struct-attribute value type
The compatibility translation unit uses FPDF_STRUCTELEMENT_ATTR_VALUE, which pdfium-render expects but the pinned OHOS header no longer declares. Add the opaque typedef locally.
2026-10-28 22:43:28 +08:00
springmin 6a3bee9252 pdfium: add compatibility symbols required by pdfium-render
pdfium-render 0.9.4 dynamically binds several optional struct-tree, text, font-map and page-move APIs that the pinned OHOS source no longer exports. Add a compatibility translation unit for the missing symbols so the library can load; the preview path only uses the core render APIs.
2026-10-28 22:43:28 +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 d1437f211d pdfium: surface load errors and bundle the C++ runtime
Report the underlying pdfium-render load error instead of discarding it. Component PDFium builds require libc++_shared.so; stage the matching SDK runtime beside libpdfium.so because the OHOS app namespace does not search /system/lib64 for it.
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 180f61084c ohos: add a pinned PDFium source-build path
Add build-pdfium-source.sh for the OHOS PDFium port at a pinned source revision, using the local SDK through the port's ohos_sdk/18 path and staging a stripped libpdfium.so plus its license. Keep the checksum-pinned prebuilt as an offline fallback and package the source license when present.
2026-10-28 22:43:28 +08:00