aboutsummaryrefslogtreecommitdiff
path: root/core/sys
Commit message (Collapse)AuthorAgeFilesLines
* remove spawn from os, comment sys/posix/spawnColin Davidson2025-07-291-0/+8
|
* shuffle to Kern_ReturnColin Davidson2025-07-291-19/+19
|
* enum passColin Davidson2025-07-292-29/+112
|
* Merge remote-tracking branch 'live/master' into macharenaColin Davidson2025-07-2857-75/+95
|\
| * Merge pull request #5467 from harold-b/hb.ios-subtarget-rename-iphonegingerBill2025-07-202-16/+6
| |\ | | | | | | Rename `iOS` subtarget to `iPhone`, add `ODIN_PLATFORM_SUBTARGET_IOS`
| | * Rename `iOS` subtarget to `iPhone` for consistency.Harold Brenes2025-07-142-16/+6
| | | | | | | | | | | | | | | Add `ODIN_PLATFORM_SUBTARGET_IOS` builtin constant which evaluated to `true` when the platform is `Darwin` and the subtarget it either `iPhone` or `iPhoneSimulator`
| * | Add IUnknown UUIDconnnnal2025-07-171-2/+3
| |/
| * Replace system:System.framework imports with system:SystemHarold Brenes2025-07-1353-53/+53
| | | | | | | | This makes the linker work for both macOS and iOS targets
| * Fix #5452Jeroen van Rijn2025-07-111-4/+33
| |
* | fix tabbingColin Davidson2025-07-071-4/+0
| |
* | Merge branch 'master' into macharenaColin Davidson2025-07-0715-923/+1024
|\|
| * Fix incorrect type for FONTENUMPROCWJamie Dennis2025-07-011-1/+1
| |
| * sys/linux: Unify IPC_Flags and IPC_Mode bitsetsSunagatov Denis2025-06-242-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In #5399 it was noticed, that IPC_Mode isn't being used within SystemV IPC procedures, even though it was designed this way, which lead to a weird API where in order to call SystemV IPC procedures multiple transmutes and a bitwise-OR are needed. This unifies IPC_Mode and IPC_Flags bitsets, making it possible to call the SystemV IPC procedures without extra casts, and rearranges the flags in a way that hopefully makes it easier to see when they are not colliding and should not be mixed. The explanation, explaining this arrangement of the enum was added. The IPC_Perm structure is modified, so that the flags can be re-used between the calls. It's probably not as good as keeping them separate, but should work... hopefully. Kept the "old" style of documentation for consistency. Signed-off-by: Sunagatov Denis <thebumboni@gmail.com>
| * added IS_SUPPORTED to core:sys/posixRaphGL2025-06-213-0/+17
| |
| * Merge branch 'master' into tiocgwinsz_timeRaph2025-06-2048-1280/+3293
| |\
| | * sys/posix: Correct reference to `core:text/regex`Feoramund2025-06-201-1/+1
| | |
| | * Fix #5366Jeroen van Rijn2025-06-191-0/+4
| | |
| | * Fix `WAVEFORMATEX` struct size (#5356)David Holland2025-06-181-2/+2
| | | | | | | | | | | | | | | * fix WAVEFORMATEX struct size * fix size test for WAVEFORMATEX * pack WAVEFORMATEXTENSIBLE
| | * Added GetThreadDescription kernal32.odinPePerRoNii2025-06-171-0/+1
| | |
| | * Remove unneeded ; for essenceJeroen van Rijn2025-06-161-890/+890
| | |
| | * Factor out buffered utf helper.Jeroen van Rijn2025-06-161-4/+68
| | |
| | * add macOS Tahoe to `odin report` and `core:sys/info`Laytan Laats2025-06-141-0/+1
| | |
| | * Add `system:dl` to `foreign import` for dlfcn.odingingerBill2025-06-111-1/+4
| | |
| * | added TIOCGWINSZ to darwin, linux and freebsdRaphGL2025-06-203-0/+13
| | |
* | | Merge branch 'master' into macharenaColin Davidson2025-06-0839-316/+2100
|\ \ \ | | |/ | |/|
| * | Use idiomatic `rawptr(nil)`Feoramund2025-06-081-2/+1
| | |
| * | Work around untyped nilJeroen van Rijn2025-06-081-1/+2
| | |
| * | Removed obsolete `tz` param from `gettimeofday`Tohei Ichikawa2025-06-082-10/+2
| | |
| * | Added missing parameter to `gettimeofday`Tohei Ichikawa2025-06-082-2/+10
| | |
| * | Re-add htonl and htons for those porting from C.Jeroen van Rijn2025-06-061-1/+7
| | |
| * | Deprecate old @(deprecated) things.Jeroen van Rijn2025-06-063-15/+0
| | |
| * | Enable `odin check examples/all` for JS.Jeroen van Rijn2025-06-041-1/+1
| | |
| * | Add windows bindings to support overlapped IOBen Ryan2025-06-043-0/+16
| | |
| * | Merge pull request #5246 from RichardFevrier/masterdev-2025-06gingerBill2025-06-021-5/+10
| |\ \ | | | | | | | | Posix: Signal: add SIGWINCH support
| | * | Posix: Signal: add SIGWINCH supportRichard Février2025-05-311-5/+10
| | | |
| * | | Simplified function call to loadCstringDirectAlexander Lunsford2025-05-301-7/+3
| | | |
| * | | Fix odin.js loadCstring to use pointer address correctly.Alexander Lunsford2025-05-301-1/+1
| |/ /
| * | Add missing SEL _cmd argument to objc class_addMethod IMPsZach Clark2025-05-272-97/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When trying to grab the window pointer off the notification in a windowDidBecomeKey implementation, I kept getting segfaults calling notification->object(). The second argument of these needs to be a SEL. https://developer.apple.com/documentation/objectivec/class_addmethod(_:_:_:_:)?language=objc#Discussion I imagine existing code is getting by by setting the window information in the delegate's context userdata, which works fine when you only have one window as you can avoid needing to call notification->object(), until you want one delegate assigned to two windows, hard to work around.
| * | MAKEFOURCC: changed BYTE to byteVincent Billet2025-05-261-1/+1
| | |
| * | sys/info: populate cpu.physical_cores and cpu.logical_cores on DarwinLaytan Laats2025-05-261-0/+12
| | |
| * | HRESULT_FROM_WIN32 correctionVincent Billet2025-05-262-2/+2
| | |
| * | Merge branch 'odin-lang:master' into badaxis/Windows-Audio&WinmmVincent Billet2025-05-2611-45/+124
| |\ \
| | * | Add core/hyperthread count for Windows and Linux (#5216)Jeroen van Rijn2025-05-2511-45/+124
| | | | | | | | | | | | | | | | | | | | Add core/hyperthread count to `core:sys/info` for Windows and Linux. TODO: Linux RISCV, Linux ARM, Darwin, and the BSDs.
| * | | Retracted some winmm changesVincent Billet2025-05-221-209/+0
| | | |
| * | | Reverted CoCreateInstance formattingVincent Billet2025-05-221-1/+7
| | | |
| * | | COM & Audio useful bindingsVincent Billet2025-05-213-24/+550
| |/ /
| * | Formatting fixesKrzesimir Nowak2025-05-181-10/+10
| | |
| * | sys/linux: Improve documentation for Dirent and related proceduresKrzesimir Nowak2025-05-172-19/+51
| | |
| * | Fix -vet complaints in `core:sys/darwin/Foundation`Jeroen van Rijn2025-05-172-2/+0
| | |
| * | Add NSMenuItem.odingingerBill2025-05-171-0/+461
| | |