Commit Graph

3196 Commits

Author SHA1 Message Date
Chris Peterson
aebb9946f8 Add keyboard shortcuts to navigate pages with left and right arrow keys
This is the behavior of Adobe Reader.app and Apple's Preview.app.
2011-12-18 20:39:41 -08:00
Brendan Dahl
2caa09c7fc Merge remote-tracking branch 'upstream/master' into smaskscale 2011-12-18 17:31:51 -08:00
Brendan Dahl
03ec82ba62 Fix nits. 2011-12-18 17:29:08 -08:00
Brendan Dahl
ee4504c3bf Change test case. 2011-12-18 17:28:25 -08:00
Brendan Dahl
87d72023dc Scale smask and image to the max dimensions of either one. Fix grayscale to scale the input value based on bpc. 2011-12-18 17:18:36 -08:00
Brendan Dahl
74b66c0a7b Fix bug, decoding was always getting called. 2011-12-18 17:17:35 -08:00
notmasteryet
969422f3c2 Merge pull request #955 from jviereck/vprevent_default
Prevent default actions when zooming.
2011-12-18 14:43:40 -08:00
notmasteryet
a52aacab5a Fix the text layer testing 2011-12-18 16:15:53 -06:00
Julian Viereck
3a86e047e0 Prevent default actions when zooming. Otherwise the browser performs a zoom of the entire page 2011-12-18 20:42:06 +01:00
Julian Viereck
156e20ca73 Cache Cmd object to reduce number of created objects 2011-12-18 20:39:10 +01:00
notmasteryet
0f6291c7b9 Move text layer UI to viewer.js; fixes adding div with single char; replaces innerHTML to textContent 2011-12-18 12:53:30 -06:00
Brendan Dahl
cf31eb4544 Add test case for smasks. 2011-12-16 10:54:31 -08:00
Artur Adib
0226405b86 Merge pull request #949 from notmasteryet/ie9-dataset
Add compatibility for HTMLElement's dataset
2011-12-16 10:49:17 -08:00
Brendan Dahl
3175e5498c Merge remote-tracking branch 'upstream/master' into smaskscale 2011-12-16 10:11:40 -08:00
Artur Adib
f7f7269253 Merge pull request #937 from ironymark/master
stop canvasRenderTextLayer blocking browser UI
2011-12-16 09:06:18 -08:00
Artur Adib
cd4745a187 Merge pull request #947 from brendandahl/decodemap
Support Image Decodes
2011-12-16 07:53:11 -08:00
Adil Allawi
b921486bce simplify adding of textdivs to DOM as queue is no longer needed 2011-12-16 10:38:30 +00:00
notmasteryet
d6e4607fd0 Add compatibility for HTMLElement's dataset (#945) 2011-12-15 20:44:55 -06:00
Brendan Dahl
abad94d2b6 Lints. 2011-12-15 16:30:51 -08:00
Brendan Dahl
01e876f014 Merge remote-tracking branch 'origin/decodemap' into smaskscale 2011-12-15 15:20:36 -08:00
Brendan Dahl
8096d747c0 Fix nits. 2011-12-15 15:13:48 -08:00
Brendan Dahl
f4f125f67d Merge remote-tracking branch 'upstream/master' into decodemap 2011-12-15 14:41:03 -08:00
Kalervo Kujala
86663408f0 Use simpler sed and random temp profile names for unit test. 2011-12-16 00:23:23 +02:00
notmasteryet
b010f293a2 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1 2011-12-15 15:35:44 -06:00
Adil Allawi
5bd080fd05 oops, interval was not clearing because 'this' is not the same 'this' inside an interval. Should use local variable 'self' instead. Reviewers you should have spotted this! :) 2011-12-15 11:32:58 +00:00
Adil Allawi
c93e7c9c87 Merge branch 'master' of https://github.com/mozilla/pdf.js 2011-12-15 10:09:04 +00:00
Adil Allawi
4a14a79884 use array index instead of array.shift() 2011-12-15 10:08:50 +00:00
Adil Allawi
cc007b539a fix lint nitpick 2011-12-15 09:20:55 +00:00
notmasteryet
f8a38de791 Merge pull request #926 from brendandahl/nativejpegsmask
Soft Masks for Natively Supported(decoded by browser) JPEGs
2011-12-14 17:11:12 -08:00
Brendan Dahl
27f0252c34 Merge pull request #939 from notmasteryet/tree-50
Fixing setting of auto-zoom value in bookmarks
2011-12-14 16:50:51 -08:00
notmasteryet
ddf9c43116 Fixing setting of auto-zoom value in bookmarks (#938) 2011-12-14 18:44:35 -06:00
Kalervo Kujala
75c9286a20 Add unit test support for Google Chrome for Windows. 2011-12-15 00:55:00 +02:00
Kalervo Kujala
be2e7a7a9c Add profile handling for the unit test. 2011-12-15 00:51:10 +02:00
Adil Allawi
ce57bac447 Build Text Layer one div at a a time as an Interval instead of a all in a TimeOut to keep the browser responsive 2011-12-14 22:28:34 +00:00
Brendan Dahl
d1f4e7c7d5 Change to passing promises. 2011-12-14 14:02:00 -08:00
Brendan Dahl
c2b91f1272 Merge upstream. 2011-12-14 13:41:36 -08:00
Brendan Dahl
8231ed1b11 Merge pull request #936 from brendandahl/master
Fake PR to Merge Ref Images
2011-12-14 13:09:27 -08:00
Brendan Dahl
02bf65fc0d Update README.md 2011-12-14 12:30:20 -08:00
Brendan Dahl
5ad3a9cc72 Add basic rescale support for smacks. 2011-12-14 12:27:56 -08:00
Brendan Dahl
14647735b9 Merge pull request #929 from notmasteryet/tree-49
Fixing Type3 text layer creation and character spacing
2011-12-14 12:14:47 -08:00
Brendan Dahl
9d042ce166 Use the general function for is default decode. 2011-12-14 08:47:35 -08:00
notmasteryet
45ef8742ac type3 font.coded comment; proper geometery for showText; glyph name 2011-12-13 18:28:02 -06:00
notmasteryet
c9981b6ff4 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into tree-49 2011-12-13 17:57:58 -06:00
Brendan Dahl
ff1d804fd7 Move the default decode to logic to the colorspace. 2011-12-13 14:35:46 -08:00
Brendan Dahl
55bbcbc664 Working improved version. Still need to refactor default decode stuff. 2011-12-13 13:53:22 -08:00
Brendan Dahl
868d07e289 Merge pull request #917 from arturadib/check-pixels
Throw error on # of pixels mismatch
2011-12-13 13:31:57 -08:00
Artur Adib
9c45185d93 Merge pull request #932 from arturadib/master
(Do Not Merge) Generating refs for FF + Chrome
2011-12-13 10:39:54 -08:00
Artur Adib
84706568a5 Update README.md 2011-12-13 12:58:27 -05:00
Brendan Dahl
ac3ccdef4a Merge remote-tracking branch 'origin/nativejpegsmask' into decodemap 2011-12-13 09:12:26 -08:00
Brendan Dahl
2f10d24502 Fix for chrome. 2011-12-13 09:05:00 -08:00