Commit Graph

5190 Commits

Author SHA1 Message Date
gingerBill
2ddaae45f3 Better handling of allocators 2024-07-24 13:47:22 +01:00
gingerBill
6d2487a692 Add some more Ntdll calls 2024-07-24 13:38:14 +01:00
gingerBill
c407e423d9 Add inode to os2.Stat 2024-07-24 13:37:56 +01:00
gingerBill
0e91c8368c Add allocator parameters to fmt.caprint* 2024-07-24 09:01:41 +01:00
Laytan Laats
545fbc54c7 testing: add json reporting 2024-07-24 01:33:22 +02:00
Laytan Laats
fc2e31fcd0 fix build comment in os_freestanding 2024-07-23 20:51:00 +02:00
gingerBill
efa8c92bab Implement init_long_path_support 2024-07-23 17:46:22 +01:00
gingerBill
65fec9134e Use SHFileOperationW for remove_all on Windows 2024-07-23 17:30:42 +01:00
gingerBill
a28392852a Mock out os2.remove_all for Windows 2024-07-23 17:05:41 +01:00
gingerBill
8037ace873 Begin work on os2/dir.odin 2024-07-23 16:47:49 +01:00
gingerBill
182454a1c0 Minor clean ups 2024-07-23 16:09:15 +01:00
gingerBill
24f9e2bbeb Begin mocking out the linux stuff on os2 2024-07-23 16:06:14 +01:00
gingerBill
61b9a5dbb2 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-07-23 15:57:23 +01:00
gingerBill
0403626acf Add utility calls to os2 2024-07-23 15:57:17 +01:00
Damian Tarnawski
eb4f850b7f Remove space in indentation 2024-07-23 13:48:03 +02:00
Jeroen van Rijn
da80c51195 Merge pull request #3966 from KyleNBurke/sys-windows-add-type
Add `NCCALCSIZE_PARAMS` to `sys/windows`
2024-07-23 07:45:44 +02:00
Kyle Burke
9d99f98194 Remove semicolon 2024-07-23 00:22:19 -05:00
Kyle Burke
c32e12c3f5 Add NCCALCSIZE_PARAMS to sys/windows 2024-07-23 00:09:50 -05:00
Jeroen van Rijn
9cad8179b7 Clarify core:time Unix timestamp 2024-07-22 20:00:25 +02:00
Laytan
73a9a97413 Merge pull request #3476 from PucklaJ/syscall-fix
[sys/linux] Fix fork and execve syscalls on arm64
2024-07-22 13:58:17 +02:00
PucklaJ
1873f7215d [sys/linux]: Change execveat flags type to Execveat_Flags 2024-07-22 11:03:25 +02:00
Laytan Laats
3e618bed40 fix reflect.any_base and reflect.any_core with any's containing nil 2024-07-22 00:51:38 +02:00
Jeroen van Rijn
51733fce68 Merge pull request #3952 from Ronaldr1985/master
Ensure that values in ini map are unquoted
2024-07-21 14:58:15 +02:00
Jeroen van Rijn
a056e9da81 Merge pull request #3954 from flysand7/docs-thread
[thread]: Document all functions in core:thread
2024-07-21 14:10:49 +02:00
flysand7
b84b4c47d7 [thread]: Document all functions in core:thread 2024-07-21 14:34:36 +11:00
Ronald
1a6885c2a3 Tidy up code 2024-07-21 00:08:20 +01:00
Ronald
c3a57853e2 Ensure that values in ini map are unquoted 2024-07-21 00:00:47 +01:00
Jeroen van Rijn
fc5ce30f34 Allow json to unmarshal empty struct. 2024-07-21 00:37:11 +02:00
Jeroen van Rijn
cdd2c98b8d Merge pull request #3948 from flysand7/docs-time
[time]: Document all functions
2024-07-20 16:06:07 +02:00
flysand7
b3ca2d5e0a [time]: Document all functions 2024-07-20 18:48:50 +11:00
flysand7
0c78cab336 [time/datetime]: Document package datetime 2024-07-20 12:49:40 +11:00
gingerBill
ba3d7ba5d3 Add core:encoding/ini to examples/all 2024-07-19 12:03:34 +01:00
gingerBill
f226eba342 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-07-19 12:00:54 +01:00
gingerBill
393ca40c23 Minor clean ups 2024-07-19 12:00:49 +01:00
gingerBill
62f455f47b Merge branch 'master' into syscall-fix 2024-07-19 11:43:56 +01:00
gingerBill
163287d9ce Merge pull request #3938 from Ronaldr1985/master
Fix memory leak in encoding/ini
2024-07-19 11:42:35 +01:00
gingerBill
2f8399fe20 Merge pull request #3940 from flysand7/os2-handle-inheritance
[os2] Make all handles non-inheritable by default
2024-07-19 11:38:03 +01:00
gingerBill
685dbddcb5 Merge pull request #3939 from flysand7/os2-file-type
[os2]: Split file type from mode bits et other small fixes
2024-07-19 11:37:54 +01:00
Laytan Laats
27f9f0ba17 fix OLS #431, #393 2024-07-18 21:06:37 +02:00
Laytan Laats
2b6a926bb6 fix OLS #52 2024-07-18 21:06:37 +02:00
flysand7
7b501b22bb [os2]: Split file type from mode bits 2024-07-18 23:09:27 +11:00
flysand7
75605a47e7 [os2]: Make anonymous pipes always inheritable 2024-07-18 22:57:30 +11:00
flysand7
4dcb75af6d Make all handles non-inheritable by default
The sockets are left as non-inheritable because they
never should be inherited.
2024-07-18 22:50:47 +11:00
Ronald
c768d0719a Remove unnecessary change
This was accidentally added, it was a change I made whilst testing.
2024-07-17 21:57:35 +01:00
Ronald
f04db7145c Fix memory leak in encoding/ini
A simple change that fixes a memory leak caused by not deleting all the
values in the map
2024-07-17 21:19:14 +01:00
IllusionMan1212
07121f81ff core/sys/windows: added drag and drop procedures 2024-07-17 00:32:25 +02:00
gingerBill
0d881e1561 Improve rand.shuffle further by splitting into 64-bit and 32-bit parts 2024-07-16 18:36:31 +01:00
gingerBill
ba49950454 Improve rand.shuffle 2024-07-16 18:33:01 +01:00
gingerBill
f66133959f Merge pull request #3933 from laytan/fix-some-bugs-with-disable-assert
fix some bugs with -disable-assert
2024-07-16 17:54:21 +01:00
Laytan Laats
28fac62a02 fix some bugs with -disable-assert 2024-07-16 18:44:18 +02:00