gingerBill
fdc48a242d
Retype out the entire bindings for Orca
2024-03-19 22:36:56 +00:00
gingerBill
5714ea4ea3
Merge branch 'master' into orca-dev
2024-03-19 21:25:29 +00:00
gingerBill
cd7137af60
Update raylib to use #row_major matrices
2024-03-19 21:16:04 +00:00
gingerBill
18fb665bf6
Correct matrix builtins for #row_major
2024-03-19 21:15:47 +00:00
gingerBill
a750fc0ba6
Add #row_major matrix[R, C]T
...
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.
2024-03-19 21:05:23 +00:00
gingerBill
9d9b190ada
test
2024-03-19 18:20:15 +00:00
gingerBill
83dcce9a58
Merge branch 'master' into orca-dev
2024-03-19 17:02:01 +00:00
gingerBill
433109ff52
Replace gb_exit(1) with exit_with_errors() where appropriate
2024-03-19 16:29:45 +00:00
gingerBill
ba428fecdb
Add -json-errors
2024-03-19 16:25:09 +00:00
gingerBill
17cc7a2c5e
General clean-up for error.cpp
2024-03-19 15:42:59 +00:00
gingerBill
9a2fc6cf4c
Serialize errors to make them sortable, deterministic, and generally more control
2024-03-19 15:34:29 +00:00
gingerBill
8ff788f4ff
Add better suggestion for [?]T mistake
2024-03-19 13:38:13 +00:00
gingerBill
80ecf5b68a
On x: [?]T = {...}, minimize errors by using the [?]T expression as a kind of hint
2024-03-19 13:32:37 +00:00
gingerBill
5159f30c9c
Fix error block handling
2024-03-19 13:10:35 +00:00
gingerBill
d5daa9fda5
Minimize error propagation of bad array syntax by treating this like a type
2024-03-19 13:05:28 +00:00
gingerBill
89315986d4
Add suggestion when mistyping an array backwards e.g. T[]
2024-03-19 12:37:11 +00:00
gingerBill
cc62773a05
Attempt at getting orca working somehow with the @(link_suffix)
2024-03-18 22:47:57 +00:00
gingerBill
75f40b4078
Add @(link_suffix=<string>)
2024-03-18 22:30:14 +00:00
gingerBill
1f2d2b0289
Add bridge_log
2024-03-18 22:13:00 +00:00
gingerBill
08bd7a6018
Use oc_bridge_log for pseudo _stderr_write
2024-03-18 22:12:19 +00:00
gingerBill
24d5a5c9b3
Change linker flags for orca on Windows
2024-03-18 21:51:27 +00:00
gingerBill
14dc0e3ca7
Update _stderr_write for orca
2024-03-18 21:51:13 +00:00
gingerBill
64e0092cca
Merge pull request #3293 from Skytrias/orca-target
...
TEMP orca dev
2024-03-18 21:40:15 +00:00
gingerBill
ec9ac59323
Unify "Did you mean" strings
2024-03-18 21:37:40 +00:00
skytrias
ba46b0a535
distinct, const format, proper cstring parameters
2024-03-18 22:32:16 +01:00
skytrias
bca4c37f02
push orca target and old bindings
2024-03-18 22:09:17 +01:00
gingerBill
97be7feb99
Add list of C identifier suggestions (types and keywords)
2024-03-18 17:32:26 +00:00
gingerBill
00344e1323
Add check to people trying to foreign import C files.
2024-03-18 16:56:01 +00:00
gingerBill
009b6f44e3
Add loads of checks for common mistakes for C programmer
2024-03-18 15:18:10 +00:00
gingerBill
ebd3065aa2
Add error message for C programmers which do Foo{.x = 123} rather than Foo{x = 123}
2024-03-18 14:17:13 +00:00
gingerBill
6cb74b63ec
Fix #3286
2024-03-18 12:39:34 +00:00
gingerBill
effc71ca43
Fix case: bug with by-ref unions
2024-03-18 12:20:53 +00:00
gingerBill
43d695a990
Fix for x in y where y is an "optional ok" value, but ignores #optional_allocator_error values
2024-03-18 11:21:06 +00:00
gingerBill
19eb2a8890
Fix #3282
2024-03-16 22:24:34 +00:00
gingerBill
3875fb08e8
Fix #3284
2024-03-16 22:12:17 +00:00
gingerBill
04f0fbf23a
Merge pull request #3272 from iansimonson/add_getrusage_darwin
...
Add getrusage syscall for mac/darwin
2024-03-14 19:45:25 +00:00
gingerBill
51d6a254cf
Merge pull request #3277 from kavalee/slice-unique-fixes
...
fixed slice.unique and slice.unique_proc
2024-03-14 19:40:18 +00:00
Ian Simonson
835effdef1
Use c.long rather than int
2024-03-14 09:36:57 -07:00
Ian Simonson
c7bec2962e
Fix __darwin_suseconds_t definition
...
__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
2024-03-14 07:21:26 -07:00
Aaron Kavaler
ac634acd4b
fixed slice.unique and slice.unique_proc
2024-03-13 19:19:31 -07:00
Ian Simonson
34c4389d75
No need for timeval definition
...
It already existed so lets just use that rather than
redeclaring it
2024-03-13 14:58:56 -07:00
Ian Simonson
8917a7ef88
Make RUsage more inline with macos man page
...
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
2024-03-13 14:51:17 -07:00
gingerBill
45d5066029
Merge pull request #3274 from iansimonson/darwin_munmap_syscall_fix
...
Fix syscall_munmap in darwin
2024-03-13 20:17:31 +00:00
gingerBill
b47eeac414
Merge pull request #3275 from Chickenkeeper/bit-set-error-message-fix
...
Improve bit_set error message
2024-03-13 20:17:06 +00:00
Chris
5cc936245c
Improve bit_set error message
2024-03-13 19:50:41 +00:00
gingerBill
e68d3c8bbc
Merge pull request #3143 from Pariatech/cgltf-linux-build
...
Adding linux & darwin makefile for cgltf
2024-03-13 17:47:18 +00:00
Ian Simonson
d7b1901b16
Fix syscall_munmap in darwin
...
this was using the .mmap syscall number when it should be
using the .munmap syscall number
2024-03-13 10:39:50 -07:00
gingerBill
97d6bf6d8f
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-03-13 16:30:28 +00:00
gingerBill
271f84ab5b
Expect stream as a field directly on os2.File
2024-03-13 16:30:22 +00:00
gingerBill
75b60fdb12
Merge pull request #3273 from Chickenkeeper/mutex-allocator-fix
...
Make Mutex_Allocator use Ada_Case
2024-03-13 15:45:52 +00:00