Commit Graph

9656 Commits

Author SHA1 Message Date
gingerBill
c83d13d0cb Fix update_expr_type behaviour, along with fixing procedure groups updating the proc expr type 2021-04-19 15:12:10 +01:00
gingerBill
f98c4d6837 Improve the Allocator interface to support returning Allocator_Error to allow for safer calls
Virtually all code (except for user-written custom allocators) should work as normal. Extra features will need to be added to make the current procedures support the `Allocator_Error` return value (akin to #optional_ok)
2021-04-19 12:31:31 +01:00
gingerBill
a4d0092b16 Remove temporary reference types 2021-04-19 11:02:09 +01:00
gingerBill
eb49b5f84a Fix override_entity_in_scope behaviour to correctly to report the changes upstream better 2021-04-19 11:01:00 +01:00
Jason Dsouza
9d949ef82e Fix potential Typo : S32 ==> I32 2021-04-19 11:41:02 +05:30
Daniel Gavin
c708f649ec Merge remote-tracking branch 'upstream/master' into prototype-fmt 2021-04-19 02:13:29 +02:00
Daniel Gavin
f7b8b3a340 ensure that the comments gets pushed if it's in the beginning before package 2021-04-18 22:06:32 +02:00
Daniel Gavin
2cbb3443d3 ran odinfmt 2021-04-18 21:53:52 +02:00
Daniel Gavin
11bd518f36 fix bugs 2021-04-18 21:52:00 +02:00
gingerBill
ae04af4e4e Add package flags 2021-04-18 20:19:03 +01:00
gingerBill
3baddd4116 Improve init_string determination for constants 2021-04-18 20:13:20 +01:00
Daniel Gavin
a721802337 fixing calls in calls 2021-04-18 21:07:58 +02:00
gingerBill
6ae468828c Improve odin-doc type information for Named types by storing the base type 2021-04-18 19:59:24 +01:00
gingerBill
b59e110fec Add calling_convention to Type 2021-04-18 19:26:36 +01:00
gingerBill
4282688e60 Add calling_convention to odin-doc Type format 2021-04-18 19:26:21 +01:00
gingerBill
9b3fb25a41 Fix enumerated arrays for .odin-doc 2021-04-18 19:15:14 +01:00
gingerBill
2ce9873464 Remove dead comment 2021-04-18 18:53:19 +01:00
gingerBill
986844a0f0 Change elem_counts to i64le from u64 2021-04-18 18:48:56 +01:00
gingerBill
7c1f538c02 Change u32 to u32le 2021-04-18 18:46:29 +01:00
gingerBill
2f1c896290 Add -doc-format command for the new .odin-doc file format (to be used to generate documentation tools) 2021-04-18 18:33:15 +01:00
Daniel Gavin
5a8c7b4f90 support multiline for and if 2021-04-16 02:15:29 +02:00
Daniel Gavin
f17fc05ff2 format call and binary expression 2021-04-16 00:44:16 +02:00
Daniel Gavin
a12db382e0 damn, ran the odinfmt with spaces instead of tabs... 2021-04-15 00:24:00 +02:00
Daniel Gavin
22daa50374 ran the odinfmt - looks good, except for multi line binary operations 2021-04-15 00:19:13 +02:00
Daniel Gavin
a09300fb0e more fixes 2021-04-15 00:11:10 +02:00
gingerBill
8827818b1d Clean-up fallback io.read_at and io.write_at behaviour 2021-04-14 21:25:46 +01:00
Daniel Gavin
bab4e5531a remove print 2021-04-14 21:53:11 +02:00
gingerBill
e19958152a Fix floattidf 2021-04-14 20:45:05 +01:00
gingerBill
05a181d719 Fix style issues; Use new attribute @(cold) where appropriate in the new sync package 2021-04-14 20:19:02 +01:00
gingerBill
d24784074c Add extra error to io.Error 2021-04-14 20:17:54 +01:00
gingerBill
cd2476e084 Add buffer_read_at buffer_write_at 2021-04-14 20:13:26 +01:00
gingerBill
ebbc33fdb5 Mockup of the new package os interface (incomplete and non-functioning) 2021-04-14 19:39:12 +01:00
Daniel Gavin
1de928df78 fixed bug in parser on when 2021-04-14 18:43:04 +02:00
gingerBill
3a4373641b Correct call site attributes 2021-04-14 17:16:10 +01:00
gingerBill
9adec628c1 Add @(cold) attribute to procedure declarations 2021-04-14 17:15:28 +01:00
Daniel Gavin
aded272b33 split stmts 2021-04-14 18:04:48 +02:00
Daniel Gavin
b0721f1e0c aligning structs now work 2021-04-14 16:31:31 +02:00
Daniel Gavin
7e90ece84a more switch alignment work 2021-04-14 16:03:36 +02:00
Daniel Gavin
1f563f2810 work on switch alignment 2021-04-14 15:34:50 +02:00
gingerBill
3e54cddf64 Merge pull request #902 from Kelimion/run_as_user
Add support to core:windows to add/delete users.
2021-04-14 12:15:30 +01:00
gingerBill
d602709133 Fix typo 2021-04-14 12:14:44 +01:00
Daniel Gavin
c46317c00b fix os error 2021-04-14 02:20:05 +02:00
Daniel Gavin
cb4b7efd3e only align comments in same indentation blocks 2021-04-14 01:57:42 +02:00
Daniel Gavin
411beaa3bf work on comments 2021-04-14 01:15:46 +02:00
Daniel Gavin
1cb3a31f32 have to sort attributes because they are not ordered by position(maybe bug on parser) 2021-04-14 00:53:34 +02:00
Daniel Gavin
c99afd04ad work 2021-04-14 00:08:09 +02:00
Daniel Gavin
3157467e4b bring over the odinfmt code 2021-04-13 23:59:40 +02:00
Daniel Gavin
2001384ae6 make sure to print comments at the end of the file 2021-04-13 23:52:23 +02:00
Daniel Gavin
b09e53d7fe now aligning comments 2021-04-13 23:42:58 +02:00
gingerBill
8e1120bc09 Fix typo 2021-04-13 19:23:12 +01:00