Commit Graph

15401 Commits

Author SHA1 Message Date
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
Thomas la Cour
744d7f7ef4 fix for using .rc files 2024-07-30 16:53:14 +02:00
jason
c7eb2ae6bb use sys/linux dirent instead of manual iteration 2024-07-30 10:19:09 -04:00
jason
792640df1f remove File_Impl_Kind from file_linux 2024-07-30 09:41:49 -04:00
jason
278a63caaa remove pidfd availability caching 2024-07-30 09:28:40 -04:00
jason
a03dffcd1a improve error handling; do not report errors from failed execve 2024-07-30 08:45:53 -04: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
Laytan
7f17d4eb7f Merge pull request #3991 from laytan/fix-in-map-with-union-variants
fix `specific_union_variant in map_keyed_by_union` not converting to union type
2024-07-29 02:39:47 +02:00
Laytan Laats
4d1d754cae fix specific_union_variant in map_keyed_by_union not converting to union type 2024-07-29 02:32:13 +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
Laytan
f852aac0e7 Merge pull request #3989 from colrdavidson/spall_doc
Improve Spall Docs slightly to reduce onboarding friction
2024-07-28 12:46:04 +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
Jeroen van Rijn
cb31df34c1 Merge pull request #3362 from Hyrtwol/sys-windows-2
core/sys/windows part 2
2024-07-26 14:29:56 +02:00
Thomas la Cour
271ec643ed removed some comments 2024-07-26 11:30:48 +02:00
Thomas la Cour
fe587ee79a try to add sys/windows to the normal core tests 2024-07-26 11:04:13 +02: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
03f3ea5a9e removed old test stuff 2024-07-26 10:43:26 +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
4e194d5dbd Merge pull request #3980 from Kelimion/format-time
Add `time.to_string*` formatters.
2024-07-25 21:09:51 +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
Feoramund
90f1f7fbdf Use unaligned_store in regex too 2024-07-24 16:48:49 -04:00
gingerBill
9b624ef9e1 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-07-24 21:45:40 +01:00
gingerBill
f03c2b7783 General clean up of os2.read_directory for Windows 2024-07-24 21:45:35 +01:00
Feoramund
ff492e615c Use unaligned_load for regex virtual machine
This should hopefully avoid any issues with loading operands greater
than 8 bits on alignment-sensitive platforms.
2024-07-24 16:27:20 -04:00
Feoramund
042f6de478 Remove printing facilities for Regular_Expression
The `original_pattern` introduced a tenuous dependency to the expression
value as a whole, and after some consideration, I decided that it would
be better for the developer to manage their own pattern strings.

In the event you need to print the text representation of a pattern,
it's usually better that you manage the memory of it as well.
2024-07-24 16:27:20 -04:00
Feoramund
c52a8a5f86 Allow configuring of MAX_CAPTURE_GROUPS for n > 10 2024-07-24 16:27:08 -04:00
Feoramund
16b644ad79 Use slice.zero instead 2024-07-24 15:23:20 -04:00
Feoramund
e8537a3134 Add test cases for unclosed classes and repetition
Simplified error checking while I was at it, too.
2024-07-24 15:21:41 -04:00
Feoramund
e642be8550 Fix handling of unclosed regex classes and repetitions 2024-07-24 15:17:37 -04:00
Jeroen van Rijn
33d6677514 Merge pull request #3951 from Kelimion/lua_test
Add Lua example to `vendor:lua` as well as basic tests.
2024-07-24 17:50:49 +02:00
Jeroen van Rijn
8d6ff51922 Copy lua54.dll during CI test 2024-07-24 17:43:51 +02:00
jason
a5fa93e06d remove ctprintf; use fmt.caprintf; fix pipe_linux that I broke. 2024-07-24 10:23:23 -04:00
jasonKercher
215b21811e Merge branch 'master' into os2-process-linux 2024-07-24 10:14:59 -04:00
jason
95a8a4e7f0 typo - inverted logic 2024-07-24 10:12:16 -04:00
jason
ecdd3887b2 fix process_info assumptions 2024-07-24 10:09:50 -04: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