Commit Graph

1369 Commits

Author SHA1 Message Date
Alexander Cusaac (MightyChubz)
05f0539960 refactor: Move mem_unit before loop and apply it in switch statement 2026-06-04 13:21:27 -04:00
Alexander Cusaac (MightyChubz)
9942625c63 refactor: Use default_context() over removing "contextless" 2026-06-04 13:17:42 -04:00
Alexander Cusaac (MightyChubz)
c9621748a4 typo
oops
2026-06-03 16:55:51 -04:00
Alexander Cusaac (MightyChubz)
26f824eb8e docs: Updated comment to explain approach more accurately 2026-06-03 16:52:58 -04:00
Alexander Cusaac (MightyChubz)
962f8dfd1b refactor: Add fallback to sysinfo() if /proc/meminfo can't be read
This is likely to never _actually_ execute, and the possibility of this
failing is extremely slim, but if this _does_ fail, then this fallback
should catch it, as long as I'm understanding things correctly. If the
fallback fails, we just go back to the original assert that existed
before.
2026-06-03 16:47:37 -04:00
Alexander Cusaac (MightyChubz)
3d3aa45e02 refactor: Update fallback to just return MemFree 2026-06-03 16:45:06 -04:00
Alexander Cusaac (MightyChubz)
32de482025 docs: Add small comment to explain purpose of approach 2026-06-03 16:44:31 -04:00
Alexander Cusaac (MightyChubz)
55fd981941 refactor: Remove usage of do
I knew there was something I was forgetting with code in the core
packages. I wasn't applying the right arguments and style checks. Oops.
2026-06-03 12:09:46 -04:00
Alexander Cusaac (MightyChubz)
d41ff62c57 fix: Get meminfo from /proc/meminfo over sysinfo() 2026-06-03 05:28:05 -04:00
A1029384756
d7116d6415 [sys/linux] remove parapoly from rt_sigaction 2026-06-01 12:59:23 -04:00
jakubtomsu
8e9c0d38fa fix disallowed bool -> any_int in win32 2026-05-27 19:11:08 +02:00
Deserted999
95cd01e32d fix alignment 2026-05-08 16:02:19 +03:00
Deserted999
e9cf5fdc3a Add DefSubclassProc binding 2026-05-08 15:01:11 +03:00
gingerBill
d21fea404b Merge pull request #6631 from heavyrain266/deprecate-haiku
removed Haiku from supported targets
2026-05-06 15:52:36 +01:00
gingerBill
5dfd110be3 Merge pull request #6632 from jasonKercher/fix6620
sys/linux: emulate dup2 better on arm64 and riscv
2026-04-29 09:51:43 +01:00
jason
f388ebc4e3 sys/linux: emulate dup2 better on arm64 and riscv 2026-04-29 04:30:46 -04:00
Ignacy Koper
b5cb4b96fc removed Haiku from core:sys/posix package
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-28 19:27:25 +02:00
Ignacy Koper
c01e85ca67 removed core:sys/haiku package
also removes Haiku from core:sys/info, core:os/old, core:path/filepath, core:dynlib, core:time, core:testing, and core:terminal (minor changes)

Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-28 19:27:24 +02:00
gingerBill
1f50cda5d6 Merge pull request #6623 from heavyrain266/deprecate-essence
removed Essence from supported targets
2026-04-28 11:11:09 +01:00
David Bader
e06fa11a67 Fix LockFileEx and UnlockFileEx 2026-04-27 14:42:56 +02:00
Ignacy Koper
3e64a72bad removed Essence from supported targets
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-27 11:10:48 +02:00
gingerBill
a52d0280f7 Merge pull request #6525 from blob1807/win32_association_api
[win32 api] Add Reg Association API
2026-04-22 11:14:46 +01:00
gingerBill
5d75090014 Add more ntdll related timing procedures 2026-04-18 13:06:54 +01:00
blob1807
3d4ccb3ec5 Update SHGetAssocKeys; rgKeys to multipointer 2026-04-14 20:53:05 +10:00
Ignacy Koper
68c50e845f core:sys/windows: Added IoRing API bindings
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-13 14:02:42 +02:00
gingerBill
9c8199feab Merge pull request #6537 from RaphGL/freebsd-ioctl
added ioctl and stdio FILENO constants to core:sys/freebsd
2026-04-11 21:34:55 +01:00
David Bader
1cf49db865 Fix missing argument in adjtimex syscall in core:sys/linux (#6502) 2026-04-11 20:03:35 +02:00
RaphGL
f4590df071 fixed wrong fd number for stderr 2026-04-09 21:04:48 -01:00
blob1807
8c6f45ceb1 Rename FILETYPEATTRIBUTEFLAGS_Bits -> FILETYPEATTRIBUTEFLAG 2026-04-09 10:59:53 +10:00
RaphGL
33832e1f8e added ioctl and stdio FILENO constants to core:sys/freebsd 2026-04-08 13:06:53 -01:00
blob1807
adc0327bdb [win32 api] Add missed Assoc proc 2026-04-08 00:22:18 +10:00
blob1807
bb7c80f73c Fix indentation 2026-04-07 23:44:30 +10:00
blob1807
8ec71a8b46 [win32 api] Add Reg Association API 2026-04-07 23:36:38 +10:00
gingerBill
039c438af2 Fix possible utf16 out of bounds issue 2026-04-02 12:54:07 +01:00
gingerBill
1d8c44a98c Fix minor issues with Windows bindings 2026-04-02 12:52:17 +01:00
gingerBill
70c4f4bc45 Fix read_reg_string which was using the wrong size in bytes for the resulting buffer 2026-04-02 10:25:19 +01:00
gingerBill
5e6e1c1e75 Add gethostname to ws2_32.odin 2026-03-20 11:44:10 +00:00
Jeroen van Rijn
27667ce36b iff -> if and only if (⟺) 2026-03-13 11:54:15 +01:00
maximusdionyssopoulos
ac6cabd5e3 fix NSTimer scheduledTimerWithTimeInterval:repeats:block: procedure 2026-03-09 21:17:20 +11:00
bplu4t2f
4c981ad10a Fix return value of FreeLibraryAndExitThread 2026-03-02 21:21:50 +01:00
bplu4t2f
2a9c35fe3c Fix incorrect PVOID/VOID usage in some win32 signatures 2026-03-02 21:19:10 +01:00
gingerBill
7cc68da719 Merge pull request #6342 from fendevel/webgl-additions
webgl: Add bindings, fix `Tex*Image*D`
2026-03-01 13:15:56 +00:00
Jeroen van Rijn
a0b9d710f7 Merge pull request #6336 from bplu4t2f/master
Fix MultiByteToWideChar usage in utf8_to_wstring_buf
2026-02-28 13:16:39 +01:00
bplu4t2f
1e0f5a691c Fix overflow edge cases on 32-bit systems. 2026-02-28 11:39:12 +01:00
fendevel
eeb7e775f3 webgl: Add bindings, fix Tex*Image*D 2026-02-28 00:37:34 +00:00
bplu4t2f
9883e4ec29 Handle edge cases: Allocation error, extremely long input 2026-02-27 19:16:34 +01:00
Bruno
e65dcd64b8 add bindings to allow custom cursors 2026-02-27 09:54:26 -03:00
bplu4t2f
fa3441936c Fix utf8_to_utf16_alloc edge case, and improve utf8_to_* documentation 2026-02-26 20:52:00 +01:00
bplu4t2f
e75d0694ba win32 utf8_to_utf16_buf now null-terminates because _alloc did too. utf8_to_utf16_alloc no longer truncates trailing zero characters. utf8_to_wstring adjusted accordingly, including edge cases. 2026-02-26 18:14:34 +01:00
bplu4t2f
730f417ecb Fix MultiByteToWideChar usage in utf8_to_wstring_buf 2026-02-25 23:02:14 +01:00