Linus Groh
8588964972
Replace deprecated default initializations with decl literals
2024-09-12 16:01:23 +01:00
Linus Groh
54b668f8a3
std.fmt: Update casing of a few functions to match naming style guide
2024-09-08 11:30:20 -07:00
Linus Groh
708414aaf4
std.time.epoch: Fix comments referring to epoch as 1970-10-01
2024-08-15 17:54:27 -07:00
Linus Groh
9ef16b36ce
std.os.linux: Fix definition of tc_lflag_t on MIPS
...
Regressed in #21000 .
2024-08-12 00:46:28 -07:00
Linus Groh
4ef956ef14
std.Target: Rename c_type_* functions to camel case
...
From https://ziglang.org/documentation/master/#Names :
> If `x` is otherwise callable, then `x` should be `camelCase`.
2024-08-12 00:36:51 +01:00
Linus Groh
fd434fcd38
std.Target: Rename feature_set_fns to FeatureSetFns
...
From https://ziglang.org/documentation/master/#Names :
> If `x` is callable, and `x`'s return type is `type`, then `x` should
> be `TitleCase`.
2024-08-12 00:34:59 +01:00
Linus Groh
a18293214d
std.Target: Specify dynamic linker and C type sizes for serenity
2024-08-04 12:03:43 -07:00
Linus Groh
a84951465b
translate-c: Use mangled name for local extern in condition/loop
2024-07-28 02:58:49 +03:00
Linus Groh
b3afba8a70
std.c: Add setlocale()
2024-07-05 04:45:44 -04:00
Linus Groh
b5e99b5295
std.Build.step.Compile: Fix lib{c,cpp} mixup in dependsOnSystemLibrary()
2024-05-28 20:39:42 -04:00
Linus Groh
7789e87230
std.fs.Dir.openDir: use wasi libc API when -lc
...
Same as #19680 but for directories.
2024-04-20 15:42:44 -07:00
Linus Groh
d483ba7250
zig init: Replace deprecated LazyPath.path with Build.path()
2024-04-15 16:55:04 +03:00
Linus Groh
d100a8e2dc
langref: Rename std.fs.wasi.{PreopenList => Preopens}
2024-03-19 07:22:50 +02:00
Linus Groh
e72049bc61
std.math: Add isPositiveZero() and isNegativeZero()
2023-11-09 00:55:43 -07:00
Linus Groh
772636ed0d
std.json: Parse -0 as a float instead of an integer ( #17729 )
...
This is consistent with `JSON.parse("-0")` in JavaScript, RFC 8259
doesn't specifically mention what to do in this case.
If a negative zero is encoded the intention is likely to preserve the
sign.
2023-10-27 18:05:51 +00:00
Linus Groh
c097209792
std.c.linux: Add getpw{nam,uid}()
2023-09-08 21:46:05 +03:00
Linus Groh
3bada8e3ce
std.hash_map: Fix casing of keyPtr variables
...
The only case where those should be written in camelCase is if they were
function pointers, which they aren't.
2023-07-20 12:52:05 -07:00
Linus Groh
ba35eeb417
std.fs.file: Rename File.Lock enum values to snake case
2023-05-25 20:17:07 +01:00
Linus Groh
4159add4ab
std.fs.file: Rename File.Kind enum values to snake case
2023-05-25 20:17:07 +01:00
Linus Groh
e96de1b636
std.event.loop: Rename Loop.Request.Finish enum values to snake case
2023-05-25 20:17:07 +01:00
Linus Groh
1f57043a21
std.event.loop: Rename Loop.ResumeNode.Id enum values to snake case
2023-05-25 20:17:07 +01:00
Linus Groh
9123377cdb
std.fmt: Rename parseWithSign() sign parameter enum values to snake case
2023-05-25 20:17:07 +01:00
Linus Groh
7860cd734c
std.fmt: Rename Alignment enum values to snake case
2023-05-25 20:17:07 +01:00
Linus Groh
93d9c9bf31
std.io.tty: Remove unused Config.writeDEC() function
...
For reference:
https://github.com/ziglang/zig/pull/15806#discussion_r1203377118
2023-05-24 10:15:47 +01:00
Linus Groh
5d3f3cae64
std.io.tty: Add missing colors to Color enum
...
Also make colors not bold by default, that's what .bold is for.
2023-05-24 10:15:02 +01:00
Linus Groh
0f6fa3f20b
std: Move std.debug.{TTY.Config,detectTTYConfig} to std.io.tty
...
Also get rid of the TTY wrapper struct, which was exlusively used as a
namespace - this is done by the tty.zig root struct now.
detectTTYConfig has been renamed to just detectConfig, which is enough
given the new namespace. Additionally, a doc comment had been added.
2023-05-24 10:15:02 +01:00
Linus Groh
39c2eee285
std.debug: Rename TTY.Color enum values to snake case
2023-05-24 10:15:02 +01:00
Linus Groh
2088e8dc6f
docgen: Rename Action enum values to snake case
2023-05-20 21:58:23 +01:00
Linus Groh
3c1bdc9781
docgen: Rename Code.Id enum values to snake case
2023-05-20 21:56:59 +01:00
Linus Groh
83d419630c
docgen: Rename ExpectedOutcome enum values to snake case
2023-05-20 21:55:31 +01:00
Linus Groh
0dfe6233c0
docgen: Rename Tokenizer.State enum values to snake case
2023-05-20 21:53:12 +01:00
Linus Groh
dc4a7188dd
docgen: Rename Token.Id enum values to snake case
2023-05-20 21:51:57 +01:00
Linus Groh
bebb6a45a5
autodoc: Start search on any search input event, not just keydown
2023-05-13 17:52:13 +01:00
Linus Groh
94e30a756e
std: fix a bunch of typos
...
The majority of these are in comments, some in doc comments which might
affect the generated documentation, and a few in parameter names -
nothing that should be breaking, however.
2023-04-30 18:16:04 -07:00