Skip to content

Commit 852679f

Browse files
committed
Version 1.4.4 (host names and addresses validate immediately when edited)
1 parent 3923209 commit 852679f

File tree

5 files changed

+35
-29
lines changed

5 files changed

+35
-29
lines changed

Base.lproj/MainMenu.xib

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="16097" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15705" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16097"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15705"/>
66
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
77
</dependencies>
88
<objects>
@@ -147,7 +147,7 @@
147147
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
148148
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
149149
<rect key="contentRect" x="275" y="822" width="668" height="368"/>
150-
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
150+
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/>
151151
<value key="minSize" type="size" width="668" height="368"/>
152152
<view key="contentView" id="372">
153153
<rect key="frame" x="0.0" y="0.0" width="668" height="368"/>
@@ -156,7 +156,7 @@
156156
<box fixedFrame="YES" borderType="line" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="632">
157157
<rect key="frame" x="17" y="64" width="634" height="284"/>
158158
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
159-
<view key="contentView" id="FwS-kJ-ofc">
159+
<view key="contentView" ambiguous="YES" id="FwS-kJ-ofc">
160160
<rect key="frame" x="3" y="3" width="628" height="278"/>
161161
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
162162
<subviews>
@@ -206,11 +206,11 @@
206206
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yWO-jD-aii">
207207
<rect key="frame" x="18" y="34" width="593" height="230"/>
208208
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
209-
<clipView key="contentView" id="Bmc-XI-Ybu">
209+
<clipView key="contentView" ambiguous="YES" id="Bmc-XI-Ybu">
210210
<rect key="frame" x="1" y="0.0" width="591" height="229"/>
211211
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
212212
<subviews>
213-
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="Hez-H4-bvH" id="FgI-XJ-gor">
213+
<tableView verticalHuggingPriority="750" ambiguous="YES" allowsExpansionToolTips="YES" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="Hez-H4-bvH" id="FgI-XJ-gor">
214214
<rect key="frame" x="0.0" y="0.0" width="591" height="204"/>
215215
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
216216
<size key="intercellSpacing" width="3" height="2"/>
@@ -219,6 +219,7 @@
219219
<tableColumns>
220220
<tableColumn width="49" minWidth="40" maxWidth="1000" id="OZc-d4-idN">
221221
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Use">
222+
<font key="font" metaFont="smallSystem"/>
222223
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
223224
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
224225
</tableHeaderCell>
@@ -238,6 +239,7 @@
238239
</tableColumn>
239240
<tableColumn width="213" minWidth="40" maxWidth="1000" id="llA-ny-U2n">
240241
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="IP Address">
242+
<font key="font" metaFont="smallSystem"/>
241243
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
242244
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
243245
</tableHeaderCell>
@@ -248,16 +250,17 @@
248250
</textFieldCell>
249251
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
250252
<connections>
251-
<binding destination="715" name="enabled" keyPath="authenticated" id="aCp-mj-vJv"/>
252253
<binding destination="572" name="value" keyPath="arrangedObjects.address" id="8zC-SE-WcV">
253254
<dictionary key="options">
254255
<bool key="NSValidatesImmediately" value="YES"/>
255256
</dictionary>
256257
</binding>
258+
<binding destination="715" name="enabled" keyPath="authenticated" id="aCp-mj-vJv"/>
257259
</connections>
258260
</tableColumn>
259261
<tableColumn width="320" minWidth="10" maxWidth="1000" id="DPq-b8-uEm">
260262
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Hostname">
263+
<font key="font" metaFont="smallSystem"/>
261264
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
262265
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
263266
</tableHeaderCell>
@@ -268,12 +271,12 @@
268271
</textFieldCell>
269272
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
270273
<connections>
271-
<binding destination="715" name="enabled" keyPath="authenticated" id="1F6-JH-GZI"/>
272274
<binding destination="572" name="value" keyPath="arrangedObjects.hostnames" id="DkW-Oz-Ukx">
273275
<dictionary key="options">
274276
<bool key="NSValidatesImmediately" value="YES"/>
275277
</dictionary>
276278
</binding>
279+
<binding destination="715" name="enabled" keyPath="authenticated" id="1F6-JH-GZI"/>
277280
</connections>
278281
</tableColumn>
279282
</tableColumns>

