<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ivan Čukić &#187; Activities</title>
	<atom:link href="http://ivan.fomentgroup.org/blog/tag/activities/feed/" rel="self" type="application/rss+xml" />
	<link>http://ivan.fomentgroup.org/blog</link>
	<description>Free Software Developer and Enthusiast</description>
	<lastBuildDate>Sun, 05 Sep 2010 22:15:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>First activities client application</title>
		<link>http://ivan.fomentgroup.org/blog/2010/07/12/first-activities-client-application/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/07/12/first-activities-client-application/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 17:59:03 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/07/12/first-activities-client-application/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Activities]]></category>
		<category><![CDATA[Nepomuk]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=858</guid>
		<description><![CDATA[At last Tokamak (Plasma developer sprint), I&#8217;ve made a small KWrite proof-of-concept patch just to see how it will behave with the new activities framework &#8211; notifying system when it opens and closes a document. A lot of time has passed since, and activity classes were completely revamped, turned upside-down, went through one API review, [...]]]></description>
			<content:encoded><![CDATA[<p>At last Tokamak (Plasma developer sprint), I&#8217;ve made a small KWrite proof-of-concept patch just to see how it will behave with the new activities framework &#8211; notifying system when it opens and closes a document. A lot of time has passed since, and activity classes were completely revamped, turned upside-down, went through one API review, and moved from the playground to kdebase/libs.</p>
<p>That original patch doesn&#8217;t exist anymore, and even if it did, it wouldn&#8217;t work for all the changes that were made to activities.</p>
<p>The uber-awesome <a href="http://www.kde.org/" class="kblinker" target="_blank">KDE</a> conference &#8211; aKademy &#8211; was a time for something new!</p>
<p><b>New client</b></p>
<p>Ok, after this introduction you&#8217;d expect that I&#8217;ve written another patch for KWrite. Well, you&#8217;re wrong. The first application that supports activities as a client is Vim! <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The main reason I went for Vim this time was to prove that non-kde apps can work with our awesome concept of activities. Another reason is that I didn&#8217;t want to use KActivity* classes, so that I can see whether the d-bus protocol is sufficiently profound for this task. It turned out that it is, but there are some improvements to be made.</p>
<p>At the moment, only Vim invoked from a terminal emulator program (eg Konsole) can work with activities since I can&#8217;t find a way to retrieve the window id of a GUI-enabled Vim from vimscript, so I&#8217;m essentially using WINDOWID environment variable that terminal emulators set.
<p>The following is a debugging output of the activity manager daemon related to Vim windows</p>
<p><code>resourceWindowRegistered: 54526034 file:///home/ivan/mailacc.txt<br />
resourceWindowUnregistered: 54526034 file:///home/ivan/.vimrc<br />
resourceWindowRegistered: 85983274 file:///home/ivan/<br />
resourceWindowRegistered: 85983274 file:///usr/share/vim/vim72/doc/options.txt</code></p>
<p><b>Truly limitless possibilities!!!</b></p>
<p>^^^^ just wanted to write an awesome marketing-speak sentence for the end of the post <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/07/12/first-activities-client-application/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tokamak 4: Activities</title>
		<link>http://ivan.fomentgroup.org/blog/2010/02/25/tokamak-4-activities/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/02/25/tokamak-4-activities/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 23:34:04 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/02/25/tokamak-4-activities/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Activities]]></category>
		<category><![CDATA[kded]]></category>
		<category><![CDATA[Nepomuk]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[Tokamak]]></category>
		<category><![CDATA[Tokamak 4]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=756</guid>
		<description><![CDATA[This one will be short, I don&#8217;t really have the will for writing &#8211; it is half past midnight here. The activities infrastructure is mostly finished &#8211; now only polishing is left to be done. The new organization goes like this: The core activity-related features are placed into a kded module which doesn&#8217;t depend on [...]]]></description>
			<content:encoded><![CDATA[<p>This one will be short, I don&#8217;t really have the will for writing &#8211; it is half past midnight here.</p>
<p>The activities infrastructure is mostly finished &#8211; now only polishing is left to be done.</p>
<p>The new organization goes like this:</p>
<p>The core activity-related features are placed into a kded module which doesn&#8217;t depend on anything but Qt and the core <a href="http://www.kde.org/" class="kblinker" target="_blank">kde</a> libraries. The class for writing the clients of this service (any program that wants to be able to react to activity changes etc.) will be in kdelibs. The API is minimal and very easy to use &#8211; it took me only a couple of minutes to patch KWrite to be able to use activities.</p>
<p>The second part is the revamped Nepomuk Activities service (I already blogged about it &#8211; the changes made at T4 were mainly related to make it fit the new arhitecture). If it is running, the above class passes all the info to it. Running the service enables the access to extra meta-data regarding documents and activities.</p>
<p>The third, and last part is the manager class which will be in kdebase/workspace (most probably) because it is only intended to be used by kwin and <a href="http://plasma.kde.org/" class="kblinker" target="_blank">plasma</a>. Normal programs shouldn&#8217;t use it.</p>
<p>The next step is the UI &#8211; kwin and plasma</p>
<p>Cheerio.</p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/02/25/tokamak-4-activities/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nepomuk/Plasma Activities</title>
		<link>http://ivan.fomentgroup.org/blog/2010/01/24/nepomukplasma-activities/</link>
		<comments>http://ivan.fomentgroup.org/blog/2010/01/24/nepomukplasma-activities/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 13:58:28 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2010/01/24/nepomukplasma-activities/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Activities]]></category>
		<category><![CDATA[KIO]]></category>
		<category><![CDATA[Nepomuk]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[Plasma]]></category>
		<category><![CDATA[ZUI]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=675</guid>
		<description><![CDATA[Unfortunately, the activities service didn&#8217;t make it into 4.4 because there wasn&#8217;t enough time for it to pass on from kdereview into kdebase. This means that it was returned to playground for further processing. The service has grown a bit and now it exposes a few more methods like linking activities to other nepomuk resources [...]]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, the activities service didn&#8217;t make it into 4.4 because there wasn&#8217;t enough time for it to pass on from kdereview into kdebase. This means that it was returned to playground for further <i>processing</i>. <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The service has grown a bit and now it exposes a few more methods like linking activities to other nepomuk resources (documents, places&#8230;).</p>
<p><b>KIO</b></p>
<p>Since the service is not really useful by itself (from the user&#8217;s point of view), it will need some kind of UI. The main UI will be <a href="http://plasma.kde.org/" class="kblinker" target="_blank">Plasma</a> and the ZUI replacement which will be one of the Tokamak4&#8242;s main topics.</p>
<p><a href="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/01/kio_activities.png"><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2010/01/kio_activities-300x281.png" alt="" title="KIO Activities" width="300" height="281" class="alignnone size-medium wp-image-676" /></a></p>
<p>For the time being, I made a KIO slave shown in the picture above. It lists the defined activities and the resources linked to it. At the moment, the resources are limited to Applications, Documents, Places and Contacts (I&#8217;ve just realized that those are the same sections that are in <a href="http://lancelot.fomentgroup.org/" class="kblinker" target="_blank">Lancelot</a> &#8211; completely by accident).</p>
<p>The data shown in the picture is a garbage data I put into nepomuk for the sake of testing (no sane person would put Thumbs.db in the work-related documents. <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2010/01/24/nepomukplasma-activities/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
