Skip to content
Browse files

Release 1.2.

  • Loading branch information...
1 parent 31734e2 commit fedc8e92d7328b595ca94276951c20d3de154988 @remysaissy committed Jul 25, 2012
View
61 README.md
@@ -5,38 +5,41 @@ This Preferences pane for MongoDB.
![Screenshot](https://github.com/remysaissy/mongodb-macosx-prefspane/raw/master/doc/screenshot%20started.png)
-Prerequisite
--------
-
-Install MongoDB using homebrew (http://mxcl.github.com/homebrew/).
-
- brew install mongodb
-
Functionalities
--------
-
-The following functionalities are supported:
-
-* Indicates if the server is running.
-* Start / Stop the MongoDB Server
-* Install / Uninstall MongoDB Server for startup at login time (LaunchAgent)
-* Seamlessly migrate your homebrew launchd plist file so you won't loose your modifications when you check automatic startup
-* Disabling automatic startup won't loose your plist, it will be moved as a .disabled file and restored if needed
-
-Downloading
--------
-
-The latest version is in the download directory of the source tree.
-(https://github.com/remysaissy/mongodb-macosx-prefspane/raw/master/download/MongoDB.prefPane.zip)
-
-
-Installing
--------
+---------------
+
+* Runs on MacOSX Snow Leopard, Lion and Moutain Lion
+* Indicates if the server is running
+* Manual start/stop of the MongoDB server
+* Enable/disable automatic startup of the server at boot
+* Keep your plist’s customizations safe
+* Homebrew’s launchd plist is migrated
+* Enable/disable automatic startup don’t delete the launchd plist
+* Automatic update
+* New versions install automatically
+* A green label at the top right corner informs you that you should restart your system preferences
+* Available in several languages
+** English
+** French
+** Simplified Chinese
+** Spanish
+** Brazilian / Portugese
+
+Prerequisites
+-------------
+
+It does not embed a MongoDB Server. Therefore, you first have to install MongoDB.
+A simple way to do it is by using Homebrew to install MongoDB.
+
+$brew install mongodb
+
+Installation
+------------
-* Download the latest version
-* Unzip the archive
-* Execute MongoDB.prefPane. This will install it in your preferences panel
+1. Download the latest version: https://github.com/remysaissy/mongodb-macosx-prefspane/raw/master/download/MongoDB.prefPane.zip
+2. Unzip MongoDB.prefPane.zip
+3. Double click on MongoDB.prefPane. This will install it in your System Preferences
Note: To Mountain Lion users. This application is presently not on the app store and therefore it is not signed. You can still install it but don't be surprised to have an alert about it.
View
BIN doc/screenshot started.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN doc/screenshot stopped.png
Deleted file not rendered
View
2 download/LATEST_VERSION
@@ -1 +1 @@
-1.1
+1.2
View
4 download/MongoDB.prefPane.dSYM/Contents/Info.plist
@@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
- <string>1.1</string>
+ <string>1.2</string>
<key>CFBundleVersion</key>
- <string>2</string>
+ <string>3</string>
</dict>
</plist>
View
BIN download/MongoDB.prefPane.dSYM/Contents/Resources/DWARF/MongoDB
Binary file not shown.
View
BIN download/MongoDB.prefPane.zip
Binary file not shown.
View
4 src/main/objc/AutoUpdater.m
@@ -109,9 +109,9 @@ - (void)_checkingUpdateDidFinish
{
NSNumberFormatter * f = [[[NSNumberFormatter alloc] init] autorelease];
[f setNumberStyle:NSNumberFormatterDecimalStyle];
- [f setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]];
+ [f setLocale:[[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"] autorelease]];
- NSString *versionString = [[[NSBundle bundleForClass:[AutoUpdater class]] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
+ NSString *versionString = [[[[[NSBundle bundleForClass:[AutoUpdater class]] infoDictionary] objectForKey:@"CFBundleShortVersionString"] retain] autorelease];
NSNumber *versionNumber = [f numberFromString:versionString];
NSString *latestVersionString = [[[NSString alloc] initWithData:self._data encoding:NSUTF8StringEncoding] autorelease];
View
4 src/main/objc/Helpers+Private.m
@@ -30,7 +30,7 @@ + (BOOL)_isProcessRunningForProcessNamed:(NSString *)processName
for (int k = 0; k < processCount; k++) {
struct kinfo_proc *proc = NULL;
proc = &processList[k];
- NSString *fullName = [[self _infoForPID:proc->kp_proc.p_pid] objectForKey:(id)kCFBundleNameKey];
+ NSString *fullName = [[[[self _infoForPID:proc->kp_proc.p_pid] objectForKey:(id)kCFBundleNameKey] retain] autorelease];
if (fullName == nil)
fullName = [NSString stringWithFormat:@"%s",proc->kp_proc.p_comm];
if ([processName isEqualToString:fullName] == YES) {
@@ -85,7 +85,7 @@ + (NSArray *)_pidListForProcesses
for (int k = 0; k < processCount; k++) {
struct kinfo_proc *proc = NULL;
proc = &processList[k];
- NSString *fullName = [[self _infoForPID:proc->kp_proc.p_pid] objectForKey:(id)kCFBundleNameKey];
+ NSString *fullName = [[[[self _infoForPID:proc->kp_proc.p_pid] objectForKey:(id)kCFBundleNameKey] retain] autorelease];
if (fullName == nil)
fullName = [NSString stringWithFormat:@"%s",proc->kp_proc.p_comm];
if ([@"mongod" isEqualToString:fullName] == YES)

0 comments on commit fedc8e9

Please sign in to comment.
Something went wrong with that request. Please try again.