Commit Graph

508 Commits

Author SHA1 Message Date
Brendan Dahl
c55dade357 Clear out the stored text extraction on load. 2012-04-24 14:02:13 -07:00
Brendan Dahl
a57054ef9e Reduce the search box width to avoid wrapping. 2012-04-24 12:38:07 -07:00
Brendan Dahl
92d0d1d694 Merge new API and text search. 2012-04-20 16:49:08 -07:00
Yury Delendik
6aacffaeb6 Merge pull request #1526 from jviereck/fix_keyboard
Fix keyboardbindings
2012-04-20 05:43:06 -07:00
Julian Viereck
ec5a1b2a1b Fix lint issues 2012-04-20 09:33:50 +02:00
Brendan Dahl
11d7278c93 Give the thumbnail default width/height. 2012-04-18 17:02:32 -07:00
Artur Adib
17be523eeb fixed thumbnails 2012-04-18 15:31:42 -04:00
Artur Adib
7e51d2b1f7 Merge branch 'master' into new-ui
Conflicts:
	web/viewer.html
	web/viewer.js
2012-04-18 15:02:49 -04:00
Brendan Dahl
cec7a92a99 Merge pull request #1568 from yurydelendik/issue-1557
Fixes annotations; adds text annotation icon
2012-04-18 10:51:13 -07:00
Yury Delendik
72fd078fa1 Fixes page-width mode 2012-04-17 15:53:17 -05:00
Yury Delendik
237e1d941d Fix annotations; add text annotation icon 2012-04-17 15:33:15 -05:00
Artur Adib
d9db7af4c8 fixing Chrome quirks 2012-04-17 14:10:52 -04:00
Yury Delendik
f701a1427a Remove operatorList cache from the backend 2012-04-16 15:23:24 -05:00
Artur Adib
195efa404d removed all old elements; file input & dl work 2012-04-16 15:41:55 -04:00
Yury Delendik
1e96c73207 Fixing concurent draw page requests for de-allocation 2012-04-16 14:13:41 -05:00
Yury Delendik
f0f0418a9c Merge pull request #1547 from merkste/opera-sidebar-button-issue
fix for opera DSK-354448: onclick fired on disabled nodes with opaque co...
2012-04-16 10:49:30 -07:00
Steffen Märcker
e624971e3f lint issue fixed 2012-04-16 19:48:22 +02:00
Steffen Märcker
d3a88411ec corrected comment 2012-04-16 19:23:54 +02:00
Steffen Märcker
548591fcf5 fix for opera DSK-354448: onclick fired on disabled nodes with opaque content 2012-04-16 19:17:49 +02:00
Brendan Dahl
04c8d1454d Add Util functions to PDFJS. 2012-04-16 09:45:49 -07:00
Brendan Dahl
719133a15f Update download image. 2012-04-13 14:17:18 -07:00
Brendan Dahl
a03d2100f5 Fix lint. 2012-04-13 14:16:45 -07:00
Brendan Dahl
a23eda3f4b Merge remote-tracking branch 'upstream/new-ui' into new-ui 2012-04-13 14:15:15 -07:00
Brendan Dahl
cc43117039 Add selection ring around thumbnails. 2012-04-13 14:14:05 -07:00
Artur Adib
e1e41aa792 dropdown menu 2012-04-13 11:13:53 -07:00
Brendan Dahl
f679f0dfe8 Move open after everything is initialized. 2012-04-13 09:33:36 -07:00
Artur Adib
e954a6236f loadingIcon 2012-04-13 08:17:35 -07:00
Artur Adib
d5f296e404 user-changes to pageNumber are working 2012-04-12 17:57:52 -07:00
Artur Adib
d94709c2f0 page number works (not editable yet) 2012-04-12 17:30:13 -07:00
Artur Adib
18211be401 disable user select in outline 2012-04-12 17:21:18 -07:00
Artur Adib
e92656712f outline view 2012-04-12 17:19:57 -07:00
Artur Adib
a8bb575fd8 bug fix (works with intelisa) 2012-04-12 16:38:45 -07:00
Artur Adib
76fce75091 text selection OK, switch outline OK 2012-04-12 16:29:15 -07:00
Yury Delendik
dee158d80c Fix title info for PDF document 2012-04-12 15:56:17 -07:00
Yury Delendik
eba8f5a22c Fix finger print, remove unused code 2012-04-12 15:14:18 -07:00
Artur Adib
8363ca88ad fixing sidebarView scroll bar overflow 2012-04-12 15:13:58 -07:00
Artur Adib
c8695cfa0a sidebar toggle working 2012-04-12 15:08:07 -07:00
Yury Delendik
494fd1ccf9 Fixes make files, removes stats from backend, stepper 2012-04-12 14:02:47 -07:00
Brendan Dahl
7c35f10af8 Fix thumbnail view. 2012-04-12 13:04:03 -07:00
Julian Viereck
e8b18ef167 Really fix the keyboard handling 2012-04-12 08:21:19 -07:00
Julian Viereck
caa3c3fdc4 Fix keyboard mapping in viewer 2012-04-12 08:05:36 -07:00
Brendan Dahl
fd58f04117 Refactor API to be async. 2012-04-11 16:47:42 -07:00
Artur Adib
324ea1d743 first mockup, loads tracemonkey pages OK 2012-04-11 16:12:51 -07:00
Yury Delendik
d61c4f07f8 Initial view bug and rename viewport function 2012-04-11 10:18:29 -07:00
Yury Delendik
2f4423cffb Fixing zoom and rotate issues 2012-04-11 09:42:41 -07:00
Yury Delendik
47c43b5779 Removing the rotatePoint, width, height from the API 2012-04-11 08:29:44 -07:00
Yury Delendik
737ed84174 Initial API implementation 2012-04-09 22:20:57 -07:00
Julian Viereck
12b27044aa Fix bug such that search is updated one a new page arrives + make the search update happen only very 250ms 2012-04-08 16:31:29 -07:00
Julian Viereck
c9fb5637c3 Extract one page after the other and not all pages at once 2012-04-08 16:18:43 -07:00
Julian Viereck
3c77291013 Merge text search with current master 2012-04-08 08:57:55 -07:00
Saebekassebil
025ee3f9af Use Title - Filename as document.title 2012-04-06 14:57:50 +02:00
Yury Delendik
08a241fc4b Convert Unicode strings in the document info (#1458) 2012-04-05 10:40:37 -05:00
gigaherz
2283f0bac1 Decode the filename when assigning to title. 2012-03-31 01:23:53 +02:00
gigaherz
211c63f587 Merge branch 'master' of https://github.com/mozilla/pdf.js into title-mods 2012-03-31 00:48:06 +02:00
Brendan Dahl
0cf43886c5 Merge pull request #1377 from gigaherz/progressbar
Add a Progressbar to the loading indicator
2012-03-30 08:49:29 -07:00
Brendan Dahl
afebc33142 Merge pull request #1413 from saebekassebil/metadata
Metadata Parsing - Setting proper document title
2012-03-28 12:02:16 -07:00
Saebekassebil
10fb0dc383 Use strict and expose in build version 2012-03-28 20:07:37 +02:00
Saebekassebil
102469d20c expose documentInfo in viewer 2012-03-28 19:29:05 +02:00
Saebekassebil
1181ef2778 Fix throwing errors 2012-03-28 19:15:59 +02:00
Saebekassebil
e6277784f1 fix to follow syntax style guidelines 2012-03-27 22:32:35 +02:00
notmasteryet
eda1fe74f4 Remove scrollTo on unload 2012-03-27 11:48:47 -05:00
gigaherz
3280a2bece Unwrap getFileName from the object, avoid issues with / in query/anchor strings, simplify the code to calculate 'end'. 2012-03-27 09:27:54 +02:00
gigaherz
a094dd4746 Simplified the ProgressBar a bit: made the div fixed-size, removed the unnecessary '.remaining' div, used percent size for the '.progress' div. 2012-03-27 09:13:32 +02:00
Saebekassebil
2bb5a9e545 moving \!pdfTitle to front 2012-03-27 00:17:57 +02:00
Saebekassebil
edc1694620 Now also fetch 'Document Info Dictionary', and expose 'raw' metadata attributes 2012-03-26 23:48:04 +02:00
Saebekassebil
20dd225e40 Metadata parsing/serialization 2012-03-24 19:59:51 +01:00
gigaherz
ab46530ff8 Lint fixes. 2012-03-24 15:23:27 +01:00
gigaherz
080a80b716 Better filename cleanup 2012-03-23 21:13:04 +01:00
gigaherz
536519a9a1 Assign the filename to the page title instead of the full URL 2012-03-23 16:26:22 +01:00
gigaherz
ddf3d114d0 Wrong word. 2012-03-22 22:57:42 +01:00
gigaherz
114d2c9ebd Simplified ProgressBar class. Visual tweaks. 2012-03-22 22:54:12 +01:00
gigaherz
ecaf467a13 One more cosmetic tweak and fix 'make lint' complaints. 2012-03-22 00:05:24 +01:00
gigaherz
ce8b0625b1 Cosmetic changes 2012-03-21 23:56:20 +01:00
gigaherz
d2f463bf7c Add a progressbar to the loading indicator, below the text. 2012-03-21 23:36:10 +01:00
Brendan Dahl
abf8fe39ac Only enable pdfDebug for the extension if a pref is set. 2012-03-14 15:34:12 -07:00
Brendan Dahl
b24d647db2 Remove unused span. 2012-03-12 14:15:09 -07:00
Brendan Dahl
41557d62c0 Merge branch 'master' of https://github.com/mozilla/pdf.js into stats 2012-03-12 13:23:33 -07:00
notmasteryet
02711c7610 Fixes unnecessary style attributes in svg 2012-03-07 19:12:05 -06:00
notmasteryet
b870cbad0f Move custom style 2012-03-02 07:11:24 -06:00
Brendan Dahl
d0143cc289 Fix missing bidi for extension. 2012-02-23 09:21:35 -08:00
Artur Adib
676e575a52 Merge pull request #1218 from mozilla/bidi
bidi characters algorithm; separation of the toFontChar and toUnicode
2012-02-23 07:00:48 -08:00
Brendan Dahl
4b887fe1c2 Remove unused variable. 2012-02-21 13:39:04 -08:00
Brendan Dahl
3a824f69d4 Fix the stepper beyond page 1. 2012-02-21 13:37:22 -08:00
Brendan Dahl
e07505ff8d Update stats to use the new pdfBug panel. 2012-02-21 09:52:09 -08:00
Brendan Dahl
de18d1623b Merge branch 'master' of https://github.com/mozilla/pdf.js into stats 2012-02-20 19:37:18 -08:00
notmasteryet
28b4dac2d8 Merge remote-tracking branch 'mozilla/master' into bidi
Conflicts:
	web/viewer.html
2012-02-20 12:41:19 -06:00
notmasteryet
a9226a594c Fixes "invalid 'in' operand destKind" 2012-02-17 18:40:56 -06:00
Brendan Dahl
8d3c63ef07 Use obj instead of array. 2012-02-17 09:49:17 -08:00
Brendan Dahl
c7a90e0421 Fix parse query. 2012-02-17 09:43:50 -08:00
Brendan Dahl
5e818ce04f Merge branch 'master' of https://github.com/mozilla/pdf.js into stats 2012-02-16 18:47:00 -08:00
Artur Adib
1b0bf24322 Merge pull request #1211 from brendandahl/debugger2
Debugging Tools
2012-02-16 11:14:05 -08:00
Brendan Dahl
0f4730c825 Address review comments. 2012-02-16 09:55:09 -08:00
Artur Adib
4147317ec2 Merge pull request #1225 from notmasteryet/pins
Vector pins
2012-02-16 08:38:31 -08:00
notmasteryet
c5c08888bf Merge pull request #1223 from arturadib/issue-1186
Fixes #1186 - Race condition due to fast zooming
2012-02-15 19:13:20 -08:00
notmasteryet
3e6c7693a0 Vector pins 2012-02-15 20:11:08 -06:00
Brendan Dahl
5e04ad5e3a Move special debug flags to the hash section of the url. 2012-02-15 16:03:04 -08:00
Brendan Dahl
f17a1679eb Move debugger to the web folder. 2012-02-15 14:55:16 -08:00
Brendan Dahl
45e3db77f2 Fix the font inspector. 2012-02-15 14:38:18 -08:00
Brendan Dahl
c04ab5fe45 Change name of debugger to stepper. 2012-02-15 14:12:58 -08:00
Brendan Dahl
f54486d8c8 Change how the tools are enabled. 2012-02-15 13:13:07 -08:00
Brendan Dahl
0175f53637 Merge upstream. 2012-02-15 12:56:05 -08:00
Artur Adib
739cfb11ff Closes #1186 2012-02-15 13:26:11 -05:00
Brendan Dahl
ba0267f5ee Merge pull request #1207 from notmasteryet/tree-73
Fixes compatibity.js removal for gh-pages
2012-02-15 09:20:53 -08:00
notmasteryet
6c7e7df6da linting 2012-02-14 23:06:16 -06:00
Brendan Dahl
9fe5eff905 Combining Yury's and my debugging tools. 2012-02-13 17:35:58 -08:00
notmasteryet
feaa8aaa59 Fixes compatibity.js removal for gh-pages 2012-02-13 18:29:48 -06:00
gigaherz
49a208829b Make the pin icons glow a bit. 2012-02-13 18:13:53 +01:00
Adil Allawi
b50cf76ab5 Properly integrate new file bidi.js 2012-02-13 14:56:37 +00:00
Adil Allawi
6902ba51fa Properly support custom CSS properties
Fix comment in bidi
2012-02-13 14:56:37 +00:00
gigaherz
349e0b9d47 Merge branch 'master' of git://github.com/mozilla/pdf.js into sidebar-pinning 2012-02-13 09:35:46 +01:00
Adil Allawi
2bc708305d Fix up bidi algorithm, and set direction of div to match text direction 2012-02-13 02:10:41 +00:00
Adil Allawi
ffa0e082a4 Scale text divs instead of letterspacing 2012-02-12 22:31:30 +00:00
Adil Allawi
5e50825503 Merge commit '38a6cd6f9a4e3f9dc50487a3ca6b312933d9c77d' into bidi 2012-02-11 00:22:04 +00:00
gigaherz
7c3a756457 Forgot to lower a bit the outline view. 2012-02-10 20:35:42 +01:00
gigaherz
418c914199 (I hate myself right now) Reduce pointless differences from the original code. 2012-02-10 20:27:59 +01:00
gigaherz
4e51fa7a02 Whoops. 2012-02-10 20:25:36 +01:00
gigaherz
c24684b8e9 Got rid of the "released" class and made the pin icon depend on the sidebar state. 2012-02-10 20:21:55 +01:00
notmasteryet
cdf1db35fc Using sans-serif instead of loaded fonts; fix IE9 dataset compatibility shim 2012-02-10 12:55:11 -06:00
Adil Allawi
2e1a88f39e Handle bidi ordering of PDF strings 2012-02-10 17:05:09 +00:00
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