aboutsummaryrefslogtreecommitdiff
path: root/core/sys
Commit message (Collapse)AuthorAgeFilesLines
* fix `DNS_RECORD.Data` error align on windows i386zhylmzr2024-11-271-1/+1
| | | | fixed: https://github.com/odin-lang/Odin/issues/4520
* sys/info & odin report: rework macos version retrievalLaytan Laats2024-11-265-571/+282
|
* add macos 15.1.1 to odin report and sys/infoLaytan Laats2024-11-261-0/+2
|
* sys/posix: add MAP_ANONYMOUSLaytan Laats2024-11-171-9/+13
|
* add missing macos versionLaytan Laats2024-11-161-0/+15
|
* Merge pull request #4489 from laytan/os2-dir-leak-and-testgingerBill2024-11-151-9/+25
|\ | | | | os2: fix leak in dir_windows, fix netbsd, and add a test for dir reading
| * sys/posix: fix dirfd on netbsdLaytan Laats2024-11-151-9/+25
| |
* | Fix integer typeNicknEma2024-11-151-1/+1
|/ | | Change int to i32 so it is the correct size
* Merge pull request #4482 from A1029384756/mastergingerBill2024-11-144-3/+94
|\ | | | | core:sys/linux - implemented inotify
| * core:sys/linux - prefixing + moved IN_CLOSE/IN_MOVE to constantsA10293847562024-11-132-38/+46
| |
| * core:sys/linux - flags, spacing, inotify_initA10293847562024-11-134-23/+37
| |
| * core:sys/linux - fixed vet errorsA10293847562024-11-132-2/+2
| |
| * core:sys/linux - implemented inotifyA10293847562024-11-134-3/+72
| | | | | | | | core:sys/linux - added constants and spacing
* | Use tabs instead of spacesAlex Overstreet2024-11-131-10/+10
| |
* | Add STICKYKEYS, TOGGLEKEYS, and FILTERKEYSAlex Overstreet2024-11-131-0/+61
| |
* | Add NSApplication bindings for `mainWindow` and `keyWindow`Sebastian Pahnke2024-11-131-0/+10
|/
* Increase size of JS keyboard event key/code buffer sizep2jason2024-11-122-4/+4
|
* added unlinking section to posix socket binding documentationA10293847562024-11-061-0/+6
|
* Mark procs as "contextless" in winerror.odinNicknEma2024-11-041-7/+7
| | | So that they can be called from places like the windproc and stuff.
* Merge pull request #4415 from p2jason/masterLaytan2024-11-011-14/+17
|\ | | | | Remove the event queue from odin.js and directly invoke callbacks so they are executed in context where prevent default is possible
| * Removed event hook callback from add_*_event_listener functionsp2jason2024-10-311-18/+4
| |
| * Removed event queue from add_*_event_listener JS functions and added event ↵p2jason2024-10-312-35/+43
| | | | | | | | hook callback
| * Changed boolean parameters to bit set in the add_*_event_listener functionsp2jason2024-10-251-6/+6
| |
| * Added parameters to the add_*_event_listener JS functions for stopping event ↵p2jason2024-10-242-11/+20
| | | | | | | | behavior
* | fix tabsLaytan Laats2024-11-011-15/+15
| |
* | fix thread_unix for Darwin after pthread corrections in posix packageLaytan Laats2024-10-301-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afed3ce removed the sys/unix package and moved over to sys/posix, it has new bindings for the pthread APIs but should have been equivalent (not). 8fb7182 used `CANCEL_ENABLE :: 0`, `CANCEL_DISABLE :: 1`, `CANCEL_DEFERRED :: 0`, `CANCEL_ASYNCHRONOUS :: 1` for Darwin, while the correct values are `1`, `0`, `2` and `0` respectively (same mistake was made for FreeBSD in that commit). What this meant is that the `pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS)` was not actually successful, but because the error wasn't checked it was assumed it was. It also meant `pthread_setcancelstate(PTHREAD_CANCEL_ENABLE)` would actually be setting `PTHREAD_CANCEL_DISABLE`. The code in this PR restores the behaviour by now actually deliberately setting `PTHREAD_CANCEL_DISABLE` and not setting `PTHREAD_CANCEL_ASYNCHRONOUS` which was the previous behaviour that does actually seem to work for some reason. (I also fixed an issue in fmt where `x` would use uppercase if it was a pointer.)
* | Merge pull request #4427 from laytan/posix-additionsgingerBill2024-10-3064-1489/+1143
|\ \ | | | | | | Finish sys/posix with Linux and partial Windows support & clean up other packages as a result
| * | fix testLaytan2024-10-282-5/+8
| | |
| * | port pthread_mutex_t and pthread_cond_t from sys/unix cause miniaudio wants itLaytan2024-10-281-4/+44
| | |
| * | remove pthread from sys/unix and use sys/posix where usedLaytan2024-10-288-716/+5
| | |
| * | sys/posix: impl rest of linux, impl some of WindowsLaytan Laats2024-10-2856-769/+1091
| | |
* | | sys/wasm/js: add `set_element_style`Laytan Laats2024-10-262-0/+12
| |/ |/|
* | Merge pull request #4335 from colrdavidson/datetime_tzJeroen van Rijn2024-10-221-0/+14
|\ \ | |/ |/| Add Timezone Support to Odin
| * Initial cut of timezonesColin Davidson2024-10-091-0/+14
| |
* | Merge pull request #4376 from Barinzaya/sysinfo-avx512Laytan2024-10-161-1/+46
|\ \ | | | | | | core:sys/info AVX-512 CPU Features
| * | Renamed and trimmed AVX-512 features in sys/info.Barinzaya2024-10-151-36/+32
| | | | | | | | | | | | Removed underscores from the AVX-512 names in `CPU_Feature` to make them match their equivalent LLVM target features. Removed 4FMAPs and 4VNNIW as there aren't matching LLVM target features.
| * | Fixed a theoretical edge case in AVX512VL support detection.Barinzaya2024-10-141-1/+5
| | |
| * | Fixed formatting.Barinzaya2024-10-141-4/+4
| | |
| * | Added AVX-512 feature detection to core:sys/info.Barinzaya2024-10-141-1/+46
| | |
* | | add macos 15.0.1 to odin report and core/sys/infoLaytan Laats2024-10-141-0/+1
|/ /
* | Merge pull request #4118 from andradei/posix-linuxLaytan2024-10-1335-312/+1356
|\ \ | | | | | | Linux POSIX support
| * | review/correct/cleanup posix linux PRLaytan2024-09-3015-343/+276
| | |
| * | Fix O_Flag_Bits.EXEC for non Linux platforms on posix/fcntl.Isaac Andrade2024-09-211-3/+1
| | |
| * | Move bit set creation to compiler guard. Fix indentation on posix/sys_sem.Isaac Andrade2024-09-212-5/+8
| | |
| * | Resolve bit set differences between linux and other platforms in posix/fcntlIsaac Andrade2024-09-211-46/+106
| | |
| * | Satisfy the compiler.Isaac Andrade2024-09-211-1/+1
| | |
| * | Rename sigaction duplicate type to sigaction_t on linux, following other ↵Isaac Andrade2024-09-211-1/+3
| | | | | | | | | | | | platforms.
| * | Implement POSIX pthread, signal, sys/resource, unistd for Linux.Isaac Andrade2024-09-214-64/+438
| | |
| * | Fix bit flags on fcntl linux POSIX implemention. Add sys/sem linux ↵Isaac Andrade2024-09-152-2/+37
| | | | | | | | | | | | implementation.
| * | Implement Linux POSIX compliance for poll, sched, sys/select. Fix enum in fcntl.Isaac Andrade2024-09-144-10/+10
| | |