Author: reebalazs
Date: Fri May 11 13:11:38 2007
New Revision: 43181
Modified:
kukit/kss.core/trunk/docs/HISTORY.txt
kukit/kss.core/trunk/kss/core/configure.zcml
kukit/kss.core/trunk/kss/core/plugins/core/commands.py
kukit/kss.core/trunk/kss/core/plugins/core/configure.zcml
kukit/kss.core/trunk/kss/core/plugins/draganddrop/browser/kss_dragdrop.js
Log:
Merge in performance_improvement brahch, -r41975:43168
Modified: kukit/kss.core/trunk/docs/HISTORY.txt
==============================================================================
--- kukit/kss.core/trunk/docs/HISTORY.txt (original)
+++ kukit/kss.core/trunk/docs/HISTORY.txt Fri May 11 13:11:38 2007
@@ -6,6 +6,34 @@
- ...
+ - Death to Azax (... long live KSS)!
+ Removing last traces of the old name from the sources
+ [gotcha]
+
+ - Changed querying for css selectors to base2 instead of
+ cssQuery. Base2 is supposed to be a lot faster than
+ the old cssQuery. Usage is alternating, if base2 is
+ present that one is used, otherwise it uses the old
+ cssQuery code which stays the default.
+ [ree]
+
+ - Add moveNodeBefore action (presumably missing)
+ [ree]
+
+ - Refactor load event, separate iload and load events.
+ The new event binder handles both events together. A
+ new parameter, evt-iload-autodetect is introduced, if
+ this is false we don't use detection but the iframe
+ must cooperate on telling us wnen we are done. There
+ is deprecation warning issued for the load events, if
+ bound on an iframe, in which case an iload event must
+ be used.
+ [ree]
+
+ - refactor event binding to allow different iterators to bind
+ events in a binder instance, matching the need of the events.
+ [ree]
+
kss.core - 1.2-beta2
- Make the binding of the nodes together in one batch
Modified: kukit/kss.core/trunk/kss/core/configure.zcml
==============================================================================
--- kukit/kss.core/trunk/kss/core/configure.zcml (original)
+++ kukit/kss.core/trunk/kss/core/configure.zcml Fri May 11 13:11:38 2007
@@ -35,6 +35,12 @@
name="MochiKit.js"
/>
+
+ <browser:resource
+ file="kukit/3rd_party/base2-dom-fp.js"
+ name="base2-dom-fp.js"
+ />
+
<!-- Adapter used to render KSS commands -->
<adapter
for=".interfaces.IKSSCommands
Modified: kukit/kss.core/trunk/kss/core/plugins/core/commands.py
==============================================================================
--- kukit/kss.core/trunk/kss/core/plugins/core/commands.py (original)
+++ kukit/kss.core/trunk/kss/core/plugins/core/commands.py Fri May 11
13:11:38 2007
@@ -107,6 +107,11 @@
command = self.commands.addCommand('moveNodeAfter', selector)
data = command.addParam('html_id', id)
+ def moveNodeBefore(self, selector, id):
+ """ see interfaces.py """
+ command = self.commands.addCommand('moveNodeBefore', selector)
+ data = command.addParam('html_id', id)
+
def copyChildNodesTo(self, selector, id):
""" see interfaces.py """
command = self.commands.addCommand('copyChildNodesTo', selector)
Modified: kukit/kss.core/trunk/kss/core/plugins/core/configure.zcml
==============================================================================
--- kukit/kss.core/trunk/kss/core/plugins/core/configure.zcml (original)
+++ kukit/kss.core/trunk/kss/core/plugins/core/configure.zcml Fri May 11
13:11:38 2007
@@ -100,6 +100,10 @@
/>
<kss:eventtype
+ name="iload"
+ />
+
+ <kss:eventtype
name="spinneron"
/>
Modified:
kukit/kss.core/trunk/kss/core/plugins/draganddrop/browser/kss_dragdrop.js
==============================================================================
--- kukit/kss.core/trunk/kss/core/plugins/draganddrop/browser/kss_dragdrop.js
(original)
+++ kukit/kss.core/trunk/kss/core/plugins/draganddrop/browser/kss_dragdrop.js
Fri May 11 13:11:38 2007
@@ -69,7 +69,7 @@
};
-kukit.eventsGlobalRegistry.registerForAllEvents('dad', ['drag', 'start',
'end'], kukit.draganddrop.DragAndDropEvent, '__bind_drag__', null);
-kukit.eventsGlobalRegistry.registerForAllEvents('dad', ['drop', 'hover'],
kukit.draganddrop.DragAndDropEvent, '__bind_drop__', null);
+kukit.eventsGlobalRegistry.registerForAllEvents('dad', ['drag', 'start',
'end'], kukit.draganddrop.DragAndDropEvent, '__bind_drag__', null, 'opers');
+kukit.eventsGlobalRegistry.registerForAllEvents('dad', ['drop', 'hover'],
kukit.draganddrop.DragAndDropEvent, '__bind_drop__', null, 'opers');
*/
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins