Commit Graph

6485 Commits

Author SHA1 Message Date
Ben Browitt
8b6aeee35c Follow JMPR op only if outside of FDEF and IF 2014-03-13 03:19:04 +02:00
Brendan Dahl
c3ed71c9c5 Merge pull request #4405 from nnethercote/avoid-re-reading-streams
Avoid unnecessary re-reading of streams
2014-03-12 14:45:56 -07:00
Brendan Dahl
c132a9940d Merge pull request #4442 from logancrism/patch-1
Update index.html
2014-03-12 09:12:10 -07:00
Cristihan
9613ba2e22 Update index.html 2014-03-12 10:57:59 -05:00
Thorben Bochenek
baccf3d160 refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument
Rename pdfModel to pdfDocument to let the name closer resemble what the
variable actually holds
2014-03-12 09:54:29 +01:00
Nicholas Nethercote
ea17749b93 Don't get bytes eagerly when creating FlateStream objects. 2014-03-11 16:03:15 -07:00
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.
2014-03-11 16:03:15 -07:00
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).
2014-03-11 16:03:06 -07:00
Yury Delendik
7dbd088728 Fixes corrupted by Aspose fonts. 2014-03-11 14:16:27 -05:00
fkaelberer
2c8b776687 update comments 2014-03-11 09:14:59 +01:00
Manas (prometheansacrifice)
30e00bc573 Removing set-presence-in-ImageData check from canvas.js 2014-03-11 08:48:37 +05:30
Brendan Dahl
57e896d29e Merge pull request #4406 from nnethercote/fix-and-transfer-masks
Improve image mask handling again
2014-03-10 16:26:22 -07:00
Brendan Dahl
3b209b5347 Add note about adobe license. 2014-03-10 13:03:35 -07:00
Brendan Dahl
48323b8066 Merge pull request #4225 from Snuffleupagus/prefs-v3
Improve handling of preferences in Firefox
2014-03-10 10:39:56 -07:00
Brendan Dahl
72a9c7810b Merge pull request #4246 from pnml/hiresmask
Support for the image mask in higher resolution than the image itself
2014-03-10 10:34:49 -07:00
fkaelberer
7b5b5178ef Extract duplicate arithmetic decoder to own class 2014-03-10 16:56:00 +01:00
Tim van der Meij
5c448135cc Merge pull request #4433 from Snuffleupagus/pdf-find-bar-move-globals
Move globals in web/pdf_find_bar.js
2014-03-10 16:30:39 +01:00
Jonas Jenwald
9192fb966d Move globals in web/pdf_find_bar.js 2014-03-10 15:58:18 +01:00
Jonas Jenwald
b05f05589b Merge pull request #4425 from timvandermeij/jpx-syntax
Making src/core/jpx.js adhere to the style guide
2014-03-10 15:28:05 +01:00
Tim van der Meij
ca918922f3 Merge pull request #4424 from Snuffleupagus/web-braces
Fix coding style in /web
2014-03-10 12:27:49 +01:00
Jonas Jenwald
5dcc92430c Fix coding style in web/text_layer_builder.js 2014-03-10 11:48:20 +01:00
Jonas Jenwald
7480ba4cb1 Merge pull request #4422 from timvandermeij/jbig2-syntax
Making src/core/jbig2.js adhere to the style guide
2014-03-10 11:33:39 +01:00
Tim van der Meij
241cb7999d Making extensions/chromium/chrome.tabs.executeScriptInFrame.js adhere to the style guide 2014-03-09 23:29:34 +01:00
Tim van der Meij
8d2068dc6f Making extensions/chromium/extension-router.js adhere to the style guide 2014-03-09 23:14:01 +01:00
Tim van der Meij
c29350219e Making extensions/chromium/pdfHandler.js adhere to the style guide 2014-03-09 23:12:12 +01:00
Tim van der Meij
ce6e269d02 Making extensions/chromium/pdfHandler-v2.js adhere to the style guide and fixing a small lint issue in pdfHandler-vcros.js 2014-03-09 23:07:42 +01:00
Tim van der Meij
8ec46e6413 Making extensions/chromium/pdfHandler-vcros.js adhere to the style guide 2014-03-09 22:56:38 +01:00
Tim van der Meij
d5fcfe14d2 Making src/core/jpx.js adhere to the style guide 2014-03-09 22:31:55 +01:00
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
2014-03-09 14:04:00 +01:00
Tim van der Meij
2712a5a45a Making src/core/jbig2.js adhere to the style guide 2014-03-09 13:03:45 +01:00
Tim van der Meij
f1249bd49e Making src/display/font_loader.js adhere to the style guide 2014-03-09 12:45:51 +01:00
Tim van der Meij
7d86fa859f Making src/display/metadat.js adhere to the style guide 2014-03-09 12:41:01 +01:00
Jonas Jenwald
46487e3931 Merge pull request #4418 from timvandermeij/crypto-syntax
Making src/core/crypto.js adhere to the style guide
2014-03-09 12:34:44 +01:00
Jonas Jenwald
9e0ed5ca7e Fix coding style in web/viewer.js 2014-03-09 12:20:32 +01:00
Jonas Jenwald
0bd865b329 Fix coding style in web/ui_utils.js 2014-03-09 12:04:56 +01:00
Jonas Jenwald
af4e977848 Fix coding style in web/pdf_find_controller.js 2014-03-09 11:51:16 +01:00
Jonas Jenwald
2e09f14a80 Fix coding style in web/pdf_find_bar.js 2014-03-09 11:51:16 +01:00
Jonas Jenwald
6df9cc46b4 Fix coding style in web/firefoxcom.js 2014-03-09 11:51:15 +01:00
Jonas Jenwald
e9cfae84a0 Fix coding style in web/debugger.js 2014-03-09 11:51:15 +01:00
Jonas Jenwald
665b862b7f Fix coding style in web/compatibility.js 2014-03-09 11:51:15 +01:00
Jonas Jenwald
047a82a07e Fix coding style in web/chromecom.js 2014-03-09 11:51:14 +01:00
Jonas Jenwald
6597fea0da Merge pull request #4417 from timvandermeij/examples-style
Making all examples adhere to the style guide
2014-03-09 11:48:54 +01:00
Jonas Jenwald
fe99743844 Merge pull request #4413 from timvandermeij/ps-parser-syntax
Making src/core/ps_parser.js adhere to the style guide
2014-03-09 11:39:28 +01:00
Tim van der Meij
3330f0417f Making src/core/crypto.js adhere to the style guide 2014-03-08 23:25:47 +01:00
Tim van der Meij
1b1a9f1b81 Making all examples adhere to the style guide 2014-03-08 23:04:30 +01:00
Tim van der Meij
ca612e51ae Merge pull request #4416 from timvandermeij/function-typo
Fixes typo in function.js
2014-03-08 22:41:10 +01:00
Tim van der Meij
99b0231343 Fixes typo in function.js 2014-03-08 22:40:19 +01:00
Tim van der Meij
df2248d5b9 Merge pull request #4414 from Snuffleupagus/src-shared-braces
Add braces to single line statements in src/shared
2014-03-08 22:37:16 +01:00
Jonas Jenwald
9528f9e650 Merge pull request #4412 from timvandermeij/bidi-syntax
Making src/core/bidi.js adhere to the style guide
2014-03-08 22:09:41 +01:00
Tim van der Meij
a615ccdd20 Making src/core/bidi.js adhere to the style guide 2014-03-08 21:49:53 +01:00