gingerBill
eb0775ad53
Move mutex use around in thread pool
2022-12-20 14:45:01 +00:00
gingerBill
8fc9566a83
Use *_set_update where possible
2022-12-20 14:19:55 +00:00
gingerBill
134c7db4d2
Combine join and destroy for threads
2022-12-20 14:08:24 +00:00
gingerBill
a0e3a99dd1
Remove need for semaphore in Thread
2022-12-20 14:07:14 +00:00
gingerBill
0edda2bea7
Clarify ThreadPool interface; Move import_mutex guarding to just the string set
2022-12-20 12:46:33 +00:00
gingerBill
a13e2f4578
Fix minor race condition
2022-12-19 00:29:40 +00:00
gingerBill
01b508f182
Use usize for bounds checking in Array and Slice (compiler)
2022-12-18 23:26:44 +00:00
gingerBill
2a8fa8612d
Use fetch_add rather than +=
2022-12-18 23:24:34 +00:00
gingerBill
e27046098b
Add missing gb_internal
2022-12-18 22:58:34 +00:00
gingerBill
ca8b148fdc
Add gb_internal to path procedures
2022-12-18 22:52:18 +00:00
gingerBill
c1f5be24e2
Remove dead code in the compiler
2022-12-18 22:49:10 +00:00
gingerBill
6cdec65ca1
gb_internal LLVM backend
2022-12-18 22:32:05 +00:00
gingerBill
66ce990e0b
gb_internal to docs and other auxiliary files
2022-12-18 21:51:04 +00:00
gingerBill
690666537c
Add gb_internal to checker
2022-12-18 21:46:27 +00:00
gingerBill
056ba1ed13
Even more gb_internal everywhere
2022-12-18 21:24:45 +00:00
gingerBill
93a1f2bf61
Merge remote-tracking branch 'remotes/Odin-GitHub/master' into compiler-improvements-2022-12
2022-12-18 21:17:19 +00:00
gingerBill
ac5f5a33e9
gb_internal a lot
2022-12-18 21:17:07 +00:00
gingerBill
0829ac30f7
Merge pull request #2249 from tstibor/fix_odinfmt
...
Update odinfmt with new filepath.Walk_Proc signature
2022-12-15 10:11:42 +00:00
Thomas Stibor
9d50a04905
Update odinfmt with new filepath.Walk_Proc signature
...
Commit f9f4551e8d introduced
the additional parameter: `user_data: rawptr` to `filepath.Walk_Proc` callback.
This commit updates odinfmt to meet this new additional parameter.
2022-12-15 09:23:43 +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
Jeroen van Rijn
9fc606de48
Merge pull request #2239 from awwdev/patch-3
...
Fix typo err: runtime.Allocator to Allocator_Error
2022-12-09 19:33:02 +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
ff6b76986a
Use C++11 loops for some arrays
2022-12-09 12:32:54 +00:00
gingerBill
5c3624eb86
Fix map looping
2022-12-09 12:18:49 +00:00
gingerBill
144e357fd2
Add extra check
2022-12-09 11:37:15 +00:00
gingerBill
be22f0d1e1
Fix variable shadow in compiler
2022-12-09 11:32:52 +00:00
gingerBill
34a048f7da
Replace compiler for loops for the hash-table types to simplify code usage
2022-12-09 11:29:28 +00: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
gingerBill
20943a81c1
Make sync calls contextless where possible
2022-12-08 15:55:53 +00:00
gingerBill
1c4e75e83f
Merge pull request #2234 from ftphikari/master
...
sys/windows: add DescribePixelFormat
2022-12-08 14:59:48 +00:00
gingerBill
9cb9964c2d
Remove old code
2022-12-08 00:52:11 +00:00
gingerBill
1f8f94276e
Initialize the multiple return value map in lb_create_dummy_procedure
2022-12-07 16:44:26 +00:00
hikari
0d7c89e84a
sys/windows: add DescribePixelFormat
2022-12-07 14:33:12 +02:00
gingerBill
a5bdb4a8e8
Merge pull request #2208 from odin-lang/multiple-return-abi-experiment
...
Multiple Return ABI Changes and Improvements
2022-12-07 11:42:23 +00:00
gingerBill
521ed28632
Keep -vet happy
dev-2022-12
2022-12-06 19:57:41 +00:00
gingerBill
d6300314c0
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-12-06 19:55:24 +00:00
gingerBill
27130259cc
Coalesce tombstones on delete_key to reduce all map slots from being filled on insertion
...
This is a bodge and will need to be replaced with an actual solution involving backward shift deletion rather than relying on tombstone slots in the first place.
2022-12-06 19:55:17 +00:00
Jeroen van Rijn
b4fb295bb3
Merge pull request #2232 from DragosPopse/master
...
Added CSIDL_PROFILE in core:sys/windows
2022-12-06 03:22:32 +01:00
Dragos Popescu
f7e608628b
Merge branch 'odin-lang:master' into master
2022-12-06 02:59:53 +01:00
Dragos Popescu
605d66845a
core:sys/windows: Added CSIDL_PROFILE
2022-12-06 02:58:33 +01:00
Jeroen van Rijn
37ec3d7006
Merge pull request #2231 from ftphikari/master
...
sys/windows: fix wgl function loading in accordance with OpenGL wiki
2022-12-06 01:06:08 +01:00