Commit graph

253 commits

Author SHA1 Message Date
Jürg Lehni
e6bed426d7 Make inclusion of PaperScript optional and build a core version of the library without it. 2013-06-24 04:49:45 -07:00
Jürg Lehni
d8188e8ddc Improve prepro.js' stripComments() method to respect regular expressions. 2013-06-23 21:02:37 -07:00
Jürg Lehni
a4535edbb9 Bring back _class names, since code minification breaks reliance on constructor.name.
Closes #248.
2013-06-23 20:18:32 -07:00
Jürg Lehni
8016413d47 Fix issues with uglifyjs.
Workarounds so far, needs proper fixing in uglifyjs.
2013-06-01 16:45:35 -07:00
Jürg Lehni
de766303f8 Include stats.js in distribution so all examples can work. 2013-06-01 16:45:14 -07:00
Jürg Lehni
87d755e2f6 Include the minified version of the library in the distribution. 2013-06-01 11:25:39 -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
6fa6c022c9 Rename options.server to options.node 2013-05-28 00:01:55 -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
0178386a7a Update JSdoc. 2013-04-26 15:31:39 -07:00
Jürg Lehni
50287cde96 Update JSDoc. 2013-04-19 11:53:59 -07:00
Jürg Lehni
2d3f9c36eb Update JSDoc and fix documentation issues. 2013-04-09 17:07:41 -07:00
Jonathan Puckey
00cea46c5d Update jsdoc-toolkit submodule. 2013-03-16 19:32:39 +01: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
35c1650634 Update JsDoc. 2013-02-09 12:05:36 -08:00
Jürg Lehni
b6d2d83af5 Fix the strangest JavaScriptCore bug that I've encountered in ages.
Closes #168. Read comment for more details.
2013-02-08 16:32:47 -08:00
Jürg Lehni
6c9c16ad3d Update copyright information comments, and year. 2013-01-28 18:03:27 -08:00
Jürg Lehni
c627b59fd0 Update TextMate project and .gitignore files. 2013-01-28 17:32:46 -08:00
Jürg Lehni
e2eb92583d Update JSDoc. 2012-12-25 16:59:18 +01: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
cdfd1f596a Fix some comments. 2012-12-02 19:47:25 -08: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
450c8fc1df Remove unused uglifyjs helper script. 2012-11-23 12:32:58 -08:00
Jürg Lehni
302f23bc5a Update Acorn.js and use it now by default, thanks to Marijn's fast bugfix:
https://github.com/marijnh/acorn/issues/14
2012-11-18 12:25:37 -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
471a7eed6e Remove editor.sh 2012-11-14 22:24:43 -08:00
Jürg Lehni
4e1db6a1d1 Fix a row of documentation issues. 2012-11-06 13:35:50 -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
c227d589ca Improve stripComments() in prepro.js to handle parse-js.js code properly. 2012-11-02 15:53:51 -07:00
Jürg Lehni
4a74cf9e29 Improve Paper code editor to also display errors. 2012-10-23 20:05:01 -07:00
Jürg Lehni
baaa7abe92 Include code for Paper.js teaching editor.
Featuring the beginning of a vector graphics inspector!
2012-10-08 23:14:12 -07:00
Jonathan Puckey
c6ebd22b33 Use the load.sh version of dist/paper.js to avoid confusion during development. 2012-10-08 19:24:45 +02:00
Jürg Lehni
6ca373e237 Update JsDoc. 2012-09-30 19:55:43 -07:00
Jürg Lehni
5f6842656f Define project files for sublime text. 2012-09-30 14:05:00 -07:00
Jürg Lehni
f26592ded5 Update JsDoc. 2012-03-15 19:36:15 +01: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
a6c273c2e9 Update JsDoc. 2011-11-10 19:18:55 +01:00
Jürg Lehni
8a048e8448 Fix issue with prepro.js where double-slashes inside block comments were filtered out (e.g. as part of URLs). 2011-11-10 18:29:50 +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
Jonathan Puckey
e73a2df6b2 Update JsDoc. 2011-07-31 22:07:10 +02:00
Jürg Lehni
f5bfa8f566 Update JsDoc. 2011-07-31 15:20:49 +01:00
Jürg Lehni
3c20f31a28 Fix parse-js.sh script to work with new Prepro.js 2011-07-31 12:11:49 +01:00
Jürg Lehni
dcccc39dcb Remove double equals to make script work on Debian's Dash shell too. 2011-07-30 00:38:30 +01:00
Jürg Lehni
739845fc82 Update JsDoc. 2011-07-27 22:04:36 +01:00
Jürg Lehni
afec10c5bf Move prepro.js to lib/and include() statements for test units to their own files inside tests/ 2011-07-27 22:00:31 +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
f98c8f29fc Implement Prepro.js for the browser too, in order to be able to load the library from paper.js source files and preprocess on the fly on the browser side. 2011-07-26 12:27:36 +01:00
Jürg Lehni
5b6df3d3bf Change ./preprocess.sh for docs.sh too. 2011-07-26 10:17:59 +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
b37d4d9a9b Fix preprocess.sh calling sequence for docs library. 2011-07-20 00:00:26 +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
0f72ab35fa Update JsDoc. 2011-07-11 12:21:53 +02:00
Jürg Lehni
5655981f6d Clean up white spaces. 2011-07-07 16:09:02 +02:00
Jürg Lehni
287e91bd0c Update JsDoc. 2011-07-02 18:06:38 +02:00
Jürg Lehni
79c0ad8cc5 Update copyright notices. 2011-07-01 12:17:45 +02:00
Jürg Lehni
d33e480749 Update JsDoc. 2011-06-27 15:28:32 +02:00
Jürg Lehni
d6cf11efce Add #!/bin/sh to all shell scripts. 2011-06-25 22:34:59 +02:00
Jürg Lehni
ab71329b8c Add scripts for packaging paper.js for distribution. 2011-06-24 20:12:48 +01:00
Jürg Lehni
aa7a4627fa Update JsDoc. 2011-06-23 00:18:26 +01:00
Jürg Lehni
219f288207 Update JsDoc. 2011-06-22 22:39:51 +01:00
Jonathan Puckey
78278dd324 Update JsDoc. 2011-06-17 19:14:00 +02:00
Jonathan Puckey
27eb05b631 Fix JsDoc submodule. 2011-06-17 18:23:06 +02:00
Jonathan Puckey
0c6c4b999c Update JsDoc. 2011-06-17 18:06:33 +02:00
Jürg Lehni
5f48d4e4a9 Update JsDoc. 2011-06-17 11:42:09 +01:00
Jürg Lehni
9926d3f1c4 Move the local sync.sh to build. 2011-06-16 23:59:11 +01:00
Jürg Lehni
4978fd2505 Update JsDoc. 2011-06-16 23:29:01 +01:00
Jürg Lehni
9c017c431d Update JsDoc. 2011-06-14 23:03:52 +01:00
Jürg Lehni
570fa4fbeb Update JsDoc. 2011-06-13 23:51:26 +01:00
Jürg Lehni
c4d0d80f3b Only build paper.js library for docs, not for server templates. 2011-06-13 23:50:43 +01:00
Jürg Lehni
fbf7016e7c Update JsDoc. 2011-06-13 19:32:20 +01:00
Jürg Lehni
12179ac35c Update JsDoc Toolkit. 2011-06-13 15:55:06 +01:00
Jürg Lehni
cea60c1ad2 Add comments. 2011-06-12 23:09:41 +01:00
Jürg Lehni
a7f00398a3 Add jsdoc-toolkit as submodule. 2011-06-12 23:09:09 +01:00
Jürg Lehni
4f57dd5702 Remove embedded jsdoc-toolkit, so it can be added as submodule. 2011-06-12 23:08:05 +01:00
Jürg Lehni
4d12cb87fc Switch from "out" folder for built library to "dist". 2011-06-12 19:03:18 +01:00
Jürg Lehni
b466ac809e Provide a shell script that generates a version of out/paper.js that uses load.js to directly load the library through the seperate source files in the src directory, as required development of the library itself. 2011-06-12 18:55:29 +01:00
Jürg Lehni
7ef4575320 jsdoc: Use .html extension for template docs too, as they are not using any macros anyore. 2011-06-10 02:50:06 +01:00
Jürg Lehni
a031980556 jsdoc: Port back CSS changes from Paperjs.org. 2011-06-09 00:03:37 +01:00
Jürg Lehni
bbf2cca62f jsdoc: Add compiled paper.js file. 2011-06-09 00:03:16 +01:00
Jürg Lehni
ea1596c328 jsdoc: Move paperscript css in its own files. 2011-06-08 18:47:19 +01:00
Jürg Lehni
bbcf49f5d7 jsdoc: Do not wrap normal code in paperscript element. 2011-06-08 18:23:26 +01:00
Jürg Lehni
790ad1754a jsdoc: Use paragraph tag for example headers. 2011-06-08 18:23:01 +01:00
Jürg Lehni
088fb421bb jsdoc: Sort out bottom margins for various content elements. 2011-06-08 18:22:32 +01:00
Jürg Lehni
34a17068c4 jsdoc: Rename templatedocs to templates. 2011-06-08 17:56:08 +01:00
Jürg Lehni
501c3b56b4 jsdoc: Rename indexjs to packages. 2011-06-08 17:55:43 +01:00
Jürg Lehni
725331412c jsdoc: Clean up css styles and assets. 2011-06-08 17:53:15 +01:00