Commit Graph

5886 Commits

Author SHA1 Message Date
Laytan
78dc4d4907 fix test 2024-12-01 11:54:51 +11:00
Laytan
9f1c894f1f port pthread_mutex_t and pthread_cond_t from sys/unix cause miniaudio wants it 2024-12-01 11:54:51 +11:00
Laytan
f342215b4d clean up dynlib and path/filepath with sys/posix 2024-12-01 11:54:51 +11:00
Laytan
2b5f0fc729 remove pthread from sys/unix and use sys/posix where used 2024-12-01 11:54:51 +11:00
Laytan Laats
49ddbd9b99 sys/posix: impl rest of linux, impl some of Windows 2024-12-01 11:54:51 +11:00
Karl Zylinski
879771fe32 Fix for using utf8string.at with last rune index returning wrong rune. 2024-12-01 11:54:51 +11:00
Alexis Caraballo
d9326ae93d fix cbor.to_json always returning array of tuples for objects
to_json uses a small proc to check if all keys of an object are strings.
It was always returning false for any input.
2024-12-01 11:54:51 +11:00
Jeroen van Rijn
1df246664f Fix image.which_bytes
Invert test in `which_bytes` to fix Softimage PIC detection. Fixes #4429.
2024-12-01 11:54:51 +11:00
Laytan
5faefac106 math/rand: choice_bit_set return not_empty -> ok 2024-12-01 11:54:51 +11:00
Laytan Laats
d85f18e898 math/rand: add choice_bit_set 2024-12-01 11:54:51 +11:00
Patric Dexheimer
12cfc9b8de Update process_windows.odin
Mistype
2024-12-01 11:54:51 +11:00
IllusionMan1212
fafb2b1e75 core/io: correctly escape runes greater than 0xFFFF 2024-12-01 11:54:51 +11:00
gingerBill
e6a4f3048f Fix possible leak in recursive filepath.glob 2024-12-01 11:54:51 +11:00
Laytan Laats
d185ab5991 sys/wasm/js: add set_element_style 2024-12-01 11:54:51 +11:00
Laytan Laats
3740497e42 encoding/cbor: fix skipping of ignored/missing fields in struct unmarshal 2024-12-01 11:54:51 +11:00
Laytan Laats
4207d4fded encoding/cbor: handle binary having more fields than the struct by discarding 2024-12-01 11:54:51 +11:00
Laytan Laats
0d4d3bd1de math/rand: support non-contiguous enums in choice_enum 2024-12-01 11:54:51 +11:00
Laytan Laats
0c470895b3 image: add panic when load is called without any registered loaders 2024-12-01 11:54:50 +11:00
Lucas Perlind
fc3ea5b3d9 core/unicode/utf16: add rune_count proc
This returns the number of runes in a u16 slice
2024-12-01 11:54:50 +11:00
Misomosi
b459cb6b2c Fix magnitude check in parse_f64_prefix 2024-12-01 11:54:50 +11:00
Colin Davidson
79975efb7e add better comment about freebsd hacks 2024-12-01 11:54:50 +11:00
Colin Davidson
f7fffc4b27 Update core/time/timezone/tzdate.odin
Co-authored-by: Feoramund <161657516+Feoramund@users.noreply.github.com>
2024-12-01 11:54:50 +11:00
Colin Davidson
e4983831de Update core/time/timezone/tzdate.odin
Co-authored-by: Feoramund <161657516+Feoramund@users.noreply.github.com>
2024-12-01 11:54:50 +11:00
Colin Davidson
f2711dca7f add julian day rule resolvers 2024-12-01 11:54:50 +11:00
Colin Davidson
83932280f8 swap datetime_to_str to aprintf 2024-12-01 11:54:50 +11:00
Colin Davidson
0ed3d459f7 delete local_str with the appropriate allocator 2024-12-01 11:54:50 +11:00
Colin Davidson
e8b6652aba sort out windows enum names too 2024-12-01 11:54:50 +11:00
Colin Davidson
8875921ec7 tweaks per laytan suggestions 2024-12-01 11:54:50 +11:00
Colin Davidson
fc9983e9c8 Initial cut of timezones 2024-12-01 11:54:50 +11:00
Tom Solberg
b7e61095a9 cbor: fix capacity and ptr calculation for dynarray unmarshal 2024-12-01 11:54:50 +11:00
Laytan Laats
357f463372 odin/parser: fix offsets of value declarations
Fixes #4356
2024-12-01 11:54:50 +11:00
IllusionMan1212
1f2875e939 fix(core:{odin,c}/tokenizer): Don't error on valid \uE000 codepoint 2024-12-01 11:54:50 +11:00
Laytan Laats
f56ac466c3 encoding/json: fix leak when string is unmarshalled into non-string field
Fixes #4391
2024-12-01 11:54:50 +11:00
flysand7
d41c7d52e7 Fix indentation 2024-12-01 11:50:00 +11:00
flysand7
d48c351330 Fix indentation 2024-12-01 11:48:52 +11:00
flysand7
596921fb7a First pass 2024-12-01 11:42:24 +11:00
Laytan
2141299d2b Merge pull request #4376 from Barinzaya/sysinfo-avx512
core:sys/info AVX-512 CPU Features
2024-10-16 19:46:01 +02:00
Barinzaya
142e7d6b52 Fixed time overflows that occur when running in a 32-bit Linux target. 2024-10-15 13:43:28 -04:00
Barinzaya
872a29752c Renamed and trimmed AVX-512 features in sys/info.
Removed underscores from the AVX-512 names in `CPU_Feature` to make them match their equivalent LLVM target features. Removed 4FMAPs and 4VNNIW as there aren't matching LLVM target features.
2024-10-15 05:21:35 -04:00
Laytan Laats
7989d512a0 add macos 15.0.1 to odin report and core/sys/info 2024-10-14 16:19:03 +02:00
Laytan Laats
1dd9b8560d build mutex allocator code on freestanding wasm 2024-10-14 16:11:25 +02:00
Laytan Laats
b746e5287e build tracking allocator code on freestanding wasm 2024-10-14 16:06:16 +02:00
Barinzaya
ff35a59548 Fixed a theoretical edge case in AVX512VL support detection. 2024-10-14 09:13:27 -04:00
Barinzaya
c93923c9f7 Fixed formatting. 2024-10-14 08:53:16 -04:00
Barinzaya
0e4ed515b9 Added AVX-512 feature detection to core:sys/info. 2024-10-14 08:20:23 -04:00
Laytan
0157ff1541 Merge pull request #4118 from andradei/posix-linux
Linux POSIX support
2024-10-13 20:05:03 +02:00
Beau McCartney
e240c034de aliases to enum members are other enum members, not constants 2024-10-12 20:11:46 -06:00
gingerBill
8006ba919e Improve formatting 2024-10-11 14:48:55 +01:00
Laytan
16eac6c844 Merge pull request #4357 from beaumccartney/mach-vm-apis
bindings, types, and constants for some mach vm apis
2024-10-10 20:04:20 +02:00
Beau McCartney
77cf4373a8 sync policy enum 2024-10-10 11:24:55 -06:00