From gotcha at codespeak.net Thu Nov 19 10:35:14 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 10:35:14 +0100 (CET)
Subject: [KSS-checkins] r69411 - kukit/kss.demo/trunk/kss/demo
Message-ID: <20091119093514.1D7E3168071@codespeak.net>
Author: gotcha
Date: Thu Nov 19 10:35:13 2009
New Revision: 69411
Modified:
kukit/kss.demo/trunk/kss/demo/configure.zcml
Log:
include meta from configure
Modified: kukit/kss.demo/trunk/kss/demo/configure.zcml
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/configure.zcml (original)
+++ kukit/kss.demo/trunk/kss/demo/configure.zcml Thu Nov 19 10:35:13 2009
@@ -6,7 +6,8 @@
i18n_domain="kss"
>
-
+
+
From gotcha at codespeak.net Thu Nov 19 10:39:31 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 10:39:31 +0100 (CET)
Subject: [KSS-checkins] r69412 - kukit/kukit.js/tag/1.6.0a1
Message-ID: <20091119093931.D4087168071@codespeak.net>
Author: gotcha
Date: Thu Nov 19 10:39:31 2009
New Revision: 69412
Added:
kukit/kukit.js/tag/1.6.0a1/
- copied from r69411, kukit/kukit.js/trunk/
Log:
prepare for release
From gotcha at codespeak.net Thu Nov 19 10:43:01 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 10:43:01 +0100 (CET)
Subject: [KSS-checkins] r69413 - kukit/kss.concatresource/tag/1.6.0a1
Message-ID: <20091119094301.1FED016804D@codespeak.net>
Author: gotcha
Date: Thu Nov 19 10:43:00 2009
New Revision: 69413
Added:
kukit/kss.concatresource/tag/1.6.0a1/
- copied from r69412, kukit/kss.concatresource/trunk/
Log:
prepare for release
From gotcha at codespeak.net Thu Nov 19 10:44:41 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 10:44:41 +0100 (CET)
Subject: [KSS-checkins] r69414 - in kukit/kss.core/trunk/kss/core: .
pluginregistry
Message-ID: <20091119094441.1C2B416804D@codespeak.net>
Author: gotcha
Date: Thu Nov 19 10:44:40 2009
New Revision: 69414
Modified:
kukit/kss.core/trunk/kss/core/ (props changed)
kukit/kss.core/trunk/kss/core/pluginregistry/ (props changed)
Log:
prepare for release
From gotcha at codespeak.net Thu Nov 19 10:47:00 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 10:47:00 +0100 (CET)
Subject: [KSS-checkins] r69416 - kukit/kss.core/trunk
Message-ID: <20091119094700.A8B1D168071@codespeak.net>
Author: gotcha
Date: Thu Nov 19 10:46:59 2009
New Revision: 69416
Added:
kukit/kss.core/trunk/.zest.releaser.cfg
Log:
for zest.releaser
Added: kukit/kss.core/trunk/.zest.releaser.cfg
==============================================================================
--- (empty file)
+++ kukit/kss.core/trunk/.zest.releaser.cfg Thu Nov 19 10:46:59 2009
@@ -0,0 +1,2 @@
+[subversion]
+tags=tag
From gotcha at codespeak.net Thu Nov 19 11:07:21 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:07:21 +0100 (CET)
Subject: [KSS-checkins] r69418 - kukit/kss.core/trunk/docs
Message-ID: <20091119100721.3D249168071@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:07:20 2009
New Revision: 69418
Modified:
kukit/kss.core/trunk/docs/HISTORY.txt
Log:
history cleanup
Modified: kukit/kss.core/trunk/docs/HISTORY.txt
==============================================================================
--- kukit/kss.core/trunk/docs/HISTORY.txt (original)
+++ kukit/kss.core/trunk/docs/HISTORY.txt Thu Nov 19 11:07:20 2009
@@ -1,28 +1,47 @@
Changelog for kss.core
+======================
(name of developer listed in brackets)
-kss.core - 1.5dev Unreleased
+1.5dev (Unreleased)
+-------------------
- - ...
+ - adjust ISite import to work in Zope 2.12
+ [davisagli]
+
+ - call cleanup when the test layer is torn down to avoid polluting
+ the test environment
+ [davisagli]
+
+ - Avoid dependency on zope.app.zapi package.
+ [hannosch]
+
+ - Specify package dependencies.
+ [hannosch]
+
+1.4.7 (2009-05-11)
+------------------
- Fix kukit payload in favor of IE6 XP SP3.
xmlns="http://www.kukit.org/commands/1.1" removed
from kukit tag as it breaks IE6 XP SP3.
[gotcha]
-
+
+1.4.6 (2009-04-10)
+------------------
+
- fix RequestManager's handling of the sendingTimeout parameter,
to enable setting the timeout globally from custom code, if needed.
[ree]
+
+1.4.5 (2009-02-02)
+------------------
- Added kss.blur action.
[simon]
- - Avoid dependency on zope.app.zapi package.
- [hannosch]
-
- - Specify package dependencies.
- [hannosch]
+1.4.4 (2009-01-05)
+------------------
- Fix the ca_cancel (action-cancel) test that was broken
on IE7 because it contained the same id more times.
@@ -36,9 +55,12 @@
with previous workaround removed.
[ree]
- - Use the real request in the json logic so skin layers, request
- parameters, etc. are available.
+ - Use the real request in the json logic so skin layers, request parmeters,
+ etc. are available.
[wichert]
+
+1.4.3 (2008-08-18)
+------------------
- Replaced license header of third-party sarissa.js
to workaround the license detection of ohloh.
@@ -49,18 +71,29 @@
- Fix cssQuery-compat.js to use newest base2 api.
[ree]
- - Fix a typo that caused an exception instead of
- logging an error message, this happened when
- an action was regitered twice with the same name.
- [ree]
+1.4.2 (2008-07-06)
+------------------
-kss.core - 1.4 Released 2008-04-21
+ - Include meta.zcml from configure.zcml, in order to
+ allow easier loading of dependent zcml during unittests
+ [gotcha, jfroche]
-MISSING, PLEASE MERGE! - Add improved demos
- (insertions in tbody is not included : that demo is
- still broken in IE6)
- [gotcha]
+1.4.1 (2008-06-02)
+------------------
+
+ - Add @@kss_devel_mode/needs_old_cssquery, to enable a workaround
+ for Safari 3.1 to work.
+ [ree]
+
+ - Fix a typo that caused an exception instead of
+ logging an error message, this happened when
+ an action was registered twice with the same name.
+ [ree]
+
+1.4 (2008-04-21)
+----------------
+
- Updated base2-dom-fp.js with newest version.
[ree]
@@ -68,6 +101,12 @@
"application/x-javascript" content type only
[ree]
+ - DONE ONLY ON BRANCH 1.4 !!!
+ Add improved demos
+ (insertions in tbody is not included : that demo is
+ still broken in IE6)
+ [cryu, jone, gotcha]
+
- fix setKssAttribute action and command
(closes bug 8048 from plone.org)
[gotcha]
@@ -75,11 +114,18 @@
- fix action-cancel
[gotcha]
+1.4-rc1 (2008-03-25)
+--------------------
+
+ - disabled input values should not be submitted with the form
+ [gotcha]
+
- Updated base2-don-fp.js with newest version.
This fixes breakage on FireFox 3.
[ree]
-kss.core - 1.4dev Unreleased
+1.4-alpha1 (2008-03-09)
+-----------------------
- refactor the value provider registry to use
a single registry in place of 3.
@@ -149,12 +195,14 @@
parameters as strings.
[ree]
-kss.core - 1.2 Released 2007-08-17
+1.2 (2007-08-17)
+----------------
- Refactored js code.
[gotcha]
-kss.core - 1.2-rc2 Released 2007-07-27
+1.2-rc2 (2007-07-27)
+--------------------
- Prepare for release.
[ree]
@@ -165,13 +213,15 @@
- fix form marshalling
[gotcha]
-kss.core - 1.2-rc1.1
+1.2-rc1.1
+---------
- Prepare for release.
Identical with 1.2-rc1, just created for consistent versions.
[ree]
-kss.core - 1.2-rc1
+1.2-rc1
+-------
- Deprecated addClassName, removeClassName actions and
commands in favour of addClass and removeClass.
@@ -223,7 +273,8 @@
events in a binder instance, matching the need of the events.
[ree]
-kss.core - 1.2-beta2
+1.2-beta2
+---------
- Make the binding of the nodes together in one batch
[ree]
@@ -232,16 +283,18 @@
and deprecation
[ree]
-kss.core - 1.2-beta1
+1.2-beta1
+---------
- Prepare for release
[ree]
-kss.core - 1.2-alpha2
+1.2-alpha2
+----------
- Merge in Philikon's refactorization
- Move docs to doc/
- [ree]
+ Move docs to doc/
+ [ree]
- Initial package structure.
[zopeskel]
From gotcha at codespeak.net Thu Nov 19 11:08:02 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:08:02 +0100 (CET)
Subject: [KSS-checkins] r69419 - in kukit/kss.core/trunk: . docs
Message-ID: <20091119100802.54C88168071@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:08:01 2009
New Revision: 69419
Added:
kukit/kss.core/trunk/CHANGES.txt
- copied unchanged from r69418, kukit/kss.core/trunk/docs/HISTORY.txt
Removed:
kukit/kss.core/trunk/docs/HISTORY.txt
Log:
move to standard location
Deleted: /kukit/kss.core/trunk/docs/HISTORY.txt
==============================================================================
--- /kukit/kss.core/trunk/docs/HISTORY.txt Thu Nov 19 11:08:01 2009
+++ (empty file)
@@ -1,301 +0,0 @@
-Changelog for kss.core
-======================
-
- (name of developer listed in brackets)
-
-1.5dev (Unreleased)
--------------------
-
- - adjust ISite import to work in Zope 2.12
- [davisagli]
-
- - call cleanup when the test layer is torn down to avoid polluting
- the test environment
- [davisagli]
-
- - Avoid dependency on zope.app.zapi package.
- [hannosch]
-
- - Specify package dependencies.
- [hannosch]
-
-1.4.7 (2009-05-11)
-------------------
-
- - Fix kukit payload in favor of IE6 XP SP3.
- xmlns="http://www.kukit.org/commands/1.1" removed
- from kukit tag as it breaks IE6 XP SP3.
- [gotcha]
-
-1.4.6 (2009-04-10)
-------------------
-
- - fix RequestManager's handling of the sendingTimeout parameter,
- to enable setting the timeout globally from custom code, if needed.
- [ree]
-
-1.4.5 (2009-02-02)
-------------------
-
- - Added kss.blur action.
- [simon]
-
-1.4.4 (2009-01-05)
-------------------
-
- - Fix the ca_cancel (action-cancel) test that was broken
- on IE7 because it contained the same id more times.
- [ree]
-
- - Fix or improve calculateAbsoluteURL to handle absolute
- and relative urls correctly, as well as get rid of the
- double slash (//) issue.
- It also satisfies the tests kss_url_param and
- kss_url_param_multiprop, that now work as intended,
- with previous workaround removed.
- [ree]
-
- - Use the real request in the json logic so skin layers, request parmeters,
- etc. are available.
- [wichert]
-
-1.4.3 (2008-08-18)
-------------------
-
- - Replaced license header of third-party sarissa.js
- to workaround the license detection of ohloh.
- sarissa.js is redistributed under GNU GPL v2
- as previously.
- [ree]
-
- - Fix cssQuery-compat.js to use newest base2 api.
- [ree]
-
-1.4.2 (2008-07-06)
-------------------
-
- - Include meta.zcml from configure.zcml, in order to
- allow easier loading of dependent zcml during unittests
- [gotcha, jfroche]
-
-1.4.1 (2008-06-02)
-------------------
-
- - Add @@kss_devel_mode/needs_old_cssquery, to enable a workaround
- for Safari 3.1 to work.
- [ree]
-
- - Fix a typo that caused an exception instead of
- logging an error message, this happened when
- an action was registered twice with the same name.
- [ree]
-
-
-1.4 (2008-04-21)
-----------------
-
- - Updated base2-dom-fp.js with newest version.
- [ree]
-
- - Change concatresource to accept resources with
- "application/x-javascript" content type only
- [ree]
-
- - DONE ONLY ON BRANCH 1.4 !!!
- Add improved demos
- (insertions in tbody is not included : that demo is
- still broken in IE6)
- [cryu, jone, gotcha]
-
- - fix setKssAttribute action and command
- (closes bug 8048 from plone.org)
- [gotcha]
-
- - fix action-cancel
- [gotcha]
-
-1.4-rc1 (2008-03-25)
---------------------
-
- - disabled input values should not be submitted with the form
- [gotcha]
-
- - Updated base2-don-fp.js with newest version.
- This fixes breakage on FireFox 3.
- [ree]
-
-1.4-alpha1 (2008-03-09)
------------------------
-
- - refactor the value provider registry to use
- a single registry in place of 3.
- This will enable to define value
- providers that recieve non-string parameters
- like a node selection.
- [ree]
-
- - 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)
- and on IE.
- [ree]
-
- - Fix error fallback handling
- [ree]
-
- - Implement loglevels based on cookies
- Add handling of log levels to the kss mode view
- [ree]
-
- - Moved the core demos to this package from kss.demo.
- They are now located under the core plugin.
- [ree]
-
- - Implement event binding based on the ids fetched
- dynamically from the dom, by value providers.
- [ree]
-
- - Changed kukit payload to encode HTML content of CDATA.
- This was necessary because us a supposed bug in FF, that
- prevented us to use base2 (xpath selection did not work
- on inserted elements, due to namespace issues.)
- Get rid of forceToDom, make sure all plugins accept html
- parameters as strings.
- [ree]
-
-1.2 (2007-08-17)
-----------------
-
- - Refactored js code.
- [gotcha]
-
-1.2-rc2 (2007-07-27)
---------------------
-
- - Prepare for release.
- [ree]
-
- - when attrname is kssattr:xxx, IE chokes on certain nodes
- [gotcha]
-
- - fix form marshalling
- [gotcha]
-
-1.2-rc1.1
----------
-
- - Prepare for release.
- Identical with 1.2-rc1, just created for consistent versions.
- [ree]
-
-1.2-rc1
--------
-
- - Deprecated addClassName, removeClassName actions and
- commands in favour of addClass and removeClass.
- Deprecated "name" and "classname" parameter in addClass,
- removeClass, toggleClass actions and commands in favour of
- "value".
- [ree]
-
- - implement new packing directives and two disctint
- versions of the javascript (development and production),
- this is achieved from javascript with the ;;; marker
- Also add the @@kss_devel_mode/ui view for changing
- the development mode from the browser.
- [ree]
-
- - Add the passnode selector that can be used to access
- the value of a default parm passed programmatically
- from the event (via makeActionOper)
- [ree]
-
- - Add action moveNodeAsLastChild
- [ree]
-
- - 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.
- [jvloothuis, 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]
-
-1.2-beta2
----------
-
- - Make the binding of the nodes together in one batch
- [ree]
-
- - added kssSubmitForm action parameter
- and deprecation
- [ree]
-
-1.2-beta1
----------
-
- - Prepare for release
- [ree]
-
-1.2-alpha2
-----------
-
- - Merge in Philikon's refactorization
- Move docs to doc/
- [ree]
-
- - Initial package structure.
- [zopeskel]
-
From gotcha at codespeak.net Thu Nov 19 11:09:30 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:09:30 +0100 (CET)
Subject: [KSS-checkins] r69420 - kukit/kss.core/trunk
Message-ID: <20091119100930.E0CE4168071@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:09:30 2009
New Revision: 69420
Removed:
kukit/kss.core/trunk/setup.cfg
Log:
remove unused
Deleted: /kukit/kss.core/trunk/setup.cfg
==============================================================================
--- /kukit/kss.core/trunk/setup.cfg Thu Nov 19 11:09:30 2009
+++ (empty file)
@@ -1,3 +0,0 @@
-[egg_info]
-tag_build = dev
-tag_svn_revision = true
From gotcha at codespeak.net Thu Nov 19 11:12:34 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:12:34 +0100 (CET)
Subject: [KSS-checkins] r69421 - in kukit/kss.core/trunk: . docs
Message-ID: <20091119101234.E22E7168072@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:12:34 2009
New Revision: 69421
Modified:
kukit/kss.core/trunk/docs/INTRO.txt
kukit/kss.core/trunk/setup.py
Log:
rest cosmetics
Modified: kukit/kss.core/trunk/docs/INTRO.txt
==============================================================================
--- kukit/kss.core/trunk/docs/INTRO.txt (original)
+++ kukit/kss.core/trunk/docs/INTRO.txt Thu Nov 19 11:12:34 2009
@@ -1,7 +1,5 @@
-
-***********************************
Kinetic Style Sheets (KSS) kss.core
-***********************************
+===================================
KSS is an Ajax framework that allows UI development without writing any
Javascript. It uses style sheets with CSS-compliant syntax to declare and bind
@@ -10,7 +8,7 @@
page.
What is KSS?
-************
+------------
KSS is an AJAX framework. KSS has both a client-side Javascript library and
server-side support.
@@ -37,7 +35,7 @@
!)
Homepage
-***********
+--------
More information and documentation can be found on the
`KSS project homepage `_.
Modified: kukit/kss.core/trunk/setup.py
==============================================================================
--- kukit/kss.core/trunk/setup.py (original)
+++ kukit/kss.core/trunk/setup.py Thu Nov 19 11:12:34 2009
@@ -10,12 +10,14 @@
read('docs', 'INTRO.txt')
+ '\n' +
'Recently changed\n'
- '**********************\n'
+ '================\n'
+ '\n' +
read('docs', 'NEWS.txt')
+ '\n' +
+ read('CHANGES.txt')
+ + '\n' +
'Download\n'
- '**********************\n'
+ '========\n'
)
setup(name='kss.core',
From gotcha at codespeak.net Thu Nov 19 11:13:07 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:13:07 +0100 (CET)
Subject: [KSS-checkins] r69422 - kukit/kss.core/trunk
Message-ID: <20091119101307.553EB168072@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:13:06 2009
New Revision: 69422
Modified:
kukit/kss.core/trunk/setup.py
Log:
Preparing release 1.6.0a1
Modified: kukit/kss.core/trunk/setup.py
==============================================================================
--- kukit/kss.core/trunk/setup.py (original)
+++ kukit/kss.core/trunk/setup.py Thu Nov 19 11:13:06 2009
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import os
-version = '1.5'
+version = '1.6.0a1'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
From gotcha at codespeak.net Thu Nov 19 11:13:18 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:13:18 +0100 (CET)
Subject: [KSS-checkins] r69423 - kukit/kss.core/tag/1.6.0a1
Message-ID: <20091119101318.3D774168072@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:13:17 2009
New Revision: 69423
Added:
kukit/kss.core/tag/1.6.0a1/
- copied from r69422, kukit/kss.core/trunk/
Log:
Tagging 1.6.0a1
From gotcha at codespeak.net Thu Nov 19 11:16:03 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:16:03 +0100 (CET)
Subject: [KSS-checkins] r69424 - kukit/kss.core/trunk
Message-ID: <20091119101603.8C8D2168016@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:16:02 2009
New Revision: 69424
Modified:
kukit/kss.core/trunk/setup.py
Log:
Back to development: 1.6.0.a2
Modified: kukit/kss.core/trunk/setup.py
==============================================================================
--- kukit/kss.core/trunk/setup.py (original)
+++ kukit/kss.core/trunk/setup.py Thu Nov 19 11:16:02 2009
@@ -1,7 +1,8 @@
from setuptools import setup, find_packages
import os
-version = '1.6.0a1'
+version = '1.6.0.a2dev'
+
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
@@ -16,15 +17,13 @@
+ '\n' +
read('CHANGES.txt')
+ '\n' +
- 'Download\n'
- '========\n'
- )
+ 'Download\n' +
+ '========\n')
setup(name='kss.core',
version=version,
description="KSS (Kinetic Style Sheets) core framework",
long_description = long_description,
- # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Framework :: Zope2",
"Framework :: Zope3",
From gotcha at codespeak.net Thu Nov 19 11:17:08 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:17:08 +0100 (CET)
Subject: [KSS-checkins] r69425 - in kukit/kss.core/trunk/kss/core: .
pluginregistry
Message-ID: <20091119101708.5AE38168016@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:17:07 2009
New Revision: 69425
Modified:
kukit/kss.core/trunk/kss/core/ (props changed)
kukit/kss.core/trunk/kss/core/pluginregistry/ (props changed)
Log:
back to dev
From gotcha at codespeak.net Thu Nov 19 11:21:28 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:21:28 +0100 (CET)
Subject: [KSS-checkins] r69428 - kukit/kss.core/trunk
Message-ID: <20091119102128.E5D63168024@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:21:28 2009
New Revision: 69428
Modified:
kukit/kss.core/trunk/CHANGES.txt
Log:
fix dates
Modified: kukit/kss.core/trunk/CHANGES.txt
==============================================================================
--- kukit/kss.core/trunk/CHANGES.txt (original)
+++ kukit/kss.core/trunk/CHANGES.txt Thu Nov 19 11:21:28 2009
@@ -1,10 +1,13 @@
Changelog for kss.core
======================
- (name of developer listed in brackets)
+1.6.0.a2 (unreleased)
+---------------------
-1.5dev (Unreleased)
--------------------
+ - no changes yet
+
+1.6.0.a1 (2009-11-19)
+---------------------
- adjust ISite import to work in Zope 2.12
[davisagli]
From gotcha at codespeak.net Thu Nov 19 11:44:22 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Thu, 19 Nov 2009 11:44:22 +0100 (CET)
Subject: [KSS-checkins] r69430 - in kukit/kukit.js/trunk: . doc
Message-ID: <20091119104422.EDD661680AF@codespeak.net>
Author: gotcha
Date: Thu Nov 19 11:44:22 2009
New Revision: 69430
Added:
kukit/kukit.js/trunk/CHANGES.txt
- copied, changed from r69425, kukit/kukit.js/trunk/doc/HISTORY.txt
Removed:
kukit/kukit.js/trunk/doc/HISTORY.txt
Log:
* move to CHANGES to be nice with zest.releaser
* rest cosmetics
Copied: kukit/kukit.js/trunk/CHANGES.txt (from r69425, kukit/kukit.js/trunk/doc/HISTORY.txt)
==============================================================================
--- kukit/kukit.js/trunk/doc/HISTORY.txt (original)
+++ kukit/kukit.js/trunk/CHANGES.txt Thu Nov 19 11:44:22 2009
@@ -1,8 +1,8 @@
Changelog for kukit.js
+======================
- (name of developer listed in brackets)
-
-kukit.js - 1.5dev Unreleased
+1.5dev (Unreleased)
+-------------------
- ...
@@ -41,7 +41,8 @@
an action was regitered twice with the same name.
[ree]
-kukit.js - 1.4 Released 2008-04-21
+1.4 (2008-04-21)
+----------------
- Updated base2-dom-fp.js with newest version.
[ree]
@@ -60,8 +61,6 @@
This fixes breakage on FireFox 3.
[ree]
-kukit.js - 1.4dev Unreleased
-
- refactor the value provider registry to use
a single registry in place of 3.
This will enable to define value
@@ -132,7 +131,8 @@
parameters as strings.
[ree, jvloothuis]
-kukit.js - 1.2 Released 2007-08-17
+1.2 (2007-08-17)
+----------------
- Move ;;; markers to first columns.
[gotcha]
Deleted: /kukit/kukit.js/trunk/doc/HISTORY.txt
==============================================================================
--- /kukit/kukit.js/trunk/doc/HISTORY.txt Thu Nov 19 11:44:22 2009
+++ (empty file)
@@ -1,153 +0,0 @@
-Changelog for kukit.js
-
- (name of developer listed in brackets)
-
-kukit.js - 1.5dev Unreleased
-
- - ...
-
-MISSING, PLEASE MERGE! - Add improved demos
- (insertions in tbody is not included : that demo is
- still broken in IE6)
- [gotcha]
-
- - fix RequestManager's handling of the sendingTimeout parameter,
- to enable setting the timeout globally from custom code, if needed.
- [ree]
-
- - Added blur action (which, as it doesn't need a parameter, requires the
- deactivation of the args.length check in selectorreg.js.)
- [simon]
-
- - Fix or improve calculateAbsoluteURL to handle absolute
- and relative urls correctly, as well as get rid of the
- double slash (//) issue.
- It also satisfies the tests kss_url_param and
- kss_url_param_multiprop, that now work as intended,
- with previous workaround removed.
- [ree]
-
- - Replaced license header of third-party sarissa.js
- to workaround the license detection of ohloh.
- sarissa.js is redistributed under GNU GPL v2
- as previously.
- [ree]
-
- - Fix cssQuery-compat.js to use newest base2 api.
- [ree]
-
- - Fix a typo that caused an exception instead of
- logging an error message, this happened when
- an action was regitered twice with the same name.
- [ree]
-
-kukit.js - 1.4 Released 2008-04-21
-
- - Updated base2-dom-fp.js with newest version.
- [ree]
-
- - fix setKssAttribute action and command
- (closes bug 8048 from plone.org)
- [gotcha]
-
- - fix action-cancel
- [gotcha]
-
- - disabled input values should not be submitted with the form
- [gotcha]
-
- - Updated base2-dom-fp.js with newest version.
- This fixes breakage on FireFox 3.
- [ree]
-
-kukit.js - 1.4dev Unreleased
-
- - refactor the value provider registry to use
- a single registry in place of 3.
- This will enable to define value
- providers that recieve non-string parameters
- like a node selection.
- [ree]
-
- - 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]
-
- - Use functions in token table instead of code strings
- that were evaluated. 'eval' is very slow.
- [gotcha]
-
- - Refactor code towards module and class closures.
- [gotcha]
-
- - Fix multiple selection form fields marshalling on Safari
- (fixes #22 in kssproject) and on IE.
-
- - Fix multiple selection form fields
- marshalling on Safari
- (fixes #22 in kssproject)
- and on IE.
- [ree]
-
- - Fix error fallback handling
- [ree]
-
- - Implement loglevels based on cookies
- Add cookie handling code to kss.dom
- Change logging on FireBug to avoid line info in debug
- level messages
- [ree]
-
- - Implement event binding based on the ids fetched
- dynamically from the dom, by value providers.
- [ree]
-
- - Store some data on HTML nodes for FireKiss
- [gotcha]
-
- - Enhance javascript exception, they now properly show
- the place where the exception generated, and also the
- annotated error reasons of kss.
- [jvloothuis, ree]
-
- - Allow multiple selectors separated with commas for a single
- set of property in a rule
- [gotcha, laz, jfroche]
-
- - Changed kukit payload to encode HTML content of CDATA.
- This was necessary because us a supposed bug in FF, that
- prevented us to use base2 (xpath selection did not work
- on inserted elements, due to namespace issues.)
- Get rid of forceToDom, make sure all plugins accept html
- parameters as strings.
- [ree, jvloothuis]
-
-kukit.js - 1.2 Released 2007-08-17
-
- - Move ;;; markers to first columns.
- [gotcha]
-
- - Fix credits.
- [gotcha]
-
- - Fix identifiers to have coherent styling (CamelCase).
- [gotcha]
-
- - Some refactoring to allow Firekiss plugin.
- [gotcha]
-
- - Fit code on 80 columns.
- [gotcha]
-
- - Cleaned up error messages.
- [gotcha]
From gotcha at codespeak.net Fri Nov 27 12:59:03 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Fri, 27 Nov 2009 12:59:03 +0100 (CET)
Subject: [KSS-checkins] r69681 - in kukit/kukit.js/branch/1.4: doc kukit
Message-ID: <20091127115903.985161680F9@codespeak.net>
Author: gotcha
Date: Fri Nov 27 12:59:02 2009
New Revision: 69681
Modified:
kukit/kukit.js/branch/1.4/doc/HISTORY.txt
kukit/kukit.js/branch/1.4/kukit/plugin.js
kukit/kukit.js/branch/1.4/kukit/requestmanager.js
Log:
add SetActionServerTimeout client action
Modified: kukit/kukit.js/branch/1.4/doc/HISTORY.txt
==============================================================================
--- kukit/kukit.js/branch/1.4/doc/HISTORY.txt (original)
+++ kukit/kukit.js/branch/1.4/doc/HISTORY.txt Fri Nov 27 12:59:02 2009
@@ -4,7 +4,8 @@
kukit.js - 1.4dev Unreleased
- - ...
+ - add SetActionServerTimeout client action
+ [gotcha, jfroche]
kukit.js - 1.4.7 Released 2009-05-11
Modified: kukit/kukit.js/branch/1.4/kukit/plugin.js
==============================================================================
--- kukit/kukit.js/branch/1.4/kukit/plugin.js (original)
+++ kukit/kukit.js/branch/1.4/kukit/plugin.js Fri Nov 27 12:59:02 2009
@@ -1040,6 +1040,14 @@
kukit.commandsGlobalRegistry.registerFromAction('toggleClass',
kukit.cr.makeSelectorCommand);
+kukit.actionsGlobalRegistry.register('setActionServerTimeout', function (oper) {
+;;; oper.componentName = '[setActionServerTimeout] action';
+ oper.evaluateParameters(['value'], {}, '', true);
+ oper.evalInt('value');
+ var value = oper.parms.value;
+ kukit.engine.requestManager.sendingTimeout = value;
+});
+
/*
* XXX Compatibility settings for old command names.
* These will be removed as soon as all current use cases are changed.
Modified: kukit/kukit.js/branch/1.4/kukit/requestmanager.js
==============================================================================
--- kukit/kukit.js/branch/1.4/kukit/requestmanager.js (original)
+++ kukit/kukit.js/branch/1.4/kukit/requestmanager.js Fri Nov 27 12:59:02 2009
@@ -365,6 +365,8 @@
// Default value of timeout
timeout = this.sendingTimeout;
}
+;;; var msg = 'Request timeout [' + timeout + '] milliseconds.';
+;;; kukit.logDebug(msg);
var item = new _RequestItem(sendHook, url, timeoutHook, timeout,
now);
// Start timing the item immediately
From gotcha at codespeak.net Fri Nov 27 13:04:18 2009
From: gotcha at codespeak.net (gotcha at codespeak.net)
Date: Fri, 27 Nov 2009 13:04:18 +0100 (CET)
Subject: [KSS-checkins] r69682 - in
kukit/kss.core/branch/1.4/kss/core/plugins/core/demo: .
selenium_tests
Message-ID: <20091127120418.5EB421680FD@codespeak.net>
Author: gotcha
Date: Fri Nov 27 13:04:17 2009
New Revision: 69682
Modified:
kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/demoview.py
kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/error_handling.kss
kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/error_handling.pt
kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/error_handling.html
Log:
rest cleanup
Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/demoview.py
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/demoview.py (original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/demoview.py Fri Nov 27 13:04:17 2009
@@ -17,6 +17,7 @@
from kss.core import KSSView, force_unicode, KSSExplicitError, kssaction
import datetime
+import time
class KSSDemoView(KSSView):
@@ -54,7 +55,7 @@
mapping['animals']=['dog', 'cat', 'cow']
mapping['machines']=['computer', 'car', 'airplane']
# XXX Note that originally we just used replaceInnerHTML to just put
- # the options inside the select, however this is principally broken
+ # the options inside the select, however this is principally broken
# on IE due to an IE bug. Microsoft has confirmed the bug but is not
# giving information on whether it has or it will ever be fixed.
# For further info, see http://support.microsoft.com/default.aspx?scid=kb;en-us;276228
@@ -74,29 +75,29 @@
""" returns the current time """
self.getCommandSet('core').replaceInnerHTML('div#update-area', "
%s
" % str(datetime.datetime.now()))
return self.render()
-
+
def getInputField(self, value):
'Inserts the value as entered into an input field'
# We need to make unicode. But on Z2 we receive utf-8, on Z3 unicode
value = force_unicode(value, 'utf')
- self.getCommandSet('core').replaceInnerHTML('div#text',
+ self.getCommandSet('core').replaceInnerHTML('div#text',
'' \
''
)
return self.render()
-
+
def saveText(self, value):
'Inserts the value to display it on the page'
# We need to make unicode. But on Z2 we receive utf-8, on Z3 unicode
value = force_unicode(value, 'utf')
self.getCommandSet('core').replaceInnerHTML('div#text', value+'')
return self.render()
-
+
def expandSubTree(self, value, xvalue):
'Expands given subtree'
self.getCommandSet('core').replaceInnerHTML('#text', 'works, expand %s (xhtml attr: %s)' % (value, xvalue))
return self.render()
-
+
def collapseSubTree(self, value, xvalue):
'Collapses given subtree'
self.getCommandSet('core').replaceInnerHTML('#text', 'works, collapse %s (xhtml attr: %s)' % (value, xvalue))
@@ -113,7 +114,7 @@
sel = self.getSelector('xpath', "//P[@id='xpath']/following-sibling::*[position()=1]")
self.getCommandSet('core').deleteNode(sel)
return self.render()
-
+
def clickedButton(self, id):
'Show status of the button clicked'
self.getCommandSet('core').replaceInnerHTML('#update-status', "
Button %s clicked. %s
" % (id, datetime.datetime.now()))
@@ -158,17 +159,15 @@
raise KSSExplicitError, 'Explicit error raised.'
elif act == 'empty':
# Just do nothing, we want to return a response with no commands.
- # This is valid behaviour, should raise no error, however
+ # This is valid behaviour, should raise no error, however
# gives a warning in the kukit log.
pass
- ## XXX This is commented out by default, but you can try this on your own
- ## server, together with the timeout buttons in the page template timeout buttons in the page template.
- ##
- #elif act == 'timeout':
- # # Wait longer then timeout, this is currently 4 s
- # time.sleep(6.0);
- # # the next reply will never arrive.
- # self.replaceInnerHTML('#update-status', u'Timeout response, button %s clicked. %s' % (id, datetime.datetime.now()))
+ elif act == 'timeout':
+ # Wait longer then timeout, this is set by the stylesheet with
+ # setActionServerTimeout client action
+ time.sleep(2.0);
+ # the next reply will never arrive.
+ self.getCommandSet('core').replaceInnerHTML('#update-status', u'Not arrived')
else:
# act = noerror: standard response.
self.getCommandSet('core').replaceInnerHTML('#update-status', u'Normal response, button %s clicked. %s' % (id, datetime.datetime.now()))
@@ -265,4 +264,3 @@
self.getCommandSet('core').setAttribute(
'#character-attr-output', 'title', 'before ]]> after')
return self.render()
-
Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/error_handling.kss
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/error_handling.kss (original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/error_handling.kss Fri Nov 27 13:04:17 2009
@@ -1,6 +1,6 @@
-.clickable:click {
+.nothandled:click {
evt-click-preventdefault: true;
action-server: errTest;
errTest-id: nodeAttr(id);
@@ -13,11 +13,30 @@
.handled:click {
+ evt-click-preventdefault: true;
+ action-server: errTest;
+ errTest-id: nodeAttr(id);
+ errTest-act: kssAttr(act);
errTest-error: insertHTMLAsLastChild;
insertHTMLAsLastChild-kssSelector: #logger;
insertHTMLAsLastChild-html: "Error handler activated.";
}
+.timeout:click {
+ evt-click-preventdefault: true;
+ action-client: replaceInnerHTML;
+ replaceInnerHTML-kssSelector: #update-status;
+ replaceInnerHTML-html: "Test timeout";
+ action-client: setActionServerTimeout;
+ setActionServerTimeout-value: 100;
+ action-server: errTest;
+ errTest-id: nodeAttr(id);
+ errTest-act: kssAttr(act);
+ errTest-error: insertHTMLAsLastChild;
+ insertHTMLAsLastChild-kssSelector: #logger;
+ insertHTMLAsLastChild-html: "Timeout: error handler activated.";
+}
+
/* Spinner control
*/
Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/error_handling.pt
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/error_handling.pt (original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/error_handling.pt Fri Nov 27 13:04:17 2009
@@ -34,13 +34,17 @@
on the server.
The buttons in the first row have no error handlers.
-
-
-
-
The buttons in the second row have individual error handlers.
@@ -56,9 +60,17 @@
value="Explicit error" />
- You can also try suspending your server process and start generating timed out requests.
- Timed out responses are also handled like ones arriving with error.
- The timeout period is by default 8 s now.
+ Timed out are also handled like errors.
+ The timeout period is by default to 8000 ms now.
+
The timeout is set to 100 ms on the button hereunder. Click calls an
+ action-server that explicitely waits for 2000ms. In other words, the
+ timeout is triggered.
+
+
+
+
In addition, the request queue manager queues up the outgoing responses and maximizes
their number (currently in 4): click like crazy on the buttons and you will see that
Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/error_handling.html
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/error_handling.html (original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/error_handling.html Fri Nov 27 13:04:17 2009
@@ -153,7 +153,41 @@