Commit Graph

5235 Commits

Author SHA1 Message Date
gingerBill
def2e2e271 Try to map to General_Error where possible 2024-08-04 11:44:45 +01:00
gingerBill
28666414bc More clean ups of ERROR_NONE and != nil usage 2024-08-04 11:37:49 +01:00
gingerBill
a241168142 Clean up err != nil usage 2024-08-04 11:26:35 +01:00
gingerBill
29b6eebcd5 Clean up error handling 2024-08-04 11:21:09 +01:00
gingerBill
7dae38ce89 Begin mocking out for other errors 2024-08-04 11:12:45 +01:00
gingerBill
1826b0c700 Fix copy-replace errors 2024-08-04 11:10:17 +01:00
gingerBill
9f9abb8fb3 Use union #shared_nil for os.Error 2024-08-04 11:05:30 +01:00
gingerBill
e60951a902 Begin converting os.Errno to be a nil-able type as a transition period 2024-08-04 10:51:08 +01:00
gingerBill
71932628cc Add alias 2024-08-04 10:08:48 +01:00
Laytan Laats
4dd846fa29 fix readir_r link name for netbsd 2024-08-03 15:54:29 +02:00
Jeroen van Rijn
90e573c54a Add image.premultiply_alpha helper. 2024-08-03 12:58:43 +02:00
Laytan Laats
99d9e8f8b1 fix os.read_dir with symlinks 2024-08-03 00:26:46 +02:00
Jeroen van Rijn
1a16585b10 Add image.pixels_to_image helper. 2024-08-02 14:54:52 +02:00
gingerBill
83599957b1 Merge pull request #3998 from zen3ger/os2-temp_file_linux
[os2] Add missing temp_file implementation for Linux
2024-08-01 20:07:21 +01:00
Jeroen van Rijn
f627a38b4f Update rand.reset() example. 2024-07-31 20:00:55 +02:00
gingerBill
04c3723985 Merge pull request #3992 from thetarnav/parser-patch
Correct the Array_Type.len comment and assign tok when making Ellipsis node
2024-07-30 21:25:21 +01:00
gingerBill
ac19bb3a8c Merge pull request #3985 from flysand7/docs-sync
[sync]: Document all procedures
2024-07-30 21:24:59 +01:00
Roland Kovacs
1913c08b7b [os2] Add missing temp_file implementation for Linux 2024-07-30 18:11:44 +02:00
flysand7
3aac4b1a3e [sync]: Document all procedures 2024-07-30 19:13:35 +11:00
Damian Tarnawski
478b2d7444 Correct the Array_Type.len comment and assign tok when making Ellipsis node 2024-07-29 22:14:42 +02:00
Jeroen van Rijn
24e6f16f4a Clamp dot in angle_between to avoid precision errors.
Fixes #3978
2024-07-28 15:00:29 +02:00
Colin Davidson
27f75c40ab make example compile 2024-07-28 01:29:33 -07:00
Colin Davidson
1d598f8287 tweak doc a little to reduce onboarding friction for thread-users 2024-07-28 01:23:47 -07:00
Thomas la Cour
b149b3d6c6 Merge remote-tracking branch 'upstream/master' into sys-windows-2 2024-07-26 10:45:09 +02:00
Thomas la Cour
6e6f2a1f6b removed obsolete fiels on WIN32_FIND_DATAW to match the size from the winsdk headers 2024-07-26 10:14:13 +02:00
Thomas la Cour
58ab6e5f94 missign cursorinfo 2024-07-26 10:07:20 +02:00
Jeroen van Rijn
00c6b83537 Use constants in example. 2024-07-25 21:02:38 +02:00
Jeroen van Rijn
ca7d86084e Improve docs. 2024-07-25 20:58:47 +02:00
Jeroen van Rijn
9088a493d9 Add time.to_string* formatters. 2024-07-25 19:43:42 +02:00
Thomas la Cour
fe4754a77c format 2024-07-25 10:27:49 +02:00
Thomas la Cour
9d67d12d22 Merge remote-tracking branch 'upstream/master' into sys-windows-2
# Conflicts:
#	core/sys/windows/shell32.odin
2024-07-25 10:05:41 +02:00
gingerBill
9e82ae10ac Merge branch 'master' of https://github.com/odin-lang/Odin 2024-07-24 21:55:55 +01:00
gingerBill
85880f9def Add more NtDll stuff 2024-07-24 21:55:51 +01:00
Jeroen van Rijn
4ff62994bf Add CLSCTX_ALL 2024-07-24 22:54:17 +02:00
gingerBill
f03c2b7783 General clean up of os2.read_directory for Windows 2024-07-24 21:45:35 +01:00
gingerBill
2dbccbde54 Improve win32 types 2024-07-24 14:53:48 +01:00
gingerBill
07b1819dc8 Improve os2.read_directory 2024-07-24 14:53:33 +01:00
gingerBill
9d8953538b Add missing attribute 2024-07-24 14:25:42 +01:00
gingerBill
d4af7b86a7 Begin cleaning up os2.read_directory 2024-07-24 14:19:30 +01:00
gingerBill
38e983cac6 Remove dead code 2024-07-24 13:47:57 +01:00
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