Skip to content

Commit

Permalink
Xcode 10 compatibility, Dark mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
hholtmann committed Aug 11, 2018
1 parent 6d6a6e8 commit de39884
Show file tree
Hide file tree
Showing 16 changed files with 4,356 additions and 19,262 deletions.
8 changes: 4 additions & 4 deletions Classes/FanControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@

#import <Cocoa/Cocoa.h>
#import "NSFileManager+DirectoryLocations.h"
#import <smc.h>
#import <smcWrapper.h>
#import <MachineDefaults.h>
#import "smc.h"
#import "smcWrapper.h"
#import "MachineDefaults.h"

#import <Power.h>
#import "Power.h"
#include <mach/mach_port.h>
#include <mach/mach_interface.h>
#include <mach/mach_init.h>
Expand Down
2 changes: 1 addition & 1 deletion Classes/MachineDefaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#import <Cocoa/Cocoa.h>
#import <smcWrapper.h>
#import "smcWrapper.h"


@interface MachineDefaults : NSObject {
Expand Down
4 changes: 2 additions & 2 deletions Classes/smcWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*/

#import <Cocoa/Cocoa.h>
#import <smc.h>
#import <MachineDefaults.h>
#import "smc.h"
#import "MachineDefaults.h"
#import "Constants.h"

@interface smcWrapper : NSObject {
Expand Down
2 changes: 1 addition & 1 deletion Classes/smcWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#import "smcWrapper.h"
#import <CommonCrypto/CommonDigest.h>
NSString * const smc_checksum=@"c1c93f148c80e7ab466f83dabe011a6e";
NSString * const smc_checksum=@"4fc00a0979970ee8b55f078a0c793c4d";

NSArray *allSensors;

Expand Down
5,952 changes: 1,081 additions & 4,871 deletions Ressources/Dutch.lproj/MainMenu.nib/designable.nib

Large diffs are not rendered by default.

Binary file modified Ressources/Dutch.lproj/MainMenu.nib/keyedobjects.nib
Binary file not shown.
6,088 changes: 1,081 additions & 5,007 deletions Ressources/French.lproj/MainMenu.nib/designable.nib

Large diffs are not rendered by default.

Binary file modified Ressources/French.lproj/MainMenu.nib/keyedobjects.nib
Binary file not shown.
5,790 changes: 1,092 additions & 4,698 deletions Ressources/German.lproj/MainMenu.nib/designable.nib

Large diffs are not rendered by default.

Binary file modified Ressources/German.lproj/MainMenu.nib/keyedobjects.nib
Binary file not shown.
5,748 changes: 1,081 additions & 4,667 deletions Ressources/Spanish.lproj/MainMenu.nib/designable.nib

Large diffs are not rendered by default.

Binary file modified Ressources/Spanish.lproj/MainMenu.nib/keyedobjects.nib
Binary file not shown.
12 changes: 7 additions & 5 deletions smcFanControl.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0940;
LastUpgradeCheck = 1000;
TargetAttributes = {
8924ECED15AC96E70031730C = {
DevelopmentTeam = H4G85G26BP;
Expand Down Expand Up @@ -443,7 +443,7 @@
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_IDENTITY = "Mac Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = H4G85G26BP;
Expand Down Expand Up @@ -472,7 +472,7 @@
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_IDENTITY = "Mac Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
Expand Down Expand Up @@ -558,12 +558,14 @@
"\"$(SDKROOT)/usr/lib/system\"",
);
MACOSX_DEPLOYMENT_TARGET = 10.7;
OBJROOT = "$(HOME)/builds";
ONLY_ACTIVE_ARCH = NO;
OTHER_CODE_SIGN_FLAGS = "--deep";
PRODUCT_BUNDLE_IDENTIFIER = com.eidac.smcFanControl2;
PRODUCT_NAME = smcFanControl;
PROVISIONING_PROFILE = "";
SDKROOT = macosx;
SYMROOT = "$(HOME)/builds";
VALID_ARCHS = "i386 x86_64";
WRAPPER_EXTENSION = app;
};
Expand All @@ -573,7 +575,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CODE_SIGN_IDENTITY = "Developer ID Application: Hendrik Holtmann";
CODE_SIGN_IDENTITY = "Mac Developer";
ENABLE_TESTABILITY = YES;
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
Expand All @@ -591,7 +593,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CODE_SIGN_IDENTITY = "Developer ID Application: Hendrik Holtmann";
CODE_SIGN_IDENTITY = "Mac Developer";
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Classes/smcWrapper.m"
timestampString = "555718380.442687"
timestampString = "555720499.446066"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "237"
endingLineNumber = "237"
landmarkName = "+createCheckSum:"
startingLineNumber = "60"
endingLineNumber = "60"
landmarkName = "+convertToNumber:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0940"
LastUpgradeVersion = "1000"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -42,7 +42,7 @@
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = "en"
Expand Down

0 comments on commit de39884

Please sign in to comment.