<?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>Andreas Schneider &#187; KDE</title>
	<atom:link href="http://blog.cynapses.org/category/kde/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cynapses.org</link>
	<description>a cosmological pedestrian</description>
	<lastBuildDate>Tue, 23 Feb 2010 10:17:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Featurecasts</title>
		<link>http://blog.cynapses.org/2010/02/23/featurecasts/</link>
		<comments>http://blog.cynapses.org/2010/02/23/featurecasts/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 09:57:02 +0000</pubDate>
		<dc:creator>GlaDiaC</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://blog.cynapses.org/?p=141</guid>
		<description><![CDATA[Yesterday I've visited the Tokamak4 Sprint. I've attended the talks in the evening and then had dinner with some KDE hackers. Today I've looked at PlanetKDE and saw the KDE bluetooth screencast from Alex Fiestas. I liked the screencasts in the KDE 4.4 announcement, it should the users what's cool and new. Yesterday I've heard [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I've visited the Tokamak4 Sprint. I've attended the talks in the evening and then had dinner with some KDE hackers. Today I've looked at <a href="http://www.planetkde.org/">PlanetKDE</a> and saw the <a href="http://www.afiestas.org/fulfilling-promises-apple-wireless-keyboard-working-with-kbluetooth/">KDE bluetooth screencast</a> from Alex Fiestas. I liked the <a href="http://www.kde.org/announcements/4.4/">screencasts in the KDE 4.4 announcement</a>, it should the users what's cool and new. Yesterday I've heard the first time about activities in KDE4. I wondered what Aaron is talking about.</p>
<p>Here comes the conclusion:</p>
<p><strong>We need a Featurecast section on the KDE website with screencasts that shows all the cool hidden stuff!</strong></p>
<p>This should be the first thing a user finds on the KDE website. The user normally hasn't installed KDE at all or doesn't have the latest version. So the first thing should be something which shows what you can do with it and how cool this stuff is.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cynapses.org/2010/02/23/featurecasts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Documenting the Source</title>
		<link>http://blog.cynapses.org/2010/02/10/documenting-source-code/</link>
		<comments>http://blog.cynapses.org/2010/02/10/documenting-source-code/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 14:23:26 +0000</pubDate>
		<dc:creator>GlaDiaC</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.cynapses.org/?p=136</guid>
		<description><![CDATA[As you maybe know I have a new job since last December and I'm working on Samba4 now. Samba4 is a monster so I've asked for some simple tasks to get started. The task was to migrate some code to a new Samba library called tsocket. The problem was I didn't know what to do [...]]]></description>
			<content:encoded><![CDATA[<p>As you maybe know I have a new job since last December and I'm working on<br />
Samba4 now. Samba4 is a monster so I've asked for some simple tasks to get<br />
started. The task was to migrate some code to a new Samba library called<br />
tsocket. The problem was I didn't know what to do and how. Some functions<br />
of the API were documented but not all. So I had to guess from the names<br />
what the function is doing and read the code to understand it. Then I've<br />
started to work with the interface and I had to look again the the code to<br />
find out possible return values. In the end I spent a lot of time jumping<br />
through the source code to find out the return values for the functions.</p>
<p>If the API would be completely documented I could get my work done a lot of<br />
faster so I simply started to document it cause I had to understand it anyway.<br />
I've decided to write the documentation with doxygen and put it in the header<br />
file, so that people who use the PAI always have the documentation with them.</p>
<p>After I finished it, started to work on the source code again and got some<br />
things working as I was able to understand the API of the library. Then I<br />
crossed the next undocumented API of a library. Ok, it wasn't undocumented it<br />
had a text file describing everything but having doxygen documentation is much<br />
nicer than a text file. So I've started to document <a href="http://talloc.samba.org/">talloc</a> from Samba4 with<br />
doxygen.</p>
<p>The talloc API uses macros for a lot of things to make debugging easier or<br />
to hide things you're doing from the user. However if you document a macro<br />
than normally you want that it looks like a function. To be able to do that<br />
with doxygen you have to use a little trick. As doxygen has a C preprocessor<br />
built in you can create a define for a doxygen mode. That's what I've done in<br />
the config file and all you need to do in the source code is to use it with<br />
#ifdef.</p>
<p><code>#ifdef DOXYGEN<br />
/**<br />
 * @brief Create a new talloc context.<br />
 *<br />
 * The talloc() macro is the core of the talloc library. It takes a memory<br />
 * context and a type, and returns a pointer to a new area of memory of the<br />
 * given type.<br />
 *<br />
 * The returned pointer is itself a talloc context, so you can use it as the<br />
 * context argument to more calls to talloc if you wish.<br />
 *<br />
 * The returned pointer is a "child" of the supplied context. This means that if<br />
 * you talloc_free() the context then the new child disappears as well.<br />
 * Alternatively you can free just the child.<br />
 *<br />
 * @param[in]  ctx      A talloc context to create a new reference on or NULL to<br />
 *                      create a new top level context.<br />
 *<br />
 * @param[in]  type     The type of memory to allocate.<br />
 *<br />
 * @return              A type casted talloc context or NULL on error.<br />
 *<br />
 * @code<br />
 *      unsigned int *a, *b;<br />
 *<br />
 *      a = talloc(NULL, unsigned int);<br />
 *      b = talloc(a, unsigned int);<br />
 * @endcode<br />
 *<br />
 * @see talloc_zero<br />
 * @see talloc_array<br />
 * @see talloc_steal<br />
 * @see talloc_free<br />
 */<br />
void *talloc(const void *ctx, #type);<br />
#else<br />
#define talloc(ctx, type) (type *)talloc_named_const(ctx, sizeof(type), #type)<br />
void *_talloc(const void *context, size_t size);<br />
#endif<br />
</code></p>
<p>So start to document your API. What you get well be something like <a href="http://talloc.samba.org/">this</a> and other will love it!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cynapses.org/2010/02/10/documenting-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>csync at FOSDEM</title>
		<link>http://blog.cynapses.org/2010/02/01/csync-at-fosdem/</link>
		<comments>http://blog.cynapses.org/2010/02/01/csync-at-fosdem/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:25:22 +0000</pubDate>
		<dc:creator>GlaDiaC</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.cynapses.org/?p=132</guid>
		<description><![CDATA[I'm currently updating csync to work with libssh 0.4 and I will give a lightning talk about csync at FOSDEM next weekend. csync is a file synchronizer to keep two folders in sync. This can be local or remote. The main purpose of csync is to provide Roaming Home Directories. I will work with Aris [...]]]></description>
			<content:encoded><![CDATA[<p>I'm currently updating <a href="http://www.csync.org/">csync</a> to work with <a href="http://www.libssh.org/">libssh</a> 0.4 and I will give a <a href="http://www.fosdem.org/2010/schedule/tracks/lightningtalks">lightning talk</a> about csync at <a href="http://www.fosdem.org">FOSDEM</a> next weekend. csync is a file synchronizer to keep two folders in sync. This can be local or remote. The main purpose of csync is to provide <a href="http://www.csync.org/userguide/">Roaming Home Directories</a>.</p>
<p>I will work with <a href="http://blog.0xbadc0de.be/">Aris</a> on libssh stuff and try to get some small features in KDE for kio_sftp. I heard that some KDE guys are around too. I hope to see you there.</p>
<p>If you're a Samba developer and go to FOSDEM, let me know <img src='http://blog.cynapses.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cynapses.org/2010/02/01/csync-at-fosdem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>kio_sftp updates</title>
		<link>http://blog.cynapses.org/2009/10/01/kio_sftp-updates/</link>
		<comments>http://blog.cynapses.org/2009/10/01/kio_sftp-updates/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 08:39:06 +0000</pubDate>
		<dc:creator>GlaDiaC</dc:creator>
				<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://blog.cynapses.org/?p=129</guid>
		<description><![CDATA[openSUSE has backported the new kio_sftp implementation based on libssh to their KDE 4.3 packages. This increased the users and helped to find some bugs in kio_sftp and KDE. The current implementation is working fairly well. As soon as libssh 0.4 will be released (hopefully soon) I will add more features. Users asked for ~/.ssh/config [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.opensuse.org/Kde">openSUSE</a> has backported the new kio_sftp implementation based on <a href="http://www.libssh.org/">libssh</a> to their KDE 4.3 packages. This increased the users and helped to find some bugs in kio_sftp and KDE. The current implementation is working fairly well.</p>
<p>As soon as libssh 0.4 will be released (hopefully soon) I will add more features. Users asked for ~/.ssh/config support and I've added openssh's statvfs extension to libssh. This means I can check if there is enough space on the server before I copy a file.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cynapses.org/2009/10/01/kio_sftp-updates/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>kio_sftp rewrite upstream</title>
		<link>http://blog.cynapses.org/2009/08/11/kio_sftp-rewrite-upstream/</link>
		<comments>http://blog.cynapses.org/2009/08/11/kio_sftp-rewrite-upstream/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 15:05:58 +0000</pubDate>
		<dc:creator>GlaDiaC</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[kio]]></category>
		<category><![CDATA[libssh]]></category>
		<category><![CDATA[SFTP]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://blog.cynapses.org/?p=114</guid>
		<description><![CDATA[I've commited my kio_sftp rewrite to KDE trunk today. The patch for KDE 4.3 if you want to test it is available here. You need libssh 0.3.2 to get it working but I suggest to use the libssh v0-3 git branch which has fixes found by kio_sftp testers. Thanks to all of them!]]></description>
			<content:encoded><![CDATA[<p>I've <a href="http://websvn.kde.org/?view=rev&#038;revision=1010049">commited</a> my kio_sftp rewrite to KDE trunk today. The patch for KDE 4.3 if you want to test it is available <a href="http://www.cynapses.org/tmp/patches/kde/kio_sftp_rewrite.patch">here</a>. You need libssh 0.3.2 to get it working but I suggest to use the libssh v0-3 git branch which has fixes found by kio_sftp testers. Thanks to all of them!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cynapses.org/2009/08/11/kio_sftp-rewrite-upstream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack Week: kio_sftp in action!</title>
		<link>http://blog.cynapses.org/2009/07/24/kio_sftp-in-action/</link>
		<comments>http://blog.cynapses.org/2009/07/24/kio_sftp-in-action/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 16:45:16 +0000</pubDate>
		<dc:creator>GlaDiaC</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[SFTP]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://blog.cynapses.org/?p=101</guid>
		<description><![CDATA[The openSUSE Hackweek is over and I have a working kio_sftp implementation using libssh. There is still work which needs to be done. I have to cleanup the code and test all the features (resume of files, recursive deletion). Today I've copied successfully the first files to my webserver! I've uploaded the two files to [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://news.opensuse.org/2009/07/08/hack-week-iv-approaches/">openSUSE Hackweek</a> is over and I have a working kio_sftp implementation using <a href="http://www.libssh.org/">libssh</a>. There is still work which needs to be done. I have to cleanup the code and test all the features (resume of files, recursive deletion). Today I've copied successfully the first files to my webserver!</p>
<p><a href="http://blog.cynapses.org/wp-content/uploads/2009/07/kio_sftp1.png" target="_blank"><img src="http://blog.cynapses.org/wp-content/uploads/2009/07/kio_sftp1-300x175.png" alt="kio_sftp" title="kio_sftp in action" width="300" height="175" class="size-medium wp-image-102" /></a></p>
<p>I've uploaded the two files to my webspace, <a href="http://www.cynapses.org/tmp/patches/kde/">here</a>. Remeber that it's not finished yet! You need libssh's v0-3 git branch to get it working. I've found serveral bugs during the week. I will release libssh 0.3.2 next week.</p>
<p>Thanks to Dirk Müller who answered all my question and helped me with the KDE stuff.</p>
<p>Benchmarks will follow soon too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cynapses.org/2009/07/24/kio_sftp-in-action/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
