Jonas Jenwald
85589483d6
Merge pull request #6807 from timvandermeij/popup-annotation-hidden
...
Ensure that hidden popups do not use any space
2015-12-28 22:58:41 +01:00
Tim van der Meij
ae329afc03
Ensure that hidden popups do not use any space
2015-12-28 18:54:10 +01:00
Tim van der Meij
edf8ccc1d8
Merge pull request #6814 from Snuffleupagus/beginAnnotations-baseTransform
...
Ensure that the `baseTransform` is applied when rendering annotations
2015-12-28 18:32:50 +01:00
Jonas Jenwald
2f2ea6160b
Ensure that the baseTransform
is applied when rendering annotations
...
Fixes 3350.
Fixes 5946.
Fixes 6334.
Fixes 6722.
Probably fixes 3826 (since the PDF files are no longer available, I cannot confirm it).
2015-12-28 16:02:38 +01:00
Jonas Jenwald
f17d6721e7
Merge pull request #6808 from timvandermeij/link-annotation-class
...
Rename and reorder link annotation CSS
2015-12-27 16:40:50 +01:00
Tim van der Meij
26379ddae2
Rename and reorder link annotation CSS
2015-12-27 15:51:58 +01:00
Tim van der Meij
ad4354c0bd
Merge pull request #6805 from Snuffleupagus/issue-6804
...
Do not modify `data.rect` in `AnnotationElement_createContainer`, since that will corrupt the annotation position on subsequent calls
2015-12-27 14:36:45 +01:00
Jonas Jenwald
3c7088dc44
Do not modify data.rect
in AnnotationElement_createContainer
, since that will corrupt the annotation position on subsequent calls
...
Fixes 6804; this regressed in PR 6714.
2015-12-27 12:46:20 +01:00
Yury Delendik
17780dab31
Import l10n.
2015-12-26 22:37:07 -06:00
Jonas Jenwald
cba8a87f84
Merge pull request #6792 from timvandermeij/popup-annotation
...
Implement support for Popup annotations
2015-12-26 18:51:50 +01:00
Tim van der Meij
7d43971f54
Implement support for Popup annotations
...
Most code for Popup annotations is already present for Text annotations.
This patch extracts the popup creation logic from the Text annotation
code so it can be reused for Popup annotations.
Not only does this add support for Popup annotations, the Text
annotation code is also considerably easier. If a `Popup` entry is
available for a Text annotation, it will not be more than an image. The
popup will be handled by the Popup annotation. However, it is also
possible for Text annotations to not have a separate Popup annotation,
in which case the Text annotation handles the popup creation itself.
2015-12-25 13:17:21 +01:00
Tim van der Meij
05b9d3730a
Merge pull request #6785 from yurydelendik/frameworks
...
Adds/modifies examples for node.js and webpack.
2015-12-21 22:44:58 +01:00
Yury Delendik
79c2f69c32
Adds/modifies examples for node.js and webpack.
2015-12-21 13:46:50 -06:00
Tim van der Meij
eb557d200f
Merge pull request #6787 from Snuffleupagus/issue-4914-test-annotations
...
Change test-case `issue4914` to an `annotations` test
2015-12-21 16:17:51 +01:00
Jonas Jenwald
ae4ec2e347
Change test-case issue4914
to an annotations
test
...
This PDF file (see issue 4914) originally regressed in PR 4318, and was subsequently fixed in PR 4915.
I added the PDF file as a (linked) test-case in PR 6481, in an effort to prevent regressions. Since we at that time didn't have the necessary framework in place, in order to correctly test annotations, this almost regressed *again* in PR https://github.com/mozilla/pdf.js/pull/6672#issuecomment-158689392 .
In that PDF file, some of the annotations are both printable and hidden, and should definitely *not* be visible on normal display. Hence this patch, which adds the `annotations` flag to the manifest in order to ensure that those annotations won't be rendered when `intent === 'display'`.
2015-12-21 15:41:18 +01:00
Yury Delendik
9f23e115e0
Merge pull request #6780 from timvandermeij/annotation-regression-tests
...
Implement annotation layer regression testing
2015-12-21 07:15:23 -06:00
Tim van der Meij
b7217a2274
Implement annotation layer regression testing
2015-12-20 13:45:56 +01:00
Jonas Jenwald
cfc0cc80ee
Merge pull request #6770 from timvandermeij/annotation-display-classes
...
Refactor annotation display layer code to use classes
2015-12-20 13:03:14 +01:00
Tim van der Meij
5b66ad626d
Refactor annotation display layer code to use classes
2015-12-19 19:31:37 +01:00
Tim van der Meij
9228e1ffcf
Merge pull request #6772 from Snuffleupagus/remove-s-in-AnnotationsLayerBuilder
...
Remove a superfluous "s" in `AnnotationsLayerBuilder` from files in web/
2015-12-18 21:06:46 +01:00
Yury Delendik
e45e7d0f3c
Merge pull request #6778 from tonyjin/fix-isExternalLinkTargetSet
...
Fixing externalLinkTarget
2015-12-18 13:33:15 -06:00
Tony Jin
f9e2091c5a
Fixing externalLinkTarget. isExternalLinkTargetSet was set to
...
wrong sharedUtil method.
2015-12-18 11:27:21 -08:00
Jonas Jenwald
3079dd937f
Remove a superfluous "s" in AnnotationsLayerBuilder
from files in web/
...
This patch makes the naming consistent with the `TextLayerBuilder`, and also the new `AnnotationLayer`, and should thus help reduce possible confusion when working with the code.
Please note that the files were renamed using `git mv`, in order to preserve blame.
2015-12-18 19:55:54 +01:00
Yury Delendik
42beb0c27b
Merge pull request #6767 from tonyjin/strip-link-referrer
...
Strip referrer from link annotation.
2015-12-18 12:27:15 -06:00
Yury Delendik
65de3d6268
Merge pull request #6765 from timvandermeij/unused
...
Remove unused variables
2015-12-18 10:43:40 -06:00
Yury Delendik
49437c879d
Republish the extension.
2015-12-18 10:33:12 -06:00
Yury Delendik
479d96eb24
Testing ability to auto-upgrade the addons.
2015-12-18 10:05:20 -06:00
Yury Delendik
e7311cdc6e
Fixes versions in update.rdf.
2015-12-18 09:44:18 -06:00
Yury Delendik
d98105fdbd
Fixes update extension github link.
2015-12-18 09:32:46 -06:00
Yury Delendik
b533f8a854
Merge pull request #6773 from yurydelendik/xpisign
...
Changing Firefox Addon ID
2015-12-18 09:13:18 -06:00
Yury Delendik
2fb9baf6f1
Changing Firefox Addon ID
...
.. to allow AMO publishing to the unlisted extensions for automatic signing.
2015-12-18 09:06:23 -06:00
Tony Jin
11f3deac56
Allow link rel to be customized. Defaults to 'noreferrer'
2015-12-17 10:36:53 -08:00
Brendan Dahl
a8d760d97f
Merge pull request #6766 from brendandahl/1.3
...
Bump versions to 1.3.
2015-12-16 15:14:00 -08:00
Tim van der Meij
df81b832bb
Remove unused variables
2015-12-16 23:52:16 +01:00
Brendan Dahl
0521c1a3be
Bump versions to 1.3.
2015-12-16 14:42:25 -08:00
Jonas Jenwald
f01911fcd9
Merge pull request #6764 from yurydelendik/rm-umd
...
Collapses UMD headers in bundled files.
2015-12-16 22:46:25 +01:00
Yury Delendik
2f704f5957
Collapses UMD headers in bundled files.
2015-12-16 07:42:54 -06:00
Jonas Jenwald
0a21c8c365
Merge pull request #6762 from Snuffleupagus/fix-Uint32ArrayView-exports
...
Only export `Uint32ArrayView` when it's actually defined, to prevent breaking e.g. the Firefox addon/built-in version
2015-12-16 11:24:41 +01:00
Jonas Jenwald
d4c026980e
Only export Uint32ArrayView
when it's actually defined, to prevent breaking e.g. the Firefox addon/built-in version
...
*This is a follow-up to PR 6683.*
2015-12-16 11:15:36 +01:00
Brendan Dahl
f1c64b6a2a
Merge pull request #6683 from yurydelendik/module-core
...
Adds UMD headers to core, display and shared files.
2015-12-15 17:10:21 -08:00
Tim van der Meij
a1aec826ea
Merge pull request #6758 from KamiHQ/fix-text-widget
...
Fix incorrect position of text widget
2015-12-16 00:29:39 +01:00
Xiliang Chen
8bf17f5df8
Fix incorrect position of text widget
2015-12-16 11:21:01 +13:00
Yury Delendik
b084dc09ee
Allows requirejs and node load fake worker files.
2015-12-15 13:24:39 -06:00
Yury Delendik
450edc95cc
UMD validation and generation tools.
2015-12-15 13:24:39 -06:00
Yury Delendik
6b60c8f4db
Adds UMD headers to core, display and shared files.
2015-12-15 13:24:39 -06:00
Tim van der Meij
1b5940edd2
Merge pull request #6714 from timvandermeij/annotation-web-to-src
...
[api-minor] Move annotation DOM manipulation logic to src/display/annotation_layer.js
2015-12-15 19:06:48 +01:00
Yury Delendik
7f34d40faf
Imports L10n.
2015-12-15 10:07:25 -06:00
Tim van der Meij
edce8daeac
Implement annotation layer rendering and updating in src/display/annotation_layer.js
2015-12-15 17:00:01 +01:00
Tim van der Meij
b1937e7670
Remove superfluous comments in the annotation layer code
2015-12-15 16:27:35 +01:00
Tim van der Meij
a6ba210c19
Merge pull request #6757 from timvandermeij/annotation-types
...
Implement constants for all annotation types
2015-12-15 15:52:55 +01:00