Jonas Jenwald
b32cdf5836
Merge pull request #6813 from timvandermeij/underline-annotation
...
Implement support for Underline annotations
9 years ago
Jonas Jenwald
85589483d6
Merge pull request #6807 from timvandermeij/popup-annotation-hidden
...
Ensure that hidden popups do not use any space
9 years ago
Tim van der Meij
ae329afc03
Ensure that hidden popups do not use any space
9 years ago
Tim van der Meij
edf8ccc1d8
Merge pull request #6814 from Snuffleupagus/beginAnnotations-baseTransform
...
Ensure that the `baseTransform` is applied when rendering annotations
9 years ago
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).
9 years ago
Tim van der Meij
cd28dd34fe
Implement support for Underline annotations
9 years ago
Jonas Jenwald
f17d6721e7
Merge pull request #6808 from timvandermeij/link-annotation-class
...
Rename and reorder link annotation CSS
9 years ago
Tim van der Meij
26379ddae2
Rename and reorder link annotation CSS
9 years ago
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
9 years ago
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.
9 years ago
Yury Delendik
17780dab31
Import l10n.
9 years ago
Jonas Jenwald
cba8a87f84
Merge pull request #6792 from timvandermeij/popup-annotation
...
Implement support for Popup annotations
9 years ago
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.
9 years ago
Tim van der Meij
05b9d3730a
Merge pull request #6785 from yurydelendik/frameworks
...
Adds/modifies examples for node.js and webpack.
9 years ago
Yury Delendik
79c2f69c32
Adds/modifies examples for node.js and webpack.
9 years ago
Tim van der Meij
eb557d200f
Merge pull request #6787 from Snuffleupagus/issue-4914-test-annotations
...
Change test-case `issue4914` to an `annotations` test
9 years ago
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'`.
9 years ago
Yury Delendik
9f23e115e0
Merge pull request #6780 from timvandermeij/annotation-regression-tests
...
Implement annotation layer regression testing
9 years ago
Tim van der Meij
b7217a2274
Implement annotation layer regression testing
9 years ago
Jonas Jenwald
cfc0cc80ee
Merge pull request #6770 from timvandermeij/annotation-display-classes
...
Refactor annotation display layer code to use classes
9 years ago
Tim van der Meij
5b66ad626d
Refactor annotation display layer code to use classes
9 years ago
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/
9 years ago
Yury Delendik
e45e7d0f3c
Merge pull request #6778 from tonyjin/fix-isExternalLinkTargetSet
...
Fixing externalLinkTarget
9 years ago
Tony Jin
f9e2091c5a
Fixing externalLinkTarget. isExternalLinkTargetSet was set to
...
wrong sharedUtil method.
9 years ago
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.
9 years ago
Yury Delendik
42beb0c27b
Merge pull request #6767 from tonyjin/strip-link-referrer
...
Strip referrer from link annotation.
9 years ago
Yury Delendik
65de3d6268
Merge pull request #6765 from timvandermeij/unused
...
Remove unused variables
9 years ago
Yury Delendik
49437c879d
Republish the extension.
9 years ago
Yury Delendik
479d96eb24
Testing ability to auto-upgrade the addons.
9 years ago
Yury Delendik
e7311cdc6e
Fixes versions in update.rdf.
9 years ago
Yury Delendik
d98105fdbd
Fixes update extension github link.
9 years ago
Yury Delendik
b533f8a854
Merge pull request #6773 from yurydelendik/xpisign
...
Changing Firefox Addon ID
9 years ago
Yury Delendik
2fb9baf6f1
Changing Firefox Addon ID
...
.. to allow AMO publishing to the unlisted extensions for automatic signing.
9 years ago
Tony Jin
11f3deac56
Allow link rel to be customized. Defaults to 'noreferrer'
9 years ago
Brendan Dahl
a8d760d97f
Merge pull request #6766 from brendandahl/1.3
...
Bump versions to 1.3.
9 years ago
Tim van der Meij
df81b832bb
Remove unused variables
9 years ago
Brendan Dahl
0521c1a3be
Bump versions to 1.3.
9 years ago
Jonas Jenwald
f01911fcd9
Merge pull request #6764 from yurydelendik/rm-umd
...
Collapses UMD headers in bundled files.
9 years ago
Yury Delendik
2f704f5957
Collapses UMD headers in bundled files.
9 years ago
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
9 years ago
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.*
9 years ago
Brendan Dahl
f1c64b6a2a
Merge pull request #6683 from yurydelendik/module-core
...
Adds UMD headers to core, display and shared files.
9 years ago
Tim van der Meij
a1aec826ea
Merge pull request #6758 from KamiHQ/fix-text-widget
...
Fix incorrect position of text widget
9 years ago
Xiliang Chen
8bf17f5df8
Fix incorrect position of text widget
9 years ago
Yury Delendik
b084dc09ee
Allows requirejs and node load fake worker files.
9 years ago
Yury Delendik
450edc95cc
UMD validation and generation tools.
9 years ago
Yury Delendik
6b60c8f4db
Adds UMD headers to core, display and shared files.
9 years ago
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
9 years ago
Yury Delendik
7f34d40faf
Imports L10n.
9 years ago
Tim van der Meij
edce8daeac
Implement annotation layer rendering and updating in src/display/annotation_layer.js
9 years ago