Benjamin Shine | 1 Jun 07:29
Favicon

nightly build naming and numbering

I've been experimenting with different ways to name nightly  
distributions. For now, I'm using something like this:
http://download.openlaszlo.org/nightly/[buildnumber]/openlaszlo-3.3.x- 
[os].[extension]
For example -- preview of a preview...
http://download.openlaszlo.org/nightly/682/
contains installers for linux, osx, and windows. No new code in  
these, though; it's pretty much just lps 3.3.

So before we go too much farther with this, let's agree on a naming  
system for the nightly builds.
questions:
1) do we want to group related releases into a directory? ie, all  
products from build 682 into the nightly/682 directory?
2) Is identifying things by build number enough, or do we want $ 
{buildnum}-${date} ?
3) What should this look like for branches? I don't think we'll ever  
have 682-somebranch and 682-anotherbranch builds for the same  
revision number.
4) Should the build number go into the actual file name of the  
downloaded file, ie 682-openlaszlo-3.3.x-trunk-unix.tar.gz ?

benjamin shine
software engineer
ben <at> laszlosystems.com
Jim Grandy | 1 Jun 07:53
Favicon

Re: nightly build naming and numbering


On May 31, 2006, at 10:29 PM, Benjamin Shine wrote:

3) What should this look like for branches? I don't think we'll ever  

have 682-somebranch and 682-anotherbranch builds for the same  

revision number.


I think with svn's global revisioning scheme this is actually pretty likely, so adding the branch name is probably necessary.

4) Should the build number go into the actual file name of the  

downloaded file, ie 682-openlaszlo-3.3.x-trunk-unix.tar.gz ?


Not necessary, in my opinion. Mozilla (for example) doesn't do this -- see http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/.

jim
_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
P T Withington | 1 Jun 20:33
Picon
Favicon
Gravatar

For Review: Change 42693 Summary: Make backtraces work in DHTML

Change 42693 by ptw <at> ptw-legals-5 on 2006/06/01 11:21:48 *pending*

	Summary: Make backtraces work in DHTML
	
	Technical Reviewer: henry (pending)
	QA Reviewer: max (pending)
	Doc Reviewer: n/a (pending)
	
	Details:
	
	debugger/Library, LzBacktrace, LzTrace: as -> lzs.
	
	LzFormat: Make %s print functions prettily.
	
	JavascriptGenerator: Make function prefix/suffix work (by
	transforming suffix into a finally), make backtrace
	prefix/suffix work in Javascript.
	
	laszlo-debugger.css: Make TRACE be the same color as DEBUG
	
	Tests:  bar = {foo:function() {return 42}}; Debug.trace(bar, 'foo');  
bar.foo()

Affected files ...

... //depot/lps-legals/WEB-INF/lps/lfc/debugger/Library.lzs#6 edit
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzBacktrace.as#3 delete
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzBacktrace.lzs#1 add
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzFormat.lzs#7 edit
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzTrace.as#3 delete
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzTrace.lzs#1 add
... //depot/lps-legals/WEB-INF/lps/server/src/org/openlaszlo/sc/ 
JavascriptGenerator.java#22 edit
... //depot/lps-legals/lps/includes/laszlo-debugger.css#1 edit

Attachment (changeset-42693.zip): application/zip, 55 KiB
_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
Benjamin Shine | 1 Jun 20:55
Favicon

Re: For Review: Change 42693 Summary: Make backtraces work in DHTML

Tucker, does this mean you're coming in for a landing? Any more big  
checkins I should expect from you before PR1?

On Jun 1, 2006, at 11:33 AM, P T Withington wrote:

> Change 42693 by ptw <at> ptw-legals-5 on 2006/06/01 11:21:48 *pending*
>
> 	Summary: Make backtraces work in DHTML
> 	
> 	Technical Reviewer: henry (pending)
> 	QA Reviewer: max (pending)
> 	Doc Reviewer: n/a (pending)
> 	
> 	Details:
> 	
> 	debugger/Library, LzBacktrace, LzTrace: as -> lzs.
> 	
> 	LzFormat: Make %s print functions prettily.
> 	
> 	JavascriptGenerator: Make function prefix/suffix work (by
> 	transforming suffix into a finally), make backtrace
> 	prefix/suffix work in Javascript.
> 	
> 	laszlo-debugger.css: Make TRACE be the same color as DEBUG
> 	
> 	Tests:  bar = {foo:function() {return 42}}; Debug.trace(bar,  
> 'foo'); bar.foo()
>
> Affected files ...
>
> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/Library.lzs#6 edit
> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzBacktrace.as#3  
> delete
> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzBacktrace.lzs#1 add
> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzFormat.lzs#7 edit
> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzTrace.as#3 delete
> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzTrace.lzs#1 add
> ... //depot/lps-legals/WEB-INF/lps/server/src/org/openlaszlo/sc/ 
> JavascriptGenerator.java#22 edit
> ... //depot/lps-legals/lps/includes/laszlo-debugger.css#1 edit
>
> <changeset-42693.zip>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev <at> openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

