Commit Graph

6215 Commits

Author SHA1 Message Date
Jonas Jenwald
5dcc92430c Fix coding style in web/text_layer_builder.js 2014-03-10 11:48:20 +01:00
Jonas Jenwald
7480ba4cb1 Merge pull request #4422 from timvandermeij/jbig2-syntax
Making src/core/jbig2.js adhere to the style guide
2014-03-10 11:33:39 +01:00
Tim van der Meij
241cb7999d Making extensions/chromium/chrome.tabs.executeScriptInFrame.js adhere to the style guide 2014-03-09 23:29:34 +01:00
Tim van der Meij
8d2068dc6f Making extensions/chromium/extension-router.js adhere to the style guide 2014-03-09 23:14:01 +01:00
Tim van der Meij
c29350219e Making extensions/chromium/pdfHandler.js adhere to the style guide 2014-03-09 23:12:12 +01:00
Tim van der Meij
ce6e269d02 Making extensions/chromium/pdfHandler-v2.js adhere to the style guide and fixing a small lint issue in pdfHandler-vcros.js 2014-03-09 23:07:42 +01:00
Tim van der Meij
8ec46e6413 Making extensions/chromium/pdfHandler-vcros.js adhere to the style guide 2014-03-09 22:56:38 +01:00
Tim van der Meij
d5fcfe14d2 Making src/core/jpx.js adhere to the style guide 2014-03-09 22:31:55 +01:00
Jonas Jenwald
ad623ffbb2 Merge pull request #4421 from timvandermeij/metadata-font-loader-syntax
Making src/display/{metadata,font_loader}.js adhere to the style guide
2014-03-09 14:04:00 +01:00
Tim van der Meij
2712a5a45a Making src/core/jbig2.js adhere to the style guide 2014-03-09 13:03:45 +01:00
Tim van der Meij
f1249bd49e Making src/display/font_loader.js adhere to the style guide 2014-03-09 12:45:51 +01:00
Tim van der Meij
7d86fa859f Making src/display/metadat.js adhere to the style guide 2014-03-09 12:41:01 +01:00
Jonas Jenwald
46487e3931 Merge pull request #4418 from timvandermeij/crypto-syntax
Making src/core/crypto.js adhere to the style guide
2014-03-09 12:34:44 +01:00
Jonas Jenwald
9e0ed5ca7e Fix coding style in web/viewer.js 2014-03-09 12:20:32 +01:00
Jonas Jenwald
0bd865b329 Fix coding style in web/ui_utils.js 2014-03-09 12:04:56 +01:00
Jonas Jenwald
af4e977848 Fix coding style in web/pdf_find_controller.js 2014-03-09 11:51:16 +01:00
Jonas Jenwald
2e09f14a80 Fix coding style in web/pdf_find_bar.js 2014-03-09 11:51:16 +01:00
Jonas Jenwald
6df9cc46b4 Fix coding style in web/firefoxcom.js 2014-03-09 11:51:15 +01:00
Jonas Jenwald
e9cfae84a0 Fix coding style in web/debugger.js 2014-03-09 11:51:15 +01:00
Jonas Jenwald
665b862b7f Fix coding style in web/compatibility.js 2014-03-09 11:51:15 +01:00
Jonas Jenwald
047a82a07e Fix coding style in web/chromecom.js 2014-03-09 11:51:14 +01:00
Jonas Jenwald
6597fea0da Merge pull request #4417 from timvandermeij/examples-style
Making all examples adhere to the style guide
2014-03-09 11:48:54 +01:00
Jonas Jenwald
fe99743844 Merge pull request #4413 from timvandermeij/ps-parser-syntax
Making src/core/ps_parser.js adhere to the style guide
2014-03-09 11:39:28 +01:00
Tim van der Meij
3330f0417f Making src/core/crypto.js adhere to the style guide 2014-03-08 23:25:47 +01:00
Tim van der Meij
1b1a9f1b81 Making all examples adhere to the style guide 2014-03-08 23:04:30 +01:00
Tim van der Meij
ca612e51ae Merge pull request #4416 from timvandermeij/function-typo
Fixes typo in function.js
2014-03-08 22:41:10 +01:00
Tim van der Meij
99b0231343 Fixes typo in function.js 2014-03-08 22:40:19 +01:00
Tim van der Meij
df2248d5b9 Merge pull request #4414 from Snuffleupagus/src-shared-braces
Add braces to single line statements in src/shared
2014-03-08 22:37:16 +01:00
Jonas Jenwald
9528f9e650 Merge pull request #4412 from timvandermeij/bidi-syntax
Making src/core/bidi.js adhere to the style guide
2014-03-08 22:09:41 +01:00
Tim van der Meij
a615ccdd20 Making src/core/bidi.js adhere to the style guide 2014-03-08 21:49:53 +01:00
Jonas Jenwald
4840c2ccdc Add braces to single line statements in src/shared/annotation.js 2014-03-08 20:50:38 +01:00
Jonas Jenwald
15a63e48bd Add braces to single line statements in src/shared/colorspace.js 2014-03-08 20:50:37 +01:00
Jonas Jenwald
00f6d07a21 Add braces to single line statements in src/shared/fonts_util.js 2014-03-08 20:50:37 +01:00
Jonas Jenwald
e8a68f12df Add braces to single line statements in src/shared/function.js 2014-03-08 20:50:36 +01:00
Jonas Jenwald
635466fcd2 Add braces to single line statements in src/shared/util.js 2014-03-08 20:50:36 +01:00
Tim van der Meij
2adcaf4f64 Making src/core/ps_parser.js adhere to the style guide 2014-03-08 20:45:25 +01:00
Nicholas Nethercote
00c1cff405 Transfer image masks when when possible, instead of copying. 2014-03-08 04:25:00 -08:00
Yury Delendik
01b23439a9 Merge pull request #4318 from dferer/improveAnnotationsDisplay
Improved annotations' display/behavior.
2014-03-07 09:42:42 -06:00
Samuel Chantaraud
076b3433b4 Improved annotations' display/behavior.
Added an "InteractiveAnnotation" class to homogenize the annotations' structure (highlighting) and user interactions (for now, used for text and link annotations).

