Commit Graph

331 Commits

Author SHA1 Message Date
gigaherz
8a22a43cf3 No need to be paranoid, the code isn't going to contain both classes at once unless someone messes up, and then it's not my fault. 2012-02-10 17:34:38 +01:00
gigaherz
b9b489c99e Changed class management to use the classList collection instead of regex.
Fixed a bug where it wouldn't react to the first click.
2012-02-10 17:22:06 +01:00
gigaherz
24b72f70bf Merge branch 'master' of https://github.com/mozilla/pdf.js into sidebar-pinning 2012-02-09 17:34:26 +01:00
Brendan Dahl
66052f2dd2 Switch to textContent. Fix lint. 2012-02-08 16:38:43 -08:00
Brendan Dahl
a5d9ff8568 Merge upstream. 2012-02-08 16:31:30 -08:00
gigaherz
3b271f1f52 More style fixes. 2012-02-07 16:20:25 +01:00
gigaherz
bbd2bc37d6 Ran make lint and fixed the issues it complained about. 2012-02-07 16:11:51 +01:00
gigaherz
6ba38daf56 Tiny issue with tabs/spaces in viewer.html 2012-02-07 09:30:47 +01:00
gigaherz
14eae7cb9f Move code to the right place and give it a better style.
Highlight the background on hover.
2012-02-07 09:23:23 +01:00
Brendan Dahl
9a1741f466 Protect against a malicious setDatabase. Remove unneeded save data. 2012-02-06 21:04:53 -08:00
gigaherz
6bb14af71c Made the code somewhat cuter. Still totally wrong in concept. 2012-02-05 13:37:50 +01:00
gigaherz
a617aff425 Quick & dirty sidebar pinning. 2012-02-04 21:13:12 +01:00
Brendan Dahl
c7c8f1cafa Merge pull request #1120 from arturadib/localStorage-fix
Fixes localStorage feature detection
2012-02-03 11:22:50 -08:00
Brendan Dahl
b3fb41caa9 Merge pull request #1106 from arturadib/issue-1049
fontMatrix parsing fix, setFont() supports negative sizes
2012-02-03 11:10:58 -08:00
Jeff Wagner
e73e10c4d9 IE9 SVG images need viewport defined 2012-02-02 12:33:28 -08:00
Brendan Dahl
6e0891d1f4 Merge pull request #1150 from arturadib/loading-icon
Show animated loading icon until page loads
2012-02-01 12:24:31 -08:00
Artur Adib
2f1252af36 CSS fix 2012-02-01 15:19:01 -05:00
Artur Adib
6aa02d286e Merge branch 'refs/heads/master' into localStorage-fix
Conflicts:
	web/viewer.js
2012-02-01 12:08:40 -05:00
Brendan Dahl
b381c960d9 Merge branch 'master' of https://github.com/mozilla/pdf.js into amowarnings 2012-01-31 17:53:54 -08:00
Artur Adib
8950d0bca9 Remove instead of hide icon 2012-01-31 16:53:54 -05:00
Artur Adib
5ef79dca14 New version: show loading icon until page renders 2012-01-31 16:49:48 -05:00
Artur Adib
47f24cd27b Show animated loading icon if page renders slow 2012-01-31 16:20:09 -05:00
Artur Adib
7873ec966b Merge branch 'refs/heads/master' into issue-1049
Conflicts:
	src/canvas.js
