:100755 100755 b35e59b effdb0d M HexFiend_2.xcodeproj/project.pbxproj
:100644 100644 ba8331c bacecc2 M app/sources/DataInspectorScrollView.m
:100644 100644 a24fffb 55ceffc M app/sources/DiffTextViewContainer.m
:100644 100644 520d976 9307117 M app/sources/HFClickableTextField.m
:100644 100644 cd2b968 a2b3783 M app/sources/TextDividerRepresenter.m
:100644 100644 a7d44cf a327692 M framework/sources/HFColumnView.m
:100644 100644 7f2322b d3f6129 M framework/sources/HFFunctions.m
:100644 100644 81e66b0 1acd966 M framework/sources/HFLineCountingView.m
:100644 100644 8f0cbc1 4b99a81 M framework/sources/HFRepresenterTextView.m
:100644 100644 cf917c6 55e4d9a M framework/sources/HFTextRepresenter.m
diff --git a/HexFiend_2.xcodeproj/project.pbxproj b/HexFiend_2.xcodeproj/project.pbxproj
index b35e59b..effdb0d 100755
a
|
b
|
|
3 | 3 | archiveVersion = 1; |
4 | 4 | classes = { |
5 | 5 | }; |
6 | | objectVersion = 53; |
| 6 | objectVersion = 50; |
7 | 7 | objects = { |
8 | 8 | |
9 | 9 | /* Begin PBXAggregateTarget section */ |
… |
… |
|
112 | 112 | A59BC59C2002113F0066860F /* HFTemplateNode.m in Sources */ = {isa = PBXBuildFile; fileRef = A59BC59B2002113F0066860F /* HFTemplateNode.m */; }; |
113 | 113 | A59BC59F2002E63C0066860F /* HFTemplateController.m in Sources */ = {isa = PBXBuildFile; fileRef = A59BC59E2002E63C0066860F /* HFTemplateController.m */; }; |
114 | 114 | A59DFE67200BE7A800FEA540 /* BinaryTemplateController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A59DFE65200BE7A800FEA540 /* BinaryTemplateController.xib */; }; |
115 | | A5A34C1B26AD271900506AE7 /* Sparkle in Frameworks */ = {isa = PBXBuildFile; productRef = A5A34C1A26AD271900506AE7 /* Sparkle */; }; |
| 115 | A5A34C1B26AD271900506AE7 /* (null) in Frameworks */ = {isa = PBXBuildFile; }; |
116 | 116 | A5AE0C1D21E1D7570044014E /* HFColumnView.h in Headers */ = {isa = PBXBuildFile; fileRef = A5AE0C1B21E1D7570044014E /* HFColumnView.h */; settings = {ATTRIBUTES = (Public, ); }; }; |
117 | 117 | A5AE0C1E21E1D7570044014E /* HFColumnView.m in Sources */ = {isa = PBXBuildFile; fileRef = A5AE0C1C21E1D7570044014E /* HFColumnView.m */; }; |
118 | 118 | A5CEA41C20D5DF4400BCA488 /* HFStringEncoding.h in Headers */ = {isa = PBXBuildFile; fileRef = A5CEA41A20D5DF4400BCA488 /* HFStringEncoding.h */; settings = {ATTRIBUTES = (Public, ); }; }; |
… |
… |
|
698 | 698 | A5D8C8F220E9E58000103D60 /* libz.1.tbd in Frameworks */, |
699 | 699 | A59BC5942001FD0F0066860F /* Tcl.framework in Frameworks */, |
700 | 700 | 795F46C314BAADB600EB2F7D /* DiskArbitration.framework in Frameworks */, |
701 | | A5A34C1B26AD271900506AE7 /* Sparkle in Frameworks */, |
| 701 | A5A34C1B26AD271900506AE7 /* (null) in Frameworks */, |
702 | 702 | 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, |
703 | 703 | 94ECCBC01BDF7DD2007FF44E /* HexFiend.framework in Frameworks */, |
704 | 704 | ); |
… |
… |
|
1494 | 1494 | D039DC001481C17C00364FA6 /* PBXTargetDependency */, |
1495 | 1495 | ); |
1496 | 1496 | name = HexFiend_2; |
1497 | | packageProductDependencies = ( |
1498 | | A5A34C1A26AD271900506AE7 /* Sparkle */, |
1499 | | ); |
1500 | 1497 | productInstallPath = "$(HOME)/Applications"; |
1501 | 1498 | productName = HexFiend_2; |
1502 | 1499 | productReference = 8D1107320486CEB800E47090 /* Hex Fiend.app */; |
… |
… |
|
1626 | 1623 | }; |
1627 | 1624 | }; |
1628 | 1625 | buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "HexFiend_2" */; |
1629 | | compatibilityVersion = "Xcode 11.4"; |
| 1626 | compatibilityVersion = "Xcode 9.3"; |
1630 | 1627 | developmentRegion = en; |
1631 | 1628 | hasScannedForEncodings = 1; |
1632 | 1629 | knownRegions = ( |
… |
… |
|
1634 | 1631 | Base, |
1635 | 1632 | ); |
1636 | 1633 | mainGroup = 29B97314FDCFA39411CA2CEA /* HexFiend_2 */; |
1637 | | packageReferences = ( |
1638 | | A5A34C1926AD271900506AE7 /* XCRemoteSwiftPackageReference "Sparkle" */, |
1639 | | ); |
1640 | 1634 | projectDirPath = ""; |
1641 | 1635 | projectRoot = ../..; |
1642 | 1636 | targets = ( |
… |
… |
|
2488 | 2482 | INFOPLIST_PREFIX_HEADER = version.h; |
2489 | 2483 | INFOPLIST_PREPROCESS = YES; |
2490 | 2484 | INSTALL_PATH = "@loader_path/../Frameworks"; |
| 2485 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
2491 | 2486 | LD_DYLIB_INSTALL_NAME = "@loader_path/../Frameworks/HexFiend.framework/Versions/A/HexFiend"; |
2492 | 2487 | OTHER_CFLAGS = ( |
2493 | 2488 | "-fblocks", |
… |
… |
|
2513 | 2508 | INFOPLIST_PREFIX_HEADER = version.h; |
2514 | 2509 | INFOPLIST_PREPROCESS = YES; |
2515 | 2510 | INSTALL_PATH = "@loader_path/../Frameworks"; |
| 2511 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
2516 | 2512 | LD_DYLIB_INSTALL_NAME = "@loader_path/../Frameworks/HexFiend.framework/Versions/A/HexFiend"; |
2517 | 2513 | OTHER_CFLAGS = ( |
2518 | 2514 | "-fblocks", |
… |
… |
|
2538 | 2534 | INFOPLIST_PREFIX_HEADER = version.h; |
2539 | 2535 | INFOPLIST_PREPROCESS = YES; |
2540 | 2536 | INSTALL_PATH = "@loader_path/../Frameworks"; |
| 2537 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
2541 | 2538 | LD_DYLIB_INSTALL_NAME = "@loader_path/../Frameworks/HexFiend.framework/Versions/A/HexFiend"; |
2542 | 2539 | OTHER_CFLAGS = ( |
2543 | 2540 | "-fblocks", |
… |
… |
|
2562 | 2559 | INFOPLIST_PREFIX_HEADER = version.h; |
2563 | 2560 | INFOPLIST_PREPROCESS = YES; |
2564 | 2561 | INSTALL_PATH = "@loader_path/../Frameworks"; |
| 2562 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
2565 | 2563 | LD_DYLIB_INSTALL_NAME = "@loader_path/../Frameworks/HexFiend.framework/Versions/A/HexFiend"; |
2566 | 2564 | OTHER_CFLAGS = ( |
2567 | 2565 | "-fblocks", |
… |
… |
|
2587 | 2585 | INFOPLIST_PREFIX_HEADER = version.h; |
2588 | 2586 | INFOPLIST_PREPROCESS = YES; |
2589 | 2587 | INSTALL_PATH = "@loader_path/../Frameworks"; |
| 2588 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
2590 | 2589 | LD_DYLIB_INSTALL_NAME = "@loader_path/../Frameworks/HexFiend.framework/Versions/A/HexFiend"; |
2591 | 2590 | OTHER_CFLAGS = ( |
2592 | 2591 | "-fblocks", |
… |
… |
|
2612 | 2611 | INFOPLIST_PREFIX_HEADER = version.h; |
2613 | 2612 | INFOPLIST_PREPROCESS = YES; |
2614 | 2613 | INSTALL_PATH = "@loader_path/../Frameworks"; |
| 2614 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
2615 | 2615 | LD_DYLIB_INSTALL_NAME = "@loader_path/../Frameworks/HexFiend.framework/Versions/A/HexFiend"; |
2616 | 2616 | OTHER_CFLAGS = ( |
2617 | 2617 | "-fblocks", |
… |
… |
|
2637 | 2637 | INFOPLIST_PREFIX_HEADER = version.h; |
2638 | 2638 | INFOPLIST_PREPROCESS = YES; |
2639 | 2639 | INSTALL_PATH = "@loader_path/../Frameworks"; |
| 2640 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
2640 | 2641 | LD_DYLIB_INSTALL_NAME = "@loader_path/../Frameworks/HexFiend.framework/Versions/A/HexFiend"; |
2641 | 2642 | OTHER_CFLAGS = ( |
2642 | 2643 | "-fblocks", |
… |
… |
|
2739 | 2740 | INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-traditional"; |
2740 | 2741 | INFOPLIST_PREFIX_HEADER = version.h; |
2741 | 2742 | INFOPLIST_PREPROCESS = YES; |
| 2743 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
2742 | 2744 | LD_RUNPATH_SEARCH_PATHS = ( |
2743 | 2745 | "$(inherited)", |
2744 | 2746 | "@executable_path/../Frameworks", |
… |
… |
|
2747 | 2749 | "-fblocks", |
2748 | 2750 | "$(inherited)", |
2749 | 2751 | ); |
2750 | | OTHER_LDFLAGS = ( |
2751 | | "$(inherited)", |
2752 | | "-framework", |
2753 | | Sparkle, |
2754 | | ); |
| 2752 | OTHER_LDFLAGS = "$(inherited)"; |
2755 | 2753 | PRODUCT_BUNDLE_IDENTIFIER = com.ridiculousfish.HexFiend; |
2756 | 2754 | PRODUCT_NAME = "Hex Fiend"; |
2757 | 2755 | WRAPPER_EXTENSION = app; |
… |
… |
|
2901 | 2899 | INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-traditional"; |
2902 | 2900 | INFOPLIST_PREFIX_HEADER = version.h; |
2903 | 2901 | INFOPLIST_PREPROCESS = YES; |
| 2902 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
2904 | 2903 | LD_RUNPATH_SEARCH_PATHS = ( |
2905 | 2904 | "$(inherited)", |
2906 | 2905 | "@executable_path/../Frameworks", |
… |
… |
|
2909 | 2908 | "-fblocks", |
2910 | 2909 | "$(inherited)", |
2911 | 2910 | ); |
2912 | | OTHER_LDFLAGS = ( |
2913 | | "$(inherited)", |
2914 | | "-framework", |
2915 | | Sparkle, |
2916 | | ); |
| 2911 | OTHER_LDFLAGS = "$(inherited)"; |
2917 | 2912 | PRODUCT_BUNDLE_IDENTIFIER = com.ridiculousfish.HexFiend; |
2918 | 2913 | PRODUCT_NAME = "Hex Fiend"; |
2919 | 2914 | WRAPPER_EXTENSION = app; |
… |
… |
|
3060 | 3055 | INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-traditional"; |
3061 | 3056 | INFOPLIST_PREFIX_HEADER = version.h; |
3062 | 3057 | INFOPLIST_PREPROCESS = YES; |
| 3058 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
3063 | 3059 | LD_RUNPATH_SEARCH_PATHS = ( |
3064 | 3060 | "$(inherited)", |
3065 | 3061 | "@executable_path/../Frameworks", |
… |
… |
|
3068 | 3064 | "-fblocks", |
3069 | 3065 | "$(inherited)", |
3070 | 3066 | ); |
3071 | | OTHER_LDFLAGS = ( |
3072 | | "$(inherited)", |
3073 | | "-framework", |
3074 | | Sparkle, |
3075 | | ); |
| 3067 | OTHER_LDFLAGS = "$(inherited)"; |
3076 | 3068 | PRODUCT_BUNDLE_IDENTIFIER = com.ridiculousfish.HexFiend; |
3077 | 3069 | PRODUCT_NAME = "Hex Fiend"; |
3078 | 3070 | WRAPPER_EXTENSION = app; |
… |
… |
|
3239 | 3231 | INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-traditional"; |
3240 | 3232 | INFOPLIST_PREFIX_HEADER = version.h; |
3241 | 3233 | INFOPLIST_PREPROCESS = YES; |
| 3234 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
3242 | 3235 | LD_RUNPATH_SEARCH_PATHS = ( |
3243 | 3236 | "$(inherited)", |
3244 | 3237 | "@executable_path/../Frameworks", |
… |
… |
|
3429 | 3422 | INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-traditional"; |
3430 | 3423 | INFOPLIST_PREFIX_HEADER = version.h; |
3431 | 3424 | INFOPLIST_PREPROCESS = YES; |
| 3425 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
3432 | 3426 | LD_RUNPATH_SEARCH_PATHS = ( |
3433 | 3427 | "$(inherited)", |
3434 | 3428 | "@executable_path/../Frameworks", |
… |
… |
|
3624 | 3618 | INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-traditional"; |
3625 | 3619 | INFOPLIST_PREFIX_HEADER = version.h; |
3626 | 3620 | INFOPLIST_PREPROCESS = YES; |
| 3621 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
3627 | 3622 | LD_RUNPATH_SEARCH_PATHS = ( |
3628 | 3623 | "$(inherited)", |
3629 | 3624 | "@executable_path/../Frameworks", |
… |
… |
|
3632 | 3627 | "-fblocks", |
3633 | 3628 | "$(inherited)", |
3634 | 3629 | ); |
3635 | | OTHER_LDFLAGS = ( |
3636 | | "$(inherited)", |
3637 | | "-framework", |
3638 | | Sparkle, |
3639 | | ); |
| 3630 | OTHER_LDFLAGS = "$(inherited)"; |
3640 | 3631 | PRODUCT_BUNDLE_IDENTIFIER = com.ridiculousfish.HexFiend; |
3641 | 3632 | PRODUCT_NAME = "Hex Fiend"; |
3642 | 3633 | WRAPPER_EXTENSION = app; |
… |
… |
|
3807 | 3798 | INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-traditional"; |
3808 | 3799 | INFOPLIST_PREFIX_HEADER = version.h; |
3809 | 3800 | INFOPLIST_PREPROCESS = YES; |
| 3801 | IPHONEOS_DEPLOYMENT_TARGET = 11.4; |
3810 | 3802 | LD_RUNPATH_SEARCH_PATHS = ( |
3811 | 3803 | "$(inherited)", |
3812 | 3804 | "@executable_path/../Frameworks", |
… |
… |
|
3815 | 3807 | "-fblocks", |
3816 | 3808 | "$(inherited)", |
3817 | 3809 | ); |
3818 | | OTHER_LDFLAGS = ( |
3819 | | "$(inherited)", |
3820 | | "-framework", |
3821 | | Sparkle, |
3822 | | ); |
| 3810 | OTHER_LDFLAGS = "$(inherited)"; |
3823 | 3811 | PRODUCT_BUNDLE_IDENTIFIER = com.ridiculousfish.HexFiend; |
3824 | 3812 | PRODUCT_NAME = "Hex Fiend"; |
3825 | 3813 | WRAPPER_EXTENSION = app; |
… |
… |
|
3984 | 3972 | defaultConfigurationName = Release; |
3985 | 3973 | }; |
3986 | 3974 | /* End XCConfigurationList section */ |
3987 | | |
3988 | | /* Begin XCRemoteSwiftPackageReference section */ |
3989 | | A5A34C1926AD271900506AE7 /* XCRemoteSwiftPackageReference "Sparkle" */ = { |
3990 | | isa = XCRemoteSwiftPackageReference; |
3991 | | repositoryURL = "https://github.com/sparkle-project/Sparkle"; |
3992 | | requirement = { |
3993 | | kind = exactVersion; |
3994 | | version = 1.26.0; |
3995 | | }; |
3996 | | }; |
3997 | | /* End XCRemoteSwiftPackageReference section */ |
3998 | | |
3999 | | /* Begin XCSwiftPackageProductDependency section */ |
4000 | | A5A34C1A26AD271900506AE7 /* Sparkle */ = { |
4001 | | isa = XCSwiftPackageProductDependency; |
4002 | | package = A5A34C1926AD271900506AE7 /* XCRemoteSwiftPackageReference "Sparkle" */; |
4003 | | productName = Sparkle; |
4004 | | }; |
4005 | | /* End XCSwiftPackageProductDependency section */ |
4006 | 3975 | }; |
4007 | 3976 | rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; |
4008 | 3977 | } |
diff --git a/app/sources/DataInspectorScrollView.m b/app/sources/DataInspectorScrollView.m
index ba8331c..bacecc2 100644
a
|
b
|
|
14 | 14 | NSColor *separatorColor = [NSColor lightGrayColor]; |
15 | 15 | if (HFDarkModeEnabled()) { |
16 | 16 | if (@available(macOS 10.14, *)) { |
17 | | separatorColor = [NSColor separatorColor]; |
| 17 | // separatorColor = [NSColor separatorColor]; |
18 | 18 | } |
19 | 19 | } |
20 | 20 | [separatorColor set]; |
diff --git a/app/sources/DiffTextViewContainer.m b/app/sources/DiffTextViewContainer.m
index a24fffb..55ceffc 100644
a
|
b
|
|
173 | 173 | NSColor *dividerColor = [NSColor darkGrayColor]; |
174 | 174 | if (darkMode) { |
175 | 175 | if (@available(macOS 10.14, *)) { |
176 | | dividerColor = [NSColor separatorColor]; |
| 176 | // dividerColor = [NSColor separatorColor]; |
177 | 177 | } |
178 | 178 | } |
179 | 179 | [dividerColor set]; |
diff --git a/app/sources/HFClickableTextField.m b/app/sources/HFClickableTextField.m
index 520d976..9307117 100644
a
|
b
|
|
11 | 11 | @implementation HFClickableTextField |
12 | 12 | |
13 | 13 | - (void)awakeFromNib { |
14 | | self.textColor = NSColor.linkColor; |
| 14 | // self.textColor = NSColor.linkColor; |
15 | 15 | } |
16 | 16 | |
17 | 17 | - (void)viewDidMoveToWindow { |
diff --git a/app/sources/TextDividerRepresenter.m b/app/sources/TextDividerRepresenter.m
index cd2b968..a2b3783 100644
a
|
b
|
|
45 | 45 | NSColor *dividerColor = [NSColor darkGrayColor]; |
46 | 46 | if (darkMode) { |
47 | 47 | if (@available(macOS 10.14, *)) { |
48 | | dividerColor = [NSColor separatorColor]; |
| 48 | // dividerColor = [NSColor separatorColor]; |
49 | 49 | } |
50 | 50 | } |
51 | 51 | [dividerColor set]; |
diff --git a/framework/sources/HFColumnView.m b/framework/sources/HFColumnView.m
index a7d44cf..a327692 100644
a
|
b
|
|
12 | 12 | |
13 | 13 | - (NSColor *)borderColor { |
14 | 14 | if (@available(macOS 10.14, *)) { |
15 | | return [NSColor separatorColor]; |
| 15 | // return [NSColor separatorColor]; |
16 | 16 | } |
17 | 17 | return [NSColor darkGrayColor]; |
18 | 18 | } |
diff --git a/framework/sources/HFFunctions.m b/framework/sources/HFFunctions.m
index 7f2322b..d3f6129 100644
a
|
b
|
BOOL HFDarkModeEnabled(void) { |
943 | 943 | return NO; |
944 | 944 | #else |
945 | 945 | if (@available(macOS 10.14, *)) { |
946 | | if ([NSAppearance.currentAppearance.name isEqualToString:NSAppearanceNameDarkAqua]) { |
| 946 | /* if ([NSAppearance.currentAppearance.name isEqualToString:NSAppearanceNameDarkAqua]) { |
947 | 947 | return YES; |
948 | 948 | } |
| 949 | */ |
949 | 950 | } |
950 | 951 | return NO; |
951 | 952 | #endif |
diff --git a/framework/sources/HFLineCountingView.m b/framework/sources/HFLineCountingView.m
index 81e66b0..1acd966 100644
a
|
b
|
static const CGFloat kShadowWidth = 6; |
56 | 56 | |
57 | 57 | - (NSColor *)borderColor { |
58 | 58 | if (@available(macOS 10.14, *)) { |
59 | | return [NSColor separatorColor]; |
| 59 | // return [NSColor separatorColor]; |
60 | 60 | } |
61 | 61 | return [NSColor darkGrayColor]; |
62 | 62 | } |
diff --git a/framework/sources/HFRepresenterTextView.m b/framework/sources/HFRepresenterTextView.m
index 8f0cbc1..4b99a81 100644
a
|
b
|
enum LineCoverage_t { |
541 | 541 | - (NSColor *)inactiveTextSelectionColor { |
542 | 542 | if (HFDarkModeEnabled()) { |
543 | 543 | if (@available(macOS 10.14, *)) { |
544 | | return [NSColor unemphasizedSelectedTextBackgroundColor]; |
| 544 | // return [NSColor unemphasizedSelectedTextBackgroundColor]; |
545 | 545 | } |
546 | 546 | } |
547 | 547 | return [NSColor colorWithCalibratedWhite: (CGFloat)(212./255.) alpha:1]; |
diff --git a/framework/sources/HFTextRepresenter.m b/framework/sources/HFTextRepresenter.m
index cf917c6..55e4d9a 100644
a
|
b
|
|
34 | 34 | const BOOL useHFBlue = [NSUserDefaults.standardUserDefaults boolForKey:@"UseBlueAlternatingColor"]; |
35 | 35 | if (@available(macOS 10.14, *)) { |
36 | 36 | if (HFDarkModeEnabled() || !useHFBlue) { |
37 | | return [NSColor alternatingContentBackgroundColors]; |
| 37 | // return [NSColor alternatingContentBackgroundColors]; |
38 | 38 | } |
39 | 39 | } |
40 | 40 | NSColor *color1 = [NSColor colorWithCalibratedWhite:1.0 alpha:1.0]; |