mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
294088fb27
* 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>
356 lines
No EOL
3.9 KiB
JSON
356 lines
No EOL
3.9 KiB
JSON
[
|
|
{
|
|
"offset": 0,
|
|
"gen": 0,
|
|
"free": true
|
|
},
|
|
{
|
|
"offset": 123086,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 123405,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 15,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 216,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1084,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1244,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 4001,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 4155,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 4297,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 4932,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 5307,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 5495,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 30246,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 31466,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 38398,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 39039,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 40158,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 40897,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 65550,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 74691,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 81693,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 97169,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 104103,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 111180,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 118555,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 0
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 1
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 2
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 3
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 4
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 5
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 6
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 7
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 8
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 9
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 10
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 11
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 12
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 13
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 14
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 15
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 16
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 17
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 18
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 19
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 20
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 21
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 22
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 23
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 24
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 25
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 26
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 27
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 28
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 29
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 30
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 31
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 32
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 33
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 34
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 35
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 36
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 37
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 38
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 39
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 40
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 41
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 42
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 43
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 44
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 45
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 46
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 47
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 48
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 49
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 50
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 51
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 52
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 53
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 54
|
|
},
|
|
{
|
|
"offset": 6,
|
|
"gen": 55
|
|
}
|
|
] |