Commit Graph

3498 Commits

Author SHA1 Message Date
gingerBill
806f56ca38 Remove debug string 2023-02-17 13:04:09 +00:00
gingerBill
210f47b8ab Merge branch 'master' of https://github.com/odin-lang/Odin 2023-02-15 11:32:02 +00:00
gingerBill
94c1331c07 Implement @(fini) (opposite of @(init)) 2023-02-15 11:31:51 +00:00
Colin Davidson
df58a00564 fix errno/signatures 2023-02-14 18:43:48 -08:00
Colin Davidson
d546677ae7 fix typo 2023-02-14 18:39:09 -08:00
Colin Davidson
04b1023988 make file access a little more normal across platforms 2023-02-14 18:34:03 -08:00
gingerBill
8ddb493b96 Add #optional_allocator_error to make_map 2023-02-14 10:28:04 +00:00
gingerBill
162628000f Calculate the size needed before allocating 2023-02-10 11:55:08 +00:00
gingerBill
55b79c078c Remove := context.allocator usage in package os2 2023-02-10 11:46:29 +00:00
gingerBill
6179d4feb1 Rename to Type_Info_Parameters 2023-02-08 11:23:21 +00:00
hikari
854a95327a Updated documentation to reflect changes from commit 8a16fd7 2023-02-08 12:24:10 +02:00
gingerBill
7bbcf22deb Remove dead code (sort/map.odin) 2023-02-05 18:33:53 +00:00
gingerBill
802333e454 Fix arena.free_all 2023-02-03 12:40:52 +00:00
gingerBill
4cb16db4e9 Remove @(require_results) from one procedure 2023-01-30 12:51:56 +00:00
gingerBill
338d483682 Merge branch 'master' of https://github.com/odin-lang/Odin 2023-01-30 11:58:39 +00:00
gingerBill
8d43cc840a Add @(require_results) to package reflect 2023-01-29 11:28:05 +00:00
Hyp-X
a3bb7d3028 Fix decimal_to_float_bits for floats >= 1 2023-01-28 14:40:44 +01:00
gingerBill
c45ca1bfcc Correct arena_temp_end usage when no allocation ever happens for that arena 2023-01-28 12:09:24 +00:00
gingerBill
8d6ce0b693 Add mutex to virtual.Arena; add virtual.arena_temp_ignore 2023-01-28 11:51:58 +00:00
gingerBill
96eae94103 Merge branch 'master' of https://github.com/odin-lang/Odin 2023-01-27 11:12:17 +00:00
gingerBill
db8b2e69dd Fix slice.reverse 2023-01-27 11:12:10 +00:00
Daniel
d23d7cf0f2 Add caller location info to os.read_entire_file()
This helps people using the mem.Tracking_Allocator to more easily
pinpoint where they leaked memory in their own code, rather than
having the leaks be reported as if they were in the core library
itself.
2023-01-27 02:42:16 -05:00
gingerBill
450a602230 Fix json.marshal for map[string]string 2023-01-24 12:05:43 +00:00
gingerBill
97595c4b50 Use a LUT for shift_left 2023-01-23 14:00:02 +00:00
gingerBill
ea9fe397e5 Fix typo in decimal_to_float_bits 2023-01-23 12:46:03 +00:00
gingerBill
f438153b81 Change to use ODIN_VALGRIND_SUPPORT 2023-01-23 09:29:39 +00:00
gingerBill
117c0cceb1 Add helgrind markers to package sync 2023-01-23 09:24:21 +00:00
gingerBill
8f3b6738ff Merge pull request #2273 from ap29600/core_slice_rotate_fix
Fix `core:slice.rotate_left`
2023-01-19 11:13:40 +00:00
gingerBill
d085283f20 Fix cnd_timedwait 2023-01-16 15:32:23 +00:00
gingerBill
b6ca10cd5e Fix memory leak in os.get_current_directory on failure on *nix systems 2023-01-16 15:29:45 +00:00
gingerBill
a5a7226885 Remove auto_cast 2023-01-16 12:09:09 +00:00
gingerBill
2dca39b557 Remove auto_cast procedure field flag
Fixes #2285
2023-01-16 12:06:03 +00:00
gingerBill
64047cbf05 Fix #2304 2023-01-16 11:02:42 +00:00
MarenFayre
fd4633eb25 Clean up float_fmt logic 2023-01-10 15:03:53 +01:00
gingerBill
b0756f9e29 Merge pull request #2297 from MarenFayre/d-parsing
Fix off by one error in %d parsing
2023-01-10 12:24:13 +00:00
gingerBill
c3ff1e9591 Merge pull request #2298 from MarenFayre/left-pad
Fix left padding format specifier and float formatting
2023-01-10 12:24:07 +00:00
MarenFayre
13029d06b2 Removed unneeded semicolon. 2023-01-09 10:39:46 +01:00
MarenFayre
68173f4bc7 Remove unused formatting flag 2023-01-08 20:24:08 +01:00
MarenFayre
c979c2fafa Fix left padding format specifier and float formatting 2023-01-08 20:00:42 +01:00
MarenFayre
658435f1b9 Fix off by one error in %d parsing 2023-01-08 19:59:48 +01:00
Colin Davidson
3935957979 remove unused c import 2023-01-06 13:53:32 -08:00
Colin Davidson
a36640bcfc more windows fixes 2023-01-06 13:51:25 -08:00
Colin Davidson
171d5b4012 more windows kerfuffle 2023-01-06 13:45:21 -08:00
Colin Davidson
1cc893f21c Merge branch 'master' into get_core_count 2023-01-06 13:34:16 -08:00
Colin Davidson
6ff2db47b4 shuffle to private/public wrapper 2023-01-06 13:33:47 -08:00
gingerBill
a11b6a9e5f Merge pull request #2265 from JooperGH/more_dwmapi_bindings
More dwmapi bindings
2023-01-06 12:18:10 +00:00
matias
c03cc21908 Add GetKeyboardState to user32 2023-01-06 07:04:38 -04:00
Colin Davidson
50a2493fd3 add get thread count to openbsd 2023-01-05 01:48:00 -08:00
Colin Davidson
b455ccd261 fix more things? 2023-01-05 01:37:50 -08:00
Colin Davidson
b22ddb1453 fix windows structs 2023-01-05 01:25:18 -08:00