Commit 3c4e834
committed
Remove UI_NETPLAY_COMPAT toggle and inline the OFF path
The UI_NETPLAY_COMPAT preference gated two outer-codec serialization
branches that had become functionally equivalent for production traffic:
TrackableObject reference compression is performed at the application
layer by DeltaSyncManager.toNetworkValue (property maps -> Integer IDs)
and TrackableSerializer.wrapEvents (bundled events -> EventCardRef),
both unconditional on the pref. The Android record serialVersionUID
fallback lives in TrackableSerializer.ResolvingInputStream, which is
used by unwrapEvents regardless of the outer codec, so cross-platform
record deserialization is unaffected.
A pref-mismatch between two endpoints corrupted the stream on the first
class descriptor; removing the toggle eliminates that hazard.
- Delete FPref.UI_NETPLAY_COMPAT
- Delete GuiBase.propertyConfig, hasPropertyConfig, enablePropertyConfig
- Inline the CObjectInputStream / CObjectOutputStream path in
CompatibleObjectEncoder / CompatibleObjectDecoder
- Drop the now-dead Tracker field from CompatibleObjectEncoder; the
encoder no longer needed it (CObjectOutputStream passes null to
TrackableSerializer.replace) and its callers stop calling setTracker
on the encoder
- Run ProtocolMethod.checkArgs unconditionally; it only logs, mirrors
the always-on checkReturnValue, and replaces a generic
Method.invoke "argument type mismatch" with a structured log line
- Remove startup wiring in FControl and Forge.getApp; mobile launchers
drop the propertyConfig argument
- Remove the settings UI on desktop and mobile and the
lblExperimentalNetworkCompatibility / nlExperimentalNetworkCompatibility
localization strings across nine language files1 parent 55a42ab commit 3c4e834
24 files changed
Lines changed: 11 additions & 105 deletions
File tree
- forge-gui-android/src/forge/app
- forge-gui-desktop/src/main/java/forge
- control
- screens/home/settings
- forge-gui-ios/src/forge/ios
- forge-gui-mobile-dev/src/forge/app
- forge-gui-mobile/src/forge
- screens/settings
- forge-gui
- res/languages
- src/main/java/forge
- gamemodes/net
- client
- server
- gui
- localinstance/properties
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
261 | 260 | | |
262 | 261 | | |
263 | 262 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 263 | | |
269 | 264 | | |
270 | 265 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 104 | | |
115 | 105 | | |
116 | 106 | | |
| |||
136 | 126 | | |
137 | 127 | | |
138 | 128 | | |
139 | | - | |
140 | 129 | | |
141 | 130 | | |
142 | 131 | | |
| |||
254 | 243 | | |
255 | 244 | | |
256 | 245 | | |
257 | | - | |
258 | 246 | | |
259 | 247 | | |
260 | 248 | | |
| |||
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
| |||
382 | 381 | | |
383 | 382 | | |
384 | 383 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | 384 | | |
389 | 385 | | |
390 | 386 | | |
| |||
749 | 745 | | |
750 | 746 | | |
751 | 747 | | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | 748 | | |
758 | 749 | | |
759 | 750 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
| |||
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | 451 | | |
461 | 452 | | |
462 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
1140 | | - | |
1141 | | - | |
1142 | 1140 | | |
1143 | 1141 | | |
1144 | 1142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1232 | 1232 | | |
1233 | 1233 | | |
1234 | 1234 | | |
1235 | | - | |
1236 | | - | |
1237 | 1235 | | |
1238 | 1236 | | |
1239 | 1237 | | |
| |||
0 commit comments