Commit Graph

3477 Commits

Author SHA1 Message Date
Daniel
34cb558279 Add win32 SetConsoleTextAttributes for setting cmd prompt colors 2023-01-25 14:17:20 -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
Colin Davidson
cb7dd12222 name raw union 2023-01-05 01:18:44 -08:00
Colin Davidson
0484bdbb7e fix darwin/freebsd 2023-01-05 01:14:51 -08:00
Colin Davidson
8f39c45e9b use raw_union? 2023-01-05 01:11:46 -08:00
Colin Davidson
944396128b add get core count 2023-01-05 01:06:55 -08:00
Jeroen van Rijn
5d0f9c428a Merge pull request #2279 from ftphikari/master
Replaced opaque bit-shifts with readable constants for memory units
2022-12-24 07:32:29 +01:00
hikari
d904ae5191 Replaced opaque bit-shifts with readable constants for memory units 2022-12-24 08:27:15 +02:00
gingerBill
c8f05b7c0c Merge pull request #2269 from Skytrias/luapattern
Add lua pattern matching to core:text with tests
2022-12-22 11:08:10 +00:00
gingerBill
b00c4a6a8f Merge pull request #2272 from sir-w7/fix/darwin_mem_leak
Fixed memory leak in dir_darwin.odin.
2022-12-22 10:58:59 +00:00
Platin21
b983ac548c Moves check up and sets flag to rdonly if dir is opened.. 2022-12-22 01:36:04 +01:00
Platin21
fb562ea708 Adds error casting from last error if open fails 2022-12-22 01:26:06 +01:00
Platin21
cdeeeafc3f Fixed issues with dir opening on macOS 2022-12-22 01:22:31 +01:00
Jooper
fc3c76f946 Fixed CI error 2022-12-21 22:18:13 +00:00
Andrea Piseri
3fa971a510 Add the inner for loop back in the logic
This could be easier to predict in cases where one of `left` and `right`
is significantly greater than the other, and as such the same branch is
taken multiple times in a row
2022-12-21 22:10:02 +01:00
skytrias
63a0395a79 refactor SPECIALS_TABLE 2022-12-21 22:08:03 +01:00
Andrea Piseri
191223bb3c Fix non-generic cast in core:slice.rotate_left 2022-12-21 21:58:01 +01:00
skytrias
94af3c2887 package name changed 2022-12-21 21:38:21 +01:00
skytrias
e5d0417a6c folder name changed 2022-12-21 21:36:50 +01:00
Andrea Piseri
385d2a143c Fix core:slice.rotate_left
This commit includes two fixes:
- a temporary cast to make the function compile
- a fix to a logic error that caused the function to hang or return
  incorrect results
2022-12-21 21:09:22 +01:00
sir-w7
67c1b364c4 Fixed memory leak in dir_darwin.odin. 2022-12-21 07:25:13 -08:00
Lucas Perlind
f029b4beb1 Add more utility procedures to small array 2022-12-21 13:00:33 +11:00
skytrias
1bea0f3772 fix styling issues and use switches in cases its necessary, add comments to helpers 2022-12-20 15:48:10 +01:00