[webkit-dev] HTML Layers above plugin

2009-11-29 Thread Andre-John Mas
Hi,

I am currently investigating the possibility of using a web container for an 
HTPC system. As part of the design I am looking at is to use the multiple tab 
views to embed the necessary elements. One would concentrate on the menu and 
another on the embedded player (via plugin). For the view showing the plug-in I 
have two approaches that I am looking at, where is either work with with 
plug-in developers to add the necessary chrome needed to display the play 
various information or to somehow overlay 'controls' in HTML.

If I do create a layer with a z-index above the video plugin it will get 
obstructed by the plugin. On the other hand I am able to hide the layer with 
the plug-in without any issue. Is there are a way to draw HTML above the 
plugin? If not is there any technical reason why something like this could not 
be implemented?

André-John
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] content-disposition, utf-8 and webkit

2009-04-14 Thread Andre-John Mas


On 14-Apr-2009, at 18:02, Andre-John Mas wrote:



On 13-Apr-2009, at 09:36, Dan Winship wrote:


Andre-John Mas wrote:

Hi,

I am using the Webkit nightlies on MacOS X, and I noticed that the
following header doesn't seem to give the expected results:

content-disposition: inline;
filename*=utf-8''%E8%92%99%E7%89%B9%E5%88%A9%E5%B0%94.vcf

In Firefox it provides me a filename with Chinese characters in it.
Safari/WebKit defaults to using the file name of the java servlet  
that

was called. So, given a servlet URL: http://localhost/myservlet.do

Firefox: 蒙特利尔.vcf
Safari/Webkit: myservlet.do


Note that that header is syntactically incorrect; it should not have
double-quotes around the value. If you do:

Content-Disposition: inline;
filename*=utf-8''%E8%92%99%E7%89%B9%E5%88%A9%E5%B0%94.vcf

(except not line-wrapped like that) then it might work in Safari as
well. (The Safari devs might consider this a bug anyway given that it
works with the quotes in Firefox though.)


Radar ticket is 6783583



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] embedding WebKit in MFC application

2009-04-14 Thread Andre-John Mas


On 14-Apr-2009, at 12:48, Brent Fulgham wrote:


Hi Martin,

On Tue, Apr 14, 2009 at 8:35 AM, Martin Račko rack...@gmail.com  
wrote:
I would like to create an MFC (Win32 API alternatively) application  
with

WebKit embedded.


I'm afraid you are not going to be able to do so using the stock
WebKit project.  Apple does not provide a license option for their
CoreGraphics, CoreFoundation, and CFNetwork libraries, which are
needed to build and run WebKit on Windows.

Because of this, I worked to revive the original Apple Cairo version
of WebKit.  These changes are nearly all in the main tree (I have to
finish a few small changes), and are being successfully used by
several people (including the Appcelerator team).

Depending on what you want to do, you might consider just using the
Appcelerator package, as building WebKit and integrating it in an MFC
application is not well documented.

I created a sample MFC application based on one of the Apple example
programs a month or so ago, and posted a link to it on my blog
(http://lwat.blogspot.com).  I don't have a direct link handy --
sorry!


Would any of the work that allowed WebKit to work with Chrome benefit
this, since this does work on Windows?

André-John

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] content-disposition, utf-8 and webkit

2009-04-12 Thread Andre-John Mas

Hi,

I am using the Webkit nightlies on MacOS X, and I noticed that the  
following header doesn't seem to give the expected results:


content-disposition: inline;  
filename*=utf-8''%E8%92%99%E7%89%B9%E5%88%A9%E5%B0%94.vcf


In Firefox it provides me a filename with Chinese characters in it.  
Safari/WebKit defaults to using the file name of the java servlet that  
was called. So, given a servlet URL: http://localhost/myservlet.do


Firefox: 蒙特利尔.vcf
Safari/Webkit: myservlet.do

Should I be opening a Webkit ticket for this, or a RADAR?

André
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit rendering engine for CD autorun program

2008-10-13 Thread Andre-John Mas

