Commit Graph

6399 Commits

Author SHA1 Message Date
Jonas Jenwald
4c9c43f82b Modify {get, set}Preferences in PdfStreamConverter.jsm to support async 2014-04-03 10:17:35 +02:00
Jonas Jenwald
c920372ff2 Rewrite 'Preferences' to make it async 2014-04-03 10:08:33 +02:00
Yury Delendik
bd11111465 Merge pull request #4545 from Rob--W/crx-api-enhancements
Use new Chromium APIs for FTP and redirects
2014-04-02 09:40:13 -05:00
Yury Delendik
75d09fd820 Merge pull request #4524 from fkaelberer/fullWidthInPresentationMode
Use full screen width in presentation mode
2014-04-02 09:03:37 -05:00
Yury Delendik
9b0038f5e2 Merge pull request #4546 from Snuffleupagus/document-properties-wait-for-data
Prevent the Document Properties from being empty when the dialog is opened before the file has started loading
2014-04-02 08:53:39 -05:00
Yury Delendik
aa01b576e0 Merge pull request #4554 from yurydelendik/winkill
Better test process killing for Windows
2014-04-02 08:49:26 -05:00
Yury Delendik
34f0f0962f Merge pull request #4539 from Snuffleupagus/issue-4537
Workaround for missing 'Rect' entry in annotation dictionaries (issue 4537)
2014-04-02 08:05:52 -05:00
Yury Delendik
20f6dedea7 Merge pull request #4512 from fkaelberer/cleanUpStringConversion
Clean up duplicate string conversion functions
2014-04-02 08:04:06 -05:00
Yury Delendik
d7174582c0 Better test process killing for Windows 2014-04-02 08:02:40 -05:00
Yury Delendik
dc0e60d103 Merge pull request #4535 from Snuffleupagus/issue-4484
Avoid drawing text when the font size is zero (issue 4484)
2014-04-02 07:23:43 -05:00
Jonas Jenwald
edfc78dfe7 Only update the Document Properties if the dialog is still visible when the dataAvailablePromise is resolved 2014-04-02 11:55:35 +02:00
Jonas Jenwald
c7a0b68d9a Remove superfluous 'self' variable from web/document_properties.js 2014-03-31 23:16:44 +02:00
Jonas Jenwald
025f340228 Prevent the Document Properties from being empty when the dialog is opened before the file has started loading 2014-03-31 23:12:48 +02:00
Samuel Chantaraud
50aa49bb06 Added CSS rules to allow smooth (momentum) scrolling on iOS devices 2014-03-31 11:09:18 -04:00
Yury Delendik
b97127aca2 Merge pull request #4542 from fkaelberer/typoInSpliceString
Fix typo/unused argument in fontloader.js->spliceString()
2014-03-31 09:37:26 -05:00
Yury Delendik
6cf5455c02 Merge pull request #4543 from yurydelendik/winlint
Fixes lint for windows; adds test/font/fontutils.js
2014-03-31 09:35:50 -05:00
Yury Delendik
63f438006b Fixes lint for windows; adds test/font/fontutils.js 2014-03-31 08:50:53 -05:00
Yury Delendik
3e71b3a5fa Merge pull request #4541 from yurydelendik/chrometest
Cools down Chrome/Windows during testing
2014-03-31 08:12:37 -05:00
Yury Delendik
7075032cc8 Merge pull request #4521 from Snuffleupagus/issue-4260
Assign non-zero width/height to all rectangles (issue 4260)
2014-03-31 08:08:39 -05:00
fkaelberer
4ee35b0d46 Fix typo/unused argument in fontloader.js->spliceString() 2014-03-31 14:48:23 +02:00
Yury Delendik
4d3b15a486 Cools down Chrome/Windows during testing 2014-03-31 07:46:11 -05:00
Jonas Jenwald
772df5e0cb Workaround for missing 'Rect' entry in annotation dictionaries (issue 4537) 2014-03-31 12:07:54 +02:00
Jonas Jenwald
08eb9a960a Avoid drawing text when the font size is zero (issue 4484) 2014-03-30 13:36:21 +02:00
Rob Wu
ae32f31eb4 Use redirectUrl at onHeadersReceived if available.
http://crbug.com/280464 has been resolved, so we can now use redirectUrl at
onHeadersReceived.
For backwards-compatibility, the code for the original method has not been
removed, and a feature detection script was added that detects whether the
desired feature is available.
2014-03-30 00:25:37 +01:00
Rob Wu
d04f81b964 Improved FTP support for Chromium extension 2014-03-30 00:08:02 +01:00
fkaelberer
db84851e27 Use full screen width in presentation mode 2014-03-28 08:58:18 +01:00
Jonas Jenwald
7d5bf83ce8 Fix typo in test/ttx/README.md 2014-03-28 00:05:22 +01:00
Jonas Jenwald
7989c125ba Merge pull request #4529 from stratosv/patch-1
Fix error message typo
2014-03-27 23:54:33 +01:00
Brendan Dahl
19a548ef0d Merge pull request #4515 from yurydelendik/nodetest
Replaces test.py with test.js
2014-03-27 13:44:12 -07:00
Brendan Dahl
a06fca142e Merge pull request #4519 from yurydelendik/pdfbugclean
Cleaning up the viewer and pdfbug; fixes bugs in Stepper
2014-03-27 13:27:15 -07:00
Stratos Voukelatos
6a8c998ebd Fix error message typo
It should read 'PDFFindController cannot be initialized without a PDFFindBar instance'.
2014-03-27 21:43:58 +02:00
Jonas Jenwald
4ead351104 Merge pull request #4527 from yurydelendik/revert3641
Partially reverts #3641
2014-03-27 18:13:31 +01:00
Yury Delendik
17eded9065 Partially reverts #3641 2014-03-27 10:50:42 -05:00
Yury Delendik
5a13fd1250 Merge pull request #4525 from Snuffleupagus/firefox-move-module-import
[Firefox] Only load 'PdfStreamConverter' and 'PdfRedirector' when PDF.js is enabled
2014-03-27 10:19:25 -05:00
Jonas Jenwald
3fee5345b9 [Firefox] Only load 'PdfStreamConverter' and 'PdfRedirector' when PDF.js is enabled 2014-03-27 16:01:13 +01:00
fkaelberer
c978c026fa clean up string conversion functions 2014-03-27 13:01:43 +01:00
Yury Delendik
5fc806823e Merge pull request #4504 from timvandermeij/importl10n
Import l10n files from mozilla-aurora
2014-03-26 17:52:45 -05:00
Tim van der Meij
eda3fbe994 Importing all locales from mozilla-aurora, keeping our own metadata.inc files 2014-03-26 23:48:04 +01:00
Tim van der Meij
d2127174c2 Removing translations not present in Aurora: they will be replaced in the next commit with proper language codes 2014-03-26 23:48:02 +01:00
Tim van der Meij
c6f009403d Implements importl10n command 2014-03-26 23:48:02 +01:00
Jonas Jenwald
7e7b728b5d Assign non-zero width/height to all rectangles (issue 4260) 2014-03-26 22:29:04 +01:00
Yury Delendik
ed8ecfd00a Cleaning up the viewer and pdfbug; fixes repeats in Stepper 2014-03-26 15:18:53 -05:00
Yury Delendik
1d0286f6a1 Update util.js
Fixes comments for preprocessor
2014-03-26 13:19:10 -05:00
Yury Delendik
e80c6a8a75 Merge pull request #4466 from p01/Faster_1BPP_image_drawing
Faster 1 bpp image drawing
2014-03-26 10:32:05 -05:00
Yury Delendik
483fc9faa0 Merge pull request #4518 from Snuffleupagus/firefox-include-default-preferences
[Firefox] Stop importing default_preferences.js as a module and include it instead
2014-03-26 10:04:21 -05:00
Yury Delendik
31f081ae17 Doesn't traverse cyclic references in Dict.getAll; reduces empty-Dict garbage 2014-03-26 09:07:38 -05:00
p01
4e6ebf2de0 Optimized putBinaryImageData for GRAYSCALE_1BPP
The following changes make putBinaryImageData 2.2x faster.

* Use a Uint32Array to draw whole pixels instead component by component

* Unroll the inner most loop

* Added lazy PDFJS.hasCanvasTypedArrays, PDFJS.isLittleEndian and compatibility
Uint32ArrayView for browsers using the old CanvasPixelArray
2014-03-26 14:05:59 +01:00
Yury Delendik
9a36184dfa Merge pull request #4511 from prometheansacrifice/parsing-goodytwoshoes-pdf
Fix for #3181: jbig2 encoding for number of instances greater than 1
2014-03-26 07:28:06 -05:00
Yury Delendik
26d57a5c9c Merge pull request #4517 from yurydelendik/jpgjs24
Fixes for small colour variations in tests
2014-03-25 20:38:14 -05:00
Thorben Bochenek
7bf0987810 Fixes for small colour variations in tests
https://github.com/notmasteryet/jpgjs/pull/24
2014-03-25 19:04:02 -05:00