Jürg Lehni
|
742c9da822
|
More work on key handling and rename KeyEvent#keyCode -> KeyEvent#key.
|
2011-05-08 15:16:41 +01:00 |
|
Jürg Lehni
|
9f47942e7a
|
Fix typo.
|
2011-05-08 15:16:18 +01:00 |
|
Jürg Lehni
|
e0e8ee0152
|
Remove _owner check in Base.read() again.
|
2011-05-08 14:29:49 +01:00 |
|
Jürg Lehni
|
aac87dba14
|
Move #toString() to the end.
|
2011-05-08 14:13:33 +01:00 |
|
Jürg Lehni
|
7034f8241b
|
Remove deprecated onOptions.
|
2011-05-08 14:09:55 +01:00 |
|
Jürg Lehni
|
37f982e53f
|
Remove unused lookup table.
|
2011-05-08 13:46:31 +01:00 |
|
Jürg Lehni
|
b26caee702
|
Improve key event handling, work in progress.
|
2011-05-08 13:43:52 +01:00 |
|
Jürg Lehni
|
2f4f003873
|
Have Base.read() clone owned objects such as SegmentPoint or LinkedPoint.
|
2011-05-08 13:38:09 +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
|
0e37f86156
|
Fix porting mistakes.
|
2011-05-08 10:07:10 +01:00 |
|
Jürg Lehni
|
327515a9de
|
Add missing header.
|
2011-05-08 09:59:37 +01:00 |
|
Jürg Lehni
|
bb5146397c
|
Merge branch 'master' of github.com:scriptographer/paper.js
|
2011-05-08 00:54:15 +01:00 |
|
Jürg Lehni
|
4be33a2b3f
|
Update Element bounds, scroll and visibility handling to take nested divs with overflow into account .
|
2011-05-08 00:54:07 +01:00 |
|
Jonathan Puckey
|
3118d8547d
|
Include HSBColor.js in paper.js.
|
2011-05-08 00:23:59 +01:00 |
|
Jürg Lehni
|
c053fb977a
|
Export PaperScript object and its load function as paper.load.
|
2011-05-07 20:50:32 +01:00 |
|
Jürg Lehni
|
081a303de0
|
Make sure PaperScripts are not loaded more than once by setting the loaded attribute to true on them.
|
2011-05-07 20:50:12 +01:00 |
|
Jonathan Puckey
|
791d9335ce
|
Merge branch 'master' of github.com:scriptographer/paper.js
|
2011-05-07 18:18:51 +01:00 |
|
Jonathan Puckey
|
4649835d5b
|
Document: fix selection drawing in Firefox.
|
2011-05-07 18:18:14 +01:00 |
|
Jürg Lehni
|
520f5054e5
|
Update tests to use new function() {} notation for automatic rendering of messages.
|
2011-05-07 17:46:06 +01:00 |
|
Jürg Lehni
|
20409f3084
|
Use Base.splice() for Layers too.
|
2011-05-07 17:27:19 +01:00 |
|
Jürg Lehni
|
66824b780a
|
Allow equals() to receive functions from which it then extracts the code for the message.
|
2011-05-07 17:25:34 +01:00 |
|
Jürg Lehni
|
566f52201c
|
Fix typo.
|
2011-05-07 17:11:12 +01:00 |
|
Jürg Lehni
|
70d0dd9c0c
|
Move #moveTo() to the same scope as the other drawing commands, and add explaining comments.
|
2011-05-07 17:11:06 +01:00 |
|
Jürg Lehni
|
979bda52ab
|
We don't need the empty #initialize().
|
2011-05-07 17:05:42 +01:00 |
|
Jürg Lehni
|
d254d9542d
|
Add ChangeFlags.HIERARCHY, for future change notifications when children get rearranged.
|
2011-05-07 16:52:54 +01:00 |
|
Jürg Lehni
|
6c3fd5953a
|
Simplify Symbol#setDefinition().
|
2011-05-07 16:14:12 +01:00 |
|
Jürg Lehni
|
8c7b253bc2
|
Add Base.splice() to handle lists of items with _index referneces and use it for paper.documents and Item#children.
|
2011-05-07 16:11:05 +01:00 |
|
Jürg Lehni
|
b44e796475
|
Make sure getters dont return undefined but null instead.
|
2011-05-07 16:10:38 +01:00 |
|
Jürg Lehni
|
79f55aa908
|
Fix recently introduce error in append().
|
2011-05-07 15:41:07 +01:00 |
|
Jürg Lehni
|
999fb129cc
|
Some code clean ups.
|
2011-05-07 15:40:02 +01:00 |
|
Jürg Lehni
|
81c1b2dcce
|
Clean up Path#_add() a bit.
|
2011-05-07 15:38:36 +01:00 |
|
Jürg Lehni
|
450d277fb4
|
Avoid necessity of try-catch around code evaluation by declaring all local variables that we are looking for.
|
2011-05-07 15:38:14 +01:00 |
|
Jürg Lehni
|
afe61d61ac
|
Fix recently introduced errors in setting of Tool#_document.
|
2011-05-07 15:37:12 +01:00 |
|
Jürg Lehni
|
9ef542ff9a
|
Add comment to #_canged().
|
2011-05-07 14:57:20 +01:00 |
|
Jürg Lehni
|
3ff2880ca8
|
Make Item#setDocument() and #removeFromParent() private.
|
2011-05-07 14:50:48 +01:00 |
|
Jürg Lehni
|
ef8a2aad9b
|
Remove Tool#setDocument().
|
2011-05-07 14:50:31 +01:00 |
|
Jürg Lehni
|
2f6fbcba74
|
Check result from removeFromParent().
|
2011-05-07 14:34:57 +01:00 |
|
Jürg Lehni
|
59e2783979
|
Use tripple equal operators for string compares now.
|
2011-05-07 14:32:27 +01:00 |
|
Jürg Lehni
|
4bd12feb49
|
Merge branch 'master' of github.com:scriptographer/paper.js
|
2011-05-07 14:18:50 +01:00 |
|
Jürg Lehni
|
4e6e855461
|
Change '// TODO: Port' comments to '// PORT:'.
|
2011-05-07 14:18:27 +01:00 |
|
Jonathan Puckey
|
d2de9c29d7
|
RadialRainbows.html example: use onFrame instead of setInterval and fix a bug in the window resizing code.
|
2011-05-07 13:58:22 +01:00 |
|
Jonathan Puckey
|
ba6139cd48
|
Merge remote branch 'origin/master'
|
2011-05-07 13:56:03 +01:00 |
|
Jonathan Puckey
|
97b7dacfa2
|
Tool: check for event first, before checking for event.targetTouches.
|
2011-05-07 13:51:26 +01:00 |
|
Jürg Lehni
|
1e1a58e540
|
Correct case on example files.
|
2011-05-07 13:44:38 +01:00 |
|
Jürg Lehni
|
430a8fb290
|
Do not pass document as the item for Document#currentStyle.
|
2011-05-07 13:39:40 +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
|
53cc1cd908
|
Apply #position optimisation through caching to all items, not just PlacedSymbol.
|
2011-05-07 13:13:19 +01:00 |
|
Jürg Lehni
|
1413094be2
|
Shorten PlacedSymbol#initialize().
|
2011-05-07 13:12:46 +01:00 |
|
Jürg Lehni
|
15b7cfec0b
|
Shorten Item#translate().
|
2011-05-07 13:09:04 +01:00 |
|
Jürg Lehni
|
72976f4191
|
Use internal _position in PlacedItem and transform it along when a matrix is applied.
|
2011-05-07 11:36:16 +01:00 |
|