On 10-Oct-08, at 16:18 , Михаил Шестаков wrote:

 Hello,

 I need to create a promo CD that starts automatically when disc is
 inserted. I have prepared a bunch of HTML files I want to distibute on
 a CD. These HTML pages are very dynamic and use a lot of JavaScript
 (JQuery to be more exact). The thing is that I don't want to rely on
 end user to have modern browser installed on his machine.

 I am looking for a build of Webkit that is intended for that purpose.
 It would be absolutely amazing to have the same thing available for
 Mac and Linux as well.
 And the best solution would be a program, that builds one big EXE
 package with rendering engine+HTML content which starts fullscreen.

Hi,

Would it not be simpler, to simply have the web pages loaded by the  
user's
favourite browser? Using this approach would ensure that all platforms
have access to the content, and it would probably save you a lot of  
work.

All you need to do is ensure that the auto-run script, if that is the
approach you want to use points to the right place. You should also  
ensure
that an the entry-point HTML is available top level for anyone having
disabled auto-run.

André

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] charset not specified when provided in form/enctype

2008-10-06 Thread Andre-John Mas
Hi,

Can anyone comment on issue 21424:

https://bugs.webkit.org/show_bug.cgi?id=21424

Should we sending the charset if specified as part of the enctype  
specified in the form?

André
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Using NigthlyBuilds in C#

2008-07-18 Thread Andre-John Mas
What is the error? I won't be able to answer the question (I don't  
develop with MS-Windows), but providing more details may help
someone else help you.

Andre

On 12-Jul-08, at 10:01 , Julian Jacques Maurer wrote:

 Hello to all.

 This is my first post, so please tell me, if there is something  
 wrong with it.
 My question:

 How can I use WebKit in C#.Net with Visual Studio 2008. I got the  
 Nigthly Builds for Windows with the WeKit.dll, but when I want to  
 reference it in VS, I got only an error.
 I supposed a problem with COM, but I saw in WebKit Trac, it’s not.

 So I hope, there’s anyone who can help me…

 Best wishes, Julian



 PS: Sorry for my bad English – two years in school are not enough… :-/
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to use webkit ?

2008-07-18 Thread Andre-John Mas
Hi,

Trying to develop for a platform that you don't have access to is  
asking for trouble. Even if you somehow managed to develop for it,  
there is no way you could do your quality assurance. If your boss  
wants you to develop for the iPhone and MacOS X, then I would  
recommend getting the necessary hardware.

Are you able to share with us what your project is meant to do? Does  
the program need to be a client side application, or could you  
implement this a web site?

If you need to create a client side application I would suggest doing  
is looking at each platform and seeing what is already offered. At  
that point look at what hooks are necessary to make use of WebKit  
there. Since Java is not available for the iPhone, you will probably  
find yourself writing two applications: one for the iPhone and one for  
the Mac. If you still want to use Java, then you could target the  
desktop platforms, and then develop for the iPhone separately.

Andre


On 18-Jul-08, at 05:31 , Nemix wrote:


 First of all : thank you David and Brent  :)

 I'm a little confused by your requirements (perhaps this is just a  
 language
 issue?)

 Sorry... I speak english as a spanish cow...  ;)

 I am under Windows but the application I have to develop is for Mac  
 OS and
 iPhone.

 The iPhone SDK is current under NDA, so details can't be discussed.
 However, I think it is safe to say that (even if it was possible) to
 take an iPhone application and plunk it down on a Mac OS desktop to
 run it, you would probably not end up with a good user interaction.

 Even if what I develop is a web application ?

 You need a Mac to do iPhone development.

 So this is clear : I can't begin to develop now...

 -- 
 View this message in context: 
 http://www.nabble.com/How-to-use-webkit---tp18385585p18525598.html
 Sent from the Webkit mailing list archive at Nabble.com.

 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Faster run-webkit-tests?

2008-07-14 Thread Andre-John Mas

