Re: [webkit-dev] Font problems with WebKit port for GTK-DirectFB

2008-05-21 Thread Srinivas Rao M Hamse
This means that the application is unable to find fonts.
configure pango modules by running pango-query modules and update your font
cache by running fc-cache
This should help
Srinivas

On Wed, May 21, 2008 at 10:15 AM, Yair Raz [EMAIL PROTECTED] wrote:

 Hi,

 After a lot of struggle, I was able to build WebKit targeting GTK DirectFB.
 (I used the Safari-3-1-stable branch on Ubuntu 8.04).
 When I ran it (GtkLauncher) I got the following screen:





 If you notice, the text and text box are almost invisible.

 Any idea why? How can I fix that?

 Thanks,
 Yair




 --
 Yair Raz
 Raztek Solutions, Inc.
 www.raztek-inc.com
 [EMAIL PROTECTED]
 Phone: (408) 499-7025
 Fax:  (408) 746-2806
 --



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




-- 
Srinivas Rao M Hamse http://msrinirao.blogspot.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Staying on edge

2008-05-21 Thread Andrei Maxim
Hi all,

I've been working with the latest WebKit mostly because of its ACID 3  
compliance (I'm treating it as the standard rendering of the web pages  
I work on and then adding fixes, where required, for more popular  
browsers), but I'd like to stay on the edge without having to manually  
download the DMG file and then copy the application to the  
Applications folder each time a nightly build is out.

Is there a way to automate the process like a hidden setting? So far  
I've been using my RSS reader to grab the enclosures from the Mac  
nightly feed, but I still have to mount the image and drag it. Plus,  
this means I have to open my RSS reader *before* my browser and wait a  
couple of minutes till it downloads.

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


Re: [webkit-dev] Staying on edge

2008-05-21 Thread Maciej Stachowiak

On May 21, 2008, at 12:55 AM, Andrei Maxim wrote:

 Hi all,

 I've been working with the latest WebKit mostly because of its ACID 3
 compliance (I'm treating it as the standard rendering of the web pages
 I work on and then adding fixes, where required, for more popular
 browsers), but I'd like to stay on the edge without having to manually
 download the DMG file and then copy the application to the
 Applications folder each time a nightly build is out.

 Is there a way to automate the process like a hidden setting? So far
 I've been using my RSS reader to grab the enclosures from the Mac
 nightly feed, but I still have to mount the image and drag it. Plus,
 this means I have to open my RSS reader *before* my browser and wait a
 couple of minutes till it downloads.

http://web.mac.com/reinholdpenner/Software/NightShift.html

NightShift automatically downloads and updates WebKit, the Safari  
HTML rendering engine, to the latest nightly version. No user  
intervention is required, everything is fully automated.

Regards,
Maciej

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


Re: [webkit-dev] Cross browser automated tests

2008-05-21 Thread Maciej Stachowiak

On May 18, 2008, at 5:09 PM, Sylvain Pasche wrote:

 Hi,

 I'm working on an experimental project to build a set of cross browser
 automated tests. The idea would be: having a repository of browser
 independent automated tests. Each browser developer could contribute
 tests to it and use these tests for testing their product. Existing  
 test
 suites that could be run in an automated way could be imported into it
 (something that has already been done by Mozilla/WebKit for the dom
 tests for instance). The technical details of the testing environment
 and API would need to be discussed.

 These tests could be run automatically on today's available browsers.
 With the test results published, Web developers could check what  
 feature
 (if covered by tests) are implemented (and to what extent) in a given
 browser.

 What do you think about it? Would there be interest in such a project
 from WebKit?

We'd be glad to include any additional tests generated by the project,  
and certainly anyone is welcome to use our tests.

However, we would also want automated regression tests that continue  
to use our harness, which can check many things automatically that are  
not readily testable in-browser, and which is optimized for speed (so  
it can run thousands of tests in a couple of minutes instead of  
hours). These qualities are important to us, and I am not sure a cross- 
browser test harness can achieve them.

 I started already to extract automated tests from Mozilla and WebKit  
 and
 run them on a set of browsers. I first tried to see what tests are not
 WebKit specific. I considered tests which are using
 layoutTestController.dumpAsText(). For these tests, I can use  
 something
 like document.body.nodeValue to get a text serialization of the  
 document
 and compare it against the -expected.txt file.

nodeValue won't cut it, but innerText or textContent may work (depends  
on the test).



 I ran these tests with a few browsers and published results on
 http://www.browsertests.org/. Note that for WebKit I used the Linux
 GtkLauncher program (some tests made the browser crash). I plan to run
 these tests on Safari Mac/Windows for comparison.

 By the way, Mozilla reftest system [1] is interesting in that project
 because it is a browser independent way of testing the layout engine.
 See pages 8-12 on http://www.browsertests.org/test.

 I also started a thread on a Mozilla group, visible at [2]


 Sylvain

 [1] http://mxr.mozilla.org/mozilla/source/layout/tools/reftest/README.txt
 [2]
 http://groups.google.com/group/mozilla.dev.quality/browse_frm/thread/b2a959c7547b9877/d5705f4f664bab53

 ___
 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] Staying on edge

