Commit graph

44 commits

Author SHA1 Message Date
Jürg Lehni
a7a07fb6d5 Update JSDoc and do some documentation spring-cleaning.
- Convert from {@code ...} to shorter `...`
- Reformat some documentation comment blocks
- Update copyright notices
2015-12-30 21:55:19 +01:00
Jürg Lehni
02b91d4829 Improve white-space handling in preprocess.sh script 2014-08-25 13:04:35 +02:00
Jürg Lehni
bdc9ef7d27 Convert spaces back to tabs in the end of build.sh 2014-08-16 19:44:44 +02:00
Jürg Lehni
0e8b3accdd Bring back executable flag for shell scripts. 2014-08-16 19:28:20 +02:00
Jürg Lehni
48cb05a181 Replace tabs with 4 white-spaces. 2014-08-16 19:24:54 +02:00
Jürg Lehni
21c9f97450 Update version handling and comments in options.js 2014-08-16 18:49:35 +02:00
Jürg Lehni
1d0c6e09ba Move version store to options.js and update the various JSON package files from there. 2014-04-06 14:47:45 +02:00
Jürg Lehni
e22fa3a664 Update copyright notice. 2014-01-04 01:47:16 +01:00
Jürg Lehni
865c304411 Use renamed __options object in build script too. 2013-11-29 23:06:51 +01:00
Jürg Lehni
6b19f25f4b Fix typos in comments. 2013-08-08 15:21:35 -07:00
Jürg Lehni
b5b269fd8f Switch to NPM based PrePro and update README.MD accordingly. 2013-06-26 18:04:56 -07:00
Jürg Lehni
e7549f0ce5 Explicitly use bash to avoid build problems on linux. 2013-05-30 15:47:47 -07:00
Jürg Lehni
b92be7ecf3 Set options.stats = false for build.sh and Node.js 2013-05-27 15:33:28 -07:00
Jürg Lehni
d577b1bf48 Share one options.js file describing Paper.js options for Node.js, build.sh and the dev version. 2013-05-27 15:11:32 -07:00
Jürg Lehni
2a75b04af0 Clean up build script. 2013-05-27 14:36:21 -07:00
Jürg Lehni
6ac5463630 Switch to using common string format for paper.version (major.minor.build) 2013-05-27 14:27:05 -07:00
Jürg Lehni
502c76dbce Start merging fat-line clipping code into Curve class.
And add a prepro option for now.
2013-05-24 22:30:13 -07:00
Jürg Lehni
8d2cfc87ed Fix build script. 2013-05-05 23:07:16 -07:00
Jürg Lehni
acb3d6f5f9 Update package.json for publishing to NPM. 2013-05-05 19:22:13 -07:00
Jürg Lehni
bd6e091dda Increase version from 0.3 to 0.8 to highlight the fact *a lot* of work has happened in the meantime. 2013-03-01 17:49:19 -08:00
Jürg Lehni
55cc668cc2 Streamline build scripts. 2013-02-28 19:14:06 -08:00
Jürg Lehni
6c9c16ad3d Update copyright information comments, and year. 2013-01-28 18:03:27 -08:00
Jürg Lehni
110cbbb73d Streamline build scripts and include minified version in dist. 2012-12-24 16:44:13 +01:00
Jürg Lehni
1509a934b0 Merge branch 'refs/heads/master' into uglifyjs2
Conflicts:
	build/preprocess.sh
2012-12-21 16:15:00 +01:00
Jürg Lehni
e3741f5708 Do not drop unreferenced functions and variables when minifying.
It seems to take ages, and parameter list is meaningful in Boostrap.js even when parameters are not used.
2012-12-21 16:13:10 +01:00
Jürg Lehni
6ccdca552e Bump version to 0.3 for upcoming release. 2012-12-15 17:38:56 +01:00
Jürg Lehni
83867f01f3 Preserve ASCII in library for now, until #139 is resolved. 2012-11-23 14:06:11 -08:00
Jürg Lehni
f95cbcd9b9 Switch to UglifyJS2. 2012-11-23 13:39:04 -08:00
Jürg Lehni
6da0b50813 Switch to UglifyJS version 1 as installed by NPM. 2012-11-23 13:06:13 -08:00
Jürg Lehni
34819e6a73 Switch to using Mozilla's standardized AST model for PaperScript parsing though Acorn.js or Esprima.js and their support for ranges.
No more AST mingling but direct code modification means we're finally getting accurate error messages! Sticking to Esprima for now since Acorn still has some issues with ranges: https://github.com/marijnh/acorn/issues/14
2012-11-18 10:06:16 -08:00
Jürg Lehni
35568c15f2 Implement transparent constant-substitution in prepro.js to shave of some extra bytes of final distribution file. 2012-11-05 18:11:44 -08:00
Jürg Lehni
6effceb9bc Bump version to 0.22 and include new dist files. 2011-11-10 19:19:25 +01:00
Jürg Lehni
0bbb4640ce Increase version to 0.21, supporting tools in direct JavaScript mode, including support for multiple tools. 2011-08-02 10:09:40 +01:00
Jürg Lehni
a750564d24 Add comment stripping directly to Prepro.js, and remove jsstrip.pl 2011-07-26 16:01:15 +01:00
Jürg Lehni
dfa85fc0da Remove debug info. 2011-07-26 13:20:27 +01:00
Jürg Lehni
8eaeb7fb5e Remove filepp.pl as preprocessor and switch to our own Prepro.js, a simple preprocesssor for JavaScript that speaks JavaScript, written in JavaScript, allowing preprocessing to either happen at build time or compile time. 2011-07-26 10:09:31 +01:00
Jürg Lehni
c6c311d558 Move definition of VERSION / DATE to preprocess.sh, so docs.sh works too. 2011-07-24 19:41:13 +01:00
Jürg Lehni
86b1d82636 Add VERSION and DATE to headers and support for it in build scripts. 2011-07-13 13:27:14 +01:00
Jürg Lehni
79c0ad8cc5 Update copyright notices. 2011-07-01 12:17:45 +02:00
Jürg Lehni
d6cf11efce Add #!/bin/sh to all shell scripts. 2011-06-25 22:34:59 +02:00
Jürg Lehni
bab7985185 Remove Google Closure Compiler and use UglifyJS instead, as it does not break the library and yields to similar compressions results. 2011-03-07 11:10:35 +00:00
Jürg Lehni
e1a7aff2f0 Add copyright notice and license file. 2011-03-07 00:50:44 +00:00
Jürg Lehni
2c78a0a08b Add beginning of support for <script type="text/paperscript">, inspired by Coffee Script. 2011-03-03 18:31:56 +00:00
Jürg Lehni
80a5e4513e Add preprocessor and build scripts for production of single file Paper.js version, based on previous work for Bootstrap. 2011-03-03 13:45:21 +00:00