[webkit-dev] search in gtk port

2007-11-16 Thread zaheer ahmad
hi, iam looking for a search api for gtk port but could not find one. i tried the following piece of code to search for a sample string the search results return fine, however the focus does not move to the selection content and there is no highlight. The impl. seems to support it

[webkit-dev] Re: gtk port

2007-11-19 Thread zaheer ahmad
[EMAIL PROTECTED] wrote: zaheer ahmad wrote: i have few questions on webkit gtk port 1- how to run the autotests - seem to be specific to mac and where to get those as they do not come with the nightly build tarball None of the ports use autotools right now actually. the GTK+ port uses qmake

[webkit-dev] Re: crash in gtk port

2007-11-19 Thread zaheer ahmad
hi Alp, thanks for the inputs.. it works now.. actually i needed http://bugs.webkit.org/show_bug.cgi?id=15584 in addition to below since iam working on an older version. regards zaheer On Nov 20, 2007 8:18 AM, Alp Toker [EMAIL PROTECTED] wrote: zaheer ahmad wrote: hi, i observe random

[webkit-dev] page zoom support in gtk port

2007-11-19 Thread zaheer ahmad
hi, we are looking for zoom support in gtk port and found couple of bugs that address this using cairo transforms and css transforms resp. http://bugs.webkit.org/show_bug.cgi?id=14998 http://bugs.webkit.org/show_bug.cgi?id=15670 appreciate any inputs on when this will be available in a release,

[webkit-dev] get the bits of the complete page