On 14-Jul-08, at 01:59 , Alexey Proskuryakov wrote:


 On Jul 12, 2008, at 1:07 AM, Stephanie Lewis wrote:

 Something else you can look at is running run-webkit-tests with the  
 --
 threaded flag.  It runs with the test multiple javascript threads.
 You can run that and see if it highlights any other issues.  The last
 time I ran with that flag (a while ago) there were a large number of
 failures.


 I'm running tests with --threaded all the time, and that mostly works
 fine for me. There is a test or two that cause out of memory
 conditions, which sometimes makes secondary threads crash (as we only
 check for such at a few places where they are likely).

Have tickets been filed for these cases, in this context?

Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Nightlies for other platforms?

2008-07-09 Thread Andre-John Mas
Hi,

Are there any plans to add Webkit nightlies for other platforms on the  
nightlies page? I am thinking Linux/Qt or Linux/Gtk.

Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Notifying a plugin it is in the background?

2008-07-09 Thread Andre-John Mas
Hi,

Is there any way to signal to a plug-in that its current context is in  
the background, so that it could eventually reduce CPU priority to the  
content? The issue I am looking at is that some plug-ins consume a lot  
of CPU whether or not they are in foreground. In certain cases,  
usually a Flash player, I find my CPU being maxed out by player which  
is in another tab. If there was a way to reduce the effect of  
background plug-in this would be useful.

Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Metric unit measurements and on screen display

2008-06-24 Thread Andre-John Mas
Hi,

Because of the move to resolution independence on the Mac, I decided  
to see what would happen if I indicated a table using centimeters.  
What I found is that what was indicated was not what was displayed.  
The computer being used for this test is MacBook Pro (Core Duo), with  
the built in screen and using native resolution.

A test case is added at the end of the file. In the test case the  
table is specified to be 6cm wide, but is in reality 5.1cm wide. Is  
there something I am missing here, or is this something that should be  
flagged as a bug? What should the expectations be?

BTW I decided to compare this with Firefox 3 and Opera 9.5 and the  
results are not consistent:

   Opera 9.5 results in 6.9 cm
   Firefox 3 results in 6.9 cm

Andre

Test case:

!DOCTYPE html
PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;

html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en 

head
   title/title
/head

body
table style=border: 0.3mm solid rgb(170, 170, 170); width: 8cm;  
id=resultsTable
 trthRPM/ththSpeed/ththThrust/th/tr
 trtd class=numeric8000/tdtd class=numeric151.52/ 
tdtd class=numeric227.682/td/tr
 tr class=eventd class=numeric8100/tdtd  
class=numeric153.414/tdtd class=numeric233.409/td/tr
 trtd class=numeric8200/tdtd class=numeric155.308/ 
tdtd class=numeric239.208/td/tr
 tr class=eventd class=numeric8300/tdtd  
class=numeric157.202/tdtd class=numeric245.078/td/tr
/table

/body
/html

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] KDE Webkit

2008-04-11 Thread Andre-John Mas

Hi,

I was curious to know what the status of the qtWebkit port was? Also  
once stable can we imagine seeing this as nightly, at least for Linux  
users?


Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] MPlayer plugin

2008-03-10 Thread Andre-John Mas

On 10-Mar-08, at 05:30 , Nitin Mahajan wrote:

 HI All!

 Is there a MPlayer plugin for Web Kit?

What platform? On MacOS X for example Safari, and the nightly WebKit,  
build use the same plug-in interface that Firefox, Opera and Omniweb do.

Doing a search on the net reveals: http://mplayerplug-in.sourceforge.net/

Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Stable Webkit based browser for Windows?

2008-01-26 Thread Andre-John Mas

Hi,

Currently I see as Safari 3 beta and Webkit nightlies being available  
for MS-Windows. So far I haven't seen anything being released as an  
official release quality browser, based on Webkit, for Windows? Is any  
work being done in this direction?


Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Stable Webkit based browser for Windows?

2008-01-26 Thread Andre-John Mas


On 26-Jan-08, at 10:51 , Mark Rowe wrote:



On 27/01/2008, at 02:49, Andre-John Mas wrote:


Hi,

Currently I see as Safari 3 beta and Webkit nightlies being  
available for MS-Windows. So far I haven't seen anything being  
released as an official release quality browser, based on Webkit,  
for Windows? Is any work being done in this direction?


