Commit Graph

9656 Commits

Author SHA1 Message Date
gingerBill
b8324b0776 Fix behaviour for make to return nil when alloc returns nil 2020-01-03 10:17:30 +00:00
gingerBill
d0ca045586 Merge pull request #530 from KTRosenberg/unix_yield_sem_fix
Fixes for yielding and semaphore posting on unix
2020-01-03 09:50:12 +00:00
KTRosenberg
673879d1d2 added note about pthread_yield 2020-01-02 16:44:30 -05:00
KTRosenberg
5d1c9583cb added the demo to the gitignore 2020-01-02 16:42:34 -05:00
KTRosenberg
d017b5de9d replaced pthread_yield with ssched_yield, fixed semaphore post:q 2020-01-02 16:25:48 -05:00
gingerBill
93ead4bcb3 Fix typo 2020-01-02 15:41:32 +00:00
gingerBill
bbe9b4dee0 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-01-02 15:07:58 +00:00
gingerBill
3bd00fd6b7 Add thread.Pool with example in demo.odin; Update linalg to support handness changes for projection matrices 2020-01-02 15:07:12 +00:00
gingerBill
83fec387d4 Merge pull request #529 from Tetralux/patch-1
Fix `append_string`
2020-01-02 11:39:20 +00:00
Tetralux
f6f10d10e8 Fix append_string 2020-01-02 11:38:25 +00:00
gingerBill
16a7c55334 Add x y z w fields to quaternion types; Improve linalg quaternion mathematics 2020-01-01 16:14:00 +00:00
gingerBill
e9e2ab240d Merge pull request #528 from oskarnp/foreign-dylib-fix
Fix dylib foreign import
2020-01-01 10:42:09 +00:00
oskarn
842281ddd3 Fix dylib foreign import 2020-01-01 11:36:42 +01:00
gingerBill
978d7fcb99 Fix typeid information for enumerated arrays 2019-12-31 16:54:50 +00:00
gingerBill
b267a5964d Fix memset for unix 2019-12-31 14:28:01 +00:00
gingerBill
b288613307 Add extra check for ZeroInit instruction 2019-12-31 14:21:16 +00:00
gingerBill
4591353724 Use naive definition of memset for !windows 2019-12-31 14:17:21 +00:00
gingerBill
13107628f8 Make mem.set use llvm.memset.p0i8.iXX 2019-12-31 14:09:51 +00:00
gingerBill
c407687a4c Fix new changes to runtime for unix 2019-12-31 14:04:19 +00:00
gingerBill
5a50ab7a99 Add new runtime files. 2019-12-31 13:54:42 +00:00
gingerBill
4578544007 Merge pull request #526 from sci4me/unix-dynlib
Implement dynlib core library for unix/darwin
2019-12-31 13:22:48 +00:00
gingerBill
bdfef08214 Fix typos in demo.odin 2019-12-31 12:54:19 +00:00
gingerBill
42678848b2 Rename math/bits package name to math_bits 2019-12-31 12:27:31 +00:00
gingerBill
ab52f8d795 Move definition of mem.Allocator and log.Logger to package runtime, to reduce import cycle magic 2019-12-31 12:15:19 +00:00
Scitoshi Nakayobro
d79ee7d530 Implement dynlib core library for unix/darwin; not 100% about the build tags 2019-12-30 19:09:59 -05:00
gingerBill
7e271310ff Fix constant out of bounds bug 2019-12-29 22:53:37 +00:00
gingerBill
f24de51c65 Add _tls_index and _fltused for windows -no-crt 2019-12-29 21:28:50 +00:00
gingerBill
2252d992d7 Add -disable-assert to disable the code generation of the built-in run-time 'assert' procedure 2019-12-29 21:10:27 +00:00
gingerBill
2d70a784d1 Add quaternion_look_at orientation procedure to package math/linalg 2019-12-29 20:35:27 +00:00
gingerBill
a8a4dc1eb1 Make default context.temp_allocator thread safe when using package thread 2019-12-29 18:08:48 +00:00
gingerBill
9e9e905431 Add @(private="file") and @(private="package") 2019-12-29 15:39:20 +00:00
gingerBill
8ee41c20af Add more to package math 2019-12-28 23:48:15 +00:00
gingerBill
11c705508d Split linalg into general and specific parts 2019-12-28 23:09:43 +00:00
gingerBill
267ae0b4a2 Disallow enumerated array literals without field = value 2019-12-28 23:07:54 +00:00
gingerBill
1bc6e6a7cc Add linalg.vector_lerp, linalg.vector_unlerp 2019-12-28 23:07:31 +00:00
gingerBill
33a458c520 Update package math/linalg 2019-12-28 23:00:13 +00:00
gingerBill
6a7ccd8c0a Add new procedures for package math: atan2, asin, acos, atan, sin_bit, ldexp 2019-12-28 18:12:27 +00:00
gingerBill
9ba2926e7e Fix enumerated array contiguous error 2019-12-28 16:31:15 +00:00
gingerBill
a50b2d5d04 Fix enumerated array literal check 2019-12-28 14:05:55 +00:00
gingerBill
7f9626e5c7 Improve 'cannot slice' error message 2019-12-27 17:53:05 +00:00
gingerBill
7140c95c55 Fix slicing of pointer to array 2019-12-27 17:47:55 +00:00
gingerBill
ceef5db547 Support for and inline for for enumerated arrays 2019-12-27 17:16:43 +00:00
gingerBill
5ec8dd166a Add #partial tag for enumerated arrays to prevent common errors using non-contiguous enumerations 2019-12-27 16:55:32 +00:00
gingerBill
80a32a8182 Fix missing case 2019-12-27 16:01:58 +00:00
gingerBill
c2b3056094 Fix enumerated array compound literals IR 2019-12-27 15:53:35 +00:00
gingerBill
f99f351e01 Add constant literal expressions 2019-12-27 15:49:52 +00:00
gingerBill
880c7f01a8 Fix array lengths with enum value counts. 2019-12-27 13:55:18 +00:00
gingerBill
10f0961184 Enumerated arrays [Enum_Type]Elem_Type 2019-12-27 12:51:02 +00:00
gingerBill
eea403d0ab Fix #514 2019-12-27 10:18:32 +00:00
gingerBill
2cc5c4eed3 Fix https://github.com/odin-lang/Odin/issues/522 2019-12-27 10:11:13 +00:00