aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Retype out the entire bindings for Orcaorca-devgingerBill2024-03-1915-2089/+1255
|
* Merge branch 'master' into orca-devgingerBill2024-03-1915-53/+140
|\
| * Update raylib to use `#row_major` matricesgingerBill2024-03-192-19/+24
| |
| * Correct matrix builtins for `#row_major`gingerBill2024-03-193-5/+12
| |
| * Add `#row_major matrix[R, C]T`gingerBill2024-03-1912-30/+105
| | | | | | | | | | As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`. This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors.
* | testgingerBill2024-03-192-4/+4
| |
* | Merge branch 'master' into orca-devgingerBill2024-03-1916-240/+481
|\|
| * Replace `gb_exit(1)` with `exit_with_errors()` where appropriategingerBill2024-03-196-13/+17
| |
| * Add `-json-errors`gingerBill2024-03-193-15/+110
| |
| * General clean-up for error.cppgingerBill2024-03-191-22/+31
| |
| * Serialize errors to make them sortable, deterministic, and generally more ↵gingerBill2024-03-1912-93/+158
| | | | | | | | control
| * Add better suggestion for [?]T mistakegingerBill2024-03-191-1/+6
| |
| * On `x: [?]T = {...}`, minimize errors by using the `[?]T` expression as a ↵gingerBill2024-03-193-14/+46
| | | | | | | | kind of hint
| * Fix error block handlinggingerBill2024-03-191-2/+4
| |
| * Minimize error propagation of bad array syntax by treating this like a typegingerBill2024-03-191-104/+116
| |
| * Add suggestion when mistyping an array backwards e.g. `T[]`gingerBill2024-03-191-1/+18
| |
* | Attempt at getting orca working somehow with the `@(link_suffix)`gingerBill2024-03-184-64/+45
| |
* | Add `@(link_suffix=<string>)`gingerBill2024-03-185-9/+79
| |
* | Add `bridge_log`gingerBill2024-03-181-0/+11
| |
* | Use `oc_bridge_log` for pseudo `_stderr_write`gingerBill2024-03-181-9/+16
| |
* | Change linker flags for orca on WindowsgingerBill2024-03-181-3/+6
| |
* | Update `_stderr_write` for orcagingerBill2024-03-181-7/+20
| |
* | Merge pull request #3293 from Skytrias/orca-targetgingerBill2024-03-1820-8/+2310
|\ \ | |/ |/| TEMP orca dev
| * distinct, const format, proper cstring parametersskytrias2024-03-184-137/+135
| |
| * push orca target and old bindingsskytrias2024-03-1820-8/+2312
| |
* | Unify "Did you mean" stringsgingerBill2024-03-181-41/+41
| |
* | Add list of C identifier suggestions (types and keywords)gingerBill2024-03-182-14/+57
| |
* | Add check to people trying to `foreign import` C files.gingerBill2024-03-182-0/+23
| |
* | Add loads of checks for common mistakes for C programmergingerBill2024-03-181-0/+18
| |
* | Add error message for C programmers which do `Foo{.x = 123}` rather than ↵gingerBill2024-03-181-10/+18
|/ | | | `Foo{x = 123}`
* Fix #3286gingerBill2024-03-181-3/+5
|
* Fix `case:` bug with by-ref unionsgingerBill2024-03-182-6/+7
|
* Fix `for x in y` where `y` is an "optional ok" value, but ignores ↵gingerBill2024-03-182-9/+19
| | | | `#optional_allocator_error` values
* Fix #3282gingerBill2024-03-161-0/+4
|
* Fix #3284gingerBill2024-03-163-0/+10
|
* 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
* | Merge pull request #3277 from kavalee/slice-unique-fixesgingerBill2024-03-141-2/+2
|\ \ | | | | | | fixed slice.unique and slice.unique_proc
| * | fixed slice.unique and slice.unique_procAaron Kavaler2024-03-131-2/+2
|/ /
* | Merge pull request #3274 from iansimonson/darwin_munmap_syscall_fixgingerBill2024-03-131-1/+1
|\ \ | | | | | | Fix syscall_munmap in darwin
| * | 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
* | | Merge pull request #3275 from Chickenkeeper/bit-set-error-message-fixgingerBill2024-03-131-2/+2
|\ \ \ | | | | | | | | Improve bit_set error message
| * | | Improve bit_set error messageChris2024-03-131-2/+2
|/ / /
* | | Merge pull request #3143 from Pariatech/cgltf-linux-buildgingerBill2024-03-132-4/+24
|\ \ \ | |/ / |/| | Adding linux & darwin makefile for cgltf
| * | Update vendor/cgltf/src/Makefile Pariatech2024-03-131-1/+1
| | | | | | | | | | | | | | | missing darwin folder Co-authored-by: Laytan <laytanlaats@hotmail.com>
| * | fix whitespaceGabriel Pariat2024-01-271-0/+1
| | |