June 17th, 2008
I’ve received quite a lot of email about 10.5.3 breaking the plugin, and finally got around to looking into it today. I have uploaded a new version of the plugin that seems to work for me 
As always the latest version can be grabbed from my downloads page.
Posted in Cocoa, HTTPMail, Mac OS X, Web | 36 Comments »
April 22nd, 2008
Well, it was fun while it lasted, but Microsoft has finally decided to close access to its servers via the WebDav (or HttpMail) protocol. As my hotmail plugin uses this protocol to communicate with the hotmail servers this means that as of June 30th 2008 my plugin will no longer work
I am looking into their new protocol called DeltaSync, but from what I can see Microsoft is using some proprietry encryption/compression on message contents, so it might take a little while (if ever) for it to see the light of day.
Thanks to everyone for all the donations and support over the last 5 years or so.
If I manage to figure out the compression then a new plugin supporting Windows Live mail should be fairly easy to create. I’ll post progress here if there is any
Posted in Web | 45 Comments »
April 18th, 2008
Something really strange happened in the previous post. There were these weird characters appearing in the text. From what I can see it is WebKit trying to be helpful and create non-breaking spaces. Unfortunately rather than insert a good old it is inserting 0xA0 characters. I’ve just added some code to look for these characters and replace then with . It should be interesting to see if it works
Posted in Cocoa, Mac OS X, Programming, Web | 3 Comments »
April 18th, 2008
I have been working on a little blog posting app for my wife for some time called BlogThing. The first version worked well enough that I released it for download from the Automagic Software site. It used some pretty nasty stuff that iterated over the chunks in an NSAttributedString, and while it worked pretty well I decided I wanted something a little more future proof. To that end I decided to look into using WebView in edit mode. Under 10.4 this worked really nicely. I could drag in imanges, set the fonts and do all sorts of really neat things. Unfortunately under 10.5 dragging and pasting images into the blog posting just stopped working  and I’ve not had a lot of time to look into it. Tonight I’ve managed to get it working well enough that I think I can finally give it to my wife to play with.
The following is an example of what I’ve had to do to get dragging to work the way I want it do. I really don’t like it though
- (unsigned)webView:(WebView *)sender dragDestinationActionMaskForDraggingInfo:(id <NSDraggingInfo>)draggingInfo {
NSPasteboard* pb = [draggingInfo draggingPasteboard];
if([pb availableTypeFromArray: [NSArray arrayWithObject: NSFilenamesPboardType]]) {
// @TODO: this code assumes that any file dragged in is an image! Bad things will probably happen if they aren’t
NSArray* filenames = [pb propertyListForType: NSFilenamesPboardType];
NSMutableString* html = [NSMutableString string];
for(NSString* filename in filenames) {
[html appendFormat: @”<img src=\”%@\”/>”, [[[NSURL alloc] initFileURLWithPath: filename] absoluteString]];
}
[pb declareTypes: [NSArray arrayWithObject: NSHTMLPboardType] owner: self];
[pb setString: html forType: NSHTMLPboardType];
}
return WebDragDestinationActionAny;
}
Incidentally I’m posting this with BlogThing 2.0
Posted in Cocoa, Mac OS X, Programming, Web | 1 Comment »
November 30th, 2007
ok, I’ve just released a new version of the plugin for Leopard.
here.
Changes:
- Fixed downloading loop
- Fixed NULL account
- Fixed disappearing account problem
Enjoy 
Posted in Mac OS X, Web | 121 Comments »
November 14th, 2007
The Leopard version of my HTTPMail plugin for Mail can be downloaded from here. Please note that as with any first release with a new version of OS X things may not be as stable as I would like. It works on my machine
I have updated the documentation to show screen shots from Leopard and overall the installation and setup procedures are a little more streamlined.
Enjoy
Posted in Cocoa, Mac OS X, Programming | 208 Comments »
November 8th, 2007
Yesterday I got account editing working, and tonight’s effort sees sending working. It is still not possible to create new accounts, but that is something for another time. It’s almost midnight and I’m going to be woken up at some time around 3 or 4 am by the little one for a feed so I’d better go get some sleep while I can
Once I’ve got account creation working then the plugin is pretty much done for Leopard 
Posted in Cocoa, Mac OS X | 53 Comments »
November 6th, 2007
I’ve been using darcs as my version control software of choice for quite a while now, but unfortunately I’m having trouble using it with dreamhost I’ve looked about on the web for anybody who has successfully created public repositories on dreamhost, but all I can find is people asking how to do it. Since I want to make the source for my httpmail plugin available and working with the sourceforge subversion repository is a pain I’ve decided to give git a try.
My public git repository is available at http://git.danielparnell.com/ and the httpmail project can be accessed directly via
http://git.danielparnell.com/public/httpmail.git.
The code currently in the repository contains a target for Leopard which partially works. I’m not going to release binaries as yet because it is nowhere near ready for prime time at this stage.
What works:
- Connecting to Hotmail
- Downloading messages from the inbox
- Downloading messages from sub-folders (as long as the plugin is configured to store sub-folders under the root folder, not the inbox folder)
What doesn’t work
- Creating accounts
- Sending mail
- Pretty much everything else
So, if you’re feeling brave, and have git installed on your system along with XCode 3.0, feel free to check out the source and have a play (any code contributions will be greatly appreciated). For everybody else, rest assured I am working on it, if somewhat slowly.
Posted in Mac OS X, Programming | 5 Comments »
October 31st, 2007
Tonight I’ve had some success with getting the plugin working under Leopard. It still isn’t ready for public consumption, however it is coming along nicely.
Currently if a httpmail account is already configured it will connect to the Hotmail servers and successfully download the messages. Unfortunately sub-folders aren’t quite working yet, nor is creation of new accounts or editing of account settings.
Still, it is progress Now it is time to go to bed and get some sleep. With a wife, two kids and a day job, I don’t get as much time to work on these things as I once did 
Posted in Cocoa, Mac OS X, Web | 210 Comments »
|
|