BuildNotices.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ Sign the pane:
2525
codesign -v -f -s "Developer ID Application: Your Name (ABCDEFG1234)" Hosts.prefPane
2626

2727
Build Package (pane in folder "build"):
28-
pkgbuild --root build --identifier "nl.your-domain.hosts" --version "1.4.3" --install-location "/Library/PreferencePanes" --sign "Developer ID Installer: Your Name (ABCDEFG1234)" Hosts-PrefPane-1.4.3.pkg
28+
pkgbuild --root build --identifier "nl.your-domain.hosts" --version "1.4.4" --install-location "/Library/PreferencePanes" --sign "Developer ID Installer: Your Name (ABCDEFG1234)" Hosts-PrefPane-1.4.4.pkg
2929

3030
To certify the installer, you need your ProviderShortname. For this, you have to give altool its app-specific password:
3131
xcrun altool --list-providers -u "[email protected]" -p "@keychain:Developer-altool"
3232

3333
Certify package:
34-
xcrun altool --notarize-app --primary-bundle-id "nl.your-domain.hosts" --username "[email protected]" --password "@keychain:Developer-altool" --asc-provider "YourName123456" --file "Hosts-PrefPane-1.4.3.pkg"
34+
xcrun altool --notarize-app --primary-bundle-id "nl.your-domain.hosts" --username "[email protected]" --password "@keychain:Developer-altool" --asc-provider "YourName123456" --file "Hosts-PrefPane-1.4.4.pkg"
3535

3636
Wait, check status:
3737
xcrun altool --notarization-info "YourRequestUUID" --username "[email protected]" --password "@keychain:Developer-altool"
3838

3939
Staple notarization ticket to package for offline installation:
40-
xcrun stapler staple Hosts-PrefPane-1.4.3.pkg
40+
xcrun stapler staple Hosts-PrefPane-1.4.4.pkg
4141

4242

4343
Issue with Check Box disabling:

Hosts.xcodeproj/project.pbxproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@
652652
CODE_SIGN_IDENTITY = "Mac Developer";
653653
CODE_SIGN_STYLE = Automatic;
654654
COPY_PHASE_STRIP = NO;
655-
CURRENT_PROJECT_VERSION = 7;
655+
CURRENT_PROJECT_VERSION = 8;
656656
DEBUG_INFORMATION_FORMAT = dwarf;
657657
DEPLOYMENT_POSTPROCESSING = NO;
658658
DEVELOPMENT_TEAM = PZV4XW8XL7;
@@ -683,7 +683,7 @@
683683
CLANG_ENABLE_OBJC_WEAK = YES;
684684
CODE_SIGN_IDENTITY = "Mac Developer";
685685
CODE_SIGN_STYLE = Automatic;
686-
CURRENT_PROJECT_VERSION = 7;
686+
CURRENT_PROJECT_VERSION = 8;
687687
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
688688
DEPLOYMENT_POSTPROCESSING = NO;
689689
DEVELOPMENT_TEAM = PZV4XW8XL7;
@@ -827,7 +827,7 @@
827827
CLANG_ENABLE_OBJC_WEAK = YES;
828828
CODE_SIGN_IDENTITY = "Mac Developer";
829829
COPY_PHASE_STRIP = NO;
830-
CURRENT_PROJECT_VERSION = 7;
830+
CURRENT_PROJECT_VERSION = 8;
831831
DEBUG_INFORMATION_FORMAT = dwarf;
832832
DEVELOPMENT_TEAM = PZV4XW8XL7;
833833
GCC_DYNAMIC_NO_PIC = NO;
@@ -861,9 +861,9 @@
861861
CLANG_ENABLE_OBJC_WEAK = YES;
862862
CODE_SIGN_IDENTITY = "Mac Developer";
863863
COPY_PHASE_STRIP = YES;
864-
CURRENT_PROJECT_VERSION = 7;
864+
CURRENT_PROJECT_VERSION = 8;
865865
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
866-
DEVELOPMENT_TEAM = W8E6G8GZYW;
866+
DEVELOPMENT_TEAM = PZV4XW8XL7;
867867
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
868868
GCC_PRECOMPILE_PREFIX_HEADER = YES;
869869
GCC_PREFIX_HEADER = "HostsPrefpane/HostsPrefpane-Prefix.pch";

0 commit comments

Comments
 (0)