Commit Graph

4817 Commits

Author SHA1 Message Date
gingerBill
7aac8df2f2 Add runtime._cleanup_runtime internal call 2021-10-18 12:28:46 +01:00
gingerBill
e98e62ec13 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-10-16 23:39:23 +01:00
gingerBill
eb3c1506f0 Remove explicit link name from runtime.memset 2021-10-16 23:39:14 +01:00
gingerBill
5bd4536372 Merge pull request #1220 from zhibog/master
Add crypto library. Additional information is included in the README.md
2021-10-16 22:42:42 +01:00
zhibog
7fa05238b8 Added note due address thread safety 2021-10-16 19:37:23 +02:00
zhibog
dd7449b8b5 Fixed some typos in proc names 2021-10-16 19:20:43 +02:00
zhibog
b7a0627d09 Remove the read_entire_file from the crypto utils and now use the one within core:os 2021-10-16 18:46:18 +02:00
zhibog
c632125d82 Added a read_entire_file proc that only takes a handle and turned it into a proc group with the one, that takes a path 2021-10-16 18:45:25 +02:00
Jeroen van Rijn
a509e112ea Merge pull request #1224 from helloguysmaster/patch-1
add GetModuleHandleA
2021-10-16 07:53:00 -07:00
Jonas Welle
7c26b0abdb add GetModuleHandleA 2021-10-16 10:43:33 -04:00
zhibog
f48ee00c2f Improved API. hash_file procs now just take a file handle instead of a path 2021-10-15 20:29:25 +02:00
zhibog
ced0ea515c Added note for the botan.dll to README.md 2021-10-14 23:08:21 +02:00
zhibog
8876328e4d Move botan.dll to correct directory 2021-10-14 23:03:55 +02:00
zhibog
f4ff11a7ff Added botan.dll for tests 2021-10-14 22:58:20 +02:00
zhibog
77be7144c3 Add crypto library. Additional information is included in the README.md 2021-10-14 22:20:55 +02:00
gingerBill
3337d38651 Add comments to procedure groups 2021-10-13 23:39:17 +01:00
gingerBill
fc3b0dcc80 Update sync_util.odin 2021-10-13 23:36:42 +01:00
gingerBill
fc33cf6846 Set VertexAttribPointer related calls to use uintptr instead of rawptr for the byte offset parameter 2021-10-13 16:15:01 +01:00
gingerBill
2c469a39c7 Simplify TIME_SECTION code 2021-10-12 15:09:57 +01:00
gingerBill
d0001dc11d Increase system_exec_command_line_app buffer from 4 KiB to 64 MiB, and unify some logic 2021-10-12 13:56:36 +01:00
gingerBill
68719779d7 Fix typo 2021-10-12 11:08:57 +01:00
gingerBill
2ad6aa7886 Copying file contents rather than memory mapping 2021-10-12 11:06:39 +01:00
gingerBill
75e3df6da2 Add utility procedure groups for sync primitives 2021-10-12 11:03:52 +01:00
gingerBill
753acc6971 Add wait_group_wait_with_timeout; Allow Sema to be implemented as a Wait_Group 2021-10-11 20:14:26 +01:00
gingerBill
0d258e8b55 Make many package time procedures use "contextless" calling convention 2021-10-11 20:08:38 +01:00
gingerBill
3a60bee804 Move assert to implementation file 2021-10-11 20:07:39 +01:00
gingerBill
b67e0002c1 Add testing.expect_value; Improve testing.set_fail_timeout 2021-10-11 20:05:13 +01:00
gingerBill
0070119392 Add thread.create_and_start_with_* procedures 2021-10-11 19:56:29 +01:00
gingerBill
310fd1936b Clean up _futex_wait_with_timeout on Linux 2021-10-11 19:49:56 +01:00
gingerBill
077bf28d26 Separate Sema implementation from "header"; Allow for either Futex or Mutex+Cond implementations of Sema 2021-10-11 19:48:27 +01:00
gingerBill
d97c6a7657 Rename futex_wake and futex_wake_all to futex_signal and futex_broadcast 2021-10-11 16:40:23 +01:00
gingerBill
46b33854c9 Add sema_wait_with_timeout 2021-10-11 16:35:04 +01:00
gingerBill
5ee3686569 Fix typo 2021-10-11 16:34:50 +01:00
gingerBill
d23144fd27 Keep -vet happy 2021-10-11 15:30:23 +01:00
gingerBill
e64eb631df Add testing.set_fail_timeout 2021-10-11 15:28:25 +01:00
gingerBill
129a62d4f1 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-10-11 15:23:44 +01:00
gingerBill
8c9299c139 Use WaitOnAddress instead of RtlWaitOnAddress 2021-10-11 15:23:39 +01:00
gingerBill
3e9b7120be Merge pull request #1216 from Tetralux/fix-io-read
Fix typo in io.read_at_least()
2021-10-11 13:57:30 +01:00
Tetralux
675ba44e67 Fix typo in io.read_at_least() 2021-10-11 12:33:27 +00:00
gingerBill
240b6aab13 Change futex_wait_with_timeout to return a boolean rather than an enum 2021-10-11 13:23:11 +01:00
gingerBill
a1e8769cff Add atomic_cond_wait_with_timeout 2021-10-11 13:02:17 +01:00
gingerBill
73cba2cf13 Add cond_wait_with_timeout 2021-10-11 12:55:25 +01:00
gingerBill
49c761dc6d Fix typo 2021-10-09 19:11:26 +01:00
gingerBill
2a8d4c5bf5 Disallow or_return within defer 2021-10-09 19:11:10 +01:00
gingerBill
2b8807eb73 Keep -vet happy 2021-10-09 16:35:26 +01:00
gingerBill
2ef0e6b8f6 Update core:sync/sync2 to have a generic Futex interface, and implement the calls appropriately for each platform 2021-10-09 16:33:28 +01:00
gingerBill
d386563344 Correct issue with the generated map type internals; Simplify map rehash logic to utilize resize 2021-10-07 21:23:37 +01:00
gingerBill
9ecc2ab15b Add more runtime.print_int procedures 2021-10-07 21:22:49 +01:00
gingerBill
cb9101e0a0 Simplify lb_gen_map_header 2021-10-07 14:12:47 +01:00
gingerBill
fd9adaf1de Merge branch 'master' of https://github.com/odin-lang/Odin 2021-10-07 13:41:26 +01:00