Commit Graph

6127 Commits

Author SHA1 Message Date
Laytan Laats
80d09774b4 fix not using RTLD_LOCAL on darwin 2025-02-06 19:15:12 +01:00
gingerBill
919e9a82e7 Merge pull request #4774 from Goldenlion5648/typo-correction-in-rand
fix typo in float32_range doc string
2025-02-05 11:59:59 +00:00
gingerBill
861a99cdc5 Merge pull request #4791 from roccoblues/ds/io-docs
`core:io` small documentation fixes
2025-02-05 11:59:17 +00:00
Dennis Schön
fbf536f465 core:io small documentation fixes 2025-02-04 21:27:44 +01:00
Jacob Friedman
385f5f5014 Small optimization 2025-02-04 19:51:48 +01:00
Jacob Friedman
4c0b145bad Fix unicode handling 2025-02-04 15:49:23 +01:00
Jacob Friedman
239c511ce9 Fix strings.split_iterator when separator is empty 2025-02-04 15:09:12 +01:00
gingerBill
0e1c89e99b Merge pull request #4781 from NotKyon/master
Add miscellaneous missing WinAPI functions, constants, and structures (comctl32, user32, uxtheme)
2025-02-03 08:15:34 +00:00
gingerBill
dc7cd21986 Merge pull request #4782 from Daxode/nsstring-appendingstring
Add stringByAppendingString to NSString
2025-02-02 07:01:16 +00:00
daniel.andersen
c8a537aad9 Add stringByAppendingString to NSString 2025-02-02 03:26:07 +01:00
NotKyon
bdf2a587c3 Add miscellaneous missing WinAPI functions, constants, and structures for comctl32, user32, and ux_theme. 2025-02-01 16:17:28 -08:00
gingerBill
539a74c2a9 Fix bindings for sys/linux and posix/unistd.odin 2025-01-31 08:37:43 +00:00
gingerBill
f6001e1b0c Merge pull request #4775 from duffn/duffn/nssavepanel-tabs
Fix tab indents in NSSavePanel
2025-01-31 07:31:52 +00:00
candtechsoftware
97db18c09a Added IP_ADD_MEMBERSHIP Socket Option on Linux 2025-01-29 23:12:32 -05:00
duffn
af63db5075 Fix tab indents in NSSavePanel 2025-01-29 16:06:19 -07:00
Colter
d5d900e292 fix typo in float32_range doc string 2025-01-29 12:20:07 -05:00
gingerBill
0e27acd755 Update NSSavelPanel 2025-01-28 11:38:06 +00:00
Jeroen van Rijn
e7cf6c3275 Merge pull request #4769 from Kelimion/mdns
Add tentative mDNS/Bonjour/Avahi query support to `net.resolve`
2025-01-27 23:11:53 +01:00
Jeroen van Rijn
cc29bdaefc Simplify *nix mDNS 2025-01-27 23:04:15 +01:00
Jeroen van Rijn
8998d74a92 Add mDNS for *nix. 2025-01-27 22:55:48 +01:00
Jeroen van Rijn
d85c2c1ca7 Add mDNS/Bonjour/Avahi (.local) support for Windows 2025-01-27 22:16:24 +01:00
Laytan Laats
34aa326d99 put FILE in core:c and use that in bindings to fix wasm 2025-01-27 19:00:04 +01:00
gingerBill
945f9acedd Merge pull request #4764 from samuelgozi/fix-send-missing-flags
Pass flags down from `os.send` in darwin and linux
2025-01-27 09:59:30 +00:00
gingerBill
2e64cf7ef5 Merge pull request #4751 from Barinzaya/arena-grow-in-place
Grow-in-place for some arenas
2025-01-27 09:59:09 +00:00
Samuel Elgozi
61f02d9f49 pass flags down from os.send in darwin and linux 2025-01-26 14:03:45 +02:00
gingerBill
6572a52a84 Merge pull request #4743 from starlitcanopy/fix-matrix-mul
Fix 2x2 matrix inverses in specific.odin
2025-01-25 08:35:46 +00:00
Barinzaya
98b3a9eacd Added support for growing in place to some arenas.
This affects `runtime.Arena` and `virtual.Arena`, but not currently
`mem.Arena`. These changes allow the last allocation that has been
made to be resized to a larger size by just extending their
allocation in-place, when there's sufficient room in the memory block to
do so.

