Commit Graph
206 Commits
Author SHA1 Message Date
2dust 5a3286dad1 Using RxApp replace ViewAction 2025-08-30 19:32:07 +08:00
2dust 058c6e4a85 Use Rx event subscription instead of MessageBus to send information 2025-08-29 15:46:09 +08:00
2dust ea1d438e40 Use Rx event subscription to replace MessageBus refresh configuration file function 2025-08-29 14:46:08 +08:00
2dust da28c639b3 Optimization and Improvement.
Changed callback from synchronous Action<bool, string> to asynchronous Func<bool, string, Task>
2025-08-29 11:40:08 +08:00
2dust 8ef68127d4 Optimization and Improvement.
Changed callback from synchronous Action<bool, string> to asynchronous Func<bool, string, Task>
2025-08-29 10:53:57 +08:00
2dust f39d966a33 Optimization and Improvement.
Changed callback from synchronous Action<bool, string> to asynchronous Func<bool, string, Task>
2025-08-29 10:31:09 +08:00
2dust f83e83de13 Optimization and Improvement
Changed callback from synchronous Action<bool, string> to asynchronous Func<bool, string, Task>
2025-08-29 09:49:30 +08:00
2dust fe7c505cc9 Update subscription using Task.Run 2025-08-27 17:14:24 +08:00
2dust d5c50ef27c Rename Manager 2025-08-17 17:31:55 +08:00
2dust 2060ac18fd Add Manager folder 2025-08-17 16:52:51 +08:00
2dust c9c1cd8cbb Add Helper folder 2025-08-17 16:26:13 +08:00
2dust 06636d04ac PacHandler is changed to singleton mode 2025-08-17 11:00:13 +08:00
DHR60 6979e21628 Remove DomainMatcher (#7781) 2025-08-17 09:32:02 +08:00
2dust dc2877d817 Refactor UpdateSubscriptionProcess ,add SubscriptionHandler 2025-08-14 20:59:15 +08:00
2dust 89d6af8fc9 Added global constants such as IPIfNonMatch 2025-08-14 20:18:22 +08:00
2dust 0fb6b2e54b Bug fix for DNS setting 2025-08-13 18:43:15 +08:00
Summpot 8314ff3271 Add Auto Route option to Tun mode settings (#7737)
Introduces a new 'Auto Route' option for Tun mode in the configuration, view models, and UI. Updates both Avalonia and WPF option setting windows to allow users to enable or disable automatic routing for Tun mode. Also ensures the new setting is properly bound and saved in the configuration.
2025-08-12 19:18:26 +08:00
DHR60 b5e0a77401 Full Config Template (#7576)
* Feat. custom config

* Fixes TypeInfoResolver Exception

* Adjust UI

* Fixes

* Adjust Avalonia UI

* Add Detour Feature

* Avoids detour for private networks

* Rename

* Adds Documents
2025-08-11 20:01:48 +08:00
DHR60 d41a73b44b Simplify DNS Settings (#7572)
* Simplify DNS Settings

* fix

* ExpectedIPs

* Optimize ExpectedIPs Logic

* Fixes geoip overrides rule_set when geosite is also set

* rename DNSItem to SimpleDNSItem

* Compatible

* Fixes Combobox for desktop

* Regional Preset

* Fix

* Refactor DNS tags handling

* Uses correct DNS strategy for direct connections

* auto-disable DNS items with empty NormalDNS on startup
2025-08-10 11:57:42 +08:00
DHR60 7995bdd4df Migrate to sing-box 1.12 support (#7521)
* Revert "Temporary addition to support proper use of sing-box v1.12"

This reverts commit 508eb24fc3.

* Migrating to singbox 1.11 support

* Removes unnecessary sniffer

* Migrating to singbox 1.12 support

* Adds Google cn dns rules

* Improves geoip rule handling in singbox

* add anytls support

* Simplifies local DNS address handling

* Enables dhcp interface configuration

* Fetches DNS strategy for domain resolution

* support Wireguard endpoint
Refactors Singbox config classes for dial fields

* Utils.GetFreePort() default port to be zero

* Adds Sing-box legacy DNS config support

* Adds IPv4 preference to DNS configurations

对应原dns.servers[].strategy = prefer_ipv4

* Refactors DNS address parsing

* Fixes config generation

* fix singbox endpoints proxy chain not work

* Fixes wrong field

* Removes direct clash_mode domain strategy

* Improves DNS address parsing in Singbox

DNS type, host, port, and path

* Adds properties to Rule4Sbox class

* Removes Wireguard listen port

* Support sing-box hosts

* Adds tag resolver supports

* Adds sing-box DomainStrategy support

* Deletes Duplicate Rules

* Adds anytls reality support

* Fixes

* Updates sing-box documentation link

* Updates translations
2025-08-10 10:15:32 +08:00
2dust df95cc6af7 Code clean 2025-08-10 09:17:15 +08:00
2dust 8704942209 Improve sudo password interaction experience 2025-07-27 10:56:58 +08:00
2dust 70151db91b Add tray menu to display the main window
https://github.com/2dust/v2rayN/issues/7549
2025-07-09 20:31:37 +08:00
2dust da3d4c36a9 Improve and optimize the active rules code in routing settings 2025-07-06 18:15:07 +08:00
2dust 3e71965cd4 Optimization and Improvement,DataGrid list only updates some attribute values
https://github.com/2dust/v2rayN/issues/7489
2025-06-26 14:23:30 +08:00
2dust 0e5ac65f55 Improved network speed display when using clash api without proxy and direct 2025-06-16 15:06:18 +08:00
2dust 06500e0218 When testing, start the core and then delay 1s before starting the test
https://github.com/2dust/v2rayN/issues/7391
2025-06-15 17:33:11 +08:00
2dust a2cfe6fa51 Added the current connection information test url option
https://github.com/2dust/v2rayN/discussions/7268
2025-05-11 16:59:00 +08:00
2dust adf3b955d6 Refactor Linux to run Tun as sudo 2025-04-26 09:50:31 +08:00
2dust c6d347d49a Refactor the Linux version to not store sudo password 2025-04-25 15:19:49 +08:00
2dust 3f19958c75 Bug fix
https://github.com/2dust/v2rayN/issues/7179
2025-04-24 11:50:24 +08:00
2dust 23eeb8ff55 Try to fix
https://github.com/2dust/v2rayN/issues/7128
2025-04-18 12:31:46 +08:00
DHR60 15d3418c79 add xray wireguard support (#7089)
* add xray wireguard support

* add wireguard core type settings

* Update OptionSettingWindow.axaml
2025-04-09 15:09:36 +08:00
2dust 4d3db56065 csharp_style_namespace_declarations = file_scoped 2025-04-02 11:44:23 +08:00
2dust 1e11477e27 When add a new routing rule, add it to the top 2025-03-29 19:48:15 +08:00
DHR60 e3580b05f7 add xray core leastPing support (#7023)
* add xray core leastPing support

* Refactor multi-server configuration UI logic

* Remove unused functions
2025-03-29 16:44:42 +08:00
2dust 8597332b21 Fixed warnings 2025-03-17 11:07:01 +08:00
2dust 6ef36f521d Optimize and improve code 2025-03-16 15:48:42 +08:00
2dust e6011cfede AI-optimized code 2025-03-07 12:11:19 +08:00
2dust 07a3bdc618 AI-optimized code 2025-03-06 16:36:39 +08:00
2dust 51e5885e76 AI-optimized code 2025-03-06 14:42:21 +08:00
2dust 50d7912f62 AI-optimized code 2025-03-06 14:34:31 +08:00
2dust 71cc6d7a88 Replace all Utils.IsNullOrEmpty(variable) with variable.IsNullOrEmpty() 2025-03-05 19:44:49 +08:00
2dust f3af831cf2 Replace all Utils.IsNotEmpty(variable) with variable.IsNotEmpty() 2025-03-05 16:42:43 +08:00
2dust 7fbb0013b0 Optimizing Task Code 2025-03-03 16:57:55 +08:00
2dust 555960e210 Optimize and improve code 2025-02-26 17:01:57 +08:00
2dust 984b97fc14 Optimize latency and IP address information testing
If the first test fails, it will be tested again after 500ms.
2025-02-26 14:30:10 +08:00
2dust 6079e76be5 Improved global hotkey setting 2025-02-25 14:26:12 +08:00
2dust 0b1b681655 Add system proxy pac to the Windows desktop version 2025-02-18 14:38:08 +08:00
2dust deafd73306 Optimize RemoveInvalidServerResult 2025-02-17 20:00:28 +08:00