Commit Graph

16451 Commits

Author SHA1 Message Date
Shane Shrybman
f6322b4b31 Fix for vet flags. All combinations of vet flags on the command line and top of file are working 2026-01-28 14:18:30 -05:00
gingerBill
29fa8b6582 Merge pull request #6186 from lzurbriggen/ReadDirectoryChangesExW
[core:sys/windows] ReadDirectoryChangesExW
2026-01-27 21:31:20 +00:00
Leo Zurbriggen
22ef6ae8c6 add windows.ReadDirectoryChangesExW 2026-01-27 18:11:09 +01:00
gingerBill
9084d7e99b Fix #6173 2026-01-27 12:27:35 +00:00
gingerBill
92bef45781 Fix #6183 2026-01-27 09:44:52 +00:00
Jeroen van Rijn
291e5ea219 Merge pull request #6184 from thegreatpissant/issue_6176
Fix odin-lang/Odin#6176
2026-01-27 09:24:53 +01:00
Jim
f4008e9c9d Fix issue #6176
Update RenderTextureRotated to accept a nil pointer for center point
parameter
2026-01-26 23:33:17 -08:00
gingerBill
7bdd0a80ca Allow for CONSTANT_TYPEID_ARRAY[idx] to be used as a type in certain contexts 2026-01-26 19:31:37 +00:00
gingerBill
27bd72c18a Fix constant indexing within a call that doesn't exist 2026-01-26 19:15:40 +00:00
gingerBill
415752992f Merge pull request #6181 from odin-lang/bill/type-assert-behaviour
Use `context.assertion_failure_proc` with type assertions when possible
2026-01-26 19:13:48 +00:00
gingerBill
b85f29d979 Rename to type_assertion_trap_contextless 2026-01-26 18:31:04 +00:00
gingerBill
96f1069e4a Fix type_assertion_check2* for -no-rtti 2026-01-26 18:29:39 +00:00
gingerBill
3586bda6ae Use context.assertion_failure_proc with type assertions when the context is available, otherwise use a trivial trap. 2026-01-26 18:23:29 +00:00
gingerBill
467954bc7b Merge pull request #6178 from odin-lang/bill/force-type-assert
Add `#+feature force-type-assert` which overrides `-no-type-assert` on a per-file basis
2026-01-26 16:14:42 +00:00
gingerBill
0774b7465f Allow for shortcut to get feature flags from the expression directly assuming it as a file 2026-01-26 15:51:38 +00:00
gingerBill
efdb89afcb Revert dynamic literals feature check 2026-01-26 15:41:15 +00:00
gingerBill
afe4369f6e Add #+feature force-type-assert which overrides -no-type-assert on a per-file basis 2026-01-26 15:37:54 +00:00
gingerBill
a69c3edcdf Merge branch 'master' of https://github.com/odin-lang/Odin 2026-01-26 10:49:32 +00:00
gingerBill
83a10e929f Require space after the prefix of #+build style tags 2026-01-26 10:49:24 +00:00
Jeroen van Rijn
01bccb7594 Merge pull request #6174 from antisaling/push-uovqmomtyvul
encoding/xml: pass allocator on destroy
2026-01-26 09:07:40 +01:00
Jeroen van Rijn
a57096b079 Delete unnecessary file. 2026-01-26 09:07:06 +01:00
Jeroen van Rijn
0c2fca855b Merge pull request #6169 from nowhereware/master
(Fixed) Update SDL3_image to 3.4.0
2026-01-26 09:05:27 +01:00
Jeroen van Rijn
249e6c104e Update the rest of the libs as needed 2026-01-26 08:58:06 +01:00
Isabella Basso
56445dff97 encoding/xml: pass allocator on destroy 2026-01-25 21:33:23 -03:00
gingerBill
628b4b03be Add section on "Why callbacks?" 2026-01-25 12:32:26 +00:00
gingerBill
8a9d15ba35 Fix link to examples in nbio 2026-01-25 12:28:23 +00:00
nowheredevel
c188bbf82d Update SDL_image to 3.4.0 2026-01-24 14:38:53 -05:00
gingerBill
cc4a7ec11c Merge pull request #6166 from laytan/vet-file-tags-in-addition-to-command-line
make #+vet tags always work in addition to command line flags
2026-01-24 13:55:41 +00:00
Jeroen van Rijn
cd684ed7a0 Merge pull request #6159 from Barinzaya/fix-const-bitset-contains
Fix `in`/`not_in` on constant `bit_set`s
2026-01-24 14:32:33 +01:00
Jeroen van Rijn
756c17ef78 Merge pull request #6167 from Kelimion/fix-6165
Fix #6165
2026-01-24 14:15:03 +01:00
Jeroen van Rijn
1c529d8cb2 Fix #6165 2026-01-24 14:06:31 +01:00
Laytan Laats
a9a65b5377 make #+vet tags always work in addition to command line flags 2026-01-24 12:59:55 +01:00
Jeroen van Rijn
8ffc98b4bf Merge pull request #5661 from leecommamichael/core-image-tga
[core:image/tga] implement Option.do_not_expand_grayscale
2026-01-24 11:40:54 +01:00
Jeroen van Rijn
533079fc1a Fix #6123 2026-01-24 11:13:50 +01:00
Jeroen van Rijn
8e390921c3 Merge pull request #6162 from Kelimion/fix-6126
Fix #6126
2026-01-24 11:02:01 +01:00
Jeroen van Rijn
e0ff16f98c Fix #6126
`ExactValue_Compound` wasn't handled properly.
2026-01-24 10:53:38 +01:00
Barinzaya
5e4895e76d Fixed some issues with in and not_in on constant bit_sets.
This addresses two issues:
- With a `bit_set` having no underlying type and a non-zero lower bound,
  `in` and `not_in` were returning incorrect results when done at
  compile-time.
