aboutsummaryrefslogtreecommitdiff
path: root/core/sys
Commit message (Collapse)AuthorAgeFilesLines
* PR#3655 - small linter issue correctionErik Isidore2024-05-301-1/+1
|
* core:sys/linux - Add support for Unix Domain Socket addressesErik Isidore2024-05-302-0/+14
|
* Fix typesgingerBill2024-05-241-2/+2
|
* Fix enum definition for `bit_set` usegingerBill2024-05-241-10/+4
|
* Merge branch 'master' into netbsdAndreas T Jonsson2024-05-134-24/+793
|\
| * Merge pull request #3506 from IllusionMan1212/windows-hidgingerBill2024-05-103-24/+791
| |\ | | | | | | core/sys/windows: added various procedures and constants for the hid library
| | * core/sys/windows: added various procedures and constants related to the hid ↵IllusionMan12122024-05-073-24/+791
| | | | | | | | | | | | library
| * | Merge pull request #3560 from wschiefer/add-more-win32-console-apisgingerBill2024-05-101-0/+2
| |\ \ | | | | | | | | Add more win32 console APIs
| | * | Add more win32 console APIsWaldemar Schiefer2024-05-091-0/+2
| | | |
* | | | Minor code cleanupAndreas T Jonsson2024-05-101-1/+1
| | | |
* | | | Merge branch 'master' into netbsdAndreas T Jonsson2024-05-104-34/+53
|\| | |
| * | | fix a couple of -vet-style failures after ↵Laytan2024-05-091-15/+15
| |/ / | | | | | | | | | f54977336b27c32eab52b77d94e7b1610f4350cf
| * | sys/linux: Pass size to epoll_createHiroaki Nakamura2024-05-061-1/+1
| | | | | | | | | | | | | | | Without this fix, you can see a random size value is passed to epoll_create by using strace.
| * | Merge pull request #3536 from laytan/linux-fix-open-bitsgingerBill2024-05-051-16/+35
| |\ \ | | | | | | | | sys/linux: fix open bits
| | * | sys/linux: fix open bitsLaytan Laats2024-05-051-16/+35
| | | |
| * | | Merge pull request #3528 from laytan/fix-some-sync-issuesgingerBill2024-05-031-2/+2
| |\ \ \ | | |/ / | |/| | Fix some sync issues
| | * | darwin: fix minimum os version check not being inclusiveLaytan Laats2024-05-021-2/+2
| | |/
* | | Fixed invalid alignmentAndreas T Jonsson2024-05-101-9/+9
| | |
* | | Merged with masterAndreas T Jonsson2024-05-0217-115/+397
|\| |
| * | [sys/linux]: Fix bit numbers for open flagsflysand72024-05-011-18/+21
| | |
| * | sys/info: add missing `@(private)`'sLaytan Laats2024-04-305-5/+5
| | |
| * | sys/info: update doc.odinLaytan Laats2024-04-301-12/+15
| | |
| * | sys/info: retrieve better CPU description on DarwinLaytan Laats2024-04-301-6/+21
| | | | | | | | | | | | | | | Previously either `ARM` or `ARM64`, now you get something like `Apple M1`
| * | sys/info: add feature detection for Darwin and Linux ARMLaytan Laats2024-04-303-14/+206
| | |
| * | sys/info: improve platform_linuxLaytan Laats2024-04-301-45/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. fix the `linux.open` call, passing `{ .RDONLY }` becomes `0x00000001` while `RDONLY` is supposed to be `0x00000000` 2. fix the case where `/etc/os-release` starts with `PRETTY_NAME` `strings.index` was used but was checking `> 0` while `0` is valid 3. remove unneccesary temporary allocations 4. simplify the logic
| * | sys/info: remove unneccesary build tagsLaytan Laats2024-04-305-5/+0
| | |
| * | sys/unix: add sysctlbyname for darwinLaytan Laats2024-04-301-9/+18
| | |
| * | sys/darwin: fix sysctl and sysctlbyname syscallsLaytan Laats2024-04-301-3/+3
| | |
| * | sys/info: add easy way of getting the MacOS versionLaytan Laats2024-04-302-4/+11
| |/
| * Keep -vet happygingerBill2024-04-281-1/+1
| |
| * Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2024-04-281-0/+1
| |\
| | * Add SetMenuYunky2024-04-271-0/+1
| | |
| * | Add stack frame procedures for `core:sys/windows`gingerBill2024-04-283-0/+44
| |/
* | Added missing core:sys/info package for NetBSDAndreas T Jonsson2024-04-262-4/+52
| |
* | Merge branch 'master' into netbsdAndreas T Jonsson2024-04-2510-204/+719
|\|
| * sys/darwin/foundation: fix Application->sendEvent signatureLaytan Laats2024-04-241-1/+1
| |
| * Merge pull request #3434 from flysand7/sys-linux-fixesgingerBill2024-04-151-4/+4
| |\ | | | | | | [sys/linux]: Fix syscall calls for open and fstat
| | * [sys/linux]: Fix syscall calls for open and fstatflysand72024-04-151-4/+4
| | |
| * | Merge pull request #3428 from mgavioli/fix_core_docsgingerBill2024-04-151-64/+64
| |\ \ | | | | | | | | Fix the format of some `doc.odin` files of the `core` library…
| | * | Fix the format of some `doc.odin` files of the `core` library which did not ↵Maurizio M. Gavioli2024-04-141-64/+64
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made into the documentation. `c/frontend/tokenizer`: add proper "Example:" header to demo example code, removed empty lines. `container/bit_array`: moved comment before package; aligned narrative lines to left margin; converted case lines into bulleted lines ("- "); converted individual examples to single-tab-indented preformatted text. `dynlib`: removed "//+build ignore" line; added newline at EOF. `image/netpmb`: converted indented lines of "Reading", "Wrting" and "Some syntax..." into bulleted lists; "Formats" indented lines kept as they are as the preformatted text seems relevant to keep the alignments; doubly indented lines kept as single-indented to keep them different (as the format does not allow for two-level bulleted lists); removed empy lines. `os/os2`: WIP, not modified `sys/info`: removed "//+build ignore" line; converted tab-indented initial description into regular left-margin comment; moved uncommented sample code within the doc comment as an "Example:"; moved simple- and double-tabbed separate comments with sample Windows and macOS outputs within the doc comment as bulleted headlines with preformatted output listings; removed now empty comments and blank lines after the package line. `text/i18n`: removed "//+build ignore" line; moved the pacakge line at the end; de-indented the tab-indented introductory narrative; moved sample code comments into the doc comment as tab-indented code with a proper "Example:" heading; removed "```" MD attempts at code formatting. `text/table`: unindented the comment lines of a descriptive kind; headlines of major subdivisions are marked as bold; kept code samples as tab-indented preformatted text (as there are several of them, the standard "Example:" and "Output:" headings cannot be used) removing the "```" MD attempts at code formatting; removed in-between blank lines.
| * / [sys/linux]: Fix signature on wait4 syscallflysand72024-04-151-2/+2
| |/
| * Core Foundation and Security vendor libraries.Vitalii Kravchenko2024-04-137-133/+648
| |
* | Switched to native futex on NetBSDAndreas T Jonsson2024-04-252-30/+3
| |
* | Make the linter happyAndreas T Jonsson2024-04-191-11/+10
| |
* | More std lib fixesAndreas T Jonsson2024-04-191-2/+2
| | | | | | | | Just selecting the same codepath as other BSD's for the most part.
* | Updated core lib and did cleanupAndreas T Jonsson2024-04-181-2/+2
| | | | | | | | | | Updated core with some path related functions and did some minor code cleanup. Most of the standard library function is just a matter of copy what is there for the other BSDs.
* | Fixed link warningsAndreas T Jonsson2024-04-172-13/+19
| | | | | | | | Hardlink libc functions to the correct version on NetBSD 10 since we do not use the micro-magic from C.
* | Initial commit of NetBSD portAndreas T Jonsson2024-04-164-3/+138
|/
* add movefile flagswrapperup2024-04-091-1/+7
|
* Move `vendor:darwin/Foundation` to `core:sys/darwin/Foundation`gingerBill2024-04-0832-0/+3488
|