2012-01-31 13:20:05 -05:00
Artur Adib
30a01c5da6 addressing reviewer comments, bug fix 2012-01-30 09:24:49 -05:00
Brendan Dahl
337806deed Fix url for thumbnail. (still not working 100) 2012-01-27 10:53:37 -08:00
notmasteryet
2b2e4b19ab Fixing initial scale when named destination is specified 2012-01-25 21:52:10 -06:00
notmasteryet
d2ec98b31e Merge pull request #1103 from jviereck/tree-02
Replace some setScale by parseScale calls to update `currentScaleValue` value
2012-01-25 19:08:56 -08:00
Brendan Dahl
0d839c1c59 Fix how we're storing settings and change how the save pdf works. 2012-01-25 17:40:08 -08:00
Brendan Dahl
858aab008f Fix the download button. 2012-01-24 21:33:03 -08:00
Brendan Dahl
dd8c39d8e1 Fix the bookmark button and redo the anchor prefix. 2012-01-24 15:46:53 -08:00
Brendan Dahl
f3b2a03de6 Hide the browse bar for the ff extension. 2012-01-24 15:13:50 -08:00
Brendan Dahl
23bf35d5ef Fix anchor links. 2012-01-24 14:55:07 -08:00
Jeff Wagner
08f8aed521 define console for IE9; updated to fix lint errors and comment 2012-01-24 14:19:41 -08:00
Jeff Wagner
19622406da define console for IE9 when debugging tools is not opened 2012-01-24 12:19:52 -08:00
Artur Adib
843830cea0 Workaround for FF bug 2012-01-24 10:39:57 -05:00
Artur Adib
5c62f99fee Fix localStorage feature detection. Close #1099 2012-01-24 10:08:18 -05:00
Brendan Dahl
178b89342a Switch to stream converter for extension. 2012-01-23 16:50:45 -08:00
Brendan Dahl
edc632e469 Fix innerHtml warnings. Remove compatibility.js from the extension. 2012-01-20 14:48:57 -08:00
Brendan Dahl
f74772f40e Merge pull request #1068 from notmasteryet/jpx6
JPX decoder
2012-01-20 11:32:02 -08:00
Artur Adib
38d28ecb2e Improved error handling/message 2012-01-19 16:02:27 -05:00
Julian Viereck
ada3f33375 Replace some setScale by parseScale calls to update value 2012-01-19 19:25:29 +01:00
Artur Adib
ba4f0e66aa reviewer comments 2012-01-19 09:11:48 -05:00
Artur Adib
1c7f1b9881 Fix previous commit 2012-01-18 12:07:25 -05:00
Artur Adib
5f4d462144 Ensure single chars are added to the layer 2012-01-18 11:41:13 -05:00
Artur Adib
499a9b0146 Fix for "Error parsing value of 'letter-spacing'" 2012-01-12 10:15:45 -05:00
Artur Adib
504d9f12c1 Using addEventListener/removeEventListener 2012-01-12 09:16:03 -05:00
notmasteryet
93ca387d1b Migration of the JPX code (from jpx5) 2012-01-11 20:08:46 -06:00
Brendan Dahl
bd6d89e1a8 Start of the benchmark recording framework. 2012-01-11 16:48:51 -08:00
Artur Adib
fcdf266d8e Lazy textLayer rendering - pauses after scroll ev 2012-01-11 16:57:57 -05:00
Artur Adib
5b3f5a30ab Merge pull request #1035 from notmasteryet/tree-54
Fixes thumbnail's drawingRequired
2012-01-06 10:16:18 -08:00
Artur Adib
a4f257f940 nit 2012-01-06 08:27:23 -05:00
notmasteryet
80a1919cfc Fix thumbnail's drawingRequired 2012-01-05 18:39:48 -06:00
Artur Adib
ef137dd6a7 Support for textLayerBuilder 2012-01-05 10:42:05 -05:00
Artur Adib
4f65198eaa Merge branch 'master' into disable-textlayer-opt 2012-01-05 10:19:15 -05:00
Artur Adib
5760d1e0f1 Merge pull request #958 from jviereck/viewer_improvements
Render the next not yet visible page in the background
2012-01-05 06:14:04 -08:00
notmasteryet
fbb9acc8cf Merge pull request #1028 from brendandahl/easiererrorcv
Easier copy/paste error message.
2012-01-04 16:52:52 -08:00
Jeff Wagner
567dd330e1 Fix subarray error for IE9 2012-01-04 15:10:25 -08:00
Brendan Dahl
5bd4d1987a Easier copy/paste error message. 2012-01-04 14:48:59 -08:00
Julian Viereck
5830474ef7 Add preDraw() functionality to render the next page in the background 2012-01-04 23:11:59 +01:00
Artur Adib
9732ad688d Merge branch 'master' into disable-textlayer-opt 2012-01-04 15:54:52 -05:00
Brendan Dahl
dba1a7dc6f Merge pull request #982 from merkste/opera-css-issues
support for Opera's linear gradients and transitions
2012-01-04 12:52:40 -08:00
Artur Adib
07deee5750 Merge pull request #954 from notmasteryet/textlayout-ui
Move text layer UI to viewer.js...
2012-01-04 12:52:03 -08:00
Artur Adib
c8192698fc disableTextLayer option 2012-01-04 11:20:19 -05:00
Julian Viereck
496e598813 Reset scale value on opening new file 2012-01-04 09:24:09 +01:00
notmasteryet
219a60175c Fix blank unopened document regression 2012-01-03 19:11:25 -06:00
notmasteryet
edb0ae4eb8 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textlayout-ui
Conflicts:
	src/canvas.js
