<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>WebKit2 on mariospr.org</title><link>https://mariospr.org/category/webkit2/</link><description>Recent content in WebKit2 on mariospr.org</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 30 Sep 2016 19:10:56 +0000</lastBuildDate><atom:link href="https://mariospr.org/category/webkit2/index.xml" rel="self" type="application/rss+xml"/><item><title>Cross-compiling WebKit2GTK+ for ARM</title><link>https://mariospr.org/2016/09/30/cross-compiling-webkit2gtk-for-arm/</link><pubDate>Fri, 30 Sep 2016 19:10:56 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=2194</guid><description>&lt;p&gt;I haven&amp;rsquo;t blogged in a while -mostly due to lack of time, as usual- but I thought I&amp;rsquo;d write something today to let the world know about one of the things I&amp;rsquo;ve worked on a bit during this week, while remotely attending the &lt;a href="http://webengineshackfest.org/"&gt;Web Engines Hackfest&lt;/a&gt; from home:&lt;/p&gt;
&lt;p style="text-align: left;"&gt;&lt;strong&gt;Setting up an environment for cross-compiling &lt;a href="https://webkitgtk.org/"&gt;WebKit2GTK+&lt;/a&gt; for ARM&lt;/strong&gt;&lt;/p&gt;
I know this is not new, nor ground-breaking news, but the truth is that I could not find any up-to-date documentation on the topic in a any public forum (the only one I found was this &lt;a href="http://webkit.sed.hu/blog/20100419/webkitgtk-cross-compilation-arm"&gt;pretty old post from the time WebKitGTK+ used autotools&lt;/a&gt;), so I thought I would devote some time to it now, so that I could save more in the future.
&lt;p&gt;Of course, I know for a fact that many people use local recipes to cross-compile WebKit2GTK+ for ARM (or simply build in the target machine, which usually takes a looong time), but those are usually ad-hoc things and hard to reproduce environments locally (or at least hard for me) and, even worse, often bound to downstream projects, so I thought it would be nice to try to have something tested with upstream WebKit2GTK+ and publish it on &lt;a href="https://trac.webkit.org"&gt;trac.webkit.org&lt;/a&gt;,&lt;/p&gt;</description><content:encoded><![CDATA[<p>I haven&rsquo;t blogged in a while -mostly due to lack of time, as usual- but I thought I&rsquo;d write something today to let the world know about one of the things I&rsquo;ve worked on a bit during this week, while remotely attending the <a href="http://webengineshackfest.org/">Web Engines Hackfest</a> from home:</p>
<p style="text-align: left;"><strong>Setting up an environment for cross-compiling <a href="https://webkitgtk.org/">WebKit2GTK+</a> for ARM</strong></p>
I know this is not new, nor ground-breaking news, but the truth is that I could not find any up-to-date documentation on the topic in a any public forum (the only one I found was this <a href="http://webkit.sed.hu/blog/20100419/webkitgtk-cross-compilation-arm">pretty old post from the time WebKitGTK+ used autotools</a>), so I thought I would devote some time to it now, so that I could save more in the future.
<p>Of course, I know for a fact that many people use local recipes to cross-compile WebKit2GTK+ for ARM (or simply build in the target machine, which usually takes a looong time), but those are usually ad-hoc things and hard to reproduce environments locally (or at least hard for me) and, even worse, often bound to downstream projects, so I thought it would be nice to try to have something tested with upstream WebKit2GTK+ and publish it on <a href="https://trac.webkit.org">trac.webkit.org</a>,</p>
<p>So I spent some time working on this with the idea of producing some <a href="https://github.com/mariospr/webkit2gtk-ARM/blob/master/README.md">step-by-step instructions</a> including how to create a reproducible environment from scratch and, after some inefficient flirting with a VM-based approach (which <a href="https://github.com/mariospr/webkit2gtk-ARM/commit/94d035491c3edb0cb96c0300f3910915768edcf7">turned out to be insanely slow</a>), I finally settled on creating a chroot + provisioning it with a simple <a href="https://github.com/mariospr/webkit2gtk-ARM/blob/master/bootstrap.sh">bootstrap scrip</a>t + using a simple <a href="https://cmake.org/cmake/help/v3.6/manual/cmake-toolchains.7.html#cross-compiling-for-linux">CMake Toolchain file</a>, and that worked quite well for me.</p>
<p>In my fast desktop machine I can now get a full build of WebKit2GTK+ 2.14 (or trunk) in less than 1 hour, which is pretty much a productivity bump if you compare it to the approximately 18h that takes if I build it natively in the target ARM device I have :-)</p>
<p>Of course, I&rsquo;ve <a href="https://trac.webkit.org/wiki/BuildingGtk#CrossCompilingforARMdevices">referenced this documentation in trac.webkit.org</a>, but if you want to skip that and go directly to it, I&rsquo;m hosting it in a git repository here: <a href="https://github.com/mariospr/webkit2gtk-ARM">github.com/mariospr/webkit2gtk-ARM</a>.</p>
<p>Note that I&rsquo;m not a CMake expert (nor even close) so the toolchain file is far from perfect, but it definitely does the job with both the 2.12.x and 2.14.x releases as well as with the trunk, so hopefully it will be useful as well for someone else out there.</p>
<p>Last, I want to thanks the <a href="http://www.webengineshackfest.org/#sponsors">organizers of this event</a> for making it possible once again (and congrats to <a href="https://www.igalia.com">Igalia</a>, which <a href="https://www.igalia.com/nc/igalia-247/news/item/igalia-celebrates-our-15th-anniversary/">just turned 15 years old</a>!) as well as to <a href="https://endlessm.com">my employer</a> for supporting me attending the hackfest, even if I could not make it in person this time.</p>
<p><a href="https://endlessm.com/"><img class="aligncenter size-large wp-image-2195" src="/wp-content/uploads/2016/09/Endless_horizontal_2colors-600x92.png" alt="Endless Logo" width="584" height="90" /></a></p>
]]></content:encoded></item><item><title>Attending the Web Engines Hackfest</title><link>https://mariospr.org/2015/11/26/attending-the-web-engines-hackfest/</link><pubDate>Thu, 26 Nov 2015 13:29:55 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=2082</guid><description>&lt;p&gt;&lt;a href="http://webkitgtk.org/"&gt;&lt;img class=" wp-image-2084 size-large aligncenter" src="https://mariospr.org/wp-content/uploads/2015/11/webkitgtk-hackfest-banner-600x150.jpg" alt="webkitgtk-hackfest-banner" width="584" height="146" /&gt;&lt;/a&gt;It&amp;rsquo;s certainly been a while since &lt;a href="https://mariospr.org/2013/12/13/webkitgtk-hackfest-2013-the-return-of-the-thing/"&gt;I attended this event for the last time&lt;/a&gt;, 2 years ago, when it was a&lt;a href="http://webkitgtk.org/"&gt; WebKitGTK+&lt;/a&gt; only oriented hackfest, so I guess it was a matter of time it happened again&amp;hellip;&lt;/p&gt;
&lt;p&gt;It will be different for me this time, though, as now my main focus won&amp;rsquo;t be on accessibility (yet I&amp;rsquo;m happy to help with that, too), but on fixing a few issues related to the &lt;a href="http://webkitgtk.org/reference/webkit2gtk/stable/index.html"&gt;WebKit2GTK+ API&lt;/a&gt; layer that I found while working on our platform (&lt;a href="https://endlessm.com/developer/#row-1"&gt;Endless OS&lt;/a&gt;), mostly related to its implementation of accelerated compositing.&lt;/p&gt;</description><content:encoded><![CDATA[<p><a href="http://webkitgtk.org/"><img class=" wp-image-2084 size-large aligncenter" src="/wp-content/uploads/2015/11/webkitgtk-hackfest-banner-600x150.jpg" alt="webkitgtk-hackfest-banner" width="584" height="146" /></a>It&rsquo;s certainly been a while since <a href="/2013/12/13/webkitgtk-hackfest-2013-the-return-of-the-thing/">I attended this event for the last time</a>, 2 years ago, when it was a<a href="http://webkitgtk.org/"> WebKitGTK+</a> only oriented hackfest, so I guess it was a matter of time it happened again&hellip;</p>
<p>It will be different for me this time, though, as now my main focus won&rsquo;t be on accessibility (yet I&rsquo;m happy to help with that, too), but on fixing a few issues related to the <a href="http://webkitgtk.org/reference/webkit2gtk/stable/index.html">WebKit2GTK+ API</a> layer that I found while working on our platform (<a href="https://endlessm.com/developer/#row-1">Endless OS</a>), mostly related to its implementation of accelerated compositing.</p>
<p>Besides that, I&rsquo;m particularly curious about seeing how <a href="http://www.webengineshackfest.org/">the hackfest</a> looks like now that it has broaden its scope to include other web engines, and I&rsquo;m also quite happy to know that I&rsquo;ll be visiting my home town and meeting my old colleagues and friends from <a href="http://www.igalia.com/">Igalia</a> for a few days, once again.</p>
<p><a href="http://endlessm.com"><img class="alignright wp-image-1761 size-full" src="/wp-content/uploads/2014/08/endless_mobile_logo_only.png" alt="Endless Mobile logo" width="78" height="39" /></a>Last, I&rsquo;d like to thank <a href="http://endlessm.com/">my employer</a> for sponsoring this trip, as well as <a href="http://www.igalia.com/">Igalia</a> for organizing <a href="http://www.webengineshackfest.org/">this event</a>, one more time.</p>
<p>See you in Coruña!</p>
]]></content:encoded></item><item><title>On Linux32 chrooted environments</title><link>https://mariospr.org/2015/07/03/on-linux32-chrooted-environments/</link><pubDate>Fri, 03 Jul 2015 15:31:31 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=2030</guid><description>&lt;p&gt;I have a chrooted environment in my 64bit Fedora 22 machine that I use every now and then to work on a debian-like 32bit system where I might want to do all sorts of things, such as building software for the target system or creating debian packages. More specifically, today I was trying to build WebKitGTK+ 2.8.3 in there and something weird was happening:&lt;/p&gt;
&lt;p&gt;The following CMake snippet was &lt;strong&gt;not&lt;/strong&gt; properly recognizing my 32bit chroot:&lt;/p&gt;</description><content:encoded><![CDATA[<p>I have a chrooted environment in my 64bit Fedora 22 machine that I use every now and then to work on a debian-like 32bit system where I might want to do all sorts of things, such as building software for the target system or creating debian packages. More specifically, today I was trying to build WebKitGTK+ 2.8.3 in there and something weird was happening:</p>
<p>The following CMake snippet was <strong>not</strong> properly recognizing my 32bit chroot:</p>
<pre>
string(TOLOWER ${CMAKE_HOST_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR)
if (CMAKE_COMPILER_IS_GNUCXX AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86)$")
    ADD_TARGET_PROPERTIES(WebCore COMPILE_FLAGS "-fno-tree-sra")
endif ()
</pre>
<p>After some investigation, I found out that <code>CMAKE_HOST_SYSTEM_PROCESSOR</code> relies on the output of <code>uname</code> to determine the type of the CPU, and this what I was getting if I ran it myself:</p>
<pre>
(debian32-chroot)mario:~ $ uname -a
Linux moucho 4.0.6-300.fc22.x86_64 #1 SMP Tue Jun 23 13:58:53 UTC 2015
x86_64 x86_64 x86_64 GNU/Linux
</pre>
<p>Let&rsquo;s avoid nasty comments about the stupid name of my machine (I&rsquo;m sure everyone else uses clever names instead), and see what was there: <strong>x86_64</strong>.</p>
<p>That looked <strong>wrong</strong> to me, so I googled a bit to see what others did about this and, besides finding all sorts of crazy hacks around, I found that in my case the solution was pretty simple just because I am using <a href="https://wiki.debian.org/Schroot">schroot</a>, a great tool that makes life easier when working with chrooted environments.</p>
<p>Because of that, all I would have to do would be to specify <code>personality=linux32</code> in the configuration file for my chrooted environment and that&rsquo;s it. Just by doing that and re-entering in the &ldquo;jail&rdquo;, the output would be much saner now:</p>
<pre>
(debian32-chroot)mario:~ $ uname -a
Linux moucho 4.0.6-300.fc22.x86_64 #1 SMP Tue Jun 23 13:58:53 UTC 2015
i686 i686 i686 GNU/Linux
</pre>
<p>And of course, WebKitGTK+ would now recognize and use the right CPU type in the snippet above and I could &ldquo;relax&rdquo; again while seeing WebKit building again.</p>
<p>Now, for extra reference, this is the content of my schroot configuration file:</p>
<pre>
$ cat /etc/schroot/chroot.d/00debian32-chroot
[debian32-chroot]
description=Debian-like chroot (32 bit) 
type=directory
directory=/schroot/debian32/
users=mario
groups=mario
root-users=mario
personality=linux32
</pre>
<p>That is all, hope somebody else will find this useful. It certainly saved my day!</p>
]]></content:encoded></item><item><title>WebKitGTK+ Hackfest 2013: The Return of the Thing</title><link>https://mariospr.org/2013/12/13/webkitgtk-hackfest-2013-the-return-of-the-thing/</link><pubDate>Fri, 13 Dec 2013 20:10:04 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=1674</guid><description>&lt;p&gt;&lt;a href="https://mariospr.org/2013/12/13/webkitgtk-hackfest-2013-the-return-of-the-thing/webkitgtk-hackfest-2013/" rel="attachment wp-att-1684"&gt;&lt;img class="alignright size-medium wp-image-1684" alt="The WebKitGTK+ Hackfest 2013" src="https://mariospr.org/wp-content/uploads/2013/12/webkitgtk-hackfest-2013-300x225.png" width="300" height="225" /&gt;&lt;/a&gt;As many other &lt;a title="The WebKitGTK+ project" href="http://webkitgtk.org"&gt;WebKitGTK+ &lt;/a&gt;hackers (30 in total), I flew last Saturday to A Coruña to attend the &lt;a title="The WebKitGTK+ Hackfest 2013" href="https://wiki.gnome.org/Hackfests/WebKitGTK2013"&gt;5th edition of the WebKitGTK+ Hackfest&lt;/a&gt;, hosted once again by &lt;a title="Igalia" href="http://www.igalia.com"&gt;Igalia&lt;/a&gt; at their premises and where people from several different affiliations gathered together to try to give our beloved port a boost.&lt;/p&gt;
&lt;p&gt;As for me, I flew there to work mainly on accessibility related issues, making the most of the fact that both &lt;a title="Joanie's blog" href="http://blog.grain-of-salt.com/"&gt;Joanie&lt;/a&gt; (&lt;a title="Orca screen reader" href="http://live.gnome.org/Orca"&gt;Orca&lt;/a&gt; maintainer) and &lt;a title="API's blog" href="https://blogs.igalia.com/apinheiro/"&gt;Piñeiro&lt;/a&gt; (&lt;a title="ATK" href="https://developer.gnome.org/atk/unstable/"&gt;ATK&lt;/a&gt; maintainer) would be there too, so it should be possible to make things happen faster, specially discussion-wise.&lt;/p&gt;</description><content:encoded><![CDATA[<p><a href="/2013/12/13/webkitgtk-hackfest-2013-the-return-of-the-thing/webkitgtk-hackfest-2013/" rel="attachment wp-att-1684"><img class="alignright size-medium wp-image-1684" alt="The WebKitGTK+ Hackfest 2013" src="/wp-content/uploads/2013/12/webkitgtk-hackfest-2013-300x225.png" width="300" height="225" /></a>As many other <a title="The WebKitGTK+ project" href="http://webkitgtk.org">WebKitGTK+ </a>hackers (30 in total), I flew last Saturday to A Coruña to attend the <a title="The WebKitGTK+ Hackfest 2013" href="https://wiki.gnome.org/Hackfests/WebKitGTK2013">5th edition of the WebKitGTK+ Hackfest</a>, hosted once again by <a title="Igalia" href="http://www.igalia.com">Igalia</a> at their premises and where people from several different affiliations gathered together to try to give our beloved port a boost.</p>
<p>As for me, I flew there to work mainly on accessibility related issues, making the most of the fact that both <a title="Joanie's blog" href="http://blog.grain-of-salt.com/">Joanie</a> (<a title="Orca screen reader" href="http://live.gnome.org/Orca">Orca</a> maintainer) and <a title="API's blog" href="https://blogs.igalia.com/apinheiro/">Piñeiro</a> (<a title="ATK" href="https://developer.gnome.org/atk/unstable/">ATK</a> maintainer) would be there too, so it should be possible to make things happen faster, specially discussion-wise.</p>
<p>And turns out that, even if I feel like I could have achieved more than what I actually did (as usual), I believe we did quite well in the end: we discussed and clarified things that were blocking the mapping of new <a title="WAI-ARIA User Agent Implementation Guide" href="www.w3.org/TR/wai-aria-implementation">WAI-ARIA</a> roles in <a title="The WebKitGTK+ project" href="http://webkitgtk.org">WebKitGTK+</a>, we got rid of a bunch of WebKit1-specific unit tests (<a title="Joanie's blog" href="http://blog.grain-of-salt.com/">Joanie</a> converted them into nice layout tests that will be run by <a title="WebKit2GTK+" href="http://webkitgtk.org/reference/webkit2gtk/unstable/">WebKit2GTK+</a> too), we got a few new roles in <a title="ATK" href="https://developer.gnome.org/atk/unstable/">ATK</a> to be able to better map things from the web world and and we fixed a couple of issues in the way too.</p>
<p>Of course, not everything has been rainbows and unicorns, as it seems that one of the patches I landed broke the inspector for <a title="WebKit2GTK+" href="http://webkitgtk.org/reference/webkit2gtk/unstable/">WebKit2GTK+</a> (sorry <a title="Gustavo's blog" href="http://blog.kov.eti.br/">Gustavo</a>!). Fortunately, that one has been rolled out already and I hope I will be able to get back to it soon (next week?) to provide a better patch for that without causing any problem. Fingers crossed.</p>
<p>In the other hand, my mate Brian Holt joined us for three days too and, despite of being his first time in the hackfest, he got integrated pretty quickly with other hackers, teaming up to collaborate in the big boost that the <em>network process</em> &amp; <em>multiple web processes</em> items have went through during the event. And not only that, he also managed to give a boost to his last patch to provide automatic memory leak detection in <a title="The WebKitGTK+ project" href="http://webkitgtk.org">WebKitGTK+</a>, which I&rsquo;m sure it will be a great tool once it&rsquo;s finished and integrated upstream.</p>
<p>Anyway, if you want more details on those topics, or anything else, please check out the blog posts that <a href="http://www.gnome.org/news/2013/12/webkitgtk-hackfest-underway-in-a-coruna/">other</a> <a href="https://people.gnome.org/~csaavedra/news-2013-12.html">hackers</a> <a href="http://blog.kov.eti.br/2013/12/webkitgtk-hackfest-5-0-2013/">have</a> <a href="http://base-art.net/Articles/124/">been</a> <a href="https://blogs.igalia.com/itoral/2013/12/11/webkitgtk-2013-hackfest-on-the-road-to-webkit2-wayland-support-in-webkitgtk/">posting</a> <a href="https://blogs.igalia.com/carlosgc/2013/12/12/webkitgtk-hackfest-2013-the-network-process/">these</a> <a href="http://kwangyulseo.wordpress.com/2013/12/13/webkitgtk-hackfest-2003/">days</a>, specially <a title="WebKitGTK+ Hackfest 2013, by Carlos Carcia Campos" href="https://blogs.igalia.com/carlosgc/2013/12/12/webkitgtk-hackfest-2013-the-network-process/">Carlos&rsquo;s blog post</a>, which is quite extensive and detailed.</p>
<p><a href="/2013/07/12/im-going-to-guadec/logo/" rel="attachment wp-att-1567"><img class="alignright size-full wp-image-1567" alt="Samsung Logo" src="/wp-content/uploads/2013/07/logo.png" width="106" height="35" /></a>Of course, I would like to thank the main sponsors <a title="Igalia" href="http://www.igalia.com">Igalia</a> and the <a title="The GNOME project" href="http://www.gnome.org">GNOME</a> Foundation for making this thing happen again, and to my employer <a title="Samsung UK" href="http://www.samsung.com/uk">Samsung</a>  for helping as well by paying our trips and accommodation, as well as the snacks and the coffee that helped us stay alive and get fatter during the hackfest.</p>
<p>Last, I would like to mention (in case anyone reading this wondered) that it has indeed felt a bit strange to go the city where I used to live in and stay in a hotel, not to mention going to the office where I used to work in and hang around it as a visitor. However, both my former city and my former colleagues somehow ensured that I felt as &ldquo;at home&rdquo; once again, and so I can&rsquo;t do anything about it but feeling enormously grateful for that.</p>
<p>Thank you all, and see you next year!</p>
]]></content:encoded></item><item><title>Goodbye Pango! Goodbye GAIL!</title><link>https://mariospr.org/2013/09/13/goodbye-pango-goodbye-gail/</link><pubDate>Fri, 13 Sep 2013 17:44:08 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=1603</guid><description>&lt;p&gt;As I mentioned in &lt;a title="&amp;quot;I'm going to GUADEC!&amp;quot; blog post" href="https://mariospr.org/2013/07/12/im-going-to-guadec/"&gt;my previous post before GUADEC&lt;/a&gt;, I&amp;rsquo;ve been putting some effort lately on trying to improve the accessibility layer of &lt;a title="WebKitGTK+" href="http://webkitgtk.org/"&gt;WebKitGTK+&lt;/a&gt;, as part of my work here at &lt;a title="Samsung" href="http://www.samsung.com"&gt;Samsung&lt;/a&gt;, and one of the main things I&amp;rsquo;ve worked on was the removal of the dependency we had on &lt;a title="Pango" href="https://git.gnome.org/browse/pango"&gt;Pango&lt;/a&gt; and &lt;a title="GTK+ Accessibility Implementation Layer" href="https://git.gnome.org/browse/libgail-gnome/"&gt;GAIL&lt;/a&gt; to implement the &lt;a title="AtkText interface" href="https://developer.gnome.org/atk/unstable/AtkText.html"&gt;&lt;em&gt;atk_text_get_text_*_offset()&lt;/em&gt;&lt;/a&gt; family of functions for the different &lt;a title="AtkText boundaries" href="https://developer.gnome.org/atk/unstable/AtkText.html#AtkTextBoundary"&gt;text boundaries&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;And finally, I&amp;rsquo;m really happy to say that such a task is complete once and for all, meaning that now those functions should work as well or as bad on &lt;a title="WebKit2GTK+" href="http://webkitgtk.org/reference/webkit2gtk/unstable/index.html"&gt;WebKit2GTK+&lt;/a&gt; as they do in &lt;a title="WebKitGTK+" href="http://webkitgtk.org/"&gt;WebKitGTK+&lt;/a&gt;, so the weird behaviour described &lt;a href="https://bugs.webkit.org/show_bug.cgi?id=73433"&gt;in bug 73433&lt;/a&gt; is no longer an issue. You can check I&amp;rsquo;m not lying by just taking a look to the commit that &lt;a title="Commit: Get rid of Pango/Gail dependencies in accessibility for ATK" href="http://trac.webkit.org/changeset/155520"&gt;removed both all trace of Pango and GAIL in the code&lt;/a&gt;, as well as and the one that &lt;a title="Commit: Remove Gail dependency from build system for GTK3" href="http://trac.webkit.org/changeset/155534"&gt;removed the GAIL dependency from the build system&lt;/a&gt;. And if you want more detail, just feel free to check the whole &lt;a title="Dependency tree in WebKit's bugzilla" href="https://bugs.webkit.org/showdependencytree.cgi?id=119673&amp;amp;hide_resolved=0"&gt;dependency tree in WebKit&amp;rsquo;s bugzilla&lt;/a&gt;.&lt;/p&gt;</description><content:encoded><![CDATA[<p>As I mentioned in <a title="&quot;I'm going to GUADEC!&quot; blog post" href="/2013/07/12/im-going-to-guadec/">my previous post before GUADEC</a>, I&rsquo;ve been putting some effort lately on trying to improve the accessibility layer of <a title="WebKitGTK+" href="http://webkitgtk.org/">WebKitGTK+</a>, as part of my work here at <a title="Samsung" href="http://www.samsung.com">Samsung</a>, and one of the main things I&rsquo;ve worked on was the removal of the dependency we had on <a title="Pango" href="https://git.gnome.org/browse/pango">Pango</a> and <a title="GTK+ Accessibility Implementation Layer" href="https://git.gnome.org/browse/libgail-gnome/">GAIL</a> to implement the <a title="AtkText interface" href="https://developer.gnome.org/atk/unstable/AtkText.html"><em>atk_text_get_text_*_offset()</em></a> family of functions for the different <a title="AtkText boundaries" href="https://developer.gnome.org/atk/unstable/AtkText.html#AtkTextBoundary">text boundaries</a>.</p>
<p>And finally, I&rsquo;m really happy to say that such a task is complete once and for all, meaning that now those functions should work as well or as bad on <a title="WebKit2GTK+" href="http://webkitgtk.org/reference/webkit2gtk/unstable/index.html">WebKit2GTK+</a> as they do in <a title="WebKitGTK+" href="http://webkitgtk.org/">WebKitGTK+</a>, so the weird behaviour described <a href="https://bugs.webkit.org/show_bug.cgi?id=73433">in bug 73433</a> is no longer an issue. You can check I&rsquo;m not lying by just taking a look to the commit that <a title="Commit: Get rid of Pango/Gail dependencies in accessibility for ATK" href="http://trac.webkit.org/changeset/155520">removed both all trace of Pango and GAIL in the code</a>, as well as and the one that <a title="Commit: Remove Gail dependency from build system for GTK3" href="http://trac.webkit.org/changeset/155534">removed the GAIL dependency from the build system</a>. And if you want more detail, just feel free to check the whole <a title="Dependency tree in WebKit's bugzilla" href="https://bugs.webkit.org/showdependencytree.cgi?id=119673&amp;hide_resolved=0">dependency tree in WebKit&rsquo;s bugzilla</a>.</p>
<p>This task has been an interesting challenge for me indeed, and not only because it was one of the biggest accessibility related tasks I&rsquo;ve worked on in <a title="WebKitGTK+" href="http://webkitgtk.org/">WebKitGTK+</a> since late 2012 (so I needed to get my brain trained again on it), but also because reimplementing these functions forced me to dive into <a title="WebKit's text editing layer" href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/editing">text editing</a> and <a title="WebKit's accessibility layer" href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/accessibility/">accessibility code</a> in <a title="WebCore" href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/">WebCore</a> as I never did before. And it&rsquo;s so cool to see how, despite of having to deal eventually with the frustrating feeling of hitting my head against a wall, at the end of the day it all resulted on a nice set of patches that do the work and help advance the state of the <a title="WebKit ATK based accessibility layer" href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/accessibility/atk/">ATK based accessibility layer</a> in <a title="WebKitGTK+" href="http://webkitgtk.org/">WebKitGTK+</a> forward.</p>
<p>Anyway, even though that is probably the thing that motivated me to write this blog post, that was not the only thing that I did since <a title="GUADEC" href="http://www.guadec.org/">GUADEC</a> (which has been a blast, by the way):</p>
<p>On the personal side, I&rsquo;ve spent two lovely weeks in <a title="Spain" href="http://en.wikipedia.org/wiki/Spain">Spain</a> on holidays, which was the biggest period of time I&rsquo;ve been outside of the <a title="United Kingdom" href="http://en.wikipedia.org/wiki/United_Kingdom">UK</a> since I arrived here, and had  an amazing time there just <em>&ldquo;doing nothing&rdquo;(tm)</em> but lying around on the beach and seeing the grass grow. And there is not much grass there anywhere, so you can imagine how stressful that life was&hellip; it was great.</p>
<p>In the other hand, on the professional side, I&rsquo;d say that one of the other big things that happened to me lately was that <a title="Announcement about my &quot;upgrade&quot; into WebKit reviewer" href="https://lists.webkit.org/pipermail/webkit-dev/2013-August/025329.html">I finally became accepted as a WebKit reviewer</a>, meaning that now I can not only help <em>breaking the Web</em>, but also authorize others to do it so. And while agree that might be fun in some way, it probably would not be very cool, so forgive me if I try instead to do my best to help get exactly the opposite result: make things work better.</p>
<p>And truth to be told, this &ldquo;upgrade&rdquo; came just with perfect timing, since these days quite some work is being done in the accessibility layer for both the <a title="WebKitGTK+" href="http://webkitgtk.org/">WebKitGTK+</a> and the <a title="WebKitEFL" href="http://trac.webkit.org/wiki/EFLWebKit">WebKitEFL</a> ports thanks also to my mates <a title="Denis Nomiyama contributions to WebKit" href="http://trac.webkit.org/search?q=denis+nomiyama&amp;noquickjump=1&amp;changeset=on">Denis Nomiyama</a>, <a title="Anton Obzhirov contributions to WebKit" href="http://trac.webkit.org/search?q=anton+obzhirov&amp;noquickjump=1&amp;changeset=on">Anton Obzhirov</a>, <a title="Brian Holt contributions to WebKit" href="http://trac.webkit.org/search?q=brian+holt&amp;noquickjump=1&amp;changeset=on">Brian Holt</a> and <a title="Krzysztof Czech contributions to WebKit" href="http://trac.webkit.org/search?q=krzysztof+czech&amp;noquickjump=1&amp;changeset=on">Krzysztof Czech</a> from <a title="Samsung" href="http://www.samsung.com">Samsung</a>, and that work would ideally need to be reviewed by someone familiar with the <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a>/<a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> based accessibility stack. And while I&rsquo;m still by far not the most knowledgeable person in the world when it comes to those topics, I believe I might have a fairly well knowledge about it anyway, so I assume (and hope) that my reviews will certainly add value and help with those specific pieces of work.</p>
<p>And as a nice plus, now I can finally &ldquo;return the favour&rdquo; to the only accessibility reviewer <a title="WebKit" href="http://webkit.org/">WebKit</a> had until now (<a title="Chris Fleizach" href="http://chris.fleizach.com/">Chris Fleizach</a>) by helping reviewing his patches as well, in a similar fashion to what he has been tirelessly doing for me for the last 3 years and a half. Yay!</p>
<p>To finish , I&rsquo;d like to get back again to the original topic of this post and say a big &ldquo;thank you&rdquo; to everyone who helped me along the way with the removal of <a title="Pango" href="https://git.gnome.org/browse/pango">Pango</a> and <a title="GTK+ Accessibility Implementation Layer" href="https://git.gnome.org/browse/libgail-gnome/">GAIL</a> from <a title="WebKit ATK based accessibility layer" href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/accessibility/atk/">the ATK specific code</a>. Special thanks go to those who spend time performing the code reviews, as it&rsquo;s the case of <a title="Martin Robinson's blog" href="http://abandonedwig.info/">Martin</a>, <a title="Gustavo Noronha" href="http://blog.kov.eti.br/">Gustavo</a> and <a title="Chris Fleizach" href="http://chris.fleizach.com/">Chris</a>. I wouldn&rsquo;t be writing this post otherwise.</p>
<p>Thanks!</p>
]]></content:encoded></item><item><title>I'm going to GUADEC!</title><link>https://mariospr.org/2013/07/12/im-going-to-guadec/</link><pubDate>Fri, 12 Jul 2013 19:06:22 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=1559</guid><description>&lt;p&gt;&lt;a href="https://mariospr.org/2013/07/12/im-going-to-guadec/guadec2013/" rel="attachment wp-att-1560"&gt;&lt;img class="alignright size-full wp-image-1560" alt="I'm attending GUADEC" src="https://mariospr.org/wp-content/uploads/2013/07/guadec2013.png" width="125" height="125" /&gt;&lt;/a&gt;One year again &lt;a title="GUADEC" href="http://www.guadec.org"&gt;GUADEC&lt;/a&gt; is approaching and, also again, I&amp;rsquo;m very happy to say that I&amp;rsquo;ll be there as well this time, even if I have to recognize it was not on my plans for this year, at least not initially.&lt;/p&gt;
&lt;p&gt;And the reason why it was not initially in my plans was mainly because I&amp;rsquo;ve been already through quite &lt;a title="Moving on" href="https://mariospr.org/2012/11/19/moving-on/"&gt;some&lt;/a&gt; &lt;a title="My first week at SERI" href="https://mariospr.org/2013/01/12/my-first-week-at-seri/"&gt;changes&lt;/a&gt; during these past months year, and my family just came over to the &lt;a title="United Kingdom" href="http://en.wikipedia.org/wiki/United_Kingdom"&gt;UK&lt;/a&gt; two months ago. This means that, even I already arrived by the beginning of the year, we just started to settle here as a family a few weeks ago. So in that context, I didn&amp;rsquo;t feel like leaving them alone for one week already now, it definitely would look like a &amp;ldquo;wrong management of priorities&amp;rdquo; to me.&lt;/p&gt;</description><content:encoded><![CDATA[<p><a href="/2013/07/12/im-going-to-guadec/guadec2013/" rel="attachment wp-att-1560"><img class="alignright size-full wp-image-1560" alt="I'm attending GUADEC" src="/wp-content/uploads/2013/07/guadec2013.png" width="125" height="125" /></a>One year again <a title="GUADEC" href="http://www.guadec.org">GUADEC</a> is approaching and, also again, I&rsquo;m very happy to say that I&rsquo;ll be there as well this time, even if I have to recognize it was not on my plans for this year, at least not initially.</p>
<p>And the reason why it was not initially in my plans was mainly because I&rsquo;ve been already through quite <a title="Moving on" href="/2012/11/19/moving-on/">some</a> <a title="My first week at SERI" href="/2013/01/12/my-first-week-at-seri/">changes</a> during these past months year, and my family just came over to the <a title="United Kingdom" href="http://en.wikipedia.org/wiki/United_Kingdom">UK</a> two months ago. This means that, even I already arrived by the beginning of the year, we just started to settle here as a family a few weeks ago. So in that context, I didn&rsquo;t feel like leaving them alone for one week already now, it definitely would look like a &ldquo;wrong management of priorities&rdquo; to me.</p>
<p>However, it turns out that my wife and kids won&rsquo;t be here anyway during the first week of August and, on top of that, <a title="Samsung" href="http://www.samsung.com">Samsung</a> has been so kind to sponsor this trip just based on the simple fact that I&rsquo;m part of the <a title="The GNOME Project" href="http://www.gnome.org">GNOME</a> community. So, I certainly can no longer find a single reason not to go and spend 7 amazing days in <a title="Brno, Czech Republic" href="http://en.wikipedia.org/wiki/Brno">Brno</a>, meeting people that I normally see only in conferences (and this time that group of people will be bigger than ever, since my former mates from <a title="Igalia" href="http://www.igalia.com">Igalia</a> are now also included there), while attending to what it seems to be <a title="GUADEC Schedule" href="https://www.guadec.org/schedule/">a very appealing event</a>.</p>
<p>Also, I will try to make the most of the trip to do some work during the different hackfests and <a title="GUADEC BoFs" href="https://wiki.gnome.org/GUADEC/2013/BOFs">BoFs that are already planned</a>, which special focus in the one about <a title="Computer accessibility" href="http://en.wikipedia.org/wiki/Computer_accessibility">accessibility</a>, of course. As a personal goal, I expect to have the chance to move forward some work I&rsquo;ve been doing lately in the <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a> a11y world, such as <a title="[GTK] Metabug: Get rid of Pango/Gail dependencies in accessibility for ATK" href="https://bugs.webkit.org/show_bug.cgi?id=114867">getting rid of the nasty dependency</a> on <a title="Pango" href="https://git.gnome.org/browse/pango">Pango</a>/<a title="GTK+ Accessibility Implementation Layer" href="https://git.gnome.org/browse/libgail-gnome/">Gail</a> we still have there, something I&rsquo;ve been already working on for some time now, and which I expect it will be fixed soon, hopefully before <a title="GUADEC" href="http://www.guadec.org">GUADEC</a>, although time will tell.</p>
<p>Once that it&rsquo;s fixed, <a title="WebKit2GTK+" href="http://webkitgtk.org/reference/webkit2gtk/unstable/index.html">WebKit2GTK+</a> based apps should recover the ability to properly expose text through the <a title="AtkText interface" href="https://developer.gnome.org/atk/unstable/AtkText.html"><em>atk_text_get_text_*_offset()</em></a> family of functions for different <a title="AtkText boundaries" href="https://developer.gnome.org/atk/unstable/AtkText.html#AtkTextBoundary">text boundaries</a>, which means that <em><a href="http://en.wikipedia.org/wiki/Assistive_technology" rel="nofollow">ATs</a></em> (e.g. the <a href="https://live.gnome.org/Orca" rel="nofollow">Orca</a> screen reader)  will be able to properly allow again line-by-line navigation when in caret browsing mode. And, as you can imagine, this is quite a big problem these days, since <a title="WebKit2GTK+" href="http://webkitgtk.org/reference/webkit2gtk/unstable/index.html">WebKit2GTK+</a> that has become the default backend for some core apps such as the <a title="The Epiphany Browser" href="https://projects.gnome.org/epiphany/">Epiphany browser</a> with the <a title="The GNOME Project" href="http://www.gnome.org">GNOME</a> <a title="GNOME 3.8 release notes" href="https://help.gnome.org/misc/release-notes/3.8/">3.8 release</a>, so fixing this is like a high priority now, I&rsquo;d say.</p>
<p><a href="/2013/07/12/im-going-to-guadec/logo/" rel="attachment wp-att-1567"><img class="alignright size-full wp-image-1567" alt="Samsung Logo" src="/wp-content/uploads/2013/07/logo.png" width="106" height="35" /></a>Anyway, I&rsquo;m starting to write too much (as usual) for what it was going to be a short &ldquo;I&rsquo;m going to <a title="GUADEC" href="http://www.guadec.org">GUADEC</a>&rdquo; blog post, so I will stop right now, although not without first thanking <a title="Samsung" href="http://www.samsung.com">Samsung</a> for sponsoring this my first trip to the <a title="Czech Republic" href="http://en.wikipedia.org/wiki/Czech_Republic">Czech Republic</a>.</p>
<p>See you all in three weeks!</p>
]]></content:encoded></item><item><title>WebKit Contributors Meeting 2013</title><link>https://mariospr.org/2013/05/03/webkit-contributors-meeting-2013/</link><pubDate>Fri, 03 May 2013 17:34:00 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=1541</guid><description>&lt;p&gt;It turns out I&amp;rsquo;m writing this post at 6:00 AM in the morning from a hotel instead of doing it at a more reasonable time from my comfy home or a nice cafeteria. That&amp;rsquo;s already quite a new thing by itself, and the reason for that is not that I became crazy or something, but the fact that I&amp;rsquo;m completely jet-lagged in California right now in order to attend my second &lt;a title="WebKit Contributors Meeting" href="http://trac.webkit.org/wiki/May%202013%20Meeting"&gt;WebKit Contributors Meeting&lt;/a&gt; (&lt;a title="Attending the WebKit Contributors Meeting 2011" href="https://mariospr.org/2011/05/05/webkit-contributors-meeting-sockets-plugs/"&gt;my first time was in 2011&lt;/a&gt;), this time as part of the &lt;a title="Samsung UK" href="http://www.samsung.com/uk"&gt;Samsung&lt;/a&gt; team in the UK R&amp;amp;D center, together with my mate &lt;a title="Anton Obzhirov" href="http://uk.linkedin.com/pub/anton-obzhirov/4/256/876"&gt;Anton Obzhirov&lt;/a&gt;.&lt;/p&gt;</description><content:encoded><![CDATA[<p>It turns out I&rsquo;m writing this post at 6:00 AM in the morning from a hotel instead of doing it at a more reasonable time from my comfy home or a nice cafeteria. That&rsquo;s already quite a new thing by itself, and the reason for that is not that I became crazy or something, but the fact that I&rsquo;m completely jet-lagged in California right now in order to attend my second <a title="WebKit Contributors Meeting" href="http://trac.webkit.org/wiki/May%202013%20Meeting">WebKit Contributors Meeting</a> (<a title="Attending the WebKit Contributors Meeting 2011" href="/2011/05/05/webkit-contributors-meeting-sockets-plugs/">my first time was in 2011</a>), this time as part of the <a title="Samsung UK" href="http://www.samsung.com/uk">Samsung</a> team in the UK R&amp;D center, together with my mate <a title="Anton Obzhirov" href="http://uk.linkedin.com/pub/anton-obzhirov/4/256/876">Anton Obzhirov</a>.</p>
<p>With regard to that, it has been a very interesting experience so far where I could meet new people I still haven&rsquo;t had the chance to see in real life yet (e.g. my mates from other <a title="Samsung UK" href="http://www.samsung.com/uk">Samsung</a> R&amp;D centers or some guys from <a href="http://www.apple.com">Apple</a> I didn&rsquo;t have the chance to meet in person before), as well as chat again with some friends and former mates that I haven&rsquo;t seen for a while, such as <a title="Martin's blog" href="http://abandonedwig.info/">Martin</a>, <a title="Xan's blog" href="http://blogs.gnome.org/xan/">Xan</a> and <a title="Philippe's blog" href="http://base-art.net/">Philippe</a> from <a title="Igalia" href="http://www.igalia.com">Igalia</a>, <a title="Byungseon" href="http://www.linkedin.com/profile/view?id=94380850">Byungseon</a> from <a href="http://www.lge.com">LG</a>, <a title="Nayan's blog" href="http://xc0ffee.wordpress.com/">Nayan</a> from <a href="http://www.motorola.com">Motorola</a> or <a title="Gustavo's blog" href="http://blog.kov.eti.br/">Gustavo</a> from <a title="Collabora" href="http://www.collabora.co.uk">Collabora</a> to mention some of them. It&rsquo;s strange, and at the same time wonderful, how easily you can catch up on conversations with people that you barely see once a year (or even less) and mainly in conferences, and definitely one of my favourite parts of attending these kind of events, to be honest.</p>
<p>Also, from a less social point of view, I have to say I found very interesting the sessions I&rsquo;ve attended so far, specially the one about &ldquo;managing the differences between ports&rdquo;, although the one about &ldquo;build systems&rdquo; was quite interesting too. Not sure how far we are yet in the <a href="http://www.webkitgtk.org">WebKitGTK+</a> port from realistically switching to some kind of commonly agreed build system (<a href="http://www.cmake.org">cmake</a>?), but at least it&rsquo;s a good start to agree on the fact that it would be an interesting move and now that some people pushing for it.</p>
<p>My only regret about this first day is that I missed <a title="Dave Hyatt" href="http://en.wikipedia.org/wiki/Dave_Hyatt">Hyatt</a>&rsquo;s talk about pagination due to some health issues I&rsquo;m experimenting while in California, mostly due to the extremely hot and dry weather (anything over 25 Celsius is &ldquo;unbearable hot&rdquo; for me), which is causing me a little bit of cough, sore throat and fever, all well mixed with the jet lag to make it a perfect &ldquo;welcome pack&rdquo; to the meeting. Fortunately, I got some &ldquo;interesting&rdquo; medicines that seem to have relieved a bit the pain and I could attend the rest of the sessions without much trouble, other than some occasional coughing. Not bad.</p>
<p>By the way, for those of you who were not lucky enough to attend the meeting but are anyway interested in the topics being discussed here, make sure you check the <a title="WebKit Contributors Meeting 2013" href="http://trac.webkit.org/wiki/May%202013%20Meeting">main TRAC page for the meeting</a>, where you can also find transcripts for most of the sessions.</p>
<p>As for today, some more sessions will take place as well as a couple of hackathons so I expect it to be very interesting as well. Also I hope I can find some time too to work a bit on my patches to remove the nasty dependency on pango we have in <a href="http://www.webkitgtk.org">WebKitGTK+</a> accessibility code, which is preventing us to have proper caret navigation in <a title="WebKit2GTK+" href="http://webkitgtk.org/reference/webkit2gtk/unstable/index.html">WebKit2GTK+</a> based browsers, as well as to discuss possible ways in which our lab could collaborate more actively upstream. Seems a promising day already!</p>
<p>Last (but not least), and in a completely unrelated and super-off-topic way, I would like to tell the world that I&rsquo;m <strong>extremely happy</strong> for the fact that next week will be the end of my &ldquo;lonely existence in the UK&rdquo;, finally. After 4 months of living away from my family with just some flash trips from Friday to Sunday (every 2 weeks), I&rsquo;m once and for all travelling on Thursday to my home town with a one way plane ticket to do some final arrangements, put everything (family included!) in the car and travel to <a title="Santander" href="http://en.wikipedia.org/wiki/Santander,_Spain">Santander</a>, where we&rsquo;ll be taking a ferry that will take us to the <a title="Portsmouth" href="http://en.wikipedia.org/wiki/Portsmouth">Portsmouth</a> (southern coast of England), from where we will just drive to the UK in order to start our new life, all together again.</p>
<p>It has been quite hard for us to live this way for so long, but I think in the end we managed to handle the situation quite well, and now it seems all our efforts are already paying off because things seem to be finally fitting in the right places: we have a lovely house, we have a place in a nearby public school for my oldest kid to start on September, most of the needed paperwork seems to be done and we already moved all our stuff from Spain (lots of toys!), which is now waiting to be used in our new place.</p>
<p>I really can&rsquo;t wait to live again in the noisy and chaotic atmosphere that two kids can so easily create around them. Even if that means it will probably drive me crazy every now and then and that I won&rsquo;t sleep that well sometimes.</p>
<p>Yes. Even considering that.</p>
]]></content:encoded></item><item><title>Accessibility in [WebKit]GTK+</title><link>https://mariospr.org/2013/02/03/accessibility-in-webkitgtk/</link><pubDate>Sun, 03 Feb 2013 02:26:23 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=1422</guid><description>&lt;p&gt;This past week I&amp;rsquo;ve spent some time explaining to my mates at &lt;a title="SERI UK" href="http://www.linkedin.com/company/samsung-electronics-research-institute"&gt;Samsung&lt;/a&gt; the basics about how accessibility&lt;i&gt; &lt;/i&gt;works and is implemented in &lt;a title="WebKitGTK+" href="http://www.webkitgtk.org"&gt;WebKitGTK+&lt;/a&gt;. I realized, yet again, of how messy and confusing everything can be the first time you encounter these things. After all, &lt;a title="WebKit" href="http://www.webkit.org"&gt;WebKit&lt;/a&gt; is quite a complex project already and &lt;a title="Computer accessibility" href="http://en.wikipedia.org/wiki/Computer_accessibility"&gt;accessibility&lt;/a&gt; is not a simple matter either.&lt;/p&gt;
&lt;p&gt;In order to help them better understand this topic, I wrote a summary to have as reference that explains in my own words which the main pieces of the whole puzzle are, and how they relate to one another. In my experience, it&amp;rsquo;s not always easy to understand the big picture quickly, and I think this kind of documentation can be quite useful for anyone willing to contribute to accessibility in &lt;a title="WebKitGTK+" href="http://www.webkitgtk.org"&gt;WebKitGTK+&lt;/a&gt;. At least it would have been useful for me when I started working on this. I only regret not having written it before, but better late than never, right?&lt;/p&gt;</description><content:encoded><![CDATA[<p>This past week I&rsquo;ve spent some time explaining to my mates at <a title="SERI UK" href="http://www.linkedin.com/company/samsung-electronics-research-institute">Samsung</a> the basics about how accessibility<i> </i>works and is implemented in <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a>. I realized, yet again, of how messy and confusing everything can be the first time you encounter these things. After all, <a title="WebKit" href="http://www.webkit.org">WebKit</a> is quite a complex project already and <a title="Computer accessibility" href="http://en.wikipedia.org/wiki/Computer_accessibility">accessibility</a> is not a simple matter either.</p>
<p>In order to help them better understand this topic, I wrote a summary to have as reference that explains in my own words which the main pieces of the whole puzzle are, and how they relate to one another. In my experience, it&rsquo;s not always easy to understand the big picture quickly, and I think this kind of documentation can be quite useful for anyone willing to contribute to accessibility in <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a>. At least it would have been useful for me when I started working on this. I only regret not having written it before, but better late than never, right?</p>
<p>So let&rsquo;s begin then. I will start by talking about accessibility-only stuff, which are basically common to any accessible application based in <a title="GTK+" href="http://www.gtk.org">GTK+</a>. Then I will explain the bits specific to <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a> and how they fit in the picture.</p>
<h3>Accessibility in GTK+ applications</h3>
The parts, or "actors", involved in any <a title="GTK+" href="http://www.gtk.org">GTK+</a> application from an accessibility point of view are:
<ul>
	<li><strong>Assistive Technologies (<em>ATs</em>)</strong></li>
	<li><strong>AT-SPI (Assistive Technology Service Provider Interface)</strong></li>
	<li><strong>ATK (Accessibility ToolKit)</strong></li>
	<li><strong>ATK &lt;-&gt; AT-SPI bridge</strong></li>
	<li><strong>GTK+</strong></li>
	<li><strong>GTK's Accessibility Implementation</strong></li>
</ul>
<a href="/2013/02/03/accessibility-in-webkitgtk/atk-a11y/" rel="attachment wp-att-1506"><img class="aligncenter size-large wp-image-1506" alt="Accessibility in GTK+ applications" src="/wp-content/uploads/2013/02/atk-a11y-600x290.png" width="584" height="282" /></a>
<p>Now let&rsquo;s describe all those points, one by one:</p>
<p><strong>Assistive Technologies (<em>ATs</em>)</strong>:</p>
<p><em><a href="http://en.wikipedia.org/wiki/Assistive_technology" rel="nofollow">ATs</a> are a</em>pplications whose main purpose is to facilitate access and/or interaction with certain bits of information interesting from an accessibility related point of view, exposed by other applications. This access/interaction can be primarily output based. For instance the <a href="https://live.gnome.org/Orca" rel="nofollow">Orca</a> screen reader is an <em>AT</em> which provides access via text to speech and/or refreshable braille to on-screen information exposed by editors, browsers, mail agents and other applications.</p>
<p>Other <em>ATs</em> are primarily input based, allowing the user to interact with the exposed applications by executing certain actions over them (e.g. clicking on a exposed link), so it&rsquo;s not just about &ldquo;consuming&rdquo; information. Normally, <strong><em>ATs</em></strong> are called the <strong><i>clients</i></strong> and the <strong>applications</strong> exposing information the <strong><i>servers</i></strong>, as in the end it&rsquo;s actually an implementation of a typical client/server architecture.</p>
<p><strong>AT-SPI (Assistive Technology Service Provider Interface)</strong>:<strong>
</strong></p>
<p>Set of interfaces that Assistive Technologies (the <i>clients</i>) understand and use to inspect and interact with the accessible content exposed by applications in Linux environments. At some point, &ldquo;someone&rdquo; has to provide actual <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> objects (linked together forming a <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> hierarchy) implementing several of those interfaces (depending of the type of object) so <em>ATs</em> can &ldquo;see them&rdquo;.</p>
<p>This is the job of <a href="http://git.gnome.org/browse/at-spi2-core/tree/registryd" rel="nofollow">the AT-SPI registry</a>, a daemon which takes care of maintaining a hierarchy of <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> objects for every single accessible application in the system, in a centralized way, so <em>ATs</em> can interact with them. It is worth mentioning that the parent/children relationships in that hierarchy are modelled in terms of <a title="D-Bus" href="http://www.freedesktop.org/wiki/Software/dbus">D-Bus</a>, so different <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> objects can belong to different processes.</p>
<p><strong>ATK (Accessibility ToolKit)</strong>:</p>
<p>The toolkit used by <a title="GTK+" href="http://www.gtk.org">GTK+</a> applications to expose accessible representations of the toolkit&rsquo;s objects, along with appropriate interfaces, on the side of the applications exposing content (the <i>servers</i>). This representation is an almost a 1:1 match with the objects and interfaces defined by <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> (that is, <em>almost</em>).</p>
<p>The main difference when it comes to understanding its place in the puzzle is that <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> is what <i>clients</i> (ATs) understand, and that is not process-bounded (see previous point). <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a>, in contrast, is what <i>servers</i> implement to expose accessible information, and it is process-bounded. Thus the parent/children relationships in the <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> hierarchy are modelled by actual references (pointers) between objects living in the same process.</p>
<p><strong>ATK &lt;-&gt; AT-SPI bridge</strong>:</p>
<p>The glue that makes sure there&rsquo;s a mapping between the <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> hierarchy living in the <i>server</i> process and the <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> hierarchy held by <a href="http://git.gnome.org/browse/at-spi2-core/tree/registryd" rel="nofollow">the AT-SPI registry</a>. Such a bridge is implemented in terms of <a title="D-Bus" href="http://www.freedesktop.org/wiki/Software/dbus">D-Bus</a> too, as it needs to communicate with the registry whenever something needs to be updated there, as well as when the <em>server</em> needs to react to external actions coming from ATs (e.g. perform the default <em>action</em> for an object).</p>
<p><strong> GTK+</strong>:</p>
<p>The widgets toolkit normally used by applications embedding <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a>. Explaining what <a title="GTK+" href="http://www.gtk.org">GTK+</a> is beyond the scope of this post, so I will assume you already know what it is.</p>
<p><strong> GTK&rsquo;s Accessibility Implementation</strong>:</p>
<p>Provides <a title="AtkObject" href="http://developer.gnome.org/atk/stable/AtkObject.html">ATK objects</a> implementing different <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> interfaces for every widget from the <a title="GTK+" href="http://www.gtk.org">GTK+</a> library, and uses the <a href="http://git.gnome.org/browse/at-spi2-atk/" rel="nofollow">ATK &lt;-&gt; AT-SPI bridge</a> to communicate with <a href="http://git.gnome.org/browse/at-spi2-core/tree/registryd" rel="nofollow">the AT-SPI registry</a>. This means that if you use standard <a title="GTK+" href="http://www.gtk.org">GTK+</a> widgets only, your application will be accessible out-of-the-box. On the contrary, should you use custom widgets, you&rsquo;ll probably have to write custom <a title="AtkObject" href="http://developer.gnome.org/atk/stable/AtkObject.html">ATK objects</a> implementing the proper <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> interfaces to make them accessible too.</p>
<p>So that&rsquo;s all so far, when it comes to <a title="GTK+" href="http://www.gtk.org">GTK+</a> applications. Check the following diagram for a more detailed look at all these hierarchies for a hypothetical <a title="GTK+" href="http://www.gtk.org">GTK+</a> application exposing information and a screen reader accessing it:</p>
<p><a href="/2013/02/03/accessibility-in-webkitgtk/gtk-a11y/" rel="attachment wp-att-1442"><img class="aligncenter size-large wp-image-1442" alt="Accessibility in GTK+ applications: a specific example" src="/wp-content/uploads/2013/02/gtk-a11y-600x259.png" width="584" height="252" /></a>As you can see, there&rsquo;s an <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> tree matching the <a title="GTK+" href="http://www.gtk.org">GTK+</a> hierarchy, and another <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> tree matching the <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> one. Finally, the screen reader accesses the information through that <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> tree, as explained above.</p>
<h3>Accessibility in WebKitGTK+</h3>
Now that we already understand the basics of accessibility in <a title="GTK+" href="http://www.gtk.org">GTK+</a> applications, let's add the bits specifically related to <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a>. Namely:
<ul>
	<li><strong>WebCore's Accessibility Objects</strong></li>
	<li><strong>WebKitGTK+ (ATK) wrappers</strong></li>
	<li><strong>WebKit2GTK+ specific details</strong></li>
</ul>
Again, a picture is usually better than just text, so here you have one too:
<p><a href="/2013/02/03/accessibility-in-webkitgtk/wkgtk-a11y/" rel="attachment wp-att-1496"><img class="aligncenter size-large wp-image-1496" alt="Accessibility in WebKitGTK+" src="/wp-content/uploads/2013/02/wkgtk-a11y-600x259.png" width="584" height="252" /></a></p>
<p>In order to clarify it a bit more before explaining each point, let&rsquo;s just say that  you&rsquo;ll have to look in the dashed box named <em><a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore" rel="nofollow">WebCore</a> accessibility world</em>, where the hierarchy on the left (red &amp; orange) represent the<a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore" rel="nofollow"> </a><a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/accessibility/" rel="nofollow">WebCore Accessibility objects</a>, while the one on the right (the green one) represents the <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/accessibility/atk/" rel="nofollow">WebKitGTK+ ATK wrappers</a>.</p>
<p>With this in mind, let&rsquo;s examine these three points in more depth:</p>
<p><strong>WebCore Accessibility objects</strong>:</p>
<p>Similar to <a href="http://git.gnome.org/browse/gtk+/tree/gtk/a11y" rel="nofollow">GTK&rsquo;s Accessibility Implementation</a>, <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore" rel="nofollow">WebCore</a>&rsquo;s accessibility objects are the implementation of an independent hierarchy exposing accessibility related information for objects present in a web page. As the mission of accessibility in <a title="WebKit" href="http://www.webkit.org">WebKit</a> is to expose information to users that are normally being rendered in the screen (as well as some other information that might be hidden to regular users), there is a tight relationship between this hierarchy and other ones in <a title="WebKit" href="http://www.webkit.org">WebKit</a>, such as the <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/dom/">DOM tree</a> and the <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/rendering/">Render Objects tree</a>.</p>
<p>This layer is meant to be platform-agnostic, so you won&rsquo;t find much <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a> specific stuff here. Instead, you will find the implementation of the accessibility related specifications published by the <a title="World Wide Web Consortium" href="http://www.w3.org/">W3C</a>&lsquo;s <a title="Web Accessibility Initiative" href="http://www.w3.org/WAI/">Web Accessibility Initiative (WAI)</a>, such as <a title="WAI-ARIA" href="http://www.w3.org/WAI/intro/aria.php">WAI-ARIA</a>.</p>
<p><strong>WebKitGTK+ ATK wrappers</strong>:</p>
<p>An <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a>-based implementation of an accessibility hierarchy where every <a title="AtkObject" href="http://developer.gnome.org/atk/stable/AtkObject.html">ATK object</a> will take care of wrapping the proper accessibility object from <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore" rel="nofollow">WebCore</a>, as well as implementing the proper <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> interfaces depending on the situation (e.g. the role of the <a title="WebCore Accessibility Object" href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/accessibility/AccessibilityObject.h">WebCore accessibility object</a>, some properties coming from the associated <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/rendering/">Render Object</a>&hellip;).</p>
<p>The <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> hierarchy created here is connected with the <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> hierarchy from the embedding application (normally a <a title="GTK+" href="http://www.gtk.org">GTK+</a> app) by setting the root <a title="AtkObject" href="http://developer.gnome.org/atk/stable/AtkObject.html">ATK object</a> in this tree (normally representing <a title="The DOM" href="http://www.w3.org/DOM/">DOM</a>&rsquo;s root element) as the child of the leaf <a title="AtkObject" href="http://developer.gnome.org/atk/stable/AtkObject.html">ATK object</a> in the tree coming from the embedding application (normally the <a href="http://developer.gnome.org/gtk3/stable/GtkWidget.html">GtkWidget</a> containing the <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebKit/gtk/webkit/webkitwebview.h">WebView</a>).</p>
<p>As is the case with any other regular <a title="GTK+" href="http://www.gtk.org">GTK+</a> application, this <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> hierarchy will finally be seen by <em>ATs</em> thanks to the translation that the <a href="http://git.gnome.org/browse/at-spi2-atk/" rel="nofollow">ATK &lt;-&gt; AT-SPI bridge</a> will do for us, making the whole <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> tree from the <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a> based application (from the top level <a title="GTK+" href="http://www.gtk.org">GTK+</a> window down to the deepest accessibility object inside <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore" rel="nofollow">WebCore</a>) available to <a href="http://git.gnome.org/browse/at-spi2-core/tree/registryd" rel="nofollow">the AT-SPI registry</a> by means of <a title="D-Bus" href="http://www.freedesktop.org/wiki/Software/dbus">D-Bus</a>.</p>
<p><strong>WebKit2GTK+ specific details</strong>:</p>
<p>I already talked about this <a title="Accessibility support in WebKit2GTK+" href="/2012/01/27/accessibility-support-in-webkit2gtk/">in</a> <a title="WebKitGTK+ Hackfest: WK2, a11y and Ephiphany’s ad blocker extension" href="/2011/12/06/webkitgtk-hackfest-wk2-a11y-and-ephiphanys-ad-blocker/">previous</a> <a title="Orca and WebKit2GTK+: initial results" href="/2011/11/11/orca-and-webkit2gtk-initial-results/">posts</a>, so I will focus here just on commenting the main difference compared to the generic case for <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a> described earlier (see previous diagram above):</p>
<p><a title="WebKit2GTK+" href="http://webkitgtk.org/reference/webkit2gtk/unstable/index.html">WebKit2GTK+</a> implements a split-process model, where the  high level API belongs to one process (the <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebKit2/UIProcess/"><em>UI process</em></a>) while the core logic of the web engine lives in another one (the <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebKit2/WebProcess/"><em>Web process</em></a>).</p>
<p>From an accessibility point of view, this means that the full hierarchy of <a title="AtkObject" href="http://developer.gnome.org/atk/stable/AtkObject.html">ATK objects</a> we had before is also split in two parts: some accessibility objects are now in the <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebKit2/UIProcess/"><em>UI process</em></a> and the rest of them will be in the <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebKit2/WebProcess/"><em>Web process</em></a>.</p>
<p>To be more specific, we&rsquo;ll find the following objects in each process:</p>
<ul>
	<li><strong><em>UI Process</em></strong>: basically, the <a title="AtkObject" href="http://developer.gnome.org/atk/stable/AtkObject.html">ATK object</a> associated with the <a href="http://developer.gnome.org/gtk3/stable/GtkWidget.html">GtkWidget</a> provided by <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a>, that is, the <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h">WebView</a>.</li>
	<li><strong><em>Web Process</em></strong>: the whole hierarchy of <a title="AtkObject" href="http://developer.gnome.org/atk/stable/AtkObject.html">ATK objects</a> wrapping the accessibility objects from <a href="https://svn.webkit.org/repository/webkit/trunk/Source/WebCore" rel="nofollow">WebCore</a>.</li>
</ul>
As <a title="Blog post: WebKit Contributors Meeting, sockets &amp; plugs" href="/2011/05/05/webkit-contributors-meeting-sockets-plugs/">I explained previously</a>, these two <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a> hierarchies will be seen as a single accessibility hierarchy by <em>ATs</em> thanks to the "magic" of <a title="AtkPlug" href="http://developer.gnome.org/atk/stable/atk-AtkPlug.html">AtkPlug</a> and <a title="AtkSocket" href="http://developer.gnome.org/atk/stable/atk-AtkSocket.html">AtkSocket</a> classes, which takes care of exposing everything together in a single <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a> tree. And remember that such a tree is modelled by means of <a title="D-Bus" href="http://www.freedesktop.org/wiki/Software/dbus">D-Bus</a>, so it does not matter that things are actually in different processes.
<p>Thus, since <em>ATs</em> just<em> </em> understand <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a>, they will see The Right Thing (tm) as in the previous case where we have one single process. See the following diagram for a more visual explanation of this:</p>
<p><a href="/2013/02/03/accessibility-in-webkitgtk/wk2gtk-a11y/" rel="attachment wp-att-1447"><img class="aligncenter size-large wp-image-1447" alt="Accessibility in WebKit2GTK+" src="/wp-content/uploads/2013/02/wk2gtk-a11y-600x335.png" width="584" height="326" /></a></p>
<h3>Wrapping up</h3>
So that's it. At the end the post turned out to be longer than what I was expecting, as my initial idea was to publish the stuff I wrote internally at <a title="SERI UK" href="http://www.linkedin.com/company/samsung-electronics-research-institute">Samsung</a> this week, but ended up extending it quite a lot!
<p>At least I hope this will be helpful for anyone willing to contribute to accessibility, either in <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a> or in a more general way.</p>
<p>After all, most of the stuff I talked about here applies to  every accesible <a title="GTK+" href="http://www.gtk.org">GTK+</a> application: <a href="http://en.wikipedia.org/wiki/Assistive_technology" rel="nofollow">Assistive Technologies (<em>ATs</em>)</a>, <a href="http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus" rel="nofollow">AT-SPI</a>, <a href="http://developer.gnome.org/atk/stable/index.html" rel="nofollow">ATK</a>, the <a href="http://git.gnome.org/browse/at-spi2-atk/" rel="nofollow">ATK &lt;-&gt; AT-SPI bridge</a>&hellip;</p>
<p>Last, I would like to thanks <a title="Joanmarie Diggs's blog" href="http://blog.grain-of-salt.com/">Joanmarie Diggs</a> from <a title="Igalia" href="http://www.igalia.com">Igalia</a> for her help with this blog post. One certainly feels more confident writing a long article like this one about a very specific topic when you have one of the most experienced persons on the matter reviewing it!</p>
]]></content:encoded></item><item><title>WebKitGTK+ 1.10 is almost here!</title><link>https://mariospr.org/2012/09/14/webkitgtk-1-10-is-almost-here/</link><pubDate>Fri, 14 Sep 2012 17:38:27 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=1063</guid><description>&lt;p&gt;As you might already know, the new and shiny 3.6 release of the &lt;a title="The GNOME project" href="http://www.gnome.org"&gt;GNOME&lt;/a&gt; desktop is &lt;a title="GNOME 3.5.x development series" href="https://live.gnome.org/ThreePointFive"&gt;right around the corner&lt;/a&gt;, and so it&amp;rsquo;s the next release of &lt;a title="WebKitGTK+" href="http://wwww.webkitgtk.org"&gt;WebKitGTK+&lt;/a&gt;, the port of the &lt;a title="The WebKit project" href="http://www.webkit.org"&gt;WebKit&lt;/a&gt; web rendering engine to the &lt;a title="The GTK+ platform" href="http://www.gtk.org"&gt;GTK+&lt;/a&gt; platform.&lt;/p&gt;
&lt;p&gt;And it turns out that such a release is going to be a very special one for us, members of the &lt;a title="Igalia WebKit team" href="http://www.igalia.com/webkit/"&gt;WebKit team&lt;/a&gt; at &lt;a title="Igalia" href="http://www.igalia.com"&gt;Igalia&lt;/a&gt;,  since it comes with some very interesting features, like those I already mentioned in the &lt;a title="WebKitGTK+: current status and roadmap" href="https://mariospr.org/talks/guadec2012-webkitgtk"&gt;talk I gave during the past GUADEC&lt;/a&gt;, mainly:&lt;/p&gt;</description><content:encoded><![CDATA[<p>As you might already know, the new and shiny 3.6 release of the <a title="The GNOME project" href="http://www.gnome.org">GNOME</a> desktop is <a title="GNOME 3.5.x development series" href="https://live.gnome.org/ThreePointFive">right around the corner</a>, and so it&rsquo;s the next release of <a title="WebKitGTK+" href="http://wwww.webkitgtk.org">WebKitGTK+</a>, the port of the <a title="The WebKit project" href="http://www.webkit.org">WebKit</a> web rendering engine to the <a title="The GTK+ platform" href="http://www.gtk.org">GTK+</a> platform.</p>
<p>And it turns out that such a release is going to be a very special one for us, members of the <a title="Igalia WebKit team" href="http://www.igalia.com/webkit/">WebKit team</a> at <a title="Igalia" href="http://www.igalia.com">Igalia</a>,  since it comes with some very interesting features, like those I already mentioned in the <a title="WebKitGTK+: current status and roadmap" href="/talks/guadec2012-webkitgtk">talk I gave during the past GUADEC</a>, mainly:</p>
<ul>
	<li>Beta version of the <strong><em>WebKit2GTK+ API</em></strong></li>
	<li>Support for <em><strong>Accelerated Compositing</strong></em></li>
	<li><em><strong>WebGL</strong></em> enabled by default</li>
	<li>Support for <strong>HTML5</strong> Fullscreen and <strong>WebAudio</strong></li>
	<li>Multimedia layer ported to <strong>GStreamer 0.11</strong></li>
	<li>Support for the <strong>Low-Level Interpreter</strong> in JavaScriptCore</li>
</ul>
From all those, I'm specially happy because we will be finally releasing the very first beta version of the new <strong><em>WebKit2GTK+ API</em></strong>, based in the multi-process architecture of <a title="WebKit2" href="http://trac.webkit.org/wiki/WebKit2">WebKit2</a>, as well as providing support for <strong><em>Accelerated Compositing</em></strong> and <strong><em>WebGL</em></strong>.
<p>This new <em><a title="WebKit2GTK+ API" href="http://webkitgtk.org/reference/webkit2gtk/unstable/index.html">WebKit2GTK+ API</a></em>, as you perhaps already know, will allow applications gain the split process model of <a title="WebKit2" href="http://trac.webkit.org/wiki/WebKit2">WebKit2</a> out-of-the box, which is awesome. Xan already mentioned  some of the advantages of it becoming beta for <a title="The GNOME project" href="http://www.gnome.org">GNOME</a> 3.6 <a title="We are almost there: Web in 3.6.0" href="http://blogs.gnome.org/xan/2012/09/11/we-are-almost-there-web-in-3-6-0/">in his last post this week</a>, being my favorite ones the &ldquo;<em>increased responsiveness and stability</em>&rdquo; (quoting <a title="We are almost there: Web in 3.6.0" href="http://blogs.gnome.org/xan/2012/09/11/we-are-almost-there-web-in-3-6-0/">Xan</a>) that will come with it, as well as the fact that it will be not only powerful enough to port old applications and write new ones, but also simpler and easier to use (we are putting a lot of effort on <a title="WebKit2GTK+ Roadmap" href="http://trac.webkit.org/wiki/WebKitGTK/WebKit2Roadmap">this</a>).</p>
<p>And honestly, I think we are doing pretty well in that regard, even though there&rsquo;s still a lot of work to do before we can release an stable version of this new API (due for <a title="WebKitGTK+" href="http://wwww.webkitgtk.org">WebKitGTK+</a> 2.0,  to be released with <a title="The GNOME project" href="http://www.gnome.org">GNOME</a> 3.8), which will also mean the very first version of <a title="Epiphany and WebKit2" href="https://blogs.igalia.com/carlosgc/2012/07/02/epiphany-and-webkit2/">Epiphany that will be using WebKit2 by default</a>.</p>
<p>With regard to <em>Accelerated Compositing </em>and <em>WebGL</em>, I&rsquo;d just like to mention that having them supported in <a title="WebKitGTK+" href="http://wwww.webkitgtk.org">WebKitGTK+</a> from now on is great because it means you will be able to render visually stunning web content in your browser of choice (epiphany, huh?), as well as enjoy more subtle improvements such as smoother animations or increased responsivenes while browsing. You can visit this <a title="Accelerated compositing update" href="http://blog.abandonedwig.info/2012/07/accelerated-compositing-update.html">post by my mate Martin</a> for more details on this topic.</p>
<p>Anyway, all these are very nice words and all that, but sometimes it&rsquo;s not that easy to properly understand <em>just with words</em> what exactly those <em>things</em> will actually mean for users, so I decided to spend some time today polishing a bit the videos I used as demos in my talk during <a title="GUADEC!" href="http://www.guadec.org">GUADEC</a>, and link them from here, so everyone can easily watch them now.</p>
<p>Hope you enjoy watching them as much as I did making them:</p>
<p style="text-align: center;"><iframe src="https://player.vimeo.com/video/49440927" frameborder="0" width="500" height="280"></iframe></p>
<p style="text-align: center;"><a href="http://vimeo.com/49440927">WebKitGTK+: WebGL and Accelerated Compositing</a></p>
<p style="text-align: center;"><iframe src="https://player.vimeo.com/video/49443843" frameborder="0" width="500" height="281"></iframe></p>
<p style="text-align: center;"><a href="http://vimeo.com/49443843">WebKit2GTK+: The UI and the Web process</a></p>
<p style="text-align: center;"><iframe src="https://player.vimeo.com/video/49446048" frameborder="0" width="500" height="281"></iframe></p>
<p style="text-align: center;"><a href="http://vimeo.com/49446048">WebKit2GTK+: The Plugin process</a></p>
]]></content:encoded></item><item><title>GUADEC, WebKit and bikes</title><link>https://mariospr.org/2012/07/20/guadec-webkit-and-bikes/</link><pubDate>Fri, 20 Jul 2012 19:24:30 +0000</pubDate><guid isPermaLink="false">https://mariospr.org/?p=796</guid><description>&lt;p&gt;&lt;a href="http://www.guadec.org"&gt;&lt;img class="alignright" src="https://mariospr.org/wp-content/uploads/2012/07/guadec2012-logo.png" alt="I'm going to GUADEC" width="125" height="125" /&gt;&lt;/a&gt;It seems this year &lt;a title="GUADEC" href="http://www.guadec.org"&gt;GUADEC&lt;/a&gt; is going to be pretty close to my place and so I will surely attend, but this time I won&amp;rsquo;t go by plane but by bike, which since some months ago has become my main vehicle for moving around the beautiful city where I live in: &lt;a title="A Coruña" href="http://en.wikipedia.org/wiki/A_Coru%C3%B1a"&gt;A Coruña&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Also, besides hanging around the venue and trying to help as much as possible as the local I am, I&amp;rsquo;ll be talking about &lt;a title="WebKitGTK+" href="http://www.webkitgtk.org"&gt;WebKitGTK+&lt;/a&gt; in the &lt;a title="WebKitGTK+: current status and roadmap" href="https://www.gpul.org/indico/contributionDisplay.py?contribId=32&amp;amp;confId=0"&gt;afternoon on Thursday 26th&lt;/a&gt;, so feel free to come round the room if you feel curious about the current status of the whole thing and the current plans for the short and medium term, which are mostly focused around &lt;a title="WebKit2" href="http://trac.webkit.org/wiki/WebKit2"&gt;WebKit2&lt;/a&gt; and the &lt;a title="Roadmap to WebKit2GTK+" href="http://trac.webkit.org/wiki/WebKitGTK/WebKit2Roadmap"&gt;roadmap&lt;/a&gt; we&amp;rsquo;re already following.&lt;/p&gt;</description><content:encoded><![CDATA[<p><a href="http://www.guadec.org"><img class="alignright" src="/wp-content/uploads/2012/07/guadec2012-logo.png" alt="I'm going to GUADEC" width="125" height="125" /></a>It seems this year <a title="GUADEC" href="http://www.guadec.org">GUADEC</a> is going to be pretty close to my place and so I will surely attend, but this time I won&rsquo;t go by plane but by bike, which since some months ago has become my main vehicle for moving around the beautiful city where I live in: <a title="A Coruña" href="http://en.wikipedia.org/wiki/A_Coru%C3%B1a">A Coruña</a>.</p>
<p>Also, besides hanging around the venue and trying to help as much as possible as the local I am, I&rsquo;ll be talking about <a title="WebKitGTK+" href="http://www.webkitgtk.org">WebKitGTK+</a> in the <a title="WebKitGTK+: current status and roadmap" href="https://www.gpul.org/indico/contributionDisplay.py?contribId=32&amp;confId=0">afternoon on Thursday 26th</a>, so feel free to come round the room if you feel curious about the current status of the whole thing and the current plans for the short and medium term, which are mostly focused around <a title="WebKit2" href="http://trac.webkit.org/wiki/WebKit2">WebKit2</a> and the <a title="Roadmap to WebKit2GTK+" href="http://trac.webkit.org/wiki/WebKitGTK/WebKit2Roadmap">roadmap</a> we&rsquo;re already following.</p>
<p>You probably already read some news related to this coming from my mates in the <a title="Igalia" href="http://www.igalia.com">Igalia</a> <a title="WebKit" href="http://www.webkit.org">WebKit</a> team, (like the improvements in <a title="Accelerated compositing update" href="http://blog.abandonedwig.info/2012/07/accelerated-compositing-update.html">Accelerated Compositing</a> or the <a title="Epiphany and WebKit2" href="https://blogs.igalia.com/carlosgc/2012/07/02/epiphany-and-webkit2/">migration of our handsome browser Epiphany to using WebKit2</a>), yet I will try to deliver an interesting talk to y&rsquo;all. I just hope I&rsquo;ll be able to do it (but please forgive me if I don&rsquo;t).</p>
<p>So that&rsquo;s it. As usual, just feel free to talk me if you see me around if you want. I&rsquo;ll basically be around the venue most of the time during <a title="GUADEC" href="http://www.guadec.org">GUADEC</a>, and will attend <a title="BoFs in GUADEC 2012" href="https://live.gnome.org/GUADEC/2012/BOFs">a11y and WebKitGTK+ BoFs</a> on the 30th and 31st, so I&rsquo;d say it will be pretty easy to find me.</p>
]]></content:encoded></item></channel></rss>