24 Commits
Author SHA1 Message Date
azeeee05 671697d161 feat: implement gateway service and add font extraction validation tests 2026-07-23 17:02:45 +05:30
Furqan-14 e8620947a5 fix: code cleanup 2026-06-22 15:18:47 +05:30
Furqan-14andClaude Opus 4.8 ddbafbcd43 fix(build): build_wasm.ps1 builds the real wasm-pdfium engine + deploys pdfium-engine.{mjs,wasm}
build_wasm.ps1 built the `wasm` STUB preset (PDFENGINE_WITH_PDFIUM=OFF, reflow #ifdef'd out)
and deployed it to the UNUSED pdfengine.{mjs,wasm}. The frontend actually loads
pdfium-engine.{mjs,wasm} (the `wasm-pdfium` preset). So "rebuild the WASM" silently shipped a
reflow-less stub to the wrong file — engine changes never reached the browser.

- Build the `wasm-pdfium` preset (PDFium ON) into pdfeng-build/wasm-pdfium (outside OneDrive).
- Deploy bin/pdfengine.{mjs,wasm} -> public/pdfium-engine.{mjs,wasm} (the rename the frontend expects).
- Set EMSDK_QUIET before sourcing emsdk_env.ps1 (its stderr tripped $ErrorActionPreference='Stop').
- Run a new pdfium-engine.smoke.mjs (buildInfo + live-preview exports) instead of pdfengine.test.mjs,
  which targets the stub facade (mock render / engineHasSkia / getDocumentFonts) and can't pass here.
- Relax EAP around the smoke node call so a real failure reports cleanly, not as NativeCommandError.
- pdfengine.test.mjs: de-brittle the buildInfo assertion (was pinned to a stale exact phrase).

Verified: scripts/build_wasm.ps1 runs green end-to-end and deploys pdfium-engine.wasm (md5 53d1ec9f).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 19:24:45 +05:30
Furqan-14 377a9044af feat: implemented hit testing, form field, content stream and base security hardening 2026-06-11 19:19:01 +05:30
Furqan-14 5408540847 Merge branch 'dev' of https://gitea.maskantech.in/gitea_admin/pdf into furqan 2026-06-08 16:54:28 +05:30
Furqan-14 5d366132ef feat: page deletion, redaction and page rotation 2026-06-08 16:53:02 +05:30
saqib mir c27a80f840 integration done and testing done 2026-06-08 16:28:10 +05:30
azeeee05 31243722d3 search fuunction done 2026-06-08 11:22:15 +05:30
Furqan-14 869b865a1d fix: invalid pdf format 2026-06-02 12:23:34 +05:30
saqib mir 581ef030f2 fix the issue 2026-06-02 11:16:49 +05:30
Furqan-14 6eb7c23cc4 feat: wasm build along with c++ facade 2026-06-01 15:28:32 +05:30
saqib mir 61f0b6fde6 fix update 2026-06-01 14:54:55 +05:30
saqib mir caf6155d2e Merge branch 'dev' of https://gitea.maskantech.in/gitea_admin/pdf into saqib 2026-05-27 12:48:07 +05:30
Furqan-14 313801b08c fix: gateway script issue 2026-05-27 12:47:38 +05:30
saqib mir 4e4ea6cf28 Merge branch 'dev' of https://gitea.maskantech.in/gitea_admin/pdf into saqib 2026-05-27 12:27:30 +05:30
Furqan-14 3cc8ad17b1 fix: updated port 2026-05-27 12:25:00 +05:30
saqib mir 186ae61579 Merge branch 'dev' of https://gitea.maskantech.in/gitea_admin/pdf into saqib 2026-05-26 16:51:53 +05:30
saqib mir acdd4d1b6e fix 2026-05-26 16:51:44 +05:30
Furqan-14 867d00ad3c fix: updated build scripts 2026-05-26 16:49:02 +05:30
Furqan-14 5e5404c330 fix: build error 2026-05-26 16:13:11 +05:30
Furqan-14 bb1b2dcd50 feat: implemented Incremental save system 2026-05-26 11:23:29 +05:30
Furqan-14 fe627f4e19 feat: implemented wrapper and pdf doc page 2026-05-22 15:47:48 +05:30
Furqan-14 3055dafe8d feat: added verify scripts 2026-05-18 11:56:47 +05:30
Furqan-14 43eba01201 first commit 2026-05-15 10:39:16 +05:30