Commit Graph

2083 Commits

Author SHA1 Message Date
gingerBill 9331ebebcc Add #no_bounds_check to sorting procedures 2021-10-26 14:24:21 +01:00
gingerBill c64674c39e Remove unnecessary asserts 2021-10-26 13:38:48 +01:00
gingerBill d165de0d4d Move thread initialization variables in thread_unix.odin 2021-10-26 11:46:31 +01:00
gingerBill c9e6862332 Add id to thread.Thread 2021-10-24 12:30:25 +01:00
gingerBill d54b708ba8 Unify memory_equal and string_eq 2021-10-23 17:18:40 +01:00
gingerBill fba20c9bd3 Improve runtime.string_eq 2021-10-23 17:10:30 +01:00
gingerBill 18ed444a63 Strip semicolons 2021-10-23 17:10:12 +01:00
André 3323c2730f memleak fix on destroy_multi_logger()
data.loggers were never deleted
2021-10-23 12:24:53 +02:00
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
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 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 68719779d7 Fix typo 2021-10-12 11:08:57 +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 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
Jeroen van Rijn b4b53aeb71 png: Channel helper metadata. 2021-10-06 22:47:40 +02:00
Jeroen van Rijn c4b4a841d6 png: Move metadata. 2021-10-06 22:43:33 +02:00
Jeroen van Rijn 263d63aa56 png: Add more OOM checks. 2021-10-06 22:09:32 +02:00