Commit Graph

  • 3bd00fd6b7 Add thread.Pool with example in demo.odin; Update linalg to support handness changes for projection matrices gingerBill 2020-01-02 15:07:12 +00:00
  • 83fec387d4 Merge pull request #529 from Tetralux/patch-1 gingerBill 2020-01-02 11:39:20 +00:00
  • f6f10d10e8 Fix append_string Tetralux 2020-01-02 11:38:25 +00:00
  • 16a7c55334 Add x y z w fields to quaternion types; Improve linalg quaternion mathematics gingerBill 2020-01-01 16:14:00 +00:00
  • e9e2ab240d Merge pull request #528 from oskarnp/foreign-dylib-fix gingerBill 2020-01-01 10:42:09 +00:00
  • 842281ddd3 Fix dylib foreign import oskarn 2020-01-01 11:36:42 +01:00
  • 978d7fcb99 Fix typeid information for enumerated arrays gingerBill 2019-12-31 16:54:50 +00:00
  • b267a5964d Fix memset for unix gingerBill 2019-12-31 14:28:01 +00:00
  • b288613307 Add extra check for ZeroInit instruction gingerBill 2019-12-31 14:21:16 +00:00
  • 4591353724 Use naive definition of memset for !windows gingerBill 2019-12-31 14:17:21 +00:00
  • 13107628f8 Make mem.set use llvm.memset.p0i8.iXX gingerBill 2019-12-31 14:09:51 +00:00
  • c407687a4c Fix new changes to runtime for unix gingerBill 2019-12-31 14:04:19 +00:00
  • 5a50ab7a99 Add new runtime files. gingerBill 2019-12-31 13:54:42 +00:00
  • 4578544007 Merge pull request #526 from sci4me/unix-dynlib gingerBill 2019-12-31 13:22:48 +00:00
  • bdfef08214 Fix typos in demo.odin gingerBill 2019-12-31 12:54:19 +00:00
  • 42678848b2 Rename math/bits package name to math_bits gingerBill 2019-12-31 12:27:31 +00:00
  • ab52f8d795 Move definition of mem.Allocator and log.Logger to package runtime, to reduce import cycle magic gingerBill 2019-12-31 12:15:19 +00:00
  • d79ee7d530 Implement dynlib core library for unix/darwin; not 100% about the build tags Scitoshi Nakayobro 2019-12-30 19:09:59 -05:00
  • 7e271310ff Fix constant out of bounds bug gingerBill 2019-12-29 22:53:37 +00:00
  • f24de51c65 Add _tls_index and _fltused for windows -no-crt gingerBill 2019-12-29 21:28:50 +00:00
  • 2252d992d7 Add -disable-assert to disable the code generation of the built-in run-time 'assert' procedure gingerBill 2019-12-29 21:10:27 +00:00
  • 2d70a784d1 Add quaternion_look_at orientation procedure to package math/linalg gingerBill 2019-12-29 20:35:27 +00:00
  • a8a4dc1eb1 Make default context.temp_allocator thread safe when using package thread gingerBill 2019-12-29 18:08:48 +00:00
  • 9e9e905431 Add @(private="file") and @(private="package") gingerBill 2019-12-29 15:39:20 +00:00
  • 8ee41c20af Add more to package math gingerBill 2019-12-28 23:48:15 +00:00
  • 11c705508d Split linalg into general and specific parts gingerBill 2019-12-28 23:09:43 +00:00
  • 267ae0b4a2 Disallow enumerated array literals without field = value gingerBill 2019-12-28 23:07:54 +00:00
  • 1bc6e6a7cc Add linalg.vector_lerp, linalg.vector_unlerp gingerBill 2019-12-28 23:07:31 +00:00
  • 33a458c520 Update package math/linalg gingerBill 2019-12-28 23:00:13 +00:00
  • 6a7ccd8c0a Add new procedures for package math: atan2, asin, acos, atan, sin_bit, ldexp gingerBill 2019-12-28 18:12:27 +00:00
  • 9ba2926e7e Fix enumerated array contiguous error gingerBill 2019-12-28 16:31:15 +00:00
  • a50b2d5d04 Fix enumerated array literal check gingerBill 2019-12-28 14:05:55 +00:00
  • 7f9626e5c7 Improve 'cannot slice' error message gingerBill 2019-12-27 17:53:05 +00:00
  • 7140c95c55 Fix slicing of pointer to array gingerBill 2019-12-27 17:47:55 +00:00
  • ceef5db547 Support for and inline for for enumerated arrays gingerBill 2019-12-27 17:16:43 +00:00
  • 5ec8dd166a Add #partial tag for enumerated arrays to prevent common errors using non-contiguous enumerations gingerBill 2019-12-27 16:55:32 +00:00
  • 80a32a8182 Fix missing case gingerBill 2019-12-27 16:01:58 +00:00
  • c2b3056094 Fix enumerated array compound literals IR gingerBill 2019-12-27 15:53:35 +00:00
  • f99f351e01 Add constant literal expressions gingerBill 2019-12-27 15:49:52 +00:00
  • 880c7f01a8 Fix array lengths with enum value counts. gingerBill 2019-12-27 13:55:18 +00:00
  • 10f0961184 Enumerated arrays [Enum_Type]Elem_Type gingerBill 2019-12-27 12:51:02 +00:00
  • eea403d0ab Fix #514 gingerBill 2019-12-27 10:18:32 +00:00
  • 2cc5c4eed3 Fix https://github.com/odin-lang/Odin/issues/522 gingerBill 2019-12-27 10:11:13 +00:00
  • f308d8d73e Merge pull request #520 from SrMordred/memcpy gingerBill 2019-12-26 12:09:44 +00:00
  • ff0bc3ccad minor details ;) Patric Dexheimer 2019-12-24 11:50:26 -03:00
  • 072979c6d2 Merge pull request #519 from Tetralux/remove-prints gingerBill 2019-12-24 12:54:00 +00:00
  • a3d2c40da0 whoops Tetralux 2019-12-24 12:51:27 +00:00
  • 5b1312342e Fix runtime.mem_copy_non_overlapping to be like C's memcpy gingerBill 2019-12-24 08:07:43 +00:00
  • 85e31e1b69 Fix os.open gingerBill 2019-12-23 18:10:09 +00:00
  • fb0fb4767b Merge pull request #517 from SSStormy/fix-os-linux-fs-stuffs gingerBill 2019-12-23 18:07:59 +00:00
  • 38a9a2b7fc Linux: write_entire_file sets 644 permissions on open. Justas Dabrila 2019-12-23 16:35:10 +02:00
  • 005c6af302 Fix improper _unix_open binding that was ignoring the mode arg Justas Dabrila 2019-12-23 16:34:20 +02:00
  • 1d14b3059e Fix Internal Compiler Error: Type_Info for 'XXX' could not be found #507 gingerBill 2019-12-22 14:16:56 +00:00
  • cc2fa8f756 Fix thread/thread_unix.odin to use the new switch conventions gingerBill 2019-12-22 12:11:54 +00:00
  • d1c9fd4e01 Implement #complete switch by default, replace with #partial switch #511 gingerBill 2019-12-22 12:03:48 +00:00
  • 4593730632 Fix Trying to get a pointer to a struct field that does not have a size generates an LLVM error #509 gingerBill 2019-12-22 11:40:30 +00:00
  • f62a0891bd Fix Crash when compiling for loop with parens around array expression #506 gingerBill 2019-12-22 11:33:33 +00:00
  • 4f2d4716ad Fix Internal error when accessing polymorphic struct parameters (also provide suggestions?) #513 gingerBill 2019-12-22 10:40:34 +00:00
  • 022b793a7d Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2019-12-22 10:28:55 +00:00
  • 7267004a55 Remove import "core:runtime" in integers.odin to make -vet happy gingerBill 2019-12-22 10:28:48 +00:00
  • 786c9dfe07 Add the ability to toggle release mode externally when calling build.bat vassvik 2019-12-22 11:19:42 +01:00
  • 81b24594ce Add udivmod128.odin gingerBill 2019-12-21 19:49:09 +00:00
  • 995ba0df9a Fix using on array in struct gingerBill 2019-12-21 14:42:08 +00:00
  • 08392d885e Add strconv/integers.odin gingerBill 2019-12-21 14:01:29 +00:00
  • d462dbb5be Deprecate using import gingerBill 2019-12-21 12:11:16 +00:00
  • 19c32ecb81 Add extra to -help output gingerBill 2019-12-21 11:27:55 +00:00
  • 494b1e7eaa Add -help which prints information about the compiler flags gingerBill 2019-12-21 11:22:46 +00:00
  • c43d17bfec Merge pull request #505 from Tetralux/patch-2 gingerBill 2019-12-16 08:05:39 +00:00
  • c9723e2dc0 Fix mem.Arena Tetralux 2019-12-15 21:36:40 +00:00
  • 4ba579bc25 Also allow #no_bounds_check on an expression #499 gingerBill 2019-12-15 11:41:21 +00:00
  • 58d4d424c6 Replace #vector[N]T with #simd[N]T to reduce confusion #498 gingerBill 2019-12-15 11:30:09 +00:00
  • 89ccb5b99f Add assert into scratch_allocator_proc to prevent initialization cycles #504 gingerBill 2019-12-15 11:19:13 +00:00
  • 7f5021c8e9 Disallow procedure calls with an associated deferred procedure to be used in logical binary expressions (short-circuiting) gingerBill 2019-12-15 11:10:50 +00:00
  • 8bec324779 Fix Duplicate integer switch case values incorrectly consider its absolute value #502 gingerBill 2019-12-15 09:56:11 +00:00
  • e6f26b9931 Fix Unable to initialize a typeid field in a struct literal #501 gingerBill 2019-12-15 09:48:05 +00:00
  • b8c534eba9 Merge pull request #500 from SSStormy/fix-string_to_enum_value gingerBill 2019-12-15 09:38:37 +00:00
  • 95d3f43e15 Fix 'string_to_enum_value' not compiling Justas Dabrila 2019-12-14 01:08:47 +02:00
  • 2d97e1dee3 Fix NaN checks in core:math.classify vassvik 2019-12-12 19:12:12 +01:00
  • be2dfd42fd Merge pull request #493 from ThisDrunkDane/master gingerBill 2019-12-08 14:35:18 +00:00
  • 851118faf4 Fix #399 by removing unused parameter Mikkel Hjortshoej 2019-12-08 02:09:03 +01:00
  • 53cd7a3d0c Fix transmute from uintptr to/from proc gingerBill 2019-12-07 15:44:28 +00:00
  • f170648629 Fix issue with -thread-count flag with <= 0 count gingerBill 2019-12-03 18:23:14 +00:00
  • 42def957d5 Fix append_elem_string, again gingerBill 2019-12-03 09:35:24 +00:00
  • 6433a0d31e Fix append_elem_string gingerBill 2019-12-03 09:16:11 +00:00
  • 359e5d9e15 Fix append_elem_string gingerBill 2019-12-03 09:07:15 +00:00
  • e229885b2b Remove addressing mode Addressing_Immutable gingerBill 2019-12-01 19:11:00 +00:00
  • ee78374281 Fix typo gingerBill 2019-12-01 18:57:43 +00:00
  • ebe152a155 Disable aligned heap allocations hack in os.heap_allocator_proc gingerBill 2019-12-01 18:53:27 +00:00
  • 46582a45bd Fix IR string interning type gingerBill 2019-12-01 18:18:03 +00:00
  • 6b5ea011e7 Add strings.ptr_from_string gingerBill 2019-12-01 18:06:49 +00:00
  • 9503440eb0 Add strings.unsafe_string_to_cstring gingerBill 2019-12-01 17:45:07 +00:00
  • 3fa4c5043a Fix crash caused by not checking for correct SOA kind on polymorphic parameters gingerBill 2019-12-01 16:05:48 +00:00
  • 9db81498d8 Make the string type elements "immutable", akin to char const * in C gingerBill 2019-12-01 14:10:59 +00:00
  • 7fbe0a6f23 Fix nil comparisons for soa slices and dynamic arrays gingerBill 2019-12-01 11:56:08 +00:00
  • 3fd5c3cd85 Merge pull request #458 from Tetralux/linux-threads gingerBill 2019-12-01 11:33:23 +00:00
  • 99121d6ff2 Implement core:thread and core:sync on Unix using pthreads Tetralux 2019-10-26 22:35:36 +00:00
  • 0c0c83ee29 Disable find_visual_studio_and_windows_sdk_utf8 temporarily gingerBill 2019-11-28 21:07:06 +00:00
  • b75d59d6e0 Make sort.merge_sort in place; Add sort.heap_sort gingerBill 2019-11-27 16:06:07 +00:00
  • 71c8a3456e Update package odin/parser for #soa and #vector gingerBill 2019-11-27 15:23:54 +00:00
  • 37e3e081c6 Update microsoft_craziness.h to work correctly with the rest of the codebase (and not use WIN32_LEAN_AND_MEAN) gingerBill 2019-11-27 15:18:32 +00:00