Commit graph

2639 commits

Author SHA1 Message Date
Jürg Lehni
44ad4d885a Update link to Kaspar Fischer's PDF with new URL. 2012-10-15 15:48:38 -07:00
Jürg Lehni
e17e94b50b Implement Item#isEmpty() for the various types.
And use it to tell #getBounds() when to ignore items.
2012-10-10 20:11:11 -07:00
Jürg Lehni
adb2ddc615 Fix CompoundPath#insertChild.
It was not returning success values and thus broke some tests.
2012-10-10 19:54:32 -07:00
Jürg Lehni
8dbd2c25bf Improve Paper.js Editor. 2012-10-10 19:36:13 -07:00
Jürg Lehni
ef59ad2875 Improve selection handling and drawing for Path item.
In a way that makes more sense when building tools.
2012-10-10 19:33:42 -07:00
Jürg Lehni
7329f4ef77 Improve handling of owner referencing in colors.
Allow one owner per Color only and clone colors when setting color styles. Gradient can still have multiple GradientColor owners. Closes #124.
2012-10-10 19:27:14 -07:00
Jürg Lehni
4d1920ee8b Improve Base.read() to support cloning of objects that are already provided in the required type. 2012-10-10 19:26:00 -07:00
Jürg Lehni
0a93465e94 Improve vector inspector tool in Paper.js Editor. 2012-10-10 11:25:22 -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
Jürg Lehni
523736d9e5 Handle view redraws correctly for all selection changes. 2012-10-08 23:12:43 -07:00
Jürg Lehni
ed9037deb1 Fix white-space. 2012-10-08 18:44:08 -07:00
Jürg Lehni
f75386e8fb No need to check _windowHandlers, as DomEvent.remove does the right thing either way. 2012-10-08 18:09:41 -07:00
Jürg Lehni
e9985a04a8 Merge branch 'master' of github.com:paperjs/paper.js 2012-10-08 18:06:27 -07:00
Jürg Lehni
08cb7c76ea Clean up resize handlers when removing resizing views.
Closes #121.
2012-10-08 18:05:44 -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
Jonathan Puckey
e3518c29b1 Fix issue where adding the children of one group to another using Item#insertChildren / Item#addChildren does not work.
This fixes #119. To avoid duplication I chose to call
Item#insertChildren from Item#addChildren.
2012-10-06 13:08:07 +02:00
Jonathan Puckey
b2b4924c9e Update version in package.json 2012-10-06 11:19:25 +02:00
Jonathan Puckey
9604e2bd4f Add failing test of issue with Group#addChildren as reported in #119 2012-10-06 11:15:52 +02:00
Jürg Lehni
6b08d96c45 Fix issue where out handle was compared to the wrong segment point when drawing.
This should fix #106 but needs to be verified before we can close the bug.
2012-10-05 19:08:31 -07:00
Jürg Lehni
77296c4640 Update documentation a bit. 2012-10-05 16:09:15 -07:00
Jürg Lehni
297daaf577 Update Bootstrap.js to support enumerable on instances. 2012-09-30 20:15:53 -07:00
Jürg Lehni
6ca373e237 Update JsDoc. 2012-09-30 19:55:43 -07:00
Jürg Lehni
3d8b5a17d1 Include settings for jshint, unfortunatley ignored by sublime for the time being. 2012-09-30 19:52:33 -07:00
Jürg Lehni
841a6a07ff Ignore sublime workspace files. 2012-09-30 19:52:11 -07:00
Jürg Lehni
988ace1069 Remove sublime workspace files. 2012-09-30 19:51:15 -07:00
Jürg Lehni
b29995f376 Clean up code. 2012-09-30 19:50:42 -07:00
Jürg Lehni
c51f2a0d3b Remove unnecessary variable declarations. 2012-09-30 19:50:30 -07:00
Jürg Lehni
199d19a237 Minor code clean-up. 2012-09-30 14:09:59 -07:00
Jürg Lehni
59a55f7574 Merge branch 'master' of github.com:paperjs/paper.js 2012-09-30 14:08:44 -07:00
Jürg Lehni
2c5c4ae423 Improve documentation of Rectangle#intersects. 2012-09-30 14:08:02 -07:00
Jürg Lehni
99ac617ded Inject HitResults fields as enumerable, so the default #toString works, and avoid listing getColor. 2012-09-30 14:07:27 -07:00
Jürg Lehni
9e61995282 Handle parameter matching of beginning and ends of curves separately. 2012-09-30 14:06:31 -07:00
Jürg Lehni
93ba19f7e2 Define key-code for tab key. 2012-09-30 14:05:51 -07:00
Jürg Lehni
c3f051583c Remove unnecessary return statement.
This code can never be reached.
2012-09-30 14:05:34 -07:00
Jürg Lehni
5f6842656f Define project files for sublime text. 2012-09-30 14:05:00 -07:00
Jonathan Puckey
7247c1a5a2 Fix Node.js support. 2012-09-01 19:27:38 +02:00
Jonathan Puckey
cbba321977 Add node_modules directory to .gitignore 2012-09-01 13:38:12 +02:00
Jonathan Puckey
2a0f322c22 Point#getLength: access to out of bounds index in arguments array prevented function from being optimized. 2012-07-25 20:02:04 +02:00
Jonathan Puckey
8cc82917c9 Update dist/paper.js build. Closes #102. 2012-07-20 19:56:39 +02:00
Jonathan Puckey
d20fb61c7c Cleanup code. 2012-04-25 20:47:53 +02:00
Jonathan Puckey
10ae88e90c Merge pull request #84 from luckyvoice/merge
_length cache in Curve is not updated when the Path is transformed
2012-04-25 11:38:31 -07:00
Jonathan Puckey
11136af244 Merge remote-tracking branch 'origin/master' 2012-04-25 19:48:44 +02:00
Jonathan Puckey
cbf2b8b641 Add failing tests. 2012-04-25 19:48:09 +02:00
Jonathan Puckey
59ac6c582f Merge pull request #89 from CAFxX/patch-1
Remove trailing comma
2012-04-09 08:18:16 -07:00
Carlo Alberto Ferraris
9e79231198 Remove trailing comma
Closure compiler chokes on it.
2012-04-09 10:28:09 +03:00
Oliver Beattie
63b576b9a6 Actually ensure the length is cached at first on Curves before testing 2012-03-17 19:54:18 +00:00
Oliver Beattie
457e96ac2b Remove unused delta variable from Item.fitBounds 2012-03-17 17:09:59 +00:00
Oliver Beattie
3c7563a3bf When a path is transformed, the _length cache of its Curves should be invalidated 2012-03-17 17:09:54 +00:00
Jürg Lehni
f26592ded5 Update JsDoc. 2012-03-15 19:36:15 +01:00
Jonathan Puckey
c2ac3cc158 Fix tests. 2012-03-13 16:01:07 +01:00