Jürg Lehni
|
a51957bf64
|
Change PathStyle to clone values in setters if they provide a clone function. This requires also using equals() wherevere they are checked to be the same or different.
|
2011-05-21 14:28:08 +01:00 |
|
Jürg Lehni
|
09612c4623
|
Remove the versions of #clone() that follow the scheme provided by Base#clone() now.
|
2011-05-19 18:35:38 +01:00 |
|
Jürg Lehni
|
c4203fe174
|
Change the way associated PathStyles are created and updated.
|
2011-05-16 19:21:36 +01:00 |
|
Jürg Lehni
|
05c0eb0e51
|
Simplify PathStyle#initialize().
|
2011-05-16 19:20:32 +01:00 |
|
Jürg Lehni
|
da670b4171
|
Improve comments.
|
2011-05-16 18:29:53 +01:00 |
|
Jürg Lehni
|
0bab694a01
|
Rename Item#children to private Item#_children and add #getChildren getter.
|
2011-05-14 18:07:10 +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
|
478002ea1c
|
Add comment about return undefined rather than null for unclear styles, and fix test.
|
2011-05-05 13:11:40 +01:00 |
|
Jürg Lehni
|
a59fab0409
|
Only change style and notify item of change if it differs from current one.
|
2011-05-05 11:16:26 +01:00 |
|
Jürg Lehni
|
7334e824f5
|
Further optimise PathStyle code.
|
2011-05-05 00:08:55 +01:00 |
|
Jürg Lehni
|
23a29ced98
|
Optimise and comment PathStyle code.
|
2011-05-05 00:05:36 +01:00 |
|
Jürg Lehni
|
cc0f4a3f7e
|
Add PathStyle#clone().
|
2011-05-05 00:01:17 +01:00 |
|
Jürg Lehni
|
ab9cce137c
|
Separate PathStyle constructor into internal PathStyle.create(item, style) and public PathStyle(style).
|
2011-05-05 00:00:41 +01:00 |
|
Jürg Lehni
|
1cd6daada1
|
Use _item instead of item as internal reference to PathStyle's item.
|
2011-03-13 18:29:59 +01:00 |
|
Jürg Lehni
|
6a67052090
|
Update copyright / licensing comments.
|
2011-03-08 01:41:50 +00:00 |
|
Jürg Lehni
|
e1a7aff2f0
|
Add copyright notice and license file.
|
2011-03-07 00:50:44 +00:00 |
|
Jürg Lehni
|
8be1041011
|
Make style setter calls chainable.
|
2011-03-06 14:44:54 +00:00 |
|
Jürg Lehni
|
836ee492ae
|
More beans related refactoring.
|
2011-03-05 02:40:38 +00:00 |
|
Jürg Lehni
|
ce74516228
|
Remove more beans access, this time related to various PathStyle getters / setters.
|
2011-03-05 01:36:27 +00:00 |
|
Jürg Lehni
|
b1027dbb38
|
Use better variable name.
|
2011-03-05 00:24:32 +00:00 |
|
Jürg Lehni
|
1d858147ec
|
Stop using style beans internally.
|
2011-03-05 00:23:16 +00:00 |
|
Jürg Lehni
|
93c3920505
|
Add definition of Base.capitalize() and remove dependencies of String#capitalize().
|
2011-03-04 19:46:41 +00:00 |
|
Jürg Lehni
|
92bf51a7cc
|
Simplify the way the paper namespace is created and populated.
|
2011-03-04 13:34:31 +00:00 |
|
Jürg Lehni
|
5ed30d7089
|
Make sure all files end on empty line.
|
2011-03-03 16:32:55 +00:00 |
|
Jürg Lehni
|
941c3c7346
|
Declare all classes as local variables, so they can be scoped.
|
2011-03-03 13:33:41 +00:00 |
|
Jonathan Puckey
|
357a8af6ec
|
Clean up white spaces.
|
2011-02-21 03:32:39 +01:00 |
|
Jonathan Puckey
|
c2849b3692
|
Change PathStyle, CompoundPath and Path to work with new Color classes.
|
2011-02-19 17:25:16 +01:00 |
|
Jürg Lehni
|
451eaaa3c6
|
Add a TODO comment.
|
2011-02-19 13:07:24 +01:00 |
|
Jürg Lehni
|
6093151a3b
|
Make sure that setting styles explicitely to null works.
|
2011-02-18 08:04:20 +00:00 |
|
Jürg Lehni
|
d02b5cd56a
|
Yet another optimisation, by using the Base.each() sidecar (bind object) to fill Item fields, and inject it straight away upon returning from it.
|
2011-02-18 07:58:59 +00:00 |
|
Jürg Lehni
|
31b595fa9e
|
Rename itemProps to itemFields, for more consistency.
|
2011-02-17 23:47:04 +00:00 |
|
Jürg Lehni
|
2c06ec965c
|
Simplify PathStyle further, by removing the _get/_setChildrenStyle methods and moving their functionality into the closure injection code.
|
2011-02-17 23:37:21 +00:00 |
|
Jürg Lehni
|
4e05faaa11
|
Use the same simplifications in PathStyle as in CompoundPath, and rely on Base.each as well to provide the scope for closure injection.
|
2011-02-17 23:34:45 +00:00 |
|
Jonathan Puckey
|
deb1699f13
|
Tidy up code.
|
2011-02-17 16:00:03 +01:00 |
|
Jonathan Puckey
|
13b8ddccc8
|
PathStyle: small cleanup.
|
2011-02-16 22:15:19 +01:00 |
|
Jonathan Puckey
|
4000853c2f
|
Implement PathStyle and Document#currentStyle.
|
2011-02-16 22:09:51 +01:00 |
|