Commit Graph

5749 Commits

Author SHA1 Message Date
Laytan Laats
0b5cd3400f use dynamic array instead of string builder 2024-10-04 10:43:38 +02:00
Laytan Laats
77b033cf96 kill process if there was an error during reading to not leave a zombie 2024-10-04 10:38:47 +02:00
Laytan Laats
5d556fe277 fix idtype definition 2024-10-03 15:25:51 +02:00
Laytan Laats
7676480526 fix temp allocator guard bug 2024-10-03 14:39:54 +02:00
Laytan Laats
77780f9ce8 fix use-after-free - closing wrong pipe 2024-10-03 14:24:00 +02:00
Laytan Laats
76806080ef fix os2.process_exec on non-windows and add a smoke test 2024-10-03 13:51:27 +02:00
Jeroen van Rijn
eba7be34e7 Add slice.to_type 2024-10-01 23:27:15 +02:00
gingerBill
af9ae4897a Merge pull request #4290 from flysand7/pipe-has-data
[os2/process]: Implement `process_exec`, and `pipe_has_data`
2024-10-01 11:30:28 +01:00
Laytan Laats
ab54ad3a75 sys/posix: use '#max_field_align' 2024-09-30 16:39:14 +02:00
gingerBill
1e1904e9ab Merge pull request #4323 from laytan/bit-array-init
container/bit_array: add 'init' procedure
2024-09-30 15:00:45 +01:00
Yawning Angel
cf7d705c1f core/crypto/_sha3: Fix edge case in cSHAKE bytepad
If the domain separator happens to be exactly the rate, we would
previously incorrectly add another rate-bytes of 0s.
2024-09-30 21:50:18 +09:00
gingerBill
a7d7c92a53 #min_field_align & #max_field_align; deprecate #field_align in favour of #min_field_align 2024-09-30 13:05:28 +01:00
Laytan
38fedf2631 Merge pull request #4304 from kawaii-Code/linear_search_reverse
Add linear_search_reverse and linear_search_reverse_proc
2024-09-29 21:18:49 +02:00
Nia
253edb51f7 Fix markup in linear_search and binary_search docs 2024-09-29 17:08:54 +03:00
Nia
3c80f15a7a Remove pointless #no_bounds_check 2024-09-29 15:51:30 +03:00
gingerBill
4a616d97df Pass delta time instead of current time to odin.js step 2024-09-29 10:14:56 +01:00
Laytan Laats
bd45900257 container/bit_array: add 'init' procedure 2024-09-29 10:57:42 +02:00
flysand7
0e446e1d68 adjust docs 2024-09-29 07:54:29 +11:00
flysand7
d830069e5c [os2/process]: Implement process_exec 2024-09-28 11:25:32 +11:00
flysand7
7deb28c810 [os2/process]: Unindent doc comments 2024-09-28 10:30:54 +11:00
flysand7
e54b1560ee Add missing registers in User_Regs on AMD64 2024-09-26 07:27:11 +11:00
flysand7
abd52529a6 Revert "Add missing registers in User_Regs on AMD64"
This reverts commit acfac3cf2d.
2024-09-26 07:26:01 +11:00
flysand7
acfac3cf2d Add missing registers in User_Regs on AMD64 2024-09-26 07:25:40 +11:00
flysand7
842f1ae304 Fix indentation issues 2024-09-26 07:13:00 +11:00
gingerBill
8371ef6681 Merge pull request #4279 from obiwan87/master
Fix compile errors
2024-09-25 17:32:30 +01:00
gingerBill
e397fb6a7f Merge pull request #4297 from flysand7/ini-section
[encoding/ini]: Add missing line terminator at the end of the section
2024-09-25 16:07:03 +01:00
Nia
3337d6b264 Add linear_search_reverse and linear_search_reverse_proc 2024-09-25 16:41:55 +03:00
flysand7
45d26dc7f9 [encoding/ini]: Add missing line terminator at the end of the section 2024-09-24 18:57:42 +11:00
flysand7
dbad23385d [os2]: Implement pipe_has_data procedure 2024-09-24 08:12:21 +11:00
Antonino Simone Di Stefano
e9e7863033 Merge branch 'odin-lang:master' into master 2024-09-22 23:32:22 +02:00
Antonino Simone Di Stefano
5bced00f5d Return Allocator_Error in map_entry_infos 2024-09-22 23:25:46 +02:00
Antonino Simone Di Stefano
357c8f6f34 Replace "." with "," in parameter list 2024-09-22 23:19:36 +02:00
Antonino Simone Di Stefano
baf5a06fba Remove address operator, which lead to a type error 2024-09-22 23:16:59 +02:00
Antonino Simone Di Stefano
5a6f761535 Add missing package qualifier to Context 2024-09-22 23:15:36 +02:00
gingerBill
f7d74ff3a8 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-09-22 19:29:15 +01:00
gingerBill
95721fe296 Add gamepad support 2024-09-22 19:29:05 +01:00
Jeroen van Rijn
ba3d545c96 Merge pull request #4281 from c-cube/add-time-to-rfc3339
add a time-to-RFC3339 conversion function
2024-09-22 17:46:26 +02:00
gingerBill
66e83ef30d Add gamepad events 2024-09-22 16:24:46 +01:00
gingerBill
94288161e9 Add new js events 2024-09-22 15:52:04 +01:00
gingerBill
1ae57d8d20 Fix more JS stuff 2024-09-22 13:32:28 +01:00
gingerBill
26d00925cc Clean-up libc usage 2024-09-22 13:20:45 +01:00
gingerBill
634fa7aa30 Move vendor:wasm/js to core:sys/wasm/js 2024-09-22 13:13:34 +01:00
gingerBill
6bdd572a30 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-09-22 13:04:29 +01:00
gingerBill
c39b934e7f Remove unused imports 2024-09-22 13:04:23 +01:00
Simon Cruanes
a1349d8776 fix vet warnings 2024-09-22 00:08:07 -04:00
Simon Cruanes
32e13f17ae Apply suggestions from code review
Co-authored-by: flysand7 <yyakut.ac@gmail.com>
2024-09-21 21:08:35 -04:00
Simon Cruanes
a89d22b291 add time.time_to_rfc3339, a printer to RFC3339 dates
this is the counterpart to the existing parsing function
`rfc3339_to_time_utc` and others. It prints the timestamp as a string,
allocated dynamically.
2024-09-21 00:47:21 -04:00
Antonino Simone Di Stefano
355f84d0cd Use package qualifier for type_info_base and Type_Info_map 2024-09-21 00:30:50 +02:00
Antonino Simone Di Stefano
b33f6ba1b0 Fix type in parameter of atomic_compare_exchange_weak_explicit
desited -> desired
2024-09-21 00:30:36 +02:00
Karl Zylinski
9a8fb2fb27 Fix for infinite loop in core:odin file tags parser when your local copy uses \r 2024-09-20 15:12:35 +02:00