Commit Graph

6977 Commits

Author SHA1 Message Date
Ben Ryan
e2a0f4417f Add SIO_UDP_CONNRESET winsock constant 2025-11-26 20:40:38 +11:00
bc-universe
9712624e04 Implement more Linux syscalls (#5705)
* Implement some more Linux syscalls

* Fixed typo and removed stray comments

* Correct types for some syscalls

* Fix types and add variadic argument for prctl

* flag fixes

* when x86/amd64 only

* more fixes

---------

Co-authored-by: Laytan Laats <laytanlaats@hotmail.com>
2025-11-24 12:14:17 +01:00
Phil Homan
342a7dd112 rerrange math.sign and math.sign_bit overloads 2025-11-23 11:03:37 -08:00
Phil Homan
9131bca7ba add math.sign and math.sign_bit overloads for int types 2025-11-22 13:32:21 -08:00
gingerBill
a162626f2b Use BUF_SIZE 2025-11-22 21:18:43 +00:00
Franz Hoeltermann
cd4bec0007 Increase base64 decoding table size to 256, preventing out of bounds reads 2025-11-22 12:54:36 +01:00
gingerBill
adcbfb7861 Add @(require_results) to core:simd procedures where missing 2025-11-22 09:43:40 +00:00
Karl Zylinski
c619c69bff Don't build log allocator file on freestanding. This makes core:log compile on freestanding again. Closes #5948 2025-11-21 21:19:58 +01:00
Tohei Ichikawa
b2a42ac14f Add NSWindow coordinate space conversion bindings 2025-11-18 22:38:25 -05:00
Jeroen van Rijn
56aab55d82 Fix #5931
Fix #5931 and add test case for it.
2025-11-18 15:37:57 +01:00
gingerBill
784f320e12 Fix indentation in comments 2025-11-18 12:11:29 +00:00
gingerBill
3e0f9cace6 Merge pull request #5936 from benjryan/wsa_defs
Add WSASendTo and WSARecvFrom
2025-11-16 22:25:08 +00:00
Ben Ryan
a5d9c87ac5 Add WSASendTo and WSARecvFrom 2025-11-16 23:56:54 +11:00
Brad Lewis
4267f1eb56 Fix out of bounds access when parsing end_pos 2025-11-15 19:28:31 -05:00
gingerBill
93fa00c191 Use _get_platform_error() where more appropriate 2025-11-14 21:08:32 +00:00
gingerBill
e4fcebe4bf Empty -> Unsupported 2025-11-14 11:17:38 +00:00
gingerBill
51536fecf4 Move some of the os&os2 errors into io.Error; Rename Empty to Unsupported 2025-11-14 11:08:24 +00:00
Wrath
a43cee934e LockFileEx/UnlockFileEx and related flags 2025-11-13 23:36:16 -05:00
Laytan
4bfcc5ca5f Merge pull request #5900 from laytan/another-thread-cancel-try
removes the darwin specific paths from thread_unix
2025-11-13 21:21:18 +01:00
Tohei Ichikawa
8d9806817d Fix typo in NS.String_initWithCString 2025-11-12 09:29:28 -05:00
gingerBill
ae45b8b38e Merge pull request #5903 from BNTB/master
Add FreeLibraryAndExitThread in kernel32. Add EnumProcessModules in psapi (new file).
2025-11-11 21:22:16 +00:00
Laytan
3db76bc367 sys/linux: add io uring API 2025-11-10 20:03:57 +01:00
Laytan Laats
090def7870 whoops 2025-11-08 21:30:16 +01:00
Laytan Laats
a852b6512c fix semid_ds definition on arm64 linux 2025-11-08 21:26:29 +01:00
acyclicgraph
5869ef29d9 Added FreeLibraryAndExitThread in kernel32. Added EnumProcessModules in psapi (new file). 2025-11-08 21:13:12 +01:00
Laytan Laats
0b0caab1d2 fix pthread_attr_t size on arm64 2025-11-08 20:25:56 +01:00
Laytan Laats
71afb8e7a5 removes the darwin specific paths from thread_unix
I know I left a note there about deadlocks but it doesn't seem to happen
anymore, especially now that the test runner creates cancellation points.

Also, what was this `can_set_thread_cancel_state` for? It does not make
sense to me that it enables cancellation, and then does it again later.
With the comment it seems like it should be `.DISABLE` to first disable
and then wait for the thread to start. But even that seems weird, why
do you need to do that? I removed it.
2025-11-07 21:40:25 +01:00
gingerBill
1fb60c4348 Merge pull request #5885 from mailgerigk/master
Add missing SetLayeredWindowAttributes constants
2025-11-07 13:04:39 +00:00
Jeroen van Rijn
40437b52eb Merge pull request #5895 from Neirokan/sjson_clone_ident
encoding/json: clone unquoted strings
2025-11-06 18:26:46 +01:00
Neirokan
8cdf7ade48 encoding/json: clone unquoted strings 2025-11-06 19:24:58 +03:00
Jeroen van Rijn
91409cb37e Clarify get and get_ptr in core:container/small_array.
See #5892.
2025-11-06 15:21:56 +01:00
gingerBill
fc2cb8fb39 Remove #no_copy 2025-11-05 13:44:14 +00:00
gingerBill
593d2e6daa Add #all_or_none 2025-11-05 13:30:40 +00:00
gerigk
fbbdbc37fa Add missing SetLayeredWindowAttributes constants 2025-11-04 18:22:34 +01:00
Jeroen van Rijn
f70454c237 Merge pull request #5884 from NicknEma/patch-1
Improve docs for stable sort procedures
2025-11-04 18:08:50 +01:00
gingerBill
e5153a937b Merge pull request #5859 from odin-lang/bill/change-license
Change Odin's LICENSE to zlib from BSD 3-clause
2025-11-04 13:53:13 +00:00
NicknEma
eb2630a93c Improve docs for stable sort procedures
Explain what "stable" means and add an example
2025-11-04 14:32:39 +01:00
NicknEma
7317704fd0 Fix docs on int*_max 2025-11-04 13:11:48 +01:00
gingerBill
75a2aa580d Merge pull request #5879 from mtarik34b/fix-5239
`text/scanner`: Add missing switch case for octal prefix (fixes #5239)
2025-11-04 10:51:48 +00:00
Jeroen van Rijn
64cf8a5eb9 Merge pull request #5880 from terids/core-darwin-bindings
core/sys/darwin/Foundation: Add additional AppKit bindings
2025-11-04 10:59:38 +01:00
Glenn
2951e51487 Add comma to last enums to fix build check 2025-11-03 23:16:25 +00:00
Glenn
4485a45866 Add Window_center 2025-11-03 23:05:26 +00:00
Glenn
65ee1339b9 Add View alloc 2025-11-03 23:03:33 +00:00
mtarik34b
7738f4ef9a Add missing case for octal prefix 2025-11-03 22:20:21 +01:00
Laytan
9893a0eaea encoding/cbor: fix epoch tag with small values 2025-11-03 20:33:17 +01:00
Glenn
332653ca24 Add additional window bindings 2025-11-03 18:06:43 +00:00
Glenn
916e8810cc Add orderFront and orderOut 2025-11-03 18:06:15 +00:00
Glenn
8b3d74f797 Add getter for the WindowDelegate from the Window 2025-11-03 17:54:42 +00:00
Glenn
406eb9c7f5 Add WindowCollectionBehaviour, WindowLevel, WindowTabbingMode 2025-11-03 17:28:51 +00:00
Glenn
4f939cadc3 Add RunningApplication_finishedLaunching 2025-11-03 14:29:58 +00:00