Commit Graph
100 Commits
Author SHA1 Message Date
gingerBillandGitHub 977e971c8b Merge pull request #5581 from Xotchkass/rand-cleanup
Cleanup in `math/rand` and `runtime/random_generator`
2025-08-15 12:12:17 +01:00
gingerBillandGitHub 7577bfc28b Merge pull request #5582 from diniamo/fix-itimer-flags
Fix ITimer_Flags_Bits enum value
2025-08-15 12:11:28 +01:00
gingerBillandGitHub aff96e7d3f Merge pull request #5583 from slowhei/master
Fix Typo in `Device_newBufferWithSliceNoCopy`
2025-08-14 15:46:22 +01:00
gingerBillandGitHub 71e992d5bf Merge pull request #5579 from wrathdoesthat/master
Added getaddrinfo flags
2025-08-13 17:17:39 +01:00
gingerBill 2648bd8fcd Allow #+feature global-context for @(init) and @(fini) procedures as an interim measure 2025-08-12 09:51:16 +01:00
gingerBill 8df69c95c3 Add -integer-division-by-zero:all-bits 2025-08-10 18:29:08 +01:00
gingerBill b6e0b48481 Rename block names from div to mod. 2025-08-10 17:58:46 +01:00
gingerBill 4cbcb3ace7 Add shortcut for unsigned_x/power_of_two -> unsigned_x >> log2(power_of_two) 2025-08-10 17:53:07 +01:00
gingerBill da76c743e9 Add shortcut for division by a constant 2025-08-10 17:42:49 +01:00
gingerBill ecb6b35da5 Fix name canonicalization for named specialized forms 2025-08-10 15:29:53 +01:00
gingerBill 983f3ec423 Add #+feature global-context
This allows to use of `context` in the global scope on a per file basis.
2025-08-10 15:03:30 +01:00
gingerBillandGitHub 1524b40bc9 Merge pull request #5556 from odin-lang/bill/division-by-zero
Define Integer Division By Zero
2025-08-10 14:48:33 +01:00
gingerBillandGitHub a0ff05e633 Merge pull request #5558 from odin-lang/bill/init-fini-changes
`@(init)` & `@(finit)` Changes.
2025-08-10 12:47:15 +01:00
gingerBillandGitHub dbc338248e Merge pull request #5567 from alexriedl/webgl-binding-fixes
Webgl binding fixes
2025-08-10 12:44:36 +01:00
gingerBill 14ca1c8c89 Add another contextless 2025-08-08 15:41:44 +01:00
gingerBillandGitHub 786d454443 Merge pull request #5559 from Creativty/variable_dereference_suggestion
Improve dereference missing suggestion message
2025-08-08 15:34:45 +01:00
gingerBill 0f5ced52a0 Assign context in scope 2025-08-08 13:42:48 +01:00
gingerBill 804984ed35 contextless fixes for js 2025-08-08 13:29:49 +01:00
gingerBill 7c93a5ae80 Add missing contextless 2025-08-08 13:16:20 +01:00
gingerBill 8ff15eaf69 More contextless fixes 2025-08-08 13:02:37 +01:00
gingerBill aa747a1c10 Add more "contextless" 2025-08-08 12:55:23 +01:00
gingerBill a0462aa8d7 Fix test for global procedure initialization 2025-08-08 12:49:24 +01:00
gingerBill 78290ceef3 Add contextless to another proc 2025-08-08 12:38:20 +01:00
0c7260e701 Update src/main.cpp
Co-authored-by: Itzik Shneorson <35134559+itziksn@users.noreply.github.com>
2025-08-08 12:37:36 +01:00
gingerBill 414b1059a8 Fix typo 2025-08-08 12:36:56 +01:00
gingerBill d381d0ece4 Fix more procedure to be contextless 2025-08-08 12:33:34 +01:00
gingerBill d3f649d244 Make get_args contextless 2025-08-08 12:25:58 +01:00
gingerBill 06e48099ca Improve error message 2025-08-08 12:23:22 +01:00
gingerBill b86932c03c Disallow proc "odin" procedures to be called in the global scope in variable declarations 2025-08-08 12:21:50 +01:00
gingerBill 8b860da2eb Remove unused import 2025-08-08 12:12:08 +01:00
gingerBill 7642e0a0e0 Require @(init) and @(fini) to be proc "contextless" () 2025-08-08 12:10:01 +01:00
gingerBillandGitHub b8ad150767 Merge pull request #5555 from flysand7/runtime-doc-update
Update runtime doc file
2025-08-08 11:16:54 +01:00
gingerBill 8c1eda3e3a Handle fixed_point_div and fixed_point_div_sat 2025-08-08 11:10:01 +01:00
gingerBill 7b5cee9f1e Correct #+feature check 2025-08-08 10:50:24 +01:00
gingerBill ee01643229 Add -integer-division-by-zero:self 2025-08-08 10:41:05 +01:00
gingerBill 991883d0e1 Add #+feature integer-division-by-zero:<string> 2025-08-08 10:24:44 +01:00
gingerBill e4a0228a80 Define the behaviour of integer division by zero 2025-08-08 10:00:11 +01: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
gingerBillandGitHub e16f90f958 Merge pull request #5549 from slowhei/master
Fix Incorrect/Missing Metal Mesh Shading Bindings
2025-08-07 16:09:42 +01:00
gingerBillandGitHub 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
gingerBillandGitHub 098d8cae9b Merge pull request #5551 from connnnal/d3d-strings
Alias [^]u16 to Windows LPCWSTR
2025-08-07 13:22:40 +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
gingerBillandGitHub 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
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 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
gingerBill c910b5e583 Add intrinsics.type_is_nearly_simple_compare 2025-08-04 12:13:30 +01:00
gingerBillandGitHub 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
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
gingerBillandGitHub 3eb9c5fa65 Merge pull request #5525 from Barinzaya/xxh3-simd
`core:hash/xxhash`: Static SIMD Support for XXH3
2025-08-01 16:22:29 +01:00
gingerBillandGitHub ab866653a8 Merge pull request #5526 from laytan/fixes-for-vector-abi
amd64 abi fixes regarding vectors
2025-08-01 16:21:44 +01:00
gingerBillandGitHub 077ba0b6cb Merge pull request #5513 from colrdavidson/spall_v3
update to spall format v3
2025-07-31 12:37:09 +01:00
gingerBill 9b8223dd69 Remove use of .no_copy 2025-07-30 23:19:14 +01:00
gingerBill 6a10cfdc30 Fix typo 2025-07-30 23:15:14 +01:00
gingerBill a2e7a62a26 Add virtual.new_clone 2025-07-30 23:14:53 +01:00
gingerBill 7057fc8dfc Remove the semantics of #no_copy, keep the grammar 2025-07-30 23:14:29 +01:00
gingerBill aa6a749804 Improve atomic logic for sync.Wait_Group 2025-07-30 23:11:18 +01:00
gingerBillandGitHub be3006dbf2 Merge pull request #5507 from Paul-Andre/fix-issue-5474
Fix issue 5474
2025-07-28 11:42:09 +01:00
gingerBillandGitHub 19a075211f Merge pull request #5442 from jon-lipstate/table_lookup
table lookup simd intrinsic
2025-07-22 11:14:54 +01:00
gingerBillandGitHub 513e6daace Merge pull request #5081 from Lperlind/vet-explicit-allocators
Add -vet-explicit-allocators
2025-07-22 11:06:12 +01:00
gingerBillandGitHub e2b75d2add Merge pull request #5473 from harold-b/hb.subtarget-enhancements
Check for invalid subtargets and add "ios" pseudo subtarget
2025-07-22 11:01:50 +01:00
gingerBill b095dd71cb Merge branch 'master' of https://github.com/odin-lang/Odin 2025-07-20 15:32:28 +01:00
gingerBill 0dd0a3813b Fix very subtle bug in virtual.memory_block_alloc 2025-07-20 15:32:22 +01:00
gingerBillandGitHub 98c2425fe0 Merge pull request #5467 from harold-b/hb.ios-subtarget-rename-iphone
Rename `iOS` subtarget to `iPhone`, add `ODIN_PLATFORM_SUBTARGET_IOS`
2025-07-20 13:22:47 +01:00
gingerBillandGitHub a19e7845b1 Merge pull request #5472 from harold-b/hb.auto_objc_name
Allow objective-c procedures to have their `@objc_name` attribute inferred
2025-07-17 21:01:28 +01:00
gingerBillandGitHub 28053a0ff0 Merge pull request #5475 from connnnal/iunknown-uuid
Add IUnknown UUID
2025-07-17 11:59:42 +01:00
gingerBillandGitHub 1ef0f1be6b Merge pull request #5476 from jon-lipstate/card_hint
add did you mean for card/len
2025-07-17 11:36:53 +01:00
gingerBill e8b2f1eeaa Fix indentation 2025-07-16 15:25:05 +01:00
gingerBill e5baf483fd Update vendor:kb_text_shape to v1.03 2025-07-16 15:14:41 +01:00
gingerBillandGitHub e21892ce89 Merge pull request #5471 from harold-b/hb.fix_objc_class_method_impl
Fix @objc_implement methods not respecting @objc_is_class_method
2025-07-16 11:38:02 +01:00
gingerBillandGitHub 02e5dc9948 Merge pull request #5465 from harold-b/hb.ios-min-version-linker-fix
Provide default minimum version for iOS and apply its target triplet.
2025-07-14 18:11:28 +01:00
gingerBillandGitHub 362c146f9d Merge pull request #5462 from harold-b/hb.ios-support-2025
Add iOS & iPhoneSimulator subtargets for Darwin target
2025-07-14 16:50:57 +01:00
gingerBillandGitHub 924d29208d Merge pull request #5460 from harold-b/hb.objc_ivars-indent-fix
Fix leftover poor indentation for objc_ivars MPSCQueue
2025-07-14 11:44:37 +01:00
gingerBillandGitHub 843c39189e Merge pull request #5455 from FourteenBrush/master
Add `type_enum_is_contiguous` intrinsic (Closes #5395)
2025-07-12 23:19:33 +01:00
gingerBill 38faec757d Correct consume comment groups in both parsers 2025-07-11 18:41:40 +01:00
gingerBillandGitHub d2e02f0434 Merge pull request #5424 from jdennis9/master
Fix incorrect type for FONTENUMPROCW in Windows API
2025-07-01 08:34:46 +01:00
gingerBillandGitHub be3f8e3c9d Merge pull request #5397 from Feoramund/fix-4865
raylib: Refer to Odin-style enum over original C enum
2025-06-23 15:47:37 +01:00
gingerBillandGitHub 8d37f9de09 Merge pull request #5378 from laytan/fix-wasm-c-abi-raw-unions
Fix WASM C ABI for raw unions
2025-06-21 11:01:52 +01:00
gingerBillandGitHub d25cd01b42 Merge pull request #5371 from odin-lang/bill/vendor/kb-text-shape
`vendor/kb_text_shape`
2025-06-20 10:17:02 +01:00
gingerBillandGitHub 4b99498e17 Merge pull request #5370 from Valakor/master
Update vendor:sdl3 from 3.2.10 to 3.2.16, and vendor:sdl3/image from 3.2.0 to 3.2.4
2025-06-20 10:12:18 +01:00
gingerBillandGitHub 2a292b588a Merge pull request #5305 from Feoramund/fix-4362
Guard against invalid proc types in parameter list
2025-06-10 17:15:13 +01:00
gingerBillandGitHub 87247b8bb7 Merge pull request #5286 from Feoramund/no-san-mem
Add `@(no_sanitize_memory)` with additions to `base:sanitizer`
2025-06-09 12:46:22 +01:00
gingerBillandGitHub 8923e28b2a Merge pull request #5267 from Feoramund/rewrite-atomic-rw-mutex
Rewrite `Atomic_RW_Mutex`
2025-06-03 15:32:36 +01:00