2007-11-22 Thread zaheer ahmad
hi, iam working on the gtk port of webkit and have a need to get the bitmap of the entire page without actually rendering it. Is there an easy way to get in the current implementation. one of the ways i thought was to create a cairo surface over a memory buffer (instead of the drawing window in

[webkit-dev] Re: get the bits of the complete page

2007-11-23 Thread zaheer ahmad
[EMAIL PROTECTED] wrote: zaheer ahmad wrote: hi, iam working on the gtk port of webkit and have a need to get the bitmap of the entire page without actually rendering it. Is there an easy way to get in the current implementation. one of the ways i thought was to create a cairo surface

[webkit-dev] Re: get the bits of the complete page

2007-11-30 Thread zaheer ahmad
hi alp, thanks a lot for the inputs.. i will try it. regards, Zaheer On Nov 30, 2007 4:47 PM, Alp Toker [EMAIL PROTECTED] wrote: Zaheer, If you really need full page zooming so much and can't wait for the bug to get fixed, try something like this (untested): void

[webkit-dev] curl in webkit

2007-12-12 Thread zaheer ahmad
hi, i would like to know if CURLINFO_CONTENT_LENGTH_DOWNLOAD option works in the httpheader callback (the url is a downloadable content ( http://www.cluetrain.com/cluetrain.pdf). It seems to work only in the write callback. Any inputs on why it does not work in header callback would be very

[webkit-dev] problem with multi perform

2007-12-17 Thread zaheer ahmad
hi all, Iam using gtk version of webkit which uses curl. iam facing a crash in curl when opening certain pages. the reason seems to be that curl is using the handle (i.e. write callbacks are invoked) even after its removed from the multihandle (code below).

[webkit-dev] divide by zero in cairo_fill

2007-12-17 Thread zaheer ahmad
hi, iam working gtk port of webkit and when opening certain pages (www.ndtv.com, www.cricinfo.com) i see a random crash due to a divide by zero in cairo. The backtrace looks like following Iam using 26699 and this issue could be fixed in later version. search in webkit bug list does not give any

[webkit-dev] native entry widget in webkit-gtk

2007-12-19 Thread zaheer ahmad
hi, iam working on gtk port of webkit and i have a need to use the native gtk input widget (GtkEntry) for text entry instead of the webkits own text entry control. Any high level design inputs of implementing it (or) a pointer to an existing related solution would be very helpful. thanks,

[webkit-dev] Re: native entry widget in webkit-gtk

2007-12-19 Thread zaheer ahmad
? Is there a alternate solution. thanks, Zaheer On Dec 20, 2007 10:19 AM, Alp Toker [EMAIL PROTECTED] wrote: zaheer ahmad wrote: hi, iam working on gtk port of webkit and i have a need to use the native gtk input widget (GtkEntry) for text entry instead of the webkits own text entry control

[webkit-dev] performance on ARM

2008-01-23 Thread zaheer ahmad
hi, we are working on gtk port of webkit on ARM board(400MHZ CPU, 128MB RAM, 64MB Nand flash) over fast ethernet connection. we are facing issues when loading pages where the webkit is not responsive to key presses and other events. The same works fine on a x86 build. Any pointers for this

[webkit-dev] Flatten frames/iframes

2008-01-29 Thread zaheer ahmad
hi, iam working a gtk webkit port on mobile. the default impl for frames/iframes creates a new subframe inside the current frame. is there a way to flatten the frames in the current frame without creating a subframe (preferred option for limited display devices) Appreciate any inputs on the same.

[webkit-dev] releasing cached resources

2008-02-05 Thread zaheer ahmad
hi, iam working with gtk port of webkit. iam trying to optimize the ram usage. one of the optimization is to disallow caching images and not supporting the forward/backward navigation. however i observe that not all the cached resources are being released as part of the closing of page. this is

Re: [webkit-dev] get the bits of the complete page

2008-02-18 Thread zaheer ahmad
hi, The patch does not reposition the changed document to the top of the frame view and also does not alter the documents width/height. The same behavior is seen with transforms from html pages(e..g scaled content goes out of the window) Are these known issues? Setting the transform origin

[webkit-dev] Text color inside Textfield in GTKport

2008-02-20 Thread zaheer ahmad
hi, Text color inside text field in GTK port does not seem to honor the theme settings. This seems to be an issue. Please comment. Also can you point on the relevant piece of code that controls this. thanks, Zaheer ___ webkit-dev mailing list

[webkit-dev] landscape mode in gtk port

2008-04-15 Thread zaheer ahmad
hi, iam interested in a landscape implementation for the webkit/gtk port. i see few approaches - use the webkit-transform rotate. however as i understand the transform does not affect the layout and hence this may not be useful (e.g. the height/width would remain same for the page) - control the

Re: [webkit-dev] crash when loading certain pages

2008-05-09 Thread zaheer ahmad
cancelled And i checked the documentLoader (cancelAll) and it seems to only have 4 entries. investigating on why the fifth job is missing from the document load list.. thanks, Zaheer On Thu, May 8, 2008 at 6:00 AM, Holger Freyther [EMAIL PROTECTED] wrote: On Wednesday 07 May 2008 09:19:51 zaheer

[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

[webkit-dev] Gtk scroll improvement

2008-05-22 Thread zaheer ahmad
hi, iam looking at improving scroll perf on webkit gtk port and came across this patch https://bugs.webkit.org/show_bug.cgi?id=15070 that uses double buffer. Taking the patch only vertical scroll down seems to work. i was suspecting -ve values in gdk_draw_drawable scrollStore when dx/dy is 0, but

Re: [webkit-dev] Get SquirrelFish for Webkit in linux

2008-06-08 Thread zaheer ahmad
Are you using a proxy to connect to nw? we have seen that gmail does not open with a proxy. thanks On Mon, Jun 9, 2008 at 10:04 AM, ying lcs [EMAIL PROTECTED] wrote: On Sun, Jun 8, 2008 at 9:18 PM, Ryan Leavengood [EMAIL PROTECTED] wrote: On Sun, Jun 8, 2008 at 9:44 PM, ying lcs [EMAIL

[webkit-dev] GTK threading

2008-06-20 Thread zaheer ahmad
hi, Webkit linux GTK version does not employ any threading. This is unlike MAC/Windows port or firefox that use threading for n/w io, js exec, UI and probably for others like rendering/parsing. Threading may be more appropriate on embedded systems where ui response is probably more important than

[webkit-dev] Curl resourcehandle leaks in Linux/Gtk port

2008-09-10 Thread zaheer ahmad
hi, In the linux Gtk port, with Webkit revision 33493, i see that the resource handles (curl backend) never get released after completing the data transfer for that request. This results in big leaks in resourcehandles as well as the curl internal data structures. (~800k on opening nytimes.com

Re: [webkit-dev] Curl resourcehandle leaks in Linux/Gtk port

2008-09-10 Thread zaheer ahmad
hi, The fix only helps little as we see the bigger leaks in curl. feedback from curl experts suggests that this design is correct.. let me know if you are aware of this issue == here's the mail snapshot. we are seeing big leaks in curl (Curl_connect - 600-800k and Curl_open - ~200k) when we

Re: [webkit-dev] Curl resourcehandle leaks in Linux/Gtk port

2008-09-10 Thread zaheer ahmad
to be extended to have the concept of a work request and a longer term watch timeout. So in my opinion the issues are fixed at least to the extent possible without help from the curl team. On Wed, Sep 10, 2008 at 7:53 AM, zaheer ahmad [EMAIL PROTECTED] wrote: hi, The fix only helps little

Re: [webkit-dev] WebKit memory management?

2008-09-17 Thread zaheer ahmad
This makes it impossible to correctly shut down WebKit at runtime on this topic, i see that few singleton/global objects (ResourceHandleManager, Cache, allPages(Page.cpp) ) and possibly more are not getting destructed when webview is closed on the linux/gtk port. I dont know if this is an

[webkit-dev] Tweaking cache size for embedded browser

2008-09-17 Thread zaheer ahmad
hi, webkit currently reserves 8Mb of cache space (refer: Cache.cpp). This seems too high for an embedded browser that should work with as less as 10Mb of RAM. Other than the performance/reload of resource impact are there any side effects by reducing this or totally disabling it. one feature that

Re: [webkit-dev] Tweaking cache size for embedded browser

2008-09-17 Thread zaheer ahmad
i think the below is related to JS engine. i was referring to the cached resources(css, js, images etc) - WebCore/loader/Cache.cpp:44 static const int cDefaultCacheCapacity = 8192 * 1024; regards, Zaheer On Wed, Sep 17, 2008 at 1:23 PM, Paul Pedriana [EMAIL PROTECTED] wrote: That was

[webkit-dev] Blocking UI (linux/gtk)

2008-09-29 Thread zaheer ahmad
hi, Iam analyzing the UI response issues on the webkit linux/gtk port on arm embedded platform. One observation is that the webcore timer driven callbacks (e.g. layout, network, tokenizer etc) can block for unbounded time. The other is that TimerBase::fireTimers fires all pending timers at once

[webkit-dev] Save Page - Ideas

2008-10-30 Thread zaheer ahmad
hi, iam working on implementing save page functionality. Looks like its not already supported in the core. Following are some high level ideas and iam not sure if some or all of these are the right approaches to this problem - write the page data to the file system as and when is received - but

[webkit-dev] http cache support - rfc2616

2008-11-15 Thread zaheer ahmad
hi,Does webkit or any component built with (e.g. chromium) has a full implementation of http caching- rfc2616. a quick search in the code base or the bug list does not suggest one. Looks like some of the pieces from html5 application cache can be reused for such an implementation. kindly suggest.

[webkit-dev] zoom from a point - design inputs

2008-11-20 Thread zaheer ahmad
hi all, Iam implementing a variant of the zoom api in the gtk port to zoom wrt to a click point instead of the default page origin. i see few options - translate the cairo context in the expose and adjust document dirty rectangles in paint. This may break other usecases as layout engine is

[webkit-dev] retreiving favicon on gtk port

2008-11-25 Thread zaheer ahmad
hi all,Iam trying to retrieve the favicon when loading a website. i find that IconLoader::didfinishLoading gets called with valid data followed by a IconLoader::didFail which clears the icon from the database. The comment in didFinishLoading suggests that this is a valid scenario. it points to

[webkit-dev] background transparency of webkitwebview on gtk port

2008-11-26 Thread zaheer ahmad
hi all, iam trying to make the webview container transparent to show through its parent's background. i set the webview to transparent and also do not have background color property set. i find that the background still gets drawn. i suspect this is the containers background? is there a way to

[webkit-dev] WAP browsing

2008-12-30 Thread zaheer ahmad
hi, Given that webkit has recently added support for WML, I think it requires WMLScript and WCSS to fully support WAP (1.3) browsing. would like to know if there is any ongoing effort on this. thanks, Zaheer ___ webkit-dev mailing list

Re: [webkit-dev] WAP browsing

2009-01-04 Thread zaheer ahmad
, We don't have any plans to add all of those technologies, but we do plan to add some of them. Does Azingo have plans to contribute some of these things? On 2-Jan-09, at 12:55 AM, zaheer ahmad wrote: hi, Thanks for your response. extending my question, r there plans for wap 2.0

[webkit-dev] PNG decoding takes too much memory on amazon.com

2009-02-11 Thread zaheer ahmad
hi, I have cache disabled and on loading amazon.com, the memory consumption on the linux gtk port is ~32Meg(private dirty RSS). Approx 14Meg of this is taken by the png decoder for the following image of size 1296000 bytes which is allocated 9 times. The behavior is same on the desktop with

Re: [webkit-dev] How to handle error response on the browser when the HTTP request fails

2009-02-11 Thread zaheer ahmad
If you are using curl backend, network errors are already reported back but ignored. you need to implement FrameloaderClient::dispatchDidFailLoading delegate to pass it back to the application. regards, Zaheer On Wed, Feb 11, 2009 at 7:03 PM, Nitin Walke nitwa...@gmail.com wrote: Hi, I am

Re: [webkit-dev] How to handle error response on the browser when the HTTP request fails

2009-02-12 Thread zaheer ahmad
in FrameloaderClient::dispatchDidFailLoading for GTK; and found that the control flow does not reach there. Am I missing something here? Your inputs will be appreciated. Regards, Nitin On Thu, Feb 12, 2009 at 11:55 AM, zaheer ahmad zaheer@gmail.comwrote: If you are using curl backend, network errors

Re: [webkit-dev] caching /memory leak... browsing images

2009-03-16 Thread zaheer ahmad
Webkit has a default cache of 8 Mb (WebCore/Loader/Cache.cpp) and your data suggests it is using with in that limit. And it is a fraction of 150Mb you have mentioned, please check where the other memory is going. thanks, Zaheer On Mon, Mar 16, 2009 at 11:49 AM, Purushottam Sholapur

Re: [webkit-dev] Serialize DOM to file

2009-06-03 Thread zaheer ahmad
hi you can get the root node of DOM and use XMLSerializer::serializeToString regards zaheer On Thu, Jun 4, 2009 at 11:11 AM, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, Is there any debug code/example code snippet to serialize the DOM to a fie? Thank you for any tip.

[webkit-dev] italics and blink support on GTK port

2009-06-30 Thread zaheer ahmad
hi,There are couple of issues in latest nightlies on gtk port (issues were there in earlier builds too), 1- italics do not work for many font families (e.g monospace, serif etc). the issue seems to be in the fast render path (freetype), if we disable fast rendering we do not see the issue.

Re: [webkit-dev] [chromium-dev] Learning Webkit: High Level Webkit overview?

2009-10-07 Thread zaheer ahmad
hi, My comments below. Pls correct me if my understanding is inaccurate. On Wed, Oct 7, 2009 at 2:37 AM, Buakaw San buakaw@gmail.com wrote: Thanks for your input. I have attached the flow chart for the Mozilla's Layout engine, how would you say the WebKit data flow differs from this

Re: [webkit-dev] Announcing WebKit2

2010-04-09 Thread zaheer ahmad
hi , why only multi-process and not multi-thread like android. It is useful for mobile environments. thanks, Zaheer On Fri, Apr 9, 2010 at 5:15 PM, Maciej Stachowiak m...@apple.com wrote: On Apr 9, 2010, at 3:40 AM, Maciej Stachowiak wrote: On Apr 9, 2010, at 3:36 AM, Jeremy Orlow wrote:

Re: [webkit-dev] Regarding cache memory leaks

2010-10-18 Thread Zaheer Ahmad
On Wed, Oct 13, 2010 at 9:00 PM, sumanrap...@aim.com wrote: Hi Holger, When we use the default cache model i.e 8MB cache size in this case it is storing the images beyond the 8MB that is untill complete RAM memory. How much memory do you have on your system. AFAICT, webkit would need ~80M