Brendan Dahl
ec311f303b
Use white backdrop when possible.
2013-03-29 13:26:25 -07:00
Brendan Dahl
5c43565404
Hack to support automatic printing from pdf javascript.
2013-02-28 15:29:07 -08:00
j
cd42ccd439
add imageLayer
...
add optional imageLayer object to access images and there
position and size as they are rendered on the canvas.
2013-02-11 00:20:27 +05:30
Yury Delendik
d5f65f5431
Fixes text search for "secured" documents
2013-02-07 18:15:39 -06:00
Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
2013-02-02 16:49:19 -06:00
vyv03354
724add2ffd
Make an effort to adhere the spec 7.6.3.2
2013-02-02 02:09:12 +09:00
Jon Buckley
c67d9d40b8
Issue #2008 - Fix lint errors for src/api.js
2013-01-31 19:12:44 -05:00
Bill Walker
12af2f9431
fix for #2219 , "provide a better error message when file= not found/accessible"
...
summary: create a new Exception class for missing PDF's, use it in place of generic
add new MissingPDFException to util.js
handle MissingPDF in api.js
handle MissingPDF in viewer.js, using new missing_file_error message
add new missing_file_error to l10n/en-US/viewer.properties
send MissingPDF from WorkerMessageHandler's loadDocument
send MissingPDF from GetDocRequest handler
2013-01-29 13:17:04 -08:00
Yury Delendik
3346c284ab
Excluding Type3 fonts from the check; removing dead code
2012-11-30 17:31:22 -06:00
Yury Delendik
5dc87a7fca
Detecting if web fonts are disable in Firefox.
2012-11-30 17:08:19 -06:00
Brendan Dahl
babd8df176
Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code.
2012-10-29 12:44:18 -07:00
Yury Delendik
69b72078c0
Separate page objects/images from the fonts; does not store large images
2012-10-28 15:24:54 -05:00
Piotr Zalewa
812bc6795d
* InvalidPDFException added
...
* Act on throwing an Exception and InvalidPDFException by rejecting the worker
instead of throwing
* changed message for all builds
* alerting and closing window only for B2G builds
* invalid_file_error added to l10n (en and pl)
* UnknownErrorException added and used for every error()
2012-10-25 11:15:19 +02:00
Brendan Dahl
739ee47865
Use Blob constructor when available instead of deprecated MozBlobBuilder.
2012-09-22 09:44:49 -07:00
Yury Delendik
75e928c102
Merge pull request #2058 from Pimm/master
...
Small fixes for normal and potential post-compilation bugs
2012-09-20 11:36:55 -07:00
Yury Delendik
9fba150dd2
Move font translation to the worker
2012-09-12 17:31:04 -07:00
Brendan Dahl
76d877e48b
Strip out license for bundled version.
2012-09-04 10:22:32 -07:00
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
2012-08-31 15:48:21 -07:00
Pimm Hogeling
0fbbc5a840
Syntax changed that will help minifiers/compilers (such as the Closure Compiler) in their processing. In particular, preventing said minifiers/compilers from making dangerous renames.
2012-08-31 13:40:37 +02:00
Yury Delendik
621686ca67
Fixes incorrect font type and prevents future this.objs.objs[fonts[i]] failures
2012-08-29 16:11:56 -05:00
Brendan Dahl
492fa6edb4
Add the new preprocessor.
2012-08-01 11:55:39 -07:00
Yury Delendik
af4bd10c70
Allow relative URLs in getDocument
2012-07-26 12:11:28 -05:00
Yury Delendik
7a0e91af4b
removes expandUrl(url); fixes error message
2012-07-19 16:10:26 -05:00
Yury Delendik
f199a8b19e
Fixes merge with 1849
2012-06-28 05:33:32 -05:00
Yury Delendik
eb863b2298
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into loadpdf-1
...
Conflicts:
src/api.js
2012-06-28 05:26:16 -05:00
Yury Delendik
665ff0d36f
Merge pull request #1849 from kingsquare/master
...
Fix for web worker test in Safari
2012-06-28 03:05:04 -07:00
Tim de Koning
17c1018eef
lint compliance
2012-06-27 11:14:14 +02:00
Tim de Koning
0c33615301
Fixing web worker feature detection for Safari
2012-06-26 23:07:37 +02:00
Yury Delendik
0b1111f368
Cleanup: removing main thread loading fallback code
2012-06-23 15:49:17 -05:00
Yury Delendik
00f1d6dbf1
Fetches pdf data in the worker
2012-06-23 14:48:33 -05:00
Brendan Dahl
3c874c9bb7
Change to priority rendering.
2012-06-18 09:48:47 -07:00
Brendan Dahl
6175e4b526
Use already downloaded data for the open with/save as dialog.
2012-06-01 14:17:09 -07:00
Artur Adib
9597efb3f4
merge upstream
2012-05-29 11:54:11 -04:00
Brendan Dahl
2da12930a6
Merge branch 'master' of github.com:mozilla/pdf.js into fallback-ui
...
Conflicts:
extensions/firefox/components/PdfStreamConverter.js
2012-05-24 14:01:10 -07:00
Artur Adib
0bac4abcb5
Merge branch 'master' of github.com:mozilla/pdf.js into textsearch
2012-05-16 12:51:19 -04:00
Brendan Dahl
080c3e79fc
Merge upstream. Use new l10n.
2012-05-15 10:33:01 -07:00
Brendan Dahl
034583e1a1
Add new severity log info(). Change severity of some log messages. Trigger fallback on errors and warnings for extension.
2012-05-14 17:19:09 -07:00
Jakob Miland
45d6daa853
Wrong variable name, fix
2012-05-14 20:58:56 +02:00
Jakob Miland
0a30d3961b
Support password and add the relevant l10n strings
2012-05-14 20:45:07 +02:00
Artur Adib
2d3ed7fc78
Merge branch 'refs/heads/master' into textsearch
...
Conflicts:
web/viewer.css
web/viewer.html
web/viewer.js
2012-05-08 17:22:48 -04:00
beat
e11cad884c
code style fixes
2012-05-08 14:17:51 +02:00
beat
7786e4fefb
Make authentication work
2012-05-07 09:17:00 +02:00
asraniel
353a43cb46
Add first API change, not working yet
2012-05-06 21:24:42 +02:00
Kalervo Kujala
117256ce78
Correct PDFDocumentProxyClosure name.
2012-05-01 20:54:16 +03:00
Kalervo Kujala
889b3d3168
Correct class method names.
2012-05-01 20:48:07 +03:00
Brendan Dahl
92d0d1d694
Merge new API and text search.
2012-04-20 16:49:08 -07:00
Yury Delendik
cff6c8db08
skip cached objects and has consistent font ids
2012-04-16 21:42:05 -05:00
Yury Delendik
b6edbb38c1
Fixes content stream reset; terminating rendering when destroyed
2012-04-16 16:46:26 -05:00
Yury Delendik
32684fe324
Change render status logic
2012-04-16 16:19:45 -05:00
Yury Delendik
0380d408e0
Fixes comment
2012-04-16 15:28:34 -05:00