aboutsummaryrefslogtreecommitdiff
path: root/core/sys
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | 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
| |/
* | [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
|/
* 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
|
* add movefile flagswrapperup2024-04-091-1/+7
|
* Move `vendor:darwin/Foundation` to `core:sys/darwin/Foundation`gingerBill2024-04-0832-0/+3488
|
* Update "core:runtime" to "base:runtime"Lucas Perlind2024-04-071-1/+1
|
* Merge pull request #3373 from laytan/add-some-windows-wsa-symbolsgingerBill2024-04-042-15/+46
|\ | | | | add some wsa based additions to `core:sys/windows`
| * add some wsa based additions to `core:sys/windows`Laytan Laats2024-04-042-15/+46
| |
* | Merge pull request #3371 from mailgerigk/windows-seteventgingerBill2024-04-041-0/+1
|\ \ | | | | | | Add windows.SetEvent
| * | Add windows.SetEventgerigk2024-04-041-0/+1
| |/
* / Remove dead newlinegingerBill2024-04-041-1/+0
|/
* correct newly found vetsLaytan Laats2024-04-031-2/+2
|
* Fixed windows.COINIT.MULTITHREADED declaration. It's supposed to be 0 rather ↵Dragos Popescu2024-03-311-1/+16
| | | | than 3
* add MacOS 14.4.1 to sys/info and odin reportLaytan Laats2024-03-281-1/+2
|
* Merge pull request #3283 from laytan/darwin-new-wait-on-address-apigingerBill2024-03-272-0/+318
|\ | | | | darwin: use new wait on address API if possible
| * add `ODIN_` prefix to the new constantLaytan Laats2024-03-181-2/+2
| |
| * darwin: use new wait on address API if possibleLaytan Laats2024-03-152-0/+318
| |
* | update macOS releases for `core:sys/info` and `odin report`Laytan Laats2024-03-201-0/+5
|/
* Merge pull request #3272 from iansimonson/add_getrusage_darwingingerBill2024-03-142-1/+27
|\ | | | | Add getrusage syscall for mac/darwin
| * Use c.long rather than intIan Simonson2024-03-142-15/+17
| |
| * Fix __darwin_suseconds_t definitionIan Simonson2024-03-141-1/+1
| | | | | | | | | | | | __darwin_suseconds_t is defined as long which on macos 64 bit systems is equivalent to 8 bytes. It is equivalent to Odin int type _not_ i32
| * No need for timeval definitionIan Simonson2024-03-131-5/+0
| | | | | | | | | | It already existed so lets just use that rather than redeclaring it