Skip to content

Commit

Permalink
Merge pull request #56 from cmushroom/dev
Browse files Browse the repository at this point in the history
2.5.0
  • Loading branch information
chengpan168 authored Nov 27, 2022
2 parents 3b94006 + 2080a02 commit 51be662
Show file tree
Hide file tree
Showing 14 changed files with 178 additions and 117 deletions.
Binary file modified .DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions .version
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"latestVersionNum": 18,
"latestVersion": "2.4.0",
"latestVersionNum": 19,
"latestVersion": "2.5.0",
"updateType": "hint",
"releaseNotes": "1. 切换db Bug 修复 #53。 \n2. 连接池关闭错误修复。 \n3. 最小化到dock后无法唤起问题修复 #38。"
"releaseNotes": "1. 解决失焦后重新获取焦点tab切换问题,同时解决了最小化到dock唤起的问题 #55 #38。 \n2. 增加用户名登录。"
}
42 changes: 28 additions & 14 deletions redis-pro.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,11 @@
627E1BC8282FCEE300163D6B /* ScanStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 627E1BC7282FCEE300163D6B /* ScanStore.swift */; };
6280596828B218D800126E81 /* RediStackClientString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6280596728B218D800126E81 /* RediStackClientString.swift */; };
6280596A28B23DBB00126E81 /* RediStackClientStream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6280596928B23DBB00126E81 /* RediStackClientStream.swift */; };
628F9A9E28967C120003B6C0 /* RediStack in Frameworks */ = {isa = PBXBuildFile; productRef = 628F9A9D28967C120003B6C0 /* RediStack */; };
628F9AA02896A3FB0003B6C0 /* RedisCommandExt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 628F9A9F2896A3FB0003B6C0 /* RedisCommandExt.swift */; };
628F9AA2289EA7C50003B6C0 /* SSHTunnel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 628F9AA1289EA7C50003B6C0 /* SSHTunnel.swift */; };
628F9AA4289EAEE90003B6C0 /* RedisClientSSH.swift in Sources */ = {isa = PBXBuildFile; fileRef = 628F9AA3289EAEE90003B6C0 /* RedisClientSSH.swift */; };
62BA27AE29324F0F00ABBC0F /* RediStack in Frameworks */ = {isa = PBXBuildFile; productRef = 62BA27AD29324F0F00ABBC0F /* RediStack */; };
62BA27B029324F0F00ABBC0F /* RedisTypes in Frameworks */ = {isa = PBXBuildFile; productRef = 62BA27AF29324F0F00ABBC0F /* RedisTypes */; };
62C262E02839D4380036A282 /* ListValueStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 62C262DF2839D4380036A282 /* ListValueStore.swift */; };
62C262E22839DD0B0036A282 /* RedisListItemModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 62C262E12839DD0B0036A282 /* RedisListItemModel.swift */; };
62C262E4283A31E40036A282 /* ListEditorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 62C262E3283A31E40036A282 /* ListEditorView.swift */; };
Expand Down Expand Up @@ -393,7 +394,7 @@
CEA1EF4D277C56DD00D300E9 /* NIO in Frameworks */,
CEA1EF55277C56DD00D300E9 /* NIOFoundationCompat in Frameworks */,
62D23AAF2818DCA000B2AA3F /* ComposableArchitecture in Frameworks */,
628F9A9E28967C120003B6C0 /* RediStack in Frameworks */,
62BA27AE29324F0F00ABBC0F /* RediStack in Frameworks */,
CE0290CE2786B75A0058442B /* Puppy in Frameworks */,
CEA1EF53277C56DD00D300E9 /* NIOEmbedded in Frameworks */,
CEA1EF5E277C57BC00D300E9 /* SwiftyJSON in Frameworks */,
Expand All @@ -402,6 +403,7 @@
CE83D51827563C28000DF09D /* AppCenterAnalytics in Frameworks */,
CEA1EF57277C56DD00D300E9 /* NIOPosix in Frameworks */,
CE83D51A27563C28000DF09D /* AppCenterCrashes in Frameworks */,
62BA27B029324F0F00ABBC0F /* RedisTypes in Frameworks */,
6237D032275C954A000ACD6A /* Logging in Frameworks */,
CEA1EF51277C56DD00D300E9 /* NIOCore in Frameworks */,
CEA1EF4F277C56DD00D300E9 /* NIOConcurrencyHelpers in Frameworks */,
Expand Down Expand Up @@ -837,7 +839,8 @@
CEA1EF5D277C57BC00D300E9 /* SwiftyJSON */,
CE0290CD2786B75A0058442B /* Puppy */,
62D23AAE2818DCA000B2AA3F /* ComposableArchitecture */,
628F9A9D28967C120003B6C0 /* RediStack */,
62BA27AD29324F0F00ABBC0F /* RediStack */,
62BA27AF29324F0F00ABBC0F /* RedisTypes */,
);
productName = "redis-pro";
productReference = 4320AAF025B6740900A8E214 /* redis-pro.app */;
Expand Down Expand Up @@ -868,7 +871,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1320;
LastUpgradeCheck = 1240;
LastUpgradeCheck = 1410;
TargetAttributes = {
4320AAEF25B6740900A8E214 = {
CreatedOnToolsVersion = 12.3;
Expand Down Expand Up @@ -897,7 +900,7 @@
CEA1EF5C277C57BC00D300E9 /* XCRemoteSwiftPackageReference "SwiftyJSON" */,
CE0290CC2786B75A0058442B /* XCRemoteSwiftPackageReference "Puppy" */,
62D23AAD2818DCA000B2AA3F /* XCRemoteSwiftPackageReference "swift-composable-architecture" */,
628F9A9C28967C120003B6C0 /* XCRemoteSwiftPackageReference "RediStack" */,
62BA27AC29324F0F00ABBC0F /* XCRemoteSwiftPackageReference "RediStack" */,
);
productRefGroup = 4320AAF125B6740900A8E214 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -1165,6 +1168,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -1227,6 +1231,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand Down Expand Up @@ -1256,7 +1261,8 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 18;
CURRENT_PROJECT_VERSION = 19;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"redis-pro/Preview Content\"";
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = "redis-pro/Info.plist";
Expand All @@ -1265,7 +1271,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 2.4.0;
MARKETING_VERSION = 2.5.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.cmushroom.redis-pro";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -1281,7 +1287,8 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 18;
CURRENT_PROJECT_VERSION = 19;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"redis-pro/Preview Content\"";
DEVELOPMENT_TEAM = "";
ENABLE_PREVIEWS = YES;
Expand All @@ -1291,7 +1298,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 2.4.0;
MARKETING_VERSION = 2.5.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.cmushroom.redis-pro";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1306,6 +1313,7 @@
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = YES;
GENERATE_INFOPLIST_FILE = YES;
MACOSX_DEPLOYMENT_TARGET = 12.1;
MARKETING_VERSION = 1.0;
Expand All @@ -1324,6 +1332,7 @@
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = YES;
GENERATE_INFOPLIST_FILE = YES;
MACOSX_DEPLOYMENT_TARGET = 12.1;
MARKETING_VERSION = 1.0;
Expand Down Expand Up @@ -1376,11 +1385,11 @@
minimumVersion = 1.4.2;
};
};
628F9A9C28967C120003B6C0 /* XCRemoteSwiftPackageReference "RediStack" */ = {
62BA27AC29324F0F00ABBC0F /* XCRemoteSwiftPackageReference "RediStack" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Mordil/RediStack";
repositoryURL = "https://github.com/chengpan168/RediStack";
requirement = {
branch = master;
branch = feat/username;
kind = branch;
};
};
Expand Down Expand Up @@ -1440,11 +1449,16 @@
package = 6237D030275C954A000ACD6A /* XCRemoteSwiftPackageReference "swift-log" */;
productName = Logging;
};
628F9A9D28967C120003B6C0 /* RediStack */ = {
62BA27AD29324F0F00ABBC0F /* RediStack */ = {
isa = XCSwiftPackageProductDependency;
package = 628F9A9C28967C120003B6C0 /* XCRemoteSwiftPackageReference "RediStack" */;
package = 62BA27AC29324F0F00ABBC0F /* XCRemoteSwiftPackageReference "RediStack" */;
productName = RediStack;
};
62BA27AF29324F0F00ABBC0F /* RedisTypes */ = {
isa = XCSwiftPackageProductDependency;
package = 62BA27AC29324F0F00ABBC0F /* XCRemoteSwiftPackageReference "RediStack" */;
productName = RedisTypes;
};
62D23AAE2818DCA000B2AA3F /* ComposableArchitecture */ = {
isa = XCSwiftPackageProductDependency;
package = 62D23AAD2818DCA000B2AA3F /* XCRemoteSwiftPackageReference "swift-composable-architecture" */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
{
"identity" : "redistack",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Mordil/RediStack",
"location" : "https://github.com/chengpan168/RediStack",
"state" : {
"branch" : "master",
"revision" : "555062c62e1568ed3125a51103ac42a9e4f7a626"
"branch" : "feat/username",
"revision" : "fd298674d753396482e029d0628a7c82316ea199"
}
},
{
Expand Down Expand Up @@ -122,17 +122,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-metrics.git",
"state" : {
"revision" : "3edd2f57afc4e68e23c3e4956bc8b65ca6b5b2ff",
"version" : "2.2.0"
"revision" : "53be78637ecd165d1ddedc4e20de69b8f43ec3b7",
"version" : "2.3.2"
}
},
{
"identity" : "swift-nio",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio.git",
"state" : {
"revision" : "b4e0a274f7f34210e97e2f2c50ab02a10b549250",
"version" : "2.41.1"
"revision" : "e855380cb5234e96b760d93e0bfdc403e381e928",
"version" : "2.45.0"
}
},
{
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions redis-pro.xcodeproj/xcshareddata/xcschemes/redis-pro.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1250"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -47,7 +47,7 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4301C84926BBE86800C08E19"
BlueprintIdentifier = "CE0290D2278707280058442B"
BuildableName = "redis-proTests.xctest"
BlueprintName = "redis-proTests"
ReferencedContainer = "container:redis-pro.xcodeproj">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,80 +7,96 @@
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "1F235176-678E-4370-AF05-A5C7A05EA8C5"
uuid = "A32249BE-C08D-404F-8C04-721C3D133539"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "redis-pro/Model/RedisInsanceModel.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "66"
endingLineNumber = "66"
landmarkName = "connect(_:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "6945253B-FF99-4C59-88D4-ADE8E67A2DEF"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "../../../Library/Developer/Xcode/DerivedData/redis-pro-dqdhwgmlxxtepdhgbmpmdcldlrxf/SourcePackages/checkouts/RediStack/Sources/RediStack/ConnectionPool/ConnectionPool.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "241"
endingLineNumber = "241"
landmarkName = "connectionCreationFailed(_:retryDelay:logger:)"
startingLineNumber = "204"
endingLineNumber = "204"
landmarkName = "_createConnection(retryDelay:startIn:logger:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "EA7FEBA8-3D4F-4D85-B16B-E1AAEC4055BE"
uuid = "FA0B1998-4489-4999-825D-6C10E55F25C1"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "../../../Library/Developer/Xcode/DerivedData/redis-pro-dqdhwgmlxxtepdhgbmpmdcldlrxf/SourcePackages/checkouts/RediStack/Sources/RediStack/ConnectionPool/ConnectionPool.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "198"
endingLineNumber = "198"
startingLineNumber = "207"
endingLineNumber = "207"
landmarkName = "_createConnection(retryDelay:startIn:logger:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "5BE6502F-970F-4408-94FF-3C0CD5C53636"
uuid = "F575DF91-758C-43CB-83FE-2AF52258FB3A"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "redis-pro/Common/RedisClient/RediStackClient.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "294"
endingLineNumber = "294"
landmarkName = "close()"
startingLineNumber = "208"
endingLineNumber = "208"
landmarkName = "getConnPool()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "C83B50A6-5CE2-4A4F-BC9F-34837FA9E29A"
uuid = "22260EB1-4165-4C46-9FCC-6CAABDD72ECC"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "redis-pro/Common/RedisClient/RedisClientSystem.swift"
filePath = "redis-pro/Common/RedisClient/RediStackClient.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "22"
endingLineNumber = "22"
landmarkName = "selectDB(_:)"
startingLineNumber = "218"
endingLineNumber = "218"
landmarkName = "getConnPool()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "06DDB51C-119C-4DEF-80DB-9901923A6A49"
uuid = "D30A974A-E026-4F0F-9798-3DCF3A9D1159"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "../../../Library/Developer/Xcode/DerivedData/redis-pro-dqdhwgmlxxtepdhgbmpmdcldlrxf/SourcePackages/checkouts/RediStack/Sources/RediStack/Commands/ConnectionCommands.swift"
filePath = "redis-pro/Common/RedisClient/RediStackClient.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "58"
endingLineNumber = "58"
landmarkName = "select(database:)"
startingLineNumber = "232"
endingLineNumber = "232"
landmarkName = "initConn(host:port:username:pass:database:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
Expand Down
Loading

0 comments on commit 51be662

Please sign in to comment.