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
Jürg Lehni
a03fc0a3bf
jsdoc: Merge code for different render modes.
2011-06-08 17:38:47 +01:00
Jürg Lehni
127b572026
jsdoc: Always use Link.filemap in order to rename _global_.html to global.html, and also the templatedocs links to that page.
2011-06-08 17:34:50 +01:00
Jürg Lehni
75da343022
jsdoc: Change the way the package-classes list is rendered by using nested <ul> tags, and have Global Scope appear outside of a nested list.
2011-06-08 15:52:32 +01:00
Jürg Lehni
39380b4c87
jsdoc: Revert unrequired change.
2011-06-08 13:56:48 +01:00
Jürg Lehni
31bef3ea14
Merge remote-tracking branch 'origin/master'
2011-06-08 13:52:49 +01:00
Jürg Lehni
2ed323a73a
jsdoc: Handle renaming of _global_ scope more consistently, also in links.
2011-06-08 13:52:37 +01:00
Jürg Lehni
a62b28a6b9
Use Link() object in Render.classes().
2011-06-08 13:37:42 +01:00
Jürg Lehni
4f5415b1e5
jsdoc: Add asCode parameter to Link() constructor, to define if it should be wrapped in <tt> or not.
2011-06-08 13:36:46 +01:00
Jonathan Puckey
b51a25486f
jsdoc template: create the classes directory.
2011-06-08 13:21:17 +02:00
Jürg Lehni
16f184a9a1
Ingore TextMate project files.
2011-06-07 10:36:40 +01:00
Jürg Lehni
dc731f2d79
JSDocs: Have inheritance links be rendered bold too.
2011-06-07 10:35:39 +01:00
Jürg Lehni
bd61bf5a27
JSDocs: Correct the way links are generated in templatedocs.
2011-06-07 10:35:26 +01:00
Jürg Lehni
cb82bf3ff1
JSDocs: Clean up directory settings.
2011-06-07 10:34:53 +01:00
Jürg Lehni
ad087738cd
JSDocs: Use no extensions in links for templatedocs.
2011-06-07 10:33:39 +01:00
Jürg Lehni
6249a8ba53
Remove unused .gitignore file.
2011-06-07 10:28:39 +01:00
Jürg Lehni
2d71ff9c9e
JSDocs: Move Utils.publishMenu() funcitonality to Render.classes(), but have it not render the template yet, as it is requied by both docs and templatedocs, through the index rendering functions Render.index() (previoulsy Render.menu()) and Render.indexjs (previously Render.packagesjs).
2011-06-07 10:28:18 +01:00
Jürg Lehni
928cd7c39e
JSDocs: Have templatedocs generate lowercased links through the use of Link.filemap.
2011-06-07 10:23:14 +01:00
Jürg Lehni
acce38b745
JSDocs: Rename _global_ to Global Scope in templates too.
2011-06-07 10:21:51 +01:00
Jürg Lehni
d28c354a6d
JSDocs: Remove unused JS code.
2011-06-07 10:20:20 +01:00
Jürg Lehni
57b7da13ab
JSDocs: Add '-member' to all member div ids, so they won't accidentally collide with css styles (e.g. #index).
2011-06-07 10:20:00 +01:00
Jürg Lehni
d07c95f565
Clean up code.
2011-06-07 10:17:33 +01:00
Jürg Lehni
d1db98fe68
Rename _global_ to Global Scope.
2011-06-07 10:17:02 +01:00
Jürg Lehni
9a1879fbd4
JSDocs: Clean up css styles, to reflect recent changes in Paperjs.org and Scriptographer.org (reference.css is shared).
2011-06-07 10:15:26 +01:00
Jürg Lehni
8046087c51
JSDocs: Clean up css styles, to reflect recent changes in Paperjs.org and Scriptographer.org (reference.css is shared).
2011-06-07 10:14:56 +01:00
Jürg Lehni
2144eeb25e
JSDocs: Remove unused template files.
2011-06-07 00:14:57 +01:00
Jürg Lehni
5b448fbb06
JSDocs: Separate "See also" links with commas.
2011-06-07 00:14:47 +01:00
Jürg Lehni
f4bf96abec
JSDocs: No need to wrap links in <tt> since they are taking care of that already.
2011-06-07 00:05:53 +01:00
Jürg Lehni
494c2f4da0
JSDocs: Separate different options with ' / ' rather than '|'.
2011-06-07 00:01:07 +01:00
Jürg Lehni
a5426403eb
JSDocs: Improve the way links from arrays to their components are rendered.
2011-06-07 00:00:30 +01:00
Jonathan Puckey
7771fd8736
jsdoc template: example.tmpl: add a div around the pre code, so it receives the bottom margin.
2011-06-03 18:43:47 +02:00
Jonathan Puckey
54e98cb4e2
jsdoc template: make the paperscript examples 100 high with a split pane by default.
2011-06-03 18:42:52 +02:00
Jonathan Puckey
4235af8e35
jsdoc template: Copy the changes made to the Code / PaperScript tags on paperjs.org.
2011-06-03 18:42:13 +02:00
Jonathan Puckey
381fd61f60
jsdoc template: fix bug where paperScript object wasn't being nullified.
2011-06-03 13:23:57 +02:00
Jonathan Puckey
082ecf1a64
jsdoc template: rename Code#format and PaperScript#format to #setup.
2011-06-02 21:01:44 +02:00
Jonathan Puckey
c22d8f8f3c
Merge remote branch 'origin/master'
2011-06-02 20:52:42 +02:00
Jonathan Puckey
6ddb29bd21
jsdoc template: Support inline paperscript tags for examples.
2011-06-02 20:52:02 +02:00
Jonathan Puckey
415728f7cf
jsdoc template: also build paper.js and place it in the resources folder of the generated documentation.
2011-06-02 20:50:43 +02:00
Jürg Lehni
419514a7b0
Ignore local build files.
2011-06-02 15:34:28 +01:00
Jonathan Puckey
7e932368a8
jsdoc template: fix Operator.isOperator's handling of == operators.
2011-06-02 14:54:00 +02:00
Jonathan Puckey
4e227dd361
jsdoc template: remove unused allclasses template.
2011-06-02 13:35:42 +02:00
Jonathan Puckey
a32930287a
jsdoc template: move src files into separate folder and make a groupTitle plugin.
2011-06-02 12:56:24 +02:00
Jonathan Puckey
4af970ed79
jsdoc template: general clean up and implement exporting of packages.js.
2011-06-01 19:49:50 +02:00
Jonathan Puckey
0c6a91a789
jsdoc: remove comments that Rhino bugs out on.
2011-06-01 19:46:39 +02:00
Jonathan Puckey
33ad03af5d
jsdoc: Update Rhino.
2011-06-01 19:46:11 +02:00
Jonathan Puckey
3274102dec
More jsdoc work, including exporting of templatedocs.
2011-06-01 12:19:15 +02:00
Jürg Lehni
ad2c7332de
Move jsdoc creation to its own build script.
2011-05-31 22:17:13 +01:00
Jonathan Puckey
048dda45d5
jsdoc template: clean up menu html.
2011-05-31 16:36:34 +02:00
Jonathan Puckey
bcc9d4efcd
jsdoc template: use html5 doctype.
2011-05-31 16:36:04 +02:00
Jonathan Puckey
fddbb07ac1
jsdoc template: add copyright footer.
2011-05-31 16:29:37 +02:00
Jonathan Puckey
41c7ae6a90
jsdoc template: cleanup publish.js a bit.
2011-05-31 15:26:33 +02:00
Jonathan Puckey
3d7ddb26bf
jsdoc template: allow optional naming of symbols in the package list and name '_global_' -> 'global paper scope'
2011-05-31 15:25:21 +02:00
Jonathan Puckey
add6379ec3
jsdoc template: fix a few style discrepancies.
2011-05-31 01:27:10 +02:00
Jonathan Puckey
5341cc0855
jsdoc template: move bullet.gif to assets folder.
2011-05-31 01:01:29 +02:00
Jonathan Puckey
d2ad85f28c
jsdoc template: fix rendering of packages.html.
2011-05-31 00:59:38 +02:00
Jonathan Puckey
c827888c71
jsdoc template: update bootstrap dependency.
2011-05-31 00:54:02 +02:00
Jonathan Puckey
7fe1cb84b4
jsdoc template: add missing bullet.gif resource.
2011-05-31 00:41:10 +02:00
Jonathan Puckey
14e46fe78f
jsdoc template: Move helper functions into global Utils object and replace <pre> tags with <pre class='code'> to have them highlighted by CodeMirror.
2011-05-30 20:07:45 +02:00
Jonathan Puckey
df86a91d7c
jsdoc template: adjust reference stylesheet.
2011-05-30 20:06:04 +02:00
Jonathan Puckey
4900b01c86
jsdoc template: remove unused allfiles.tmpl file.
2011-05-30 20:05:38 +02:00
Jonathan Puckey
5b1a5229da
jsdoc template: Fix output of @return tags.
2011-05-30 17:00:39 +02:00
Jonathan Puckey
8637bc4203
jsdoc: clean up templates a bit and improve rendering of @example tags.
2011-05-30 16:52:11 +02:00
Jonathan Puckey
e3069eaaed
jsdoc template: Use CodeMirror for code highlighting.
2011-05-30 14:44:08 +02:00
Jonathan Puckey
6d13b1eb5d
jsdoc template: hide constructors without a description.
2011-05-30 12:31:15 +02:00
Jonathan Puckey
a3ea5e0de5
jsdoc template: Add empty .gitignore file to packages folder.
2011-05-29 20:11:22 +02:00
Jonathan Puckey
044dd34e9f
jsdoc: when linking to a member of the same class, toggle it.
2011-05-29 17:23:45 +02:00
Jonathan Puckey
1bbf5e27bf
jsdoc template: change title of index page.
2011-05-29 16:58:33 +02:00
Jonathan Puckey
7e34c713b0
jsdoc template: fix links and remove unnecessary rendering of template.
2011-05-29 14:00:56 +02:00
Jonathan Puckey
de9378f5c6
jsdoc: render menu and move resources into static.
2011-05-28 19:31:41 +02:00
Jonathan Puckey
3bb4e4a0c7
jsdoc template: rename title of inherited functions / properties.
2011-05-28 19:29:44 +02:00
Jonathan Puckey
33b69f3205
Jsdoc: Update the java Rhino library.
2011-05-28 19:24:08 +02:00
Jonathan Puckey
54b40faf5d
jsdoc: clean up templates and publish.js.
2011-05-28 15:43:26 +02:00
Jonathan Puckey
1bcb8a3e34
jsdoc: expand (parameter,parameter) to (parameter, parameter) in Link.prototype._makeSymbolLink.
2011-05-28 03:05:23 +02:00
Jonathan Puckey
70a3300927
jsdoc: when no default value is given, just put optional.
2011-05-28 02:27:56 +02:00
Jonathan Puckey
69732bcbad
jsdoc: implement constructors plugin that scans for symbols named Class#initialize or Class.Class and places them in the Constructors list in the documentation.
2011-05-28 02:13:52 +02:00
Jonathan Puckey
f78259f8de
jsdoc: change parser to allow for multiply symbols of the same name.
2011-05-28 02:11:30 +02:00
Jonathan Puckey
30c92ae382
jsdoc publish.js: remove debug statement.
2011-05-27 20:27:42 +02:00
Jonathan Puckey
75620403d8
jsdoc: ignore constructor if the class is a namespace.
2011-05-27 19:59:30 +02:00
Jonathan Puckey
6e8824f7bb
jsdoc: surround read only text with paragraph.
2011-05-27 19:58:59 +02:00
Jonathan Puckey
079692bdc3
More work on jsdoc method linking.
2011-05-27 19:58:31 +02:00
Jonathan Puckey
8bfc9c3e2a
jsdoc: support {@link Class#method(param1, param2)} -> Class#method-param1-param2.
2011-05-27 19:43:45 +02:00
Jonathan Puckey
b98f69a75c
jsdoc: support @true tag.
2011-05-27 18:40:47 +02:00
Jonathan Puckey
2f67552791
jsdoc: include parameter descriptions.
2011-05-27 18:27:01 +02:00
Jonathan Puckey
41925ea990
More docs rendering work.
2011-05-27 17:59:31 +02:00
Jonathan Puckey
f9d9847320
jsdoc: add methods and properties from inherited classes.
2011-05-27 14:59:43 +02:00
Jonathan Puckey
8887a4494c
jsdoc: add support for @readonly tags.
2011-05-27 13:55:59 +02:00
Jonathan Puckey
1821dcd415
jsdoc: convert <code> blocks to <pre>.
2011-05-27 13:55:41 +02:00