Author: reebalazs
Date: Sat Jan 26 08:23:12 2008
New Revision: 51053
Removed:
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_providers_multiprop.kss
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_providers_multiprop.pt
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/selenium_tests/kss_providers_multiprop.html
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/markup/
Modified:
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/docs/HISTORY.txt
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/configure.zcml
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/config.py
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/configure.zcml
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_url_param_multiprop.kss
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_url_param_multiprop.pt
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/zopeconfig.py
Log:
Remove postponed features, fix tests
Modified:
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/docs/HISTORY.txt
==============================================================================
--- kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/docs/HISTORY.txt
(original)
+++ kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/docs/HISTORY.txt
Sat Jan 26 08:23:12 2008
@@ -11,14 +11,40 @@
This will enable to define value
providers that recieve non-string parameters
like a node selection.
+ [ree]
- Remove previously deprecated form() and
+ - Remove previously deprecated form() and
currentForm() value providers from normal
action parameters (remark: they should
be used with kssSelector.)
They now give a parsing error.
[ree]
+ - Implement multiproperties in
+ action-client and action-server
+ [ree]
+
+ - add url() and alias() providers
+ [ree]
+
+ - Change develui.css to have its style inline with
+ kssproject.org.
+ [gotcha]
+
+ - Add some tests for binder classes.
+ [ree]
+
+ - Improve some of the demos to make them Selenium testable
+ under both dev and prod mode, fix their tests.
+ [gotcha]
+
+ - Use functions in token table instead of code strings
+ that were evaluated. 'eval' is very slow.
+ in kukit.js [gotcha]
+
+ - Refactor code towards module and class closures.
+ in kukit.js [gotcha]
+
- Fix multiple selection form fields
marshalling on Safari
(fixes #22 in kssproject)
Modified:
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/configure.zcml
==============================================================================
---
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/configure.zcml
(original)
+++
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/configure.zcml
Sat Jan 26 08:23:12 2008
@@ -15,7 +15,6 @@
<include package=".coresyntax" />
<include package=".coreplugin" />
<include package=".binderids" />
- <include package=".markup" />
<include package=".binderclasses" />
<!--
Modified:
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/config.py
==============================================================================
---
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/config.py
(original)
+++
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/config.py
Sat Jan 26 08:23:12 2008
@@ -12,7 +12,6 @@
KSSDemo('', 'Core syntax', "kss_url_param.html", "Kss url parameters"),
KSSDemo('', 'Core syntax', "kss_selector_param_multiprop.html", "Kss
selector parameters, with multiproperties"),
KSSDemo('', 'Core syntax', "kss_url_param_multiprop.html", "Kss url
parameters, with multiproperties"),
- KSSDemo('', 'Core syntax', "kss_providers_multiprop.html", "Kss
providers, with multiproperties"),
KSSDemo('', 'Core syntax', "kss_client_action_alias.html", "Client
action aliases"),
)
Modified:
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/configure.zcml
==============================================================================
---
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/configure.zcml
(original)
+++
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/configure.zcml
Sat Jan 26 08:23:12 2008
@@ -95,19 +95,6 @@
name="kss_url_param_multiprop.kss"
/>
- <!-- providers with multi property -->
-
- <browser:page
- for="kss.demo.interfaces.ISimpleContent"
- template="kss_providers_multiprop.pt"
- name="kss_providers_multiprop.html"
- permission="zope.View"
- />
-
- <browser:resource
- file="kss_providers_multiprop.kss"
- name="kss_providers_multiprop.kss"
- />
<!-- client action aliases -->
<browser:page
Deleted:
/kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_providers_multiprop.kss
==============================================================================
---
/kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_providers_multiprop.kss
Sat Jan 26 08:23:12 2008
+++ (empty file)
@@ -1,49 +0,0 @@
-
-/* log reset: we use kssSelector and not the straight way...
- * since we test the multiprops now.. */
-/* XXX no idea how to wait for the log being cleared,
- * so I rather just insert a text now */
-#log-reset a:click {
- evt-click-preventdefault: true;
- action-client: replaceInnerHTML;
- replaceInnerHTML-kssSelector: htmlid(target);
- replaceInnerHTML-html: 'Target';
-}
- /*clearChildNodes-kssSelector: #logger;>*/
-
-
-
-#button1:click {
- evt-click-preventdefault: true;
- action-client: replaceInnerHTML htmlid(target);
- replaceInnerHTML-html: nodeAttr(id) htmlid(source);
-}
-
-#button2:click {
- evt-click-preventdefault: true;
- action-client: replaceInnerHTML htmlid(target);
- replaceInnerHTML-html: 'Error, OK';
- action-client: insertHTMLAsLastChild htmlid(target);
- insertHTMLAsLastChild-html: nodeAttr(id) htmlid(nonexistent);
-}
-
-#button3:click {
- evt-click-preventdefault: true;
- action-client: replaceInnerHTML htmlid(target);
- replaceInnerHTML-html: 'Error, OK';
- action-client: insertHTMLAsLastChild htmlid(target);
- insertHTMLAsLastChild-html: nodeAttr(id) css(h3);
-}
-
-#button4:click {
- evt-click-preventdefault: true;
- action-client: replaceInnerHTML htmlid(target);
- replaceInnerHTML-html: css("#source a") nodeAttr(href);
-}
-
-#button5:click {
- evt-click-preventdefault: true;
- action-client: replaceInnerHTML htmlid(target);
- replaceInnerHTML-html: css("#source a") nodeContent();
-}
-
Deleted:
/kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_providers_multiprop.pt
==============================================================================
---
/kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_providers_multiprop.pt
Sat Jan 26 08:23:12 2008
+++ (empty file)
@@ -1,84 +0,0 @@
-<html tal:define="viewname string:kss_providers_multiprop">
-
- <head>
-
- <metal:header use-macro="context/@@header_macros/header_resources" />
-
- </head>
-
- <body>
-
- <p metal:use-macro="context/@@body_macros/header">header</p>
-
- <h2>Value providers with multiproperty</h2>
-
- <p>We test the parameter functions can stand with a selector at the same
line.
- (The order of the providers on the line is irrelevant.)</p>
-
- <!--p metal:use-macro="context/@@body_macros/logger">logger</p-->
- <h3>Log</h3>
- <p id="log-reset"><a>Reset log</a></p>
- <div id="target">Target</div>
- <hr />
-
- <!-- We will select this node -->
- <div id="source">
- <a href="http://foo.bar">Do not click this.</a>
- </div>
-
- <hr />
-
- <h3>
- <code>nodeAttr(id) htmlid(source);</code> results "source".
- </h3>
- <div class="help">
- Click the button.
- </div>
- <a class="button click cursorPointer" id="button1">Click me !</a>
-
- <hr />
-
- <h3>
- <code>nodeAttr(id) htmlid(nonexistent);</code> returns 0 node, causes
error.
- </h3>
- <div class="help">
- Click the button.
- </div>
- <a class="button click cursorPointer" id="button2">Click me !</a>
-
- <hr />
-
- <h3>
- <code>nodeAttr(id) css(h3);</code> returns more nodes, causes error.
- </h3>
- <div class="help">
- Click the button.
- </div>
- <a class="button click cursorPointer" id="button3">Click me !</a>
-
- <hr />
-
- <h3>
- <code>css("#source a") nodeAttr(href);</code> results "http://foo.bar".
- </h3>
- <div class="help">
- Click the button.
- </div>
- <a class="button click cursorPointer" id="button4">Click me !</a>
-
- <hr>
-
- <h3>
- <code>css("#source a") nodeContent();</code> results "Do not click
this.".
- </h3>
- <div class="help">
- Click the button.
- </div>
- <a class="button click cursorPointer" id="button5">Click me !</a>
-
-
-
- <hr />
-
- </body>
-</html>
Modified:
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_url_param_multiprop.kss
==============================================================================
---
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_url_param_multiprop.kss
(original)
+++
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_url_param_multiprop.kss
Sat Jan 26 08:23:12 2008
@@ -18,6 +18,6 @@
}
#button_4:click {
- action-server: urlMethodAnotherAlias url(kssValue(attr, methodname));
+ action-server: urlMethodAnotherAlias url(kssAttr(methodname, true));
}
Modified:
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_url_param_multiprop.pt
==============================================================================
---
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_url_param_multiprop.pt
(original)
+++
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/kss_url_param_multiprop.pt
Sat Jan 26 08:23:12 2008
@@ -55,10 +55,10 @@
<div class="help" >
Click the button; it will call <code>@@urlMethod3/urlMethod3</code>
on the server.
<pre><code>#button_4:click {
- action-server: urlMethodAnotherAlias url(kssValue(attr, methodname));
+ action-server: urlMethodAnotherAlias url(kssAttr(methodname, true));
}</code></pre></div>
- <div class="container kss-attr-methodname-urlMethod3">
+ <div class="container kssattr-methodname-urlMethod3">
<a class="button click cursorPointer" id="button_4">Click me !</a>
</div>
Deleted:
/kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/selenium_tests/kss_providers_multiprop.html
==============================================================================
---
/kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/selenium_tests/kss_providers_multiprop.html
Sat Jan 26 08:23:12 2008
+++ (empty file)
@@ -1,109 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>kss_providers_multiprop</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">kss_providers_multiprop</td></tr>
-</thead><tbody>
-<tr>
- <td>open</td>
- <td>/demo/kss_providers_multiprop.html</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>button1</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>source</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>link=Reset log</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Target</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>button2</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Error, OK</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>link=Reset log</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Target</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>button3</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Error, OK</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>link=Reset log</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Target</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>button4</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>exact:http://foo.bar</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>link=Reset log</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Target</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>button5</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForTextPresent</td>
- <td>Do not click this.</td>
- <td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
Modified:
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/zopeconfig.py
==============================================================================
---
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/zopeconfig.py
(original)
+++
kukit/kss.core/branch/ree-1.4-markup-and-syntax-changes/kss/core/plugins/core/demo/coresyntax/zopeconfig.py
Sat Jan 26 08:23:12 2008
@@ -22,7 +22,6 @@
KSSDemo('', 'Core syntax', "kss_url_param.html", "Kss url parameters"),
KSSDemo('', 'Core syntax', "kss_selector_param_multiprop.html", "Kss
selector parameters, with multiproperties"),
KSSDemo('', 'Core syntax', "kss_url_param_multiprop.html", "Kss url
parameters, with multiproperties"),
- KSSDemo('', 'Core syntax', "kss_providers_multiprop.html", "Kss
providers, with multiproperties"),
KSSDemo('', 'Core syntax', "kss_client_action_alias.html", "Client
action aliases"),
)
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins