Raju Bitter | 3 Jul 00:09
Favicon

Feature request - support for downloadable fonts in DHTML

I created a new JIRA issue for support of downloadable fonts in the  
DHTML runtime. That's supported in FF 3.5 and Safari already, here's  
the issue.
http://jira.openlaszlo.org/jira/browse/LPP-8313

Check this demo with either FF 3.5 or Safari, would be a big bonus to  
have custom font support for both dhtml and SWF.
http://opentype.info/demo/webfontdemo.html

- Raju

Henry Minsky | 30 Jun 22:00
Favicon

Re: text selection and links not working in iframe (html element) in Safari

The text selection getting nuked is a bug in safari. The inability to click on a <a> link happens
in both safari and IE7 (it is due to the intercept of the 'click' event)

On Tue, Jun 30, 2009 at 3:58 PM, P T Withington <ptw <at> pobox.com> wrote:
On 2009-06-30, at 15:20EDT, Henry Minsky wrote:

I isolated the bug in http://openlaszlo.org/jira/browse/LPP-8303 down to
this code in iframemanager.js

in __setSendMouseEvents , the iframemanager binds the 'mousedown' and
'click' events

              lz.embed.attachEventHandler(iframe.document, 'mousedown',
lz.embed.iframemanager, '__mouseEvent', id);

              lz.embed.attachEventHandler(iframe.document, 'click',
lz.embed.iframemanager, '__mouseEvent', id);

And those cause Safari to no longer be able to drag-select text or to click
on links.

Is there some way we can re-send those events back to the browser, if thise
code is  intercepting them?

These events all bubble, but are also all cancellable.  Is the event handler cancelling them or suppressing the default action?

We're not grabbing these events in capture phase (before any DOM element gets to see them) are we?

Is this _only_ a bug in Safari?



--
Henry Minsky
Software Architect
hminsky <at> laszlosystems.com


Amy Muntz | 30 Jun 21:52
Favicon

JIRA changes post 4.4.

Hi Everyone,

There are JIRA changes now that OpenLaszlo 4.4 has been released.

*  All remaining p0 and p1 bugs have been moved to 4.4.1. This will be 
the next release (eta 7/3/09) from the 4.4 branch. The goal is for this 
to be the last release from the 4.4 branch.

* All bug fixes should happen in trunk, and then merged to 4.4.1. Tucker 
will be the release coordinator again. Please re-open your fixed bugs to 
Tucker for merging. Be sure to mark the Fix Version as 4.5 (trunk). 
Tucker will set it to 4.4.1 once it has been merged.

* To make the versions clearer, I've changed the name "4.5" to "4.5 
(Trunk)".

Thanks,
Amy

Henry Minsky | 30 Jun 21:18
Favicon

text selection and links not working in iframe (html element) in Safari

I isolated the bug in http://openlaszlo.org/jira/browse/LPP-8303 down to this code in iframemanager.js

in __setSendMouseEvents , the iframemanager binds the 'mousedown' and 'click' events

                lz.embed.attachEventHandler(iframe.document, 'mousedown', lz.embed.iframemanager, '__mouseEvent', id);
   
                lz.embed.attachEventHandler(iframe.document, 'click', lz.embed.iframemanager, '__mouseEvent', id);

And those cause Safari to no longer be able to drag-select text or to click on links.

Is there some way we can re-send those events back to the browser, if thise code is  intercepting them?



--
Henry Minsky
Software Architect
hminsky <at> laszlosystems.com


Amy Muntz | 30 Jun 19:31
Favicon

OpenLaszlo 4.4 is Available Today

We are pleased to announce that OpenLaszlo 4.4 is available now. You can 
download it from the OpenLaszlo Download page: 
http://www.openlaszlo.org/download. It is the recommended platform for 
all application development for the SWF8, SWF9, and DHTML runtimes. 
OpenLaszlo 4.4 is another major release, with almost 180 bugs fixed 
since OpenLaszlo 4.3. The majority of bug fixes in this release are 
specific to the DHTML runtime; however, general improvements to all 
runtimes have also been added and we strongly recommend that you take 
advantage of them by upgrading.

For those of you who have already upgraded your applications to 
OpenLaszlo 4.2.X, no further work is needed. You should just start using 
OpenLaszlo 4.4.

To migrate your 4.0.X or 4.1.1 applications, we strongly suggest that 
you refer to this wiki page: <a 
href="http://wiki.openlaszlo.org/Runtime_Differences">Runtime_Differences</a>. 
This page discusses the changes required by SWF9 and also provides a 
methodology for upgrading your application. It is very important that 
you run the automated conversion scripts in the recommended order, 
should you choose to take advantage of them.

This release has a number of improvements, and significant advances in 
these areas:
* Internet Explorer oddities have been resolved, such that it works 
similarly to FireFox and Safari.
* Context menus have been updated to work with DHTML.
* You can now use non-latin characters (such as Chinese and German) in 
CSS styles by using utf8 file encoding.
* DHTML now includes the "standard" debugger console, just as swf8 and 
swf9 do.

For a complete list of improvements and important notices, please see 
the Release Notes: http://www.openlaszlo.org/lps4.4/release-notes.html

We would like to thank the entire OpenLaszlo community for submitting 
bug fixes and participating in discussions to help make OpenLaszlo a 
better platform. We'd also like to thank the incredible engineering team 
at <a href="http://g.ho.st/?language=en">G.ho.st</a>, who have worked 
with us as a sponsor to bring SWF9 and many other improvements to the 
community. Special heartfelt thanks to André Bargull and Raju Bitter for 
their continued and amazing support of the project. Special recognition 
goes to community contributors: Sarah Allen, Andy Lubbers, Sarah Allen, 
Tim Dauer, and Mark Doeswijk.

P T Withington | 30 Jun 17:28
Favicon

How can I detect focus in SWF8 in IE7 on Windows?

I'm working on [#LPP-8283 "Alt tab issue when switching tasks in IE7/ 
Win"](http://bit.ly/WsowU).

In DHTML, we can listen for `window.focus` (or, in IE, the non- 
standard `document.onfocusin`) to determine when the application  
regains focus.  We use that to call lz.Keys.__allKeysUp.[*]

In SWF, on every platform _but_ IE7/Win, this same solution also  
works.  We can establish the listener in the HTML wrapper and use the  
lz.embed.callMethod interface.

Unfortunately, on IE7/Win with SWF, _if_ the SWF application has focus  
within the page, no focus event is sent to the wrapper HTML!

In SWF9/IE7/Win we can work around this issue because SWF9 defines  
Event.ACTIVATE on the Stage that we can listen for in the application.

That leaves SWF8/IE7/Win.  I'm out of ideas.  I don't see any event in  
SWF8 that corresponds to the Stage ACTIVATE event in swf9.  The  
ActiveX control seems to swallow the focus events when it has focus  
and does not propagate them to the HTML wrapper, but the event does  
not surface anywhere that I can see in the SWF player.  (I tried  
listening for onfocusin on the actual <OBJECT> element.  No joy.  The  
DOM elements in the wrapper _only_ receive the focus event if the  
ActiveX/SWF player does _not_ have focus.)

If anyone has any ideas, I'd love to hear them.

---
[*] On the assumption that when we gain focus, we don't know what the  
state of the keyboard is, we can't tell if keys that were down when we  
lost focus are still down or have been released; so we take the safest  
fallback and assume any keys that were down have been released.  This  
solves the dreaded 'stuck key' problem -- the user doesn't have to  
guess which key to hit to release a stuck key.  The trade-off is that  
a key that is actually still down will not be seen, but the worst case  
there is that the user will have to reassert the key.  This is a  
general problem in any application, even an OS-native application, if  
there is not an API to poll the keyboard and ask it's state when an  
application gets focus.

Henry Minsky | 29 Jun 23:11
Favicon

focus bars only appear when debug=true ?

I'm trying to do some debugging of the focus manager for the accessibility API, and I noticed that when I make
the following test app, and use 'tab' to advance the focus, the 'focus brackets' (the little corner graphics that show
the bbox of the currently focused view) only appear when running the app with debug=true. This is true
in both DHTML and SWF8 and SWF9.

It looks like the resources for the focus brackets doesn't get added unless you compile with debug = true.

I wonder how long this has been happening? Guess I'd better do a binary search..


--
Henry Minsky
Software Architect
hminsky <at> laszlosystems.com


P T Withington | 29 Jun 18:21
Favicon

Re: [Laszlo-builds] FAILURE for 14254-openlaszlo-branches-4.4 on linux-builder.corp.laszlosystems.com

Don't know why this aborted. Trying again.

On Jun 29, 2009, at 0:40, svnbuild <at> laszlosystems.com wrote:

> 2009-06-28 21:40:11 PDT: FAILURE for 14254-openlaszlo-branches-4.4  
> with build return code 1 on linux-builder.corp.laszlosystems.com  
> (Deploy return code -1; Megatest , -1) attaching /home/svnbuild/logs/ 
> tail-14254-branches-4.4-nightly.log
> <tail-14254-branches-4.4-nightly.log>
>
> _______________________________________________
> Laszlo-builds mailing list
> Laszlo-builds <at> openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-builds

P T Withington | 25 Jun 16:00
Favicon

The "Actually Fixed In" field in Jira

Just a reminder folks, when you fix a bug in trunk, you should mark  
the "Actually Fixed in Field" to 4.5 (not 4.4).

   Trunk === 4.5

IF your change is required for 4.4, you should then re-open the change  
to me and request integration.  I will integrate and update the  
"Actually Fixed In" field to 4.5 _and_ 4.4.

(If you mark it as 4.4, then I can't tell that it needs to be  
integrated.)

Thanks for your help.

Raju Bitter | 22 Jun 15:41
Favicon

Solo-deployment and passing of values from canvas into lps/admin/solo-deploy.jsp

For the fullscreen feature there needed to be changes made to the  
embedding code. That has been done in most places, but still needs to  
be done for the SOLO deployment JSP page. Looking at that page, I see  
that we use a lot of default values (width=640, height=400) there.

In the XSLT templates the values are passed into the template from the  
canvas class, why wasn't that to done for SOLO deploy?

- Raju

Sarah Allen | 22 Jun 05:39

For Review: Change 20090621-sallen-D Summary: partial fix for LPP-8293, sound plays but no video appears (swf8

Raju,

Can you take a look at this in the morning?  This is a partial fix,  
but the main bug is there... things aren't behaving as I expect.  See  
notes below.

Thanks,
Sarah

Change 20090621-sallen-D by sallen <at> sallen-mac.local on 2009-06-21  
20:36:35 PDT
     in /Users/sarah/src/svn/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: partial fix for LPP-8293, sound plays but no video appears  
(swf8 & swf9)

New Features:

Bugs Fixed:

Technical Reviewer: raju
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: I fixed the problemwhere the video image does not apeear on  
startup, but can't seem to fix the set url -> seek(0) issue.  I added  
code which I thought would fix it, but it didn't work

Tests:

Files:
M      lps/components/extensions/av/mediastream.lzx
M      lps/components/extensions/av/videoview.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090621-sallen-D.tar

http://www.ultrasaurus.com


Gmane