Re: [webkit-dev] Regarding cache memory leaks

2010-10-18 Thread Zaheer Ahmad
On Wed, Oct 13, 2010 at 9:00 PM, 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 to work with m

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 wrote: > > On Apr 9, 2010, at 3:40 AM, Maciej Stachowiak wrote: > > > On Apr 9, 2010, at 3:36 AM, Jeremy Orlow wrote: > > >> I ho

Re: [webkit-dev] How to cancel a resource request

2009-10-23 Thread zaheer ahmad
hi, ResourceLoader has a cancel api. so i think you can do the following add addtl parameter to dispatchDidReceiveResponse to indicate if you should cancel the resp and do a loader->cancel() based on that. Thanks, Zaheer On Thu, Oct 22, 2009 at 1:48 PM, Jaroslav Gresula < jgresula.leave-this-...@

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 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 > diagram? > > I'm a litt

[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. http://w

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. >

Re: [webkit-dev] Regarding Resource Loader

2009-03-16 Thread zaheer ahmad
On Mon, Mar 16, 2009 at 1:17 PM, Nilesh Patil wrote: > HI Sri > > Thanks for reply. > Just wished to know about Shared ?? Many objects that are shared are not actually named Shared*. http://webkit.org/coding/RefPtr.html http://lists.macosforge.org/pipermail/webkit-dev/2005-November/000522.html

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 < purushottam.s

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 wrote: > >>

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 wrote: > Hi, > > I am new to Webkit and

[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 recent

Re: [webkit-dev] WAP browsing

2009-01-04 Thread zaheer ahmad
t; > 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. extendi

Re: [webkit-dev] WAP browsing

2009-01-01 Thread zaheer ahmad
6 schrieb 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] 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 webkit-dev@lists.w

[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 pr

[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 rdar

[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 oblivio

[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.

Re: [webkit-dev] Save Page - Ideas

2008-11-05 Thread zaheer ahmad
t the cost of little slower load time? thanks, Zaheer On Thu, Oct 30, 2008 at 10:17 PM, Darin Fisher <[EMAIL PROTECTED]> wrote: > > > On Thu, Oct 30, 2008 at 9:33 AM, David Kilzer <[EMAIL PROTECTED]> wrote: > >> On Thu, 10/30/08, zaheer ahmad <[EMAIL PRO

[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 t

[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 wh

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 disc

[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 i

Re: [webkit-dev] WebKit memory management?

2008-09-16 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 intend

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

2008-09-12 Thread zaheer ahmad
hi, attached updated leak data with up to three levels tracing. this is on r33943. appreciate any inputs on these leaks. thanks, Zaheer On Thu, Sep 11, 2008 at 9:58 PM, zaheer ahmad <[EMAIL PROTECTED]> wrote: > Thanks Marco for raising the bug. > here are some other leaks i observe

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

2008-09-11 Thread zaheer ahmad
::FontData const*, unsigned int)+80 : 50644 : 44 On Thu, Sep 11, 2008 at 4:39 PM, Marco Barisione < [EMAIL PROTECTED]> wrote: > Il giorno mer, 10/09/2008 alle 13.26 +0530, zaheer ahmad ha scritto: > > In the linux Gtk port, with Webkit revision 33493, i see that the > > reso

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

2008-09-10 Thread zaheer ahmad
e > handled in the event loop select. > > Curl needs 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, 20

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 browse

[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 and

Re: [webkit-dev] what triggers the expose event on gtk port

2008-06-26 Thread zaheer ahmad
hi, This happens when you call a gdk_window_invalidate_rect on the page window (webView->window). This api implies the window is dirtied and needs refresh for the specified rectangle area. you can check WebCore/platform/gtk/ScrollViewGtk.cpp update* which are called by the rendering engine. rega

[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

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 <[EM

[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

[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

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:

[webkit-dev] crash when loading certain pages

2008-05-07 Thread zaheer ahmad
hi, we are using webkit gtk version r31307. we are facing a random crash when opening certain sites like weather.com, the backtrace is as below #0 0x02043da8 in ?? () #1 0x40c8d36c in WebCore::SubresourceLoader::didReceiveResponse () from /usr/local/lib/libwebkit-1.0.so.1 #2 0x40c8a158 in WebCo

[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 o

[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@

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 (style-

Re: [webkit-dev] Incremental Layout

2008-02-13 Thread zaheer ahmad
hi, can somebody suggest websites where we can see a considerable difference using LOW_BANDWIDTH_DISPLAY or the FOUC problem. i dont seem to see the difference with most links i have tried. thanks in advance for your help. Regards, Zaheer On Feb 4, 2008 5:27 AM, Maciej Stachowiak <[EMAIL P

[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 bec

[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] 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 behav

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

2007-12-19 Thread zaheer ahmad
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

[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, Zaheer

[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 m

[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). curl_multi_remove_handle(m_curlMultiHand

[webkit-dev] opening local file returns failed read with gtk/curl

2007-12-16 Thread zaheer ahmad
hi, iam using gtk port of webkit (r26699). when i try to read a local file (file:///..) i get two response in downloadTimerCallback one with OK and other with error "couldn't read a file:// file" would like to know if this issue is seen before (search in webkit did not find one). Also any inputs

[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 helpfu

[webkit-dev] build qmake

2007-12-11 Thread zaheer ahmad
hi, i would like to know if separate source tree is available for qmake. currently we have to build the entire qt source to get to qmake which is unncessary for webkit. search on the web does not suggest there is one. thanks in advance for any inputs. thanks, Zaheer __

[webkit-dev] crash in gtk port

2007-12-04 Thread zaheer ahmad
hi, when opening irctc.org i see the following crash, updated 15408,Any inputs on if this is a curl issue or a webkit issue. thanks, Zaheer #0 0xb65c0e2d in multi_runsingle (multi=0x80c42f0, easy=0x81ff580) at multi.c:1266 dns = (struct Curl_dns_entry *) 0xb65c1364 connected =

[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_frame_set_s

[webkit-dev] webkit zoom patch in 14998

2007-11-27 Thread zaheer ahmad
hi, iam using the patch in 14998 and i see that under low zoom the image gets to the center of the screen instead of having it left aligned. would like to know if this is an intended functionality and if yes, if there is a way to align the image to the left. attached screenshot. Any help is greatl

[webkit-dev] plugins for webkit gtk port

2007-11-26 Thread zaheer ahmad
hi, Is there any implementation of video plugin (flash player, quicktime etc) in the gtk webkit port. thanks, Zaheer ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev

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

2007-11-23 Thread zaheer ahmad
Zaheer On Nov 23, 2007 1:42 PM, Alp Toker <[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 i

[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 we

[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, or

[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

[webkit-dev] Re: gtk port

2007-11-19 Thread zaheer ahmad
ker <[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 autotoo

[webkit-dev] crash in gtk port

2007-11-19 Thread zaheer ahmad
hi, i observe random crashes in the gtk port when rendering certain pages (rediff.com, cnn.com etc) and the backtrace points to the following The platform is a x86-scratchbox. could someone point me out possible rootcause thanks, Zaheer #0 0xb71a4c88 in WebCore::GlyphWidthMap::widthForGlyph () a

[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 (selectionContr

[webkit-dev] gtk port

2007-11-15 Thread zaheer ahmad
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 2- gtk port uses pango, but internationalization (e.g. opening arabic pages) does not seem to work. thanks in advance for any i

[webkit-dev] scrollbar callbacks

2007-10-28 Thread zaheer ahmad
hi, Iam using the gtk port of webkit and have a need to draw the scrollbar in the native (outside the webkit page), and to do this i would need to know the page size as its getting loaded. Are there any signals emitted for the same (could not find with the current impl) that can be used? Are there