Commit graph

  • dafc69726f
    handle http headers with value lists master zig-develop Emil Lerch 2025-08-29 15:00:27 -07:00
  • f0f7b180c4
    ignoring json.zig in zlint as it was imported from stdlib Emil Lerch 2025-08-29 14:02:52 -07:00
  • 0dcdba7887
    add zls 0.15.0 to mise config Emil Lerch 2025-08-29 13:54:41 -07:00
  • a487d6c2e7
    update setup-zig on nightly to 2.0.5 Emil Lerch 2025-08-25 17:32:42 -07:00
  • 8f3ca1d9cd
    fix remaining signature tests Emil Lerch 2025-08-25 17:25:08 -07:00
  • b1a096fa1e
    update example to latest working lib Emil Lerch 2025-08-25 14:25:56 -07:00
  • fd30c9f870
    remove caveat in readme. we should be gtg Emil Lerch 2025-08-25 14:16:30 -07:00
  • cfc8aee1a6
    a lot of test code, plus a one line ".deinit()" fix Emil Lerch 2025-08-25 14:14:15 -07:00
  • 214c580db4
    get failing live request under unit test Emil Lerch 2025-08-25 13:07:46 -07:00
  • 2fab8ac0b8
    add note regarding 0.15.1 status Emil Lerch 2025-08-25 11:08:48 -07:00
  • ffdd31d7b0
    upgrade example to 0.15.1 Emil Lerch 2025-08-25 10:39:29 -07:00
  • e29829f2a0
    fix failing s3 test Not quite sure the problem I saw earlier in aws.zig, but the data entering that switch prong is []const u8, so it is fine for what we are doing Emil Lerch 2025-08-25 10:00:50 -07:00
  • 74704506d8
    update tests for zig 0.15.1 Emil Lerch 2025-08-24 15:56:36 -07:00
  • 1e8756cc9a
    fix runtime panics, set tests to skip for now Emil Lerch 2025-08-23 13:34:36 -07:00
  • b126ec25e8
    fix aws.zig tests Emil Lerch 2025-08-23 10:56:21 -07:00
  • b2ce163b6f
    fix aws.zig and url.zig tests, simplify url testing and skip 1 test for now Emil Lerch 2025-08-23 10:45:35 -07:00
  • 90c5efcace
    clean up all the basic things Emil Lerch 2025-08-23 09:44:34 -07:00
  • 0a0933e38f
    move test suite to its own file Emil Lerch 2025-08-23 09:20:22 -07:00
  • 1170ba99fc
    fix most test compilation errors Emil Lerch 2025-08-23 08:48:32 -07:00
  • 8d399cb8a6
    zig build compiles using zig 0.15.1 Emil Lerch 2025-08-22 18:00:25 -07:00
  • 5334cc3bfe
    writer needs to be a constant to the pointer of the writer field Emil Lerch 2025-08-22 13:30:09 -07:00
  • 53ac60c875
    don't forget to flush! Emil Lerch 2025-08-22 12:52:57 -07:00
  • 18ab31ad66
    update zig-previous workflow in zig 0.14.x branch zig-0.14.x Emil Lerch 2025-08-22 11:59:17 -07:00
  • 5541742db3
    update README to reflect new zig Emil Lerch 2025-08-22 11:47:02 -07:00
  • b865285b24
    update codegen to 0.15.1 Emil Lerch 2025-08-22 11:23:26 -07:00
  • 9ed9c9b447
    update dependencies Emil Lerch 2025-08-22 11:22:58 -07:00
  • 20d7d5766b
    begin 0.15.1 upgrade - CI and dev tooling Emil Lerch 2025-08-22 11:22:24 -07:00
  • 47d34153b7
    move mise to dot file Emil Lerch 2025-08-22 07:54:37 -07:00
  • 545130f2c7
    Merge branch 'zig-develop' Emil Lerch 2025-08-22 07:52:44 -07:00
  • 369818e31e
    add zls to mise Emil Lerch 2025-08-22 07:52:30 -07:00
  • 66637f43c0
    disable zig mach build/update readme Emil Lerch 2025-08-20 16:30:20 -07:00
  • 3979d32a1d fix(json): need to write null when structure is null Simon Hartcher 2025-06-05 13:47:37 +10:00
  • 6e775e20bb refactor: handle unsupported shape types explicitly Simon Hartcher 2025-06-05 11:10:19 +10:00
  • d60ce20305 refactor: simplify switches using inline Simon Hartcher 2025-06-05 11:05:54 +10:00
  • 90d1091b66 chore: cleanup debug code Simon Hartcher 2025-06-05 10:56:28 +10:00
  • 4a6c84e0ae refactor: reorganise modules and methods Simon Hartcher 2025-06-05 10:54:10 +10:00
  • 9d1d8f26c9 chore: add comment to explain fix Simon Hartcher 2025-06-04 15:59:00 +10:00
  • 045150964b fix: handle structures with no members Simon Hartcher 2025-06-04 15:56:02 +10:00
  • 7aeb43a8c6 chore: code cleanup Simon Hartcher 2025-06-04 15:09:23 +10:00
  • 895918c1a9 chore: remove commented code Simon Hartcher 2025-06-04 15:01:31 +10:00
  • af0d4d92b3 refactor: rewrite json stringification to write json directly Simon Hartcher 2025-06-04 14:58:16 +10:00
  • c893a7cb31 chore: remove set (not used) Simon Hartcher 2025-06-04 13:03:12 +10:00
  • 2cd581f27f refactor: rename Simon Hartcher 2025-06-04 13:00:21 +10:00
  • 7233b87efc refactor: extract all json writing functions Simon Hartcher 2025-06-04 12:58:21 +10:00
  • 8a9d571c8e refactor: extract writeStructureMemberJson function Simon Hartcher 2025-06-04 12:43:11 +10:00
  • 36a894d776 build: disable zlint pre-commit hook for now Simon Hartcher 2025-06-04 12:35:58 +10:00
  • e43b827576 chore: remove old stringify code Simon Hartcher 2025-06-04 12:35:32 +10:00
  • 60f1863557 chore: fix broken tests Simon Hartcher 2025-06-04 12:26:34 +10:00
  • ee16fcf6cb chore: zlint auto fix Simon Hartcher 2025-06-04 10:59:57 +10:00
  • 7908c13bb4 build: add mise + pre-commit hooks Simon Hartcher 2025-06-04 10:59:08 +10:00
  • 489581ead2 feat: optional lists and maps to json Simon Hartcher 2025-06-04 10:50:38 +10:00
  • 9bc13d932a feat: add jsonStringify method to request objects Simon Hartcher 2025-06-03 10:37:10 +10:00
  • 9b673b0ff3 fix: map to json Simon Hartcher 2025-05-29 16:01:12 +10:00
  • db0dde50e5 fix: singular kvp type Simon Hartcher 2025-05-29 15:24:33 +10:00
  • a4d4da348f fix: checking if member is required Simon Hartcher 2025-05-29 15:24:18 +10:00
  • d2ba0af842 feat: adds toJson function to request objects that converts to a json Value Simon Hartcher 2025-05-29 12:53:49 +10:00
  • 13a926af70 refactor(codegen): improve type generation Simon Hartcher 2025-05-28 11:14:53 +10:00
  • bc18fcca75
    Merge branch 'handle-empty-filenames' Emil Lerch 2025-05-29 14:54:55 -07:00
  • d6be1d4c5c
    Merge cli progress bar for codegen (PR #22) Emil Lerch 2025-05-29 14:50:20 -07:00
  • 6ed3a7e8d6
    get exact count of number of model files, then use that in progress Emil Lerch 2025-05-29 14:50:02 -07:00
  • ebe170414e
    upgrade setup-zig to latest (handles difference in tarball name) Emil Lerch 2025-05-26 10:29:22 -07:00
  • 03f49b7416 fix: use file name for output when generated file name is empty Simon Hartcher 2025-05-22 14:30:52 +10:00
  • 78819b4290 feat: progress output for codegen Simon Hartcher 2025-05-22 14:03:08 +10:00
  • c81163ed35
    Merge branch 'refactor-iso-date-parsing' Emil Lerch 2025-05-18 10:25:35 -07:00
  • e98c792244 chore: update zeit to master Simon Hartcher 2025-05-15 13:32:35 +10:00
  • cab0d70c33 chore: removed now irrelevant comment Simon Hartcher 2025-05-15 12:02:35 +10:00
  • 307e4b985f refactor: remove old code Simon Hartcher 2025-05-15 11:57:20 +10:00
  • c828dfdcb0 chore: update zeit with pre-release fix for iso 8601 basic format Simon Hartcher 2025-05-15 11:49:53 +10:00
  • df09ed2bdd refactor: parse iso dates using zeit Simon Hartcher 2025-05-15 11:48:41 +10:00
  • b01771df66 fix: json stringifying of generated map types Simon Hartcher 2025-05-14 16:41:42 +10:00
  • a056d763ca chore: add comments Simon Hartcher 2025-05-14 15:31:04 +10:00
  • 934323acf1 refactor: generate types for maps Simon Hartcher 2025-05-14 15:29:21 +10:00
  • 522ab72296 feat: run zig fmt on generated models Simon Hartcher 2025-05-08 15:57:05 +10:00
  • 87fc872f7d chore: replace custom snake case with case package Simon Hartcher 2025-04-30 14:19:42 +10:00
  • 3e06eeca66 refactor(codegen): create concrete types for request and response structures Simon Hartcher 2025-04-24 14:23:29 +10:00
  • 464218b02c
    update smithy to reduce noise in codegen output Emil Lerch 2025-05-07 12:35:48 -07:00
  • f0b66d3cca
    update models to 2025-05-05 (requires additional reserved word guard for "inline") Emil Lerch 2025-05-07 12:26:41 -07:00
  • c6a1bb2418
    upgrade smithy to 4187d899 (enables optional service version) Emil Lerch 2025-05-07 12:25:21 -07:00
  • 57a7cf3190
    centralize module configuration in build.zig Emil Lerch 2025-04-30 07:39:42 -07:00
  • a91b2e8ddb refactor(detectArrayStyle): remove void value from hashmap generation Simon Hartcher 2025-04-30 09:56:41 +10:00
  • 622a815628 refactor(detectArrayStyle): avoid nested loop by using a hash map Simon Hartcher 2025-04-30 09:53:58 +10:00
  • 007c5a8a15 refactor(detectArrayStyle): use elements iterator Simon Hartcher 2025-04-30 09:48:14 +10:00
  • 288f88dfb6 chore: use scoped log Simon Hartcher 2025-04-29 17:08:17 +10:00
  • 7438642d91 fix: xml parser can now handle repeated root arrays Simon Hartcher 2025-04-29 16:56:40 +10:00
  • a420528a59 refactor(build.zig): move dependency loading to one place Simon Hartcher 2025-04-29 14:44:49 +10:00
  • 68a77db6d9
    Merge PR 15: Handle empty response bodies and multiple types of timestamps Emil Lerch 2025-04-28 20:15:12 -07:00
  • 040a1f1d00 refactor: remove usingnamespace Simon Hartcher 2025-04-29 10:07:04 +10:00
  • dc05b20bda fix: undefined behaviour for responses with no body Simon Hartcher 2025-04-24 16:50:46 +10:00
  • 0ac10d5798 chore: 404 is not an error in most situations Simon Hartcher 2025-04-24 11:00:14 +10:00
  • 324ed9a7e3 chore: add URL to reportTraffic output Simon Hartcher 2025-04-24 10:33:47 +10:00
  • dc50fd882c fix: restore accidentally commented code Simon Hartcher 2025-04-24 10:32:48 +10:00
  • 3c7b336298 fix: use arena so that set headers no longer leak memory Simon Hartcher 2025-04-23 16:41:06 +10:00
  • 0fe727c7eb fix: xml memory leaks using arena Simon Hartcher 2025-04-23 16:39:04 +10:00
  • bc328e72ad fix: json memory leaks using arena Simon Hartcher 2025-04-23 16:37:28 +10:00
  • 5a8cceaa0b chore: wip refactor of FullResponse to use arena allocator to simplify memory management Simon Hartcher 2025-04-23 16:33:20 +10:00
  • bd2aede64e chore(date): unused code cleanup Simon Hartcher 2025-04-23 14:31:18 +10:00
  • 6028255aa3 refactor(date): replace most date parsing with zeit functions Simon Hartcher 2025-04-23 12:48:53 +10:00
  • e22b4246c1 chore: add type for options param into Timestamp.jsonStringify Simon Hartcher 2025-04-23 12:34:54 +10:00
  • 8007a910dd refactor: create shared lib for json Simon Hartcher 2025-04-23 12:15:04 +10:00
  • 631d014215 chore: remove old date code Simon Hartcher 2025-04-23 11:53:28 +10:00