You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(32) |
Jun
(181) |
Jul
(149) |
Aug
(14) |
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: Christopher F. <the...@br...> - 2004-08-26 00:10:05
|
I've made new mailing lists, over at our new hosting. Everything should be setup now. See the following page on instructions of how to subscribe: http://growl.info/contact.php Cheers Chris |
|
From: <gb...@us...> - 2004-08-02 04:43:06
|
Update of /cvsroot/growl/webcvs/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28912 Added Files: .htaccess Log Message: Should redirect growl.sf.net to growl.info --- NEW FILE: .htaccess --- RewriteEngine On RewriteBase / RewriteRule ^(.*)$ http://growl.info/$1 [R=permanent,L] |
|
From: <the...@us...> - 2004-08-01 21:50:25
|
Update of /cvsroot/growl/Growl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4757 Added Files: MOVED-TO-SVN.TXT Log Message: Moving to SVN soonish.. Please do not commit anything to CVS, as it will need to be recommited to svn. --- NEW FILE: MOVED-TO-SVN.TXT --- We have moved from sourceforge and cvs to svn. More information will be placed here when we have it. |
|
From: Christopher F. <the...@br...> - 2004-08-01 21:41:21
|
We're moving to SVN, away from sourceforge and CVS. I'm working with imajes on it now. If you need dev access, contact me however you usually contact me. Chris |
|
From: <don...@us...> - 2004-08-01 05:41:50
|
Update of /cvsroot/growl/Growl/Examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23666 Modified Files: ReadMe.rtf Log Message: Added GrowlDict Index: ReadMe.rtf =================================================================== RCS file: /cvsroot/growl/Growl/Examples/ReadMe.rtf,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ReadMe.rtf 1 Aug 2004 05:19:25 -0000 1.5 +++ ReadMe.rtf 1 Aug 2004 05:41:41 -0000 1.6 @@ -71,12 +71,21 @@ \ Watches for new emails gathered by Apple Mail, and then posts a notification of new emails.\ \ -\pard\tqr\tx1440\tx1800\tx2880\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural -\cf0 Libraries: Cocoa, GrowlAppBridge\ + Libraries: Cocoa, GrowlAppBridge\ Author: Adam Iser, Kevin Ballard\ +\ \pard\tqr\tx1440\tx1800\tx2880\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural -\cf0 \ + +\f2\b \cf0 GrowlDict\ + +\f1\b0 \ +Service that provides system wide hotkey which looks up the highlighted word\ \ + Libraries: Cocoa, Curl\ + Author: Don Smith\ +\ +\pard\tqr\tx1440\tx1800\tx2880\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural +\cf0 \ \pard\tqr\tx1440\tx1800\tx2880\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural \f0\fs36 \cf0 Other example files |
Update of /cvsroot/growl/Growl/Examples/GrowlDict In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22879/GrowlDict Added Files: GrowlDefines.h GrowlDict_main.m Info-GrowlDict.plist Prefix.h ServiceAction.h ServiceAction.m Log Message: Initial Commit of dictionary lookup service, Done in a rush, (the commit) so I may have to double check a small thing or two, wanted to make sure it got in before the svn move --- NEW FILE: GrowlDefines.h --- // // GrowlDefines.h // Growl // // Created by Karl Adam on Mon May 17 2004. // Copyright (c) 2004 __MyCompanyName__. All rights reserved. // // User Info Keys For Registration #define GROWL_APP_NAME @"ApplicationName" #define GROWL_NOTIFICATIONS_DEFAULT @"DefaultNotifications" #define GROWL_NOTIFICATIONS_ALL @"AllNotifications" #define GROWL_NOTIFICATIONS_USER_SET @"AllowedUserNotifications" // User Info Keys For Notifications #define GROWL_NOTIFICATION_TITLE @"NotificationTitle" #define GROWL_NOTIFICATION_DESCRIPTION @"NotificationDescription" #define GROWL_NOTIFICATION_ICON @"NotificationIcon" // Notifications #define GROWL_APP_REGISTRATION @"GrowlApplicationRegistrationNotification" #define GROWL_APP_REGISTRATION_CONF @"GrowlApplicationRegistrationConfirmationNotification" #define GROWL_PING @"Honey, Mind Taking Out The Trash" #define GROWL_PONG @"What Do You Want From Me, Woman" @protocol GrowlPlugin - (id) loadPlugin; - (NSString *) author; - (NSString *) name; - (NSString *) userDescription; - (NSString *) version; - (void) unloadPlugin; @end @protocol GrowlDisplayPlugin <GrowlPlugin> - (void) displayNotificationWithInfo:(NSDictionary *) noteDict; @end @protocol GrowlFunctionalPlugin <GrowlPlugin> //empty for now @end --- NEW FILE: GrowlDict_main.m --- // // DictmenuService_main.m // dictmenu // // Created by don smith on Tue Jun 08 2004. // Copyright (c) 2004 __MyCompanyName__. All rights reserved. // #include <Foundation/Foundation.h> #include <GrowlAppBridge/GrowlApplicationBridge.h> #include "ServiceAction.h" #include <Cocoa/Cocoa.h> #include "GrowlDefines.h" #define GROWL_NOTIFICATION_DEFAULT @"NotificationDefault" int main (int argc, const char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; ServiceAction *serviceProvider = [[ServiceAction alloc] init]; NSArray * objects=[[[NSArray alloc] initWithObjects: @"Dictmenu-Definition", nil] autorelease]; NSRegisterServicesProvider(serviceProvider, @"SimpleService"); // [GrowlAppBridge launchGrowlIfInstalledNotifyingTarget:self selector:@selector(growlDidLaunch:) context:nil]; //Register us with Growl NSDictionary * growlReg = [NSDictionary dictionaryWithObjectsAndKeys: @"Dictmenu", GROWL_APP_NAME, objects, GROWL_NOTIFICATIONS_ALL, objects, GROWL_NOTIFICATIONS_DEFAULT, nil]; [[NSDistributedNotificationCenter defaultCenter] postNotificationName:GROWL_APP_REGISTRATION object:nil userInfo:growlReg]; NS_DURING [[NSRunLoop currentRunLoop] configureAsServer]; [[NSRunLoop currentRunLoop] run]; NSLog([[NSRunLoop currentRunLoop] currentMode]); NS_HANDLER NSLog(@"%@", localException); NS_ENDHANDLER [serviceProvider release]; [pool release]; exit(0); // insure the process exit status is 0 return 0; // ...and make main fit the ANSI spec. } --- NEW FILE: Info-GrowlDict.plist --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//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>Dictmenu</string> <key>CFBundleGetInfoString</key> <string></string> <key>CFBundleIconFile</key> <string></string> <key>CFBundleIdentifier</key> <string>org.donsmith.Dictmenu</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>Dictmenu</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string></string> <key>CFBundleSignature</key> <string></string> <key>CFBundleVersion</key> <string>1</string> <key>NSBGOnly</key> <string>1</string> <key>NSExtensions</key> <dict/> <key>NSPrincipalClass</key> <string>NSApplication</string> <key>NSServices</key> <array> <dict> <key>NSKeyEquivalent</key> <dict> <key>default</key> <string>F</string> </dict> <key>NSMenuItem</key> <dict> <key>default</key> <string>Lookup Word</string> </dict> <key>NSMessage</key> <string>doLookupWordService</string> <key>NSPortName</key> <string>Dictmenu</string> <key>NSSendTypes</key> <array> <string>NSStringPboardType</string> </array> </dict> </array> </dict> </plist> --- NEW FILE: Prefix.h --- /* * Prefix.h * dictmenu * * Created by don smith on Tue Jun 08 2004. * Copyright (c) 2004 __MyCompanyName__. All rights reserved. * */ #ifdef __OBJC__ #import <Foundation/Foundation.h> #import <AppKit/AppKit.h> #endif --- NEW FILE: ServiceAction.h --- // // ServiceAction.h // dictmenu // // Created by don smith on Tue Jun 08 2004. // Copyright (c) 2004 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> @interface ServiceAction : NSObject @end --- NEW FILE: ServiceAction.m --- // // ServiceAction.m // dictmenu // // Created by don smith on Tue Jun 08 2004. // Copyright (c) 2004 __MyCompanyName__. All rights reserved. // #import "ServiceAction.h" #import "GrowlDefines.h" #define GROWL_NOTIFICATION_DEFAULT @"NotificationDefault" @implementation ServiceAction - (void)doLookupWordService:(NSPasteboard *)pboard userData:(NSString *)data error:(NSString **)error { NSString *pboardString; NSArray *types; NSTask *curlTask; NSArray *args; NSPipe *pipe; NSPipe *pipe2; //This is so std error doesn't go to the log, tried using the curl --stderr but i think it messed up the pipe NSFileHandle *file; NSData *curlData; NSString *curlResult; types = [pboard types]; if (![types containsObject:NSStringPboardType] || !(pboardString = [pboard stringForType:NSStringPboardType])) { *error = NSLocalizedString(@"Error: Pasteboard doesn't contain a string.", @"Pasteboard couldn't give string."); return; } // Setup NSTask to call curl and put the result in a NSString curlTask=[[NSTask alloc] init]; [curlTask setLaunchPath:@"/usr/bin/curl"]; args=[NSArray arrayWithObjects: [@"dict://dict.org/d:" stringByAppendingString: pboardString], nil]; [curlTask setArguments:args]; pipe = [NSPipe pipe]; pipe2 = [NSPipe pipe]; [curlTask setStandardOutput: pipe]; [curlTask setStandardError: pipe2]; file = [pipe fileHandleForReading]; [curlTask launch]; curlData = [file readDataToEndOfFile]; curlResult = [[[NSString alloc] initWithData: curlData encoding: NSUTF8StringEncoding] autorelease]; [file closeFile]; //Cleanup the string so it's just the first definition NSRange toprange =[curlResult rangeOfString: @"151 "]; curlResult = [curlResult substringFromIndex: toprange.location]; NSNumber *defaultValue = [NSNumber numberWithBool:YES]; toprange =[curlResult rangeOfString: @"\n"]; curlResult = [curlResult substringFromIndex: toprange.location+1]; NSRange bottomrange =[curlResult rangeOfString: @"\n250"]; curlResult = [curlResult substringToIndex: bottomrange.location-3]; bottomrange =[curlResult rangeOfString: @"151 "]; if (bottomrange.location !=NSNotFound){ curlResult = [curlResult substringToIndex: bottomrange.location-4]; } //Throw it in a dictionary and send it to growl NSDictionary *growlEvent = [NSDictionary dictionaryWithObjectsAndKeys: @"Dictmenu-Definition", GROWL_NOTIFICATION_TITLE, curlResult, GROWL_NOTIFICATION_DESCRIPTION, @"Dictmenu", GROWL_APP_NAME, defaultValue, GROWL_NOTIFICATION_DEFAULT, nil, GROWL_NOTIFICATION_ICON, nil]; [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"Dictmenu-Definition" object:nil userInfo:growlEvent]; [curlTask release]; return; } @end |
Update of /cvsroot/growl/Growl/Examples/GrowlDict In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22879/Growl/Examples/GrowlDict Added Files: GrowlDefines.h GrowlDict_main.m Info-GrowlDict.plist Prefix.h ServiceAction.h ServiceAction.m Log Message: Initial Commit of dictionary lookup service, Done in a rush, (the commit) so I may have to double check a small thing or two, wanted to make sure it got in before the svn move --- NEW FILE: GrowlDefines.h --- // // GrowlDefines.h // Growl // // Created by Karl Adam on Mon May 17 2004. // Copyright (c) 2004 __MyCompanyName__. All rights reserved. // // User Info Keys For Registration #define GROWL_APP_NAME @"ApplicationName" #define GROWL_NOTIFICATIONS_DEFAULT @"DefaultNotifications" #define GROWL_NOTIFICATIONS_ALL @"AllNotifications" #define GROWL_NOTIFICATIONS_USER_SET @"AllowedUserNotifications" // User Info Keys For Notifications #define GROWL_NOTIFICATION_TITLE @"NotificationTitle" #define GROWL_NOTIFICATION_DESCRIPTION @"NotificationDescription" #define GROWL_NOTIFICATION_ICON @"NotificationIcon" // Notifications #define GROWL_APP_REGISTRATION @"GrowlApplicationRegistrationNotification" #define GROWL_APP_REGISTRATION_CONF @"GrowlApplicationRegistrationConfirmationNotification" #define GROWL_PING @"Honey, Mind Taking Out The Trash" #define GROWL_PONG @"What Do You Want From Me, Woman" @protocol GrowlPlugin - (id) loadPlugin; - (NSString *) author; - (NSString *) name; - (NSString *) userDescription; - (NSString *) version; - (void) unloadPlugin; @end @protocol GrowlDisplayPlugin <GrowlPlugin> - (void) displayNotificationWithInfo:(NSDictionary *) noteDict; @end @protocol GrowlFunctionalPlugin <GrowlPlugin> //empty for now @end --- NEW FILE: GrowlDict_main.m --- // // DictmenuService_main.m // dictmenu // // Created by don smith on Tue Jun 08 2004. // Copyright (c) 2004 __MyCompanyName__. All rights reserved. // #include <Foundation/Foundation.h> #include <GrowlAppBridge/GrowlApplicationBridge.h> #include "ServiceAction.h" #include <Cocoa/Cocoa.h> #include "GrowlDefines.h" #define GROWL_NOTIFICATION_DEFAULT @"NotificationDefault" int main (int argc, const char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; ServiceAction *serviceProvider = [[ServiceAction alloc] init]; NSArray * objects=[[[NSArray alloc] initWithObjects: @"Dictmenu-Definition", nil] autorelease]; NSRegisterServicesProvider(serviceProvider, @"SimpleService"); // [GrowlAppBridge launchGrowlIfInstalledNotifyingTarget:self selector:@selector(growlDidLaunch:) context:nil]; //Register us with Growl NSDictionary * growlReg = [NSDictionary dictionaryWithObjectsAndKeys: @"Dictmenu", GROWL_APP_NAME, objects, GROWL_NOTIFICATIONS_ALL, objects, GROWL_NOTIFICATIONS_DEFAULT, nil]; [[NSDistributedNotificationCenter defaultCenter] postNotificationName:GROWL_APP_REGISTRATION object:nil userInfo:growlReg]; NS_DURING [[NSRunLoop currentRunLoop] configureAsServer]; [[NSRunLoop currentRunLoop] run]; NSLog([[NSRunLoop currentRunLoop] currentMode]); NS_HANDLER NSLog(@"%@", localException); NS_ENDHANDLER [serviceProvider release]; [pool release]; exit(0); // insure the process exit status is 0 return 0; // ...and make main fit the ANSI spec. } --- NEW FILE: Info-GrowlDict.plist --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//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>Dictmenu</string> <key>CFBundleGetInfoString</key> <string></string> <key>CFBundleIconFile</key> <string></string> <key>CFBundleIdentifier</key> <string>org.donsmith.Dictmenu</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>Dictmenu</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string></string> <key>CFBundleSignature</key> <string></string> <key>CFBundleVersion</key> <string>1</string> <key>NSBGOnly</key> <string>1</string> <key>NSExtensions</key> <dict/> <key>NSPrincipalClass</key> <string>NSApplication</string> <key>NSServices</key> <array> <dict> <key>NSKeyEquivalent</key> <dict> <key>default</key> <string>F</string> </dict> <key>NSMenuItem</key> <dict> <key>default</key> <string>Lookup Word</string> </dict> <key>NSMessage</key> <string>doLookupWordService</string> <key>NSPortName</key> <string>Dictmenu</string> <key>NSSendTypes</key> <array> <string>NSStringPboardType</string> </array> </dict> </array> </dict> </plist> --- NEW FILE: Prefix.h --- /* * Prefix.h * dictmenu * * Created by don smith on Tue Jun 08 2004. * Copyright (c) 2004 __MyCompanyName__. All rights reserved. * */ #ifdef __OBJC__ #import <Foundation/Foundation.h> #import <AppKit/AppKit.h> #endif --- NEW FILE: ServiceAction.h --- // // ServiceAction.h // dictmenu // // Created by don smith on Tue Jun 08 2004. // Copyright (c) 2004 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> @interface ServiceAction : NSObject @end --- NEW FILE: ServiceAction.m --- // // ServiceAction.m // dictmenu // // Created by don smith on Tue Jun 08 2004. // Copyright (c) 2004 __MyCompanyName__. All rights reserved. // #import "ServiceAction.h" #import "GrowlDefines.h" #define GROWL_NOTIFICATION_DEFAULT @"NotificationDefault" @implementation ServiceAction - (void)doLookupWordService:(NSPasteboard *)pboard userData:(NSString *)data error:(NSString **)error { NSString *pboardString; NSArray *types; NSTask *curlTask; NSArray *args; NSPipe *pipe; NSPipe *pipe2; //This is so std error doesn't go to the log, tried using the curl --stderr but i think it messed up the pipe NSFileHandle *file; NSData *curlData; NSString *curlResult; types = [pboard types]; if (![types containsObject:NSStringPboardType] || !(pboardString = [pboard stringForType:NSStringPboardType])) { *error = NSLocalizedString(@"Error: Pasteboard doesn't contain a string.", @"Pasteboard couldn't give string."); return; } // Setup NSTask to call curl and put the result in a NSString curlTask=[[NSTask alloc] init]; [curlTask setLaunchPath:@"/usr/bin/curl"]; args=[NSArray arrayWithObjects: [@"dict://dict.org/d:" stringByAppendingString: pboardString], nil]; [curlTask setArguments:args]; pipe = [NSPipe pipe]; pipe2 = [NSPipe pipe]; [curlTask setStandardOutput: pipe]; [curlTask setStandardError: pipe2]; file = [pipe fileHandleForReading]; [curlTask launch]; curlData = [file readDataToEndOfFile]; curlResult = [[[NSString alloc] initWithData: curlData encoding: NSUTF8StringEncoding] autorelease]; [file closeFile]; //Cleanup the string so it's just the first definition NSRange toprange =[curlResult rangeOfString: @"151 "]; curlResult = [curlResult substringFromIndex: toprange.location]; NSNumber *defaultValue = [NSNumber numberWithBool:YES]; toprange =[curlResult rangeOfString: @"\n"]; curlResult = [curlResult substringFromIndex: toprange.location+1]; NSRange bottomrange =[curlResult rangeOfString: @"\n250"]; curlResult = [curlResult substringToIndex: bottomrange.location-3]; bottomrange =[curlResult rangeOfString: @"151 "]; if (bottomrange.location !=NSNotFound){ curlResult = [curlResult substringToIndex: bottomrange.location-4]; } //Throw it in a dictionary and send it to growl NSDictionary *growlEvent = [NSDictionary dictionaryWithObjectsAndKeys: @"Dictmenu-Definition", GROWL_NOTIFICATION_TITLE, curlResult, GROWL_NOTIFICATION_DESCRIPTION, @"Dictmenu", GROWL_APP_NAME, defaultValue, GROWL_NOTIFICATION_DEFAULT, nil, GROWL_NOTIFICATION_ICON, nil]; [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"Dictmenu-Definition" object:nil userInfo:growlEvent]; [curlTask release]; return; } @end |
|
From: <don...@us...> - 2004-08-01 05:34:12
|
Update of /cvsroot/growl/Growl/Examples/GrowlDict/GrowlDict.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22879/Growl/Examples/GrowlDict/GrowlDict.xcode Added Files: donsmith.pbxuser project.pbxproj Log Message: Initial Commit of dictionary lookup service, Done in a rush, (the commit) so I may have to double check a small thing or two, wanted to make sure it got in before the svn move --- NEW FILE: donsmith.pbxuser --- // !$*UTF8*$! { D317D4D206766FE700011E08 = { uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {743, 587}}"; sepNavSelRange = "{988, 0}"; sepNavVisRect = "{{0, 229}, {743, 322}}"; }; }; D3236E14067978200094191A = { fRef = D317D4D206766FE700011E08; isa = PBXTextBookmark; name = "GrowlDefines.h: author"; rLen = 0; rLoc = 988; rType = 0; vrLen = 776; vrLoc = 500; }; [...2127 lines suppressed...] fRef = D3A9105B068DFDB70079DB8F; isa = PBXTextBookmark; name = "GrowlApplicationBridge-Carbon.h: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 357; vrLoc = 0; }; D3E6E04D06BCABFD002FD1D3 = { fRef = D3A9105B068DFDB70079DB8F; isa = PBXTextBookmark; name = "GrowlApplicationBridge-Carbon.h: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 357; vrLoc = 0; }; } --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 39; objects = { D317D4D206766FE700011E08 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GrowlDefines.h; refType = 4; sourceTree = "<group>"; }; D317D4D306766FE700011E08 = { fileRef = D317D4D206766FE700011E08; isa = PBXBuildFile; settings = { }; }; D3A9100F068DFBCE0079DB8F = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GrowlAppBridge.framework; path = /Users/donsmith/Library/Frameworks/GrowlAppBridge.framework; refType = 0; sourceTree = "<absolute>"; }; D3A91010068DFBCE0079DB8F = { fileRef = D3A9100F068DFBCE0079DB8F; isa = PBXBuildFile; settings = { }; }; D3E21B160675FC3F005772E5 = { children = ( D3A9100F068DFBCE0079DB8F, D317D4D206766FE700011E08, D3E21B270675FC5E005772E5, D3E21BBE0675FC72005772E5, D3E21C3A0675FCBB005772E5, D3E21C5C0675FDC1005772E5, D3E21C5D0675FDC1005772E5, D3E21C6D0675FE21005772E5, D3E21ED306760487005772E5, D3E21F250676061E005772E5, ); isa = PBXGroup; refType = 4; sourceTree = "<group>"; }; D3E21B180675FC3F005772E5 = { buildRules = ( ); buildSettings = { COPY_PHASE_STRIP = NO; }; isa = PBXBuildStyle; name = Development; }; D3E21B190675FC3F005772E5 = { buildRules = ( ); buildSettings = { COPY_PHASE_STRIP = YES; }; isa = PBXBuildStyle; name = Deployment; }; D3E21B1A0675FC3F005772E5 = { buildSettings = { }; buildStyles = ( D3E21B180675FC3F005772E5, D3E21B190675FC3F005772E5, ); hasScannedForEncodings = 1; isa = PBXProject; mainGroup = D3E21B160675FC3F005772E5; productRefGroup = D3E21ED306760487005772E5; projectDirPath = ""; targets = ( D3E21EFA067604FE005772E5, ); }; D3E21B270675FC5E005772E5 = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; refType = 0; sourceTree = "<absolute>"; }; D3E21BBE0675FC72005772E5 = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; refType = 0; sourceTree = "<absolute>"; }; D3E21C3A0675FCBB005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-GrowlDict.plist"; refType = 4; sourceTree = "<group>"; }; D3E21C5C0675FDC1005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ServiceAction.h; refType = 4; sourceTree = "<group>"; }; D3E21C5D0675FDC1005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ServiceAction.m; refType = 4; sourceTree = "<group>"; }; D3E21C6D0675FE21005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Prefix.h; refType = 4; sourceTree = "<group>"; }; D3E21ED306760487005772E5 = { children = ( D3E21EFB067604FE005772E5, ); isa = PBXGroup; name = Products; refType = 4; sourceTree = "<group>"; }; D3E21EF6067604FE005772E5 = { buildActionMask = 2147483647; files = ( D3E21FB106760711005772E5, D3E21FB206760711005772E5, D317D4D306766FE700011E08, ); isa = PBXHeadersBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D3E21EF7067604FE005772E5 = { buildActionMask = 2147483647; files = ( ); isa = PBXResourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D3E21EF8067604FE005772E5 = { buildActionMask = 2147483647; files = ( D3E21FA906760709005772E5, D3E21F270676061E005772E5, ); isa = PBXSourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D3E21EF9067604FE005772E5 = { buildActionMask = 2147483647; files = ( D3E220B806760719005772E5, D3E220B906760719005772E5, D3A91010068DFBCE0079DB8F, ); isa = PBXFrameworksBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D3E21EFA067604FE005772E5 = { buildPhases = ( D3E21EF6067604FE005772E5, D3E21EF7067604FE005772E5, D3E21EF8067604FE005772E5, D3E21EF9067604FE005772E5, ); buildRules = ( ); buildSettings = { FRAMEWORK_SEARCH_PATHS = /Users/donsmith/Library/Frameworks; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = Prefix.h; GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; GCC_WARN_UNKNOWN_PRAGMAS = NO; INFOPLIST_FILE = "Info-GrowlDict.plist"; INSTALL_PATH = "$(USER_LIBRARY_DIR)/Services"; OTHER_CFLAGS = ""; OTHER_LDFLAGS = "-framework Foundation -framework AppKit"; OTHER_REZFLAGS = ""; PRODUCT_NAME = Dictmenu; SECTORDER_FLAGS = ""; WARNING_CFLAGS = "-Wmost"; }; dependencies = ( ); isa = PBXNativeTarget; name = GrowlDict; productName = DictmenuService; productReference = D3E21EFB067604FE005772E5; productSettingsXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <!DOCTYPE plist PUBLIC \"-//Apple Computer//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>DictmenuService</string> <key>CFBundleGetInfoString</key> <string></string> <key>CFBundleIconFile</key> <string></string> <key>CFBundleIdentifier</key> <string>com.MySoftwareCompany.DictmenuService</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string></string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.0.0d1</string> <key>NSMainNibFile</key> <string>MainMenu</string> <key>NSPrincipalClass</key> <string>NSApplication</string> </dict> </plist> "; productType = "com.apple.product-type.application"; }; D3E21EFB067604FE005772E5 = { explicitFileType = wrapper.application; includeInIndex = 0; isa = PBXFileReference; path = GrowlDict.app; refType = 3; sourceTree = BUILT_PRODUCTS_DIR; }; D3E21F250676061E005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GrowlDict_main.m; refType = 4; sourceTree = "<group>"; }; D3E21F270676061E005772E5 = { fileRef = D3E21F250676061E005772E5; isa = PBXBuildFile; settings = { }; }; D3E21FA906760709005772E5 = { fileRef = D3E21C5D0675FDC1005772E5; isa = PBXBuildFile; settings = { }; }; D3E21FB106760711005772E5 = { fileRef = D3E21C5C0675FDC1005772E5; isa = PBXBuildFile; settings = { }; }; D3E21FB206760711005772E5 = { fileRef = D3E21C6D0675FE21005772E5; isa = PBXBuildFile; settings = { }; }; D3E220B806760719005772E5 = { fileRef = D3E21B270675FC5E005772E5; isa = PBXBuildFile; settings = { }; }; D3E220B906760719005772E5 = { fileRef = D3E21BBE0675FC72005772E5; isa = PBXBuildFile; settings = { }; }; }; rootObject = D3E21B1A0675FC3F005772E5; } |
|
From: <don...@us...> - 2004-08-01 05:34:12
|
Update of /cvsroot/growl/Growl/Examples/GrowlDict/GrowlDict.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22879/GrowlDict/GrowlDict.xcode Added Files: donsmith.pbxuser project.pbxproj Log Message: Initial Commit of dictionary lookup service, Done in a rush, (the commit) so I may have to double check a small thing or two, wanted to make sure it got in before the svn move --- NEW FILE: donsmith.pbxuser --- // !$*UTF8*$! { D317D4D206766FE700011E08 = { uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {743, 587}}"; sepNavSelRange = "{988, 0}"; sepNavVisRect = "{{0, 229}, {743, 322}}"; }; }; D3236E14067978200094191A = { fRef = D317D4D206766FE700011E08; isa = PBXTextBookmark; name = "GrowlDefines.h: author"; rLen = 0; rLoc = 988; rType = 0; vrLen = 776; vrLoc = 500; }; [...2127 lines suppressed...] fRef = D3A9105B068DFDB70079DB8F; isa = PBXTextBookmark; name = "GrowlApplicationBridge-Carbon.h: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 357; vrLoc = 0; }; D3E6E04D06BCABFD002FD1D3 = { fRef = D3A9105B068DFDB70079DB8F; isa = PBXTextBookmark; name = "GrowlApplicationBridge-Carbon.h: 1"; rLen = 0; rLoc = 0; rType = 0; vrLen = 357; vrLoc = 0; }; } --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 39; objects = { D317D4D206766FE700011E08 = { fileEncoding = 30; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GrowlDefines.h; refType = 4; sourceTree = "<group>"; }; D317D4D306766FE700011E08 = { fileRef = D317D4D206766FE700011E08; isa = PBXBuildFile; settings = { }; }; D3A9100F068DFBCE0079DB8F = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GrowlAppBridge.framework; path = /Users/donsmith/Library/Frameworks/GrowlAppBridge.framework; refType = 0; sourceTree = "<absolute>"; }; D3A91010068DFBCE0079DB8F = { fileRef = D3A9100F068DFBCE0079DB8F; isa = PBXBuildFile; settings = { }; }; D3E21B160675FC3F005772E5 = { children = ( D3A9100F068DFBCE0079DB8F, D317D4D206766FE700011E08, D3E21B270675FC5E005772E5, D3E21BBE0675FC72005772E5, D3E21C3A0675FCBB005772E5, D3E21C5C0675FDC1005772E5, D3E21C5D0675FDC1005772E5, D3E21C6D0675FE21005772E5, D3E21ED306760487005772E5, D3E21F250676061E005772E5, ); isa = PBXGroup; refType = 4; sourceTree = "<group>"; }; D3E21B180675FC3F005772E5 = { buildRules = ( ); buildSettings = { COPY_PHASE_STRIP = NO; }; isa = PBXBuildStyle; name = Development; }; D3E21B190675FC3F005772E5 = { buildRules = ( ); buildSettings = { COPY_PHASE_STRIP = YES; }; isa = PBXBuildStyle; name = Deployment; }; D3E21B1A0675FC3F005772E5 = { buildSettings = { }; buildStyles = ( D3E21B180675FC3F005772E5, D3E21B190675FC3F005772E5, ); hasScannedForEncodings = 1; isa = PBXProject; mainGroup = D3E21B160675FC3F005772E5; productRefGroup = D3E21ED306760487005772E5; projectDirPath = ""; targets = ( D3E21EFA067604FE005772E5, ); }; D3E21B270675FC5E005772E5 = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; refType = 0; sourceTree = "<absolute>"; }; D3E21BBE0675FC72005772E5 = { isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; refType = 0; sourceTree = "<absolute>"; }; D3E21C3A0675FCBB005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-GrowlDict.plist"; refType = 4; sourceTree = "<group>"; }; D3E21C5C0675FDC1005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ServiceAction.h; refType = 4; sourceTree = "<group>"; }; D3E21C5D0675FDC1005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ServiceAction.m; refType = 4; sourceTree = "<group>"; }; D3E21C6D0675FE21005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Prefix.h; refType = 4; sourceTree = "<group>"; }; D3E21ED306760487005772E5 = { children = ( D3E21EFB067604FE005772E5, ); isa = PBXGroup; name = Products; refType = 4; sourceTree = "<group>"; }; D3E21EF6067604FE005772E5 = { buildActionMask = 2147483647; files = ( D3E21FB106760711005772E5, D3E21FB206760711005772E5, D317D4D306766FE700011E08, ); isa = PBXHeadersBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D3E21EF7067604FE005772E5 = { buildActionMask = 2147483647; files = ( ); isa = PBXResourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D3E21EF8067604FE005772E5 = { buildActionMask = 2147483647; files = ( D3E21FA906760709005772E5, D3E21F270676061E005772E5, ); isa = PBXSourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D3E21EF9067604FE005772E5 = { buildActionMask = 2147483647; files = ( D3E220B806760719005772E5, D3E220B906760719005772E5, D3A91010068DFBCE0079DB8F, ); isa = PBXFrameworksBuildPhase; runOnlyForDeploymentPostprocessing = 0; }; D3E21EFA067604FE005772E5 = { buildPhases = ( D3E21EF6067604FE005772E5, D3E21EF7067604FE005772E5, D3E21EF8067604FE005772E5, D3E21EF9067604FE005772E5, ); buildRules = ( ); buildSettings = { FRAMEWORK_SEARCH_PATHS = /Users/donsmith/Library/Frameworks; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = Prefix.h; GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; GCC_WARN_UNKNOWN_PRAGMAS = NO; INFOPLIST_FILE = "Info-GrowlDict.plist"; INSTALL_PATH = "$(USER_LIBRARY_DIR)/Services"; OTHER_CFLAGS = ""; OTHER_LDFLAGS = "-framework Foundation -framework AppKit"; OTHER_REZFLAGS = ""; PRODUCT_NAME = Dictmenu; SECTORDER_FLAGS = ""; WARNING_CFLAGS = "-Wmost"; }; dependencies = ( ); isa = PBXNativeTarget; name = GrowlDict; productName = DictmenuService; productReference = D3E21EFB067604FE005772E5; productSettingsXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <!DOCTYPE plist PUBLIC \"-//Apple Computer//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>DictmenuService</string> <key>CFBundleGetInfoString</key> <string></string> <key>CFBundleIconFile</key> <string></string> <key>CFBundleIdentifier</key> <string>com.MySoftwareCompany.DictmenuService</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string></string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.0.0d1</string> <key>NSMainNibFile</key> <string>MainMenu</string> <key>NSPrincipalClass</key> <string>NSApplication</string> </dict> </plist> "; productType = "com.apple.product-type.application"; }; D3E21EFB067604FE005772E5 = { explicitFileType = wrapper.application; includeInIndex = 0; isa = PBXFileReference; path = GrowlDict.app; refType = 3; sourceTree = BUILT_PRODUCTS_DIR; }; D3E21F250676061E005772E5 = { fileEncoding = 4; isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GrowlDict_main.m; refType = 4; sourceTree = "<group>"; }; D3E21F270676061E005772E5 = { fileRef = D3E21F250676061E005772E5; isa = PBXBuildFile; settings = { }; }; D3E21FA906760709005772E5 = { fileRef = D3E21C5D0675FDC1005772E5; isa = PBXBuildFile; settings = { }; }; D3E21FB106760711005772E5 = { fileRef = D3E21C5C0675FDC1005772E5; isa = PBXBuildFile; settings = { }; }; D3E21FB206760711005772E5 = { fileRef = D3E21C6D0675FE21005772E5; isa = PBXBuildFile; settings = { }; }; D3E220B806760719005772E5 = { fileRef = D3E21B270675FC5E005772E5; isa = PBXBuildFile; settings = { }; }; D3E220B906760719005772E5 = { fileRef = D3E21BBE0675FC72005772E5; isa = PBXBuildFile; settings = { }; }; }; rootObject = D3E21B1A0675FC3F005772E5; } |
|
From: <the...@us...> - 2004-08-01 05:20:50
|
Update of /cvsroot/growl/Growl/Examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21678 Added Files: License-for-whistle.psd.txt Log Message: Added a license for whistle.psd. Oh, and why was this in an examples folder when we have a images folder? --- NEW FILE: License-for-whistle.psd.txt --- The license that follows is for whistle.psd, contributed by Eric Cherry. You must contact Eric Cherry in order to recieve any permission to whistle.psd, or any other artwork that is produced because of it/produced by Eric Cherry for the Growl! project. |
|
From: <the...@us...> - 2004-08-01 05:19:33
|
Update of /cvsroot/growl/Growl/Examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21516 Modified Files: ReadMe.rtf Log Message: Added GrowlMail Index: ReadMe.rtf =================================================================== RCS file: /cvsroot/growl/Growl/Examples/ReadMe.rtf,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ReadMe.rtf 25 Jun 2004 04:23:54 -0000 1.4 +++ ReadMe.rtf 1 Aug 2004 05:19:25 -0000 1.5 @@ -66,6 +66,19 @@ \ \pard\tqr\tx1440\tx1800\tx2880\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural +\f2\b \cf0 GrowlMail +\f1\b0 \ +\ +Watches for new emails gathered by Apple Mail, and then posts a notification of new emails.\ +\ +\pard\tqr\tx1440\tx1800\tx2880\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural +\cf0 Libraries: Cocoa, GrowlAppBridge\ + Author: Adam Iser, Kevin Ballard\ +\pard\tqr\tx1440\tx1800\tx2880\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural +\cf0 \ +\ +\pard\tqr\tx1440\tx1800\tx2880\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural + \f0\fs36 \cf0 Other example files \f1\fs24 \ \ @@ -75,5 +88,5 @@ \pard\tqr\tx1440\tx1800\tx2880\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural \f1\b0 \cf0 \ -Base icon for the Beep twins. Original whistle art by Eric Cherry; Carbon and Cocoa tints by Mac-arena the Bored Zo.\ +Base icon for the Beep twins. Original whistle art by Eric Cherry; Carbon and Cocoa tints by Mac-arena the Bored Zo. This file is not public domain.\ } \ No newline at end of file |
|
From: <the...@us...> - 2004-08-01 05:03:04
|
Update of /cvsroot/growl/Growl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19896 Modified Files: test.txt Log Message: testing Index: test.txt =================================================================== RCS file: /cvsroot/growl/Growl/test.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- test.txt 3 Jun 2004 00:03:18 -0000 1.1 +++ test.txt 1 Aug 2004 05:02:55 -0000 1.2 @@ -1 +1 @@ -Every *cool* project has a test.txt! +Easldfkjvery *cool* project has a test.txt! |
|
From: <don...@us...> - 2004-08-01 04:58:56
|
Update of /cvsroot/growl/Growl/Examples/GrowlDict/GrowlDict.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19420/Examples/GrowlDict/GrowlDict.xcode Log Message: Directory /cvsroot/growl/Growl/Examples/GrowlDict/GrowlDict.xcode added to the repository |
|
From: <don...@us...> - 2004-08-01 04:56:41
|
Update of /cvsroot/growl/Growl/Examples/GrowlDict In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19179/Examples/GrowlDict Log Message: Directory /cvsroot/growl/Growl/Examples/GrowlDict added to the repository |
|
From: <bo...@us...> - 2004-07-29 06:48:04
|
Update of /cvsroot/growl/Growl/Examples/GrowlMail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9844 Modified Files: GrowlMail.m Log Message: Key strings are now static. The application name is now 'Mail'. Now using -[NSDictionary dictionaryWithObjectsAndKeys:] rather than -[NSMutableDictionary setObject:forKey:] to build notifications' userInfo dictionaries. This saves method calls. Cut out a redundant array in -gabResponse:. Index: GrowlMail.m =================================================================== RCS file: /cvsroot/growl/Growl/Examples/GrowlMail/GrowlMail.m,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- GrowlMail.m 28 Jul 2004 22:16:29 -0000 1.5 +++ GrowlMail.m 29 Jul 2004 06:47:55 -0000 1.6 @@ -10,6 +10,10 @@ #import <GrowlAppBridge/GrowlApplicationBridge.h> #import "GrowlDefines.h" +static NSString *newMail = @"GrowlMail: You've got mail!"; +static NSString *mailAppName = @"Mail"; + + @implementation GrowlMail + (void)initialize @@ -37,11 +41,12 @@ - (void)gabResponse:(id)context { // Register our ticket with Growl - NSMutableDictionary *ticket = [NSMutableDictionary dictionary]; - [ticket setObject:@"GrowlMail" forKey:GROWL_APP_NAME]; - [ticket setObject:[NSArray arrayWithObject:@"GrowlMail-NewMail"] forKey:GROWL_NOTIFICATIONS_ALL]; - [ticket setObject:[NSArray arrayWithObject:@"GrowlMail-NewMail"] forKey:GROWL_NOTIFICATIONS_DEFAULT]; - [ticket setObject:[[NSApp applicationIconImage] TIFFRepresentation] forKey:GROWL_APP_ICON]; + NSArray *allowedNotifications = [NSArray arrayWithObject:newMail]; + NSDictionary *ticket = [NSDictionary dictionaryWithObjectsAndKeys: + mailAppName, GROWL_APP_NAME, + allowedNotifications, GROWL_NOTIFICATIONS_ALL, + allowedNotifications, GROWL_NOTIFICATIONS_DEFAULT, + nil]; [[NSDistributedNotificationCenter defaultCenter] postNotificationName:GROWL_APP_REGISTRATION object:nil userInfo:ticket]; @@ -51,18 +56,17 @@ { MailAccount *account = [notification object]; NSDictionary *userInfo = [notification userInfo]; +// NSLog(@"UserInfo:%@",userInfo); - - //NSLog(@"UserInfo:%@\r",userInfo); - //New mail if([[userInfo objectForKey:@"NewMailWasReceived"] boolValue]){ //NSLog(@"%@ has received new mail!",[account displayName]); - NSMutableDictionary *notif = [NSMutableDictionary dictionary]; - [notif setObject:@"GrowlMail" forKey:GROWL_APP_NAME]; - [notif setObject:[account displayName] forKey:GROWL_NOTIFICATION_TITLE]; - [notif setObject:@"New mail is available" forKey:GROWL_NOTIFICATION_DESCRIPTION]; - [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"GrowlMail-NewMail" + NSDictionary *notif = [NSDictionary dictionaryWithObjectsAndKeys: + mailAppName, GROWL_APP_NAME, + [account displayName], GROWL_NOTIFICATION_TITLE, + @"New mail is available", GROWL_NOTIFICATION_DESCRIPTION, + nil]; + [[NSDistributedNotificationCenter defaultCenter] postNotificationName:newMail object:nil userInfo:notif]; } |
|
From: <bo...@us...> - 2004-07-29 06:45:58
|
Update of /cvsroot/growl/Growl/Examples/GrowlMail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9786 Modified Files: Info.plist Log Message: GrowlMail is now the principal class. Index: Info.plist =================================================================== RCS file: /cvsroot/growl/Growl/Examples/GrowlMail/Info.plist,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Info.plist 28 Jul 2004 22:16:30 -0000 1.2 +++ Info.plist 29 Jul 2004 06:45:50 -0000 1.3 @@ -19,6 +19,6 @@ <key>CFBundleVersion</key> <string>1.0</string> <key>NSPrincipalClass</key> - <string></string> + <string>GrowlMail</string> </dict> </plist> |
|
From: <bo...@us...> - 2004-07-29 06:33:43
|
Update of /cvsroot/growl/Growl/Examples/GrowlMail/GrowlMail.xcode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8593/GrowlMail.xcode Modified Files: project.pbxproj Log Message: Info.plist is now of type text.plist.xml instead of text.xml; deleted Eridius' home Frameworks folder from the framework search paths. Index: project.pbxproj =================================================================== RCS file: /cvsroot/growl/Growl/Examples/GrowlMail/GrowlMail.xcode/project.pbxproj,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- project.pbxproj 29 Jul 2004 03:07:21 -0000 1.5 +++ project.pbxproj 29 Jul 2004 06:33:34 -0000 1.6 @@ -388,7 +388,7 @@ buildRules = ( ); buildSettings = { - FRAMEWORK_SEARCH_PATHS = /Users/kevin/Library/Frameworks; + FRAMEWORK_SEARCH_PATHS = ""; GCC_ENABLE_TRIGRAPHS = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; @@ -495,7 +495,7 @@ 8D5B49B7048680CD000E48DA = { fileEncoding = 4; isa = PBXFileReference; - lastKnownFileType = text.xml; + lastKnownFileType = text.plist.xml; path = Info.plist; refType = 4; sourceTree = "<group>"; |
|
From: <du...@us...> - 2004-07-29 03:53:03
|
Update of /cvsroot/growl/Growl/Examples/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24908/python Added Files: Growl.py setup.py Log Message: and move these here --- NEW FILE: Growl.py --- """ A Python module that enables posting notifications to the Growl daemon. See <http://sourceforge.net/projects/growl/> for more information. Requires PyObjC 1.1 <http://pyobjc.sourceforge.net/> and Python 2.3 <http://www.python.org/>. Copyright 2003 Mark Rowe <bd...@us...> Released under the BSD license. """ from Foundation import NSArray, NSDistributedNotificationCenter, NSDictionary, NSNumber from AppKit import NSWorkspace class GrowlNotifier(object): """ A class that abstracts the process of registering and posting notifications to the Growl daemon. You can either pass `applicationName', `notifications', `defaultNotifications' and `applicationIcon' to the constructor or you may define them as class-level variables in a sub-class. `defaultNotifications' is optional, and defaults to the value of `notifications'. `applicationIcon' is also optional but defaults to a pointless icon so is better to be specified. Note: It appears that notifications aren't displayed if the delay between registering and posting is less than approximately 0.1 seconds. """ applicationName = 'GrowlNotifier' notifications = [] defaultNotifications = None applicationIcon = None def __init__(self, applicationName=None, notifications=None, defaultNotifications=None, applicationIcon=None): if applicationName is not None: self.applicationName = applicationName if notifications is not None: self.notifications = notifications if defaultNotifications is not None: self.defaultNotifications = defaultNotifications if applicationIcon is not None: self.applicationIcon = applicationIcon def register(self): """ Register this application with the Growl daemon. """ if not self.applicationIcon: self.applicationIcon = NSWorkspace.sharedWorkspace().iconForFileType_("txt") if self.defaultNotifications is None: self.defaultNotifications = self.notifications regInfo = {'ApplicationName': self.applicationName, 'AllNotifications': NSArray.arrayWithArray_(self.notifications), 'DefaultNotifications': NSArray.arrayWithArray_(self.defaultNotifications), 'ApplicationIcon': self.applicationIcon.TIFFRepresentation()} d = NSDictionary.dictionaryWithDictionary_(regInfo) notCenter = NSDistributedNotificationCenter.defaultCenter() notCenter.postNotificationName_object_userInfo_deliverImmediately_("GrowlApplicationRegistrationNotification", None, d, True) def notify(self, noteType, title, description, icon=None, style=None): """ Post a notification to the Growl daemon. `noteType' is the name of the notification that is being posted. `title' is the user-visible title for this notification. `description' is the user-visible description of this notification. `icon' is an optional icon for this notification. It defaults to `self.applicationIcon'. """ assert noteType in self.notifications if icon is None: icon = self.applicationIcon n = {'ApplicationName': self.applicationName, 'NotificationTitle': title, 'NotificationDescription': description, 'NotificationDefault': NSNumber.numberWithBool_(True), 'NotificationIcon': icon.TIFFRepresentation()} if style is not None: n['NotificationDefault'] = NSNumber.numberWithBool_(False) d = NSDictionary.dictionaryWithDictionary_(n) notCenter = NSDistributedNotificationCenter.defaultCenter() notCenter.postNotificationName_object_userInfo_deliverImmediately_(noteType, None, d, True) def main(): from Foundation import NSRunLoop, NSDate class TestGrowlNotifier(GrowlNotifier): applicationName = 'Test Growl Notifier' notifications = ['Foo'] n = TestGrowlNotifier(applicationIcon=NSWorkspace.sharedWorkspace().iconForFileType_('unknown')) n.register() # A small delay to ensure our notification will be shown. NSRunLoop.currentRunLoop().runUntilDate_(NSDate.dateWithTimeIntervalSinceNow_(0.1)) n.notify('Foo', 'Test Notification', 'Blah blah blah') if __name__ == '__main__': main() --- NEW FILE: setup.py --- from distutils.core import setup from distutils.command.install_scripts import install_scripts import os from distutils import log from stat import ST_MODE class appleLocalInstallWorkAround(install_scripts): # BAD BAD But this works :) def run (self): hold_dir = self.install_dir self.install_dir = "/usr/local/bin" r = install_scripts.run(self) self.install_dir = hold_dir return r setup(name="Growl", version="0.0.1", description="Python bindings for posting notifications to the Growl daemon", author="Mark Rowe", author_email="bd...@us...", url="http://Growl.info", scripts=["bin/gnotify"], cmdclass={'install_scripts':appleLocalInstallWorkAround}, py_modules=["Growl"]) |
|
From: <du...@us...> - 2004-07-29 03:53:03
|
Update of /cvsroot/growl/Growl/Examples/python/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24908/python/bin Added Files: gnotify Log Message: and move these here --- NEW FILE: gnotify --- #!/usr/bin/python """ A python script that sends notifications to the Growl daemon See <http://Growl.info> for more information. Requires PyObjC 1.1 <http://pyobjc.sourceforge.net/> and Python 2.3 <http://www.python.org/>. Copyright 2004 Jeremy Rossi <je...@je...> Released under the BSD license. Modified by Kevin Ballard <ke...@sb...> """ import Growl from Foundation import NSRunLoop, NSDate from AppKit import NSWorkspace import getopt, sys, os.path def usage(): sys.stdout.write("""%s: -n,--name Specify the name of them Application that is sending the notification [Default: gNotify] -i,--icon Specify a filetype or extension to be used for the icon -I,--iconpath Specify a filepath to be used for the icon This option overrides --icon -t,--title Title to be used in each notification [Default: gNotify] -m,--message Text to be send to the daemon. - is used to for stdin For each line (IE: \\n) a new notifaction is sent """ % sys.argv[0]) NOTIFICATION_NAME = 'Dynamic Messages' def main(): try: opts, args = getopt.getopt(sys.argv[1:], "n:t:m:i:I:", ["name=", "title=", "message=","icon=","iconpath="]) except getopt.GetoptError: # print help information and exit: usage() sys.exit(2) appName = "gNotify" nTitle = "gNotify" nMsg = "" nIconType = "" nIconPath = "" for o, a in opts: if o in ("-n", "--name"): appName = a elif o in ("-t", "--title"): nTitle = a elif o in ("-m", "--message"): nMsg = a elif o in ("-i", "--icon"): nIconType = a elif o in ("-I", "--iconpath"): nIconPath = a nIcon = None if nIconPath != '': nIconPath = os.path.abspath(nIconPath) nIcon = NSWorkspace.sharedWorkspace().iconForFile_(nIconPath) elif nIconType != '': nIcon = NSWorkspace.sharedWorkspace().iconForFileType_(nIconType) if nIcon is None: nIcon = NSWorkspace.sharedWorkspace().iconForFileType_('unknown') class TestGrowlNotifier(Growl.GrowlNotifier): applicationName = appName notifications = [NOTIFICATION_NAME] n = TestGrowlNotifier(applicationIcon=nIcon) n.register() # A small delay to ensure our notification will be shown. NSRunLoop.currentRunLoop().runUntilDate_(NSDate.dateWithTimeIntervalSinceNow_(0.1)) if nMsg == "-": while 1: i = sys.stdin.readline() if not i: break n.notify(NOTIFICATION_NAME, nTitle, i) else: n.notify(NOTIFICATION_NAME, nTitle, nMsg) if __name__ == '__main__': main() |
|
From: <du...@us...> - 2004-07-29 03:51:38
|
Update of /cvsroot/growl/Growl/Examples/python/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24776/bin Log Message: Directory /cvsroot/growl/Growl/Examples/python/bin added to the repository |
|
From: <du...@us...> - 2004-07-29 03:50:34
|
Update of /cvsroot/growl/Growl/Examples/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24524/python Log Message: Directory /cvsroot/growl/Growl/Examples/python added to the repository |
|
From: <du...@us...> - 2004-07-29 03:47:07
|
Update of /cvsroot/growl/Growl/Examples/perl/irssi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24044/perl/irssi Added Files: README growl.pl Log Message: moved these here --- NEW FILE: README --- In order to install and run this irssi plugin, you must have 3 things preinstalled: 1) irssi with perl support. To get perl support in irssi, do one of the following: When configuring irssi, do this: ./configure --with-perl=yes or, if you have a install of darwinports, do this: sudo port install irssi +perl 2) A working Growl install. 3) Mac::Growl installed. Once you have these three, move growl.pl to ~/.irssi/scripts/ and then run this command in irssi: /script load growl.pl You should get a visual notification that growl installed. --- NEW FILE: growl.pl --- use strict; use warnings; use vars qw($VERSION %IRSSI $Notes $AppName); use Mac::Growl; use Irssi; $VERSION = 0.01; %IRSSI = ( authors => 'Nelson Elhage', contact => 'Ha...@us...', name => 'Growl', description => 'Sends out Growl notifications for irssi.', license => 'BSD' ); #This is a simple irssi script to send out Growl notifications using #Mac::Growl. At the moment, it just sends out notifications for every #privmsg you receive. $Notes = ["irssi-privmsg"]; $AppName = "irssi"; Mac::Growl::RegisterNotifications($AppName,$Notes,$Notes); sub event_privmsg { my ($server, $data, $nick, $address) = @_; Mac::Growl::PostNotification($AppName,"irssi-privmsg","$nick","$data"); } Irssi::signal_add_last("message private","event_privmsg"); #sub away_hilight_notice is what we need for away hilight notices |
|
From: <du...@us...> - 2004-07-29 03:47:07
|
Update of /cvsroot/growl/Growl/Examples/perl/Mac-Growl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24044/perl/Mac-Growl Added Files: Changes MANIFEST Makefile.PL README Log Message: moved these here --- NEW FILE: Changes --- Revision history for Perl extension Mac::Growl. 0.01 Wed Jun 2 16:53:51 2004 - original version; created by h2xs 1.23 with options -A -n Mac::Growl 0.20 Wed Jun 2 21:27 2004 - Implemented RegisterNotifications and PostNotification Both work now, but there is no image support. 0.25 Thu Jun 10 16:23:53 2004 - Recreated by h2xs 1.23 with options -A -n Mac::Growl -X - Reimplemented using PerlObjCBridge --- NEW FILE: MANIFEST --- Changes Makefile.PL MANIFEST README t/Mac-Growl.t lib/Mac/Growl.pm --- NEW FILE: Makefile.PL --- use 5.008001; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( NAME => 'Mac::Growl', VERSION_FROM => 'lib/Mac/Growl.pm', # finds $VERSION PREREQ_PM => {}, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/Mac/Growl.pm', # retrieve abstract from module AUTHOR => 'Nelson Elhage <ne...@ne...>') : ()), ); --- NEW FILE: README --- Mac-Growl version 0.20 ====================== Mac::Growl provides an interface for perl scripts to connect to Growl, allowing them to register with it, and send it notifications to be displayed. See http://growl.info for more information on growl, or consult man Mac::Growl or perldoc Mac::Growl after installation for more details on the module, or perldoc lib/Mac/Growl.pm beforehand. INSTALLATION To install this module type the following: perl Makefile.PL make make test sudo make install make test will register "PerlApp" with growl with Growl, with one notification, "PerlApp-Test", and then post that notification with a message. Please note, the first time you make test, the notification make take a significant amount of time to appear, while Growl searches for an icon for the non-existent "PerlApp". This will be fixed in a later version. Also note, since there is currently no Growl->Caller communication, there is no way for the test script to tell if it's working, and therefore will always report sucess. If you don't see the notification, check console, wait a while and try again, and/or ask in #growl on irc.freenode.net. DEPENDENCIES This module should work on any Mac OS X system, although it requires the developer tools to build and install. COPYRIGHT AND LICENCE Copyright (C) 2004 by Nelson Elhage Copyright (c) The Growl Project, 2004 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
From: <du...@us...> - 2004-07-29 03:47:06
|
Update of /cvsroot/growl/Growl/Examples/perl/Mac-Growl/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24044/perl/Mac-Growl/t Added Files: Mac-Growl.t Log Message: moved these here --- NEW FILE: Mac-Growl.t --- # Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl Mac-Growl.t' ######################### # change 'tests => 1' to 'tests => last_test_to_print'; use Test::More tests => 1; BEGIN { use_ok('Mac::Growl') }; ######################### Mac::Growl::RegisterNotifications("PerlApp",["PerlApp-Test"],["PerlApp-Test"]); sleep(1); #A brief delay for Growl to process the notification Mac::Growl::PostNotification("PerlApp","PerlApp-Test","Congratulations","Mac::Growl is working."); |
|
From: <du...@us...> - 2004-07-29 03:47:06
|
Update of /cvsroot/growl/Growl/Examples/perl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24044/perl Added Files: ForumGrowl.pl Log Message: moved these here --- NEW FILE: ForumGrowl.pl --- #!/usr/bin/perl use Mac::Growl; $Notes = ["Forum-threads"]; $AppName = "ForumGrowl"; Mac::Growl::RegisterNotifications($AppName,$Notes,$Notes); @old = (); $isOld = 0; $separator = 0; if (-e "data.txt") { open (INFILE,"data.txt"); print "Loading datafile...\n"; while( <INFILE> ) { if($_=~/(.*),([0-9]+)/) { push(@old,["$1","$2"]); } } close (INFILE); } while(1) { print "Updating forum data...\n"; @forum = split(/\n/,`curl -s "http://www.funmac.com/forumdisplay.php?f=100&styleid=10"`); $size = @forum; for($i=0;$i<$size;$i++) { if($forum[$i]=~/<a href="showthread\.php\?s=[A-Za-z0-9]+&t=[0-9]+">(.*)<\/a>/) { $topic = $1; $topic =~ s/"/\"/g; } if($forum[$i]=~/<span style=\"cursor:pointer\" onclick=\"window\.open\('member\.php\?s=.*&u=.*'\)\">(.*)<\/span>/) { $topicstarter = $1; } if($forum[$i]=~/<a href=\"member\.php\?find=lastposter&t=[0-9]+\">(.*)<\/a> /) { $lastposter = $1; } if($forum[$i]=~/<a href=\"#\" onclick=\"who\([0-9]+\); return false;\">(.*)<\/a>/) { $replies = $1; $rows = scalar(@old); for($j=0;$j<$rows;$j++) { if($old[$j][0] eq $topic) { $isOld = 1; #thread is old if($old[$j][1] == $replies) { $newReply = -1; #no new replies } else { $newReply = $j; #new reply, save array index } } } if($isOld == 0) { if($separator == 0) { print "------------------------------\n"; $separator = 1; } print "\(NEW THREAD\)\ntopic: $topic\ntopicstarter: $topicstarter\nlastposter: $lastposter\nreplies: $replies\n"; print "------------------------------\n"; Mac::Growl::PostNotification($AppName,"Forum-threads","$topic","topic starter: $topicstarter\nlast poster: $lastposter"); push(@old,["$topic","$replies"]); sleep(2); } if(($isOld == 1) && ($newReply != -1)) { if($separator == 0) { print "------------------------------\n"; $separator = 1; } print "\(NEW REPLY\)\ntopic: $topic\ntopicstarter: $topicstarter\nlastposter: $lastposter\nreplies: $replies\n"; print "------------------------------\n"; Mac::Growl::PostNotification($AppName,"Forum-threads","$topic","topic starter: $topicstarter\nlast poster: $lastposter"); $old[$newReply][1] = $replies; sleep(2); } $isOld = 0; $newReply = -1; } } $separator = 0; $rows = scalar(@old); print "Saving datafile...\n"; open(OUTFILE, ">data.txt"); for($k=0;$k<$rows;$k++) { print OUTFILE "$old[$k][0],$old[$k][1]\n"; } close(OUTFILE); print "Waiting 2 minutes for next update...\n"; sleep(120); } |