Brendan Dahl
98339f63a8
Merge pull request #5585 from timvandermeij/annotation-layer-borderstyle
...
Annotation border styles
2015-07-01 10:48:12 -07:00
Yury Delendik
f3c3b1fc2d
Removes B2G preprocessing directives.
2015-06-30 16:53:32 -05:00
Yury Delendik
1b847df2f3
Using pdfjs-dist as a library for b2g viewer.
2015-06-30 16:53:32 -05:00
Timothy Gu
a5cfb0a73b
Update Adobe CMaps URL and license
...
They are now using Apache 2.0 as well.
2015-06-30 00:42:21 -07:00
Tim van der Meij
6007a57291
Add tests and documentation for the annotation border style class
...
This patch adds:
- Unit tests for the annotation border style class
- Regression test (self-made) for the annotation border style class
- Documentation generation using JSDoc
2015-06-17 22:28:08 +02:00
Tim van der Meij
1c8305cf1a
Remove unreachable jshint installation code
...
The previous commit implements a check for ShellJS and otherwise prompts the user to run "npm install". New clones of the codebase will need "npm install" for ShellJS and therefore automatically install jshint. Existing clones of the codebase will also need "npm install" again since ShellJS needs to be installed using NPM as it is not in the "external" folder anymore. Since everyone will get this prompt and install everything automatically, we will never reach this code path anymore.
This patch makes #5908 obsolete and reduces code complexity for the lint target. Thanks to @Snuffleupagus for noticing this!
2015-04-05 15:48:59 +02:00
Tim van der Meij
70b6eb09a8
Remove ShellJS copy and use the NPM version
...
There is no need to have a copy of ShellJS in the repository as it is also available on NPM. The NPM version is also much newer. This way we do not have to update this anymore and let NPM do that automatically.
2015-04-05 15:47:25 +02:00
Jonas Jenwald
b85a51d072
Merge pull request #5908 from timvandermeij/read-package-json
...
Read jshint version from package.json
2015-04-04 17:37:13 +02:00
Tim van der Meij
25299904da
Read jshint version from package.json
2015-04-04 16:24:33 +02:00
Tim van der Meij
50573b82a3
Provide only one browser manifest example
2015-04-03 21:21:54 +02:00
Rob Wu
1b043bfd5a
Chrome extension: Add options page
2015-01-14 00:01:29 +01:00
Jonas Jenwald
7f67d76339
Update |node make lint| to also cover the Firefox specific *.jsm files
2014-11-06 23:49:51 +01:00
Yury Delendik
b16a406f3a
Packages PDFViewer as a UI component.
2014-09-30 12:41:53 -05:00
Yury Delendik
5b93cc102c
Adds css import preprocessing
2014-09-30 08:11:43 -05:00
Yury Delendik
10f702f60e
Adds readme file for the pdfjs-dist repo.
2014-09-24 07:10:09 -05:00
Yury Delendik
2704119c90
Builds distribution package for npm and bower.
2014-09-22 18:06:34 -05:00
Yury Delendik
e77e5c442f
Copies pdfjschildbootstrap.js for MOZCENTRAL
2014-09-19 16:00:13 -05:00
Jonas Jenwald
6c9aa6d795
For |make firefox/mozcentral| builds, add cleanupJSSource to remove duplicate file headers in extensions/firefox/content/PdfjsChromeUtils.jsm
2014-09-18 21:55:04 +02:00
Jonas Jenwald
3ac9bd063d
Fix setPreferences regression from the e10s patch (PR 5115)
2014-09-18 12:08:47 +02:00
Brendan Dahl
f6745d5b03
Merge pull request #5115 from yurydelendik/e10s
...
Firefox pdf viewer support for e10s (Bug 942707).
2014-09-17 14:28:41 -07:00
Yury Delendik
1cda4c7a4b
Loading PDF.js extension into e10s windows
2014-09-17 16:14:04 -05:00
Yury Delendik
de844a8826
Removes examples from jsbin.com
2014-09-16 09:24:48 -05:00
Rob Wu
1055350425
Chrome extension: Isolate pageAction logic
...
Remove pageAction logic from extension router, and put it in a
separate file. The pageAction URL parsing logic has been simplified,
and all pageAction-related files have been moved to a separate directory.
2014-08-22 23:00:39 +02:00
Yury Delendik
0f862e7eb3
Adds svg.js to the generic and singlefile builds
2014-08-14 13:02:30 -05:00
Tim van der Meij
c29faaa22d
Use strict equalities in make.js, external/* and extensions/*
2014-08-01 22:27:00 +02:00
Yury Delendik
bdeca30fbf
Splits shared/annotation.js into core/ and display/
2014-06-17 17:43:33 -05:00
Yury Delendik
d95f78610e
Adds compatibility.js to the Firefox extension
2014-05-29 11:50:16 -05:00
Jonas Jenwald
002607502c
Merge pull request #4824 from yurydelendik/movecs
...
Moves colorspace.js and function.js into core/
2014-05-23 21:14:58 +02:00
Yury Delendik
fcc4dfd9b5
Moves shared/function.js to core/
2014-05-23 14:11:47 -05:00
Yury Delendik
7a19085159
Moves shared/colorspace.js into core/
2014-05-23 14:11:47 -05:00
Yury Delendik
b9ba80810d
Adds some addon/mozcentral files to the preprocessor
2014-05-23 10:17:32 -05:00
Yury Delendik
2ca2c387fc
Creates make.js code to build jsdoc.
2014-04-13 15:54:24 -05:00
Yury Delendik
fcebe57d8e
Introduces .jshintignore
2014-04-11 11:42:44 -05:00
Yury Delendik
cffe0fd15a
Require wintersmith when needed
2014-04-10 19:42:48 -05:00
Tim van der Meij
1d066b768f
Removes custom test/reporter.js from the lint process
2014-04-11 00:41:18 +02:00
Tim van der Meij
73e23bbc30
Fixes lint warning W004 in make.js
2014-04-11 00:41:17 +02:00
Brendan Dahl
3ce622a106
Redo and add more documentation to gh-pages.
2014-04-10 10:01:51 -07:00
Christian Krebs
5a49d2eb83
Create the WORKER_SRC_FILES and EXT_SRC_FILES lists in make automatically
2014-04-09 21:02:13 +02:00
Christian Krebs
79f34b183c
Treat fonts with the same font descriptor, encoding and unicode map as aliases
...
Different fonts can point to the same font descriptor
(see https://github.com/mozilla/pdf.js/issues/4339 for details). With this
commit such fonts are treated as aliases if they have also the same encoding
and the same toUnicode map. The according info is stored on the font descriptor.
This change must also ensure that aliases use always the same font name
because translated fonts can get cleared depending on the CLEANUP_TIMEOUT setting.
2014-04-08 20:45:21 +02:00
Yury Delendik
f57c6935d7
Implements WebGL support
2014-04-03 08:36:22 -05:00
Yury Delendik
63f438006b
Fixes lint for windows; adds test/font/fontutils.js
2014-03-31 08:50:53 -05:00
Brendan Dahl
19a548ef0d
Merge pull request #4515 from yurydelendik/nodetest
...
Replaces test.py with test.js
2014-03-27 13:44:12 -07:00
Yury Delendik
5fc806823e
Merge pull request #4504 from timvandermeij/importl10n
...
Import l10n files from mozilla-aurora
2014-03-26 17:52:45 -05:00
Tim van der Meij
c6f009403d
Implements importl10n command
2014-03-26 23:48:02 +01:00
Jonas Jenwald
f6cfab0061
[Firefox] Stop importing default_preferences.js as a module and include it instead
2014-03-26 00:37:32 +01:00
Yury Delendik
0fe0bb12d4
Removes test.py
2014-03-25 14:07:08 -05:00
Yury Delendik
c2376e5cea
Migrating test.py to test.js
2014-03-25 14:07:08 -05:00
Yury Delendik
4df24f457a
Replaces pythons web server
2014-03-25 14:07:08 -05: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
69efd9cb96
CMaps binary packing
2014-03-14 16:46:35 -05:00
Jonas Jenwald
855b96990c
Fix coding style in make.js
2014-03-14 16:18:08 +01:00
Tim van der Meij
e5cd75083f
Merge pull request #4132 from yurydelendik/minified
...
Adds make minified command
2014-03-13 21:38:50 +01:00
Yury Delendik
7963f22545
Merge pull request #4259 from brendandahl/built-in-cmaps-squash
...
Adds built in CMaps and unifies the glyph mapping.
2014-03-13 10:27:48 -05:00
fkaelberer
7b5b5178ef
Extract duplicate arithmetic decoder to own class
2014-03-10 16:56:00 +01:00
Yury Delendik
ea9c8f8c95
Fixed mozcentral build
2014-03-05 07:30:20 -06:00
Yury Delendik
192f09cd69
Merge pull request #4343 from brendandahl/ff-cleanup
...
Use only one resource url for moz central build.
2014-03-04 20:29:27 -06:00
Mitar
2c82e720b8
Updated to current latest stable version of jshint.
2014-03-01 13:31:25 -08:00
Brendan Dahl
b8f7bcaf02
Use only one resource url for moz central build.
2014-02-27 14:11:39 -08:00
Brendan Dahl
b5b94a4af3
Use built in CMaps and unify the glyph mapping.
2014-02-11 10:27:09 -08:00
Yury Delendik
894c82cec9
Removes -moz-box-sizing usage
2014-02-10 15:06:03 -06:00
Yury Delendik
e9327050c3
Basic function.js split
2014-01-27 20:29:47 -06:00
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
2014-01-25 12:18:22 -06:00
Yury Delendik
17dfc7c700
Use jshint v1.1
2014-01-23 17:32:07 -06:00
Tim van der Meij
2684c79c4d
Cleaning up files in extension
2014-01-17 18:32:30 +01:00
Yury Delendik
2b298a7a34
Adds make minified command
2014-01-17 10:50:54 -06:00
Tim van der Meij
c6640809a4
Removing extension-files file
2014-01-17 00:10:39 +01:00
Gregory Jordan
04e2235ce7
Fix singlefile build target
2013-12-28 22:33:29 -05:00
Gregory Jordan
1838ec0427
Add a singlefile target to build one concatenated file
2013-12-19 08:18:47 -07:00
Jonas Jenwald
60610cd625
Implement default preferences
2013-11-18 23:51:06 +01:00
Brendan Dahl
c79acf5861
Fix the B2G viewer and enable bot preview.
2013-10-09 15:04:58 -07:00
Brendan Dahl
f32e65b19f
Read multi-byte character codes based on codespace ranges.
2013-09-25 10:32:04 -07:00
Yury Delendik
1de48f1805
Merge pull request #3595 from brendandahl/fix-clip
...
Move the creation of canvas path fonts to the worker.
2013-08-26 06:48:05 -07:00
Yury Delendik
79c57dc04e
Fixes 'make web' after chromium directory remaning
2013-08-21 15:27:13 -05:00
Andreas Bovens
8dc41e7483
adjusted some more chrome references in make.js and README.js as per @yurydelendik's suggestion
2013-08-21 19:22:43 +02:00
Andreas Bovens
4a4f570aed
adjusted paths in make.js to reflect chromium instead of chrome
2013-08-21 18:54:59 +02:00
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
2013-08-19 16:33:20 -07:00
Brendan Dahl
695e92cc00
Merge pull request #3532 from yurydelendik/telem-1
...
Adds initial telemetry probes
2013-08-19 12:34:27 -07:00
Yury Delendik
3f530c43a9
Specifies default workerSrc (if possible)
2013-08-16 11:33:54 -05:00
Yury Delendik
ba23a9e8f9
Adds initial telemetry probes
2013-08-16 09:53:05 -05:00
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
2013-08-12 10:48:06 -07:00
Yury Delendik
2ab481a1da
Removes foreign for Firefox CSS prefixes
2013-07-09 17:23:20 -05:00
Vivin Paliath
83b6eaed16
pr #3356
...
squashing commits.
2013-06-18 09:05:55 -07:00
Yury Delendik
0e133f0090
Drawing without fillText; refactoring ADD_TO_PATH
2013-05-15 15:57:27 -05:00
Mack Duan
f8f4b3f45d
Refactor code for annotations
2013-05-07 14:22:13 -04:00
Mack Duan
e1a50eda59
Fix node make extension for building chrome
2013-04-24 13:21:37 -07:00
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
2013-04-12 16:13:22 -07:00
Rob Wu
e181a3c902
Highly improved Chrome extension
...
Full list feature changes in this commit:
- Support for iframes
- Switched to content-type (MIME) detection instead of hard-coding a
case-sensitive check for the .PDF extension
- The PDF's original URL is visible in the omnibox
- Support for incognito mode
Note: PDF viewer is disabled for the file:// + incognito
combination, because it's currently impossible to get the combination
to work.
See https://github.com/mozilla/pdf.js/pull/3017#issuecomment-15693432
2013-04-04 10:04:13 +02:00
Brendan Dahl
76ff549899
Bump version number to 0.8.
2013-04-02 09:25:41 -07:00
Yury Delendik
9ec9754eba
Fixes chrome extension build ( #2951 )
2013-03-19 07:59:26 -05:00
Aluísio Augusto Silva Gonçalves
d18f8d11bc
Add icons to the Chrome extensions
2013-02-16 23:15:01 -03:00
Yury Delendik
cb68adb80f
Replacing gjslint with jshint; fixing jshint for windows
2013-02-05 10:17:49 -06:00
Yury Delendik
81f8f92696
Adds web/* and test/* for jshint target
2013-02-04 12:01:19 -06:00
Yury Delendik
fcc169453b
Adds the extensions/* files for jshint
2013-02-02 21:15:43 -06:00
Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
2013-02-02 16:49:19 -06:00
Yury Delendik
9216435953
Disables gjslint results
2013-02-02 12:03:18 -06:00
Jon Buckley
442bd8bd5a
Issue #2654 - Lint with Travis-CI
2013-02-01 12:01:04 -05:00
Jon Buckley
c226147d09
Issue #2008 - Fix lint errors for external/crlfchecker/
2013-01-31 19:12:46 -05:00
Jon Buckley
10cdb48f36
Issue #2008 - Fix lint errors for external/builder/
2013-01-31 19:12:46 -05:00
Jon Buckley
c4eab852e0
Issue #2008 - Fix lint errors for make.js
2013-01-31 19:12:46 -05:00