Blog
Page: 0 ... 5 ... 10 ... 15 ... 20 ... 25 ... 30 33 34 35 36 37 38 39 40 41 ... 45 ... 50 ... 55 ... 60 ... 65 ... 70
Mac Scribe
Date: 12/4/2007
I've been tinkering away on the Mac build of Scribe everyday working on the hard to find little bugs that get left over after all the easy stuff is done. And I had some doozy bugs this week. The first was caused by OS X doing sub-pixel kerning and that mixed with per word metrics in the edit control didn't work. But I eventually nailed that, after spending far too long barking up the wrong trees. Then I had a weird issue where some text would be painted in the wrong colour, even though I checked and re-checked I was passing in the right colours. So it turns out that some of the views were actually attached to the view heirarchy and by way of Lgi's virtual view code were getting kinda painted anyway. So I fixed that and in doing so broke a bunch of other stuff, lots of window weren't attaching at the right place. So it took a while to sort that out. Then some text still wasn't getting painted in the right colour. So I started poking around again and I noticed that openning a mail window would cause the bug to appear. So begins some hours of commenting out parts of code, checking if the bug appears, and then commenting out other parts of code etc. I eventually isolated the problem and found I was reallocating the SysFont handle that had previously been used to create GDisplayString object (text laid out for display) and of course chaos ensued.

But it's getting very close to being ready for a beta release. I've started fixing things in the calendar as well. Thats coming along nicely. I also still need to fix the dynamically generated sub-menus in the main window and show an empty menu when a window other than the main app window is shown, otherwise I get all sorts of weird commands from the menu ending up in say a mail window. Although that might not be the best solution. Still thinking about that.
(0) Comments | Add Comment

IMAP
Date: 7/4/2007
Well there is a ground swell of descent in the ranks over the sub-par IMAP(full) implementation in Scribe. So I've decided that instead of lauching into re-writing the back end code I'll write a new caching IMAP implementation on top of the existing codebase. This will use Maildir backend for caching and I will trial some ideas regarding that and indexing and so on as a little sandboxed test project before trying to change the whole mail folder format over to Maildir. That way I can weight up the pros and cons without commiting to an all out rewrite.

Hopefully this will result in a fast and friendly implementation of IMAP(full) for Scribe and also out of that will come a bunch of useful code for expanding that out to things like local mail storage and remote calendaring.
(0) Comments | Add Comment

New Software Release Feed
Date: 2/4/2007
I've created a new RSS feed for the last 20 Memecode software releases. It has a download link and a list of changes in each post. Some of you might prefer that to having to sign up / maintain preferences in an account.

If you have any great ideas on improving the software release feed just let me know.
(2) Comments | Add Comment

Traditional Tiling In XAML
Date: 2/4/2007
When old skool coder/designer types hear the word "tiling" they think of a repeating pattern of "tiles" of a fixed size that fills an area. In XAML it's not immediately obvious how to do traditional tiling so now that I've worked it out I'm going to share so that Google will index it for the next hapless user needing to tile something.

<DrawingBrush TileMode="Tile" Viewport="0,0,32,24" ViewportUnits="Absolute" Viewbox="0,0,32,24" ViewboxUnits="Absolute">
    <!-- your drawing commands -->
<DrawingBrush>
Will tile a 32x24 "drawing" across your slate such that it doesn't stretch and squish when the object is resized. Obviously change the Viewport and Viewbox to suit your tile size.

(And no, you shouldn't read anything into this)
(0) Comments | Add Comment

PopOverHttp.com
Date: 2/4/2007
Apparently in the last little while PopOverHttp.com died because the hosting company upgraded to PHP4 and the scripts needed fixing for $_GET["field"] style access. And no one even emailed me that it was down. So it seems that no one is using it to any degree. I've fixed the site as far as I can tell by rewriting the scripts and testing most of the functions (all I had time for).

So I'm going to pull the plug on the hosting. Which will mean that it'll stay up for the better part of a year until the hosting I've already paid for runs out and then it'll lapse. I'll keep the domain indefinately because I'm not having some damn squatter put something offensive on it.

If someone decides they want the service to live on, then they can take up the hosting bills. Which aren't much, something like USD$18/year. Or maybe move it to a different hosting company. Whatever.
(3) Comments | Add Comment

Scribe/Mac Alpha 2
Date: 27/3/2007
The 2nd alpha of Scribe for the Mac was released this morning (also known as v1.89 Test15). It should fix all the basic usability issues that the first alpha had so that you can use it for normal emailing. I havn't looked at the calendar at all so I expect there'll be problems there. Also there is an outstanding issue with text measurement where the API reports the size of text is some pixels larger than it actually will draw, leaving a peice of undrawn screen (which I've coloured pink) at the end of a text run. This is just temporary while I work out what the problem is. Just ignore it and it'll go away in a future release.

Thanks for the feedback so far. I'll also stop going on about the progress here on the blog and intergrate the changes into the normal history on the Scribe page. If you want release notifications then create/configure it in an account. Also if you have already done that and get notifications of windows builds, you don't automatically get notifications of Mac builds unless you go and change your preferences to include that platform. Just so you know.
(1) Comment | Add Comment