Cocoa WebKit

I’ve been playing with the Cocoa WebKit over the last week or so and have rewritten my blogThing application to use it.  So far I’m quite pleased with the way things are coming along 🙂

It lets me do some very interesting things such as paste in formatted text from XCode


//

//  DPKeychain.h

//  iSpeak

//

//  Created by Daniel Parnell on 26/07/04.

//  Copyright 2004 Daniel Parnell. All rights reserved.

//



#import <Cocoa/Cocoa.h>

#import <CoreFoundation/CoreFoundation.h>

#import <Security/Security.h>

#import <CoreServices/CoreServices.h>



@interface DPKeychain : NSObject {

    SecKeychainRef keychain;

}



+ (DPKeychain*) defaultKeychain;

+ (DPKeychain*) keychainWithPath: (NSString*) aPath;



– (DPKeychain*) initWithPath: (NSString*) aPath;



– (void) setPassword: (NSString*)aPassword forName: (NSString*) aName andService: (NSString*) aService;

– (NSString*) getPasswordForName: (NSString*) aName andService: (NSString*) aService;

– (bool) containsPasswordForName: (NSString*) aName andService: (NSString*) aService;

– (void) removePasswordForName: (NSString*) aName andService: (NSString*) aService;



@end



Inline image support is also working really nicely 🙂
I still need to get things like automatic link creation working, but that’s pretty straight forward.


To top it all off I’ve also made use of CoreGraphics transitions to make things look a little prettier.  That’s been heaps of fun 🙂


CruiseControlRb tray icon for Linux

We installed CruiseControlRb at work recently and we’re all really enjoying it 🙂
The web interface works really nicely, but I wanted more. Under Windows there is a really neat little tool called cctray which shows the status of your build in the system tray. I did a bit of searching about the net and couldn’t find anything, so I built my own.

Here it is cctrayrb.tar.gz

Enjoy