benjamin shine
software engineer
ben <at> laszlosystems.com
P T Withington | 1 Jun 20:59
Picon
Favicon
Gravatar

Re: For Review: Change 42693 Summary: Make backtraces work in DHTML

Well, Henry and I are still trying to get DHTML LZPIX to work...   
It's getting close, but not yet.

On 2006-06-01, at 14:55 EDT, Benjamin Shine wrote:

> Tucker, does this mean you're coming in for a landing? Any more big
> checkins I should expect from you before PR1?
>
> On Jun 1, 2006, at 11:33 AM, P T Withington wrote:
>
>> Change 42693 by ptw <at> ptw-legals-5 on 2006/06/01 11:21:48 *pending*
>>
>> 	Summary: Make backtraces work in DHTML
>> 	
>> 	Technical Reviewer: henry (pending)
>> 	QA Reviewer: max (pending)
>> 	Doc Reviewer: n/a (pending)
>> 	
>> 	Details:
>> 	
>> 	debugger/Library, LzBacktrace, LzTrace: as -> lzs.
>> 	
>> 	LzFormat: Make %s print functions prettily.
>> 	
>> 	JavascriptGenerator: Make function prefix/suffix work (by
>> 	transforming suffix into a finally), make backtrace
>> 	prefix/suffix work in Javascript.
>> 	
>> 	laszlo-debugger.css: Make TRACE be the same color as DEBUG
>> 	
>> 	Tests:  bar = {foo:function() {return 42}}; Debug.trace(bar,
>> 'foo'); bar.foo()
>>
>> Affected files ...
>>
>> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/Library.lzs#6 edit
>> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzBacktrace.as#3
>> delete
>> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzBacktrace.lzs#1 add
>> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzFormat.lzs#7 edit
>> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzTrace.as#3 delete
>> ... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzTrace.lzs#1 add
>> ... //depot/lps-legals/WEB-INF/lps/server/src/org/openlaszlo/sc/
>> JavascriptGenerator.java#22 edit
>> ... //depot/lps-legals/lps/includes/laszlo-debugger.css#1 edit
>>
>> <changeset-42693.zip>
>> _______________________________________________
>> Laszlo-dev mailing list
>> Laszlo-dev <at> openlaszlo.org
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
> benjamin shine
> software engineer
> ben <at> laszlosystems.com
>
>
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev <at> openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
Benjamin Shine | 1 Jun 23:50
Favicon

Windows users! New installer (nearly identical to 3.3) PLEASE TEST


This installer was built out of trunk in subversion using entirely  
checked-in scripts and is almost entirely automated. This will be how  
we make nightly builds from now on!

I've tried this on Jim's PC and it works, but I would also really  
appreciate people trying it on different computers, especially ones  
that are "clean". I'm especially curious about whether the system as  
a whole will work without a JDK installed.

http://download.openlaszlo.org/nightly/696/openlaszlo-3.3.x-windows- 
dev-install.exe
aka
http://elfurl.com/s4jvz

If you are physically located at Laszlo Systems West, I will even  
give you your very own CD with the installer on it -- let me know if  
you want one of these. It's a 30 mb download.

THANK YOU!
Daniel Salama | 2 Jun 06:38

options attribute

I've seen a number snippets of code which contain tags that use the  
"options" attribute. The documentation found simply says:

"A list of CSS property names and values that configure the behavior  
of objects, such as data binding and view layouts, that operate on  
this view."

But, what are all the available property names, values, and meanings?

Can someone point me to where is this documented?

Thanks,
Daniel

Dynamic call to the compiler


Hi the list,

I would like to call the laszlo compiler dynamically using stream rather than statically using files.
Is it possible ?

I already started to look at the source code but it is quite huge and I'm lost.
I found a compiler package and a Compiler class but I'm not sure about how to use it.
I also found how it is used by the Main.main (from the lzc script) but it is still unclear to me if I will be able to call it dynamically (even without the stream).
At the end, the compilation process seem to be a XSLT transformation. Is it that ? Or are there other steps required to compile a lzx into a swf ?
(is swf an xml stream too ?? Sorry, I'm really new to flash).
It look like there is a complex process to include other files (the component)... but I'm not sure at all...

Basically, I would like a Servlet to call sometime that compiler and return a swf stream (to show flash thing on screen) and sometime to do other things like returning simple html from another stream for example (could be a way to add smoothly flash to an existing apps, so some parts will be laszlo, some others will keep the old code, the servlet would decide).

Thanks for your help !

(that was my first post, I did it !) This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority
_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

build file corrupted ?


Hi again the list,

Some problemes I found :
1. The source tar ball from the 3.3 is corrupted for me after several try (5 differents) from several places (London and Paris)
http://download.openlaszlo.org/3.3/openlaszlo-3.3-src.tar.gz
Could you check that ?

2. For the nighly build the file name is 3.2.x-src ... So, is it 3.2 or 3.3 nightly build ???
http://www.openlaszlo.org/latest-build/openlaszlo-3.2.x-src.tar.gz

3. Is there a CVS access ?

=> I'm not currently able to get all the sources !

the binary are OK.

Please help me. This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority
_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
P T Withington | 2 Jun 15:59
Favicon

Re: Dynamic call to the compiler

It sounds to me like you want to write a new servlet.  Have a look at:

WEB-INF/lps/server/src/org/openlaszlo/servlets/

or the responders subdirectory.

Also, read about deployment (fetch your app with ?lzt=deployment) to  
see how you can embed an OpenLaszlo app in an HTML page.  If you use  
the <object> tag, you can provide alternate implementations as the  
body of the object tag and browsers that do not have Flash will  
automatically fall back to the [alternate](http://www.w3.org/TR/html4/ 
struct/objects.html#h-13.3).

Finally, [SWFObject](http://blog.deconcept.com/swfobject/) has also  
been used to embed OpenLaszlo apps.

On 2006-06-02, at 07:29 EDT, jean-baptiste.briaud <at> uk.bnpparibas.com  
wrote:

> Hi the list,
>
> I would like to call the laszlo compiler dynamically using stream  
> rather
> than statically using files.
> Is it possible ?
>
> I already started to look at the source code but it is quite huge  
> and I'm
> lost.
> I found a compiler package and a Compiler class but I'm not sure  
> about how
> to use it.
> I also found how it is used by the Main.main (from the lzc script)  
> but it
> is still unclear to me if I will be able to call it dynamically (even
> without the stream).
> At the end, the compilation process seem to be a XSLT  
> transformation. Is
> it that ? Or are there other steps required to compile a lzx into a  
> swf ?
> (is swf an xml stream too ?? Sorry, I'm really new to flash).
> It look like there is a complex process to include other files (the
> component)... but I'm not sure at all...
>
> Basically, I would like a Servlet to call sometime that compiler and
> return a swf stream (to show flash thing on screen) and sometime to do
> other things like returning simple html from another stream for  
> example
> (could be a way to add smoothly flash to an existing apps, so some  
> parts
> will be laszlo, some others will keep the old code, the servlet would
> decide).
>
> Thanks for your help !
>
> (that was my first post, I did it !)
>
>
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential.
> If you receive this message in error, please delete it and
> immediately notify the sender. Any use not in accord with
> its purpose, any dissemination or disclosure, either whole
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message.
> BNP PARIBAS (and its subsidiaries) shall (will) not
> therefore be liable for the message if modified.
>
> ********************************************************************** 
> ************************
>
> BNP Paribas Private Bank London Branch is authorised
> by CECEI & AMF and is regulated by the Financial Services
> Authority for the conduct of its investment business in
> the United Kingdom.
>
> BNP Paribas Securities Services London Branch is authorised
> by CECEI & AMF and is regulated by the Financial Services
> Authority for the conduct of its investment business in
> the United Kingdom.
>
> BNP Paribas Fund Services UK Limited is authorised and
> regulated by the Financial Services Authority
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev <at> openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Gmane