[Laszlo-dev] Another merge proposal for 4.4
P T Withington
ptw at pobox.com
Sat May 23 12:08:54 PDT 2009
Done.
We still don't have a way of saying we integrated to 4.4.
Does anyone know if there is a way to change the 'fixed in branch'
field to be a multiple-choice field like fix version is?
On 2009-05-22, at 20:15EDT, Amy Muntz wrote:
> Also agreed. Especially since we have a bit of time - let's get
> this in as well. Tucker?
>
> On Fri, May 22, 2009 at 7:34 PM, Max Carlson <max at openlaszlo.org>
> wrote:
>> I don't think the risk is high for this one - and it's an important
>> fix for
>> webtop which might otherwise get truncated email messages.
>>
>> --
>> Regards,
>> Max Carlson
>> OpenLaszlo.org
>>
>>
>> ---------- Forwarded message ----------
>> From: bargull at openlaszlo.org
>> To: laszlo-checkins at openlaszlo.org
>> Date: Fri, 22 May 2009 09:47:44 -0700
>> Subject: [Laszlo-checkins] r13983 - in openlaszlo/trunk:
>> WEB-INF/lps/lfc/kernel/dhtml test/lfc/data
>> Author: bargull
>> Date: 2009-05-22 09:47:25 -0700 (Fri, 22 May 2009)
>> New Revision: 13983
>>
>> Added:
>> openlaszlo/trunk/test/lfc/data/testtextnodelength.jsp
>> openlaszlo/trunk/test/lfc/data/testtextnodelength.lzx
>> Modified:
>> openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzXMLTranslator.js
>> openlaszlo/trunk/test/lfc/data/alldata.lzx
>> openlaszlo/trunk/test/lfc/data/httpsequence.jsp
>> openlaszlo/trunk/test/lfc/data/sendheaders.lzx
>> openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx
>> openlaszlo/trunk/test/lfc/data/testgetmethod.lzx
>> openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx
>> openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx
>> openlaszlo/trunk/test/lfc/data/testpostmethod.lzx
>> openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx
>> openlaszlo/trunk/test/lfc/data/testput.lzx
>> openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx
>> openlaszlo/trunk/test/lfc/data/testrawpost.lzx
>> openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx
>> openlaszlo/trunk/test/lfc/data/testsetheaders.lzx
>> openlaszlo/trunk/test/lfc/data/testsetpostbody-solo.lzx
>> openlaszlo/trunk/test/lfc/data/testsetpostbody.lzx
>> openlaszlo/trunk/test/lfc/data/whitespace.lzx
>> Log:
>> Change 20090521-bargull-LzP by bargull at dell--p4--2-53 on 2009-05-21
>> 23:05:56
>> in /home/Admin/src/svn/openlaszlo/trunk
>> for http://svn.openlaszlo.org/openlaszlo/trunk
>>
>> Summary: merge adjacent text nodes when translating xml-document
>>
>> New Features:
>>
>> Bugs Fixed: LPP-8214 (Calling getFirstChild on an lz.DataElement
>> doesn't
>> return entire contents)
>>
>> Technical Reviewer: max, hqm
>> QA Reviewer: lorien
>> Doc Reviewer: (pending)
>>
>> Documentation:
>>
>> Release Notes:
>>
>> Details:
>> LzXMLTranslator:
>> - merge adjacent text nodes to workaround Firefox text-node length
>> limitation (Firefox restricts text-nodes to 4096 characters)
>>
>> Add test-case to alldata (testtextnodelength.lzx) and fix a couple of
>> invalid delegate methods (it must be "ignore=null", not "...ignore").
>>
>> Also make "httpsequence.jsp" work on Windows platforms ("/tmp"
>> doesn't
>> really work, does it?)
>>
>>
>> Tests:
>> alldata (dhtml, swf8, swf9)
>>
>>
>>
>> Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/
>> LzXMLTranslator.js
>> ===================================================================
>> --- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzXMLTranslator.js
>> 2009-05-22 08:00:08 UTC (rev 13982)
>> +++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzXMLTranslator.js
>> 2009-05-22 16:47:25 UTC (rev 13983)
>> @@ -95,7 +95,11 @@
>>
>> // this is inlined:
>> // var lfcnode = this.copyBrowserNode(node);
>> - // lfcparent.appendChild(lfcnode);
>> + // if (lfcparent.getLastChild() instanceof LzDataText) {
>> + // lfcparent.getLastChild().data += lfcnode.data;
>> + // } else {
>> + // lfcparent.appendChild(lfcnode);
>> + // }
>>
>> var nv = node.nodeValue;
>> // If ignorewhite is true, discard a text node which is
>> all
>> whitespace
>> @@ -103,11 +107,18 @@
>> if (trimwhite) {
>> nv = nv.replace(trimPat, "");
>> }
>> - var lfcnode = new LzDataText(nv);
>> - // inlined lfcparent.appendChild(lfcnode)
>> - lfcnode.parentNode = lfcparent;
>> - lfcnode.ownerDocument = document;
>> - lfcnode.__LZo =
>> (lfcparent.childNodes.push(lfcnode) - 1);
>> + var cnodes = lfcparent.childNodes;
>> + var last = cnodes[cnodes.length - 1];
>> + if (last instanceof LzDataText) {
>> + // merge adjacent text nodes (LPP-8214)
>> + last.data += nv;
>> + } else {
>> + var lfcnode = new LzDataText(nv);
>> + // inlined lfcparent.appendChild(lfcnode)
>> + lfcnode.parentNode = lfcparent;
>> + lfcnode.ownerDocument = document;
>> + lfcnode.__LZo = (cnodes.push(lfcnode) - 1);
>> + }
>> }
>> } else if (type == 1 || type == 9) {
>> // element or document node (1: ELEMENT_NODE, 9:
>> DOCUMENT_NODE)
>>
>> Modified: openlaszlo/trunk/test/lfc/data/alldata.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/alldata.lzx 2009-05-22 08:00:08
>> UTC (rev
>> 13982)
>> +++ openlaszlo/trunk/test/lfc/data/alldata.lzx 2009-05-22 16:47:25
>> UTC (rev
>> 13983)
>> @@ -32,10 +32,12 @@
>> <include href="sendheaders.lzx"/>
>> <include href="testclientcachebreaker.lzx"/>
>> <include href="xmlparser.lzx"/>
>> + <include href="testtextnodelength.lzx"/>
>>
>> <TestSuite>
>> <TestDatanode/>
>> <TestXmlParser/>
>> + <TestTextNodeLength/>
>> <TestDatapointer/>
>> <TestDatapointerServerless/>
>> <TestDPDepend/>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/httpsequence.jsp
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/httpsequence.jsp 2009-05-22
>> 08:00:08
>> UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/httpsequence.jsp 2009-05-22
>> 16:47:25
>> UTC (rev 13983)
>> @@ -2,36 +2,36 @@
>> <response><%
>>
>> /* X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2004, 2009 Laszlo Systems, Inc. All Rights
>> Reserved.
>> *
>> +* Copyright 2001-2004, 2009 Laszlo Systems, Inc. All Rights
>> Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> */
>>
>> + String tmpdir = System.getProperty("java.io.tmpdir");
>> + String fname = "_httpsequence.log";
>> + long count = -1;
>>
>> - String fname = "/tmp/_httpsequence.log";
>> - FileReader inf;
>> - try {
>> - inf = new FileReader(fname);
>> - } catch (FileNotFoundException e) {
>> - FileWriter fw = new FileWriter(fname);
>> - fw.write("0\n");
>> - fw.close();
>> - inf = new FileReader(fname);
>> + File f = new File(tmpdir, fname);
>> + if (! f.exists()) {
>> + count = 0;
>> + f.createNewFile();
>> + f.deleteOnExit();
>> + } else {
>> + BufferedReader reader = new BufferedReader(new
>> FileReader(f));
>> + String data = reader.readLine();
>> + reader.close();
>> + try {
>> + count = Long.parseLong(data);
>> + } catch (NumberFormatException e) {
>> + out.println("error parsing number " + data);
>> + }
>> }
>> - BufferedReader bin = new BufferedReader(inf);
>> - String data = bin.readLine();
>> -
>> - long count = -1;
>> -try {
>> - count = Long.parseLong(data);
>> -} catch (NumberFormatException e) {
>> - out.println("error parsing number "+data);
>> -}
>> -out.write(""+count);
>> - PrintWriter outf = new PrintWriter(new FileWriter(fname));
>> - outf.println(count+1);
>> - outf.flush();
>> - outf.close();
>>
>> + out.write(Long.toString(count));
>>
>> + BufferedWriter writer = new BufferedWriter(new FileWriter(f));
>> + writer.write(Long.toString(count + 1));
>> + writer.newLine();
>> + writer.flush();
>> + writer.close();
>>
>> %></response>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/sendheaders.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/sendheaders.lzx 2009-05-22
>> 08:00:08
>> UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/sendheaders.lzx 2009-05-22
>> 16:47:25
>> UTC (rev 13983)
>> @@ -13,7 +13,7 @@
>>
>> <datapointer xpath="ds_head:/data" name="dp2"
>> ondata="parent.dp2ready = true"/>
>>
>> - <method name="test2" args="...ignore">
>> + <method name="test2" args="ignore=null">
>> if ( ! this.dp2ready ){
>> if ( ! this.t2del ){
>> Debug.write( "test isn't done until async test
>> runs" );
>> @@ -52,6 +52,6 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx
>> 2009-05-22
>> 08:00:08 UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx
>> 2009-05-22
>> 16:47:25 UTC (rev 13983)
>> @@ -48,9 +48,9 @@
>> <method name="doIt" args="dp">
>> <![CDATA[
>> assertFalse( (Number(dp.xpathQuery("ds1:/response/
>> text()")))
>> ==
>> - Number(dp.xpathQuery("ds2:/response/
>> text()"))
>> );
>> + Number(dp.xpathQuery("ds2:/response/
>> text()")),
>> "client cache breaker (proxied)" );
>> assertFalse( (Number(dp.xpathQuery("ds3:/response/
>> text()")))
>> ==
>> - Number(dp.xpathQuery("ds4:/response/
>> text()"))
>> );
>> + Number(dp.xpathQuery("ds4:/response/
>> text()")),
>> "client cache breaker (non-proxied)" );
>> ]]>
>> </method>
>> <method name="addTests">
>> @@ -60,7 +60,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testgetmethod.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testgetmethod.lzx 2009-05-22
>> 08:00:08
>> UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testgetmethod.lzx 2009-05-22
>> 16:47:25
>> UTC (rev 13983)
>> @@ -25,7 +25,7 @@
>> dsget.doRequest();
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> // Debug.write("this.dpready = ",this.dpready);
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> @@ -41,7 +41,7 @@
>>
>> return;
>> }
>> - Debug.write( 'running testsetheaders test on loaded data' );
>> + Debug.write( 'running testgetmethod test on loaded data' );
>> this.doIt(dp);
>> </method>
>>
>> @@ -61,7 +61,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx
>> 2009-05-22
>> 08:00:08 UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx
>> 2009-05-22
>> 16:47:25 UTC (rev 13983)
>> @@ -25,7 +25,7 @@
>> dsgetsolo_.doRequest();
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> //Debug.write("this.dpready = ",this.dpready);
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> @@ -41,7 +41,7 @@
>>
>> return;
>> }
>> - Debug.write( 'running testsetheaders test on loaded data' );
>> + Debug.write( 'running testgetmethodsolo test on loaded
>> data' );
>> this.doIt(dp);
>> </method>
>>
>> @@ -64,7 +64,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx
>> 2009-05-22
>> 08:00:08 UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx
>> 2009-05-22
>> 16:47:25 UTC (rev 13983)
>> @@ -25,7 +25,7 @@
>> dsheaders.doRequest();
>> </handler>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> Debug.write( "test isn't done until async test runs" );
>> @@ -63,7 +63,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testpostmethod.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testpostmethod.lzx 2009-05-22
>> 08:00:08
>> UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testpostmethod.lzx 2009-05-22
>> 16:47:25
>> UTC (rev 13983)
>> @@ -25,7 +25,7 @@
>> dsget_post_prox.doRequest();
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> //Debug.write("this.dpready = ",this.dpready);
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> @@ -34,14 +34,14 @@
>> }
>>
>> if ( this.waitcnt++ > 1000 ){
>> - fail( "testgetmethodsolo: Didn't get async data" );
>> + fail( "testpostmethod: Didn't get async data" );
>> } else {
>> lz.Idle.callOnIdle( this.t2del );
>> }
>>
>> return;
>> }
>> - Debug.write( 'running testsetheaders test on loaded data' );
>> + Debug.write( 'running testpostmethod test on loaded data' );
>> this.doIt(dp);
>> </method>
>>
>> @@ -64,7 +64,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx
>> 2009-05-22
>> 08:00:08 UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx
>> 2009-05-22
>> 16:47:25 UTC (rev 13983)
>> @@ -25,7 +25,7 @@
>> dsget_post_solo.doRequest();
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> //Debug.write("this.dpready = ",this.dpready);
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> @@ -34,14 +34,14 @@
>> }
>>
>> if ( this.waitcnt++ > 1000 ){
>> - fail( "testgetmethodsolo: Didn't get async data" );
>> + fail( "testpostmethodsolo: Didn't get async data" );
>> } else {
>> lz.Idle.callOnIdle( this.t2del );
>> }
>>
>> return;
>> }
>> - Debug.write( 'running testsetheaders test on loaded data' );
>> + Debug.write( 'running testpostmethodsolo test on loaded
>> data' );
>> this.doIt(dp);
>> </method>
>>
>> @@ -63,7 +63,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testput.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testput.lzx 2009-05-22 08:00:08
>> UTC (rev
>> 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testput.lzx 2009-05-22 16:47:25
>> UTC (rev
>> 13983)
>> @@ -30,7 +30,7 @@
>> prdataput.doRequest();
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> Debug.write( "test isn't done until async test runs" );
>> @@ -62,7 +62,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx 2009-05-22
>> 08:00:08
>> UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx 2009-05-22
>> 16:47:25
>> UTC (rev 13983)
>> @@ -30,7 +30,7 @@
>> prdatasolo.doRequest();
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> Debug.write( "test isn't done until async test runs" );
>> @@ -61,7 +61,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testrawpost.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testrawpost.lzx 2009-05-22
>> 08:00:08
>> UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testrawpost.lzx 2009-05-22
>> 16:47:25
>> UTC (rev 13983)
>> @@ -24,7 +24,7 @@
>> prdata.doRequest();
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> Debug.write( "test isn't done until async test runs" );
>> @@ -55,7 +55,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx
>> 2009-05-22
>> 08:00:08 UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx
>> 2009-05-22
>> 16:47:25 UTC (rev 13983)
>> @@ -19,7 +19,7 @@
>> </handler>
>>
>> <method name="sendit">
>> - Debug.write("testsetheaders.lzx sending edata_solo");
>> + Debug.write("testsetheaders-solo.lzx sending edata_solo");
>> edata_solo.setQueryParam("flash", "has some bugs");
>> edata_solo.setAttribute("querytype", "POST");
>>
>> @@ -29,22 +29,22 @@
>> edata_solo.doRequest();
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> Debug.write( "test isn't done until async test runs" );
>> this.t2del = new LzDelegate( this , 'test1' );
>> }
>>
>> - if ( this.waitcnt++ > 100 ){
>> - fail( "testsetheaders: Didn't get async data" );
>> + if ( this.waitcnt++ > 2000 ){
>> + fail( "testsetheaderssolo: Didn't get async data" );
>> } else {
>> lz.Idle.callOnIdle( this.t2del );
>> }
>>
>> return;
>> }
>> - Debug.write( 'running testsetheaders test on loaded data' );
>> + Debug.write( 'running testsetheaderssolo test on loaded
>> data' );
>> this.doIt(dp);
>> </method>
>>
>> @@ -66,7 +66,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testsetheaders.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testsetheaders.lzx 2009-05-22
>> 08:00:08
>> UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testsetheaders.lzx 2009-05-22
>> 16:47:25
>> UTC (rev 13983)
>> @@ -26,7 +26,7 @@
>> edata.doRequest();
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> //Debug.write("this.dpready = ",this.dpready);
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> @@ -63,7 +63,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testsetpostbody-solo.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testsetpostbody-solo.lzx
>> 2009-05-22
>> 08:00:08 UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testsetpostbody-solo.lzx
>> 2009-05-22
>> 16:47:25 UTC (rev 13983)
>> @@ -27,7 +27,7 @@
>> ]]>
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> Debug.write( "test isn't done until async test runs" );
>> @@ -59,7 +59,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Modified: openlaszlo/trunk/test/lfc/data/testsetpostbody.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/testsetpostbody.lzx 2009-05-22
>> 08:00:08
>> UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/testsetpostbody.lzx 2009-05-22
>> 16:47:25
>> UTC (rev 13983)
>> @@ -27,7 +27,7 @@
>> ]]>
>> </method>
>>
>> - <method name="test1" args="...ignore">
>> + <method name="test1" args="ignore=null">
>> if ( ! this.dpready ){
>> if ( ! this.t2del ){
>> Debug.write( "test isn't done until async test runs" );
>> @@ -59,7 +59,7 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> Added: openlaszlo/trunk/test/lfc/data/testtextnodelength.jsp
>>
>>
>> Property changes on: openlaszlo/trunk/test/lfc/data/
>> testtextnodelength.jsp
>> ___________________________________________________________________
>> Name: svn:mime-type
>> + text/plain
>> Name: svn:eol-style
>> + native
>>
>> Added: openlaszlo/trunk/test/lfc/data/testtextnodelength.lzx
>>
>>
>> Property changes on: openlaszlo/trunk/test/lfc/data/
>> testtextnodelength.lzx
>> ___________________________________________________________________
>> Name: svn:mime-type
>> + text/plain
>> Name: svn:eol-style
>> + native
>>
>> Modified: openlaszlo/trunk/test/lfc/data/whitespace.lzx
>> ===================================================================
>> --- openlaszlo/trunk/test/lfc/data/whitespace.lzx 2009-05-22
>> 08:00:08
>> UTC (rev 13982)
>> +++ openlaszlo/trunk/test/lfc/data/whitespace.lzx 2009-05-22
>> 16:47:25
>> UTC (rev 13983)
>> @@ -27,7 +27,7 @@
>> <datapointer xpath="solows_notrim:/persons" name="dp4"
>> ondata="parent.dp4ready = true"/>
>> <datapointer xpath="proxyws_notrim:/persons" name="dp5"
>> ondata="parent.dp5ready = true"/>
>>
>> - <method name="test2" args="...ignore">
>> + <method name="test2" args="ignore=null">
>> <![CDATA[
>> if ( ! (this.dp2ready && this.dp3ready && this.dp4ready
>> &&
>> this.dp5ready) ){
>> if ( ! this.t2del ){
>> @@ -83,6 +83,6 @@
>>
>> </library>
>> <!-- * X_LZ_COPYRIGHT_BEGIN
>> ***************************************************
>> -* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> +* Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
>> *
>> * Use is subject to license terms.
>> *
>> * X_LZ_COPYRIGHT_END
>> ******************************************************
>> -->
>>
>>
>> _______________________________________________
>> Laszlo-checkins mailing list
>> Laszlo-checkins at openlaszlo.org
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins
>>
>>
>
More information about the Laszlo-dev
mailing list