Shrinking in place and re-using the rest of the allocation can be
supported using almost the same logic, but would require the memory to
be zeroed. Since this would add a additional cost that isn't currently
present, shrinking has not been changed.
2025-01-24 10:13:46 -05:00
gingerBill
3a13c598e2 Merge pull request #4733 from laytan/get-executable-path
os/os2: add get_executable_path and get_executable_directory
2025-01-24 13:09:10 +00:00
gingerBill
13a2a29b90 Merge pull request #4730 from laytan/os2-linux-loop-writes-and-cap-rw
os/os2: bring Linux to other impls standards by looping writes and maxing one shot RW sizes
2025-01-24 13:03:29 +00:00
gingerBill
1a7d2ca2e1 Merge pull request #4745 from flysand7/fmt-sign-pad
Fix the '+' sign placement in the presence of '0'-padding
2025-01-24 13:01:43 +00:00
flysand7
7127992625 Fix the '+' sign placement in the presence of '0'-padding 2025-01-24 08:36:01 +11:00
prescientmoon
5a29e80bc3 Fix 2x2 matrix inverses in specific.odin 2025-01-23 05:56:27 +01:00
Laytan Laats
d54de6704a os/os2: use proc_pidpath for executable path on darwin 2025-01-22 18:40:06 +01:00
wrathdoesthat
57b8da79f4 Add GetTempFileNameW 2025-01-22 04:33:33 -05:00
Laytan Laats
f1b0b19710 os/os2: get_executable_path and working directory on wasi 2025-01-21 19:14:15 +01:00
Laytan Laats
b673642412 os/os2: add get_executable_path and get_executable_directory 2025-01-21 18:54:45 +01:00
gingerBill
223970671f Merge pull request #4716 from laytan/os2-wasi
os/os2: wasi target support
2025-01-21 13:08:04 +00:00
NicknEma
55abf61836 Add ACTCTX definition and procs 2025-01-21 10:55:39 +01:00
Laytan
68653081be Merge pull request #4732 from zen3ger/os2-process-incorrect-working-dir
os/os2: Properly update CWD on Linux when using _process_start()
2025-01-21 00:07:32 +01:00
Roland Kovacs
f6ead2e777 os/os2: Linux _process_start() write back error on fchdir failure 2025-01-20 23:31:13 +01:00
Roland Kovacs
ac30d36206 os/os2: Properly update CWD on Linux when using _process_start()
The `dir_fd` argument to `execveat()` is not for setting the current working
directory. It is used to resolve relative executable paths, hence explicit
`chdir/fchdir` call is required to set CWD.
2025-01-20 22:34:49 +01:00
Laytan Laats
bf58107402 os/os2: bring Linux to other impls standards by looping writes and maxing one shot RW sizes 2025-01-20 20:15:03 +01:00
Laytan Laats
a5f3c1b849 container/queue: fix init_with_contents
Fixes #4729
2025-01-20 19:51:46 +01:00
gingerBill
70257c846e Merge pull request #4707 from samuelgozi/add-Foundation-bindings
Added Foundation bindings
2025-01-20 14:42:27 +00:00
dozn
dfd826ed86 Fix Times Which Support DST on Windows 2025-01-20 03:57:36 -08:00
jason
27998e0d21 os2/heap_linux point to runtime._heap_allocator_proc 2025-01-19 06:05:55 -05:00
Laytan Laats
5622fb583c math/rand: add @(require_results) to create 2025-01-18 22:52:13 +01:00
Laytan
6f24eb87c0 Merge pull request #4697 from JamesDSource/master
Allow captures in gfind and gmatch to be used in-loop
2025-01-18 22:36:19 +01:00
Laytan Laats
e4892f1bb2 os/os2: wasi target support 2025-01-18 22:23:44 +01:00
Samuel Elgozi
0f12618642 fix incorrect use of Bool 2025-01-18 21:08:54 +02:00