Commit Graph

14598 Commits

Author SHA1 Message Date
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
Jeroen van Rijn
39789bc6cb Make strings.to_cstring adhere to #optional_allocator_error 2025-05-12 01:17:34 +02:00
Jeroen van Rijn
f6a39ca675 Merge pull request #5148 from Kelimion/fix-clean-path
Fix os2.clean_path on Windows
2025-05-11 15:44:40 +02:00
Jeroen van Rijn
30388cada3 Fix os2.clean_path on Windows 2025-05-11 15:35:52 +02:00
Dove
3c8cdf822f add 3 missing functions in vendor:raylib/rlgl 2025-05-11 04:03:51 +08:00
0xrsp
45c3361b43 SDL3_ttf: make SubStringFlags a bit_field 2025-05-11 00:25:31 +09:30
0xrsp
ac1c97eb33 add: vendor SDL3_ttf 2025-05-11 00:23:29 +09:30
gingerBill
ecd0655ba2 Merge pull request #5138 from laytan/os2-native-copy
os2: copy directory using walker & native copy setup and implementation on macos
2025-05-10 14:34:03 +01:00
gingerBill
ffb4b36552 Merge pull request #5143 from laytan/strconv-hexfloats
add hexfloat (0h) parsing to strconv
2025-05-10 14:31:42 +01:00
Laytan Laats
ebc63a7355 add hexfloat (0h) parsing to strconv 2025-05-10 15:11:52 +02:00
Laytan Laats
8374854dd5 use brew clang instead of system clang 2025-05-09 23:13:06 +02:00
Laytan Laats
221dea76a4 Run MacOS CI with -sanitize:address 2025-05-09 23:12:59 +02:00
Laytan Laats
f9b9e9e7dc some ABI fixups and improvements
Started with trying to enable asan in the CI for MacOS, noticed it wasn't enabled on the `tests/internal`
folder, it came up with a couple of issues with the abi/OdinLLVMBuildTransmute that this also solves.

- Looking at clang output for arm64, we should be promoting `{ i64, i32 }` to `{ i64, i64 }`
- after doing the previous point, I noticed this is not handled well in OdinLLVMBuildTransmute
  which was emitting loads and stores into the space of a value that was alignment, asan does not want this,
  looking at clang output again, a memcpy is the appropriate way of handling this.
- Having done this we don't need the hacky "return is packed" set anymore in the amd64 sysv ABI anymore either
2025-05-09 23:03:17 +02:00
Laytan Laats
4d08b76372 require the __asan_unpoison_memory_region runtime symbol so empty projects with asan enabled build 2025-05-09 22:26:49 +02:00
Jeroen van Rijn
e3fe733a55 Fix #5139 2025-05-09 19:45:46 +02:00
Jeroen van Rijn
3adade2639 Add .rdi RadDbg files to .gitignore 2025-05-09 19:42:54 +02:00
gingerBill
8a225a6887 Place RTTI into its own section .odin-rtti 2025-05-09 11:07:53 +01:00
gingerBill
23aff08556 Merge pull request #5117 from bogwi/bug/5024
Bug/5024
2025-05-09 08:35:16 +01:00
gingerBill
10d8332394 Merge pull request #5135 from Lperlind/asan-ci-tests
Enable asan for windows and ubuntu CI tests
2025-05-09 08:35:06 +01:00
Lucas Perlind
11d2a9c867 Enable asan for windows and ubuntu CI tests
Other platforms either do not support asan at all or they
fail to link with the asan runtime.
2025-05-09 15:39:39 +10:00
Laytan Laats
cacb9f9f54 os2: better copy_directory, and add native copy_file and copy_directory variants on MacOS 2025-05-08 19:32:30 +02:00
gingerBill
edbe7aa06e Merge pull request #5091 from Badaxis/badaxis/windows-scancodes
Adding windows keyboard scan codes
2025-05-08 16:33:14 +01:00
gingerBill
4a4294c2af Merge pull request #5095 from Lperlind/temp-collisions
os2: Resolve temp allocator collisions
2025-05-08 15:11:51 +01:00
gingerBill
204c6f514a Remove use of do 2025-05-08 14:03:17 +01:00
gingerBill
0ce8373528 Formatting Fix 2025-05-08 13:23:22 +01:00