Commit Graph

4236 Commits

Author SHA1 Message Date
André
3323c2730f memleak fix on destroy_multi_logger()
data.loggers were never deleted
2021-10-23 12:24:53 +02:00
gingerBill
3b3e7550f6 Correct core_builtin_matrix.odin 2021-10-21 00:04:08 +01:00
gingerBill
bb0855b35a Add builtin procedures for matrix values: determinant, adjugate, inverse, inverse_transpose, hermitian_adjoint 2021-10-20 17:00:59 +01:00
gingerBill
cdf881a378 Fix json.marshal for Matrix 2021-10-20 15:02:55 +01:00
gingerBill
f454ac3150 Fix %#v for matrices 2021-10-20 00:43:07 +01:00
gingerBill
82b6772ea4 Support matrix literals 2021-10-20 00:40:03 +01:00
gingerBill
662cbaf425 Support indexing matrices 2021-10-19 12:13:19 +01:00
gingerBill
1556fad65a Change syntax for matrices to matrix[R, C]T 2021-10-19 11:31:11 +01:00
gingerBill
243e2e2b8a Basic support for matrix*vector, vector*matrix operations 2021-10-19 11:24:26 +01:00
gingerBill
ba331024af Very basic matrix support in backend 2021-10-18 18:16:52 +01:00
gingerBill
4c655865e5 Begin work on matrix type 2021-10-18 16:52:19 +01: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