burrow/burrow-gtk
JettChenT 6c6bfe5434 Remove unused NetworkType::Trojan tombstone
The Trojan network type only ever existed as a non-runnable tombstone:
the SOCKS-era Trojan runtime it guarded against (BEP-0009) was never
merged to main, and no stored network uses it. Drop the enum value and
its dead match arms across the daemon, GTK summary, and Apple bindings.

The Trojan *protocol* outbound used by proxy-subscription nodes
(TrojanOutbound / ProxyOutbound::Trojan / isTrojanTCP) is unaffected.

- proto: remove `Trojan = 2`, add `reserved 2; reserved "Trojan";`
- daemon: drop ResolvedTunnel/ActiveTunnel::Trojan variants + match arms
  (runtime.rs) and the validate_network_payload arm (database.rs)
- gtk: drop the "Legacy Trojan Proxy" summary arm
- apple: drop the makeCard .trojan arm and regenerate the Swift
  NetworkType enum (case/rawValue/init/allCases/nameMap)

An unknown stored type now surfaces via the existing UNRECOGNIZED path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 17:06:01 -07:00
..
.cargo Implement Gtk Network Status (#165) 2024-01-26 01:10:24 -05:00
build-aux Switch to gRPC client in Swift app 2024-09-09 10:38:13 -07:00
data Implement Gtk Network Status (#165) 2024-01-26 01:10:24 -05:00
po Implement Gtk Network Status (#165) 2024-01-26 01:10:24 -05:00
src Remove unused NetworkType::Trojan tombstone 2026-06-05 17:06:01 -07:00
.gitignore Intial GTK, swtich to Relm, basic Flatpak Build 2023-11-18 12:42:52 -08:00
build.rs Implement Gtk Network Status (#165) 2024-01-26 01:10:24 -05:00
Cargo.lock Add proxy subscription runtime support 2026-06-01 15:23:17 +08:00
Cargo.toml Align GTK app with Apple home surface 2026-05-03 17:36:55 -07:00
meson.build Add ability to build GTK app AppImage (#240) 2024-02-15 19:27:14 -08:00