What is the Safari 3 beta if not work being done in this direction?

- Mark



Well, I couldn't find any information about progress and Safari 3 has  
already been released for MacOS X Leopard. Its been in beta for such a  
long time, on MS-Windows, I couldn't be sure there were any plans to  
release anything else beyond that.


Andre

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Safari not connecting to IPv6 server with numeric address

2008-01-18 Thread Andre-John Mas

Hi,

If I try connecting to my web server, on my local network, which is  
running Apache 2 with IPv6, the following fails:


http://[fe80::230:65ff:fed6:b164%en0]/

Yet at the same time, from the command line:

telnet -6 fe80::230:65ff:fed6:b164%en0 80

connects. Typing in:

GET /

results in a returned page. Is this a webkit issue or a safari issue?

Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Safari not connecting to IPv6 server with numeric address

2008-01-18 Thread Andre-John Mas


On 18-Jan-08, at 23:47 , Steve Atkins wrote:



On Jan 18, 2008, at 8:39 PM, Darin Adler wrote:


On Jan 18, 2008, at 8:18 PM, Andre-John Mas wrote:

If I try connecting to my web server, on my local network, which  
is running Apache 2 with IPv6, the following fails:


http://[fe80::230:65ff:fed6:b164%en0]/

Yet at the same time, from the command line:

telnet -6 fe80::230:65ff:fed6:b164%en0 80

connects. Typing in:

GET /

results in a returned page. Is this a webkit issue or a safari  
issue?


Neither WebKit nor Safari.

In WebKit on Mac OS X, host names in URLs are interpreted by the  
NSURL family of classes in the Foundation framework.


So if that's not working, it's most likely an issue in either  
Foundation or the CFNetwork library that is used by the NSURL  
classes. You can report the bug at http://bugreport.apple.com.


It's not a valid URL, I don't believe. The %en0 on the end looks  
suspicious, not least because the '%' symbol is an escape character  
in a URL.



The error given by Safari is: Safari can’t open the page “http:// 
[fe80::230:65ff:fed6:b164%en0]/” because it’s an invalid address.


I did a little research and from what I can tell its seems to be a  
case of RFC 3986 being out of date with regards to RFC 4007. The  
second RFC adds the notion of a zone indice to the IPv6 address, yet  
the specification for the Universal Resource Identifier has not been  
updated to reflect this. Currently I can't see any documented way to  
specify the address with the URI.


I will see whether I can find someone IETF related who could give me  
an answer.


Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Etag support?

2007-12-11 Thread Andre-John Mas

Hi,

Can anyone tell me whether WebKit support the ETAG header?

Andre

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Fwd: Italic font in SVG on MacOS X?

2007-11-23 Thread Andre-John Mas


On 23-Nov-07, at 23:20 , Andre-John Mas wrote:


Hi,

I have attached an SVG which seems to have the text rendered  
incorrectly. The font specified is Verdana and as far as I can tell  
no italic properties are specified, yet with the version of Safari  
that comes with Leopard the text is rendered in italics. Oddly  
enough this behaviour is not present in the beta for Windows and nor  
is it in Firefox.


Any ideas?


After sending the e-mail I realised I hadn't checked with the latest  
nightly. This issue does not affect the nightly, so this would appear  
to a bug in the version of WebKit provided with Leopard.


Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] WebKit and Konqueror

2007-09-14 Thread Andre-John Mas

Hi,

Does anyone know whether WebKitQT has advanced far enough for us
to start seeing an alpha build of Konqueror using WebKit?

Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Re: Automated tests (was: WebKit Project Goals)

2007-07-26 Thread Andre-John Mas


On 26-Jul-07, at 14:00 , Darin Adler wrote:


On Jul 26, 2007, at 10:42 AM, Andre-John Mas wrote:

Are there any publicly available tools that we could use instead?  
I believe it would be of benefit to everyone if we were on the  
same page with the way we approaching testing. At the very least  
even if Apple uses a separate test process internally, it would be  
good if there were some universally available testing process that  
was part of the WebKit project.


