gingerBill
d7195b0798
Add missing commas
2022-06-13 11:12:31 +01:00
Tetralux
06884da42b
[path/filepath] Change join() to take a []string instead of varargs
...
This makes passing an allocator easier, as you no longer have to resort to
named arguments:
Before:
`join(a, b, c)` became `join(elems={a, b, c}, allocator=ally)`
After:
`join({a, b, c})` becomes `join({a, b, c}, ally)`
2022-05-21 04:48:06 +00:00
Jeroen van Rijn
e85f1dd9fb
Fix is* proc in libc.
2022-05-20 20:00:27 +02:00
gingerBill
a232c0888c
intrinsics.atomic_type_is_lock_free
2022-04-02 14:38:42 +01:00
gingerBill
9f2d710c35
Change intrinsics.Atomic_Memory_Order fields to use Ada_Case rather than snake_case
2022-03-31 12:57:24 +01:00
gingerBill
1eac3482a6
Add checks for memory ordering on fences
2022-03-31 01:01:51 +01:00
gingerBill
ba1930eb01
Update core to use new atomic intrinsics
2022-03-31 00:22:54 +01:00
gingerBill
743a461aa9
Merge pull request #1614 from semarie/openbsd-fpos_t
...
use distinct type for fpos_t on OpenBSD
2022-03-14 11:11:29 +00:00
Sébastien Marie
ca67cf032c
freebsd_amd64 support
2022-03-13 11:42:42 +00:00
Sébastien Marie
f7c8b40ea2
use distinct type for fpos_t on OpenBSD
2022-03-12 09:40:55 +00:00
Sébastien Marie
5676c9e7eb
initial OpenBSD support
2022-02-25 08:49:25 +00:00
gingerBill
f5697dd7f2
Merge branch 'master' into odin-global-constants-as-enums
2022-02-15 15:47:24 +00:00
Dale Weiler
a5e1693774
Fix fread definition
2022-01-23 03:12:59 -05:00
gingerBill
3d7d347192
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
2022-01-20 19:56:05 +00:00
gingerBill
29ebe0c3c9
Rename architecture 386 to i386
2022-01-15 17:40:00 +00:00
Tyler Erickson
8c9597b24b
add schar to core:c and core:c/libc
2022-01-04 16:45:16 -08:00
gingerBill
72862ce30d
Fix minor typo in c/frontend/preprocess
2022-01-04 11:48:18 +00:00
gingerBill
f09638318f
Add support for darwin to core:c/libc
2021-11-16 21:19:08 +00:00
gingerBill
94a27224b2
Deprecate strings.write_quoted_* in favour of io.write_quoted_*; make reflect.write_type a little more robust with io.Error handling
2021-09-29 13:42:58 +01:00
gingerBill
bfc92d0aaf
Make runtime.memset use int for the length from uint
2021-09-23 23:43:29 +01:00
Jeroen van Rijn
eb9665f836
fix mem.new_clone
2021-09-19 22:19:06 +02:00
Jeroen van Rijn
bf15e63130
Revert "Merge pull request #1177 from Kelimion/new_clone"
...
This reverts commit efa513262e , reversing
changes made to daccfca11d .
2021-09-19 22:16:02 +02:00
Jeroen van Rijn
64ce55944a
fix mem.new_clone
2021-09-19 22:10:19 +02:00
gingerBill
344abf2cb2
Make core and vendor adhere to -vet, -strict-style, and -disallow-do
2021-09-11 16:40:19 +01:00
gingerBill
b712c84afb
Fix typo
2021-09-10 16:37:43 +01:00
gingerBill
9980f81062
Add other constants to c and libc
2021-09-10 16:14:39 +01:00
gingerBill
297cdde144
Change defaults of c.int_fast16_t on other platforms
2021-09-10 16:08:39 +01:00
gingerBill
12af657369
Unify memset usage across platforms and core:c/libc
2021-09-10 15:59:14 +01:00
gingerBill
99df0f1b12
libc changes: unify c and libc types; Add [^]T where appropriate
2021-09-10 15:41:51 +01:00
gingerBill
bff66ff600
Remove unnecessary operations
2021-09-08 19:07:25 +01:00
gingerBill
0434281f73
Strip semicolons; Make odin strip-semicolon replace .. with ..= if used as a binary operator
2021-09-06 20:15:59 +01:00
gingerBill
f57201bbd1
Remove unneeded semicolons from the core library
2021-08-31 22:32:53 +01:00
gingerBill
251da264ed
Remove unneeded semicolons from the core library
2021-08-31 22:21:13 +01:00
vassvik
f9bea5b791
Updated comment for Windows version of setjmp.
2021-08-28 13:41:14 +02:00
vassvik
8ca4286624
Add core:c/libc tests
2021-08-28 13:32:32 +02:00
vassvik
165118c641
Fix runtime crash for setjmp in Windows related to an hidden second argument not normally accessible needing to be set to 0.
2021-08-28 13:32:13 +02:00
vassvik
102d080a31
Fix core:c/libc Windows compilation errors by linking to the right libraries.
...
Fix some name typos and missing types in Windows.
Add explicit cast on MB_CUR_MAX
2021-08-28 13:27:41 +02:00
Dale Weiler
791d7f764b
cleanup
2021-08-22 10:05:27 -04:00
Dale Weiler
389b50f735
libc projection
2021-08-22 09:48:34 -04:00
gingerBill
86649e6b44
Core library clean up: Make range expressions more consistent and replace uses of .. with ..=
2021-06-14 11:15:25 +01:00
gingerBill
aa93305015
Replace usage of inline proc with #force_inline proc in the core library
2021-02-23 16:14:47 +00:00
gingerBill
bf183b2c2c
Update c/frontend/preprocessor
2021-01-06 11:22:15 +00:00
gingerBill
60fe3c9ec6
Remove unused import from doc.odin
2021-01-02 16:50:24 +00:00
gingerBill
a6ce417a35
Clean up doc.odin
2021-01-02 16:44:32 +00:00
gingerBill
31c4a9d770
Add packages "core:c/frontend/tokenizer" and "core:c/frontend/preprocessor"
2021-01-02 16:36:43 +00:00
gingerBill
e92fdb4a99
x if cond else y and x when cond else y expressions
2020-03-05 20:34:30 +00:00
gingerBill
0977ac111a
Fix typo in package utf8; add wchar_t to package c
2019-10-27 08:34:20 +00:00
gingerBill
886054f0f8
Add error message for when trying to assign a type to a variable.
2019-03-22 13:55:29 +00:00
gingerBill
a99cc2fd70
Clean up import lookup code
2018-06-17 21:50:40 +01:00
gingerBill
df578d6ec5
Allow for either .odin file or directory as the initial start
2018-05-27 11:40:27 +01:00