Text annotations:
The appearance (AP) has priority over the icon (Name).
The popup extends horizontally (up to a limit) as well as vertically.
Reduced the title's font size.
The annotation's color (C) is used to color the popup's background.
On top of the mouseover show/hide behavior, a click on the icon will lock the annotation open (for mobile purposes). It can be closed with another click on either the icon or the popup.

An annotation printing is conditioned by its "print" bit
Unsupported annotations are not displayed at all.
2014-03-07 10:48:42 -04:00
Nicholas Nethercote
cb5bb0cec7 Fix mask handling when some bytes are missing. 2014-03-06 21:11:21 -08:00
Yury Delendik
3e931048f2 Merge pull request #4404 from timvandermeij/invalid-number-e
Fixes off-by-one error when finding missing endstream
2014-03-06 17:38:38 -06:00
Tim van der Meij
3df8f89bd4 Fixes off-by-one error when finding missing endstream 2014-03-06 23:57:27 +01:00
Basil A. Zabairatsky
555d33ffc7 Support for the image mask in higher resolution than the image itself 2014-03-07 02:16:39 +06:00
Yury Delendik
b82af5131f Merge pull request #4393 from Snuffleupagus/issue-4341-followup
Fix scrolling using Shift+Spacebar in Firefox
2014-03-06 09:11:42 -06:00
Yury Delendik
1857ced63f Merge pull request #4397 from fkaelberer/FixJPXcolors
Fix JPX colors
2014-03-06 08:57:17 -06:00
Jonas Jenwald
6fd0b063e9 Fix scrolling using Shift+Spacebar in Firefox 2014-03-06 15:26:23 +01:00
Yury Delendik
33a9582584 Merge pull request #4399 from fkaelberer/FixInfiniteLoop
Fixes infinite loop in DecodeStream_ensureBuffer()
2014-03-06 07:11:27 -06:00
fkaelberer
6755ea70b0 Fix infinite loop in DecodeStream_ensureBuffer() 2014-03-06 10:31:18 +01:00
fkaelberer
9457095c9c Fix JPX colors 2014-03-06 09:05:24 +01:00
Yury Delendik
7725e9cd77 Merge pull request #4392 from yurydelendik/fixes-webkit-retina
Fixes CSS for webkit
2014-03-05 08:54:19 -06:00