Commit Graph

5309 Commits

Author SHA1 Message Date
Yury Delendik
8ee9db45ef Fixes ASCIIHex decoding 2013-07-11 13:33:29 -05:00
Brendan Dahl
d71948038f Merge pull request #3439 from yurydelendik/smask-preblend
Takes SMask's preblending in account
2013-07-09 13:26:44 -07:00
Brendan Dahl
c17f90e1aa Merge pull request #3406 from Snuffleupagus/remove-old-moz-prefixes
Remove old -moz prefixed rules from viewer.css
2013-07-09 13:13:20 -07:00
Yury Delendik
e67b9a7f17 Merge pull request #3441 from brendandahl/less-cache
Remove caching of stream data and fix object loader for streams.
2013-07-09 13:01:54 -07:00
Yury Delendik
666da95b37 Merge pull request #3450 from brendandahl/fix-mimetype-check
Bug 879161 - Fix pdf.js mimetype check.
2013-07-09 10:01:18 -07:00
Yury Delendik
160403197b Merge pull request #3447 from Rob--W/chrome-arrow-keys-3443
Allow scrolling by keyboard in Chrome/Opera
2013-07-09 07:44:01 -07:00
Yury Delendik
940415b32c Merge pull request #3454 from Rob--W/configurable-images-directory
Configurable IMAGE_DIR for annotations to get svg images to show up in Chromium extension
2013-07-09 07:37:58 -07:00
Rob Wu
cc04cf5d1f Configurable IMAGE_DIR for annotations
The Chrome extension activates PDF.js by inserting the script tags
in a document whose URL and location origin is identical to the PDF
file.
Because of this, the path './images/' was resolved relatively to the
location of the PDF file instead of the extension.

To fix this, the IMAGE_DIR constant is moved outside the local scope,
to allow extensions/chrome/insertviewer.js to override the value.

Originally, the IMAGE_DIR variable was a global variable, but commit
f8f4b3f45d moved the global variable
to the local scope, causing the extension to malfunction.

Impact: low, the only consequence is that some rarely used images
were not visible.

Trivial test:
At the center of page 2, the annotation icon
(images/annotation-comment.svg) should be visible:
http://linorg.usp.br/CTAN/macros/latex/contrib/pdfcomment/doc/pdfcomment.pdf
2013-07-09 16:24:25 +02:00
Brendan Dahl
b0f78609b3 Merge pull request #3386 from yurydelendik/ttf-refactor
Refactoring of TrueType code and implementation of OpenType font repairing
2013-07-08 22:11:31 -07:00
Yury Delendik
48146745b9 Tests for OpenType fonts 2013-07-08 21:11:07 -05:00
Brendan Dahl
7eae88669a Bug 879161 - Fix pdf.js mimetype check. 2013-07-08 11:09:50 -07:00
Rob Wu
4a2eefe1b6 Allow scrolling by keyboard in Chrome/Opera
Set "tabindex" attribute to allow focus;
Added "outline: none" to prevent focus ring from appearing.

