<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Alp Toker</title>
	<atom:link href="http://www.atoker.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.atoker.com/blog</link>
	<description>There is a third way</description>
	<pubDate>Tue, 09 Sep 2008 23:20:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Skia graphics library in Chrome: First impressions</title>
		<link>http://www.atoker.com/blog/2008/09/06/skia-graphics-library-in-chrome-first-impressions/</link>
		<comments>http://www.atoker.com/blog/2008/09/06/skia-graphics-library-in-chrome-first-impressions/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 00:11:52 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/?p=117</guid>
		<description><![CDATA[With the release of the WebKit-based Chrome browser, Google also introduced a handful of new backends for the browser engine including a new HTTP stack and the Skia graphics library. Google&#8217;s Android WebKit code drops have previously featured Skia for rendering, though this is the first time the sources have been made freely available. The [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of the WebKit-based <a href="http://code.google.com/chromium/">Chrome browser</a>, Google also introduced a handful of new backends for the browser engine including a new HTTP stack and the <a href="http://src.chromium.org/viewvc/chrome/trunk/src/skia/">Skia graphics library</a>. Google&#8217;s <a href="http://code.google.com/p/android/downloads/list">Android WebKit code drops</a> have previously featured Skia for rendering, though this is the first time the sources have been made freely available. The code is apparently derived from Google&#8217;s <a href="http://www.dmwmedia.com/news/2007/01/04/google-owns-small-firm-in-north-carolina-could-expand-in-region">2005 acquisition</a> of North Carolina-based software firm Skia and is now provided under the Open Source <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.</p>
<p>Weighing in at some 80,000 lines of code (to Cairo&#8217;s 90,000 as a ballpark reference) and written in C++, some of the differentiating features include:</p>
<ul>
<li>Optimised software-based rasteriser (module <a href="http://src.chromium.org/viewvc/chrome/trunk/src/skia/sgl/">sgl/</a>)</li>
<li>Optional GL-based acceleration of certain graphics operations including shader support and textures (module <a href="http://src.chromium.org/viewvc/chrome/trunk/src/skia/gl/">gl/</a>)</li>
<li>Animation capabilities (module <a href="http://src.chromium.org/viewvc/chrome/trunk/src/skia/animator/">animator/</a>)</li>
<li>Some built-in SVG support (module (<a href="http://src.chromium.org/viewvc/chrome/trunk/src/skia/svg/">svg/</a>)</li>
<li>Built-in image decoders: PNG, JPEG, GIF, BMP, WBMP, ICO (modules <a href="http://src.chromium.org/viewvc/chrome/trunk/src/skia/images/">images/</a>)</li>
<li>Text capabilities (no built-in support for complex scripts)</li>
<li>Some awareness of higher-level UI toolkit constructs (platform windows, platform events): Mac, Unix (sic. X11, incomplete), Windows, wxwidgets</li>
<li>Performace features
<ul>
<li>Copy-on-write for images and certain other data types</li>
<li>Extensive use of the stack, both internally and for <a href="http://src.chromium.org/viewvc/chrome/trunk/src/skia/include/">API</a> consumers to avoid needless allocations and memory fragmentation</li>
<li>Thread-safety to enable parallelisation</li>
</ul>
</li>
</ul>
<p>The library is portable and has (optional) <a href="http://src.chromium.org/viewvc/chrome/trunk/src/skia/ports/">platform-specific backends</a>:</p>
<ul>
<li>Fonts: Android / <a href="http://openhandsetmagazine.com/2007/11/android-got-new-fonts-from-ascender/">Ascender</a>, FreeType, Windows (GDI)</li>
<li>Threading: pthread, Windows</li>
<li>XML: expat, tinyxml</li>
<li>Android shared memory (ashmem) for inter-process image data references</li>
</ul>
<h3>Hello world</h3>
<p>In this simple example we draw a few rectangles to a memory-based image buffer. This also demonstrates how one might integrate with the platform graphics system to get something on screen, though in this case we&#8217;re using Cairo to save the resulting image to disk:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp cpp" style="font-family:monospace;"><span style="color: #339900;">#include &quot;SkBitmap.h&quot;</span>
<span style="color: #339900;">#include &quot;SkDevice.h&quot;</span>
<span style="color: #339900;">#include &quot;SkPaint.h&quot;</span>
<span style="color: #339900;">#include &quot;SkRect.h&quot;</span>
<span style="color: #339900;">#include &lt;cairo.h&gt;</span>
&nbsp;
<span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
  SkBitmap bitmap;
  bitmap.<span style="color: #007788;">setConfig</span><span style="color: #008000;">&#40;</span>SkBitmap<span style="color: #008080;">::</span><span style="color: #007788;">kARGB_8888_Config</span>, <span style="color: #0000dd;">100</span>, <span style="color: #0000dd;">100</span><span style="color: #008000;">&#41;</span>;
  bitmap.<span style="color: #007788;">allocPixels</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>;
  SkDevice device<span style="color: #008000;">&#40;</span>bitmap<span style="color: #008000;">&#41;</span>;
  SkCanvas canvas<span style="color: #008000;">&#40;</span><span style="color: #000040;">&amp;</span>device<span style="color: #008000;">&#41;</span>;
  SkPaint paint;
  SkRect r;
&nbsp;
  paint.<span style="color: #007788;">setARGB</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">255</span>, <span style="color: #0000dd;">255</span>, <span style="color: #0000dd;">255</span>, <span style="color: #0000dd;">255</span><span style="color: #008000;">&#41;</span>;
  r.<span style="color: #007788;">set</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">10</span>, <span style="color: #0000dd;">10</span>, <span style="color: #0000dd;">20</span>, <span style="color: #0000dd;">20</span><span style="color: #008000;">&#41;</span>;
  canvas.<span style="color: #007788;">drawRect</span><span style="color: #008000;">&#40;</span>r, paint<span style="color: #008000;">&#41;</span>;
&nbsp;
  paint.<span style="color: #007788;">setARGB</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">255</span>, <span style="color: #0000dd;">255</span>, <span style="color:#800080;">0</span>, <span style="color:#800080;">0</span><span style="color: #008000;">&#41;</span>;
  r.<span style="color: #007788;">offset</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">5</span>, <span style="color: #0000dd;">5</span><span style="color: #008000;">&#41;</span>;
  canvas.<span style="color: #007788;">drawRect</span><span style="color: #008000;">&#40;</span>r, paint<span style="color: #008000;">&#41;</span>;
&nbsp;
  paint.<span style="color: #007788;">setARGB</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">255</span>, <span style="color:#800080;">0</span>, <span style="color:#800080;">0</span>, <span style="color: #0000dd;">255</span><span style="color: #008000;">&#41;</span>;
  r.<span style="color: #007788;">offset</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">5</span>, <span style="color: #0000dd;">5</span><span style="color: #008000;">&#41;</span>;
  canvas.<span style="color: #007788;">drawRect</span><span style="color: #008000;">&#40;</span>r, paint<span style="color: #008000;">&#41;</span>;
&nbsp;
  <span style="color: #008000;">&#123;</span>
    SkAutoLockPixels image_lock<span style="color: #008000;">&#40;</span>bitmap<span style="color: #008000;">&#41;</span>;
    cairo_surface_t<span style="color: #000040;">*</span> surface <span style="color: #000080;">=</span> cairo_image_surface_create_for_data<span style="color: #008000;">&#40;</span>
        <span style="color: #008000;">&#40;</span><span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">char</span><span style="color: #000040;">*</span><span style="color: #008000;">&#41;</span>bitmap.<span style="color: #007788;">getPixels</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, CAIRO_FORMAT_ARGB32,
        bitmap.<span style="color: #007788;">width</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, bitmap.<span style="color: #007788;">height</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, bitmap.<span style="color: #007788;">rowBytes</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>;
    cairo_surface_write_to_png<span style="color: #008000;">&#40;</span>surface, <span style="color: #FF0000;">&quot;snapshot.png&quot;</span><span style="color: #008000;">&#41;</span>;
    cairo_surface_destroy<span style="color: #008000;">&#40;</span>surface<span style="color: #008000;">&#41;</span>;
  <span style="color: #008000;">&#125;</span>
&nbsp;
  <span style="color: #0000ff;">return</span> <span style="color:#800080;">0</span>;
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>You can build this example for yourself linking statically to the libskia.a object file generated during the Chrome build process on Linux.</p>
<h3>Not just for Chrome</h3>
<p>The <a href="http://src.chromium.org/viewvc/chrome/trunk/src/webkit/port/platform/graphics/">Skia backend in WebKit</a>, the first parts of which are already hitting SVN (<a href="http://trac.webkit.org/changeset/35852">r35852</a>, <a href="http://trac.webkit.org/changeset/36074">r36074</a>) isn&#8217;t limited to use in the Chrome/Windows configuration and some work has already been done to get it up and running on Linux/GTK+ as part of the ongoing porting effort.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/09/06/skia-graphics-library-in-chrome-first-impressions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WebKit Meta: A new standard for in-game web content</title>
		<link>http://www.atoker.com/blog/2008/06/12/webkit-meta-a-new-standard-for-in-game-web-content/</link>
		<comments>http://www.atoker.com/blog/2008/06/12/webkit-meta-a-new-standard-for-in-game-web-content/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 09:35:20 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[Nuanti]]></category>

		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/?p=111</guid>
		<description><![CDATA[
Over the last few months, our browser team at Nuanti Ltd. has been developing Meta, a brand new WebKit port suited to embedding in OpenGL and 3D applications. The work is being driven by Linden Lab, who are eagerly investigating WebKit for use in Second Life.
While producing Meta we&#8217;ve paid great attention to resolving the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://meta.nuanti.com"><img class="alignnone size-full wp-image-113" title="meta" src="http://www.atoker.com/blog/wp-content/uploads/2008/06/meta.png" border="0" alt="" width="150" height="42" /></a></p>
<p>Over the last few months, our browser team at <a href="http://www.nuanti.com/">Nuanti Ltd.</a> has been developing <em>Meta</em>, a brand new <a href="http://webkit.org/">WebKit</a> port suited to embedding in OpenGL and 3D applications. The work is being driven by <a href="http://lindenlab.com/">Linden Lab</a>, who are eagerly investigating WebKit for use in <a href="http://secondlife.com/">Second Life</a>.</p>
<p>While producing <em>Meta</em> we&#8217;ve paid great attention to resolving the technical and practical limitations encountered with other web content engines.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-116" title="ubrowser-webkit" src="http://www.atoker.com/blog/wp-content/uploads/2008/06/ubrowser-webkit.jpg" alt="" width="450" height="304" /><br />
<small><a href="http://ubrowser.com/">uBrowser</a> running with the WebKit <em>Meta</em> engine</small></p>
<h3>High performance, low resource usage</h3>
<p><img class="size-full wp-image-114 alignright" style="float: right;" title="squirrelfish" src="http://www.atoker.com/blog/wp-content/uploads/2008/06/squirrelfish.png" alt="" width="108" height="68" /><em>Meta</em> is built around WebKit, the same engine used in web browsers like <a href="http://www.apple.com/safari/">Safari</a> and <a href="http://live.gnome.org/Epiphany/WebKit">Epiphany</a>, and features some of the fastest content rendering around as well as nippy JavaScript execution with the state of the art <a href="http://webkit.org/blog/189/announcing-squirrelfish/">SquirrelFish VM</a>. The JavaScript SDK is available independently of the web renderer for sandboxed client-side game scripting and automation.</p>
<p>It&#8217;s also highly scalable. Some applications may need only a single browser context but virtual worlds often need to support hundreds of web views or more, each with active content. To optimize for this use case, we&#8217;ve cut down resource usage to an absolute minimum and tuned performance across the board.</p>
<h3>Stable, easy to use cross-platform SDK</h3>
<p><em>Meta</em> features a single, rock-solid API that works identically on all supported platforms including Windows, OS X and Linux. The SDK is tailored specifically to embedding and allows tight integration (shared main loop or operation in a separate rendering thread, for example) and hooks to permit seamless visual integration and extension. There is no global setup or initialization and the number of views can be adjusted dynamically to meet resource constraints.</p>
<h3>Minimal dependencies</h3>
<p><em>Meta</em> doesn&#8217;t need to use a conventional UI toolkit and doesn&#8217;t need any access to the underlying windowing system or the user&#8217;s filesystem to do its job, so we&#8217;ve done away with these concepts almost entirely. It adds only a few megabytes to the overall redistributable application&#8217;s installed footprint and won&#8217;t interfere with any pre-installed web browsers on the user&#8217;s machine.</p>
<h3>Open Source, no licensing fees</h3>
<p>In the short term, we&#8217;ll be maintaining <em>Meta</em> in a public branch and putting out SDK builds, demo applications and developer documentation. Nuanti will be offering commercial and community support and is anticipating involvement from the gaming industry and homebrew programmers.</p>
<p>In the mid term, we&#8217;ll submit <em>Meta</em> as an official component of the WebKit Open Source project, where our developers are already actively involved in maintaining various subsystems.</p>
<h3>Find out more</h3>
<p>Today we&#8217;re launching <a href="http://meta.nuanti.com">meta.nuanti.com</a> and two mailing lists to get developers talking. We&#8217;re looking to make this site a focal point for embedders, choc-full of technical details, code samples and other resources.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/06/12/webkit-meta-a-new-standard-for-in-game-web-content/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Acid3 final touches</title>
		<link>http://www.atoker.com/blog/2008/04/21/acid3-final-touches/</link>
		<comments>http://www.atoker.com/blog/2008/04/21/acid3-final-touches/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 02:38:37 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[GNOME]]></category>

		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/?p=109</guid>
		<description><![CDATA[Recently we&#8217;ve been working to finish off and land the last couple of fixes to get a perfect pixel-for-pixel match against the reference Acid3 rendering in WebKit/GTK+. I believe we&#8217;re the first project to achieve this on Linux &#8212; congratulations to everyone on the team!

Epiphany using WebKit r32284
We also recently announced our plans to align [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we&#8217;ve been working to finish off and land the <a href="http://www.atoker.com/blog/2008/03/27/webkit-gets-100-on-acid3/">last couple of fixes</a> to get a perfect pixel-for-pixel match against the reference <a href="http://acid3.acidtests.org/">Acid3</a> rendering in <a href="http://live.gnome.org/WebKitGtk">WebKit/GTK+</a>. I believe we&#8217;re the first project to achieve this on Linux &#8212; congratulations to everyone on the team!</p>
<p><a href="http://www.atoker.com/blog/wp-content/uploads/2008/04/acid3-shadow.png"><img class="alignnone size-medium wp-image-110" title="acid3-shadow" src="http://www.atoker.com/blog/wp-content/uploads/2008/04/acid3-shadow-300x266.png" border="0" alt="" width="300" height="266" /><br />
Epiphany using WebKit r32284</a></p>
<p>We also recently announced <a href="http://mail.gnome.org/archives/desktop-devel-list/2008-April/msg00134.html">our plans</a> to align more closely with the <a href="http://www.gnome.org/">GNOME desktop</a> and <a href="http://www.gnome.org/mobile/">mobile platform</a>. To this end we&#8217;re making a few technology and organisational changes that I hope to discuss in an upcoming post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/04/21/acid3-final-touches/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Summer of Code projects for browser hackers</title>
		<link>http://www.atoker.com/blog/2008/04/06/summer-of-code-projects-for-browser-hackers/</link>
		<comments>http://www.atoker.com/blog/2008/04/06/summer-of-code-projects-for-browser-hackers/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 20:40:39 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[GNOME]]></category>

		<category><![CDATA[Mono]]></category>

		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/2008/04/06/summer-of-code-projects-for-browser-hackers/</guid>
		<description><![CDATA[With the revised deadline for Google Summer of Code &#8216;08 student applications looming, we&#8217;ve been getting a lot of interest in browser-related student projects. I&#8217;ve put together a list of some of my favourite ideas.

GNOME ideas

Epiphany

Desktop integration
Bookmark and history integration
JavaScript debugger based on Drosera / Web Inspector


Evolution

Bug tracking aid


Empathy

WebKit Adium theme support


Desktop widgets
Integrated web app [...]]]></description>
			<content:encoded><![CDATA[<p>With the revised deadline for <a href="http://code.google.com/soc/2008/">Google Summer of Code &#8216;08</a> student applications looming, we&#8217;ve been getting a lot of interest in browser-related student projects. I&#8217;ve put together a list of some of my favourite ideas.</p>
<ul>
<li><a href="http://live.gnome.org/SummerOfCode2008/Ideas">GNOME ideas</a>
<ul>
<li>Epiphany
<ul>
<li>Desktop integration</li>
<li><a href="http://live.gnome.org/SummerOfCode2008/Ideas/CompleteBookmarkHistoryIntegration">Bookmark and history integration</a></li>
<li>JavaScript debugger based on Drosera / Web Inspector</li>
</ul>
</li>
<li>Evolution
<ul>
<li>Bug tracking aid</li>
</ul>
</li>
<li><a href="http://live.gnome.org/Empathy/SoC2008">Empathy</a>
<ul>
<li>WebKit Adium theme support</li>
</ul>
</li>
<li>Desktop widgets</li>
<li>Integrated web app launcher</li>
</ul>
</li>
<li><a href="http://trac.webkit.org/projects/webkit/wiki/Google%20Summer%20of%20Code%202008">WebKit ideas</a>
<ul>
<li>Cairo SVG backend completion</li>
<li>GTK+ port test suite completion</li>
</ul>
</li>
<li><a href="http://www.mono-project.com/StudentProjects">Mono ideas</a>
<ul>
<li>WebKit-based HTML editor</li>
</ul>
</li>
</ul>
<p>If in doubt, <em>now&#8217;s the time</em> to submit proposals. Already-listed ideas are the most likely to get mentored but students are free to propose their own ideas as well. Proposals for incremental improvements will tend to be favoured over ideas for completely new applications, but a proof of concept and/or roadmap can help when submitting plans for larger projects.</p>
<p><strong>Update:</strong> There&#8217;s no need to keep asking about the status of an application on IRC/private mail etc. It&#8217;s a busy time for the upstream developers but they&#8217;ll get back in touch as soon as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/04/06/summer-of-code-projects-for-browser-hackers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WebKit gets 100% on Acid3</title>
		<link>http://www.atoker.com/blog/2008/03/27/webkit-gets-100-on-acid3/</link>
		<comments>http://www.atoker.com/blog/2008/03/27/webkit-gets-100-on-acid3/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 21:06:56 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[GNOME]]></category>

		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/2008/03/27/webkit-gets-100-on-acid3/</guid>
		<description><![CDATA[Today we reached a milestone with WebKit/GTK+ as it became the first browser engine on Linux/X11 to get a full score on Acid3, shortly after the Acid3 pass by WebKit for Safari/Mac.

Epiphany using WebKit r31371
There is actually still a little work to be done before we can claim a flawless Acid3 pass. Two of the [...]]]></description>
			<content:encoded><![CDATA[<p>Today we reached a milestone with <a href="http://live.gnome.org/WebKitGtk">WebKit/GTK+</a> as it became the first browser engine on Linux/X11 to get a full score on <a href="http://www.webstandards.org/action/acid3/">Acid3</a>, shortly after the <a href="http://webkit.org/blog/173/webkit-achieves-acid3-100100-in-public-build/">Acid3 pass by WebKit for Safari/Mac</a>.</p>
<p><a title="WebKit Acid3" href="http://www.atoker.com/blog/wp-content/uploads/2008/03/webkitacid3shad.png"><img src="http://www.atoker.com/blog/wp-content/uploads/2008/03/webkitacid3shadsmall.png" border="0" alt="Acid3" /></a><br />
<strong>Epiphany using WebKit r31371</strong></p>
<p>There is actually still a little work to be done before we can claim a flawless Acid3 pass. Two of the most visible remaining issues in the GTK+ port are <tt>:visited</tt> (causing the &#8220;LINKTEST FAILED&#8221; notice in the screenshot) and the lack of CSS text shadow support in the Cairo/text backend which is needed to match the reference rendering.</p>
<p>It&#8217;s amazing to see how far we&#8217;ve come in the last few months, and great to see the WebKit GTK+ team now playing an active role in the direction of WebCore as WebKit continues to build momentum amongst developers.</p>
<p><strong>Update:</strong> We now also <a href="http://www.atoker.com/blog/2008/04/21/acid3-final-touches/">match the reference rendering</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/03/27/webkit-gets-100-on-acid3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bossa Conf &#8216;08</title>
		<link>http://www.atoker.com/blog/2008/03/15/bossa-conf-08/</link>
		<comments>http://www.atoker.com/blog/2008/03/15/bossa-conf-08/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 03:29:08 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[GNOME]]></category>

		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/2008/03/15/bossa-conf-08/</guid>
		<description><![CDATA[Am here in the LHR lounge. In a couple of hours, we take off for the INdT Bossa Conference, Pernambuco, Brazil via Lisbon. Bumped in to Pippin who will be presenting Clutter. Also looking forward to Lennart&#8217;s PulseAudio talk amongst others.
If you happen to be going, drop by on my WebKit Mobile presentation, 14:00 Room [...]]]></description>
			<content:encoded><![CDATA[<p>Am here in the <a href="http://www.heathrowairport.com/">LHR</a> lounge. In a couple of hours, we take off for the <a href="http://www.bossaconference.indt.org/">INdT Bossa Conference</a>, Pernambuco, Brazil via Lisbon. Bumped in to <a href="http://pippin.gimp.org/">Pippin</a> who will be presenting <a href="http://clutter-project.org/">Clutter</a>. Also looking forward to <a href="http://0pointer.de/lennart/">Lennart</a>&#8217;s PulseAudio talk amongst others.</p>
<p>If you happen to be going, drop by on my <em>WebKit Mobile</em> presentation, 14:00 Room 01 this Monday. We have a small surprise waiting for Maemo developers.</p>
<p><img src="http://www.atoker.com/blog/wp-content/uploads/2008/03/webkitmobile.png" alt="WebKit Mobile" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/03/15/bossa-conf-08/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Back from the GTK+ Berlin Hackfest 2008</title>
		<link>http://www.atoker.com/blog/2008/03/15/back-from-the-gtk-berlin-hackfest-2008/</link>
		<comments>http://www.atoker.com/blog/2008/03/15/back-from-the-gtk-berlin-hackfest-2008/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 03:27:12 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[GNOME]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/2008/03/15/back-from-the-gtk-berlin-hackfest-2008/</guid>
		<description><![CDATA[There was an incredible amount of productive hacking and discussion at the hackfest, covering the lower parts of the stack like Cairo and Pango as well as the GTK+ core and related work like toolkit web integration.
Until I get round to writing things up, I refer you to Emmannuele&#8217;s posts. He summarises some of the [...]]]></description>
			<content:encoded><![CDATA[<p>There was an incredible amount of productive hacking and discussion at the <a href="http://live.gnome.org/GTK%2B/Hackfest2008">hackfest</a>, covering the lower parts of the stack like Cairo and Pango as well as the GTK+ core and related work like toolkit web integration.</p>
<p>Until I get round to writing things up, I refer you to <a href="http://log.emmanuelebassi.net/">Emmannuele</a>&#8217;s posts. He summarises some of the <a href="http://log.emmanuelebassi.net/archives/2008/03/berlin5/">graphics topics</a> that came up and I would echo <a href="http://log.emmanuelebassi.net/archives/2008/03/berlinfinal/">his sentiments</a> about what a well organised, fun and <em>dynamic</em> event this was.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/03/15/back-from-the-gtk-berlin-hackfest-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Developing hybrid Web GTK+ applications</title>
		<link>http://www.atoker.com/blog/2008/02/26/developing-hybrid-web-gtk-applications/</link>
		<comments>http://www.atoker.com/blog/2008/02/26/developing-hybrid-web-gtk-applications/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 18:07:56 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[GNOME]]></category>

		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/2008/02/26/developing-hybrid-web-gtk-applications/</guid>
		<description><![CDATA[I&#8217;ve put up the slides from my FOSDEM &#8216;08 talk on developing Web/GTK+ rich internet applications with WebKit and deploying them on the desktop and on mobile devices. If you were simply too hung over from the night before to get to the morning session or couldn&#8217;t make FOSDEM, be sure to check it out.

View [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve put up the slides from my <a href="http://www.atoker.com/blog/2008/02/18/gtk-webkit-session-at-fosdem-2008/">FOSDEM &#8216;08 talk</a> on developing Web/GTK+ rich internet applications with WebKit and deploying them on the desktop and on mobile devices. If you were simply too hung over from the night before to get to the morning session or couldn&#8217;t make FOSDEM, be sure to check it out.</p>
<p><a href="http://www.atoker.com/webkit/webkitgtk-fosdem08.pdf"><img src="http://www.atoker.com/blog/wp-content/uploads/2008/02/webgtkcover.png" alt="WebKit GTK+ cover slide" border="0" /></a><br />
<a href="http://www.atoker.com/webkit/webkitgtk-fosdem08.pdf">View slides (PDF format) </a></p>
<h3>Demo sources</h3>
<ul>
<li><a href="http://www.ndesk.org/tmp/mc.c">Hosting a Dashboard widget</a>
<ul>
<li>Simple example without JS integration</li>
</ul>
</li>
</ul>
<p>(Will update this post with more demo code over the next few days.)</p>
<h3>Citations</h3>
<ul>
<li><strong>Slide 20:</strong>  <span class="subject"><em><a href="http://donscorgie.livejournal.com/12716.html">All the cool kids are doing it</a></em> (February 3rd, 2008) &#8212; donscorgie.livejournal.com<br />
</span></li>
<li><strong>Slide 30:</strong> <em><a href="http://www.j5live.com/2007/08/02/webkit-and-xulrunner-mozilla-side-by-side-on-the-xo/">WebKit and XULRunner (Mozilla) side by side on the XO</a></em> (<span class="subject">August 2nd, 2007) &#8212; </span>j5live.com</li>
<li><strong>Slide 32:</strong> <a href="http://trac.webkit.org/projects/webkit/wiki/OptimizingGtk">WebKit testing methodology</a> for reproducible mobile benchmark performance results</li>
<li>WebKit/GTK+ <a href="http://live.gnome.org/WebKitGtk">build instructions</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/02/26/developing-hybrid-web-gtk-applications/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GTK+ WebKit session at FOSDEM 2008</title>
		<link>http://www.atoker.com/blog/2008/02/18/gtk-webkit-session-at-fosdem-2008/</link>
		<comments>http://www.atoker.com/blog/2008/02/18/gtk-webkit-session-at-fosdem-2008/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 05:26:48 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[GNOME]]></category>

		<category><![CDATA[Maemo]]></category>

		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/2008/02/18/gtk-webkit-session-at-fosdem-2008/</guid>
		<description><![CDATA[If you&#8217;re attending FOSDEM (Brussels) next weekend, come along to my GNOME devroom talk on Web integration:
&#8220;WebKit/GTK+ is a brand new port of the WebKit content engine providing standards compliance, high performance and seamless integration with the GTK+ stack. I&#8217;ll be demonstrating some of the latest features and taking a look at the ways developers [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re attending <a href="http://www.fosdem.org/2008/">FOSDEM</a> (Brussels) next weekend, come along to my GNOME devroom talk on Web integration:</p>
<p>&#8220;WebKit/GTK+ is a brand new port of the WebKit content engine providing standards compliance, high performance and seamless integration with the GTK+ stack. I&#8217;ll be demonstrating some of the latest features and taking a look at the ways developers can adopt the WebView API and apply <strong>HTML5</strong>, <strong>CSS</strong>, <strong>SVG</strong>, <strong>canvas</strong> and <strong>AJAX</strong> to create <strong>location-aware</strong> hybrid Web/GTK+ <em>rich internet applications</em>.&#8221;</p>
<p><strong>Update:</strong> You can now get the <a href="http://www.atoker.com/blog/2008/02/26/developing-hybrid-web-gtk-applications/">slides from the talk</a>.</p>
<h3>What?</h3>
<p>The talk will be short and light (only a 1/2 hour session) but I&#8217;ll be around all weekend so feel free to touch base if you have more questions or ideas. This session will target:</p>
<ul>
<li>GTK+ developers</li>
<li>Web designers</li>
<li>Anyone looking to deploy online and offline Web applications
<ul>
<li>on the desktop</li>
<li>on mobile devices</li>
</ul>
</li>
</ul>
<h3>When?</h3>
<p><strong>11:15 - 12:15, Sunday</strong>, February 24, 2008</p>
<h3>Where?</h3>
<p>FOSDEM <a href="http://live.gnome.org/Brussels2008/Devroom">GNOME/Cross-desktop Developer Room</a>, <strong>H.1301</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/02/18/gtk-webkit-session-at-fosdem-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WebKit for Windows gets Cairo support</title>
		<link>http://www.atoker.com/blog/2008/02/10/webkit-for-windows-gets-cairo-support/</link>
		<comments>http://www.atoker.com/blog/2008/02/10/webkit-for-windows-gets-cairo-support/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 08:47:30 +0000</pubDate>
		<dc:creator>alp</dc:creator>
		
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.atoker.com/blog/2008/02/10/webkit-for-windows-gets-cairo-support/</guid>
		<description><![CDATA[Brent Fulgham, whose work I&#8217;ve already mentioned now has the WebKit/Cairo Windows port up and running.
This is the &#8220;native Windows port&#8221; a lot of people have been waiting for (though it&#8217;s technically no more or less native than Safari&#8217;s WebKit).

The taxonomy of the new port places it very close to Apple&#8217;s WebKit for Windows, which [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lwat.blogspot.com/">Brent Fulgham</a>, whose work I&#8217;ve already mentioned now has the <a href="http://lwat.blogspot.com/2008/02/webkit-on-windows.html">WebKit/Cairo Windows port up</a> and <a href="http://lwat.blogspot.com/2008/02/svg-works-pretty-well.html">running</a>.</p>
<p>This is the &#8220;native Windows port&#8221; a lot of people have been waiting for (though it&#8217;s technically no more or less native than Safari&#8217;s WebKit).</p>
<p><a href="http://www.atoker.com/blog/wp-content/uploads/2008/02/wkwin1.png" title="WebKit/Cairo on Windows"><img src="http://www.atoker.com/blog/wp-content/uploads/2008/02/wkwin1.thumbnail.png" alt="WebKit/Cairo on Windows" border="0" /></a></p>
<p>The taxonomy of the new port places it very close to Apple&#8217;s WebKit for Windows, which will remain the default build configuration. Both share the same foundation libraries, networking stack and build system.</p>
<p>The only difference is that the proprietary, non-redistributable CoreGraphics has been conditionally replaced (<strike><a href="http://bugs.webkit.org/show_bug.cgi?id=16979">#16979</a></strike>)  with the Cairo-based graphics backend developed and maintained by the <a href="http://live.gnome.org/WebKitGtk">WebKit GTK+</a> team. This conveniently lets us maintain the new code as an officially supported sub-port of WebKit without much additional infrastructure.</p>
<p>The result will be a WebKit Windows build that&#8217;s open and <em>freely re-distributable</em> for use in Open Source and proprietary/commercial applications (as long as any modifications to WebKit are made available), not just Safari.</p>
<p>This serves as validation of WebKit&#8217;s new porting layer, the modularity of the Windows port (Adam Roben and the Win team, you rock!<a href="http://bugs.webkit.org/show_bug.cgi?id=16979"></a>) and the Cairo graphics backend.</p>
<p>Some technical details:</p>
<ul>
<li>Provides C++ and COM APIs including a full COM DOM binding. The interfaces aren&#8217;t yet final and are expected change.</li>
<li>The Cairo backend will be used for on-screen rendering as well as printing, including native PDF output.</li>
<li>Cairo is used for rendering all content including HTML, canvas and SVG.</li>
<li>Will continue to use Apple&#8217;s Open Source CF and CFNetwork libraries for other functionality.</li>
<li>The CF/CFNetwork libraries will need to be re-built from the available <a href="http://en.wikipedia.org/wiki/Apple_Public_Source_License">APSL 2.0</a> source releases. There may be small differences from the Safari binaries that need to be taken into account.</li>
<li>Still needs work on basics like text rendering and build system integration. Patches welcome. Nothing available for end users yet.</li>
</ul>
<p>For WebKit/GTK+ fans, the good news is that this work should help bring more developers and testers to the shared Cairo graphics backend. Everyone wins!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atoker.com/blog/2008/02/10/webkit-for-windows-gets-cairo-support/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
