Commit Graph

15401 Commits

Author SHA1 Message Date
Gabriel Pariat
594078cc1d fix whitespace 2024-01-27 14:08:14 -05:00
Gabriel Pariat
ab68e4c6c4 change ordering 2024-01-27 14:06:58 -05:00
Gabriel Pariat
4956f9dad3 fix typo 2024-01-27 14:04:43 -05:00
Gabriel Pariat
fd090c6672 adding linux + unix makefile for cgltf 2024-01-27 14:00:02 -05:00
jay-j
b46b3010ec Expose OpenGL shader procedures to allow creation of shader pipelines with geometry shaders 2024-01-26 19:43:47 -08:00
marcs-feh
d931bfcf83 resolve conflict 2024-01-26 16:23:16 -03:00
Laytan Laats
31914e9cb9 Add odin test -all-packages to be able to test an entire project 2024-01-26 18:27:05 +01:00
marcs-feh
b58627490b Adjust signture + Fix rebase conflict 2024-01-26 12:10:15 -03:00
gingerBill
da6edb3764 Merge pull request #3139 from flysand7/file-attrib
sys/windows: Make `INVALID_FILE_ATTRIBUTES` a `u32` constant
2024-01-26 15:05:23 +00:00
gingerBill
9a9625f885 Fix #3053 2024-01-26 13:04:47 +00:00
gingerBill
15b40a4f29 Fix #3122 2024-01-26 12:56:16 +00:00
gingerBill
5406acc8fa Fix type_ptr_set_update 2024-01-26 12:47:39 +00:00
flysand7
d5b0ec712b os/os2: Remove file attribute casting from core:os2 2024-01-26 09:07:12 +11:00
FourteenBrush
766d6aa946 Fix typo 2024-01-25 12:05:19 +01:00
FourteenBrush
895ebb95d5 Need to unpack args 2024-01-25 11:44:53 +01:00
flysand7
af636eedde os: Fix casting errors in other files 2024-01-25 21:32:24 +11:00
flysand7
57b7822e12 Merge branch 'master' into unsigned-file-attrib 2024-01-25 20:57:18 +11:00
flysand7
03736d8bcb sys/windows: Make INVALID_FILE_ATTRIBUTES a u32 constant 2024-01-25 20:52:39 +11:00
FourteenBrush
3a5d80b291 Forgot to include loc param 2024-01-25 10:20:23 +01:00
FourteenBrush
967ccfc7cc Merge branch 'master' of https://github.com/FourteenBrush/Odin 2024-01-25 10:15:25 +01:00
FourteenBrush
712ae1c5ac Add testing.expectf 2024-01-25 10:08:09 +01:00
marcs feh
dbaa82b581 Merge branch 'odin-lang:master' into master 2024-01-24 20:10:44 -03:00
Colin Davidson
f93f2dfd5c Add support for basic EGL on Linux 2024-01-24 13:24:25 -08:00
Laytan Laats
9ac619f4a2 vendor/raylib: change to non-universal binaries
We already have 2 different folders for the different architectures, so
this does should not have any usage impact.

