Andrew Kelley
519ba9bb65
Revert "Merge pull request #12060 from Vexu/IterableDir"
...
This reverts commit da94227f78
, reversing
changes made to 8f943b3d33
.
I was against this change originally, but decided to approve it to keep
an open mind. After a year of trying it in practice, I firmly believe
that the previous way of doing it was better.
2023-11-22 12:35:33 -07:00
Eric Joldasov
50339f595a
all: zig fmt and rename "@XToY" to "@YFromX"
...
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-06-19 12:34:42 -07:00
Josh Wolfe
32cb9462ff
std: Support user-provided jsonParse method. Unify json.Parser and json.parse* ( #15705 )
2023-06-19 11:21:37 -04:00
Andrew Kelley
629f0d23b5
Merge pull request #15579 from squeek502/mem-delimiters
...
Split `std.mem.split` and `tokenize` into `sequence`, `any`, and `scalar` versions
2023-06-03 13:51:02 -07:00
Linus Groh
4159add4ab
std.fs.file: Rename File.Kind enum values to snake case
2023-05-25 20:17:07 +01:00
Ali Chraghi
3db3cf7790
std.sort: add pdqsort and heapsort
2023-05-23 17:55:59 -07:00
Ryan Liptak
2129f28953
Update all std.mem.split calls to their appropriate function
...
Everywhere that can now use `splitScalar` should get a nice little performance boost.
2023-05-13 13:45:05 -07:00
Josh Wolfe
018b743c7a
std: Rewrite low-level json api to support streaming ( #15602 )
2023-05-13 14:31:53 -04:00
Andrew Kelley
aeaef8c0ff
update std lib and compiler sources to new for loop syntax
2023-02-18 19:17:21 -07:00
Robin Voetter
5299c57060
adapt update_spriv_features to changed std pattern
2022-11-23 19:17:58 +01:00
r00ster
cff5d9c805
std.mem: add first
method to SplitIterator
and SplitBackwardsIterator
2022-07-25 22:04:30 +03:00
Veikka Tuominen
2b67f56c35
std.fs: split Dir
into IterableDir
...
Also adds safety check for attempting to iterate directory not opened with `iterate = true`.
2022-07-15 13:04:21 +03:00
Lee Cannon
1093b09a98
allocgate: renamed getAllocator function to allocator
2021-11-30 23:32:47 +00:00
Lee Cannon
75548b50ff
allocgate: stage 1 and 2 building
2021-11-30 23:32:47 +00:00
Lee Cannon
85de022c56
allocgate: std Allocator interface refactor
2021-11-30 23:32:47 +00:00
Ryan Liptak
d31352ee85
Update all usages of mem.split/mem.tokenize for generic version
2021-08-06 02:01:47 -07:00
Jacob G-W
9fffffb07b
fix code broken from previous commit
2021-06-21 17:03:03 -07:00
LemonBoy
ff79b87fa0
tools: Unbreak many tools
...
Many tools were broken after the recent hash-table refactorings, fix
them and ensure they won't silently break again.
2021-06-13 15:25:18 -04:00
Andrew Kelley
138afd5cbf
zig fmt
2021-06-10 20:13:43 -07:00
Robin Voetter
4fe0a0b82b
SPIR-V: SPIR-V feature generation tool
...
There is a lot left to be desired for this tool, as currently dependencies of extensions and dependencies
of capabilities on extensions are not included:
- There is no machine-readable definition of dependencies of extensions.
- A capability may depend on either of a multitude of extensions, which as of yet cannot be properly
modelled in the target system.
2021-05-14 19:49:32 +02:00