Commit Graph

14623 Commits

Author SHA1 Message Date
Feoramund
eb051a2d7c Re-enable static map calls on AMD64 SysV 2025-05-18 17:13:39 -04:00
gingerBill
dd31075c33 Merge pull request #5171 from laytan/fix-global-and-static-any
fix global and static any
2025-05-18 16:59:34 +01:00
gingerBill
6a8c46bb36 Merge pull request #5175 from Feoramund/use-sysroot-on-darwin
Use `--sysroot` instead of `-Wl,-syslibroot` on Darwin
2025-05-18 16:58:59 +01:00
Laytan
d3221425a7 Merge pull request #5172 from krnowak/krnowak/sys-linux-dirent-docs
sys/linux: Improve documentation for Dirent and related procedures
2025-05-18 17:47:41 +02:00
Feoramund
591118c688 Use --sysroot instead of -Wl,-syslibroot on Darwin
This keeps the linker from using the wrong SDK and mirrors how we build
the Odin compiler itself in `build_odin.sh`.
2025-05-18 11:11:02 -04:00
Krzesimir Nowak
3519cecb7c Formatting fixes 2025-05-18 15:25:17 +02:00
Jeroen van Rijn
558eca8c7a Merge branch 'master' of github.com:odin-lang/Odin 2025-05-18 15:08:21 +02:00
Jeroen van Rijn
1b13152286 Change XAudio2 DLL search flags to DEFAULT_DIRS 2025-05-18 15:08:10 +02:00
gingerBill
3e5110bb46 Minor style changes for sdl3 and sdl3/ttf 2025-05-18 11:20:55 +01:00
Krzesimir Nowak
306d3a16c4 sys/linux: Improve documentation for Dirent and related procedures 2025-05-17 20:05:51 +02:00
Laytan Laats
c35a45e823 fix global and static any
Fixes #4627
2025-05-17 16:49:30 +02:00
Jeroen van Rijn
d6210ae76f Fix -vet complaints in core:sys/darwin/Foundation 2025-05-17 16:36:10 +02:00
Jeroen van Rijn
7c80df4830 @(init), @(fini) and @(export) procedures are classified as used.
For the purposes of `-vet-unused-procedures`, exported procedures and `@(init)` and `@(fini)` are now disregarded.
2025-05-17 16:22:47 +02:00
gingerBill
de4ed9a787 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-05-17 13:28:03 +01:00
gingerBill
5454e120fe Add NSMenuItem.odin 2025-05-17 13:27:54 +01:00
gingerBill
8337b7cccb Merge pull request #5162 from 0xrsp/tounsigned
new compiler intrinsics type_integer_to_unsigned, type_integer_to_unsigned
2025-05-17 11:51:57 +01:00
gingerBill
b5a8822296 Merge pull request #5170 from laytan/miniaudio-0.11.22
vendor/miniaudio: update to 0.11.22
2025-05-17 11:50:51 +01:00
gingerBill
63304af47e Merge branch 'master' of https://github.com/odin-lang/Odin 2025-05-17 11:36:30 +01:00
gingerBill
d77124feae Add Objective-C helper for creating subclasses 2025-05-17 11:36:24 +01:00
Laytan
326454f0f0 generate xlib package docs on linux 2025-05-16 22:14:26 +02:00
Laytan
53a9ecb577 vendor/miniaudio: update to 0.11.22 2025-05-16 15:58:27 +02:00
Laytan
d3159f74cd Merge pull request #4944 from dozn/master
[core:encoding/json] When Unmarshalling, Only Match On Struct Tags If Present
2025-05-15 22:31:34 +02:00
tf2spi
2f636886a5 Add debug info for labels (#4385)
* Emit label debug info w/o location

* Insert debug label call

* Slight refactor for later fix

* Improve debug labels for block statements

* Improve debug info with for loops

* Generate label lbBlocks w/ debug

* Lightly refactor lb_add_debug_label

* Revise comments, add null check assertion

* Use LLVM-C API for debug labels

* Prefer C DILabel API for POSIX, fallback to CPP

* Use version check for LLVM-C DILabel
2025-05-15 22:11:06 +02:00
Laytan Laats
2d00f8d69d fix compat with earlier llvm versions 2025-05-15 19:20:04 +02:00
0xrsp
649cad2f1b add: type_integer_to_* error messages 2025-05-15 01:12:06 +09:30
0xrsp
cb0cab36b9 Merge branch 'tounsigned' of github.com:0xrsp/Odin into tounsigned 2025-05-15 01:02:57 +09:30
0xrsp
ea806f1d5e new compiler intrinsics type_integer_to_unsigned,type_integer_to_signed 2025-05-15 01:00:40 +09:30
gingerBill
30b6750778 Add missing , 2025-05-14 15:14:02 +01:00
gingerBill
cf6d26953e Merge pull request #5161 from deadwanderer/master
[vendor:directx/d3d12] - Add more D3D12 FEATURE_DATA_OPTIONs
2025-05-14 14:05:44 +01:00
deadwanderer
78f0992918 Fix bad whitespacing 2025-05-14 08:53:53 -04:00
deadwanderer
30434552a7 Adjust whitespace errors 2025-05-14 07:55:23 -04:00
gingerBill
4b8707f71b Merge pull request #5158 from A1029384756/master
[vendor:SDL/ttf] - GPUAtlasDrawSequence multipointer from pointer
2025-05-14 11:43:16 +01:00
deadwanderer
10a63ac498 Add more D3D12 FEATURE_DATA_OPTIONs 2025-05-13 23:45:58 -04:00
A1029384756
5379c8c1ac [vendor:sdl3/ttf] - changed indices to multipointer 2025-05-13 15:44:20 -04:00
A1029384756
82729d7e27 [vendor:SDL/ttf] - GPUAtlasDrawSequence multipointer from pointer 2025-05-13 15:40:40 -04:00
Jeroen van Rijn
25c935c305 Re-enable demo on *nix 2025-05-13 18:46:55 +02:00
Jeroen van Rijn
1a58476c03 Merge pull request #5155 from Kelimion/date_from_git
Parse odin version date out of HEAD commit if available
2025-05-13 18:45:16 +02:00
Jeroen van Rijn
ed56a7ca10 Parse odin version date out of HEAD commit if available 2025-05-13 18:09:30 +02:00
gingerBill
0a12c464ab Change Odin's RTTI section name to .odinti 2025-05-13 08:58:02 +01:00
Jeroen van Rijn
7cd00483fe Merge pull request #5154 from Kelimion/os2-rollback
Revert "os2: Don't try to translate Windows file attributes to Unix m…
2025-05-12 23:41:25 +02:00
Jeroen van Rijn
d7a83a7a1f Revert "os2: Don't try to translate Windows file attributes to Unix mode flags"
This reverts commit 95923c2059.
It'll be updated later.
2025-05-12 23:34:12 +02:00
gingerBill
4d7876bdb0 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-05-12 16:50:11 +01:00
gingerBill
d2d5c40e76 Handle "untyped" case 2025-05-12 16:49:59 +01:00
Jeroen van Rijn
8809ce2925 Merge pull request #5152 from Kelimion/mmap-flags
Update `linux.Map_Flags_Bits`
2025-05-12 17:23:39 +02:00
Jeroen van Rijn
be24feb862 Move things to constants.odin 2025-05-12 17:13:59 +02:00
Jeroen van Rijn
dec3d6959d Update linux.Map_Flags_Bits
Fixes #5151

- Removes `SHARED_VALIDATE` from the enum and turns it into `Map_Shared_Validate :: Map_Flags{.SHARED, .PRIVATE}` so it has the proper value of 0x03.
- Adds `DROPPABLE`.
- Adds constants `MAP_HUGE_SHIFT` and `MAP_HUGE_MASK`.
- Adds the huge page precomputed constants from `mman.h`, defined as the log2 of the size shifted left by `MAP_HUGE_SHIFT`:
	Map_Huge_16KB
	Map_Huge_64KB
	Map_Huge_512KB
	Map_Huge_1MB
	Map_Huge_2MB
	Map_Huge_8MB
	Map_Huge_16MB
	Map_Huge_32MB
	Map_Huge_256MB
	Map_Huge_512MB
	Map_Huge_1GB
	Map_Huge_2GB
	Map_Huge_16GB
2025-05-12 16:45:51 +02:00
gingerBill
d2d4ac8120 Add compress_values 2025-05-12 15:29:43 +01:00
gingerBill
8e17ccfd98 Merge pull request #5142 from laytan/abi-and-asan-fixes
tests/internal with asan (requiring abi and codegen fixes), and macos -sanitize:address
2025-05-12 14:20:19 +01:00
gingerBill
223944ee88 Merge pull request #5147 from 0xrsp/master
add SDL_ttf bindings for SDL3 to vendor libraries
2025-05-12 14:14:34 +01:00
gingerBill
bd4c062b98 Merge pull request #5145 from CoolDove/master
[vendor:raylib/rlgl] add 3 missing functions
2025-05-12 10:12:10 +01:00