Analytics

Sunday, July 01, 2007

WebKit progress

Today and most of the previous night was spent hacking on WebKit. The result is GdkLauncher can load google.com without valgrind complaining. It needed a couple of hours to finally get the relation between FontCache, FontData and FontPlatformData, fixing values that get stuffed into a hash function to make thousands of valgrind errors go away Fixing a couple of other minor uninitialized variables. A fraction of time was spent to make RenderThemeGdk (read this d as t) use native controls. I think I follow the same approach as mozilla, I had a quick look at their source. As I have copied no code I think it is okay not to copy the moz license header to the file. The result can be seen below.


Now CURL is high on the todolist and going back to fixing GtkLayout for staticbackground and API is on the todolist. For CURL it is a matter of improving throughput, parsing the HTTP header and setting the HTTP Header (Cookies, POST). Also redirects, etc. are to be implemented for curl. For GtkLayout I need to somehow invalidate the region before gdk_window_move is called in the Closure connected to the adjustment_changed signal to avoid the visual appearance of flickering. Well and the API is a complete other topic as this will force us to think about clipping, sharing one cairo_t* between Frames, recreating the FrameView on demand... there is a lot of todo but the port is promosing and in good shape.
Alp Tolker has battled cairo, we have clipping issues fixed, we can render SVG, the canvas element is going to be implemented as well.



webkit_gdk_native

14 comments:

Anonymous said...

great progress - it can render my corporate logo briefly before crashing at libfontconfig.so.1 0x00002b1138372b3a in WebCore::FontPlatformData::isFixedPitch..

why is CURL needed - seeing as the browser can already load pages, and even do XHR. just to rip out some nasty hardcoded socket code?

zecke said...

Well curl is needed to load pages using a protocol called HTTP. It is already doing that inside WebKit but it has some limitations that deserve fixing.

zecke said...

Make sure to apply the FontData Gdk patch from bugs.webkit.org and if it is still crashing please file a bug report with at least the backtrace and if valgrind works on AMD64 with valgrind output as well.

OnlinePharmacy said...

AEbPJ2 Your blog is great. Articles is interesting!

extra cheap phentermine said...

1lwCK5 Thanks to author.

meridia airlines said...

Hello all!

comforters hotel and motel said...

Thanks to author.

name said...

Good job!

charleston sc plantation tour said...

Wonderful blog.

color purple tour dates said...

actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

expert pharmacy said...

Wonderful blog.

ringtones said...

Nice Article.

said...

Please write anything else!

order cialis online said...

RQtryA Please write anything else!