[KSS-checkins] r52331 - kukit/kss.core/trunk/docs
reebalazs at codespeak.net
reebalazs at codespeak.net
Sun Mar 9 14:23:40 CET 2008
Author: reebalazs
Date: Sun Mar 9 14:23:38 2008
New Revision: 52331
Added:
kukit/kss.core/trunk/docs/NEWS.txt
Log:
Add what's new in 1.4
Added: kukit/kss.core/trunk/docs/NEWS.txt
==============================================================================
--- (empty file)
+++ kukit/kss.core/trunk/docs/NEWS.txt Sun Mar 9 14:23:38 2008
@@ -0,0 +1,104 @@
+
+
+New in kss 1.4
+--------------
+
+- Major code refactoring, for better readibility and speedups.
+
+- Lots and lots of ecma unittests and selenium tests that test kss.core
+ and the core plugin, are added. All are checkable from a single click
+ from any browser.
+
+- Base2 is used for css selection, instead of the original cssQuery (if
+ present). Significantly faster page load.
+
+- multiple selectors in the same rule are allowed, ie.::
+
+ selector1:click selector2:click { ... }
+
+ or even::
+
+ selector1:keyup selector2:keydown { ... }
+
+- Value providers can be recursive, ie.::
+
+ nodeAttr(kssAttr(blah))
+
+ is allowed.
+
+- added url() special value provider, the first is alternate syntax for::
+
+ action-server: blah;
+ blah-kssUrl: "http://foo.bar/blahblah";
+
+ you can now say in one line::
+
+ action-server: blah url(http://foo.bar/blahblah);
+
+ This may be handy if you want to call @@ url-s.
+
+- added alias() special value provider, this enables using more client
+ actions on the same node::
+
+ action-client: setAttribute;
+ setAttribute-key: foo;
+ setAttribute-value: bar;
+ action-client: setAttribute alias(other);
+ other-key: foo2;
+ other-value: bar2;
+
+- enable node selection in the same line as the action specification, ie.
+ instead of::
+
+ action-client: foo;
+ foo-kssSelector: css(div.klass);
+
+ you can also say::
+
+ action-client: foo css(div.klass);
+
+- enable full form submits in the same line as the action specification,
+ ie. instead of::
+
+ action-server: foo;
+ foo-kssSubmitForm: currentForm();
+
+ you can also say::
+
+ action-server: foo currentForm();
+
+- Value providers can be used also in the "event binder id", eg.
+ instead of the static binder id::
+
+ xxxxx:click(blah) { ... }
+
+ a dynamic binder id can also be used::
+
+ xxxxx:click(kssAttr(blah)) { ... }
+
+ This feature is needed for upcoming use cases like drag and drop.
+
+- Remove previously deprecated form() and
+ currentForm() value providers from normal
+ action parameters (remark: they should now
+ be used with xxx-kssSelector or directly on the action-client line as
+ described above, and they properly support Zope multiform
+ fields like :list, :record, :records.)
+
+- Demos and selenium tests are removed from kss.demo and are now placed
+ together with the plugin in kss.core. This means, all 3rdparty plugins
+ should now have a zope-only demo page with a selenium test, if the
+ plugin is loaded the demo appears in the index and the test is run
+ together with all tests. (Demos can be viewed and tested by kss.demo.)
+ We also have kss.template that creates a skeleton kss plugin with
+ all bells and whistles.
+
+- Implement loglevels based on cookies (also backported to 1.2.)
+
+- Other fixes (also backported to 1.2)::
+
+ - Fix error fallback handling
+
+ - Fix multiple selection form fields marshalling on Safari and IE
+
+
More information about the Kukit-checkins
mailing list