Files
zeekay 2aa8261f86 rebrand: complete capnp → ZAP across all C# source/build files
Finishes the in-flight capnp→ZAP rebrand on this branch. The prior commits
renamed identifiers/namespaces/files/projects (Capnp.Net.Runtime→Zap.Net.Runtime,
CapnpC→ZapC, .capnp→.zap) but left the human-readable brand name "Cap'n Proto"
throughout doc-comments, .csproj/.nuspec descriptions, README, MSBuild .xaml
rule display names, and the generated XML doc. This completes brand neutrality:

- Replace 154 "Cap'n Proto" / 4 "Cap'n-Proto" / 1 "Cap'n'p" prose occurrences
  with "ZAP" across 32 first-party files (runtime, generator, zapc-csharp,
  MSBuild integration, chocolatey nuspecs, README, docs, XML doc).
- Revert the LICENSE provenance URL to the real upstream fork
  (c80k/capnproto-dotnetcore) — upstream-fork license headers must stay.
- Canonicalize project/repo URLs to github.com/zap-proto/cs (were fabricated
  c80k/zap-dotnetcore) in csproj/nuspec/VERIFICATION/README badges.
- Canonicalize docs URLs zap-protocol(.github.io|/zap-cs|/zap-cpp-core)
  → zap-proto.dev / github.com/zap-proto/{cs,cpp-core}.
- Collapse redundant "zap \"ZAP\"" PackageTags to "zap".

Verified consistent (no toolchain on host): every .sln/.csproj ProjectReference
resolves; all namespaces are Zap*/ZapC*; MSBuild task chain
(GenerateZapFileCodeBehindTask, ZapFiles ItemGroup, _ZapcCsharp_TaskAssembly)
is uniformly renamed; props/targets/xaml/coverage/chocolatey carry no capnp.

Deliberately preserved as upstream-derived test data (not first-party source):
upstream Cap'n Proto schema fixtures (rpc.zap, rpc-twoparty.zap, json.zap,
rpc-csharp.zap), golden compiler-error outputs (errors.txt), and the
machine-generated DO-NOT-EDIT test.zap.{c++,h}. Their "Cap'n Proto" strings are
the literal output of the external schema compiler the compat test matches.
2026-06-19 23:46:57 -07:00

188 lines
5.2 KiB
Plaintext

( voidField = void,
boolField = true,
int8Field = -123,
int16Field = -12345,
int32Field = -12345678,
int64Field = -123456789012345,
uInt8Field = 234,
uInt16Field = 45678,
uInt32Field = 3456789012,
uInt64Field = 12345678901234567890,
float32Field = 1234.5,
float64Field = -1.23e47,
textField = "foo",
dataField = "bar",
structField = (
voidField = void,
boolField = true,
int8Field = -12,
int16Field = 3456,
int32Field = -78901234,
int64Field = 56789012345678,
uInt8Field = 90,
uInt16Field = 1234,
uInt32Field = 56789012,
uInt64Field = 345678901234567890,
float32Field = -1.25e-10,
float64Field = 345,
textField = "baz",
dataField = "qux",
structField = (
voidField = void,
boolField = false,
int8Field = 0,
int16Field = 0,
int32Field = 0,
int64Field = 0,
uInt8Field = 0,
uInt16Field = 0,
uInt32Field = 0,
uInt64Field = 0,
float32Field = 0,
float64Field = 0,
textField = "nested",
structField = (
voidField = void,
boolField = false,
int8Field = 0,
int16Field = 0,
int32Field = 0,
int64Field = 0,
uInt8Field = 0,
uInt16Field = 0,
uInt32Field = 0,
uInt64Field = 0,
float32Field = 0,
float64Field = 0,
textField = "really nested",
enumField = foo,
interfaceField = void ),
enumField = foo,
interfaceField = void ),
enumField = baz,
interfaceField = void,
voidList = [void, void, void],
boolList = [false, true, false, true, true],
int8List = [12, -34, -128, 127],
int16List = [1234, -5678, -32768, 32767],
int32List = [12345678, -90123456, -2147483648, 2147483647],
int64List = [123456789012345, -678901234567890, -9223372036854775808, 9223372036854775807],
uInt8List = [12, 34, 0, 255],
uInt16List = [1234, 5678, 0, 65535],
uInt32List = [12345678, 90123456, 0, 4294967295],
uInt64List = [123456789012345, 678901234567890, 0, 18446744073709551615],
float32List = [0, 1234567, 1e37, -1e37, 1e-37, -1e-37],
float64List = [0, 123456789012345, 1e306, -1e306, 1e-306, -1e-306],
textList = ["quux", "corge", "grault"],
dataList = ["garply", "waldo", "fred"],
structList = [
( voidField = void,
boolField = false,
int8Field = 0,
int16Field = 0,
int32Field = 0,
int64Field = 0,
uInt8Field = 0,
uInt16Field = 0,
uInt32Field = 0,
uInt64Field = 0,
float32Field = 0,
float64Field = 0,
textField = "x structlist 1",
enumField = foo,
interfaceField = void ),
( voidField = void,
boolField = false,
int8Field = 0,
int16Field = 0,
int32Field = 0,
int64Field = 0,
uInt8Field = 0,
uInt16Field = 0,
uInt32Field = 0,
uInt64Field = 0,
float32Field = 0,
float64Field = 0,
textField = "x structlist 2",
enumField = foo,
interfaceField = void ),
( voidField = void,
boolField = false,
int8Field = 0,
int16Field = 0,
int32Field = 0,
int64Field = 0,
uInt8Field = 0,
uInt16Field = 0,
uInt32Field = 0,
uInt64Field = 0,
float32Field = 0,
float64Field = 0,
textField = "x structlist 3",
enumField = foo,
interfaceField = void ) ],
enumList = [qux, bar, grault] ),
enumField = corge,
interfaceField = void,
voidList = [void, void, void, void, void, void],
boolList = [true, false, false, true],
int8List = [111, -111],
int16List = [11111, -11111],
int32List = [111111111, -111111111],
int64List = [1111111111111111111, -1111111111111111111],
uInt8List = [111, 222],
uInt16List = [33333, 44444],
uInt32List = [3333333333],
uInt64List = [11111111111111111111],
float32List = [5555.5, inf, -inf, nan],
float64List = [7777.75, inf, -inf, nan],
textList = ["plugh", "xyzzy", "thud"],
dataList = ["oops", "exhausted", "rfc3092"],
structList = [
( voidField = void,
boolField = false,
int8Field = 0,
int16Field = 0,
int32Field = 0,
int64Field = 0,
uInt8Field = 0,
uInt16Field = 0,
uInt32Field = 0,
uInt64Field = 0,
float32Field = 0,
float64Field = 0,
textField = "structlist 1",
enumField = foo,
interfaceField = void ),
( voidField = void,
boolField = false,
int8Field = 0,
int16Field = 0,
int32Field = 0,
int64Field = 0,
uInt8Field = 0,
uInt16Field = 0,
uInt32Field = 0,
uInt64Field = 0,
float32Field = 0,
float64Field = 0,
textField = "structlist 2",
enumField = foo,
interfaceField = void ),
( voidField = void,
boolField = false,
int8Field = 0,
int16Field = 0,
int32Field = 0,
int64Field = 0,
uInt8Field = 0,
uInt16Field = 0,
uInt32Field = 0,
uInt64Field = 0,
float32Field = 0,
float64Field = 0,
textField = "structlist 3",
enumField = foo,
interfaceField = void ) ],
enumList = [foo, garply] )