Main motivation for doing this is hombrew requiring non-universal
binaries in their installation, so this is a step to getting homebrew
and vendor to play nice.
2024-01-24 20:58:14 +01:00
marcs-feh
84123cc879 sys/linux: Adjust ioctl signature to fit the actual Linux Kernel implementation 2024-01-24 13:40:50 -03:00
Jeroen van Rijn
9cfd4a953e Merge pull request #3132 from KyleNBurke/patch-1
Remove mention of `map` in builtin resize proc group
2024-01-24 16:41:27 +01:00
Kyle Burke
14e2cc17d6 Remove mention of map in builtin resize proc group 2024-01-24 09:39:47 -06:00
gingerBill
5f41741e8c Merge pull request #3126 from DanielGavin/parser-fix-paran
Improve recovery from faulty parameters in parse_proc_type
2024-01-24 11:23:49 +00:00
gingerBill
8a067bc1fc Merge pull request #3127 from laytan/fix-wasm-and-llvm-17
fix for wasm on llvm 17
2024-01-24 11:23:16 +00:00
gingerBill
cfdf2bfb77 Merge pull request #3129 from DragosPopse/assert-fix
`fmt.assertf` now correctly gets disabled on `-disable-assert`. `log.assert/f` procs. `@cold` trick on everything fixed.
2024-01-24 11:21:37 +00:00
gingerBill
2f8316840e Merge pull request #3131 from flysand7/non-zeroed
os2: Add .Resize_Non_Zeroed allocation mode to os2/heap_windows
2024-01-24 11:21:09 +00:00
flysand7
a660098106 os2: Add .Resize_Non_Zeroed allocation mode to os2/heap_windows 2024-01-24 15:51:47 +11:00
Dragos Popescu
90d1f9ab27 Removed return value of assertf. assertf now correctly responds to -disable-assert. Added log.assert and log.assertf. All asserts now do the @cold trick, first added to builtin.assert 2024-01-23 20:56:13 +02:00
Laytan Laats
2097b09abb fix for wasm on llvm 17 2024-01-22 21:07:17 +01:00
DanielGavin
f63f28302e Recover from faulty parameter in parse_proc_type 2024-01-22 20:35:26 +01:00
marcs-feh
7b1f58a06a sys/linux: Add binding to ioctl syscall + fd consts
Add binding to ioctl syscall, due to the vast nature of this syscall
adding more device specific request values is possible. Also added the
stdin, stdout and stderr, to constants.odin
2024-01-22 16:09:44 -03:00
gingerBill
98b539ac5c Merge pull request #2912 from karl-zylinski/marshal-sort-maps-by-key-and-clone-value
JSON: Option to sort marshaled maps before outputting + clone_value proc + small improvements
2024-01-22 14:05:15 +00:00
Karl Zylinski
9d067ae562 Made sure temp guard for sorting map keys in json marshal code ignores temp allocator 2024-01-22 14:35:05 +01:00
Rikard Petré
239d4e1076 odin/tokenizer: Reset insert_semicolon to false in tokenizer.init to fix bug when tokenizing multiple files. 2024-01-20 16:09:41 +01:00
Rikard Petré
99825a28d7 odin/parser: Allow semicolon after return statement for the case:
if x do return y;
else do return z;
2024-01-20 16:00:41 +01:00
Rikard Petré
144504a752 odin/parser: Fix parsing of struct literal/call expression when closing brace/paren is on a new line without a comma after the last argument. 2024-01-20 15:57:14 +01:00
Jeroen van Rijn
5a542c7ad5 Merge pull request #3119 from Kelimion/location_call
Clarify #location error message when not a call.
2024-01-20 14:42:42 +01:00
Jeroen van Rijn
73f57c5933 Clarify #location error message when not a call. 2024-01-20 14:27:50 +01:00
Jeroen van Rijn
2071d7ba84 Merge pull request #3116 from Kelimion/hot_reload
Add hot reload support to `dynlib.initialize_symbols`
2024-01-19 18:51:34 +01:00
Jeroen van Rijn
e8102a40d0 Add hot reload support to dynlib.initialize_symbols 2024-01-19 18:43:02 +01:00
gingerBill
737677f1b6 Merge pull request #3108 from Kelimion/subsystem
Add WINDOWS_SUBSYSTEM constant
2024-01-19 15:38:13 +00:00
Jeroen van Rijn
fc047a8043 Expand -subsystem option on Windows
W:\Odin>odin run sketch.odin -file -subsystem:foo
Invalid -subsystem string, got oo. Expected one of:
        BOOT_APPLICATION, CONSOLE (default), EFI_APPLICATION, EFI_BOOT_SERVICE_DRIVER, EFI_ROM, EFI_RUNTIME_DRIVER, NATIVE, POSIX, WINDOWS (or WINDOW), WINDOWSCE

We now also set the constant ODIN_WINDOWS_SUBSYSTEM, which is "" for non-Windows targets.
2024-01-18 19:12:39 +01:00
Jeroen van Rijn
ae52e245ea Add WINDOWS_SUBSYSTEM constant bool
true when -subsystem:windows for Windows targets, false otherwise.
2024-01-18 17:42:03 +01:00
gingerBill
b8bfc715bf Merge pull request #3109 from flysand7/sys-linux-tiny-fix
[sys/linux]: Remove +build comments in files with documentation
2024-01-18 15:59:50 +00:00
Damian Tarnawski
b0aa08f85b Correct wasm page_allocator switch cases 2024-01-18 10:33:40 +01:00