Yury Delendik
ff5ccdeb07
Merge pull request #4383 from nnethercote/more-rgb24
...
Use RGB_24BPP form for all images lacking alpha data.
2014-03-05 07:03:16 -06:00
Yury Delendik
f04ebed579
Merge pull request #4366 from yurydelendik/max-fdefs
...
Rejects invalid fpgm table when too many functions
2014-03-05 06:16:44 -06:00
Yury Delendik
65ce7ca88d
Merge pull request #4356 from fkaelberer/Optimize_1bpc_images
...
Optimizations for 1 bpc images
2014-03-05 06:01:52 -06:00
fkaelberer
eef5ed5c11
Optimizations for 1bpc images
2014-03-05 09:42:16 +01:00
Yury Delendik
f46942758f
Merge pull request #4382 from nnethercote/off-by-one
...
Avoid extra allocations in ensureBuffer() caused by an off-by-one error.
2014-03-04 22:27:33 -06:00
Yury Delendik
32fe818af6
Merge pull request #4391 from nnethercote/rm-FakeStream
...
Remove FakeStream.
2014-03-04 21:36:44 -06:00
Yury Delendik
881c7f48f3
Merge pull request #4388 from timvandermeij/fix-corrupt-pdf-offset
...
Start counting from actual beginning of PDF file
2014-03-04 21:28:12 -06:00
Yury Delendik
fd6a152935
Merge pull request #4375 from yurydelendik/reset-annot
...
Reset annotation stream; reset page annotation promise
2014-03-04 21:23:13 -06:00
Yury Delendik
d809901083
Merge pull request #4381 from nnethercote/transfer
...
Transfer GRAYSCALE_1BPP and RGB_24BPP arrays when possible.
2014-03-04 21:04:02 -06:00
Yury Delendik
192f09cd69
Merge pull request #4343 from brendandahl/ff-cleanup
...
Use only one resource url for moz central build.
2014-03-04 20:29:27 -06:00
Nicholas Nethercote
fe8b6b0950
Remove FakeStream.
2014-03-04 18:07:15 -08:00
Tim van der Meij
026c45e5d1
Start counting from actual beginning of PDF file
2014-03-04 22:16:54 +01:00
Nicholas Nethercote
a2fe30ff38
Use RGB_24BPP form for all images lacking alpha data.
2014-03-03 20:58:35 -08:00
Nicholas Nethercote
f30babde58
Transfer GRAYSCALE_1BPP and RGB_24BPP arrays when possible.
2014-03-03 18:17:17 -08:00
Nicholas Nethercote
64431a9909
Avoid extra allocations in ensureBuffer() caused by an off-by-one error.
2014-03-03 18:03:48 -08:00
Yury Delendik
10af056f8f
Reset annotation stream; reset page annotation promise
2014-03-03 16:46:05 -06:00
Yury Delendik
6fbbcf5c93
Merge pull request #4362 from Snuffleupagus/bug-925985
...
Add 'registered' and 'trademark' to mapPrivateUseChars (bug 925985)
2014-03-03 09:02:32 -06:00
Yury Delendik
c6d69fe0ac
Merge pull request #4367 from nnethercote/rm-oldtypes
...
Remove unneeded |oldtypes| variable from bidi.js.
2014-03-03 09:01:13 -06:00
Nicholas Nethercote
6e4283fc45
Remove unneeded |oldtypes| variable from bidi.js.
2014-03-03 05:09:04 -08:00
Yury Delendik
ba95e0b07b
Merge pull request #4353 from nnethercote/more-Array-joins
...
Use Array.join() to build up strings in more places.
2014-03-02 23:26:22 -06:00
Nicholas Nethercote
ab7568c0ff
Use Array.join() to build up strings in more places.
2014-03-02 17:54:16 -08:00
Yury Delendik
9a918572dd
Merge pull request #4336 from nnethercote/rgb24
...
Special-case 24-bit RGB image-handling
2014-03-02 19:53:42 -06:00
Yury Delendik
ad4eb9a21d
Merge pull request #4354 from nnethercote/Name-cache
...
Use a cache to minimize the number of Name objects.
2014-03-02 18:44:29 -06:00
Yury Delendik
f8c11634d8
Merge pull request #4355 from nnethercote/sliced-masks
...
Put mask data to the canvas in small slices.
2014-03-02 18:40:38 -06:00
Yury Delendik
28d5ddbe2d
Merge pull request #4365 from fkaelberer/FixJpxParsing
...
Fix parsing of JP2 images
2014-03-02 16:47:14 -06:00
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