aboutsummaryrefslogtreecommitdiff
path: root/core/sys/darwin
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Make RUsage more inline with macos man pageIan Simonson2024-03-131-19/+20
| | | | | | | | | | | | Swap to tabs to adhere to the Odin Core library standard and also rename the rusage fields to match the actual definitions from the macos bsd man pages
| * Add getrusage syscall for mac/darwinIan Simonson2024-03-132-0/+28
| | | | | | | | | | | | | | The syscall number existed but the wrapper for calling it did not. Also adds the RUsage struct to receive the data. Naming is kept the same as in sys/linux
* | Fix syscall_munmap in darwinIan Simonson2024-03-131-1/+1
|/ | | | | this was using the .mmap syscall number when it should be using the .munmap syscall number
* implement part of core foundation framework bindings for err messageLaytan Laats2024-02-133-0/+104
|
* use `Security.framework` with `SecRandomCopyBytes` for rand_bytes on darwinLaytan Laats2024-02-131-0/+24
|
* Remove `core:os` dependency for `base:runtime`gingerBill2024-01-281-1/+1
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-282-2/+2
|
* Merge branch 'master' into new-temp-allocatorgingerBill2023-02-282-49/+49
|\
| * make darwin syscalls contextlessColin Davidson2023-02-192-48/+48
| |
| * add osx supportColin Davidson2023-02-191-1/+1
| |
* | Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriategingerBill2023-02-101-0/+8
|/
* Clean up of the core library to make the stream vtables not be pointers ↵gingerBill2022-09-151-12/+21
| | | | directly.
* Convert all uses of `*_from_slice` to `*_from_bytes` where appropriategingerBill2022-05-161-1/+1
|
* use `context.temp_allocator` instead of general allocation + delete()Sébastien Marie2022-02-241-20/+10
| | | | where clone_to_cstring is used with foreign code, it is prefered to use `context.temp_allocator` instead of using the general allocator and manually delete the memory after use.
* Move Objective-C libraries located in `core:sys/darwin/*` to `vendor:darwin/*`gingerBill2022-02-1624-11056/+0
|
* Strip unneeded semicolonsgingerBill2022-02-152-40/+40
|
* Merge pull request #1482 from odin-lang/objc-intrinsicsgingerBill2022-02-1524-0/+11056
|\ | | | | Improve support Objective-C code through intrinsics and Metal API
| * Minor aesthetic clean ups of FoundationgingerBill2022-02-158-21/+7
| |
| * Add README.mdgingerBill2022-02-151-0/+155
| |
| * Add utility calls for creating buffers from slicesgingerBill2022-02-151-1/+12
| |
| * Minor changes to method names on NS.StringgingerBill2022-02-141-4/+4
| |
| * Change objc_class_name to objc_name with objc_is_class_methodgingerBill2022-02-1415-150/+150
| |
| * Minor style changegingerBill2022-02-141-9/+9
| |
| * Fix method namesgingerBill2022-02-141-2/+2
| |
| * Improve Texture method namesgingerBill2022-02-141-25/+25
| |
| * Correct more method typesgingerBill2022-02-141-6/+6
| |
| * Add RenderPipeline missing types and methodsgingerBill2022-02-141-6/+72
| |
| * Correct Render Pass typesgingerBill2022-02-141-11/+11
| |
| * Improve draw method names on RenderCommandEncodergingerBill2022-02-141-24/+24
| |
| * RasterizationRate improvementsgingerBill2022-02-141-13/+13
| |
| * More improvementsgingerBill2022-02-141-2/+2
| |
| * Improve Library related stuffgingerBill2022-02-141-6/+6
| |
| * Improve indirect stuffgingerBill2022-02-141-8/+8
| |
| * Improve many methods with WithDescriptor suffixesgingerBill2022-02-141-58/+60
| |
| * Correct `device()` usagegingerBill2022-02-141-24/+24
| |
| * Improve procedure signature and namesgingerBill2022-02-142-91/+94
| |
| * Correct Depth classesgingerBill2022-02-141-2/+2
| |
| * Correct Counter classesgingerBill2022-02-141-2/+2
| |
| * Improve Compute classesgingerBill2022-02-141-40/+40
| |
| * Improve ComputeCommandEncodergingerBill2022-02-141-25/+21
| |
| * Improve CommandEncodergingerBill2022-02-141-2/+2
| |
| * Improve CommandBuffergingerBill2022-02-141-10/+20
| |
| * Correct CaptureScopegingerBill2022-02-141-4/+4
| |
| * Update Capture Manager classesgingerBill2022-02-141-6/+6
| |
| * Improve BuffergingerBill2022-02-141-2/+13
| |
| * Correct Blit PassgingerBill2022-02-141-3/+3
| |