pdf.js/src/core
Tim van der Meij 4c2e056796
Convert the RefSet primitive to a proper class and use a Set internally
The `RefSet` primitive predates ES6, so that most likely explains why an
object is used internally to track the entries. However, nowadays we can
use built-in JavaScript sets for this purpose. Built-in types are often
more efficient/optimized and using it makes the code a bit more clear
since we don't have to assign `true` to keys anymore just to indicate
their presence.
2020-06-07 19:01:29 +02:00
..
.eslintrc Reduce usage of SystemJS, in the development viewer, even further 2020-05-20 13:36:52 +02:00
annotation.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
arithmetic_decoder.js Enable auto-formatting of the entire code-base using Prettier (issue 11444) 2019-12-26 12:34:24 +01:00
bidi.js Enable the no-nested-ternary ESLint rule (PR 11488 follow-up) 2020-01-14 17:49:39 +01:00
ccitt_stream.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
ccitt.js Enable the dot-notation ESLint rule 2020-04-17 12:24:46 +02:00
cff_parser.js Whitelist closure related cases to address the remaining no-shadow linting errors 2020-03-25 11:57:12 +01:00
charsets.js Enable auto-formatting of the entire code-base using Prettier (issue 11444) 2019-12-26 12:34:24 +01:00
chunked_stream.js Change the loadedChunks property, on ChunkedStream instances, from an Array to a Set 2020-06-05 15:03:06 +02:00
cmap.js Avoid hanging the worker-thread for CMap data with ridiculously large ranges (issue 11922) 2020-05-22 15:23:17 +02:00
colorspace.js Optimization: 2020-06-07 13:17:18 +09:00
core_utils.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
crypto.js Whitelist closure related cases to address the remaining no-shadow linting errors 2020-03-25 11:57:12 +01:00
document.js Allow GlobalImageCache.clear to, optionally, only remove the actual data (PR 11912 follow-up) 2020-05-23 11:30:24 +02:00
encodings.js Enable auto-formatting of the entire code-base using Prettier (issue 11444) 2019-12-26 12:34:24 +01:00
evaluator.js Extract the actual sending of image data from the PartialEvaluator.buildPaintImageXObject method 2020-06-07 12:01:51 +02:00
font_renderer.js Remove variable shadowing from the JavaScript files in the src/core/ folder 2020-03-23 18:28:30 +01:00
fonts.js [src/core/fonts.js] Improve the validateOS2Table function 2020-04-19 11:25:25 +02:00
function.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
glyphlist.js Enable the dot-notation ESLint rule 2020-04-17 12:24:46 +02:00
image_utils.js Remove an unnecessary RefSetCache.prototype.has() call from GlobalImageCache.getData 2020-06-07 11:56:04 +02:00
image.js [api-minor] Decode all JPEG images with the built-in PDF.js decoder in src/core/jpg.js 2020-05-22 00:22:48 +02:00
jbig2_stream.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
jbig2.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
jpeg_stream.js [api-minor] Decode all JPEG images with the built-in PDF.js decoder in src/core/jpg.js 2020-05-22 00:22:48 +02:00
jpg.js Jpeg encoded with RGB -instead of YCbCr- write the components index as "RGB" in ASCII to say it so 2020-06-04 15:08:47 +02:00
jpx_stream.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
jpx.js Enable the dot-notation ESLint rule 2020-04-17 12:24:46 +02:00
metrics.js Enable the dot-notation ESLint rule 2020-04-17 12:24:46 +02:00
murmurhash3.js Ensure that all import and require statements, in the entire code-base, have a .js file extension 2020-01-04 13:01:43 +01:00
obj.js Allow GlobalImageCache.clear to, optionally, only remove the actual data (PR 11912 follow-up) 2020-05-23 11:30:24 +02:00
operator_list.js Gracefully handle annotation parsing errors in Page.getOperatorList (issue 11871) 2020-05-04 17:09:48 +02:00
parser.js Use the ESLint no-restricted-syntax rule to ensure that assert is always called with two arguments 2020-05-05 13:40:05 +02:00
pattern.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
pdf_manager.js Allow GlobalImageCache.clear to, optionally, only remove the actual data (PR 11912 follow-up) 2020-05-23 11:30:24 +02:00
primitives.js Convert the RefSet primitive to a proper class and use a Set internally 2020-06-07 19:01:29 +02:00
ps_parser.js Whitelist closure related cases to address the remaining no-shadow linting errors 2020-03-25 11:57:12 +01:00
standard_fonts.js Enable the dot-notation ESLint rule 2020-04-17 12:24:46 +02:00
stream.js Whitelist closure related cases to address the remaining no-shadow linting errors 2020-03-25 11:57:12 +01:00
type1_parser.js Enable the dot-notation ESLint rule 2020-04-17 12:24:46 +02:00
unicode.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
worker_stream.js Use the ESLint no-restricted-syntax rule to ensure that assert is always called with two arguments 2020-05-05 13:40:05 +02:00
worker.js Merge pull request #11601 from Snuffleupagus/rm-nativeImageDecoderSupport 2020-05-23 15:33:46 +02:00