name changing issues

This commit is contained in:
Jeena Paradies 2013-02-11 00:01:39 +01:00
parent 62ebf97640
commit cf3405fa0c
8 changed files with 15 additions and 17 deletions

View file

@ -49,7 +49,7 @@
UInt32 _passwordLength = 0; UInt32 _passwordLength = 0;
char *_password = nil; char *_password = nil;
SecKeychainItemRef item = nil; SecKeychainItemRef item = nil;
SecKeychainFindGenericPassword(NULL, 6, "bungloo", 17, "bunglooUserAccount", &_passwordLength, (void **)&_password, &item); SecKeychainFindGenericPassword(NULL, 6, "Bungloo", 17, "BunglooUserAccount", &_passwordLength, (void **)&_password, &item);
OSStatus status; OSStatus status;
void * passwordData = (void*)[_secret cStringUsingEncoding:NSUTF8StringEncoding]; void * passwordData = (void*)[_secret cStringUsingEncoding:NSUTF8StringEncoding];
@ -59,9 +59,9 @@
status = SecKeychainAddGenericPassword( status = SecKeychainAddGenericPassword(
NULL, // default keychain NULL, // default keychain
6, // length of service name 6, // length of service name
"bungloo", // service name "Bungloo", // service name
17, // length of account name 17, // length of account name
"bunglooUserAccount", // account name "BunglooUserAccount", // account name
passwordLength, // length of password passwordLength, // length of password
passwordData, // pointer to password data passwordData, // pointer to password data
NULL // the item reference NULL // the item reference
@ -84,7 +84,7 @@
UInt32 passwordLength = 0; UInt32 passwordLength = 0;
char *password = nil; char *password = nil;
SecKeychainItemRef item = nil; SecKeychainItemRef item = nil;
SecKeychainFindGenericPassword(NULL, 6, "bungloo", 17, "bunglooUserAccount", &passwordLength, (void **)&password, &item); SecKeychainFindGenericPassword(NULL, 6, "Bungloo", 17, "BunglooUserAccount", &passwordLength, (void **)&password, &item);
if (!item) { if (!item) {
return nil; return nil;

View file

@ -87,7 +87,6 @@
1FFA36D41177D879006C8562 /* ViewDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewDelegate.h; sourceTree = "<group>"; }; 1FFA36D41177D879006C8562 /* ViewDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewDelegate.h; sourceTree = "<group>"; };
1FFA36D51177D879006C8562 /* ViewDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewDelegate.m; sourceTree = "<group>"; }; 1FFA36D51177D879006C8562 /* ViewDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewDelegate.m; sourceTree = "<group>"; };
1FFA37061177DAF4006C8562 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; 1FFA37061177DAF4006C8562 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
2564AD2C0F5327BB00F57823 /* Bungloo_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = Bungloo_Prefix.pch; sourceTree = "<group>"; };
2A37F4ACFDCFA73011CA2CEA /* NewMessageWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = NewMessageWindow.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; 2A37F4ACFDCFA73011CA2CEA /* NewMessageWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = NewMessageWindow.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
2A37F4AEFDCFA73011CA2CEA /* NewMessageWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = NewMessageWindow.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; 2A37F4AEFDCFA73011CA2CEA /* NewMessageWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = NewMessageWindow.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
2A37F4B0FDCFA73011CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = main.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; 2A37F4B0FDCFA73011CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = main.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
@ -193,7 +192,6 @@
2A37F4AFFDCFA73011CA2CEA /* Other Sources */ = { 2A37F4AFFDCFA73011CA2CEA /* Other Sources */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
2564AD2C0F5327BB00F57823 /* Bungloo_Prefix.pch */,
1F55BA1216C852FB009F0306 /* Bungloo_Prefix.pch */, 1F55BA1216C852FB009F0306 /* Bungloo_Prefix.pch */,
2A37F4B0FDCFA73011CA2CEA /* main.m */, 2A37F4B0FDCFA73011CA2CEA /* main.m */,
); );

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Scheme <Scheme
LastUpgradeVersion = "0450" LastUpgradeVersion = "0460"
version = "1.3"> version = "1.3">
<BuildAction <BuildAction
parallelizeBuildables = "YES" parallelizeBuildables = "YES"
@ -15,7 +15,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "8D15AC270486D014006FF6A4" BlueprintIdentifier = "8D15AC270486D014006FF6A4"
BuildableName = "bungloo.app" BuildableName = "Bungloo.app"
BlueprintName = "Bungloo" BlueprintName = "Bungloo"
ReferencedContainer = "container:Bungloo.xcodeproj"> ReferencedContainer = "container:Bungloo.xcodeproj">
</BuildableReference> </BuildableReference>
@ -33,7 +33,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "8D15AC270486D014006FF6A4" BlueprintIdentifier = "8D15AC270486D014006FF6A4"
BuildableName = "bungloo.app" BuildableName = "Bungloo.app"
BlueprintName = "Bungloo" BlueprintName = "Bungloo"
ReferencedContainer = "container:Bungloo.xcodeproj"> ReferencedContainer = "container:Bungloo.xcodeproj">
</BuildableReference> </BuildableReference>
@ -52,7 +52,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "8D15AC270486D014006FF6A4" BlueprintIdentifier = "8D15AC270486D014006FF6A4"
BuildableName = "bungloo.app" BuildableName = "Bungloo.app"
BlueprintName = "Bungloo" BlueprintName = "Bungloo"
ReferencedContainer = "container:Bungloo.xcodeproj"> ReferencedContainer = "container:Bungloo.xcodeproj">
</BuildableReference> </BuildableReference>
@ -70,7 +70,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "8D15AC270486D014006FF6A4" BlueprintIdentifier = "8D15AC270486D014006FF6A4"
BuildableName = "bungloo.app" BuildableName = "Bungloo.app"
BlueprintName = "Bungloo" BlueprintName = "Bungloo"
ReferencedContainer = "container:Bungloo.xcodeproj"> ReferencedContainer = "container:Bungloo.xcodeproj">
</BuildableReference> </BuildableReference>

View file

@ -4,7 +4,7 @@
<dict> <dict>
<key>SchemeUserState</key> <key>SchemeUserState</key>
<dict> <dict>
<key>Tentia.xcscheme</key> <key>Bungloo.xcscheme</key>
<dict> <dict>
<key>orderHint</key> <key>orderHint</key>
<integer>1</integer> <integer>1</integer>

View file

@ -360,7 +360,7 @@
- (NSString *)pluginURL - (NSString *)pluginURL
{ {
NSFileManager *fileManager = [NSFileManager defaultManager]; NSFileManager *fileManager = [NSFileManager defaultManager];
NSString *pathToPlugin = [@"~/Library/Application Support/bungloo/Plugin.js" stringByExpandingTildeInPath]; NSString *pathToPlugin = [@"~/Library/Application Support/Bungloo/Plugin.js" stringByExpandingTildeInPath];
if([fileManager fileExistsAtPath:pathToPlugin]) if([fileManager fileExistsAtPath:pathToPlugin])
{ {

View file

@ -125,7 +125,7 @@
- (NSString *)pluginURL - (NSString *)pluginURL
{ {
NSFileManager *fileManager = [NSFileManager defaultManager]; NSFileManager *fileManager = [NSFileManager defaultManager];
NSString *pathToPlugin = [@"~/Library/Application Support/bungloo/Plugin.js" stringByExpandingTildeInPath]; NSString *pathToPlugin = [@"~/Library/Application Support/Bungloo/Plugin.js" stringByExpandingTildeInPath];
if([fileManager fileExistsAtPath:pathToPlugin]) if([fileManager fileExistsAtPath:pathToPlugin])
{ {

View file

@ -1,12 +1,12 @@
bungloo Bungloo
======= =======
bungloo is a slim Tent client for OS X and Linux written in mostly JavaScript. Bungloo is a slim Tent client for OS X and Linux written in mostly JavaScript.
For more info check out the Wiki page: https://github.com/jeena/bungloo/wiki For more info check out the Wiki page: https://github.com/jeena/bungloo/wiki
Thanks everyone in the Open Source community! bungloo is using: Thanks everyone in the Open Source community! Bungloo is using:
- RequireJS - http://requirejs.org - RequireJS - http://requirejs.org
- URI.js - http://medialize.github.com/URI.js/ - URI.js - http://medialize.github.com/URI.js/