ovidiu 02/04/08 22:44:43
Modified: src/scratchpad/schecoon ChangeLog
Log:
2002-04-08 Ovidiu Predescu <[EMAIL PROTECTED]>
* lib/rhino1.5r4-continuations-20020408.jar: Updated to the latest
version from Christopher Oliver. This update has major
improvements (excerpt from Christopher's email):
1) I modified the interpreter to lazily copy the call stack. This
improves performance significantly when continuations don't return
to their caller.
2) I modified the interpreter to implement the Continuation
object's constructor and to provide the current function's
continuation in that case. That way you can create and use
continuations without "callCC". For now "callCC" is still
provided by the shell but it can be trivially implemented in plain
JavaScript now, like this:
function callCC(fun) {
var k = new Continuation();
return fun(k);
}
* webapp/examples/calc/calc.js: Removed the old code.
* webapp/sitemap.xmap: Moved the calculator pipelines at the
beginning of sitemap.
* src/org/apache/cocoon/components/treeprocessor/sitemap/ContinueNode.java:
Release the interpreter component.
* src/org/apache/cocoon/components/treeprocessor/sitemap/CallFunctionNode.java:
Release the interpreter component.
* src/org/apache/cocoon/components/flow/javascript/system.js: Use
the new Continuation object instead of the callCC function to
capture the continuation.
* TODO: Created.
Revision Changes Path
1.33 +35 -0 xml-cocoon2/src/scratchpad/schecoon/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/ChangeLog,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ChangeLog 9 Apr 2002 03:12:07 -0000 1.32
+++ ChangeLog 9 Apr 2002 05:44:43 -0000 1.33
@@ -1,5 +1,40 @@
2002-04-08 Ovidiu Predescu <[EMAIL PROTECTED]>
+ * lib/rhino1.5r4-continuations-20020408.jar: Updated to the latest
+ version from Christopher Oliver. This update has major
+ improvements (excerpt from Christopher's email):
+
+ 1) I modified the interpreter to lazily copy the call stack. This
+ improves performance significantly when continuations don't return
+ to their caller.
+
+ 2) I modified the interpreter to implement the Continuation
+ object's constructor and to provide the current function's
+ continuation in that case. That way you can create and use
+ continuations without "callCC". For now "callCC" is still
+ provided by the shell but it can be trivially implemented in plain
+ JavaScript now, like this:
+
+ function callCC(fun) {
+ var k = new Continuation();
+ return fun(k);
+ }
+
+ * webapp/examples/calc/calc.js: Removed the old code.
+
+ * webapp/sitemap.xmap: Moved the calculator pipelines at the
+ beginning of sitemap.
+
+ * src/org/apache/cocoon/components/treeprocessor/sitemap/ContinueNode.java:
+ Release the interpreter component.
+
+ * src/org/apache/cocoon/components/treeprocessor/sitemap/CallFunctionNode.java:
+ Release the interpreter component.
+
+ * src/org/apache/cocoon/components/flow/javascript/system.js: Use
+ the new Continuation object instead of the callCC function to
+ capture the continuation.
+
* TODO: Created.
2002-04-05 Ovidiu Predescu <[EMAIL PROTECTED]>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]