Commit Graph

9638 Commits

Author SHA1 Message Date
Colin Davidson
f93f2dfd5c Add support for basic EGL on Linux 2024-01-24 13:24:25 -08: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
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
gingerBill
799f4379d8 Keep vet happy 2024-01-17 22:51:49 +00:00
gingerBill
bd51b21386 Fix typo 2024-01-17 22:47:23 +00:00
gingerBill
276284cbec Fix typo 2024-01-17 22:44:28 +00:00
gingerBill
a8021f03a6 Rename to Map_File_* 2024-01-17 22:43:35 +00:00
gingerBill
c35d5d4c42 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-01-17 22:41:28 +00:00
gingerBill
248a0bfa5f Add virtual.map_file 2024-01-17 22:41:22 +00:00
flysand7
34791707fd [sys/linux]: Remove +build comments in files with documentation 2024-01-18 09:16:40 +11:00
gingerBill
37ae9eb609 Merge pull request #3001 from colrdavidson/unsafe_mem
add non-zeroing append and resize
2024-01-17 21:39:27 +00:00
Colin Davidson
b6838731f5 oops, indentation 2024-01-17 13:30:03 -08:00
Colin Davidson
991c1d4446 add resize_non_zeroed to query features 2024-01-17 13:27:19 -08:00
Colin Davidson
d0bb1fb844 bring log allocator up to date 2024-01-17 13:11:10 -08:00
Jeroen van Rijn
ea43c030aa Merge pull request #3107 from ktsiligkiris/documentation/fix_xml_docs
Fix comments for proper rendering in documentation in encoding/xml
2024-01-17 21:10:49 +01:00
Kostas Tsiligkiris
d54f34a162 Fix comments in xml_reader.odin for better rendering in documentation 2024-01-17 21:58:38 +02:00
Kostas Tsiligkiris
a86cfa6e97 Fix filename in example 2024-01-17 21:38:33 +02:00
Jeroen van Rijn
1b83f4a18b Merge pull request #3082 from edyu/master
Fix math/fixed floor/ceil/round
2024-01-17 19:13:22 +01:00
gingerBill
90ac400ec5 stdcall -> system 2024-01-17 17:25:23 +00:00
gingerBill
75c659fa41 Change stdcall -> system 2024-01-17 17:04:54 +00:00
gingerBill
8cfff254c9 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-01-17 16:54:58 +00:00
gingerBill
8c2eb5df78 stdcall -> system 2024-01-17 16:54:50 +00:00
gingerBill
a2f0ac0fd2 Merge pull request #3093 from avanspector/master
Add shell environment for Nix
2024-01-17 16:48:14 +00:00
gingerBill
2987fc65a1 Merge pull request #3043 from laytan/check-float-value-succeeded
check if string could be converted from float
2024-01-17 16:47:41 +00:00
gingerBill
c5bab58180 Merge pull request #3076 from xb-bx/mprotect-fix-for-linux-and-darwin
virtual.protect returns inverted result on linux and darwin platforms
2024-01-17 16:46:39 +00:00
gingerBill
5ad88ea169 Merge pull request #3104 from codename-irvin/dev
Add freestanding aarch64 target
2024-01-17 16:45:34 +00:00
gingerBill
72d6b9b683 Replace stdcall with system 2024-01-17 16:43:27 +00:00
gingerBill
2f2c086382 Fix foreign import names 2024-01-17 16:35:28 +00:00
gingerBill
d9fafa7000 Have default foreign import system paths 2024-01-17 16:32:26 +00:00
gingerBill
12e53f2336 Fix imports to be case sensitive correct 2024-01-17 16:26:18 +00:00
gingerBill
a2e729c303 Remove //+build darwin 2024-01-17 16:06:59 +00:00
gingerBill
7b89174a26 Remove //+build windows tag 2024-01-17 15:57:37 +00:00
gingerBill
1d7f7a55d2 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-01-17 15:51:34 +00:00
gingerBill
766485ccab Add README.md 2024-01-17 15:51:29 +00:00
gingerBill
6642aa94d5 Change examples/all 2024-01-17 15:50:00 +00:00
Jeroen van Rijn
1c9ec27d36 Merge pull request #3105 from FourteenBrush/patch-1
Fix typo in bytes.scrub
2024-01-17 13:54:37 +01:00
FourteenBrush
05e27fa92d Fix typo in bytes.scrub 2024-01-17 13:37:06 +01:00
gingerBill
7954a7a6f3 Add darwin libraries back to normal examples/all to fix documentation generation 2024-01-17 12:27:03 +00:00
gingerBill
1d621295b1 Fix #1934 raylib IsGestureDetected 2024-01-17 12:26:44 +00:00
Kostas Tsiligkiris
02c2aff41b Fix formatting of package documentation string 2024-01-17 07:04:00 +02:00
Kostas Tsiligkiris
5476d43441 Move package xml before copyright
Having the same copyright on all files made the documentation script
to include it multiple times in the package information.
2024-01-17 07:00:25 +02:00
Laytan Laats
b25e85a8bb check if string could be converted from float 2024-01-17 00:15:24 +01:00