2012-01-03 18:42:13 -06:00
Julian Viereck
bf26c1a18c Merge pull request #957 from jviereck/viewer_default_width
Change default width to page-width
2012-01-03 14:02:34 -08:00
Julian Viereck
9157597175 Fix lint error 2012-01-03 22:48:32 +01:00
Julian Viereck
2f563dbd2b Treat zoom such that it can be a string value as well. 2012-01-02 20:42:51 +01:00
Julian Viereck
b4a42930d6 Add selectScaleOption function back, that seems to got lost during rebaseing 2012-01-02 20:09:38 +01:00
Julian Viereck
c82b2faa0e Remove brakets 2012-01-02 20:02:21 +01:00
Julian Viereck
db627c4082 Ignore new scale value if it's the same as before 2012-01-02 20:02:20 +01:00
Julian Viereck
997e094bdc Add new 'Auto' option for the viewer. 2012-01-02 20:02:20 +01:00
notmasteryet
877e0f4159 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textlayout-ui
Conflicts:
	web/viewer.js
2011-12-30 19:22:59 -06:00
notmasteryet
e6b0d768fe Improving typed arrays compatibility support 2011-12-30 15:32:53 -06:00
Brendan Dahl
9fd41e11da Merge pull request #990 from notmasteryet/concurload
Fixes concurrent pages loading (#974 and #626)
2011-12-30 09:40:12 -08:00
notmasteryet
1074c75f32 remove unused field 2011-12-29 18:01:47 -06:00
notmasteryet
c25f837766 Fixes concurrent pages loading (#974 and #626) 2011-12-28 19:18:55 -06:00
Steffen Märcker
440a47e593 fixed viewer.css to support Opera's linear gradients and transitions 2011-12-27 11:49:11 +01:00
Saebekassebil
ae7f2e9fcc Respect private browsing in extension 2011-12-26 21:14:10 +01:00
Saebekassebil
4358ebc18b Too rash yet again. Bracket and style nits 2011-12-26 16:14:06 +01:00
Saebekassebil
83cb12be7f Set page number instead of window.scrollTo, and remove Cookie reference 2011-12-26 16:07:56 +01:00
Saebekassebil
e147485262 Refactoring Settings manager, now with limit on memory usage 2011-12-26 15:07:24 +01:00
Saebekassebil
4c064eb94a Missed function name... 2011-12-26 00:48:10 +01:00
Saebekassebil
4ea5b9f771 Remember hash position correctly 2011-12-26 00:42:46 +01:00
Saebekassebil
959b419082 Fixes shortcuts steals from browser - Issue #979 2011-12-25 22:18:52 +01:00
Saebekassebil
c7375745ae Too rash. Fixes gjslint errors 2011-12-23 23:56:01 +01:00
Saebekassebil
ac8f0e2c87 Address yury's comments, and remove unnecessary hash settings 2011-12-23 23:36:37 +01:00
Saebekassebil
0de0e92bc4 Added #getFingerprint method to PDFDocModel 2011-12-22 23:44:42 +01:00
Saebekassebil
d44f9f2074 Implemented Settings manager. Now remembering scroll positions 2011-12-22 22:29:01 +01:00
Saebekassebil
33e8d988c4 Image directory as a constant, adding myself to LICENSE file 2011-12-22 14:44:08 +01:00
Saebekassebil
12e2dcd775 Addressing notmasteryet's comments 2011-12-22 11:29:27 +01:00
Saebekassebil
c714c782cc Lint nits 2011-12-21 23:37:52 +01:00
Saebekassebil
4a661e1735 Implemented Comment and Check annotation. Correcting some typos in last commit 2011-12-21 23:22:07 +01:00
Artur Adib
ca7d44c646 Merge pull request #749 from notmasteryet/forms-1
Simple AcroForms support
2011-12-21 06:16:30 -08:00
notmasteryet
8288b17edc move inputHint to examples 2011-12-19 20:04:16 -06:00
notmasteryet
6011b5b4db Moving forms UI into examples 2011-12-19 20:00:50 -06:00
Chris Peterson
8adb92a709 Fix typo: s/handle/handled/ 2011-12-18 20:58:14 -08:00
Chris Peterson
396daddefe Add keyboard shortcuts to navigate pages with 'n' and 'p' keys (Next/Previous) 2011-12-18 20:42:18 -08:00
Chris Peterson
4008ec69b8 Add keyboard shortcuts to navigate pages with 'j' and 'k' keys like vi 2011-12-18 20:40:44 -08:00