Skip to content

Commit

Permalink
opting out of dark mode for now. requires a bit more time to get this…
Browse files Browse the repository at this point in the history
… done properly.
  • Loading branch information
mdbergmann committed Dec 17, 2020
1 parent 9e9aa92 commit 8fe24c2
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Eloquent-AppStore-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>3058</string>
<string>3066</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.education</string>
<key>NSAppTransportSecurity</key>
Expand Down
34 changes: 31 additions & 3 deletions Eloquent.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@
isa = PBXProject;
attributes = {
LastTestingUpgradeCheck = 0730;
LastUpgradeCheck = 0800;
LastUpgradeCheck = 1220;
ORGANIZATIONNAME = Crosswire;
TargetAttributes = {
8D1107260486CEB800E47090 = {
Expand Down Expand Up @@ -2316,6 +2316,7 @@
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Resources",
Expand Down Expand Up @@ -2367,6 +2368,7 @@
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Resources",
Expand Down Expand Up @@ -2406,6 +2408,7 @@
A9CA81A112D0B912005346FD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
Expand All @@ -2417,6 +2420,7 @@
A9CA81A212D0B912005346FD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
Expand All @@ -2428,6 +2432,7 @@
A9CA81A612D0B946005346FD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
Expand All @@ -2439,6 +2444,7 @@
A9CA81A712D0B946005346FD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
Expand All @@ -2451,6 +2457,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_WEAK = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand Down Expand Up @@ -2494,6 +2501,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_WEAK = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
Expand Down Expand Up @@ -2535,6 +2543,7 @@
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 27XS5W9C3J;
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Resources",
Expand Down Expand Up @@ -2585,6 +2594,7 @@
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 27XS5W9C3J;
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Resources",
Expand Down Expand Up @@ -2624,16 +2634,25 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application: Manfred Bergmann";
CODE_SIGN_IDENTITY = "Apple Development";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = c99;
Expand All @@ -2660,16 +2679,25 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application: Manfred Bergmann";
CODE_SIGN_IDENTITY = "Apple Development";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down
4 changes: 3 additions & 1 deletion Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>3058</string>
<string>3066</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.education</string>
<key>NSAppTransportSecurity</key>
Expand All @@ -55,6 +55,8 @@
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSRequiresAquaSystemAppearance</key>
<true/>
<key>SUFeedURL</key>
<string>http://www.eloquent-bible-study.eu/Eloquent_L2_Appcast.xml</string>
<key>SUPublicDSAKeyFile</key>
Expand Down
2 changes: 1 addition & 1 deletion buildnumber
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3058
3066
16 changes: 7 additions & 9 deletions en.lproj/WindowHostToolbar.xib
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17701"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
Expand All @@ -19,16 +19,14 @@
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<toolbar implicitIdentifier="09D11707-F4A3-4FD5-970E-AC5832E91C2B" displayMode="iconOnly" sizeMode="regular" id="1">
<toolbar implicitIdentifier="09D11707-F4A3-4FD5-970E-AC5832E91C2B" centeredItem="123" displayMode="iconOnly" sizeMode="regular" id="1">
<allowedToolbarItems>
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="142"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="129"/>
<toolbarItem implicitItemIdentifier="32FF0C2B-7E19-43E3-93C7-1974A5B9EE7A" explicitItemIdentifier="ReferenceTextField" label="Reference text" paletteLabel="Reference text" id="123">
<toolbarItem implicitItemIdentifier="32FF0C2B-7E19-43E3-93C7-1974A5B9EE7A" explicitItemIdentifier="ReferenceTextField" label="Reference text" paletteLabel="Reference text" sizingBehavior="auto" id="123">
<nil key="toolTip"/>
<size key="minSize" width="200" height="22"/>
<size key="maxSize" width="2000" height="22"/>
<searchField key="view" wantsLayer="YES" verticalHuggingPriority="750" id="109">
<rect key="frame" x="0.0" y="14" width="728" height="22"/>
<searchField key="view" wantsLayer="YES" verticalHuggingPriority="750" preferredMaxLayoutWidth="650" id="109">
<rect key="frame" x="0.0" y="14" width="650" height="22"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" bezelStyle="round" id="110">
<font key="font" metaFont="system"/>
Expand Down Expand Up @@ -156,7 +154,7 @@
<connections>
<outlet property="delegate" destination="-2" id="62"/>
</connections>
<point key="canvasLocation" x="333" y="129"/>
<point key="canvasLocation" x="447" y="152"/>
</toolbar>
</objects>
<resources>
Expand Down
4 changes: 3 additions & 1 deletion src/UserInterface/ToolbarController.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ - (void)_loadNib {

- (void)awakeFromNib {
[toolbar setAllowsUserCustomization:YES];
/*
[searchTextField setFrameSize:CGSizeMake(650.0, [searchTextField frame].size.height)];
[searchTextFieldItem setMaxSize:CGSizeMake(650.0, [searchTextField frame].size.height)];
[searchTextFieldItem setMinSize:CGSizeMake(15.0, [searchTextField frame].size.height)];
[searchTextFieldItem setMinSize:CGSizeMake(50.0, [searchTextField frame].size.height)];
*/
}

- (NSToolbar *)toolbar {
Expand Down

0 comments on commit 8fe24c2

Please sign in to comment.