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
Lucas Perlind
2d824e4809
Fix out or range error with _alloc_command_line_arguments in darwin
2022-12-23 09:37:30 +11: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
skytrias
ff7f139fd7
add iter_index and update tests to use easier matcher setup
2022-12-20 12:59:32 +01:00
JooperGH
86a606e716
App bar bindings
2022-12-19 16:31:32 +00:00
JooperGH
1e97588e7b
One last binding
2022-12-19 15:29:07 +00:00
JooperGH
3ccc0b5aa6
HRGB and Rect functions
2022-12-19 15:22:05 +00:00
JooperGH
5464a605b1
CreateSolidBrush and FillRect
2022-12-19 13:21:16 +00:00
JooperGH
5519749aa4
Added uxtheme bindings
2022-12-19 11:54:15 +00:00
JooperGH
4a70265bfb
Merge branch 'master' of https://github.com/odin-lang/Odin into more_dwmapi_bindings
2022-12-19 11:46:35 +00:00
JooperGH
de0d860880
Added more DWMAPI bindings
2022-12-19 11:43:16 +00:00
skytrias
967afd8bbb
try helper procedures / structs
2022-12-18 23:11:23 +01:00
skytrias
0ae1812f90
small fixes and oob checks, stop infinite loops on empty matches
2022-12-18 23:11:23 +01:00
skytrias
eb5523d5d3
case insensitive helper call
2022-12-18 23:11:23 +01:00
skytrias
3f4bbbec29
add proper unicode walking
2022-12-18 23:11:23 +01:00
skytrias
70bd220f34
balanced string, frontier pattern, gsub_with and their tests added
2022-12-18 23:11:23 +01:00
skytrias
bd3596f012
create lua strlib text package and tests
2022-12-18 23:11:23 +01:00
gingerBill
56e050fbc9
Merge pull request #2245 from Said6289/small-typo-in-linalg-any
...
Fix typo in linalg.any
2022-12-13 11:37:59 +00:00
Said Al Attrach
70e48e39a4
Fix typo in linalg.any
2022-12-13 12:18:58 +01:00
gingerBill
2b0c04f27e
Merge pull request #2244 from ftphikari/master
...
sys/windows: add GetMonitorInfoW
2022-12-13 11:18:35 +00:00
hikari
1ddbe16d28
sys/windows: add GetMonitorInfoW
2022-12-13 10:25:18 +02:00
Jeroen van Rijn
09c1128d9e
Merge pull request #2242 from Tetralux/fix-shrink-array
...
[runtime] Fix typo in shrink_dynamic_array()
2022-12-11 20:14:21 +01:00
Tetralux
588c52a854
[runtime] Fix typo in shrink_dynamic_array()
2022-12-11 09:10:17 +00:00
Jeroen van Rijn
86ec3bcb44
Merge pull request #2238 from awwdev/reflect-procs-aliasing-runtime
...
Aliasing some procs to avoid code repetition
2022-12-09 19:36:59 +01:00
André (counter)
7fbee88061
Fix typo err: runtime.Allocator to Allocator_Error
2022-12-09 19:20:03 +01:00
André (counter)
b3be2cdf9d
Aliasing some procs to avoid code repetition
...
Aliasing some procedures within package reflect so they reference procedures from package runtime.
This avoids redundancy and potential deviation.
Not 100% sure about the ODIN_DISALLOW_RTTI part but I think it should be congruent as well.
2022-12-09 18:14:47 +01:00
gingerBill
ffe953b43d
Make os.get_last_error contextless
2022-12-08 16:04:03 +00:00
gingerBill
b8eacfc7b6
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-12-08 15:58:44 +00:00
gingerBill
f8452bf1fc
Add different variants for once_do
2022-12-08 15:58:39 +00:00