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
gingerBill
f308d8d73e
Merge pull request #520 from SrMordred/memcpy
...
minor details ;)
2019-12-26 12:09:44 +00:00
Patric Dexheimer
ff0bc3ccad
minor details ;)
2019-12-24 11:50:26 -03:00
gingerBill
072979c6d2
Merge pull request #519 from Tetralux/remove-prints
...
remove errorneous prints
2019-12-24 12:54:00 +00:00
Tetralux
a3d2c40da0
whoops
2019-12-24 12:51:27 +00:00
gingerBill
5b1312342e
Fix runtime.mem_copy_non_overlapping to be like C's memcpy
2019-12-24 08:07:43 +00:00
gingerBill
85e31e1b69
Fix os.open
2019-12-23 18:10:09 +00:00
gingerBill
fb0fb4767b
Merge pull request #517 from SSStormy/fix-os-linux-fs-stuffs
...
Unix: Fix improper _unix_open binding; make write_entire_file set sane file permissions.
2019-12-23 18:07:59 +00:00
Justas Dabrila
38a9a2b7fc
Linux: write_entire_file sets 644 permissions on open.
2019-12-23 16:35:10 +02:00
Justas Dabrila
005c6af302
Fix improper _unix_open binding that was ignoring the mode arg
2019-12-23 16:34:20 +02:00
gingerBill
1d14b3059e
Fix Internal Compiler Error: Type_Info for 'XXX' could not be found #507
2019-12-22 14:16:56 +00:00
gingerBill
cc2fa8f756
Fix thread/thread_unix.odin to use the new switch conventions
2019-12-22 12:11:54 +00:00
gingerBill
d1c9fd4e01
Implement #complete switch by default, replace with #partial switch #511
2019-12-22 12:03:48 +00:00
gingerBill
4593730632
Fix Trying to get a pointer to a struct field that does not have a size generates an LLVM error #509
2019-12-22 11:40:30 +00:00
gingerBill
f62a0891bd
Fix Crash when compiling for loop with parens around array expression #506
2019-12-22 11:33:33 +00:00
gingerBill
4f2d4716ad
Fix Internal error when accessing polymorphic struct parameters (also provide suggestions?) #513
2019-12-22 10:40:34 +00:00
gingerBill
022b793a7d
Merge branch 'master' of https://github.com/odin-lang/Odin
2019-12-22 10:28:55 +00:00
gingerBill
7267004a55
Remove import "core:runtime" in integers.odin to make -vet happy
2019-12-22 10:28:48 +00:00
vassvik
786c9dfe07
Add the ability to toggle release mode externally when calling build.bat
...
The following cases builds Odin with optimizations:
build.bat 1
build.bat release
Any other options, or the lack thereof, will build without optimizations.
2019-12-22 11:19:42 +01:00
gingerBill
81b24594ce
Add udivmod128.odin
2019-12-21 19:49:09 +00:00
gingerBill
995ba0df9a
Fix using on array in struct
2019-12-21 14:42:08 +00:00
gingerBill
08392d885e
Add strconv/integers.odin
2019-12-21 14:01:29 +00:00
gingerBill
d462dbb5be
Deprecate using import
2019-12-21 12:11:16 +00:00
gingerBill
19c32ecb81
Add extra to -help output
2019-12-21 11:27:55 +00:00
gingerBill
494b1e7eaa
Add -help which prints information about the compiler flags
2019-12-21 11:22:46 +00:00
gingerBill
c43d17bfec
Merge pull request #505 from Tetralux/patch-2
...
Fix mem.Arena
2019-12-16 08:05:39 +00:00
Tetralux
c9723e2dc0
Fix mem.Arena
2019-12-15 21:36:40 +00:00
gingerBill
4ba579bc25
Also allow #no_bounds_check on an expression #499
2019-12-15 11:41:21 +00:00
gingerBill
58d4d424c6
Replace #vector[N]T with #simd[N]T to reduce confusion #498
2019-12-15 11:30:09 +00:00