1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00
Commit graph

785 commits

Author SHA1 Message Date
renerocksai
a84204df58 progress. alloc 1st 2024-01-09 11:30:16 +01:00
renerocksai
0fb4d8a9a1 API cleanup #3 --------------
More zap docstrings
2024-01-09 11:30:16 +01:00
renerocksai
207a7619f4 API cleanup #2 --------------
- Middleware: no more MixContexts
    - zig structs are fine
- more documentation (comments -> autodoc).
- websocket docs
2024-01-09 11:28:53 +01:00
renerocksai
8892cae7df API cleanup #1 --------------
- EndpointListener.register() // was: addEndpoint
- no more Simple
- getEndpoint -> endpoint()
2024-01-09 11:28:05 +01:00
Rene Schallner
724ce87bd2 don't pollute global namespace with fio 2024-01-09 11:07:07 +01:00
Rene Schallner
eca4d511f0 finalize: allocator always 1st-ish arg 2024-01-09 10:55:27 +01:00
renerocksai
35a8d8f39b progress. alloc 1st 2024-01-09 08:21:03 +01:00
renerocksai
e7305816d3 API cleanup #3
--------------

More zap docstrings
2024-01-08 21:41:44 +01:00
renerocksai
551d033edc API cleanup #2
--------------

- Middleware: no more MixContexts
    - zig structs are fine
- more documentation (comments -> autodoc).
- websocket docs
2024-01-08 19:26:16 +01:00
renerocksai
3d651229f8 API cleanup #1
--------------

- EndpointListener.register() // was: addEndpoint
- no more Simple
- getEndpoint -> endpoint()
2024-01-08 15:50:46 +01:00
GitHub Action
804c037efd Update README 2024-01-07 22:04:59 +00:00
Rene Schallner
587176a7df Preparing build.zig.zon for imminent release 2024-01-07 23:00:00 +01:00
Brook Jeynes
8dfdfdb02c - Updated tests (all passing) - Resolved init() comment stating an error occured if nothing was passed in. - Replaced error at an unreachable location in init() to unreachable - Made many members private 2024-01-07 22:22:37 +01:00
Brook Jeynes
9c19038082 Updated mustache.zig to be more Zig like - mustache.zig now returns a Mustache struct. This allows functions to be called on the mustache instance, e.g. zap.mustacheFree(mustache) -> mustache.free(). - Updated mustache example. - Added doc strings to majority of mustache functions. 2024-01-07 22:22:37 +01:00
Rene Schallner
5a284fc96d Update README.md 2024-01-07 21:37:29 +01:00
Vemahk
2574ceb63c goodness, there's more README. 2024-01-07 21:34:58 +01:00
Vemahk
51af6120ac Another README update: for the https FAQ honestly not sure how to concisely express that. 2024-01-07 21:34:58 +01:00
Vemahk
2139db102a README.md change 2024-01-07 21:34:58 +01:00
Vemahk
56f687bf19 updated relevant comment 2024-01-07 21:34:58 +01:00
Vemahk
613afaf1af readd -Dopenssl to zap build. modify readme for instructions how to use it 2024-01-07 21:34:58 +01:00
Rene Schallner
57370b4e31
Update README.md 2024-01-07 21:12:01 +01:00
Rene Schallner
689da4abea
Merge pull request #63 from Vemahk/master
Re-add -Dopenssl to zap build
2024-01-07 21:08:12 +01:00
Vemahk
f38077c780 goodness, there's more README. 2024-01-05 20:34:20 -06:00
Vemahk
d39d78d6a7 Another README update: for the https FAQ
honestly not sure how to concisely express that.
2024-01-05 20:26:26 -06:00
Vemahk
8191e82eca README.md change 2024-01-05 20:18:30 -06:00
Vemahk
887cdd8b0e updated relevant comment 2024-01-05 20:15:32 -06:00
Vemahk
235e9045fc readd -Dopenssl to zap build.
modify readme for instructions how to use it
2024-01-05 20:04:38 -06:00
Rene Schallner
31bf768b96 fix build for latest zig master 2024-01-05 15:37:25 +01:00
Rene Schallner
7ca46c4f10 dang, new version in .zon did not get committed 2024-01-05 14:43:36 +01:00
GitHub Action
7ecbfbb825 Update README 2024-01-05 13:11:34 +00:00
Rene Schallner
869a7b8138 update README: build openssl env var 2024-01-05 14:01:06 +01:00
Rene Schallner
5eb57387e8 openssl support depend on ZAP_USE_OPENSSL=true env 2024-01-05 13:59:25 +01:00
Rene Schallner
5a5606957d update README: build openssl env var 2024-01-05 13:55:51 +01:00
Rene Schallner
6e5d028d51 openssl support depend on ZAP_USE_OPENSSL=true env 2024-01-05 13:44:01 +01:00
Rene Schallner
29b90f0626
Merge pull request #59 from BrookJeynes/mustache-doc-comments
Mustache doc comments
2023-12-31 02:03:01 +01:00
Brook Jeynes
6611269721 fix returned struct field 2023-12-31 10:59:18 +10:00
Brook Jeynes
22d454d134 Updated Mustache doc strings and member visibility
- Updated `Mustache.fiobjectify` to be private
- Updated docstrings on `Mustache.build`
- Renamed `Mustache.handler` -> `Mustache.handle`
- Added docstrings for `Mustache.fiobjectify` and `Mustache.handle`
- Removed `Mustache.status`
2023-12-31 10:56:37 +10:00
GitHub Action
081bd05a5b Update README 2023-12-31 00:42:45 +00:00
Rene Schallner
5da64cc748 updating build.zig.zon for imminent release 2023-12-31 01:40:28 +01:00
Rene Schallner
5082eebd74
Merge pull request #58 from BrookJeynes/mustache-zig-style
Updated `mustache.zig` to be more Zig like
2023-12-31 01:33:53 +01:00
Brook Jeynes
9cc371e567 - Updated tests (all passing)
- Resolved `init()`  comment stating an error occured if nothing was passed in.
- Replaced error at an unreachable location in `init()` to `unreachable`
- Made many members private
2023-12-31 10:27:13 +10:00
stringnick
1e849d2b05 http method options support 2023-12-31 01:20:54 +01:00
Rene Schallner
feb4ad5c77
Merge pull request #57 from StringNick/http-method-options
http method options support
2023-12-31 01:17:02 +01:00
Rene Schallner
a8a8b537fe http_auth test: http client code "fix"; also: 1 use 1 worker instead of 0 explicitly 2023-12-31 00:51:22 +01:00
Rene Schallner
87aca69ff8 updated GH zig-11 workflow to run tests step by step 2023-12-31 00:39:43 +01:00
Rene Schallner
012452e1e1 http_auth test: http client code "fix"; also: 1 use 1 worker instead of 0 explicitly 2023-12-31 00:18:24 +01:00
Rene Schallner
715fe03edd Added tls.zig 2023-12-30 13:19:01 +01:00
GitHub Action
790ee37181 Update README 2023-12-30 12:17:03 +00:00
Rene Schallner
ed827ca602 oops. tls.zig 2023-12-30 13:15:22 +01:00
Brook Jeynes
9fd8c13b32 Updated mustache.zig to be more Zig like
- `mustache.zig` now returns a `Mustache` struct. This allows functions to be called
on the mustache instance, e.g. `zap.mustacheFree(mustache)` -> `mustache.free()`.
- Updated mustache example.
- Added doc strings to majority of mustache functions.
2023-12-30 13:15:07 +10:00