Commit Graph

25 Commits

Author SHA1 Message Date
Enrico Ros fc294c82f1 Pdfjs: lock to 5.4.54
more recent 5.4 have trouble with await import('pdfjs-dist'), throwing.
2025-11-27 18:33:20 -08:00
Enrico Ros 7b1dc49dda Roll pdfjs 2025-11-27 18:19:51 -08:00
Enrico Ros 7e95dcc1cb PDF: roll pdfjs 2025-07-29 16:03:03 -07:00
Enrico Ros d910fbcae1 Roll pdfjs (4 -> 5) 2025-06-02 15:26:48 -07:00
Enrico Ros 4400f33209 Roll pdfjs 2025-01-07 17:00:07 -08:00
Enrico Ros ea15d8e0e9 roll pdfjs 2024-12-11 14:07:21 -08:00
Enrico Ros 965e3282a8 Roll packages (incl. pdfjs) 2024-11-06 17:03:22 -08:00
Enrico Ros a43e83d9ed Roll pdfjs. 2024-10-13 04:32:18 -07:00
Enrico Ros 5e2d609332 Roll packages, incl. pdfjs, tesseract 2024-09-17 14:19:25 -07:00
Enrico Ros 8c817fba7c Roll pdfjs 2024-08-03 01:48:56 -07:00
Enrico Ros ad0617de90 roll PDFjs 2024-07-02 21:40:09 -07:00
Enrico Ros 645e07dba8 roll: pdfjs-dist 2024-06-04 20:04:51 -07:00
Enrico Ros 7793e2694b pdfjs: roll 2024-05-10 02:19:32 -07:00
Enrico Ros 4a402e7937 Roll pdfjs 2024-04-21 21:19:30 -07:00
Enrico Ros a237e53580 Roll pdfjs 2024-01-15 23:51:44 -08:00
Enrico Ros 3d72aec369 Roll pdfjs-dist 2023-12-12 02:58:06 -08:00
Mark Anthony Llego 98c95bf436 Update pdfjs-dist version to 4.0.189 2023-11-17 19:30:58 +08:00
Enrico Ros c9231684f6 Roll PDFJS 2023-10-17 19:45:32 -07:00
Enrico Ros e6ee2d4f44 Update PDFJS 2023-08-04 15:57:13 -07:00
Enrico Ros a08b13ce3b Roll PDFJS and the worker 2023-07-05 23:30:45 -07:00
Enrico Ros b77bae8ff2 Roll PDFJS 2023-06-13 07:01:06 -07:00
Enrico Ros a132cab3bd Update worker 2023-05-09 00:44:33 -07:00
Enrico Ros 5a396d775c Roll packages 2023-04-04 15:28:12 -07:00
Enrico Ros 23a3185696 Load PDFs on drag/drop, min-worker, dynamic import
Cleaned up the code a bit (thx gpt4), with:
 - dynamic module load: JS is chunked up and deferred to PDF loading,
   which improves all the sessions where PDFs are not loaded
 - unified path for drag/drop and 'load file' (shall call it "magic drop"
   so PDFs are text'ified upon drag/dop as well
 - fixed "not being able to load the same doc twice" (thx gpt4)
 - using minified worker, as it's loaded dynamically, we save ~50% bandwidth
2023-04-03 02:57:02 -07:00
fredliubojin 421e06e617 Using pdfjs-dist to parse and load pdf contents. 2023-04-02 23:37:23 -07:00