- With a `bit_set` of more than 128 bits, `in` always returns false on
  values that fall within the upper 64 bits.
2026-01-23 16:19:46 -05:00
Jeroen van Rijn
7e39669fd1 Merge pull request #6157 from cj1128/fix-string16
Fix string16 bugs in Mac and Linux
2026-01-23 18:47:06 +01:00
Laytan Laats
d108b50c89 add new CoreGraphics to examples for doc gen 2026-01-23 17:47:20 +01:00
Tohei Ichikawa
85e2e3244b Create new core:sys/darwin/CoreGraphics package (#6147)
* Add Darwin mouse cursor-related bindings

Create CoreGraphics package in the process

* Remove unneeded semicolons

* Define some CG types in CoreFoundation instead

This matches where Darwin's C header files defines these types
2026-01-23 17:45:24 +01:00
CJ
55f3a45322 Update run.bat and run.sh 2026-01-24 01:30:15 +09:00
CJ
89f6f535db Fix string16 bugs in Mac and Linux 2026-01-24 01:26:36 +09:00
gingerBill
ddc2559813 Merge pull request #6154 from laytan/move-vendor-libc
move vendor:libc to vendor:libc-shim
2026-01-23 13:18:14 +00:00
gingerBill
590f3f4137 Merge pull request #6155 from nowhereware/sdl3_fix
Implement missing device properties function
2026-01-23 13:17:55 +00:00
nowheredevel
da9b1dfcc6 Implement missing device properties function 2026-01-22 22:46:08 -05:00
Laytan Laats
5f974059f4 move vendor:libc to vendor:libc-shim 2026-01-22 21:36:53 +01:00
Jeroen van Rijn
ce71227b6b Fix #6130 2026-01-22 15:20:39 +01:00
gingerBill
5072d5c776 Add warning in code generation stage which might cause a possible code gen issue, when non-constant initialization is large 2026-01-22 13:54:53 +00:00
gingerBill
78ed2560d3 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-01-22 13:18:25 +00:00
gingerBill
dc6067a8a9 Unify "mem*.inline" logic to only inline for <=8 bytes on all platforms 2026-01-22 13:18:22 +00:00