Commit Graph

6287 Commits

Author SHA1 Message Date
Jonas Jenwald
a08acc899d Update lint config to enforce braces for single line statements 2014-03-23 12:24:41 +01:00
Jonas Jenwald
e3b830e63c Merge pull request #4505 from timvandermeij/evaluator-syntax
Making src/core/evaluator.js adhere to the style guide
2014-03-23 12:22:09 +01:00
Tim van der Meij
8863ee5d7b Merge pull request #4507 from Snuffleupagus/src-core-braces
Fix coding style in src/core
2014-03-22 22:50:17 +01:00
Tim van der Meij
46f01600ef Merge pull request #4508 from Snuffleupagus/extension-firefox-braces
Fix coding style in extensions/firefox
2014-03-22 22:40:14 +01:00
Jonas Jenwald
2b5fb59b67 Fix coding style in extensions/firefox/bootstrap.js 2014-03-22 21:48:00 +01:00
Jonas Jenwald
597d388930 Fix coding style in extensions/firefox/tools/l10n.js 2014-03-22 21:45:08 +01:00
Jonas Jenwald
6883362a84 Fix coding style in src/core/stream.js 2014-03-22 21:21:01 +01:00
Jonas Jenwald
67b5c8868c Fix coding style in src/core/worker.js 2014-03-22 20:59:16 +01:00
Jonas Jenwald
75de115938 Fix coding style in src/core/font_renderer.js 2014-03-22 20:49:47 +01:00
Jonas Jenwald
131a16b65e Fix coding style in src/core/core.js 2014-03-22 20:49:46 +01:00
Jonas Jenwald
53bbdcb0a1 Fix coding style in src/core/chunked_stream.js 2014-03-22 20:49:46 +01:00
Tim van der Meij
8355b5185d Merge pull request #4503 from Snuffleupagus/fonts-braces
Fix coding style in src/core/fonts.js
2014-03-22 20:47:21 +01:00
Tim van der Meij
c6a06c0f16 Making src/core/evaluator.js adhere to the style guide 2014-03-22 19:15:51 +01:00
Jonas Jenwald
66e243f506 Fix coding style in src/core/fonts.js 2014-03-22 16:19:07 +01:00
Yury Delendik
026d58e9a4 Merge pull request #4497 from yurydelendik/jpgjs22
jpgjs performance improvements
2014-03-21 11:23:19 -05:00
Thorben Bochenek
2d99ff3f37 Fix for the offByOne-error and small performance optimisations 2014-03-21 09:16:40 -05:00
Yury Delendik
cebf7836f4 Simulate support of the Int8Array for IE9 2014-03-20 18:50:34 -05:00
Thorben Bochenek
03892a85c2 jpgjs performance improvements
see https://github.com/notmasteryet/jpgjs/pull/22
2014-03-20 18:02:08 -05:00
Brendan Dahl
1416eca164 Merge pull request #4493 from yurydelendik/issue4491
Fixes ignoring of the escaped CR LF
2014-03-20 14:57:24 -07:00
Jonas Jenwald
572050064d Merge pull request #4452 from timvandermeij/core-syntax
Making src/core/{image,obj,parser}.js adhere to the style guide
2014-03-20 22:44:23 +01:00
Tim van der Meij
284288f1d0 Making src/core/{image,obj,parser}.js adhere to the style guide 2014-03-20 20:28:22 +01:00
Yury Delendik
20a91bcdbf Fixes ignoring of the escaped CR LF 2014-03-20 11:50:12 -05:00
Yury Delendik
878a123e47 Merge pull request #4478 from nnethercote/plain-fnArray
Use a vanilla array for fnArray
2014-03-20 10:30:29 -05:00
Brendan Dahl
10deadd416 Merge pull request #4453 from nnethercote/charToGlyph
Add a cache for glyphs
2014-03-19 16:30:02 -07:00
Yury Delendik
1801fb2c37 Merge pull request #4474 from chriskr/draw-image-subpixel-support
Introduce paintSolidColorImageMask command to handle 1x1 solid image
2014-03-19 14:31:15 -05:00
Jonas Jenwald
b7545e154e Merge pull request #4488 from alexandrevicenzi/syncptBRtranslations
Sync pt-BR translations with l10n-mozilla-aurora
2014-03-19 18:17:52 +01:00
Alexandre Vicenzi
b4ca084d1f Sync pt-BR translations with l10n-mozilla-aurora 2014-03-19 13:58:21 -03:00
Yury Delendik
305274cd45 Merge pull request #4481 from bthorben/refactor/pdf_manager.js
refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument
2014-03-19 10:33:42 -05:00
Christian Krebs
543117dd0e Added TC for issue 4436 2014-03-19 13:37:53 +01:00
Christian Krebs
fc9edfcf76 Introduce paintSolidColorImageMask command to handle 1x1 solid image masks
See https://github.com/mozilla/pdf.js/issues/4436 for details
2014-03-19 13:27:59 +01:00
Thorben Bochenek
c547f17ee5 Add Test for PDFDocumentProxy_getPageIndex 2014-03-19 10:17:58 +01:00
Thorben Bochenek
0fa44d7233 refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument
Rename pdfModel to pdfDocument to let the name closer resemble what the
variable actually holds
2014-03-19 09:43:16 +01:00
Yury Delendik
329d0ec30b Merge pull request #4464 from bthorben/issue#4461
Fixes pages without Resources in their dictionary
2014-03-18 13:00:21 -05:00
Thorben Bochenek
1d663876b1 Add load test for Issue #4461 2014-03-18 14:10:44 +01:00
Thorben Bochenek
8edebc797b Refactor and fix style of core.js 2014-03-18 14:10:44 +01:00
Thorben Bochenek
1ddb019449 Fix Issue #4461: Pages without \Resources in their dictionary fail to load
When no "\Resource" entry could be found return an empty dictionary
2014-03-18 14:10:44 +01:00
Nicholas Nethercote
292b96a0bf Make fnArray always be a plain array.
This makes the code much simpler, and the extra memory use is tiny -- a vanilla
1000 element array is only 4000 bytes larger than a Uint32Array of the same
size.
2014-03-17 17:48:53 -07:00
Nicholas Nethercote
42d175efd4 Fix some indenting within OperatorList. 2014-03-17 17:11:40 -07:00
Brendan Dahl
1802ffffb8 Merge pull request #4447 from nnethercote/object-reduction
Allocate fewer objects
2014-03-17 12:50:23 -07:00
Brendan Dahl
68be273c69 Merge pull request #4470 from yurydelendik/packcmap
CMaps binary packing
2014-03-17 12:27:35 -07:00
Yury Delendik
1d8f6cf0e7 Updates make.js for cmaps and make binary cmaps by default 2014-03-17 13:30:43 -05:00
Yury Delendik
734d6f346e Removes external/cmaps; adds binary cmaps to the repo 2014-03-17 13:30:27 -05:00
Brendan Dahl
ad4be03a08 Merge pull request #4440 from bthorben/refactor/pdf_manager.js
refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument
2014-03-17 10:41:17 -07:00
Yury Delendik
adb9af7b8e Merge pull request #4477 from yurydelendik/chromehidpi
Fixes HiDPI icons of the secondary toolbar for Chrome
2014-03-17 11:29:47 -05:00
Yury Delendik
e4d0af2687 Fixes HiDPI icons of the secondary toolbar for Chrome 2014-03-17 11:25:50 -05:00
Yury Delendik
59829bb49f Merge pull request #4473 from Snuffleupagus/bug-866395-partial
Prevent infinite loop in CFFParser_parseHeader
2014-03-17 08:14:54 -05:00
Jonas Jenwald
5f021b067c Prevent infinite loop in CFFParser_parseHeader 2014-03-17 11:47:14 +01:00
Brendan Dahl
1a6e103c35 Merge pull request #4463 from sukop/patch-1
Fix copy-paste typo
2014-03-14 15:24:16 -07:00
Yury Delendik
3e8ea958ae Quick notes about the format 2014-03-14 16:59:40 -05:00
Tim van der Meij
3b3e96575e Merge pull request #4454 from brendandahl/gaia-css-clean
Fix gaia css lint errors.
2014-03-14 22:50:51 +01:00