Commit Graph

5966 Commits

Author SHA1 Message Date
miere43
29019d7138 Fix duplicate code emission in type assertions. 2025-12-03 21:27:38 +03:00
Jeroen van Rijn
7e9ceaa281 Fix #5982
Add escape analysis check for #load directive to fix #5982.
2025-12-01 22:16:37 +01:00
Jeroen van Rijn
ac61f083fa Restore help line for all-bits 2025-12-01 14:15:56 +01:00
gingerBill
0f0c40b96d Fix -integer-division-by-zero modes and document all-bits 2025-12-01 13:11:32 +00:00
Jeroen van Rijn
e72aad983b Remove all-bits from option help text, isn't supported. 2025-11-30 22:37:35 +01:00
Laytan Laats
679d306d0f panic on transpose with result type in diff layout
Partially reverts 4db4841, it should behave the same as cast (which does
an implicit transpose).
2025-11-29 20:06:43 +01:00
laytan
4db4841413 fix matrix transpose with different result type
Fixes #5623
2025-11-29 12:14:06 +01:00
Franz
ba9b9eacb5 Fix #5967 (Incorrect stack overflow warning for by ref switches over unions) 2025-11-28 13:55:07 +01:00
gingerBill
f48e87d77d Merge pull request #5930 from odin-lang/bill/os2-file-stream
`os2.File_Stream`
2025-11-26 15:04:55 +00:00
A1029384756
411a5b6401 moved checking of -vet-unused-procedures and -vet-packages flags to
after all flags are parsed
2025-11-22 23:08:23 -05:00
gingerBill
21116a7b47 Use SIP hash as name canonicalization hash
Replaces fnv64a
2025-11-18 12:33:48 +00:00
gingerBill
d380b0877d Add intrinsics.type_is_superset_of 2025-11-17 10:03:05 +00:00
Laytan
eb089a1c98 skip collision panic when package names aren't unique 2025-11-16 15:06:30 +01:00
gingerBill
33341c47a1 Merge pull request #5908 from slowhei/master
Fix allocation of anonymous globals
2025-11-11 21:08:11 +00:00
korvahkh
f454bbd73c Fix #5894 2025-11-10 07:54:42 -06:00
Tohei Ichikawa
d6b5a3139a Fix allocation of anonymous globals 2025-11-09 21:07:28 -05:00
Harold Brenes
3a07a32411 Don't check procedure signature similarity when a foreign import proc is an Objective-C method. 2025-11-07 21:38:34 -05:00
gingerBill
4ce01854d5 Improve error positioning for #all_or_none 2025-11-06 09:37:16 +00:00
gingerBill
fc2cb8fb39 Remove #no_copy 2025-11-05 13:44:14 +00:00
gingerBill
c937d38db2 Improve doc-writer format for #all_or_none 2025-11-05 13:42:19 +00:00
gingerBill
c5556aa2e0 Update doc-writer 2025-11-05 13:32:32 +00:00
gingerBill
593d2e6daa Add #all_or_none 2025-11-05 13:30:40 +00:00
gingerBill
ea5db0e048 Fix type name name canonicalization within an anonymously nested procedure in a struct. 2025-11-05 10:06:40 +00:00
gingerBill
12d8572d43 Merge pull request #5886 from laytan/32bit-typeid-fixes
fixes for 32bit with regards to typeid
2025-11-04 20:56:49 +00:00
Laytan Laats
3ef0636324 unsigned 2025-11-04 21:49:22 +01:00
Laytan
c4d1cd6ee5 fixes for 32bit with regards to typeid 2025-11-04 21:37:29 +01:00
gingerBill
e5153a937b Merge pull request #5859 from odin-lang/bill/change-license
Change Odin's LICENSE to zlib from BSD 3-clause
2025-11-04 13:53:13 +00:00
gingerBill
3731cf4e08 Fix #5176 2025-11-04 10:42:24 +00:00
Jeroen van Rijn
8a417e75b7 Add nullptr assert for #5875 2025-11-03 15:27:07 +01:00
gingerBill
d8f26720bb Improve error handling for #5506 2025-11-02 15:27:33 +00:00
gingerBill
2d5b431b85 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-11-02 15:21:23 +00:00
gingerBill
ee36f6fe33 Fix #5506 2025-11-02 15:21:12 +00:00
Jeroen van Rijn
b6181a768e Add space 2025-11-02 13:28:34 +01:00
Jeroen van Rijn
283b160697 Merge branch 'master' into bug-5865 2025-11-02 13:22:06 +01:00
gingerBill
7f2ab31acc Fix constant nil assignment to union of nillable types in backend 2025-11-02 12:04:21 +00:00
Jeroen van Rijn
505b85ead5 Add #subtype using to name canonicalization 2025-11-02 07:45:40 +01:00
gingerBill
f5d080789f Fix union(T){} constant initialization 2025-10-31 09:13:10 +00:00
Jeroen van Rijn
338733d9ef Remove duplicate import 2025-10-30 17:54:02 +01:00
gingerBill
816c47058d For test runner, try to look for os.exit or os2.exit 2025-10-30 16:14:32 +00:00
gingerBill
074a8d7df5 constant_truncate -> constant_trunc to be consistent with other intrinsics 2025-10-30 09:37:09 +00:00
gingerBill
0972690e14 Add suggestion for T[] to be []T if a type is allowed in that parsing context 2025-10-30 09:16:19 +00:00
gingerBill
99520d82fd Add intrinsics.constant_(floor|truncate|ceil|round) 2025-10-30 08:52:21 +00:00
gingerBill
13ddf66cc9 Fix declaration of type_is_bit_field 2025-10-30 08:39:22 +00:00
gingerBill
36d63b14b5 Just retry again with lb_generate_missing_procedures 2025-10-29 17:46:00 +01:00
Jeroen van Rijn
b58bb6519e Merge pull request #5860 from harold-b/hb.fix-export-link-libs-file
Fix `-export-linked-libs-file` issue where it multiple libraries in a single foreign export.
2025-10-29 09:41:02 +01:00
Harold Brenes
e05c21522d Fix -export-linked-libs-file issue where it multiple libraries in a single foreign export. 2025-10-28 20:21:24 -04:00
gingerBill
842cfee0f3 Change Odin's LICENSE to zlib from BSD 3-clause
This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
2025-10-28 14:38:25 +00:00
Jeroen van Rijn
788ef8ee0a Merge branch 'master' of github.com:odin-lang/Odin 2025-10-27 16:24:04 +01:00
Jeroen van Rijn
f726f7aff4 Make Karl Zylinski happy 2025-10-27 16:23:54 +01:00
gingerBill
78c3a3301c Change static_assert for OrderedInsertPtrMapEntry 2025-10-27 14:04:51 +00:00