Commit Graph

214 Commits

Author SHA1 Message Date
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
Jon Buckley
19dbeaa23e Issue #2008 - Add jshint 2013-01-31 19:12:44 -05:00
Yury Delendik
7b70710565 Traces pdf.js version 2013-01-04 11:01:31 -06:00
Brendan Dahl
2c7fea0e69 Bump the version to 0.7. 2012-12-11 09:30:45 -08:00
Yury Delendik
10f37f7e40 PDF.js features testing 2012-12-03 15:48:08 -06:00
Brendan Dahl
fd4e40c82b New GUI for B2G viewer. 2012-11-29 17:01:51 -08:00
Yury Delendik
e5247e4895 Updates webL10n; using viewer.properties as is 2012-11-29 14:02:33 -06:00
Brendan Dahl
df0d9be4a5 Add close button and title bar for b2g. 2012-11-28 11:02:56 -08:00
Brendan Dahl
2335c6c23e Merge pull request #2342 from yurydelendik/mozcentraldiff
Add mozcentraldiff target
2012-11-06 12:46:35 -08:00
Yury Delendik
fb0fd9e862 Adds mozcentralcheck and mozcentraldiff targets 2012-11-06 14:02:13 -06:00
Yury Delendik
5afec33956 Adds ttx test harness 2012-11-01 19:29:04 -05:00
Brendan Dahl
babd8df176 Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code. 2012-10-29 12:44:18 -07:00
Yury Delendik
ee16090bc2 Fixes test pdfs MD5; make server does not download 2012-10-16 10:30:14 -05:00
Brendan Dahl
36f6987aa1 Bump the version number. 2012-10-11 09:33:11 -07:00
Yury Delendik
dc451b0028 Adds .PHONY to Makefile 2012-10-05 11:10:27 -05:00
Artur Adib
790f60830b remove target.pagesrepo, commit here (not bot) 2012-09-12 09:10:30 -07:00
Artur Adib
4c21197963 fix gh-pages bloat 2012-09-11 16:08:07 -07:00
Brendan Dahl
55ebff6059 Merge pull request #2035 from yurydelendik/makemakefile
Generates proxy Makefile
2012-09-07 08:53:44 -07:00
Michael Payne
6ca9245a39 Changes to allowed versioned building of Chrome extension that meets new
Chrome extension security requirements
2012-09-06 12:39:49 -07:00
Michael Payne
088c6e17e8 changes to allow chrome extension to load
changes to remove inline scripts, update manifest version, fix make.js
so compatibility.js isn't included for chrome. Due to new Chrome
extension changes outlined at
http://developer.chrome.com/extensions/manifestVersion.html
2012-09-05 22:52:17 -07:00
Yury Delendik
5901f1e832 Merge pull request #2061 from brendandahl/relicense
Change to the Apache v2 license.
2012-09-04 11:04:00 -07:00
Brendan Dahl
76d877e48b Strip out license for bundled version. 2012-09-04 10:22:32 -07:00