Jürg Lehni
|
c68a7d33da
|
Switch from options.browser and options.node to options.environment
|
2013-10-10 23:09:00 +02:00 |
|
Jürg Lehni
|
6b45a9382c
|
Replace typeof x !== 'undefined' checks with typeof x === 'object'.
|
2013-10-10 20:36:33 +02:00 |
|
Jürg Lehni
|
fdfdf96357
|
Make load.sh work for Node.js too
|
2013-06-27 14:41:25 -07:00 |
|
Jürg Lehni
|
899ec1d360
|
Make built version of paper.js for node work and work towards using that in NPM.
|
2013-06-27 14:31:03 -07:00 |
|
Jürg Lehni
|
4f5dac8567
|
Improved PrePro to be able to dynamically load Node.js code too, and improve load.js to handle both environments.
Also moved PaperScript .pjs extension code to PaperScript, and DOM related Node.js code to dom/node.js
|
2013-06-27 13:49:04 -07:00 |
|
Jürg Lehni
|
214db84b84
|
Improve src/load.js to directly load the library through PrePro's load.js
|
2013-06-26 19:14:54 -07:00 |
|
Jürg Lehni
|
4e173a7d35
|
Switch to the NPM version of PrePro's load.js
|
2013-06-26 18:57:46 -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
|
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
|
9d8cddbe42
|
Implement new private Format object that handles formatting of number, point, size and rectangle.
|
2013-02-28 19:14:05 -08:00 |
|
Jürg Lehni
|
6c9c16ad3d
|
Update copyright information comments, and year.
|
2013-01-28 18:03:27 -08:00 |
|
Jürg Lehni
|
68ad4bb5ba
|
Implement PathItem#getIntersections(path) and Curve#getIntersections(curve) using divide-and-conquer approach, and new Curve.getBounds().
|
2012-12-27 19:23:03 +01: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
|
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
|
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 |
|
Jonathan Puckey
|
1ffb8debc3
|
Add HitResult tests (work in progress).
|
2011-07-13 17:35:54 +02: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
|
dfbe3135ad
|
Remove HitResult inheritance from CurveLocation, but have a #location property pointing to it.
|
2011-07-08 22:25:42 +02:00 |
|
Jürg Lehni
|
69a7d0bfd4
|
Implement a first version of Item#hitTest(), so far working only for Path items. Work in progress.
|
2011-07-07 22:14:58 +02:00 |
|
Jürg Lehni
|
de87c1f97a
|
Define a bit of code that names all our class constructors based on the property name under which they were stored, and use that in Item#toString().
|
2011-07-07 22:14:09 +02:00 |
|
Jürg Lehni
|
79c0ad8cc5
|
Update copyright notices.
|
2011-07-01 12:17:45 +02:00 |
|
Jürg Lehni
|
1cd7165ea2
|
Define PlacedItem as base class for Raster and PlacedSymbol.
|
2011-07-01 11:26:51 +02:00 |
|
Richard D. Worth
|
ac39873693
|
Whitespace. Removed all trailing whitespace from .js files
|
2011-06-30 06:01:51 -04:00 |
|
Jürg Lehni
|
7cd749e63d
|
Change all documentation to new convention of defining @class outside injection scope, fix some comments and a few errors with examples.
|
2011-06-22 23:56:05 +01:00 |
|
Jürg Lehni
|
4e3aa3e5c5
|
Move all Style classes into their own folder.
|
2011-06-20 16:38:01 +01:00 |
|
Jürg Lehni
|
a7e57ada88
|
Big refactoring of the way Style objects are linked to their owning classes, implemented in a way that works across all sub classes.
|
2011-06-20 14:58:48 +01:00 |
|
Jürg Lehni
|
f064886c67
|
Introduce Style as a base class for all Style classes, and move the definition of create() there.
|
2011-06-20 13:56:49 +01:00 |
|
Jürg Lehni
|
0df909dd71
|
Rename ChangeFlags -> ChangeFlag.
|
2011-06-19 22:21:14 +01:00 |
|
Jürg Lehni
|
28c680ac94
|
Implement PathFitter and Path#pointsToCurves().
|
2011-06-05 19:27:18 +01:00 |
|
Jürg Lehni
|
fafb6d1d76
|
Convert CurveFlattener to PathFlattener, which can handle drawing of parts accross curve boundaries.
|
2011-06-04 18:25:41 +01:00 |
|
Jürg Lehni
|
ce01d2cc59
|
Start implementing CurveFlattener, as required for dashing.
|
2011-06-04 12:40:58 +01:00 |
|
Jürg Lehni
|
15da2fe257
|
Implement Item#isAbove / #isBelow and define tests for it.
|
2011-05-29 19:54:43 +01:00 |
|
Jonathan Puckey
|
8c688bf83d
|
Merge ToolHandler with Tool and remove ToolHandler.
|
2011-05-23 16:30:18 +02:00 |
|
Jonathan Puckey
|
64a142436b
|
Tests: add item cloning tests.
|
2011-05-20 19:40:07 +02:00 |
|
Jürg Lehni
|
404e61ebff
|
Remove deleted files from load.js and paper.js.
|
2011-05-19 20:28:45 +01:00 |
|
Jürg Lehni
|
26269d394a
|
Rename project/ProjectView -> ui/View.
|
2011-05-17 13:29:07 +01:00 |
|
Jonathan Puckey
|
979ab18e9a
|
Implement basic version of TextItem, PointText, CharacterStyle & ParagraphStyle.
|
2011-05-16 15:15:47 +02:00 |
|
Jürg Lehni
|
cfe968d30e
|
Rename Document -> Project, DocumentView -> ProjectView, paper.document -> paper.project and paper.documents -> paper.projects, to avoid name clashing with window.document.
|
2011-05-16 13:33:15 +01:00 |
|
Jürg Lehni
|
0fd8c4e046
|
Fix CompoundPath test and add it to load.js so it actually gets tested.
|
2011-05-15 19:09:34 +01:00 |
|
Jürg Lehni
|
185a7f15ac
|
Fix newly introduced error.
|
2011-05-14 18:00:29 +01:00 |
|
Jürg Lehni
|
01fdeb270b
|
Move PaperScript.js to core.
|
2011-05-14 17:22:49 +01:00 |
|
Jürg Lehni
|
a1efd85ecb
|
Improve PaperScope definition so it also works when using load.js, and seperate paper.js code into core/Base.js and core/PaperScope.js.
|
2011-05-14 13:38:45 +03:00 |
|
Jürg Lehni
|
3feb45addc
|
Add keepalive attribute to canvas to tag that controls wether it animates in background in emulated requestAnimationFrame() function, and use it in all example files.
|
2011-05-14 13:04:02 +03:00 |
|
Jürg Lehni
|
b26caee702
|
Improve key event handling, work in progress.
|
2011-05-08 13:43:52 +01:00 |
|
Jürg Lehni
|
926fffee4a
|
Rename Event -> DomEvent and Element -> DomElement, to be more specific and not clash with other classes, e.g. a future base class for ToolEvent and KeyEvent.
|
2011-05-08 10:16:11 +01:00 |
|
Jürg Lehni
|
4e6e855461
|
Change '// TODO: Port' comments to '// PORT:'.
|
2011-05-07 14:18:27 +01:00 |
|
Jürg Lehni
|
dabc2b97ed
|
Implement change-notification in a proper way, using ChangeFlags that tell it what exactly has changed, and clearing caches accordingly.
|
2011-05-07 13:39:17 +01:00 |
|
Jürg Lehni
|
17b5354773
|
Include util files at the end of the library, not the beginning.
|
2011-05-07 11:24:01 +01:00 |
|
Jürg Lehni
|
91919987a6
|
We need the paper object before including utils.
|
2011-05-06 13:45:18 +01:00 |
|
Jürg Lehni
|
1e7fab2cbc
|
Rearrange file sequence to have utils first.
|
2011-05-06 13:29:05 +01:00 |
|