Jonas Jenwald
325abf5f8c
Update the link location for 'intelisa.pdf' to point to the Internet Archive
...
Given the the file changes every now and then, this patch should ensure that we test the *intended* version.
2016-01-06 12:56:31 +01:00
Tim van der Meij
4399d01169
Merge pull request #6834 from Snuffleupagus/issue-6832
...
Strip `null` (\x00) characters from the URLs in LinkAnnotations (issue 6832)
2016-01-05 23:59:25 +01:00
Yury Delendik
96d8b8f8a0
Merge pull request #6837 from Snuffleupagus/issue-3694-fix-manifest
...
Fix a typo in the "file" entry for issue3694_reduced in test_manifest.json
2016-01-05 14:56:08 -06:00
Jonas Jenwald
0083f63dda
Fix a typo in the "file" entry for issue3694_reduced in test_manifest.json
...
When generating new references locally on Windows, after PR 6724, I get the following output:
```
WARNING: Unable to open file for reading "Error: ENOENT, open 'c:\Users\Jonas\Git\pdfjs\test\pdfs\issue_3694_reduced.pdf'".
Unable to verify the checksum for the files that are used for testing.
Please re-download the files, or adjust the MD5 checksum in the manifest for the files listed above.
```
Compared to the name of the file (`issue3694_reduced.pdf`), you see that the manifest entry has a superfluous underscore in the "file" entry.
2016-01-05 21:23:00 +01:00
Yury Delendik
62ade3e373
Merge pull request #6724 from brendandahl/callsubr
...
Add validation for callsubr and callgsubr for type 2 charstrings.
2016-01-05 13:46:14 -06:00
Brendan Dahl
eb7c36beb6
Add validation for callsubr and callgsubr for type 2 charstrings.
2016-01-05 09:54:25 -08:00
Jonas Jenwald
97c10e9c08
Strip null
(\x00) characters from the URLs in LinkAnnotations (issue 6832)
...
Apparently some PDF files can have annotations with `URI` entries ending with `null` characters, thus breaking the links.
To handle this edge-case of bad PDFs, this patch moves the already existing utility function from `ui_utils.js` into `util.js`, in order to fix those URLs.
Fixes 6832.
2016-01-04 21:55:20 +01:00
Jonas Jenwald
4e9ea35eee
Merge pull request #6827 from timvandermeij/highlight-annotation
...
Implement support for Highlight annotations
2016-01-02 14:23:52 +01:00
Tim van der Meij
6ef7120a04
Implement support for Highlight annotations
2016-01-01 15:31:46 +01:00
Tim van der Meij
8ed369211a
Merge pull request #6823 from timvandermeij/squiggly-annotation
...
Implement support for Squiggly annotations
2015-12-30 20:34:13 +01:00
Tim van der Meij
34918a6666
Implement support for Squiggly annotations
2015-12-30 19:37:04 +01:00
Jonas Jenwald
d956177482
Merge pull request #6819 from timvandermeij/strikeout-annotation
...
Implement support for StrikeOut annotations
2015-12-30 14:44:50 +01:00
Tim van der Meij
e8db825512
Merge pull request #6771 from yurydelendik/requirejs
...
Removes hardcoded module loading order
2015-12-30 00:37:32 +01:00
Yury Delendik
b8e7efaaa1
Merge pull request #6821 from yurydelendik/bug951051
...
Bug 951051 - Better crypto key length recovery.
2015-12-29 15:35:15 -06:00
Yury Delendik
c991480687
Better crypto key length recovery.
2015-12-29 15:10:38 -06:00
Yury Delendik
2b2c521213
Hack to avoid intermidiate Chrome failures during tests.
...
Remove when https://code.google.com/p/chromium/issues/detail?id=572225 is fixed.
2015-12-29 09:20:53 -06:00
Yury Delendik
2f8ae38276
Use UMD headers to detect module loading order.
2015-12-29 09:20:53 -06:00
Yury Delendik
fc3282db56
Adds RequireJS to worker.
2015-12-29 09:20:52 -06:00
Yury Delendik
85e95d34ed
Use RequireJS in the viewer, examples and tests.
2015-12-29 09:20:52 -06:00
Tim van der Meij
c5f4b9750e
Implement support for StrikeOut annotations
2015-12-29 15:09:28 +01:00
Jonas Jenwald
b32cdf5836
Merge pull request #6813 from timvandermeij/underline-annotation
...
Implement support for Underline annotations
2015-12-28 23:48:31 +01:00
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
Tim van der Meij
cd28dd34fe
Implement support for Underline annotations
2015-12-28 00:33:41 +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