Commit Graph

78 Commits

Author SHA1 Message Date
mrFq1 c2bb3f570f feat: meta setting view 2023-10-08 15:36:07 +08:00
mrFq1 6c5b6847bc Merge remote-tracking branch 'origin/master' into meta-dev
# Conflicts:
#	.github/workflows/main.yml
#	ClashX.xcodeproj/project.pbxproj
#	ClashX.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	ClashX/AppDelegate.swift
#	ClashX/Base.lproj/Main.storyboard
#	ClashX/General/ApiRequest.swift
#	ClashX/General/Managers/AutoUpgardeManager.swift
#	ClashX/General/Managers/ClashResourceManager.swift
#	ClashX/General/Managers/ConfigManager.swift
#	ClashX/General/Managers/PrivilegedHelperManager.swift
#	ClashX/General/Utils/JSBridgeHandler.swift
#	ClashX/Macro/Paths.swift
#	ClashX/Models/ClashProxy.swift
#	ClashX/Support Files/en.lproj/Localizable.strings
#	ClashX/Support Files/zh-Hans.lproj/Localizable.strings
#	ClashX/ViewControllers/ClashWebViewContoller.swift
#	ClashX/ViewControllers/Connections/ConnectionsViewController.swift
#	ClashX/ViewControllers/Connections/DashboardSubViewControllerProtocol.swift
#	ClashX/ViewControllers/Connections/DashboardViewController.swift
#	ClashX/ViewControllers/Connections/Requests/ConnectionsReq.swift
#	ClashX/ViewControllers/Connections/Requests/StructedLogReq.swift
#	ClashX/ViewControllers/Connections/ViewModels/ConnectionDetailViewModel.swift
#	ClashX/ViewControllers/Connections/ViewModels/ConnectionLeftPannelViewModel.swift
#	ClashX/ViewControllers/Connections/ViewModels/ConnectionTopListViewModel.swift
#	ClashX/ViewControllers/Connections/ViewModels/ConnectionsViewModel.swift
#	ClashX/ViewControllers/Connections/Views/Cell/ConnectionCellProtocol.swift
#	ClashX/ViewControllers/Connections/Views/Cell/ConnectionLeftTextCellView.swift
#	ClashX/ViewControllers/Connections/Views/Cell/ConnectionProxyClientCellView.swift
#	ClashX/ViewControllers/Connections/Views/Cell/ConnectionStatusIconCellView.swift
#	ClashX/ViewControllers/Connections/Views/Cell/ConnectionTextCellView.swift
#	ClashX/ViewControllers/Connections/Views/ConnectionColume.swift
#	ClashX/ViewControllers/Connections/Views/ConnectionDetailInfoGeneralView.swift
#	ClashX/ViewControllers/Connections/Views/ConnectionDetailInfoView.swift
#	ClashX/ViewControllers/Connections/Views/ConnectionLeftPannelView.swift
#	ClashX/ViewControllers/Connections/Views/ConnectionTopListView.swift
#	ClashX/ViewControllers/Connections/Views/SectionedTableView.swift
#	ClashX/ViewControllers/Settings/DebugSettingViewController.swift
#	ClashX/ViewControllers/Settings/GlobalShortCutViewController.swift
#	ClashX/Views/StatusItem/StatusItemTool.swift
#	ClashX/Views/StatusItem/StatusItemView.swift
#	ClashX/Views/StatusItem/StatusItemView.xib
#	ClashX/goClash/go.mod
#	ClashX/goClash/go.sum
#	ClashX/goClash/main.go
#	ClashX/zh-Hans.lproj/Main.strings
#	Podfile
#	Podfile.lock
2023-09-24 19:22:08 +08:00
yicheng 5b8911f942 misc: do swift format 2023-09-05 10:07:46 +08:00
mrFq1 dddfa3b858 misc: fix merge 2023-08-07 23:57:24 +08:00
mrFq1 9f4ab7ca02 Merge remote-tracking branch 'origin/master' into meta-dev
# Conflicts:
#	.github/workflows/main.yml
#	ClashX.xcodeproj/project.pbxproj
#	ClashX.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	ClashX/AppDelegate.swift
#	ClashX/Base.lproj/Main.storyboard
#	ClashX/Extensions/DateFormatter+.swift
#	ClashX/General/ApiRequest.swift
#	ClashX/General/Managers/ClashResourceManager.swift
#	ClashX/General/Managers/ConfigManager.swift
#	ClashX/General/Managers/MenuItemFactory.swift
#	ClashX/General/Utils/JSBridgeHandler.swift
#	ClashX/Support Files/en.lproj/Localizable.strings
#	ClashX/Support Files/zh-Hans.lproj/Localizable.strings
#	ClashX/Views/ProxyGroupSpeedTestMenuItem.swift
#	ClashX/goClash/go.mod
#	ClashX/goClash/go.sum
#	ClashX/goClash/main.go
#	ClashX/zh-Hans.lproj/Main.strings
#	Podfile.lock
#	fastlane/Fastfile
2023-08-07 23:24:27 +08:00
Yicheng 425044b20d
feat: add new native connection panel (#1181)
* feat: add base connection window

* feat: listen to clash connection api and get process information

* misc: add top list tableview

* fix: get no-app process

* feat: add status icon

* feat: add detail view

* misc: init left pannel view

* misc: update window background

* feat: support top tableview sort

* feat: support left pannelView search

* feat: update left panel bg color and apply application filter

* feat: add top searchfield

* feat: add host and sourceIp list datasource

* misc: unify window controller

* feat: support speed sort

* misc: add connection translations

* feat: add left pannel view section display.

* misc: Rename ConnectionApplicationClientCellView to ApplicationClientCellView.swift

* feat: Refactor SectionedTableView.swift

* feat: update left panel view

* feat: add right click to close conn

* feat: support sort by host

* feat: add top segment control

* feat: add active connection support

* misc: Rename `ConnectionsLeftPannelView` to `ConnectionLeftPannelView`

* misc: add parent controller for ConnectionsViewController

* misc: update localization

* misc: recover failed request from log to connections

* misc: filter application by path

* misc: swiftlint enable empty_count rule

* feat: add global shortcut for connections

* fix: unknown filter

* feat: add close button

* misc: fix multi selection

* fix: remove force unwarp

* misc: fix beta ci [beta]

---------

Co-authored-by: miniLV <liangyuhangapple@gmail.com>
2023-07-16 12:16:15 +08:00
yicheng 860c1f82b8 feat: reduce exp menu item 2023-07-12 15:09:41 +08:00
mrFq1 9e094e8c1f feat: useYacdDashboardMenuItem
(cherry picked from commit f5fe33cd285d846d068d3c2a2bb4b8982401aaea)
2023-06-13 14:13:11 +08:00
mrFq1 aa536d01aa Merge remote-tracking branch 'origin/master' into meta-dev
# Conflicts:
#	.github/workflows/main.yml
#	.gitignore
#	ClashX.xcodeproj/project.pbxproj
#	ClashX/AppDelegate.swift
#	ClashX/Base.lproj/Main.storyboard
#	ClashX/General/ApiRequest.swift
#	ClashX/Support Files/en.lproj/Localizable.strings
#	ClashX/Support Files/zh-Hans.lproj/Localizable.strings
#	ClashX/goClash/go.mod
#	ClashX/goClash/go.sum
#	ClashX/goClash/main.go
#	ClashX/zh-Hans.lproj/Main.strings
#	Podfile
#	Podfile.lock
#	ProxyConfigHelper/Helper-Info.plist
#	README.md
2022-11-27 12:08:04 +08:00
yicheng 3c86163008 misc: add setting interface 2022-11-20 17:10:26 +08:00
mrFq1 ed8e42c376 Update Meta titles. 2022-08-07 12:11:03 +08:00
mrFq1 e3794539a4 Auto fix. 2022-07-26 09:14:58 +08:00
mrFq1 c3bab855a1 Alpha core downloader. 2022-07-14 00:32:20 +08:00
mrFq1 5a10415064 Disable provider item when empty. 2022-07-12 12:59:32 +08:00
mrFq1 0d8b050d2f Rule providers. 2022-07-12 12:35:21 +08:00
mrFq1 e12d8f5dcf Update proxy provider func. 2022-07-11 22:21:29 +08:00
mrFq1 c139ae9473 Proxy providers updater. 2022-07-05 14:38:39 +08:00
mrFq1 84de92d629 Collapsed unselectable. 2022-07-03 22:08:38 +08:00
mrFq1 bd5cf246a7 Hide unselectable. 2022-07-03 21:45:09 +08:00
yicheng c6c74dd888 misc: swift lint
# Conflicts:
#	ClashX.xcodeproj/project.pbxproj
#	ClashX/General/ApiRequest.swift
#	ClashX/General/Managers/ProManager.swift
#	ClashX/General/Managers/Settings.swift
#	ClashX/General/Managers/TunManager.swift
#	ClashX/General/Utils/NetworkChangeNotifier.swift
#	ClashX/ViewControllers/ClashWebViewContoller.swift
2022-06-20 21:03:12 +08:00
yicheng 93d006473a feat: hide config file list when in remote control mode 2022-01-03 22:45:00 +08:00
yicheng 610728aef5 feature(#513): show "Load Balance" in menu item for load balance group 2021-04-18 11:58:17 +08:00
yicheng 3e165db995 feat: adapt macOS 11 look 2020-11-14 15:01:28 +08:00
yicheng 13f6da10f8 fix proxy menu item update 2020-07-10 20:00:30 +08:00
yicheng 0461db847c feat: add basic iCloud support 2020-05-23 21:12:00 +08:00
yicheng f0810289d7 fix global speedtest no work for providers 2020-04-29 20:29:08 +08:00
yicheng c75698a0e5 fix: provider proxies no updated 2020-04-29 19:52:44 +08:00
yicheng f744fdabfd remove option for showSpeedTestItemAtTop 2020-04-29 19:44:01 +08:00
yicheng 2cfec770af fix auto group selection status 2020-04-26 18:32:20 +08:00
yicheng 5eed7f9c85 fix select status 2020-04-26 16:40:29 +08:00
yicheng 73d24788cd feat: enable useViewToRenderProxy at system above 10.15.2 [appcenter] 2020-04-25 20:17:04 +08:00
yicheng 69e344b14c improve: optimize config refresh strategy 2020-04-25 17:58:26 +08:00
yicheng 615fc5d9d3 feature: health check to auto groups when network changed/system wake up 2020-04-11 12:39:23 +08:00
yicheng 7e06f08aad fix: remove global mode filter again 2020-04-08 11:27:32 +08:00
yicheng 7a8ac60144 improve: speedup menu item display 2020-04-07 23:58:30 +08:00
yicheng 96a247062d fix: remove global mode filter 2020-04-07 15:27:41 +08:00
yicheng 605076bda9 support relay 2020-03-24 23:34:57 +08:00
yicheng 98ce79584f add appcenter 2020-03-13 19:33:21 +08:00
yicheng 636c63775b chore(menu): move origin attritubed text render back, use view as exp option 2020-02-26 17:26:12 +08:00
yicheng 2f21aec607 chore(speedtest): default enable ShowSpeedTestItemAtTop 2020-02-25 17:43:44 +08:00
yicheng e7c6595b65 fix(menu): fix compatibility to macOS 10.14 [beta] [appcenter] [notarize] 2020-02-24 22:26:56 +08:00
yicheng 79e8c431bb chore(menu): disable autolayout for proxy menu 2020-02-24 19:58:09 +08:00
yicheng b8d5d007e5 feat(menu): use view to draw proxy item [beta] [appcenter] [notarize] 2020-02-22 19:45:55 +08:00
yicheng a969b4ec00 feature(menu): add showSpeedTestItemAtTop experimental config 2020-02-22 12:35:25 +08:00
yicheng ee04d9a826 chore(menuitem): improve menuitem refresh logic 2020-02-22 11:46:49 +08:00
yicheng 2a7dff0fa2 chore(dashboard): remove storyboard 2020-02-05 21:45:11 +08:00
yicheng 3d129bfa8a improve: provider 2019-12-29 14:39:44 +08:00
yicheng 969124d9e7 support api for proxy provider [beta] [appcenter] [notarize] 2019-12-14 23:11:21 +08:00
yicheng 6e15e68921 feature: add heathcheck button 2019-12-11 22:04:53 +08:00
yicheng 97f4576eba Fix proxy group remember[appcenter] 2019-12-11 20:27:17 +08:00