Commit Graph

6287 Commits

Author SHA1 Message Date
Yury Delendik
adca8d4291 Rejects invalid fpgm table when too many functions 2014-03-02 15:40:48 -06:00
fkaelberer
583ca3b162 Fix parsing of JP2 images 2014-03-02 22:15:40 +01:00
Yury Delendik
1824326995 Merge pull request #4266 from peerlibrary/jshint-version
Updated to current latest stable version of jshint
2014-03-01 20:09:09 -06:00
Mitar
2c82e720b8 Updated to current latest stable version of jshint. 2014-03-01 13:31:25 -08:00
Jonas Jenwald
08687ee9f1 Add 'registered' and 'trademark' to mapPrivateUseChars (bug 925985) 2014-03-01 21:01:33 +01:00
Yury Delendik
5c40d686d4 Merge pull request #4357 from d3x7r0/master
Allow a url to omit the protocol
2014-02-28 14:32:19 -06:00
Yury Delendik
a9caf97f85 Merge pull request #4348 from bthorben/refactor/obj.js/2
Refactor XRef in obj.js
2014-02-28 13:19:33 -06:00
Yury Delendik
b01301c7ba Merge pull request #4324 from fkaelberer/FasterJBIG2decoding
Faster JBIG2 decoding
2014-02-28 12:54:36 -06:00
Yury Delendik
f8ff93965e Merge pull request #4361 from brendandahl/remove-unused-code
Remove unused calculation from bad merge.
2014-02-28 12:48:24 -06:00
Brendan Dahl
a77efa0587 Remove unused calculation from bad merge. 2014-02-28 09:58:07 -08:00
Luís Nabais
220a8e4f0e Fix the combineUrl function
* Allow a url to omit the protocol and use the same protocol as the
* current page
2014-02-28 17:25:46 +00:00
Yury Delendik
81855b2935 Merge pull request #4344 from brendandahl/remove-embed-font
Remove embeddedFontsUsed from API.
2014-02-28 07:17:30 -06:00
Thorben Bochenek
f2f713bf15 Refactor XRef in obj.js
- remove unused "if (e instanceof Stream)" in XRef_fetch
- split XRef_fetch into XRef_fetchUncompressed and XRef_fetchCompressed
This explains the actual code flow better
- add line breaks after functions
- change the document to conform to current StyleGuide
2014-02-28 14:00:54 +01:00
fkaelberer
abcc72a173 Faster JBIG2 decoding 2014-02-28 10:53:09 +01:00
Nicholas Nethercote
1ec3c341cc Put mask data to the canvas in small slices. 2014-02-27 21:48:55 -08:00
Nicholas Nethercote
fdb7c218da Use a cache to minimize the number of Name objects. 2014-02-27 20:41:03 -08:00
Brendan Dahl
b8f7bcaf02 Use only one resource url for moz central build. 2014-02-27 14:11:39 -08:00
Brendan Dahl
ce9e9e6ff7 Remove embeddedFontsUsed from API. 2014-02-27 14:06:03 -08:00
Yury Delendik
cab5d7b96f Merge pull request #4333 from dferer/requirable-viewer
Made viewer's webViewerLoad callable from outside viewer.js
2014-02-27 12:44:08 -06:00
Yury Delendik
4763e3fe51 Merge pull request #4346 from p01/patch-2
Fill the initial JBIG2 buffer with 0xFF only if defaultPixelValue is set
2014-02-27 12:01:20 -06:00
Yury Delendik
a120163dc4 Merge pull request #4345 from p01/patch-1
Skip the Math.sqrt for clamped values in convertToRgb
2014-02-27 11:52:20 -06:00
Samuel Chantaraud
dcb174ed58 Made viewer's webViewerLoad callable from outside viewer.js
To allow manual triggering when DOMContentLoaded can not be relied upon.
2014-02-27 13:45:02 -04:00
Mathieu 'p01' Henri
e786649d2a Skip the Math.sqrt for clamped values in convertToRgb
No need to compute the square root of clamped values.
Only the values in the range ]0,1[ need to be processed.
2014-02-27 17:44:40 +01:00
Mathieu 'p01' Henri
135660c8ba Fill the initial JBIG2 buffer with 0xFF only if defaultPixelValue is set
Per the TypedArray specification, ArrayBuffers are initialized with zeros.

http://www.khronos.org/registry/typedarray/specs/latest/#5
2014-02-27 17:43:21 +01:00
Yury Delendik
4285642ec8 Merge pull request #4350 from Rob--W/save-as-saves-pdf
Ctrl/cmd + S = save PDF instead of viewer.html
2014-02-27 09:30:00 -06:00
Rob Wu
3f96d0dabb Ctrl/cmd + S = save PDF instead of viewer.html 2014-02-27 16:21:47 +01:00
Yury Delendik
7657011985 Merge pull request #4342 from timvandermeij/retina
Implement Retina assets
2014-02-26 15:27:11 -06:00
Tim van der Meij
f281669151 Implement Retina assets 2014-02-26 22:22:38 +01:00
Yury Delendik
9c4101b51a Merge pull request #4335 from dferer/locales-handling
Correct formatting of locale id before submitting to l10n
2014-02-26 14:31:17 -06:00
Samuel Chantaraud
cbc9ad3cb6 Correct formatting of locale to make it compatible with l10n (safari issue) 2014-02-26 16:09:58 -04:00
Brendan Dahl
d0f87457d7 Merge pull request #4331 from nnethercote/cleanups
Minor clean-ups
2014-02-26 12:06:13 -08:00
Brendan Dahl
6cce1e44dd Merge pull request #4292 from Snuffleupagus/issue-4232
Fix wrong page being displayed when entering/exiting Presentation mode with zoom set to 'page-fit'
2014-02-26 11:43:42 -08:00
Tim van der Meij
544dce82e1 Merge pull request #4341 from Snuffleupagus/issue-4224-followup
Fix spacebar scrolling in Firefox (4224 follow-up)
2014-02-26 20:30:58 +01:00
Jonas Jenwald
4ee1fb7956 Fix spacebar scrolling in Firefox (4224 follow-up) 2014-02-26 20:17:58 +01:00
Brendan Dahl
0af0c6c99d Merge pull request #4229 from Rob--W/crx-stream-progress
Get progress bar for PDF streams in Chromium by passing the expected content length to the page
2014-02-26 11:12:34 -08:00
Brendan Dahl
890752680b Merge pull request #4224 from Rob--W/shortcut-responsiveness
Focus container when arrow/navigation keys are pressed
2014-02-26 10:52:17 -08:00
Yury Delendik
4f0dccb15d Merge pull request #4340 from nnethercote/getRgb
Share ColorSpace.getRgb() between all sub-classes.
2014-02-26 09:20:18 -06:00
Nicholas Nethercote
c4fab2f234 Share ColorSpace.getRgb() between all sub-classes. 2014-02-26 05:51:29 -08:00
Nicholas Nethercote
42cbb5b440 Introduce ImageKind constants. 2014-02-25 15:18:04 -08:00
Nicholas Nethercote
4e1f92a893 Clean up putBinaryImageData(). 2014-02-25 15:14:11 -08:00
Nicholas Nethercote
f62c1c469f Special-case 24-bit RGB image-handling. 2014-02-25 15:14:04 -08:00
Brendan Dahl
b187326022 Use default encoding for standard fonts without a file. 2014-02-25 11:28:17 -08:00
Nicholas Nethercote
d4e8b41639 Remove some unnecessary local variables. 2014-02-24 18:25:59 -08:00
Brendan Dahl
f7fea015a9 Remove isFixedPitch check for now. 2014-02-24 17:39:51 -08:00
Nicholas Nethercote
33dd1b0c3c Remove the unnecessary this.buf in CCITTFaxStream. 2014-02-24 16:45:18 -08:00
Brendan Dahl
2188bcb50f Merge pull request #4321 from timvandermeij/html5-analyzer
Rewritten reftest analyzer from XHTML to HTML5
2014-02-24 14:05:09 -08:00
Tim van der Meij
5ef87394e5 Rewritten reftest analyzer from XHTML to HTML5 2014-02-24 23:00:46 +01:00
Tim van der Meij
569bb131e5 Merge pull request #4328 from Snuffleupagus/b2g-remove-pageNumber-spinner
[B2G] Remove the spinner from the pageNumber field
2014-02-24 21:52:14 +01:00
Brendan Dahl
cc46cea7cb Merge pull request #4262 from yurydelendik/issue4257
Removes -moz-box-sizing usage
2014-02-24 12:47:27 -08:00
Tim van der Meij
6d703ca640 Merge pull request #4327 from Snuffleupagus/issue-4315-followup
Move print icons now that all icons are the same size
2014-02-24 21:44:41 +01:00