Tim van der Meij
e5cd75083f
Merge pull request #4132 from yurydelendik/minified
...
Adds make minified command
11 years ago
Brendan Dahl
566482d28b
Merge pull request #4323 from yurydelendik/optimization
...
Optimization of operators list
11 years ago
Yury Delendik
1aaeec8020
Heuristic to optimize chunking
11 years ago
Yury Delendik
257898b359
Caching inlined mask images
11 years ago
Yury Delendik
f48f57e30a
Caches last parsed resource image, recornizes image repeats
11 years ago
Yury Delendik
2c23be369b
Optimizing pdf when text printed char-by-char
11 years ago
Yury Delendik
dbb3d17d8f
Refactors optimization list
11 years ago
Yury Delendik
1c0e1cc591
Merge pull request #4444 from nnethercote/min-length
...
Estimate the size of decoded streams in advance.
11 years ago
Yury Delendik
2778d75d2c
Merge pull request #4437 from yurydelendik/issue4398
...
Fixes corrupted by Aspose fonts
11 years ago
Yury Delendik
03bedaa316
Merge branch 'master' of github.com:mozilla/pdf.js into issue-4370
11 years ago
Jonas Jenwald
b0824e1626
Prevent circular reference when checking for blend modes (issue 4370)
11 years ago
Yury Delendik
7963f22545
Merge pull request #4259 from brendandahl/built-in-cmaps-squash
...
Adds built in CMaps and unifies the glyph mapping.
11 years ago
Yury Delendik
31ea4e0f4d
Merge pull request #4420 from prometheansacrifice/RemovingCheckSetPresence
...
Removing set-presence-in-ImageData check from canvas.js
11 years ago
Yury Delendik
5c20d17c87
Merge pull request #4431 from fkaelberer/ExtractArithmeticDecoder
...
Extract arithmetic decoder to own file
11 years ago
Yury Delendik
1cd52cab2f
Merge pull request #4446 from benbro/master
...
Follow JMPR op only if outside of FDEF and IF
11 years ago
Nicholas Nethercote
b3024db677
Estimate the size of decoded streams in advance.
...
When decoding a stream, the decode buffer is often grown multiple times, its
byte size increasing like so: 512, 1024, 2048, etc. This patch estimates the
minimum size in advance (using the length of the encoded stream), often
allowing the smaller sizes to be skipped. It also renames numerous |length|
variables as |maybeLength| to make it clear that they can be |null|.
I measured this change on eight documents. This change reduces the cumulative
size of decode buffer allocations by 0--32%, with 10--20% being typical. This
reduces peak RSS by 10 or 20 MiB for several of them.
11 years ago
Ben Browitt
8b6aeee35c
Follow JMPR op only if outside of FDEF and IF
11 years ago
Brendan Dahl
c3ed71c9c5
Merge pull request #4405 from nnethercote/avoid-re-reading-streams
...
Avoid unnecessary re-reading of streams
11 years ago
Brendan Dahl
c132a9940d
Merge pull request #4442 from logancrism/patch-1
...
Update index.html
11 years ago
Cristihan
9613ba2e22
Update index.html
11 years ago
Nicholas Nethercote
ea17749b93
Don't get bytes eagerly when creating FlateStream objects.
11 years ago
Nicholas Nethercote
d0253c8291
Don't get bytes eagerly when creating {Jpeg,Jpx,Jbig2}Stream objects.
...
This avoids lots of unnecessary work when such streams are referred to via
fetch(), and so their bytes aren't subsequently read. This is a large
performance win on some files.
11 years ago
Nicholas Nethercote
f12d588258
Add an ensureRange() call to ChunkedStream_makeSubStream().
...
By checking if the data is all present before making a substream, we avoid
cases where we parse part of a stream and then throw a MissingDataException
part-way through, which forces us to later re-read the stream -- possibly
multiple times. This is a sizeable performance win for some cases when file
loading is slow (e.g. over the web).
11 years ago
Yury Delendik
7dbd088728
Fixes corrupted by Aspose fonts.
11 years ago
fkaelberer
2c8b776687
update comments
11 years ago
Manas (prometheansacrifice)
30e00bc573
Removing set-presence-in-ImageData check from canvas.js
11 years ago
Brendan Dahl
57e896d29e
Merge pull request #4406 from nnethercote/fix-and-transfer-masks
...
Improve image mask handling again
11 years ago
Brendan Dahl
3b209b5347
Add note about adobe license.
11 years ago
Brendan Dahl
48323b8066
Merge pull request #4225 from Snuffleupagus/prefs-v3
...
Improve handling of preferences in Firefox
11 years ago
Brendan Dahl
72a9c7810b
Merge pull request #4246 from pnml/hiresmask
...
Support for the image mask in higher resolution than the image itself
11 years ago
fkaelberer
7b5b5178ef
Extract duplicate arithmetic decoder to own class
11 years ago
Tim van der Meij
5c448135cc
Merge pull request #4433 from Snuffleupagus/pdf-find-bar-move-globals
...
Move globals in web/pdf_find_bar.js
11 years ago
Jonas Jenwald
9192fb966d
Move globals in web/pdf_find_bar.js
11 years ago
Jonas Jenwald
b05f05589b
Merge pull request #4425 from timvandermeij/jpx-syntax
...
Making src/core/jpx.js adhere to the style guide
11 years ago
Tim van der Meij
ca918922f3
Merge pull request #4424 from Snuffleupagus/web-braces
...
Fix coding style in /web
11 years ago
Jonas Jenwald
5dcc92430c
Fix coding style in web/text_layer_builder.js
11 years ago
Jonas Jenwald
7480ba4cb1
Merge pull request #4422 from timvandermeij/jbig2-syntax
...
Making src/core/jbig2.js adhere to the style guide
11 years ago
Tim van der Meij
d5fcfe14d2
Making src/core/jpx.js adhere to the style guide
11 years ago
Jonas Jenwald
ad623ffbb2
Merge pull request #4421 from timvandermeij/metadata-font-loader-syntax
...
Making src/display/{metadata,font_loader}.js adhere to the style guide
11 years ago
Tim van der Meij
2712a5a45a
Making src/core/jbig2.js adhere to the style guide
11 years ago
Tim van der Meij
f1249bd49e
Making src/display/font_loader.js adhere to the style guide
11 years ago
Tim van der Meij
7d86fa859f
Making src/display/metadat.js adhere to the style guide
11 years ago
Jonas Jenwald
46487e3931
Merge pull request #4418 from timvandermeij/crypto-syntax
...
Making src/core/crypto.js adhere to the style guide
11 years ago
Jonas Jenwald
9e0ed5ca7e
Fix coding style in web/viewer.js
11 years ago
Jonas Jenwald
0bd865b329
Fix coding style in web/ui_utils.js
11 years ago
Jonas Jenwald
af4e977848
Fix coding style in web/pdf_find_controller.js
11 years ago
Jonas Jenwald
2e09f14a80
Fix coding style in web/pdf_find_bar.js
11 years ago
Jonas Jenwald
6df9cc46b4
Fix coding style in web/firefoxcom.js
11 years ago
Jonas Jenwald
e9cfae84a0
Fix coding style in web/debugger.js
11 years ago
Jonas Jenwald
665b862b7f
Fix coding style in web/compatibility.js
11 years ago