Commit graph

32 commits

Author SHA1 Message Date
Jürg Lehni
e22fa3a664 Update copyright notice. 2014-01-04 01:47:16 +01:00
Jürg Lehni
3cd141170a Implement Style#fontFamily and #fontWeight as a replacement for #font.
Closes #60.
2013-12-08 21:12:51 +01:00
Jürg Lehni
98697eb003 Fix Layer#insertAbove / insertBelow test. 2013-07-21 16:44:30 -07:00
Jürg Lehni
cfbd356247 Fix active layer test when calling Layer#clone(). 2013-07-19 18:29:21 -07:00
Jürg Lehni
20a17f2939 Implement insert parameter in Item#clone() to control DOM insertion.
Defaults to true. Also insert in the right place now, above the original.
2013-07-19 18:27:00 -07:00
Jürg Lehni
14888bca50 Define failing test about Item cloning hierarchy.
Cloned items should be inserted right above their originals.
2013-07-19 18:10:58 -07:00
Jürg Lehni
6029f59494 More uppercase changes. 2013-04-23 07:29:30 -07:00
Jürg Lehni
b4a99415d0 Merge PathStyle, CharacterStyle and ParagraphStyle into Style.
Closes #130.
2013-04-09 16:46:20 -07:00
Jürg Lehni
da7b32a18e Clean up code references to GradientColor. 2013-04-09 08:36:17 -07:00
Jürg Lehni
5209e97c8d Merge GradientColor into Color.
Work in progress.
2013-04-09 01:21:36 -07:00
Jürg Lehni
9cdc4b9372 Switch back to only one Gradient constructor for both linear and radial Gradients. 2013-04-08 20:52:21 -07:00
Jürg Lehni
232ea221b4 First batch of large Color refactoring and simplification.
Work in progress.
2013-04-07 10:03:51 -07:00
Jürg Lehni
58fad6ed72 Switch from Gradient#type to separate LinearGradient / RadialGradient classes.
But remain backward compatible through direct calls to Gradient constructor.
2013-03-01 17:39:36 -08:00
Jürg Lehni
6c9c16ad3d Update copyright information comments, and year. 2013-01-28 18:03:27 -08:00
Jürg Lehni
7756e90ff9 Make sure cloned items do not receive the same name when placed inside the same parent, use numbered versions instead. 2013-01-20 14:01:43 -08:00
Jürg Lehni
ee23f64642 We cannot use PaperScript extensions in tests. 2011-11-24 14:54:30 +01:00
Jürg Lehni
42d0e722db Rename RGBColor -> RgbColor, to avoid clash with native constructor, and follow same naming convention for HsbColor and HslColor, but keep references to old names for PaperScript scopes for now. 2011-11-10 19:16:34 +01:00
Jürg Lehni
5655981f6d Clean up white spaces. 2011-07-07 16:09:02 +02:00
Jürg Lehni
79c0ad8cc5 Update copyright notices. 2011-07-01 12:17:45 +02:00
Jürg Lehni
8909216cc0 Remove use of characterStyle / paragraphStyle where not necessary. 2011-06-20 18:55:08 +01:00
Jürg Lehni
a05d330106 Remove unused project references. 2011-05-29 19:42:01 +01:00
Jürg Lehni
7026ea24aa Reverse compare order in cloning tests, as the 2nd argument is always the one that holds the expected values. 2011-05-26 10:56:15 +01:00
Jürg Lehni
e273c54ad2 Move cloneAndCompare() to Item_Cloning.js test file. 2011-05-26 09:19:51 +01:00
Jonathan Puckey
667992e9f0 Add cloning test for layer that checks the current active layer. 2011-05-21 20:35:45 +02:00
Jonathan Puckey
14477aac59 Add clone test for group with clip-mask. 2011-05-21 20:35:13 +02:00
Jonathan Puckey
ed8032af0f Tests: Item_Cloning: rename blendModes. 2011-05-21 18:45:41 +02:00
Jonathan Puckey
7ee42d5cfa Make Raster test fail. 2011-05-21 17:25:33 +02:00
Jürg Lehni
816424a9c5 Merge remote-tracking branch 'origin/master'
Conflicts:
	test/lib/helpers.js
2011-05-21 14:41:08 +01:00
Jürg Lehni
8b9f9ea6db Do not access internal properties from tests. 2011-05-21 14:28:31 +01:00
Jonathan Puckey
888a5cf348 Tests: add Raster#clone() test. 2011-05-21 12:50:36 +02:00
Jonathan Puckey
7fe21754f5 Add test to compare cloning of item with a GradientColor. 2011-05-21 12:11:44 +02:00
Jonathan Puckey
64a142436b Tests: add item cloning tests. 2011-05-20 19:40:07 +02:00