Commit Graph

52 Commits

Author SHA1 Message Date
mduan
4f1e94c9f7 Fix bug w/ exception not being passed to error callbacks of a Promise 2013-01-15 11:39:12 -08:00
Brendan Dahl
a79f005527 Fix isDict when type is missing in dictionary. 2013-01-10 16:32:26 -08:00
Yury Delendik
0029b34d45 Refactors getRgb and makeCssRgb calls; reduces amount of created objects 2012-11-29 17:11:51 -06:00
khodzha
18da086b96 fix of combineUrl(baseUrl, url) in case of url - null, empty, undefined + unittests 2012-11-24 04:25:49 +04: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
Clement Skau
5edd6d253f Fixes Viewport rotation above 360 2012-10-11 00:27:35 +09:00
Yury Delendik
bc19b5581e Removes usage of print as log 2012-10-04 10:01:53 -05: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
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
af4bd10c70 Allow relative URLs in getDocument 2012-07-26 12:11:28 -05:00
Yury Delendik
0dd445bf18 Fixes unit tests and adds few for util.js 2012-06-23 15:35:59 -05:00
Yury Delendik
00f1d6dbf1 Fetches pdf data in the worker 2012-06-23 14:48:33 -05:00
Brendan Dahl
2ba7cbc4fa Merge pull request #1766 from yurydelendik/encryptmeta
Suppress metadata decryption
2012-05-29 09:44:24 -07:00
Nils Maier
40b9be137f Decode XML metadata as UTF-8
XML uses UTF-8 by default, which needs to be decoded to a Javascript
String prior to feeding it to the DOMParser.
In an ideal world, the XML would actually be analyzed and the specified
charset would be used, however that does not seem feasible unless JS
engines get iconv bindings.

Fixes GH-1692
2012-05-27 22:56:49 +02: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
Jakob Miland
b655b414d8 PasswordException in closure 2012-05-17 21:34:39 +02: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
0a30d3961b Support password and add the relevant l10n strings 2012-05-14 20:45:07 +02:00
Kalervo Kujala
889b3d3168 Correct class method names. 2012-05-01 20:48:07 +03:00
Brendan Dahl
04c8d1454d Add Util functions to PDFJS. 2012-04-16 09:45:49 -07:00
Yury Delendik
b312719d7e Fixes test driver and examples 2012-04-12 08:23:38 -07:00
Yury Delendik
d61c4f07f8 Initial view bug and rename viewport function 2012-04-11 10:18:29 -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
Kalervo Kujala
99440ab691 Refactor class method names.
Also move functionality to more logical place in canvas.js and jpx.js.
2012-04-04 23:43:26 +03:00
theredspatula
6f61b52943 Line 405 : 'errorback' should have been 'errback' 2012-03-15 11:59:32 -07:00
Brendan Dahl
e07505ff8d Update stats to use the new pdfBug panel. 2012-02-21 09:52:09 -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
048e40b869 Fixes #1155 2012-02-14 14:48:58 -05: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
Artur Adib
c49e9ec07a Merge remote-tracking branch 'mozilla/master' into issue1133
Conflicts:
	src/util.js
	test/test_manifest.json
2012-02-06 16:11:52 -08:00
Artur Adib
0fc6c03956 Lab color space, closes #1133 2012-02-01 17:48:44 -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
Kalervo Kujala
66e3441e0e Change throws to errors. 2012-01-24 22:10:16 +02:00
Artur Adib
5c8753dcba Fixing regression errors, better logic 2012-01-23 15:23:09 -05:00
Brendan Dahl
bd6d89e1a8 Start of the benchmark recording framework. 2012-01-11 16:48:51 -08:00
Brendan Dahl
dddcb9c91b Add error backs for promises. 2012-01-04 16:13:53 -08:00
Julian Viereck
0c22e5d653 Make sure resolving the promise sets some data 2012-01-02 20:02:20 +01:00
Brendan Dahl
176452c988 Style nits. 2011-12-12 09:26:24 -08:00
Brendan Dahl
4c01766278 Merge upstream. 2011-12-11 21:13:53 -08:00
Brendan Dahl
683f64d54f Use promises to track completion of decoding. 2011-12-11 16:56:45 -08:00
Kalervo Kujala
1ef4c94de2 Name all constructors. 2011-12-09 00:18:43 +02:00
Artur Adib
2c3991f8b0 More progress, workers working 2011-11-02 15:11:33 -04:00
Kalervo Kujala
7e762169cf Name a few anonymous functions.
Also rename some functions.
2011-10-29 13:20:48 +03:00
Ionuț G. Stan
56789aea47 Fix lint errors
Single quotes instead of double quotes
2011-10-29 01:26:55 +03:00
Ionuț G. Stan
b7573709c2 Merge branch 'master' of https://github.com/andreasgal/pdf.js
Conflicts:
	pdf.js
2011-10-28 14:34:56 +03:00
Kalervo Kujala
7e6a589074 Fix js strict warning in worker.js.
Also fix a few minor nits.
2011-10-27 21:51:10 +03:00