gingerBill
e378516011
Merge pull request #3547 from hnakamur/pass_size_to_epoll_create
...
sys/linux: Pass size to epoll_create
2024-05-07 14:33:18 +01:00
Jeroen van Rijn
2b1afa0762
Merge pull request #3521 from Su3h7aM/correct-clang++
...
Uses correct `clang++` binary for non-standard versions
2024-05-07 13:25:59 +02:00
gingerBill
0cec2d7827
Fix #3527
2024-05-07 11:51:06 +01:00
gingerBill
8d96c68528
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-05-07 11:42:53 +01:00
gingerBill
0da6a3e214
Fix #3530
2024-05-07 11:42:48 +01:00
gingerBill
41d38bf964
Merge pull request #3468 from Feoramund/fix-pthread-cancel
...
Fix discrepancy with pthread cancelability state
2024-05-07 11:30:07 +01:00
gingerBill
05a1704898
Fix #3464
2024-05-07 11:24:21 +01:00
gingerBill
1818df786d
Free memory for the error messages just in case
2024-05-07 11:21:12 +01:00
gingerBill
b23f1dd5ff
Merge neighbouring error messages with the same location
2024-05-07 11:19:16 +01:00
Jeroen van Rijn
96abe8627c
Merge pull request #3551 from Feoramund/fix-max-bitfield-size
...
Fix lack of adding to `total_bit_size`
2024-05-07 00:47:15 +02:00
Feoramund
6ec7845249
Fix #3531
...
Individual `bit_field` size was not being added to the total size.
Error message was changed to be more explicit.
2024-05-06 18:30:04 -04:00
Hiroaki Nakamura
df53fec828
sys/linux: Pass size to epoll_create
...
Without this fix, you can see a random size value is passed to
epoll_create by using strace.
2024-05-06 21:44:59 +09:00
gingerBill
15f7148eae
Merge pull request #3526 from laytan/target-features
...
Improve target features support
2024-05-05 21:50:57 +01:00
gingerBill
1e5267c8e7
Merge pull request #3532 from laytan/fix-invalid-json
...
fix invalid JSON when an error does not have a position
2024-05-05 16:48:12 +01:00
gingerBill
96a4cecee5
Merge pull request #3536 from laytan/linux-fix-open-bits
...
sys/linux: fix open bits
2024-05-05 16:47:42 +01:00
gingerBill
8ba36ca85c
Merge pull request #3535 from Feoramund/freebsd-arm64-minimal
...
Minimally support compiling Odin on FreeBSD arm64
2024-05-05 16:47:28 +01:00
Laytan Laats
eaab17f8fb
sys/linux: fix open bits
2024-05-05 14:16:21 +02:00
Feoramund
1165d65c94
Minimally support compiling Odin on FreeBSD arm64
...
This is enough to get Odin itself compiling and the demo running.
2024-05-05 07:26:45 -04:00
Laytan Laats
ee818304f3
fix invalid JSON when an error does not have a position
2024-05-05 00:01:14 +02:00
Su3h7aM
30ff15e538
build: uses correct clang++ binary for non-standard versions
2024-05-03 13:20:51 -03:00
gingerBill
17a01a81d8
Merge pull request #3528 from laytan/fix-some-sync-issues
...
Fix some sync issues
2024-05-03 17:14:50 +01:00
gingerBill
595726e6c5
Merge pull request #3369 from joakin/fix-dynamic-library-from-vendor-on-linux
...
Fix vendor dynamic libraries not working on Linux
2024-05-03 17:14:32 +01:00
gingerBill
fed03e896c
Merge pull request #3525 from Feoramund/fix-more-error-racecond
...
Fix more race conditions in error reporting
2024-05-03 17:14:13 +01:00
gingerBill
2201f365a1
Allow #no_alias on multi-pointers
2024-05-03 14:51:02 +01:00
gingerBill
f2505b096d
Improve error message's suggestion for if !integer
2024-05-03 14:22:30 +01:00
gingerBill
242307dd44
Revert to old StringMap internal layout
2024-05-03 12:34:12 +01:00
Laytan Laats
8aab395c70
darwin: fix minimum os version check not being inclusive
2024-05-02 21:18:49 +02:00
Laytan Laats
8506e64345
sync: fix deadlock in one shot event
2024-05-02 20:49:29 +02:00
Laytan Laats
25f1d0906d
compiler: improve target features support
2024-05-02 00:59:52 +02:00
Feoramund
67b786c738
Fix more race conditions in error reporting
2024-05-01 16:41:02 -04:00
Jeroen van Rijn
fd582015fe
Remove stray binary.
2024-04-30 20:58:36 +02:00
Jeroen van Rijn
58e12f0b17
Merge pull request #3520 from flysand7/sys-linux-oflags
...
[sys/linux]: Fix bit numbers for open flags
2024-04-30 20:40:24 +02:00
flysand7
9ffa4a4eb1
[sys/linux]: Fix bit numbers for open flags
2024-05-01 05:24:02 +11:00
gingerBill
eb06cb5d23
Merge pull request #3518 from laytan/sysinfo-arm-additions
...
sys/info: add arm feature detection, fix Linux implementation, show more CPU info on Darwin
2024-04-30 12:48:48 +01:00
gingerBill
5c1201fa42
Fix #3459
2024-04-30 09:10:00 +01:00
Laytan Laats
c0ca26ac17
sys/info: add missing @(private)'s
2024-04-30 00:24:09 +02:00
Laytan Laats
b41395e3b4
sys/info: update doc.odin
2024-04-30 00:24:09 +02:00
Laytan Laats
d40c207fde
sys/info: retrieve better CPU description on Darwin
...
Previously either `ARM` or `ARM64`, now you get something like `Apple
M1`
2024-04-30 00:24:09 +02:00
Laytan Laats
8660718ebe
sys/info: add feature detection for Darwin and Linux ARM
2024-04-30 00:24:09 +02:00
Laytan Laats
485afb011c
sys/info: improve platform_linux
...
1. fix the `linux.open` call, passing `{ .RDONLY }` becomes `0x00000001`
while `RDONLY` is supposed to be `0x00000000`
2. fix the case where `/etc/os-release` starts with `PRETTY_NAME`
`strings.index` was used but was checking `> 0` while `0` is valid
3. remove unneccesary temporary allocations
4. simplify the logic
2024-04-30 00:24:09 +02:00
Laytan Laats
9e94e9dac1
sys/info: remove unneccesary build tags
2024-04-30 00:24:09 +02:00
Laytan Laats
cebe6bd982
sys/unix: add sysctlbyname for darwin
2024-04-30 00:24:09 +02:00
Laytan Laats
c58da76562
sys/darwin: fix sysctl and sysctlbyname syscalls
2024-04-30 00:24:09 +02:00
Laytan Laats
e896efdaeb
sys/info: add easy way of getting the MacOS version
2024-04-30 00:24:09 +02:00
gingerBill
ff0973e0f5
Merge pull request #3513 from thetarnav/patch-2
...
Remove instrinsics and utf16 imports from os/os_js
2024-04-29 16:51:45 +01:00
Damian Tarnawski
ae322739b5
Remove instrinsics and utf16 imports from os/os_js
2024-04-29 16:59:52 +02:00
gingerBill
f6345d20f7
Merge pull request #3508 from Feoramund/fmt-alloc-print-reqres
...
Require results for non-buffered `print` procs
2024-04-29 12:04:58 +01:00
gingerBill
227aab8f39
Merge pull request #3507 from IllusionMan1212/glsl-fix
...
fix(linalg/glsl): incorrect quat by vector3 multiplication
2024-04-29 12:04:07 +01:00
gingerBill
d6824ea607
Merge pull request #3505 from Feoramund/allow-disabled-init-procs
...
Allow `@(init)` procs to be `@(disabled)`
2024-04-29 12:03:54 +01:00
gingerBill
2f88ded81a
Merge pull request #3504 from Feoramund/fix-racecond-error-va
...
Fix race condition in `error_va`
2024-04-29 12:03:26 +01:00