Commit graph

2615 commits

Author SHA1 Message Date
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
Jonathan Puckey
08c02a66f1 Fix Item#insertAbove(item) & Item#insertBelow(item). Closes #81 2012-03-13 15:58:52 +01:00
Jonathan Puckey
f010850f0a Add failing tests for Item#moveAbove(item) and Item#moveBelow(item) 2012-03-13 14:54:23 +01:00
Jonathan Puckey
31b5a0647e Add change tracking to Gradient & GradientStop. 2012-03-04 19:14:13 +01:00
Jonathan Puckey
d78103339d Make sure value exists. 2012-03-03 21:12:11 +01:00
Jonathan Puckey
ed06901fb3 Update build of /dist/paper.js. Closes #79 2012-03-02 13:14:59 +01:00
Jonathan Puckey
4d21e219c0 Merge pull request #74 from jonobr1/patch-1
Based on logic, I think the else if statement means to refer to c1 rathe...
2012-03-02 03:30:25 -08:00
Jonathan Puckey
b0aa54bf56 Add missing ImageData relating functions to ProxyContext and fix problem where values weren't being returned. 2012-03-02 12:23:32 +01:00
Jonathan Puckey
2fff5b4f79 Group: fix clipping. Fixes #66 2012-03-02 11:54:11 +01:00
Jonathan Puckey
c339ffca35 Close closed paths when drawing using Context#closePath(). Fixes #72 2012-03-01 23:25:00 +01:00
Jonathan Puckey
b75e75f586 Cleanup and fix ProxyContext. 2012-03-01 23:20:15 +01:00
Jonathan Puckey
507ff8bb23 Add ProxyContext helper class to assist in debugging problems relating to interactions with the canvas' 2d context. 2012-03-01 22:25:35 +01:00
Jonathan Puckey
7093b73d31 Cleanup last merged pull request. 2012-03-01 17:06:39 +01:00
Jonathan Puckey
0d53b284e3 Merge pull request #75 from abuchanan/path-reverse-segment-siblings
Path.reverse() should adjust segment indices
2012-03-01 08:01:20 -08:00
Jonathan Puckey
a343724094 Item#setName: Check for Item#_parent to avoid errors in removed items and top level groups. Fixes #76 2012-03-01 16:43:05 +01:00
Jonathan Puckey
55a795c285 Add failing tests for renaming a removed item and naming a top level group. 2012-03-01 16:39:00 +01:00
Jonathan Puckey
506a146cc0 Add failing test for group bounds when the group contains a group with no children. 2012-03-01 16:24:26 +01:00
Jonathan Puckey
3634e7b866 Add example demonstrating onResize and Item#fitBounds. 2012-03-01 14:30:14 +01:00
Alex Buchanan
f1a6357a05 Path.reverse() should adjust segment indices 2012-02-18 15:13:23 -08:00
Jono Brandel
ad811827fc Based on logic, I think the else if statement means to refer to c1 rather than c0 again, but I'd like to verify with you guys. 2012-02-07 09:10:33 -08:00
Jonathan Puckey
772174cedc Documentation for Tool and View event handling. 2012-02-02 11:45:02 +01:00
Jürg Lehni
1e0f779ea5 Make the hit test point transformation sticky.
So it propagates through the DOM levels.
2011-12-28 09:13:42 +01:00
Jürg Lehni
f427f369a1 Make PhyllotaxisRaster example work with new #matrix code. 2011-12-27 20:40:59 +01:00
Jürg Lehni
597a59e90c Increase font size. 2011-12-27 20:40:22 +01:00
Jürg Lehni
50e1509ab9 Simplify some code in #getAverageColor(). 2011-12-27 20:39:46 +01:00