Skip to content

Commit

Permalink
Added untracked files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ugo Landini committed Jan 31, 2010
1 parent 3139ceb commit b203ffb
Show file tree
Hide file tree
Showing 12 changed files with 931 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PomodoroDefaults.m
Expand Up @@ -13,7 +13,7 @@ @implementation PomodoroDefaults

+ (void) setDefaults {
NSMutableDictionary *defaultValues = [NSMutableDictionary dictionary];

[defaultValues setObject: [NSNumber numberWithInt:25] forKey:@"initialTime"];
[defaultValues setObject: [NSNumber numberWithInt:15] forKey:@"interruptTime"];
[defaultValues setObject: [NSNumber numberWithInt:2] forKey:@"growlEveryTimeMinutes"];
Expand Down
5 changes: 5 additions & 0 deletions ReleaseNotes.txt
Expand Up @@ -2,6 +2,11 @@
Release Notes
-------------

0.32

- Hovering on pomodoro icon on the status bar now gives useful information (http://github.com/ugol/pomodoro/issues/#issue/48)


0.31

- Fixed a bug in interrupt/resume (http://github.com/ugol/pomodoro/issues/#issue/39)
Expand Down
2 changes: 1 addition & 1 deletion about.html
Expand Up @@ -4,7 +4,7 @@
<body>
<font color="White" face="Lucida Grande" size=1>
Pomodoro Desktop </br>
Release 0.31</br>
Release 0.32</br>
</br>
Created by <a href="http://www.ugolandini.com"> Ugo Landini</a></br>
Copyright (c) 2009,2010 by Ugo Landini </br>
Expand Down
2 changes: 2 additions & 0 deletions pomodoro/English.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
/* Localized versions of Info.plist keys */

21 changes: 21 additions & 0 deletions pomodoro/PomodoroMenuExtra.h
@@ -0,0 +1,21 @@
//
// PomodoroMenuExtra.h
// pomodoro
//
// Created by Ugo Landini on 06/09/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SystemUIPlugin.h"

@class PomodoroMenuExtraView;

@interface PomodoroMenuExtra : NSMenuExtra {

NSMenu *theMenu;
PomodoroMenuExtraView *theView;

}

@end
44 changes: 44 additions & 0 deletions pomodoro/PomodoroMenuExtra.m
@@ -0,0 +1,44 @@
//
// PomodoroMenuExtra.m
// pomodoro
//
// Created by Ugo Landini on 06/09/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "PomodoroMenuExtra.h"
#import "PomodoroMenuExtraView.h"

@implementation PomodoroMenuExtra

- (id)initWithBundle:(NSBundle *)bundle {
self = [super initWithBundle:bundle];
if( self == nil )
return nil;

// we will create and set the MenuExtraView
theView = [[PomodoroMenuExtraView alloc] initWithFrame:
[[self view] frame] menuExtra:self];
[self setView:theView];

// prepare "dummy" menu, without any actions
theMenu = [[NSMenu alloc] initWithTitle: @"Ciao"];
[theMenu setAutoenablesItems: NO];
[theMenu addItemWithTitle: @"1" action: nil keyEquivalent: @""];
[theMenu addItemWithTitle: @"2" action: nil keyEquivalent: @""];
[theMenu addItemWithTitle: @"3" action: nil keyEquivalent: @""];

return self;
}

- (void)dealloc {
[theMenu release];
[theView release];
[super dealloc];
}

- (NSMenu *)menu {
return theMenu;
}

@end
16 changes: 16 additions & 0 deletions pomodoro/PomodoroMenuExtraView.h
@@ -0,0 +1,16 @@
//
// PomodoroMenuExtraView.h
// pomodoro
//
// Created by Ugo Landini on 06/09/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SystemUIPlugin.h"

@interface PomodoroMenuExtraView : NSMenuExtraView {

}

@end
21 changes: 21 additions & 0 deletions pomodoro/PomodoroMenuExtraView.m
@@ -0,0 +1,21 @@
//
// PomodoroMenuExtraView.m
// pomodoro
//
// Created by Ugo Landini on 06/09/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "PomodoroMenuExtraView.h"


@implementation PomodoroMenuExtraView

- (void)drawRect:(NSRect)rect {
[[NSColor purpleColor] set];
NSRect smallerRect = NSInsetRect( rect, 4.0, 4.0 );
[[NSBezierPath bezierPathWithOvalInRect: smallerRect] fill];
}

@end

14 changes: 14 additions & 0 deletions pomodoro/main.m
@@ -0,0 +1,14 @@
//
// main.m
// pomodoro
//
// Created by Ugo Landini on 05/09/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
38 changes: 38 additions & 0 deletions pomodoro/pomodoro-Info.plist
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string>icon.icns</string>
<key>CFBundleIdentifier</key>
<string>com.ugolandini.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>0.32</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>CFBundleVersion</key>
<string>0.32</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>LSUIElement</key>
<true/>
<key>SUPublicDSAKeyFile</key>
<string>dsa_pub.pem</string>
<key>SUFeedURL</key>
<string>http://pomodoro.ugolandini.com/appcast.xml</string>
</dict>
</plist>

0 comments on commit b203ffb

Please sign in to comment.