gingerBill
2bb20a2c1c
Merge pull request #3388 from laytan/fix-raygui-symbol
...
fix raygui `GuiFade` being renamed to `GuiSetAlpha`
2024-04-06 22:52:08 +01:00
gingerBill
352d526b94
Merge pull request #3389 from laytan/fix-wasm-atomics
...
fix wasm atomics
2024-04-06 22:51:58 +01:00
Laytan Laats
b150f49c46
fix wasm atomics
...
Fixes #2745
2024-04-06 23:32:38 +02:00
Laytan Laats
d83532d29e
fix raygui GuiFade being renamed to GuiSetAlpha
2024-04-06 20:20:16 +02:00
gingerBill
83d3bc74b0
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-04-06 16:59:07 +01:00
gingerBill
fbf01543d1
Remove duplicate table
2024-04-06 16:59:02 +01:00
gingerBill
8a98ee800a
Merge pull request #3379 from atomicptr/task/add-sdl-sempost
...
Add missing SDL2_SemPost binding
2024-04-06 16:12:41 +01:00
gingerBill
f72e3f689b
Merge pull request #3383 from oskarnp/or_return_crash
...
Fix checker crash when or_return used for non-existing proc
2024-04-06 16:10:09 +01:00
Jeroen van Rijn
cd6153a125
Merge pull request #3385 from blob1807/fixed-removed-undefined-var
...
core:math/fixed Removed undefined & usused vars in init_from_parts
2024-04-06 14:01:25 +02:00
blob1807
fde4e8c905
Removed undefined & usused vars
...
Removed undefined& usused vars in init_from_parts
2024-04-06 21:49:50 +10:00
oskarnp
ca46484ae3
Fix checker crash when or_return/or_break/or_continue used for non-existing proc
2024-04-06 11:02:43 +02:00
Jeroen van Rijn
280adc8a85
Merge pull request #3381 from Yawning/fix/chacha20poly1305
...
core/crypto/poly1305: The final addition is NOT mod p
2024-04-05 16:57:31 +02:00
Yawning Angel
a45721e9ad
core/crypto/poly1305: The final addition is NOT mod p
2024-04-05 23:45:41 +09:00
Christopher Kaster
8d399fa7c0
add missing SDL2_SemPost binding
2024-04-05 09:00:57 +02:00
gingerBill
1422e5bc26
Merge pull request #3377 from laytan/fix-amd64-sysv-abi
...
fix amd64 sysv abi to pass asan everywhere
2024-04-05 00:06:56 +01:00
Laytan Laats
133b45d843
fix amd64 sysv abi to pass asan everywhere
...
I verified the PR by running the entire test suite of Odin itself with
`-sanitize:address` and also the ols test suite (which caused unique problems
before).
A test has also been added with some problematic code, Windows seems to
have problems with asan in CI or in general so it is not ran there.
The LB_ABI_COMPUTE_RETURN_TYPES block has been removed entirely because
it was unused, I got pretty confused why it didn't effect anything at
first.
Fixes #3211
2024-04-04 23:45:23 +02:00
gingerBill
510574aa7f
Merge pull request #3373 from laytan/add-some-windows-wsa-symbols
...
add some wsa based additions to `core:sys/windows`
2024-04-04 20:40:31 +01:00
gingerBill
3fd3bf2d4d
Merge pull request #3371 from mailgerigk/windows-setevent
...
Add windows.SetEvent
2024-04-04 18:09:21 +01:00
gingerBill
fbff2b4fd6
Merge pull request #3372 from laytan/fix-lbarg-ignore-logic
...
fix lbArg_Ignore logic
2024-04-04 18:09:12 +01:00
gingerBill
7f0ca315b3
Merge pull request #3374 from laytan/fix-128-ints-alignment-arm64
...
fix 128 bit int alignment on arm64
2024-04-04 18:06:01 +01:00
Laytan Laats
31407d9b1b
fix 128 bit int alignment on arm64
...
Fixes #2403
2024-04-04 18:39:41 +02:00
gingerBill
83e2f5ff74
Add better error messages with suggestions for using context as an identifier
2024-04-04 17:01:31 +01:00
gingerBill
2375ac22a7
Improve error messages for A variable declaration must be an identifier
2024-04-04 16:57:08 +01:00
gingerBill
b979fd4c43
Remove consecutive linking libraries
2024-04-04 16:14:05 +01:00
gingerBill
0e5a482c42
Default to "smart" linker behaviour; Add -min-link-libs to use minimize link libs if wanted
2024-04-04 16:11:26 +01:00
Laytan Laats
1af84e082c
add some wsa based additions to core:sys/windows
2024-04-04 17:09:12 +02:00
gingerBill
d248cddf90
Remove dead newline
2024-04-04 16:07:55 +01:00
Laytan Laats
a7056f2b4f
fix lbArg_Ignore logic
...
Fixes #2698
2024-04-04 16:58:22 +02:00
gerigk
62cebe1bc9
Add windows.SetEvent
2024-04-04 16:00:01 +02:00
gingerBill
99aff7e3fb
Merge pull request #3370 from laytan/fix-objc-proc-group-edge-case
...
fix objc proc group edge case
2024-04-04 13:03:27 +01:00
Laytan Laats
5339e1e1b6
fix objc proc group edge case
...
Fixes #2648
2024-04-03 21:21:46 +02:00
gingerBill
5fe0788cff
Minimize code duplication in core:mem by using the base:runtime calls
2024-04-03 11:47:39 +01:00
gingerBill
e42b16b106
Merge pull request #3366 from laytan/fix-vet-scope-bug
...
fix vet scope bug skipping some scopes
2024-04-03 11:40:01 +01:00
gingerBill
a1d9442380
Merge pull request #3367 from laytan/fix-stack-overflow-warning
...
fix -vet warning for stack overflows not showing up
2024-04-03 11:39:25 +01:00
Laytan Laats
b754c1e072
fix -vet warning for stack overflows not showing up
...
Due to the placement of this code, the warning would only ever be added
if the variable was also either unused or shadowed.
2024-04-03 01:05:54 +02:00
Laytan Laats
3a0df80066
correct newly found vets
2024-04-03 00:52:58 +02:00
gingerBill
a9bfb3ac2e
Clarity warning and error printing
2024-04-02 23:39:14 +01:00
gingerBill
692a47f080
Fix printing of warnings
2024-04-02 23:36:36 +01:00
Laytan Laats
21fcf7c874
fix vet scope bug skipping some scopes
...
Fixes #3146
2024-04-02 23:59:38 +02:00
gingerBill
05d07983c3
Merge pull request #3363 from laytan/fix-c-varargs-named-args
...
fix named arguments and untyped nil with #c_vararg
2024-04-02 18:36:10 +01:00
Laytan Laats
fc30bde0f6
fix untyped nil into c varargs
...
Fixes #2842
2024-04-02 18:49:35 +02:00
Laytan Laats
a8d8696e2f
fix named arguments with #c_vararg
...
Previously `args=1`, `args={}`, `args={1, 2, 3}` would all crash the
compiler. Now it passes them correctly, and if given a compound literal,
the values are expanded into the call so you can use a named arg while
passing multiple values.
Fixes #3168
2024-04-02 17:25:11 +02:00
gingerBill
66f9ef9a00
Merge pull request #3361 from yay/ns-application-activate
...
Add NSApplication.activate to Foundation bindings.
2024-04-02 06:59:13 +01:00
Vitalii Kravchenko
fdd4ef3c59
Add NSApplication.active to Foundation bindings.
2024-04-02 02:35:00 +01:00
Jeroen van Rijn
f9f6fbfe1f
Merge pull request #3360 from laytan/debug-info-fixes
...
fix wrong type in map debug info
2024-04-01 19:12:24 +02:00
Laytan Laats
4fc96e1ca5
change unneeded permanent allocation to temporary
2024-04-01 19:06:05 +02:00
Laytan Laats
cfc85fd737
fix wrong type in map debug info
2024-04-01 18:42:10 +02:00
Jeroen van Rijn
6b7e9f0a2d
Merge pull request #3359 from Kelimion/tests_digests
...
Add SHA3-512 digests verification to test assets.
2024-04-01 18:24:36 +02:00
Jeroen van Rijn
b3580fa63a
Make it a HMAC.
2024-04-01 18:20:14 +02:00
gingerBill
406aa587e2
Merge pull request #3358 from laytan/debug-info-fixes
...
debug info fixes/refactor
2024-04-01 16:53:56 +01:00