Commit graph

286 commits

Author SHA1 Message Date
isaac
57bfe559ea SwiftTL: main.swift branches on ParsedSchema
Flat schemas keep the existing generate(...) pipeline. Layered
schemas iterate resolveLayeredTypes and write one
{apiPrefix}Layer{N}.swift per layer via generateLayered.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 15:56:05 +04:00
isaac
803bf23269 SwiftTL: add CodeGenerator.generateLayered for per-layer output
Emits one {apiPrefix}Layer{N}.swift file per layer: file-scope
dispatch table, public struct {apiPrefix}{N} with parse/parseVector/
serializeObject, nested public enums for each sum type using the
inline-args shape. Int256 dispatch entry emitted only when a layer's
constructors reference it. Reuses typeReferenceRepresentation /
generateFieldSerialization / generateFieldParsing unchanged, passing
the struct name as the apiPrefix so nested type refs render correctly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 15:54:09 +04:00
isaac
10054efd81 SwiftTL: add Resolver.resolveLayeredTypes
Walks layer sections in order, threads a running constructor-name map
with last-wins semantics, and snapshots [SumType] at each layer
boundary. Constructors appearing only in later layers do not leak into
earlier layers' snapshots.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 15:46:48 +04:00
isaac
dba8a67bcb SwiftTL: add ParsedSchema + layered schema parsing
DescriptionParser.parse(data:) now returns ParsedSchema (.flat or
.layered) based on the presence of ===N=== markers. Layered schemas
split constructor lines per layer; pre-marker constructors attach to
the lowest-numbered layer; ---functions--- is rejected in layered
mode; non-ascending markers throw.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 15:36:09 +04:00
isaac
bb29084392 SwiftTL: thread apiPrefix, drop dead CLI flags and LegacyOrderParser
Preparation for layered schema generation. Threads apiPrefix: String
through CodeGenerator.generate / generateMainFile / generateImplFile
/ typeReferenceRepresentation so the output's namespace name can
come from the --api-prefix=<prefix> CLI flag rather than a hard-coded
"Api". Drops the --stub-functions and --print-constructors=N-M flags
(both unused) and the LegacyOrderParser.swift file (obsolete migration
helper that re-parsed hand-emitted Api0.swift).

No behavior change for the flat Api*.swift output when
--api-prefix=Api (the default). Enables the upcoming layered secret-
scheme pipeline to reuse the same generator helpers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 15:24:14 +04:00
isaac
0fd2765908 DecryptMatch: pure-Python port of fastlane match decrypt.rb
Replace the Ruby decrypt.rb shell-out with a direct Python call to
decrypt_match_data(). The iOS build no longer depends on a Ruby
interpreter. Includes the spec, plan, AES-256 port, tightened error
surfaces for key length and V1 fallback, and the BuildConfiguration
wire-up that drops decrypt.rb.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 18:45:34 +02:00
Isaac
45984d2a12 Update deploy 2026-04-07 20:48:44 +02:00
Isaac
203047a464 Update deploy 2026-04-07 18:50:47 +02:00
Isaac
f3e1795b68 Temp 2026-04-07 08:11:27 +02:00
Isaac
18abe71dca Support Xcode 26.4 2026-03-30 20:44:10 +08:00
Isaac
22e58eb5e4 Add SwiftTL 2026-03-27 19:22:57 +08:00
Isaac
c2cd6478a8 Revert "Temp"
This reverts commit 099267a84a.
2026-03-16 20:49:54 +01:00
Isaac
099267a84a Temp 2026-03-16 20:45:43 +01:00
Isaac
3d3232eedc Temp 2026-03-13 09:00:55 +01:00
Isaac
8605549176 Update submodule 2026-03-10 08:54:54 +01:00
Isaac
45e8661802 Update submodules 2026-02-23 11:17:26 +01:00
Isaac
7171441b96 Update 2026-02-16 21:54:04 +04:00
Isaac
dec912f2db Update 2026-02-15 22:50:18 +04:00
Isaac
45b3705f1f Re-enable incremental build 2026-02-11 22:05:23 +04:00
Isaac
9c4e390f0d Various improvements 2026-01-30 18:50:18 +08:00
Isaac
6558d2e265 Various improvements 2026-01-16 21:23:32 +08:00
Isaac
3a1d85784e Various improvements 2026-01-06 21:20:16 +08:00
Isaac
26d845520b Update rules_apple 2026-01-02 23:15:24 +08:00
Isaac
7ed08c0141 Build system 2025-12-26 19:42:31 +08:00
Isaac
b90e17064e Update build system 2025-12-15 02:37:57 +08:00
Isaac
0c3530d8a8 Glass 2025-12-10 00:16:36 +08:00
Isaac
dca1f06e91 Update 2025-12-06 01:42:16 +08:00
Isaac
1ee7268488 Glass 2025-12-06 01:28:06 +08:00
Isaac
557af859bb build-system 2025-12-01 22:13:16 +08:00
Isaac
0055396d4d Update 2025-11-26 23:05:30 +08:00
Isaac
49ae84062b Update build system 2025-11-17 23:16:39 +08:00
Isaac
481419ced0 Debug 2025-11-06 00:34:55 +04:00
Isaac
feba38c28b Debug 2025-11-06 00:27:05 +04:00
Isaac
5783d24652 Debug 2025-11-06 00:22:48 +04:00
Isaac
9580e43846 Fix 2025-11-06 00:17:49 +04:00
Isaac
4e9f09e2a1 Debug 2025-11-06 00:06:45 +04:00
Isaac
8ff8bd766b Debug 2025-11-06 00:05:31 +04:00
Isaac
fad96534ce Debug 2025-11-06 00:02:06 +04:00
Isaac
5d46a9c219 Debug ip 2025-11-05 23:57:04 +04:00
Ilya Laktyushin
9e7b0efc8b Update 2025-09-23 23:45:49 +04:00
Isaac
1d5de1be39 Update submodules 2025-09-19 15:36:24 +04:00
Isaac
905de7ee78 Update apple_support 2025-09-18 14:25:43 +04:00
Isaac
842711de04 Auth debug email 2025-09-12 10:55:11 +02:00
Ilya Laktyushin
5497a40f0e Deploy build 2025-09-02 17:33:12 +04:00
Isaac
bc1d03cebd Make full checkout 2025-07-29 13:44:25 +02:00
Isaac
72270d288e [Temp] fix local build 2025-07-20 18:50:16 +02:00
Isaac
adbc7bad61 Various improvements 2025-07-01 14:57:33 +02:00
Isaac
deed7905b6 Temp 2025-06-29 22:23:54 +02:00
Isaac
0849431ca9 Updates 2025-06-29 14:01:31 +02:00
Isaac
496c43fcf9 Fix spm 2025-06-28 20:42:54 +02:00