Commit Graph

16993 Commits

Author SHA1 Message Date
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
Colin Davidson
3e10684630 adjust scale with new format, fix segfault for auto-trace 2025-07-30 14:09:50 -07:00
Colin Davidson
7720a32120 Merge remote-tracking branch 'live/master' into spall_v3 2025-07-30 12:51:56 -07:00
Mecso2
e54bf24746 fix amd64 no-crt entry assembly 2025-07-30 12:44:53 +02:00
Laytan
939fed592d Merge pull request #5517 from colrdavidson/freq_hotfix
fix x86 osx build
2025-07-30 06:22:25 +02:00
cardboardguru76
44f039a92f Merge branch 'odin-lang:master' into darwin-foundation-support-for-handmade-hero-port 2025-07-30 00:28:31 +01:00
Colin Davidson
b5a8a3cf94 require to reduce files for a one line function 2025-07-29 13:58:30 -07:00
Colin Davidson
42f2891f35 attempt to fix x86 osx build 2025-07-29 13:54:56 -07:00
Colin Davidson
e869b9351b Merge remote-tracking branch 'live/master' into spall_v3 2025-07-29 13:48:32 -07:00
Laytan
861fa4ab68 Merge pull request #4140 from colrdavidson/macharena
Mach Process control
2025-07-29 22:37:42 +02:00
Colin Davidson
35a95fc3e4 workaround to avoid excessive file-splitting 2025-07-29 13:28:04 -07:00
Colin Davidson
517e392abe if -> when 2025-07-29 13:18:40 -07:00
Colin Davidson
4d9fdf5bd3 move to checker error, rather than panic 2025-07-29 13:09:05 -07:00
Steve Waddicor
9c5e577792 Additional obj-c methods for darwin Foundation
Added support for NSBitmapImageRep class.
Added ability to set contents to a CALayer.
I needed these to support a port of Handmade Hero, but they are of general use.
2025-07-29 21:01:22 +01:00
Colin Davidson
9a2e6fff48 switch to read_cycle_counter_frequency from arm64_read_cycle_counter_freq, trap on invalid arch 2025-07-29 12:21:46 -07:00
Colin Davidson
c1b3d035e4 remove spawn from os, comment sys/posix/spawn 2025-07-29 12:12:15 -07:00
Colin Davidson
0a102bd757 shuffle to Kern_Return 2025-07-29 11:52:58 -07:00
Colin Davidson
fe2b48dec4 enum pass 2025-07-29 11:48:58 -07:00
Laytan
435f7f6503 Merge pull request #5515 from laytan/ignored-arg-multi-return
fix ignored args in multi return handling
2025-07-29 19:16:32 +02:00
Laytan
e8a591386b Merge pull request #5514 from laytan/saner-default-stack-linker-flags
saner stack linker flags for WASM
2025-07-29 19:16:19 +02:00
Laytan
af0b90bd3e fix flag 2025-07-29 19:07:28 +02:00
Laytan
c966e63520 fix ignored args in multi return handling
Fixes #5483
2025-07-29 19:04:49 +02:00
Laytan
e7670e58dd saner stack linker flags for WASM
Supersedes #5425
2025-07-29 18:50:27 +02:00
Taylor
6c2b72f701 fix: align the enum values 2025-07-30 00:17:40 +09:00
Colin Davidson
b5629aeed9 copy-paste typo fix 2025-07-28 16:34:53 -07:00
Colin Davidson
1a9b128bfc update linux-arm to use the asm intrin for freq 2025-07-28 16:32:10 -07:00
Colin Davidson
e1fd69f573 oops, one more manual_header 2025-07-28 16:27:54 -07:00
Colin Davidson
7986d85924 name_container_event -> name_event 2025-07-28 16:25:42 -07:00
Colin Davidson
2dd1e3c8e3 fix casts and consts 2025-07-28 16:24:29 -07:00
Colin Davidson
5b020591d8 update to spall format v3 2025-07-28 16:19:51 -07:00
Colin Davidson
76b00c046b arm64 has an invariant tsc too 2025-07-28 15:30:24 -07:00
Colin Davidson
1848e0df05 use the correct frequency for the arm tsc timer 2025-07-28 15:10:42 -07:00
Colin Davidson
b88f9194d0 Merge remote-tracking branch 'live/master' into macharena 2025-07-28 14:24:46 -07:00
Taylor
1b15c9928b add cgltf filter type and wrap mode enums 2025-07-28 23:28:19 +09:00
gingerBill
be3006dbf2 Merge pull request #5507 from Paul-Andre/fix-issue-5474
Fix issue 5474
2025-07-28 11:42:09 +01:00
Paul-Andre Henegar
93a39affd1 Fix issue 5474
The fix was adding `is_constant = false;`

I also removed the unnecessary check regarding the first element of the
BitSet, since it's checked inside the loop, and also fixed a typo in the
message.
2025-07-28 01:42:19 -04:00
robomage
55de1dd923 SDL2 - audio allow change bit_set
sdl.OpenAudioDevice was incorrectly using a bool instead of a c.int for it's last parameter. To make the proc call more idiomatic and inline with other bindings a new bit_set was introduced to be used in place of the constants
2025-07-27 17:39:42 -04:00
Jeroen van Rijn
a93d3503b1 Merge pull request #5499 from Kelimion/fix-5498
Fix #5498
2025-07-25 12:09:34 +02:00
Jeroen van Rijn
3a7e4873cd Fix #5498
Also:
- Expands `tests/core/hash`
- Fixes bug found in `#hash(s, "murmur64")`
2025-07-25 12:00:24 +02:00
Jeroen van Rijn
315cd51f76 Merge pull request #5491 from Feoramund/buddy-2
Fix Linux-specific optimized test failure
2025-07-22 17:01:13 +02:00
Feoramund
a0efdf26a6 mem: Clarify Buddy_Allocator requirements 2025-07-22 10:52:55 -04:00
Feoramund
58f32cd690 Fix Linux-specific optimized test failure
The stack was not aligned as expected for `buddy_allocator_init` when
`-o:speed` was enabled, making this a test failure that only appeared
with optimizations enabled.

The data is now aligned specifically, as it should be.
2025-07-22 10:40:16 -04:00
gingerBill
19a075211f Merge pull request #5442 from jon-lipstate/table_lookup
table lookup simd intrinsic
2025-07-22 11:14:54 +01:00
gingerBill
513e6daace Merge pull request #5081 from Lperlind/vet-explicit-allocators
Add -vet-explicit-allocators
2025-07-22 11:06:12 +01:00
gingerBill
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
Harold Brenes
7c917d56e9 Check for invalid subtargets.
- Add 'ios' pseudo-subtarget which triggets with either iPhone or iPhoneSimulator subtargets.

- Treat an explicit 'default' subtarget as exclusive only to the default subtarget, not an other platform-compatible subtargets.

- 'generic' continues to resolve to true for any platform-compatible subtarget as it names appears to imply such behavior.
2025-07-20 14:35:06 -04: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
gingerBill
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