| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-07-11 | run zig fmt on std lib and self hosted | Vexu | |
| 2020-07-05 | Merge pull request #5786 from ziglang/std-hash-map | Andrew Kelley | |
| reimplement std.HashMap | |||
| 2020-07-05 | update std lib to new hash map API | Andrew Kelley | |
| 2020-07-04 | std.mem.dupe is deprecated, move all references in std | joachimschmidt557 | |
| Replaced all occurences of std.mem.dupe in stdlib with Allocator.dupe/std.mem.dupeZ -> Allocator.dupeZ | |||
| 2020-06-22 | `try` allocation of pointer type when parsing (#5665) | prime31 | |
| * `try` allocation of pointer type when parsing * fixes pointer destroy compile error | |||
| 2020-06-20 | zig fmt | Andrew Kelley | |
| 2020-06-15 | std: remove std.debug.getStderrStream | daurnimator | |
| Rather than migrate to new 'writer' interface, just remove it | |||
| 2020-05-28 | Support stringify for vectors (#5441) | Dmitry Atamanov | |
| * use array's pointer | |||
| 2020-05-18 | json: properly stringify error sets | Andrew Kelley | |
| I did this wrong originally in feade9ef0010b1b47d7216e786ed964d09612c2b | |||
| 2020-05-17 | std.json: support stringify for anyerror | Andrew Kelley | |
| 2020-05-12 | Fix comment typo RFC8529 -> RFC8259 | Jason Merrill | |
| Ref: https://tools.ietf.org/html/rfc8259 | |||
| 2020-05-12 | Merge pull request #5118 from xackus/fix-json-writestream | Vexu | |
| fix json.WriteStream.emitJson | |||
| 2020-05-12 | std.json properly handle comptime int/float | Vexu | |
| 2020-05-08 | publicize member functions affected by #4909 | Josh Junon | |
| 2020-04-27 | Fix issue with std.json incorrectly replacing forward slashes with a ↵ | Auguste Rame | |
| backslash (#5167) * fix breaking typo in json.zig * add tests | |||
| 2020-04-24 | Add mips support to standard library | Timon Kruiper | |
| 2020-04-18 | update std lib to decls being disallowed between fields | Vexu | |
| 2020-04-11 | ArrayList: remove old (before span) API | xackus | |
| 2020-04-07 | fix broken tests | Vexu | |
| 2020-04-02 | new ArrayList API: fix everything else | xackus | |
| 2020-04-01 | std: add support to std.json.stringify for null literals | daurnimator | |
| 2020-04-01 | std: allow picking between serialising []u8 as string or array | daurnimator | |
| 2020-04-01 | std: add options to std.json.stringfy to control escaping | daurnimator | |
| 2020-04-01 | std: use stringify from Value.dump; remove other dump helpers | daurnimator | |
| 2020-04-01 | std: add jsonStringify trait to json Value objects | daurnimator | |
| 2020-03-31 | std: add whitespace control to json.stringify | daurnimator | |
| 2020-03-31 | std: have json tests take options parameter | daurnimator | |
| 2020-03-30 | std lib API deprecations for the upcoming 0.6.0 release | Andrew Kelley | |
| See #3811 | |||
| 2020-03-29 | enable now-passing test cases | Andrew Kelley | |
| These can now be enabled thanks to bug fixes that landed in LLVM 10. | |||
| 2020-03-25 | Carry-over stream error to JSON.stringify | Benjamin Feng | |
| 2020-03-19 | std lib fixups for new semantics | Andrew Kelley | |
| std lib tests are passing now | |||
| 2020-03-12 | Replace fmt with new fmtstream | Benjamin Feng | |
| 2020-03-12 | Convert JSON to fmtstream | Benjamin Feng | |
| 2020-03-10 | update standard library to new I/O streams API | Andrew Kelley | |
| 2020-03-10 | (breaking) improve and simplify fixed buffer streams API | Andrew Kelley | |
| 2020-02-19 | std: tagged unions are broken on arm64 | daurnimator | |
| 2020-02-19 | std: add json.parse to automatically decode json into a struct | daurnimator | |
| 2020-02-19 | std: add json.stringify to encode arbitrary values to JSON | daurnimator | |
| 2020-02-16 | std: Remove now-superflous hack | LemonBoy | |
| 2020-02-14 | std: use testing.allocator in tests | daurnimator | |
| 2020-02-12 | Convert a lot of json tests to use testing.allocator | Benjamin Feng | |
| 2020-01-07 | Merge pull request #4091 from xackus/json_copy_strings | Andrew Kelley | |
| json: implement copy_strings=false | |||
| 2020-01-07 | json tests: don't use debug allocator | xackus | |
| 2020-01-07 | json: disallow overlong and out-of-range UTF-8 | hryx | |
| Fixes #2379 = Overlong (non-shortest) sequences UTF-8's unique encoding scheme allows for some Unicode codepoints to be represented in multiple ways. For any of these characters, the spec forbids all but the shortest form. These disallowed longer sequences are called "overlong". As an interesting side effect of this rule, the bytes C0 and C1 never appear in valid UTF-8. = Codepoint range UTF-8 disallows representation of codepoints beyond U+10FFFF, which is the highest character which can be encoded in UTF-16. Because a 4-byte sequence is capable of resulting in such characters, they must be explicitly rejected. This rule also has an interesting side effect, which is that bytes F5 to FF never appear. = References Detecting an overlong version of a codepoint could get gnarly, but luckily The Unicode Consortium did the hard work by creating this handy table of valid byte sequences: https://unicode.org/versions/corrigendum1.html I thought this mapped nicely to the parser's state machine, so I rearranged the relevant states to make use of it. | |||
| 2020-01-06 | json: implement copy_strings=false | xackus | |
| 2019-12-31 | std: fix typo in comment | daurnimator | |
| 2019-12-31 | std: json.unescapeString doesn't need to take an allocator | daurnimator | |
| 2019-12-31 | std: track decoded string length in std.json tokenizer | daurnimator | |
| 2019-12-30 | std: use enum literals in std.json | daurnimator | |
| 2019-12-30 | std: use a union(enum) for std.json.Token | daurnimator | |
