pdf.js/src/core
Jonas Jenwald e58f2f513a [api-major] Remove the unused encrypted property from the pdfInfo object sent from the worker via the GetDoc message
I recall being confused as to the purpose of the `encrypted` property all the way back when working on PR 4750.

Looking at the history, this property was added in PR 1698 when password support was added to the API/viewer. However, its only purpose seem to have been to facilitate the addition of a `isEncrypted` function in the API. That function never, as far as I can tell, saw any use and was unceremoniously removed in PR 4144.

Since we want to avoid sending all non-essential data early during initial document loading (e.g. PR 4750), it seems correct to get rid of the `encrypted` property. Especially since it hasn't even been exposed in the API for over three years, with no complaints that I'm aware of.

Finally note that the `encrypt` property on the `XRef` instance isn't tied to the code that's being removed here. Given that we're calling `PDFDocument.parse` during `createDocumentHandler` in the worker which, via `PDFDocument.setup`, calls `XRef.parse` where the `Encrypt` data (if it exists) is always parsed.
2017-12-21 13:10:23 +01:00
..
annotation.js Button widget annotations: implement support for pushbuttons 2017-11-26 14:09:48 +01:00
arithmetic_decoder.js Fix inconsistent spacing and trailing commas in objects in src/core/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 11:20:19 +02:00
bidi.js Fix inconsistent spacing and trailing commas in objects in src/core/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 11:20:19 +02:00
ccitt_stream.js Extract the actual decoding in CCITTFaxStream into a new CCITTFaxDecoder "class", which the new CCITTFaxStream depends on 2017-10-24 16:03:08 +02:00
ccitt.js Extract the actual decoding in CCITTFaxStream into a new CCITTFaxDecoder "class", which the new CCITTFaxStream depends on 2017-10-24 16:03:08 +02:00
cff_parser.js Sanitize name index in compile phase of CFF. 2017-10-23 17:13:49 -07:00
charsets.js Convert the files in the /src/core folder to ES6 modules 2017-05-30 22:06:21 +02:00
chunked_stream.js Replace the isInt helper function with the native Number.isInteger function 2017-09-01 16:52:50 +02:00
cmap.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
colorspace.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
crypto.js Rearrange a few declarations so that they precede their uses. 2017-11-03 10:14:32 +00:00
document.js Moves OperatorList and QueueOptimizer into separate file. 2017-10-30 13:29:58 -05:00
encodings.js Fix missing notdef in expert encoding. 2017-06-29 12:12:39 -07:00
evaluator.js Merge pull request #9192 from Snuffleupagus/issue-8229 2017-11-30 10:27:32 +01:00
font_renderer.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
fonts.js Merge pull request #9272 from nveenjain/fix/8846 2017-12-15 22:11:32 +01:00
function.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
glyphlist.js Convert the files in the /src/core folder to ES6 modules 2017-05-30 22:06:21 +02:00
image.js Move JpegStream and JpxStream to their own files 2017-11-11 11:22:16 +01:00
jbig2_stream.js Fix the interface of JpegStream/JpxStream/Jbig2Stream to agree with the other DecodeStreams 2017-11-11 11:22:16 +01:00
jbig2.js Fix JBIG2 symbol offsets in text regions 2017-09-19 23:43:23 +03:00
jpeg_stream.js Attempt to remove the special JpegStream.getBytes method and utilize the regular DecodeStream one instead 2017-12-10 13:31:08 +01:00
jpg.js Use Uint8ClampedArray, when returning data, and remove manual clamping in src/core/jpg.js (issue 4901) 2017-08-14 16:19:57 +02:00
jpx_stream.js Fix the interface of JpegStream/JpxStream/Jbig2Stream to agree with the other DecodeStreams 2017-11-11 11:22:16 +01:00
jpx.js Remove manual clamping code in src/core/jpx.js 2017-08-16 13:24:28 +02:00
metrics.js Convert the files in the /src/core folder to ES6 modules 2017-05-30 22:06:21 +02:00
murmurhash3.js [api-major] Remove the TypedArray polyfills 2017-11-01 10:31:28 +01:00
obj.js Handle PDF files with missing 'endobj' operators, by searching for the "obj" string rather than "endobj" in XRef.indexObjects (issue 9105) 2017-12-18 13:17:45 +01:00
operator_list.js For backwards compatibility: use addOp amount instead of queue size. 2017-11-09 18:46:48 -06:00
parser.js Move JpegStream and JpxStream to their own files 2017-11-11 11:22:16 +01:00
pattern.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
pdf_manager.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
primitives.js Replace the isArray helper function with the native Array.isArray function 2017-09-01 20:27:13 +02:00
ps_parser.js Removes error() 2017-07-07 09:40:24 -05:00
standard_fonts.js Add basic support for non-embedded Calibri fonts (issue 9195) 2017-12-03 17:23:33 +01:00
stream.js Move JpegStream and JpxStream to their own files 2017-11-11 11:22:16 +01:00
type1_parser.js Remove a few useless assignments. 2017-11-03 11:36:48 +00:00
unicode.js For non-embedded fonts, map softhyphen (0x00AD) to regular hyphen (0x002D) (issue 9084) 2017-10-31 13:26:04 +01:00
worker.js [api-major] Remove the unused encrypted property from the pdfInfo object sent from the worker via the GetDoc message 2017-12-21 13:10:23 +01:00