gingerBill
2eea06fc73
Set in_resolve for linux
2024-04-28 12:51:10 +01:00
gingerBill
0fa269811a
Change layout of Frame_Location
2024-04-28 12:49:17 +01:00
gingerBill
6c185a5dca
Add core:debug/trace for Linux
2024-04-28 12:43:27 +01:00
gingerBill
f428f26c8e
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-04-28 12:05:21 +01:00
gingerBill
44c9b988bb
Add default debug/trace to do nothing
2024-04-28 12:05:15 +01:00
gingerBill
51d4dde63c
Merge pull request #3494 from Feoramund/fix-3481
...
Clear unused `global_error_collector.curr_error`
2024-04-28 11:59:18 +01:00
gingerBill
362aa82f59
Begin work on core:debug/trace
2024-04-28 11:58:16 +01:00
Feoramund
ebfbe4d260
Clear unused global_error_collector.curr_error
...
This should cleanly prevent acknowledging duplicate errors on the same
position as seems to be the intent based on the prior `else if`
condition.
2024-04-28 06:44:28 -04:00
gingerBill
e71cf96bbc
Keep -vet happy
2024-04-28 11:35:51 +01:00
gingerBill
383c17e842
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-04-28 11:31:55 +01:00
gingerBill
00b1a41540
Add stack frame procedures for core:sys/windows
2024-04-28 11:31:50 +01:00
Jeroen van Rijn
8fd318ea7a
Merge pull request #3492 from DreepyYunky/Add-SetMenu
...
Add `SetMenu()`
2024-04-27 20:04:15 +02:00
Yunky
1deb53cddb
Add SetMenu
2024-04-27 18:58:46 +01:00
gingerBill
05b5b8503d
Merge pull request #3491 from Feoramund/fix-json-omitempty
...
Fix `omitempty` in `json.marshal`
2024-04-27 15:32:21 +01:00
gingerBill
5e1b376e22
Disallow for x in bitset_or_map if x is a variable that matches the "key"
2024-04-27 10:34:17 +01:00
Feoramund
309a770cbf
Fix omitempty in json.marshal
2024-04-27 05:24:59 -04:00
gingerBill
393e4a9db6
Generalize Odin call-based "iterators" to work with more than 2-values: for x, y, z, w in iterate(&it)
...
It has an artificial limitation of 100 values because if you need for than that, you're doing something wrong.
2024-04-27 09:53:02 +01:00
gingerBill
efae99971b
Fix missing _ =
2024-04-27 09:19:50 +01:00
gingerBill
4454849252
Add attributes to procedures in text/scanner
2024-04-27 09:16:36 +01:00
gingerBill
c752d0b541
Fix printing of big endian integers in a bit_field
2024-04-27 09:16:18 +01:00
gingerBill
5969796fbf
Merge pull request #3490 from odin-lang/new-string-map
...
Change layout of compiler hash map types
2024-04-27 09:03:05 +01:00
gingerBill
6520794764
Fix wrong allocator usage
2024-04-27 08:50:05 +01:00
gingerBill
9d3f835e31
Merge pull request #3462 from Yawning/feature/math-sys-rand
...
core:math/rand: Use `crypto.rand_bytes()` for the system RNG
2024-04-27 08:43:02 +01:00
gingerBill
70aa2ff90a
Merge pull request #3489 from Feoramund/fix-build-freebsd
...
Fix wrong llvm-config in build script for FreeBSD
2024-04-27 08:40:23 +01:00
gingerBill
a60a7f64b9
Merge pull request #3483 from laytan/negative-improvements
...
improve some Negative_Read/Negative_Write logic
2024-04-27 08:38:29 +01:00
gingerBill
2368014d06
Merge pull request #3486 from Feoramund/fix-chan-memleak
...
Fix memory leak in `sync/chan`
2024-04-27 08:37:52 +01:00
Feoramund
92402a75f6
Fix wrong llvm-config in build script for FreeBSD
2024-04-26 18:40:59 -04:00
gingerBill
4bea5dbac1
Correct map usage
2024-04-26 15:09:08 +01:00
gingerBill
2b26384b89
Implement dumb PtrMap
2024-04-26 15:04:46 +01:00
gingerBill
c685b404ea
Implement dumb StringMap
2024-04-26 14:15:22 +01:00
gingerBill
a3e77dcc3b
Minor clean up
2024-04-26 13:25:08 +01:00
gingerBill
7305478261
Minor changes
2024-04-26 13:12:23 +01:00
gingerBill
94e0707456
Fix minor bug
2024-04-26 13:12:15 +01:00
Feoramund
f95bb77f72
Fix memory leak in sync/chan
2024-04-26 05:19:52 -04:00
Laytan Laats
d3bd1c2110
improve some Negative_Read/Negative_Write logic
...
Returns the actual error if one is set, instead of swallowing it for the
less descriptive negative error.
Also fixes a out-of-bounds slice error in `bufio.writer_write` because
it wasn't checking the returned `m`.
2024-04-25 19:08:48 +02:00
gingerBill
f745fff640
Merge pull request #3467 from laytan/clang-18-linking-backport
...
fix linking with clang-18
2024-04-25 16:09:17 +01:00
gingerBill
8f4e3b552e
Merge pull request #3478 from laytan/fix-send-event-proc-signature
...
sys/darwin/foundation: fix Application->sendEvent signature
2024-04-25 12:32:10 +01:00
gingerBill
1ea353dbf7
Merge pull request #3479 from laytan/support-0-sized-return-arm64-abi
...
compiler: support returning 0 sized types in arm64 abi
2024-04-25 12:31:56 +01:00
gingerBill
e3d41f0a9e
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-04-24 20:55:22 +01:00
gingerBill
3b53c99576
Improve support for big-endian bit_fields
2024-04-24 20:55:18 +01:00
Laytan Laats
a4cec2e8b8
sys/darwin/foundation: fix Application->sendEvent signature
2024-04-24 19:51:08 +02:00
Laytan Laats
e8c5bb4629
compiler: support returning 0 sized types in arm64 abi
2024-04-24 19:50:39 +02:00
gingerBill
c72a269b7c
Merge pull request #3477 from laytan/fix-macos-versions
...
ci: fix macOS versions
2024-04-24 17:48:45 +01:00
gingerBill
94d35d9918
Disallow mixing endian types within a bit_field
2024-04-24 17:31:31 +01:00
Laytan Laats
448827c0e4
ci: fix macOS versions
2024-04-24 18:29:28 +02:00
gingerBill
04278cd654
Remove line info in message with -json-errors
2024-04-24 17:13:53 +01:00
gingerBill
15942fbf25
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-04-24 17:01:16 +01:00
gingerBill
214537b420
Improve codegen for bit_field [N]T compound literals
2024-04-24 17:01:09 +01:00
gingerBill
c330e5b5c1
Improve codegen for bit_field compound literals with an integer backing
2024-04-24 14:46:34 +01:00
gingerBill
ec5a84a537
Improve code generation for loading bit_field fields
2024-04-24 13:10:58 +01:00