Commit Graph

17726 Commits

Author SHA1 Message Date
korvahkh
fdb1a2c01b Fix typo in union error: excepts -> accepts
Before:
```
foo.odin(4:24) Error: Cannot convert untyped value '""' to 'union {int, bool}' from 'untyped string'
	u: union{int, bool} = ""
	                      ^^
'union {int, bool}' is a union which only excepts the following types:
	'int' or 'bool'
```
After:
```
foo.odin(4:24) Error: Cannot convert untyped value '""' to 'union {int, bool}' from 'untyped string'
	u: union{int, bool} = ""
	                      ^^
'union {int, bool}' is a union which only accepts the following types:
	'int' or 'bool'
```
2026-07-01 21:07:31 -05:00
Jeroen van Rijn
4ad085b30b Merge pull request #6893 from blob1807/sdl-remove-joystick_lock
Remove non-exported `joystick_lock` symbol
2026-06-26 22:28:50 +02:00
gingerBill
910ddb4626 Check for nullptr when none of the options match in a proc group 2026-06-26 15:09:18 +01:00
gingerBill
7aff98a150 Fix procedure_of(x) 2026-06-26 15:07:54 +01:00
blob1807
19dc9ae773 Remove non-exported joystick_lock
As per the header, `SDL_joystick_lock` isn't an exported symbol. https://github.com/libsdl-org/SDL/blob/release-3.4.2/include/SDL3/SDL_joystick.h#L78-L85
2026-06-26 21:48:24 +10:00
gingerBill
3cad23341a Merge pull request #6886 from korvahkh/fix-6885
Fix #6885
2026-06-25 14:33:05 +01:00
Jeroen van Rijn
946feb3c54 Merge pull request #6887 from Yawning/update/wycheproof
test/core/crypto/wycheproof: Update the tests to match recent changes
2026-06-25 11:47:49 +02:00
Yawning Angel
83940eadfe test/core/crypto/wycheproof: Update the tests to match recent changes
This needs to be merged before I can bump the wycheproof assets.
2026-06-25 14:01:10 +09:00
korvahkh
0aa6d8f318 Fix #6885
Broadcasting `field = value` compound literals
would assert.
This is because we were checking for a
`field = value` compound before checking
if the types matched, and thus could broadcast.
2026-06-24 16:28:02 -05:00
gingerBill
6fdaedf182 Fix indentation 2026-06-24 14:05:35 +01:00
gingerBill
5c48d91f8e And missing command line flag information 2026-06-24 13:44:49 +01:00
gingerBill
859290a9de Support where clauses for proc groups 2026-06-24 13:31:11 +01:00
gingerBill
ead2b9a6e2 Merge pull request #6654 from odin-lang/bill/bedrock
`-bedrock`
2026-06-24 13:28:10 +01:00
gingerBill
3e3fc1c906 Remove duplicated code 2026-06-24 11:11:16 +01:00
gingerBill
51b13abb37 Merge branch 'master' into bill/bedrock 2026-06-24 11:10:10 +01:00
gingerBill
9be5790dbe Fix -> (#simd[N]T) like types in signature returns 2026-06-24 11:09:53 +01:00
gingerBill
40e54a97ed Merge branch 'master' into bill/bedrock 2026-06-24 11:07:02 +01:00
gingerBill
ade003e128 Allow for -> (#simd[N]T) style return types 2026-06-24 10:51:28 +01:00
gingerBill
078664a5c2 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-24 10:38:31 +01:00
gingerBill
f602a6acd7 Fix #6725 #6798 #4943 2026-06-24 10:38:21 +01:00
gingerBill
b1e9d83ea2 Merge pull request #6880 from RoBaertschi/master
Fix #6874
2026-06-24 10:36:20 +01:00
gingerBill
55b63099a8 Fix constant x %% y evaluation 2026-06-24 10:35:36 +01:00
gingerBill
58aac9065a Merge pull request #6878 from Barinzaya/dynamic-arena-alignment
Fix mem.Dynamic_Arena alignment
2026-06-24 10:31:35 +01:00
Bärtschi Robin
212004b3ad test_issue_6874: fix formatting 2026-06-24 08:41:29 +02:00
Bärtschi Robin
640a0f2ef4 add test for #6874 2026-06-24 08:35:43 +02:00
Bärtschi Robin
3883d079c8 Fix #6874 2026-06-24 08:04:17 +02:00
Barinzaya
583a397e1d Fixed alignment handling in mem.Dynamic_Arena. 2026-06-24 00:58:45 -04:00
gingerBill
5647a1b2fc Merge pull request #6873 from bennyyip/regex/inject
core:text/regex: improve compiler performance
2026-06-23 22:34:26 +01:00
gingerBill
07fee34419 Allow for both odin command path -flags and odin command -flags path
To do this, if the first argument after the command and last argument is NOT a flag, then put that last parameter first.
2026-06-23 17:27:17 +01:00
bennyyip
f58d7edb39 pack consecutive inject 2026-06-23 22:19:59 +08:00
bennyyip
55e513fbd7 align struct fields 2026-06-23 22:19:26 +08:00
gingerBill
c7d313b524 Merge pull request #6875 from 0cch0/patch-1
Update Xlib documentation link to current PDF
2026-06-23 13:16:29 +01:00
gingerBill
8c63a70aad Fix identation 2026-06-23 13:14:56 +01:00
gingerBill
87297950c1 Merge pull request #6435 from mtarik34b/improve-flags-bitset-support
Improve `bit_set` support in the `flags` package
2026-06-23 12:50:21 +01:00
gingerBill
2b684ed1ec Add json.unparse allowing for json.Value to io.Writer without the need for RTTI 2026-06-23 12:47:38 +01:00
gingerBill
6698ebacb1 Integrate docs from PR #5119 2026-06-23 12:35:58 +01:00
gingerBill
a1fe7222bb Remove using fmt for example docs 2026-06-23 12:28:27 +01:00
gingerBill
28df949279 Fix typo 2026-06-23 12:25:36 +01:00
gingerBill
ebcf85a1fd Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-23 12:21:39 +01:00
gingerBill
7d36866fe9 pool -> arena 2026-06-23 12:21:29 +01:00
gingerBill
dc7cfbf443 Merge pull request #6671 from MaierN/master
fix memory leak and inconsistency in os.read_entire_file_from_file
2026-06-23 12:20:36 +01:00
gingerBill
82b2b293e9 Merge pull request #6515 from Peter0x44/master
Add missing rlgl bindings for raylib 5.5
2026-06-23 12:19:08 +01:00
gingerBill
1b75c44508 Change mem.Dynamic_Arena's alignment to be minimum_alignment 2026-06-23 12:18:15 +01:00
gingerBill
e30da0beb3 Remove old dynamic_pool_ aliases 2026-06-23 12:10:26 +01:00
gingerBill
bc1d6eb240 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-23 12:10:00 +01:00
gingerBill
a95d45e913 Fix typo 2026-06-23 12:09:51 +01:00
gingerBill
3b56706439 Merge pull request #6471 from Carlyle-Foster/master
rename DEFAULT_PAGE_SIZE to PAGE_SIZE
2026-06-23 12:08:37 +01:00
gingerBill
8f83598750 Correct numerous issues with SDL3 and add missing procedures 2026-06-23 12:03:36 +01:00
gingerBill
0fdc0fd9da Merge pull request #5662 from leecommamichael/stbtt_types
[vendor:stb_truetype] amend PackFontRanges types
2026-06-23 11:51:19 +01:00
gingerBill
e3729aefc3 Add Maybe to SDL3 RenderGeometry 2026-06-23 11:50:33 +01:00