I agree. That would be great.

We've had a hard time finding tools like what you describe, though.

Any specific ideas? Can you do something to help with this?


What should the requirements for the tool be, other than being freely  
available?


Andre

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Safari or webkit issue - http getting chopped,

2007-07-19 Thread Andre-John Mas
Let's try this again, this time with the text:

I have a server in my domain called 'chat' and have a Tomcat server running
there on port 8081. On that Tomcat server I have web application the provides
an RSS feed. The URL I normally use is:

http://char:8081/ds/rss-feeds.do

This page is a form allowing me to select the feeds I want from the server.
This works correctly. Now when I tell the server that parameters for the RSS I
start getting issues. The RSS query is:

http://chat:8081/ds/rss.do?report=visits

What happens is that I get told:

  The page you opened redirected you to a page that isn’t supported by Safari.
  Safari can’t open the page “chat:8081/ds/rss.do?report=visits” because it
  cannot redirect to locations starting with “chat:”.

This is strange since this page works correctly in Firefox (Mac, Linux,
Windows), IE6 and Opera. Using wget also shows no redirection happening. I am
suspecting that this is something is Safari/Webkit going funny.

A few things I have tried:

  1 - changing application/rss+xml - application/xml  -- same behaviour

  2 - changing application/rss+xml - text/plain -- same behaviour

  3 - changing rss version=2.0 to xxx version=2.0 -- same behaviour

  4 - doing both 3 and 4 -- URL doesn't get mangled

  5 - changing host name to 192.168.2.101 or fully qualified chat.mydomain.com 
-- URL doesn't get mangled

This affects Safari 3 and the latest WebKit build (2007-07-18) on the Mac. It
also seems focused on RSS being the document type.

Andre

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] WML support in KHTML

2007-07-15 Thread Andre-John Mas

Hi,

I was just going through my mail and came across this e-mail.
Another approach, as long as processing power is available,
could be to use XSLT to convert WML to XHTML and then have the
web browser render the result.

Is anyone aware of any XSLT that could do this and if so could
we imagine integrating this into KHTML?

Andre

On 9-Jul-07, at 17:20 , [EMAIL PROTECTED]  
[EMAIL PROTECTED] wrote:



http://wapuniverse.com/  could be a starting point. That's the only
opensource browser engine, I'm aware of, that has some level of wml
support...but actually looking at the source, it's a little  
different to

what you are looking for.




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ext Tech
Consultant
Sent: Monday, July 09, 2007 6:58 AM
To: webkit-dev@lists.webkit.org
Subject: [webkit-dev] WML support in KHTML


Does any one has an idea of WML support in KHTML like how to enhance
KHTML etc;
Is there any project going on related to this.

NokiaS60 supports WML but I think they have not modified KHTML but  
have

used independent WML library to parse and render WML files.

So is there any alternate method other than what Nokia has done.

-Techie




Yahoo! oneSearch: Finally, mobile search that gives answers
http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/ 
mobileweb/one

search?refer=1ONXIC , not web links.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Directory for Safari 3 for Windows plugins that isn't in Program Files?

2007-07-07 Thread Andre-John Mas


On 7-Jul-07, at 13:13 , MILIANO Vitorio wrote:


I'm not sure that makes sense, since IE doesn't support NPAPI plugins.


I forgot about that IE was doing its own thing.

I know Firefox also checks %APPDATA%\Mozilla\plugins and Safari  
doesn't

look there, but I'll file a bug as soon as I confirm there aren't any
others.


Have a look at Opera as well, I am not sure what its doing either. Does
Microsoft provide a directory structure suggestion for stuff that is
shared by different applications, if they aren't made by the same  
company?


Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] WebForms 2.0 and Webkit

2007-06-06 Thread Andre-John Mas

Hi,

I have heard that the W3C was working on a specification known
as 'Web Forms 2.0'. Does anyone know what the status of this is
and whether there are any moves to incorporate this into
WebKit or any other mainline rendering engine?

Andre
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev