-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove support for 10.7 #74
base: master
Are you sure you want to change the base?
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -179,11 +179,9 @@ void COViewDOTGraphFile(NSString *dotFilePath) | |
continue; | ||
} | ||
|
||
// NOTE: Using NSTask rather than system() breaks 'po [objectGraphContext showGraph]' in LLDB on 10.7 | ||
system([[NSString stringWithFormat: @"%@ -Tpdf '%@' -o '%@'", | ||
executablePath, | ||
dotFilePath, | ||
pdfPath] UTF8String]); | ||
NSTask *task = [NSTask launchedTaskWithLaunchPath:executablePath | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A space is missing between launchedTaskWithLaunchPath: and executablePath. Same right after arguments:. |
||
arguments:@[@"-Tpdf", dotFilePath, @"-o", pdfPath]]; | ||
[task waitUntilExit]; | ||
[[NSWorkspace sharedWorkspace] openFile: pdfPath]; | ||
break; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,12 +125,12 @@ - (void)dealloc | |
db_ = nil; | ||
}); | ||
|
||
#if !(TARGET_OS_IPHONE) | ||
// N.B.: We are using deployment target 10.7, so ARC does not manage libdispatch objects. | ||
// If we switch to deployment target 10.8, ARC will manage libdispatch objects automatically. | ||
// For GNUstep, ARC doesn't manage libdispatch objects since libobjc2 doesn't support it | ||
#if defined(GNUSTEP) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should change to |
||
// N.B.: We are using deployment target 10.8, so ARC will manage | ||
// libdispatch objects automatically. For GNUstep, ARC doesn't | ||
// manage libdispatch objects since libobjc2 doesn't support it | ||
// currently (we compile CoreObject with -DOS_OBJECT_USE_OBJC=0). | ||
dispatch_release(queue_); | ||
dispatch_release(_queue); | ||
#endif | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,8 +91,6 @@ - (instancetype)init | |
- (void)dealloc | ||
{ | ||
#ifdef DELETE_STORE_AFTER_EACH_TEST_METHOD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. DELETE_STORE_AFTER_EACH_TEST_METHOD should now be defined by default or removed. @ericwa, what's your take on this? |
||
// FIXME: For Mac OS X 10.7, this is unsupported, SQLite disk errors | ||
// (DB Error: 10 "disk I/O error") appear in TestStoreSQLite.m. | ||
[[self class] deleteStores]; | ||
#endif | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,10 +204,9 @@ - (void)dealloc | |
[_db close]; | ||
}); | ||
|
||
#if !(TARGET_OS_IPHONE) | ||
// N.B.: We are using deployment target 10.7, so ARC does not manage libdispatch objects. | ||
// If we switch to deployment target 10.8, ARC will manage libdispatch objects automatically. | ||
// For GNUstep, ARC doesn't manage libdispatch objects since libobjc2 doesn't support it | ||
#if defined(GNUSTEP) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should change to |
||
// N.B.: We are using deployment target 10.8, so ARC will manage libdispatch objects automatically. | ||
// For GNUstep, ARC doesn't manage libdispatch objects since libobjc2 doesn't support it | ||
// currently (we compile CoreObject with -DOS_OBJECT_USE_OBJC=0). | ||
dispatch_release(_queue); | ||
dispatch_release(_transactionLock); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd keep this comment, but change the end to