Alex Riedl
277c6cac71
Fix some webgl bindings
2025-08-09 10:47:07 -05:00
gingerBill
786d454443
Merge pull request #5559 from Creativty/variable_dereference_suggestion
...
Improve dereference missing suggestion message
2025-08-08 15:34:45 +01:00
xenobas
443dd566e3
Add a better suggestion for cases that don't need ^ operator
2025-08-08 14:40:43 +01:00
gingerBill
b8ad150767
Merge pull request #5555 from flysand7/runtime-doc-update
...
Update runtime doc file
2025-08-08 11:16:54 +01:00
Sunagatov Denis
e6635e2508
Update runtime doc file
...
This updates and reformats the doc file for the runtime package. The
list of things that need to be implemented for a compiler runtime to
work has been updated in accordance with recent changes to runtime
(notably `cstring16` and `string16` types and `#load_directory`). Some
copy-paste errors around string-comparison procedures have been fixed.
The file has been renamed to `doc.odin` as per convention, the comment
has been moved to the top of the package declaration and the comment is
now markdown-formatted.
Also wrote down a little map to maybe slightly help with understanding
navigation within package runtime's files and added a few more
explanations as to why that list of declarations exists and how to use
it.
The list of declarations has been detailed to some degree, explaining
under what conditions the declarations are required.
2025-08-08 15:34:30 +11:00
Jeroen van Rijn
3194fda8f3
Merge pull request #5554 from flysand7/ice-fix
...
Print the name of missing runtime procedure
2025-08-07 20:07:55 +02:00
Sunagatov Denis
c22da490b9
Print the name of missing runtime procedure
...
This continues the fix made at 46b7abee9f ,
by asserting on missing entity early and printing it's name if its not
found.
2025-08-08 04:56:59 +11:00
gingerBill
2e4837bf37
Merge branch 'master' of https://github.com/odin-lang/Odin
2025-08-07 17:54:25 +01:00
gingerBill
b6944b8acb
Fix instantiation of package for parapoly records
2025-08-07 17:54:17 +01:00
Jeroen van Rijn
d612f6ec07
Merge pull request #5553 from flysand7/ice-fix
...
Fix ICE on missing procedure in base:runtime
2025-08-07 18:44:09 +02:00
Sunagatov Denis
46b7abee9f
Fix ICE on missing procedure in base:runtime
...
When a required built-in procedure is missing from the base:runtime
package, an assert should be triggered. However this does not happen
and instead the compiler crashes silently. The cause is the
null-dereference after scope_lookup_current returns nullptr.
This adds an assertion that the runtime procedure is found, before
proceeding to check it's type and performing further lookups.
2025-08-08 03:30:15 +11:00
gingerBill
e16f90f958
Merge pull request #5549 from slowhei/master
...
Fix Incorrect/Missing Metal Mesh Shading Bindings
2025-08-07 16:09:42 +01:00
gingerBill
a0e9a98d61
Merge pull request #5547 from harold-b/hb.objc_block_intrinsic
...
Implements the Apple block ABI.2010.3.16 natively via `objc_block` intrinsic
2025-08-07 16:08:38 +01:00
gingerBill
098d8cae9b
Merge pull request #5551 from connnnal/d3d-strings
...
Alias [^]u16 to Windows LPCWSTR
2025-08-07 13:22:40 +01:00
connnnal
3a1171e25f
Alias [^]u16 to Windows LPCWSTR
2025-08-07 13:15:12 +01:00
gingerBill
1470c300c7
Add support for [dynamic]T in .raddbg
2025-08-07 12:45:59 +01:00
gingerBill
d6bd1f144f
Merge branch 'master' of https://github.com/odin-lang/Odin
2025-08-07 12:38:57 +01:00
gingerBill
3de300d2f9
Fix typo
2025-08-07 12:38:15 +01:00
gingerBill
34b4b84b64
Add intrinsics.type_canonical_name
2025-08-07 12:34:41 +01:00
Tohei Ichikawa
5a998d44d4
Add bindings for vertexLinkedFunctions
2025-08-07 00:25:36 -04:00
Tohei Ichikawa
a492fa7bc2
Fix Metal mesh shading bindings
2025-08-06 23:56:36 -04:00
Harold Brenes
9d8e15b3af
Implementes the block ABI.2010.3.16 natively via the objc_block intrinsic and the Objc_Block builtin type.
...
See: https://clang.llvm.org/docs/Block-ABI-Apple.html
2025-08-06 20:27:31 -04:00
gingerBill
09a1e170bc
Merge pull request #5530 from odin-lang/bill/utf16-strings
...
UTF-16 string types: `string16` & `cstring16`
2025-08-06 16:09:18 +01:00
Laytan Laats
ec75094303
remove windows binaries from non-windows releases
2025-08-05 21:31:06 +02:00
Laytan
e0a08de455
Merge pull request #5537 from A1029384756/master
...
[ci:nightly] added linux arm build
2025-08-05 20:36:11 +02:00
gingerBill
af3184adc9
Change is_utf16 field to encoding and use an enum
2025-08-05 15:12:54 +01:00
gingerBill
eae43f1225
Merge branch 'master' into bill/utf16-strings
2025-08-05 15:07:06 +01:00
gingerBill
accdd7c2af
Fix atomics for tuples
dev-2025-08
2025-08-05 12:31:57 +01:00
gingerBill
a675784999
Merge branch 'master' of https://github.com/odin-lang/Odin
2025-08-05 12:28:24 +01:00
gingerBill
7f194080e6
Fix possible race condition with struct offsets
2025-08-05 12:28:18 +01:00
Laytan
b022c020f3
Merge pull request #5540 from jared-cone/fix-windows-delete-after-free
...
Fixed delete-after-free in file_windows.odin
2025-08-05 07:10:23 +02:00
Laytan
8e354a2afd
Merge pull request #5539 from Jack-Punter/fix-spall-scoped-event-with-autotracing
...
Adds @(no_instrumentation) to spall buffer and SCOPED operations
2025-08-05 07:10:12 +02:00
Jared Cone
b1cda52fd6
Fixed delete-after-free in file_windows.odin
2025-08-04 19:42:23 -07:00
Jack Punter
45e4ce5d44
Adds @(no_instrumentation) to spall buffer and SCOPED operations
...
Currently without this scoped event names are not displaying correctly when auto-tracing is enabled.
The buffer_destroy event, obviously, fails to be completed (as theres no buffer to write the end event to, and context_destroy should happen after all the buffers are destroyed so there's, again, no buffers to write to.
2025-08-04 23:15:16 +01:00
gingerBill
c910b5e583
Add intrinsics.type_is_nearly_simple_compare
2025-08-04 12:13:30 +01:00
A1029384756
70818030f6
[nightly] added linux arm build
...
[nightly] docker container for linux arm
[nightly] removed setup-alpine for arm
[nightly] docker container for all linux + linux arm dep for upload
[nightly] x86 remove arm reference
[nightly] final fixes
2025-08-04 00:45:00 -04:00
gingerBill
4fac64afd4
Merge pull request #5531 from laytan/thread-stack-size-rlimit
...
thread: set stack size to rlimit
2025-08-02 14:58:33 +01:00
Laytan Laats
25389ed086
thread: set stack size to rlimit
2025-08-02 15:22:23 +02:00
gingerBill
f8d24923fd
Fix cstring != ""
2025-08-02 13:23:20 +01:00
gingerBill
86bd9186f9
Fix string16 != "" comparison
2025-08-02 13:17:31 +01:00
gingerBill
dca9bf0b0c
Fix string16 literal length set in LLVM
2025-08-02 13:11:34 +01:00
gingerBill
e049dde582
Fix tests for UTF-16 strings
2025-08-02 13:01:58 +01:00
gingerBill
5aec40e3e0
Remove unneeded uses of intrinsics.constant_utf16_cstring
2025-08-02 12:55:05 +01:00
gingerBill
7c281a9614
Fix [^]u16 <-> cstring16 conversions
2025-08-02 12:51:08 +01:00
gingerBill
c631a8eff5
os2 internals -> (c)string16
2025-08-02 12:47:03 +01:00
gingerBill
9b5700225d
Add string16_map.cpp
2025-08-02 12:33:33 +01:00
gingerBill
620bf162a0
Cache const string16 in LLVM
2025-08-02 12:32:18 +01:00
gingerBill
bb4bc316a4
for in string16; Support string16 across core
2025-08-02 12:20:35 +01:00
gingerBill
ae02d3d02d
Begin supporting string16 across the core library
2025-08-02 11:55:16 +01:00
gingerBill
2561427dd3
Add string16 and cstring16 (UTF-16 based strings)
2025-08-02 11:00:15 +01:00