Commit Graph

14342 Commits

Author SHA1 Message Date
Laytan Laats 538cea27f7 wgpu: take version check out of @init, use C cc when appropriate 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
Laytan Laats 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 64fdf6e18f quote the dsymutil argument
Fixes #4417
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 f1667422e6 Fix #4390 by assigning invalid entity type 2024-12-01 11:54:50 +11:00
Misomosi cb5e064526 Fixes #4395 by not assuming simd returns val 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
Lucas Perlind 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 182a916092 fix erronous updating alignment of external global 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
Laytan Laats 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 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
FourteenBrush f9dc848926 Pass allocator to implicitly (de)allocating procs in core:log 2024-11-30 23:43:39 +01:00
Waqar Ahmed 8a27042d24 Use a proper Queue in thread.Pool
With lots of tasks the dynamic array takes a big performance hit as its
allocating all the time on pop_front
2024-11-30 22:29:47 +05:00
Jeroen van Rijn 314c41ef33 Merge pull request #4534 from laytan/dynlib-unload-before-load
dynlib: unload library before loading again & add LIBRARY_FILE_EXTENSION constant
2024-11-28 21:20:07 +01:00
Laytan Laats 1cece52359 dynlib: unload library before loading again & add LIBRARY_FILE_EXTENSION constant 2024-11-28 21:08:08 +01:00
Jeroen van Rijn 6d83755e92 Fix assert when return value expected. 2024-11-28 20:44:57 +01:00
Laytan Laats 8050622fe6 add map_entry procedure 2024-11-28 20:07:54 +01:00
Jeroen van Rijn 276928170c Merge pull request #4532 from Kelimion/open_fix
Make `O_RDONLY` default for `os.open` on all platforms.
2024-11-28 16:04:49 +01:00
Jeroen van Rijn 8581240ece Make O_RDONLY default for os.open on all platforms.
And also moved Windows file procs to `os_windows.odin`, in line with all the other platforms who didn't have a dedicated `file_<platform>.odin`
2024-11-28 15:57:48 +01:00
gingerBill bb96e54308 Merge pull request #4531 from Nave55/master
Fix math binomial proc giving wrong result
2024-11-28 11:27:25 +00:00
Evan Martinez 36481f6d4a Fix binomial function 2024-11-28 00:28:26 -07:00
gingerBill 44124cb639 Merge pull request #4440 from 0dminnimda/support_llvm19
Add support for llvm version 19
2024-11-27 21:15:59 +00:00
Laytan Laats fa39d87f88 properly keep track of current scope for debugging
Fixes #4519
2024-11-27 20:55:48 +01:00
gingerBill a7b02a9e08 Merge pull request #4525 from zhylmzr/master
fix `DNS_RECORD.Data` error align on windows i386
2024-11-27 18:19:57 +00:00
Jeroen van Rijn 7d17902c2a Merge pull request #4526 from Kelimion/fix-4523
Check `type_expr` in `check_procedure_param_polymorphic_type`
2024-11-27 15:35:42 +01:00
Jeroen van Rijn c7dec10100 Check type_expr in check_procedure_param_polymorphic_type
Fixes #4523 assert.
2024-11-27 15:26:33 +01:00
zhylmzr c2b6a14cd7 fix DNS_RECORD.Data error align on windows i386
fixed: https://github.com/odin-lang/Odin/issues/4520
2024-11-27 20:15:34 +08:00
gingerBill 83f67f5c70 Merge pull request #4524 from andreas-jonsson/pkgsrc-update
Updated NetBSD CI to pkgsrc Q3 release
2024-11-27 11:35:17 +00:00
Andreas T Jonsson 868e0f262c Updated NetBSD CI to pkgsrc Q3 release 2024-11-27 11:22:31 +01:00
Jeroen van Rijn 2b94886ef3 Merge pull request #4522 from laytan/rework-macos-version-retrieval
sys/info & odin report: rework macos version retrieval
2024-11-26 22:59:16 +01:00
Laytan Laats ad80aa6d28 sys/info & odin report: rework macos version retrieval 2024-11-26 22:28:21 +01:00
Laytan Laats ef3d51fad2 vendor/raylib: revert removal of arm64 raygui binaries and fix import paths 2024-11-26 18:59:51 +01:00
Laytan Laats 767daf4a9c add macos 15.1.1 to odin report and sys/info 2024-11-26 18:46:27 +01:00
gingerBill 9115c7aa13 Convert mutex guard to "try lock" 2024-11-26 16:14:13 +00:00