Commit Graph

335 Commits

Author SHA1 Message Date
Artur Adib
0d248a05a1 Merge branch 'new-ui' of github.com:mozilla/pdf.js into new-ui 2012-04-25 17:33:06 -04:00
Artur Adib
f06ca00e1c progress bar matches new UI 2012-04-25 17:32:26 -04:00
Brendan Dahl
c4189b46f3 Move sidebar open class. 2012-04-25 13:46:17 -07:00
Brendan Dahl
e0aa43af37 Fix lint. 2012-04-25 12:15:53 -07:00
Brendan Dahl
cce830bf62 Merge upstream. 2012-04-25 11:53:59 -07:00
Brendan Dahl
50088867c0 Remove flex box. Add side animation. Add dashed line around unload thumbnails. 2012-04-25 11:34:28 -07:00
Artur Adib
ffe3dbfc8f minor fixes 2012-04-25 14:10:53 -04:00
Artur Adib
31a757e301 "Page: 1 of 14" 2012-04-25 11:32:37 -04:00
Brendan Dahl
c55dade357 Clear out the stored text extraction on load. 2012-04-24 14:02:13 -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
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
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
Brendan Dahl
04c8d1454d Add Util functions to PDFJS. 2012-04-16 09:45:49 -07:00
Brendan Dahl
a03d2100f5 Fix lint. 2012-04-13 14:16:45 -07:00
Brendan Dahl
cc43117039 Add selection ring around thumbnails. 2012-04-13 14:14:05 -07:00
Brendan Dahl
f679f0dfe8 Move open after everything is initialized. 2012-04-13 09:33:36 -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
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
c8695cfa0a sidebar toggle working 2012-04-12 15:08:07 -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
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
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
41557d62c0 Merge branch 'master' of https://github.com/mozilla/pdf.js into stats 2012-03-12 13:23:33 -07: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
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
5e04ad5e3a Move special debug flags to the hash section of the url. 2012-02-15 16:03:04 -08:00
Brendan Dahl
45e3db77f2 Fix the font inspector. 2012-02-15 14:38:18 -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
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
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
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
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
bbd2bc37d6 Ran make lint and fixed the issues it complained about. 2012-02-07 16:11:51 +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
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