Laytan and flysand7
f342215b4d
clean up dynlib and path/filepath with sys/posix
2024-12-01 11:54:51 +11:00
Laytan and flysand7
2b5f0fc729
remove pthread from sys/unix and use sys/posix where used
2024-12-01 11:54:51 +11:00
Laytan and flysand7
7de56ec852
fix #load_directory including nested directories
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
49ddbd9b99
sys/posix: impl rest of linux, impl some of Windows
2024-12-01 11:54:51 +11:00
Karl Zylinski and flysand7
879771fe32
Fix for using utf8string.at with last rune index returning wrong rune.
2024-12-01 11:54:51 +11:00
Jeroen van Rijn and flysand7
c9c237babf
match_exact_value: return when type is compound
...
fixes #4431
2024-12-01 11:54:51 +11:00
Alexis Caraballo and flysand7
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 and flysand7
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 and flysand7
5faefac106
math/rand: choice_bit_set return not_empty -> ok
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
d85f18e898
math/rand: add choice_bit_set
2024-12-01 11:54:51 +11:00
Patric Dexheimer and flysand7
12cfc9b8de
Update process_windows.odin
...
Mistype
2024-12-01 11:54:51 +11:00
IllusionMan1212 and flysand7
fafb2b1e75
core/io: correctly escape runes greater than 0xFFFF
2024-12-01 11:54:51 +11:00
Yawning Angel and flysand7
111f10cbbf
src/big_int.cpp: Use square-multiply for exponentiation
...
For utterly unrealistic constant sizes, this still crashes on my system,
but it crashes fast due to the OOM killer, and people using rediculously
large exponents get what they deserve.
2024-12-01 11:54:51 +11:00
gingerBill and flysand7
197339d91d
Add warning for unsigned >= 0 like conditions in a for loop
2024-12-01 11:54:51 +11:00
gingerBill and flysand7
e6a4f3048f
Fix possible leak in recursive filepath.glob
2024-12-01 11:54:51 +11:00
gingerBill and flysand7
63f880ae80
Fix bug caused due to incorrect type checking looking for context not defined in a context
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
8e6cbe9a29
fix the typeid type kind of a typeid being set to Typeid_Invalid
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
f3c19e183f
wgpu: add missing JS impl for RenderPassEncoderSetBlendConstant
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
d185ab5991
sys/wasm/js: add set_element_style
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
3740497e42
encoding/cbor: fix skipping of ignored/missing fields in struct unmarshal
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
4207d4fded
encoding/cbor: handle binary having more fields than the struct by discarding
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
0d4d3bd1de
math/rand: support non-contiguous enums in choice_enum
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
538cea27f7
wgpu: take version check out of @init, use C cc when appropriate
2024-12-01 11:54:51 +11:00
Laytan Laats and flysand7
0c470895b3
image: add panic when load is called without any registered loaders
2024-12-01 11:54:50 +11:00
Laytan Laats and flysand7
6e534c0e24
check packed load and set alignment on all loads, not just lb_emit_load
2024-12-01 11:54:50 +11:00
Laytan Laats and flysand7
64fdf6e18f
quote the dsymutil argument
...
Fixes #4417
2024-12-01 11:54:50 +11:00
Lucas Perlind and flysand7
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 and flysand7
f1667422e6
Fix #4390 by assigning invalid entity type
2024-12-01 11:54:50 +11:00
Misomosi and flysand7
cb5e064526
Fixes #4395 by not assuming simd returns val
2024-12-01 11:54:50 +11:00
Misomosi and flysand7
b459cb6b2c
Fix magnitude check in parse_f64_prefix
2024-12-01 11:54:50 +11:00
Lucas Perlind and flysand7
28d01ce7b5
cached.cpp: Improve internal cached robustness
...
Do not memory map files; Windows cannot write to a file that is memory
mapped.
Write cache after llvm building. This ensures the cache won't have a
false positive if llvm fails.
2024-12-01 11:54:50 +11:00
laytan and flysand7
182a916092
fix erronous updating alignment of external global
2024-12-01 11:54:50 +11:00
Colin Davidson and flysand7
79975efb7e
add better comment about freebsd hacks
2024-12-01 11:54:50 +11:00
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
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 and flysand7
f2711dca7f
add julian day rule resolvers
2024-12-01 11:54:50 +11:00
Colin Davidson and flysand7
83932280f8
swap datetime_to_str to aprintf
2024-12-01 11:54:50 +11:00
Colin Davidson and flysand7
0ed3d459f7
delete local_str with the appropriate allocator
2024-12-01 11:54:50 +11:00
Colin Davidson and flysand7
e8b6652aba
sort out windows enum names too
2024-12-01 11:54:50 +11:00
Colin Davidson and flysand7
8875921ec7
tweaks per laytan suggestions
2024-12-01 11:54:50 +11:00
Colin Davidson and flysand7
fc9983e9c8
Initial cut of timezones
2024-12-01 11:54:50 +11:00
Tom Solberg and flysand7
b7e61095a9
cbor: fix capacity and ptr calculation for dynarray unmarshal
2024-12-01 11:54:50 +11:00
Laytan Laats and flysand7
357f463372
odin/parser: fix offsets of value declarations
...
Fixes #4356
2024-12-01 11:54:50 +11:00
IllusionMan1212 and flysand7
1f2875e939
fix(core:{odin,c}/tokenizer): Don't error on valid \uE000 codepoint
2024-12-01 11:54:50 +11:00
Laytan Laats and flysand7
f56ac466c3
encoding/json: fix leak when string is unmarshalled into non-string field
...
Fixes #4391
2024-12-01 11:54:50 +11:00
Laytan Laats and flysand7
cded6b8479
possibly fix not having shared dir in recent windows releases
...
Probably caused by https://github.com/actions/upload-artifact/issues/602
Possibly fixes #4384
2024-12-01 11:54:49 +11:00
flysand7 and GitHub
d41c7d52e7
Fix indentation
2024-12-01 11:50:00 +11:00
flysand7 and GitHub
d48c351330
Fix indentation
2024-12-01 11:48:52 +11:00
flysand7
596921fb7a
First pass
2024-12-01 11:42:24 +11:00
Laytan and GitHub
2141299d2b
Merge pull request #4376 from Barinzaya/sysinfo-avx512
...
core:sys/info AVX-512 CPU Features
2024-10-16 19:46:01 +02:00