overleaf/services/clsi/app/js
Jakob Ackermann 294088fb27 [ContentCacheManager] use PDF.js Xref table instead of stream detection (#242)
* make the content cache manager tests configurable

* extend stream content in unit tests

* [ContentCacheManagerTests] prepare for full object caching

* filesystem stream for pdfjs

* working??

* cleaning up

* handle overflow

* [misc] install pdfjs-dist

* [misc] move pdfjs code into app/lib/ and scripts/, also use CamelCase

* [misc] abstract the file loading and parsing of xRef tables into helper

* [misc] pdfjsTests: add snapshot based tests for the Xref table parser

* [misc] FSStream: throw proper error and drop commented code

* [misc] FSStream: integrate throwing of MissingDataException into getter

* [misc] pdfjs: fix eslint errors

* [misc] pdfjs: run format_fix

* [misc] pdfjs: allocate very small non empty dummy buffers explicitly

* [misc] install @overleaf/o-error

* [ContentCacheManager] use PDF.js Xref table instead of stream detection

Co-Authored-By: Brian Gough <brian.gough@overleaf.com>

* [pdfjs] parseXrefTable: handle empty PDF files gracefully

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
2021-05-31 09:20:25 +01:00
..
CommandRunner.js
CompileController.js [misc] merge pdf caching into main (#226) 2021-05-13 14:07:54 +01:00
CompileManager.js [misc] merge pdf caching into main (#226) 2021-05-13 14:07:54 +01:00
ContentCacheManager.js [ContentCacheManager] use PDF.js Xref table instead of stream detection (#242) 2021-05-31 09:20:25 +01:00
ContentCacheMetrics.js [ContentCacheManager] finish tracking of ranges across builds 2021-05-18 18:06:15 +01:00
ContentController.js [misc] merge pdf caching into main (#226) 2021-05-13 14:07:54 +01:00
ContentTypeMapper.js
db.js
DbQueue.js
DockerLockManager.js
DockerRunner.js Mount /home/tex in an anonymous volume 2020-09-04 08:49:56 -04:00
DraftModeManager.js
Errors.js
LatexRunner.js [LatexRunner] do not emit empty cpu/sys timings 2021-05-19 11:17:08 +01:00
LocalCommandRunner.js
LockManager.js
Metrics.js [misc] bump metrics module to 3.4.1 2020-11-25 11:57:25 +00:00
OutputCacheManager.js [ContentCacheManager] use PDF.js Xref table instead of stream detection (#242) 2021-05-31 09:20:25 +01:00
OutputFileFinder.js remove unnecessary requires 2020-12-18 15:28:06 +00:00
OutputFileOptimiser.js Add flag to qpdf, to preserve PDF/A compliance 2021-03-19 11:35:59 +00:00
ProjectPersistenceManager.js log the expiry timeout value when disk is low 2021-05-13 15:13:29 +01:00
RequestParser.js [misc] merge pdf caching into main (#226) 2021-05-13 14:07:54 +01:00
ResourceStateManager.js include fallback for missing state file 2021-01-26 13:59:28 +00:00
ResourceWriter.js [perf] drop useless synchronous syscall on hot path for writing docs 2021-05-17 09:25:29 +01:00
SafeReader.js
StaticServerForbidSymlinks.js
TikzManager.js
UrlCache.js use fs.copyFile instead of fse.copy in UrlCache module 2021-05-17 10:54:11 +01:00
UrlFetcher.js