<?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>PatCavit.com &#187; Mercurial</title>
	<atom:link href="http://patcavit.com/category/mercurial/feed/" rel="self" type="application/rss+xml" />
	<link>http://patcavit.com</link>
	<description>I &#60;3 Programming</description>
	<lastBuildDate>Mon, 16 May 2011 16:11:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Mercurial Update</title>
		<link>http://patcavit.com/2005/04/21/mercurial-update/</link>
		<comments>http://patcavit.com/2005/04/21/mercurial-update/#comments</comments>
		<pubDate>Fri, 22 Apr 2005 05:01:31 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
				<category><![CDATA[Mercurial]]></category>

		<guid isPermaLink="false">http://patcavit.com/2005/04/21/mercurial-update/</guid>
		<description><![CDATA[TABBING TABBING TABBING. Hooray for tabs! It also no longer crashes when you delete all text in the box. Bullets will display but are not saved to file (this is a pain in my ass&#8230;)]]></description>
			<content:encoded><![CDATA[<p>TABBING TABBING TABBING.  Hooray for tabs!  It also no longer crashes when you delete all text in the box.  Bullets will display but are not saved to file (this is a pain in my ass&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2005/04/21/mercurial-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Icons are tough</title>
		<link>http://patcavit.com/2005/03/28/icons-are-tough/</link>
		<comments>http://patcavit.com/2005/03/28/icons-are-tough/#comments</comments>
		<pubDate>Tue, 29 Mar 2005 07:29:01 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
				<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://patcavit.com/2005/03/28/icons-are-tough/</guid>
		<description><![CDATA[I spent an hour or two working on some sort of icon for Mercurial beyond the scribbles that I had originally used. I finally settled on an icon much like the standard Windows XP Icons. Following (sort of) the steps from here, I decided on two application windows stacked on top of each other. It [...]]]></description>
			<content:encoded><![CDATA[<p>I spent an hour or two working on some sort of icon for Mercurial beyond the scribbles that I had originally used.  I finally settled on an icon much like the standard Windows XP Icons.  Following (sort of) the steps from <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/winxpicons.asp">here</a>, I decided on two application windows stacked on top of each other.  It symbolizes what Mercurial does reasonably well, and looks clean.  I wasn&#8217;t sure about getting the perspective stuff working properly, but after a little bit of tracing I had some lines to follow.  From there it was just getting an application screenshot (I used notepad), tracing outlines, filling with colors and lots of resizing.  Creating Windows XP icons isn&#8217;t too bad, although the instructions I linked to aren&#8217;t the best I&#8217;ve ever seen.</p>
<p>Either way, here&#8217;s what I ended up with.  It looks pretty good on the desktop but the system tray version suffers a little bit.  I need to figure out how to clean up the edges some, but that really isn&#8217;t all that many pixels.  Definitely not a high priority.</p>
<p><img src="http://patcavit.com/pictures/Mercurial Icon.png"/></p>
<p><img src="http://patcavit.com/pictures/Mercurial Systray.png"/></p>
<hr />
<p>Here&#8217;s what I accomplished today:</p>
<ul>
<li>New Icon, it&#8217;s much prettier</li>
<li>Created TitlePicker dialog, used when renaming notes or creating new ones without using a link</li>
<li>Ability to rename notes</li>
<li>Made settings + titlePicker more like dialogs</li>
<li>DID I MENTION A NEW ICON?!?</li>
<li>Deleting a note makes sure that there is a backup first</li>
<li>code cleanup around renaming/deleting, since a lot of that can be shared</li>
<li>Double-Clicking systray icon now creates a new note</li>
<li>If note is not changed and closed the saving step will be skipped</li>
</ul>
<p>And here&#8217;s my revised to-do list:</p>
<ul>
<li>Context Menu Item to show all notes on screen at once?</li>
<li>Make settings changes apply to all open notes</li>
<li>More testing of link insertion code, appears to still be a little wonky</li>
<li>try to track down slight flashing bug.  I still don&#8217;t know what is casing that&#8230;</li>
<li>Some sort of note browser that allows for viewing all notes and choosing which to open</li>
<li>searching titles + text of notes</li>
<li>plugin system</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2005/03/28/icons-are-tough/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Progress Continues</title>
		<link>http://patcavit.com/2005/03/28/progress-continues/</link>
		<comments>http://patcavit.com/2005/03/28/progress-continues/#comments</comments>
		<pubDate>Mon, 28 Mar 2005 11:41:58 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
				<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://patcavit.com/2005/03/28/progress-continues/</guid>
		<description><![CDATA[I&#8217;m specifically not posting this one to Planet ResTek because I think Sitzmar&#8217;s getting annoyed with me putting non-ResTek stuff on there. Here&#8217;s what was completed tonight: Settings Form design Specifying default values from config for settings form Config singleton, pulls values from config.xml cleaned up link parsing added code to reduce flickering (haven&#8217;t licked [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m specifically not posting this one to Planet ResTek because I think Sitzmar&#8217;s getting annoyed with me putting non-ResTek stuff on there.</p>
<p>Here&#8217;s what was completed tonight:</p>
<ul>
<li>Settings Form design</li>
<li>Specifying default values from config for settings form</li>
<li>Config singleton, pulls values from config.xml</li>
<li>cleaned up link parsing</li>
<li>added code to reduce flickering (haven&#8217;t licked it yet&#8230;)</li>
<li>Updating dropdowns for font/fontsize automatically update sample text</li>
<li>Added FolderBrowserDialog to allow for changing folder for note storage</li>
<li>Wrote config saving function, saves on exit</li>
</ul>
<p>Here&#8217;s what I know I have to do in the near future:</p>
<ul>
<li>NoteForm.cs (213): TODO: Add URL ability in here somehow&#8230;</li>
<li>NoteForm.cs (238): TODO: implement note renaming (do I have to create a form? BOO)</li>
<li>Context Menu Item to show all notes on screen at once?</li>
<li>Make settings changes apply to all open notes</li>
<li>More testing of link insertion code, appears to still be a little wonky</li>
<li>try to track down slight flashing bug.  I still don&#8217;t know what is casing that&#8230;</li>
<li>More robust file existence checking in all cases, but especially file backups!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2005/03/28/progress-continues/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fleshing Things Out</title>
		<link>http://patcavit.com/2005/03/27/fleshing-things-out/</link>
		<comments>http://patcavit.com/2005/03/27/fleshing-things-out/#comments</comments>
		<pubDate>Sun, 27 Mar 2005 11:03:58 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
				<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://patcavit.com/2005/03/27/fleshing-things-out/</guid>
		<description><![CDATA[I spent a good chunk of time this evening implementing some of the smaller things that Mercurial needs to be able to do. Stuff like: global hotkey to open a new note deleting notes dialog confirming note deletion saving notes when you close them (via the menu item or the &#8220;X&#8221;) keyboard shortcuts for deleting/renaming [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a good chunk of time this evening implementing some of the smaller things that Mercurial needs to be able to do.  Stuff like:</p>
<ul>
<li>global hotkey to open a new note</li>
<li>deleting notes</li>
<li>dialog confirming note deletion</li>
<li>saving notes when you close them (via the menu item or the &#8220;X&#8221;)</li>
<li>keyboard shortcuts for deleting/renaming notes</li>
<li>Sorting recent items list by last changed instead of name</li>
<li>Settings menu item (doesn&#8217;t do anything yet)</li>
<li>Some code cleanup</li>
</ul>
<p>I still need to find time to read up on plugin stuff, but I think that getting this running solidly would be a better use of my time right now.  The ultimate test will be when classes start up again.  I&#8217;ll pull a Microsoft and be &#8220;eating my own dogfood&#8221; and try to use this as much as possible in class.  That&#8217;s really the best way to get an idea of what changes need to be made and what features need to be added.  I&#8217;m honestly a little scared to entrust class notes to this right now, but I&#8217;ve made sure that it does pretty robust file backups when you do things like writing out a new copy of a file or deleting.  Hopefully I won&#8217;t need them, but it&#8217;s nice just in case.</p>
<p>I&#8217;d like to start working on some sort of configuration stuff next, but I&#8217;m not sure how I&#8217;d go about it.  Perhaps I&#8217;ll just create a config class that reads in the configuration info from an XML file.  I can just create a Singleton called Config or what have you, and use that to read the XML and provide getters/setters for config stuff.  This is exciting stuff, I wish I didn&#8217;t have many hours of driving ahead of me tomorrow so I could get to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2005/03/27/fleshing-things-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Killing Time</title>
		<link>http://patcavit.com/2005/03/25/killing-time/</link>
		<comments>http://patcavit.com/2005/03/25/killing-time/#comments</comments>
		<pubDate>Fri, 25 Mar 2005 11:18:45 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
				<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://patcavit.com/2005/03/25/killing-time/</guid>
		<description><![CDATA[This week has been an interesting one. I&#8217;ve made more progress on my Tomboy clone then I ever really thought I&#8217;d be able to do. I usually get stuck on something really tricky and get distracted by something else, but I&#8217;ve been able to stick this one out. Partially due to some dumb luck, partially [...]]]></description>
			<content:encoded><![CDATA[<p>This week has been an interesting one.  I&#8217;ve made more progress on my Tomboy clone then I ever really thought I&#8217;d be able to do.  I usually get stuck on something really tricky and get distracted by something else, but I&#8217;ve been able to stick this one out.  Partially due to some dumb luck, partially due to some help from a couple of people, partially thanks to the MS Newsgroups. <img src='http://patcavit.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So now I&#8217;ve got it doing about what it did the last time I mentioned it, but now it does it BETTER.  That&#8217;s an important distinction, really!  Basic stuff like proper minimization to the tray (this was a bitch and a half), linking, maintaining link status on note reloads (also a pain), etc are all done.  I still need to work on sorting the recent items list and figuring out how exactly a plugin setup works.  I really want to support plugins for this, I&#8217;ve just never done it before.</p>
<p>My assumption for plugin systems is that you provide a plugin interface which&#8217;ll define the methods that plugins should implement.  You have to provide a default, no-op implementation in case the plugin author doesn&#8217;t want to do it.  Aside from that, I guess you create something like an ArrayList of all the plugin classes that implement the interface, and just iterate through them?  I really have no clue.  Another thing to add to my &#8220;I should read about this&#8221; list, it&#8217;s growing longer than I really have time for lately.</p>
<p>I played around and extended my <a href='http://samurize.com'>Samurize</a> config this evening.  Using <a href='http://design.weblogsinc.com/entry/1234000963031852/'>this guide</a> I created a new background for it in the oh so tasty Aero style.  I usually hate extraneous eye candy, but there&#8217;s just something about the glassiness of Aero that gets me right where it counts.  Plus I had to resize it anyways after pirating bits of the cool <a href='http://wrt54g.com/pages.php?p=guide_samurize_plugin'>WRT54G samurize script</a> that I was linked to earlier today.</p>
<p>So I managed to end up with something that works pretty well.  I don&#8217;t usually put Samurize and Winamp right next to each other, but it worked for the shot.  The edges could use some resizing and the config spacing needs to be worked on, but I really like it.</p>
<p><a href='http://tivac.com/images/aero big.jpg'><img src='http://tivac.com/images/aero small.jpg'/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2005/03/25/killing-time/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

