<?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>Manitou-Mail Blog &#187; New features</title>
	<atom:link href="http://www.manitou-mail.org/blog/category/new-features/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.manitou-mail.org/blog</link>
	<description>on the use and development of the Manitou-Mail program</description>
	<lastBuildDate>Mon, 23 Aug 2010 19:50:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Version 1.0.1 is available for download</title>
		<link>http://www.manitou-mail.org/blog/2010/08/version-1-0-1-is-available-for-download/</link>
		<comments>http://www.manitou-mail.org/blog/2010/08/version-1-0-1-is-available-for-download/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 19:50:26 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[New features]]></category>

		<guid isPermaLink="false">http://www.manitou-mail.org/blog/?p=135</guid>
		<description><![CDATA[<p>This version was mostly intended to be a bugfix release, but it turned out that some new features were needed quickly, so here there are:</p>

Dynamic fields in signatures, see the section of the documentation about identities
Instant update of counters in the quick selection panel, technically based on database notifications.
Optional automatic incorporation of new messages into [...]]]></description>
			<content:encoded><![CDATA[<p>This version was mostly intended to be a bugfix release, but it turned out that some new features were needed quickly, so here there are:</p>
<ol>
<li>Dynamic fields in signatures, see <a title="documentation" href="http://www.manitou-mail.org/doc/ui.preferences.html#ui.preferences.identities">the section of the documentation about identities</a></li>
<li>Instant update of counters in the quick selection panel, technically based on database notifications.</li>
<li>Optional automatic incorporation of new messages into the list. This option still needs to be activated in the Preferences-&gt;Fetching panel, since I&#8217;m not sure yet that this behaviour is desirable for large databases. It may become the default later when some more tests have been done.</li>
</ol>
<p>On the bugs front, the counters in the quick query selection panel were not always properly updated in automatic mode, unless an explicit refresh was requested, that problem is hopefully fixed for good in 1.0.1. Also, the mime_types table was left empty by the installation by <tt>manitou-mgr --create-database</tt>, and it turned out that the user interface was likely to crash because of that when attaching a file in the composer. Both problems are also fixed.</p>
<p>The released files are still only <a title="download" href="http://www.manitou-mail.org/download.php">source code</a>, but in the next few weeks there should be a a debian package for manitou-mdx and Ubuntu packages for both manitou-mdx and the user interface. It doesn&#8217;t seem like the debian stable distribution has Qt-4.5, that&#8217;s why the user interface won&#8217;t be packaged for debian stable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.manitou-mail.org/blog/2010/08/version-1-0-1-is-available-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Face header support</title>
		<link>http://www.manitou-mail.org/blog/2009/10/face-header-support/</link>
		<comments>http://www.manitou-mail.org/blog/2009/10/face-header-support/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 01:26:53 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[New features]]></category>
		<category><![CDATA[Usage]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.manitou-mail.org/blog/?p=93</guid>
		<description><![CDATA[<p>While the X-Face header (48&#215;48 BW picture) has been supported for a long time in the Manitou-Mail user interface, the Face header (48&#215;48 color PNG) was not until yesterday.
Now it is, and while testing the code, I&#8217;ve found that it was another case where an SQL query quickly solved a practical selection problem. The Face [...]]]></description>
			<content:encoded><![CDATA[<p>While the <a href="http://en.wikipedia.org/wiki/X-Face">X-Face header</a> (48&#215;48 BW picture) has been supported for a long time in the Manitou-Mail user interface, the <a href="http://quimby.gnus.org/circus/face/">Face header</a> (48&#215;48 color PNG) was not until yesterday.<br />
Now it is, and while testing the code, I&#8217;ve found that it was another case where an SQL query quickly solved a practical selection problem. The Face header is indeed not so widely used, so getting a significant sample of different pictures to show is not obvious. Ideally I wanted to extract from my mail archive a gallery of pictures that would be all different. That is, if someone had posted 1000 messages with the same Face header, I wasn&#8217;t interested in getting all those messages, only one of them, let&#8217;s say the first by it&#8217;s ID, and I wanted the next mail in the list to be with a different, non-empty Face, and so on for every message that I wanted to look at. It turns out, that in SQL, it can be expressed with:</p>
<p><code>SELECT min(mail_id)<br />
 FROM header<br />
WHERE position(E'\nFace: ' in lines)&gt;0<br />
GROUP BY<br />
 split_part(substr(lines, position(E'\nFace: ' in lines)+7, 1300), E'\n', 1)<br />
</code><br />
position(&#8230;) let us know where the Face header field begins, substr(&#8230;) extracts a sufficient length of it, and split_part(&#8230;) cuts exactly the value at the first newline which marks the end of this header&#8217;s value (they&#8217;re unfolded in the header table precisely to be able to perform that kind of extraction).<br />
Finally the GROUP BY ensures that each row in the result represents a distinct value of the Face header.</p>
<p>This query can be directly input into the SQL statement field of the Query Selection dialog, after which all there is to do is wait for the database engine to run it to completion.</p>
<p>On my sample database of about 800,000 messages from various mailing lists, it turned out that the result was a list of 176 messages. Here is a collage of a selection of the pictures (public messages only).<br />
<img src="http://www.manitou-mail.org/blog/wp-content/uploads/2009/10/face-gallery.png" alt="face-gallery" width="426" height="733" class="aligncenter size-full wp-image-94" /><br />
Here is how one particular message looks with its Face header:<br />
<img src="http://www.manitou-mail.org/blog/wp-content/uploads/2009/10/face-sample-msg.png" alt="face-sample-msg" width="479" height="164" class="aligncenter size-full wp-image-101" /><br />
Right now this is just about displaying, sometime in the future I&#8217;ll try to add Face headers to outgoing mail, and also I&#8217;d like to associate pictures to sender addresses so that messages from people who don&#8217;t use a Face header (the majority) still can be shown with a dedicated picture. I feel like even tags or sender domains (which means companies and organizations), could benefit from that kind of visual representation in certain cases.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.manitou-mail.org/blog/2009/10/face-header-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
