gingerBill
1d8c44a98c
Fix minor issues with Windows bindings
2026-04-02 12:52:17 +01:00
gingerBill
70c4f4bc45
Fix read_reg_string which was using the wrong size in bytes for the resulting buffer
2026-04-02 10:25:19 +01:00
Jeroen van Rijn
1e1e00c68e
[core:sys/info] One more thing
2026-02-24 14:48:09 +01:00
Jeroen van Rijn
2cc7fe6d16
[core:sys/info] Fix small doc render issue
2026-02-24 14:46:30 +01:00
Jeroen van Rijn
af43e6851b
[core:sys/info] Remove , ok
2026-02-23 23:55:36 +01:00
Jeroen van Rijn
ea80eab75a
[core:sys/info] Remove @(init) where practical
2026-02-23 23:09:37 +01:00
Jeroen van Rijn
11d2d37277
Better.
2026-02-20 19:31:50 +01:00
Jeroen van Rijn
3299981433
core:sys/info: Fix GPU enumeration loop
2026-02-20 19:25:17 +01:00
Jeroen van Rijn
98413ad154
Remove duplicate buffer
2026-02-02 13:16:13 +01:00
Jeroen van Rijn
3a7c4994ac
Fix #6204
...
Use temporary stack buffers and some global scratch space to remove the need for any allocator.
2026-02-02 13:11:23 +01:00
gingerBill
842cfee0f3
Change Odin's LICENSE to zlib from BSD 3-clause
...
This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
2025-10-28 14:38:25 +00:00
Jeroen van Rijn
e1d8ece408
core:sys/info: iterate over registry nodes to enumerate GPUs
2025-10-10 14:12:59 +02:00
Jeroen van Rijn
ece213afca
Render examples.
2025-10-10 12:24:28 +02:00
Jeroen van Rijn
7a9ea3ee6d
Further overhaul of package line comments.
2025-10-09 23:05:29 +02:00
Yuriy Grynevych
36098cec0f
[core:sys/info] doc: Remove duplicated line
2025-09-25 15:14:42 +03:00
gingerBill
7c93a5ae80
Add missing contextless
2025-08-08 13:16:20 +01:00
gingerBill
8ff15eaf69
More contextless fixes
2025-08-08 13:02:37 +01:00
gingerBill
aa747a1c10
Add more "contextless"
2025-08-08 12:55:23 +01:00
gingerBill
7642e0a0e0
Require @(init) and @(fini) to be proc "contextless" ()
2025-08-08 12:10:01 +01:00
gingerBill
bb4bc316a4
for in string16; Support string16 across core
2025-08-02 12:20:35 +01:00
Harold Brenes
bab4ce11fc
Rename iOS subtarget to iPhone for consistency.
...
Add `ODIN_PLATFORM_SUBTARGET_IOS` builtin constant which evaluated to
`true` when the platform is `Darwin` and the subtarget it either `iPhone` or `iPhoneSimulator`
2025-07-14 21:55:28 -04:00
Laytan Laats
144daf6fff
add macOS Tahoe to odin report and core:sys/info
2025-06-14 00:27:37 +02:00
Jeroen van Rijn
ae5c92ac38
Enable odin check examples/all for JS.
2025-06-04 11:08:25 +02:00
Laytan Laats
eac58fc640
sys/info: populate cpu.physical_cores and cpu.logical_cores on Darwin
2025-05-26 20:41:18 +02:00
Jeroen van Rijn
655fab7227
Add core/hyperthread count for Windows and Linux ( #5216 )
...
Add core/hyperthread count to `core:sys/info` for Windows and Linux.
TODO: Linux RISCV, Linux ARM, Darwin, and the BSDs.
2025-05-25 19:43:10 +02:00
Jeroen van Rijn
a6977ac733
Remove stray import.
2025-04-05 19:25:39 +02:00
Jeroen van Rijn
4b203d0c78
Fix segfault in core:sys/info on WSL2
2025-04-05 19:23:58 +02:00
Yawning Angel
982ab11aa1
core/crypto/sha2: Use hardware SHA224/256 when available (AMD64)
2025-03-23 19:14:33 +09:00
Laytan Laats
ad80aa6d28
sys/info & odin report: rework macos version retrieval
2024-11-26 22:28:21 +01:00
Laytan Laats
767daf4a9c
add macos 15.1.1 to odin report and sys/info
2024-11-26 18:46:27 +01:00
Laytan Laats
8f2766c4dc
add missing macos version
2024-11-16 15:42:13 +01: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
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
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
Karl Zylinski
093ade0504
Merge branch 'master' into file-tags-without-comments
2024-09-17 19:36:17 +02:00
Laytan Laats
6ef779cd5c
add new macos releases to 'odin report' and sys/info
2024-09-17 17:47:26 +02:00
Karl Zylinski
19f0127e55
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
2024-09-14 18:27:49 +02:00
gingerBill
a4fd0c133e
Merge pull request #4191 from laytan/improve-package-doc-comments
...
core: improve package doc comments for the documentation generator
2024-09-04 21:37:48 +01:00
Laytan Laats
288312a812
core: improve package doc comments for the documentation generator
2024-09-03 19:59:04 +02:00
laytan
35731e66cf
sys/info: more CPU feature detection for RISC-V
2024-09-02 14:06:19 +00:00
Laytan
ca6ef95b03
add support for linux_riscv64 and freestanding_riscv64
2024-08-20 14:06:40 +02:00
Laytan Laats
ac68a9d52c
update MacOS releases
2024-08-14 00:00:50 +02:00
Laytan Laats
ddad2011e2
darwin: remove syscall usage (without -no-crt) to comply to Apple guidelines
2024-07-08 15:39:23 +02:00
gingerBill
4b71c47fd5
Check for unneeded transmute with -vet-cast
2024-06-29 12:02:31 +01:00
Feoramund
20c32c807d
Fix info.init_os_version on FreeBSD
...
It's possible for the return string to be longer than 128 characters
these days, so I've increased it to 1024, same as the other BSDs.
SYSCTL was otherwise erring out due to lack of buffer space.
2024-06-12 13:10:19 -04:00
Laytan Laats
072825ac5a
add MacOS 14.5 to 'core:sys/info' and 'odin report'
2024-06-07 17:42:41 +02:00
Andreas T Jonsson
f428e30211
Minor code cleanup
2024-05-10 17:49:56 +02:00