Fixes #3443
2013-07-06 15:37:03 +02:00
Brendan Dahl
09aafa830b Remove caching of stream data and fix object loader for streams. 2013-07-03 14:29:38 -07:00
Yury Delendik
419bee1314 Takes SMask's preblending in account 2013-07-02 14:27:06 -05:00
Yury Delendik
81fa4a0d93 Merge pull request #3428 from yurydelendik/enforce-trailing
Enforces trailing spaces
2013-07-01 09:29:31 -07:00
Yury Delendik
3461d02d05 Enforces trailing spaces 2013-07-01 11:25:46 -05:00
Yury Delendik
121c183db1 Fail if other font types are found 2013-07-01 08:53:28 -05:00
Yury Delendik
6dc4b10b40 Implements reparing of CFF table 2013-07-01 08:53:28 -05:00
Yury Delendik
ba87d2fe11 Merge pull request #3373 from SSk123/master
rotation causes textLayer to get messed up
2013-06-29 17:24:12 -07:00
Srishti
ee0705bcce Reset Path 2013-06-30 04:22:25 +05:30
Srishti
21a8d62624 Fixes Text rotation issue #2095 2013-06-30 03:52:30 +05:30
Yury Delendik
d8681b20a3 Merge pull request #3415 from benbro/master
Add IE 11 to the text/html data URI shim
2013-06-29 13:58:36 -07:00
benbro
74ee295812 Add IE 11 to the text/html data URI shim 2013-06-29 23:43:41 +03:00
Brendan Dahl
4e831233a4 Merge pull request #3408 from brendandahl/fix-multiresolution
[B2G] UI tweak for multi-resolution devices support on B2G
2013-06-28 10:11:18 -07:00
Brendan Dahl
aafb5d44ae Make the progress bar small and on the top. 2013-06-28 09:59:47 -07:00
Jonas
d417ef9a39 Remove old -moz prefixed rules from viewer.css 2013-06-28 17:21:07 +02:00
Yury Delendik
dd1db8322f Merge pull request #3402 from brendandahl/readme-update
Update and cleanup readme.
2013-06-27 20:48:41 -07:00
Yury Delendik
b79cc690fc Merge pull request #3399 from Snuffleupagus/change-page-shift+space
Enable changing page using Shift+Spacebar in presentation mode
2013-06-27 20:43:15 -07:00
Yury Delendik
b421b504c3 Merge pull request #3397 from brendandahl/notdef
Fix notdef typo.
2013-06-27 20:18:34 -07:00
Brendan Dahl
5781eb9c44 Merge pull request #3394 from yurydelendik/test-password
Enables testing with password
2013-06-27 17:34:14 -07:00
Brendan Dahl
c065b817f3 Merge pull request #3390 from yurydelendik/jpgjs-2
Implements FFC1 marker (and syncs with jpgjs)
2013-06-27 16:24:12 -07:00
Brendan Dahl
735e83686b Update and cleanup readme. 2013-06-27 16:22:20 -07:00
Brendan Dahl
f06dadab3b Merge pull request #3376 from yurydelendik/bad-pdfs
Misc fixes for corrupted PDFs
2013-06-27 15:33:06 -07:00
Brendan Dahl
a0528a5ea8 Merge pull request #3375 from yurydelendik/bug867484
Fixes missing compressed object detection
2013-06-27 13:36:53 -07:00
Brendan Dahl
07fb66dcb4 Merge pull request #3391 from brendandahl/font-cache
Cache fonts by reference.
2013-06-27 13:33:09 -07:00
Brendan Dahl
c71a37d150 Merge pull request #3401 from brendandahl/bump-timeout
Increase browser timeout.
2013-06-27 11:57:44 -07:00
Brendan Dahl
b897020c4b Increase browser timeout. 2013-06-27 10:46:45 -07:00
Jonas
94be9c07f1 Enable changing page using Shift+Spacebar in presentation mode 2013-06-26 22:46:34 +02:00
Brendan Dahl
6d34d422ae Fix notdef typo. 2013-06-26 09:53:51 -07:00
Yury Delendik
27c8291ea1 Adds test for issue 3371 and enables testing with password. 2013-06-25 19:56:47 -05:00
Yury Delendik
8561d2646b Merge pull request #3393 from brendandahl/no-resources
Handle annotations with no resources.
2013-06-25 16:40:03 -07:00
Brendan Dahl
510387f551 Merge pull request #3378 from yurydelendik/aes-padding
Removes AES padding
2013-06-25 15:25:10 -07:00
Brendan Dahl
b22bc2daa5 Merge pull request #3374 from yurydelendik/ei-search
Improves search of EI (end of inlined image)
2013-06-25 15:19:41 -07:00
Yury Delendik
c099d6ba94 Removes AES padding 2013-06-25 16:47:44 -05:00
Brendan Dahl
e62ab300f1 Handle annotations with no resources. 2013-06-25 14:22:03 -07:00
Yury Delendik
71c67976af Implements FFC1 marker (and syncs with jpgjs) 2013-06-25 12:35:34 -05:00
Brendan Dahl
a8ad07ccbf Cache fonts by reference. 2013-06-25 10:33:53 -07:00
Yury Delendik
d744be4af7 Merge pull request #3385 from Snuffleupagus/history-check-browser-support
Check if the browser supports manipulation of the history
2013-06-24 19:01:27 -07:00
Yury Delendik
2dc603a3a9 Merge pull request #3387 from yurydelendik/preserve-pdfjs
Preserving PDFJS in the generic builds
2013-06-24 18:57:15 -07:00
Yury Delendik
04a7b036ec Preserving PDFJS in the generic builds 2013-06-24 20:55:12 -05:00