2008-05-21 Thread Andrei Maxim
On May 21, 2008, at 10:57 AM, Maciej Stachowiak wrote:

 NightShift automatically downloads and updates WebKit, the Safari  
 HTML rendering engine, to the latest nightly version. No user  
 intervention is required, everything is fully automated.

Thank you!

Andrei

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


[webkit-dev] link activation with a function

2008-05-21 Thread Luka Napotnik
Hello.

Is there a way to activate a specific link with a function with webkit?
I have a page with some div elements with tags and links and I want to
activate the links using code not trhough mouse events.

Please help.


Greets,
Luka


signature.asc
Description: To je digitalno podpisan del sporočila
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] link activation with a function

2008-05-21 Thread Adam Roben
Hi Luka-

Luka Napotnik wrote:
 Hello.

 Is there a way to activate a specific link with a function with webkit?
 I have a page with some div elements with tags and links and I want to
 activate the links using code not trhough mouse events.

 Please help.
   

This mailing list is focused on development of the WebKit engine, not 
development of web content. It looks like Google has the answers you 
need, though, such as 
http://www.atomicmpc.com.au/forums.asp?s=2c=10t=4132.

-Adam

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


[webkit-dev] webkit gtk paint

2008-05-21 Thread zaheer ahmad
hi all,

The current paint algorithm in webkit (gtk port) requests all the objects in
the clip region to repaint itself to the cairo surface. This seems terribly
slow on a embedded arm platform (400Mhz, 64M Ram, takes 200ms) for a
scroll. we are expecting a 20FPS response speed to enable a smooth scroll
on a touch h/w without graphics gpu support. i remember reading a post where
cairo double buffering was a option to improve the same. Appreciate any
inputs on the same.

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


[webkit-dev] Monitoring JavaScript execution time

2008-05-21 Thread Chuck Norris
I'm working on a page load time monitoring tool using WebKit, and I'm  
interested in suggestions from the community about how to monitor  
JavaScript in particular.


Using WebKit, I've got really good page element monitoring through use  
of the WebFrameLoadDelegate and WebResourceLoadDelegate protocols.   
This takes care of images, script and CSS files very nicely.  But  
we're finding that ads loading with JavaScript are often a significant  
part of our page load times, and I'm trying to get some visibility  
into what's going on.  We suspect that Google Analytics code can  
occasionally take longer than usual, too.  Specifically, I'm hoping to  
be able to monitor the execution time of any JavaScript that runs at  
page load time and therefore adds to the total page load experience.


Does anyone have any suggestions for tacks I could take to solve  
this?  One thought would be to add some sort of delegate protocol for  
JavaScript that will let me monitor what's going on.  A more brute- 
force method might be to custom compile JavaScriptCore to emit the  
data I need some way.


Any suggestions, thoughts, or warnings would be welcome.

Chuck

smime.p7s
Description: S/MIME cryptographic signature
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Monitoring JavaScript execution time

2008-05-21 Thread Adam Roben
Hi Chuck-

Chuck Norris wrote:
 I'm working on a page load time monitoring tool using WebKit, and I'm 
 interested in suggestions from the community about how to monitor 
 JavaScript in particular.

 Using WebKit, I've got really good page element monitoring through use 
 of the WebFrameLoadDelegate and WebResourceLoadDelegate protocols.  
 This takes care of images, script and CSS files very nicely.  But 
 we're finding that ads loading with JavaScript are often a significant 
 part of our page load times, and I'm trying to get some visibility 
 into what's going on.  We suspect that Google Analytics code can 
 occasionally take longer than usual, too.  Specifically, I'm hoping to 
 be able to monitor the execution time of any JavaScript that runs at 
 page load time and therefore adds to the total page load experience.

 Does anyone have any suggestions for tacks I could take to solve 
 this?  One thought would be to add some sort of delegate protocol for 
 JavaScript that will let me monitor what's going on.  A more 
 brute-force method might be to custom compile JavaScriptCore to emit 
 the data I need some way.

 Any suggestions, thoughts, or warnings would be welcome.

Once https://bugs.webkit.org/show_bug.cgi?id=14351, you will be able 
to find this information in the Inspector's Resources panel. Also, once 
https://bugs.webkit.org/show_bug.cgi?id=17227 is fixed (which should 
be sometime in the next few weeks), you could add calls to 
console.profile and console.profileEnd to see what JS functions are 
taking the most time. I don't think there's any current way to monitor 
when JavaScript is executing.

On a related note, have you tried using the Inspector's Resources panel 
to track when resources are loaded? It should show you the kinds of 
information that the WebFrameLoadDelegate and WebResourceLoadDelegate 
callbacks will give you.

-Adam

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