Thanks for your quick response. I commented the JIRA. "Yes, that makes things much clearer. +1 from me."
On Thu, Jul 21, 2011 at 9:05 PM, Donald Anderson <[email protected]> wrote: > Raju, > I don't know if you're tracking the JIRA, but I propose this modification > from your suggestion. Shown first for swf10: > lzx> Debug.versionInfo() > URL: http://127.0.0.1:8080/trunk-f/test/LPP-10001.lzx?lzt=swf&lzoptions=runtime%28swf10%29%2Cproxied%28true%29%2Cdebug%28true%29 > LPS > Version: 5.0.x.0 > Release: Latest > Build: 19291 /Users/clients/laszlo/src/svn/openlaszlo/trunk-f > Date: 2011-07-21T18:15:07Z > Application > Date: 2011-07-21T18:29:02Z > Runtime: swf10 > Browser/Player > Version: 10.3.181.14 > OS: Mac OS 10.6.7 > > and running with dhtml: > > lzx> Debug.versionInfo() > URL: http://127.0.0.1:8080/trunk-f/test/LPP-10001.lzx?lzt=object&lzoptions=runtime%28dhtml%29%2Cproxied%28true%29%2Cdebug%28true%29 > LPS > Version: 5.0.x.0 > Release: Latest > Build: 19291 /Users/clients/laszlo/src/svn/openlaszlo/trunk-f > Date: 2011-07-21T18:15:07Z > Application > Date: 2011-07-21T18:23:45Z > Runtime: dhtml > Browser/Player > Version: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; > rv:1.9.2.19) Gecko/20110707 Firefox/3.6.19 > OS: MacIntel > I was hoping that would make things clearer. What do you think? If you > have feedback, please comment in the JIRA if you > can: http://jira.openlaszlo.org/jira/browse/LPP-10010 > Thanks, > - Don > On Jul 21, 2011, at 1:09 PM, Amy Muntz wrote: > > Traditionally in OpenLaszlo, the "runtime" has meant the target platform - > SWF9, SWF10, DHTML, HTML5, etc.. The browser was never part of that > definition. You are correct that the debugger information seems reversed - > the "runtime" either the swf or javascript runtimes, while the browser > information and mobile environments should be the "target". > > I've filed a JIRA bug: http://jira.openlaszlo.org/jira/browse/LPP-10010 to > track this. > > Amy > > On Thu, Jul 21, 2011 at 12:32 PM, Raju Bitter > <[email protected]> wrote: >> >> After using OL for so many years, I still think that the term >> "runtime" is used to describe different things within the project. >> >> First, the Wikipedia definitions listed: >> http://en.wikipedia.org/wiki/Runtime >> 1) Run time (program lifecycle phase), the period during which a >> computer program is executing >> 2) Run-time system, software designed to support the execution of >> computer programs >> 3) Runtime library, a program library designed to implement functions >> built into a programming language >> >> On the OL website, runtime seems to be mainly used to describe the >> target platform for generated code or bytecode, as can be seen here: >> http://www.openlaszlo.org/legals >> "OpenLaszlo 4, the OpenLaszlo architecture has been remodularized into >> a true multi-runtime platform. OpenLaszlo uses standard ECMAScript >> Release 3 with some ECMAScript Release 4 extensions as its scripting >> language. The compiler translates this script to an intermediate >> language that is then processed by multiple back-ends to translate >> into an appropriate format for the destination runtime (e.g., SWF >> byte-codes, or compressed Javascript 1.4)." >> >> In the "architecture" diagram, Flash 7, Flash 8, and DHTML are >> runtimes. That would mean, "runtime" refers to the runtime system in >> OL's case. >> http://en.wikipedia.org/wiki/Run-time_system >> "A run-time system (also called runtime system or just runtime) is >> software designed to support the execution of computer programs >> written in some computer language. The run-time system contains >> implementations of basic low-level commands and may also implement >> higher-level commands and may support type checking, debugging, and >> even code generation and optimization. >> >> Some services of the run-time system are accessible to the programmer >> through an application programming interface, but other services (such >> as task scheduling and resource management) may be inaccessible." >> >> The version information in the debugger lists the "runtime" as >> "Target", and the runtime refers to the either the Flash Player >> version, or the browser version used. That doesn't seem to be >> consistent, since there is no Safari or Firefox runtime. The browser >> or the Flash Player are runtime environments. >> >> lzx> Debug.versionInfo() >> URL: http://localhost:8080/trunk/some.lzx >> LPS >> Version: 5.0.x.0 >> Release: Latest >> Build: 19258 /Users/raju/src/svn/openlaszlo/trunk >> Date: 2011-07-14T09:34:04Z >> Application >> Date: 2011-07-21T16:17:03Z >> Target: dhtml >> Runtime: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) >> AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 >> Safari/534.30 >> OS: MacIntel >> >> Would you agree with that definition, or what are your thoughts? > > > > -- > Don Anderson > Java/C/C++, Berkeley DB, systems consultant > > voice: 617-306-2057 > email: [email protected] > www: http://www.ddanderson.com > blog: http://libdb.wordpress.com > > > > >
