Commit Graph

  • a4b60b78c8 Fix heap allocator alignment on all platforms Tetralux 2020-01-14 18:21:51 +00:00
  • 66d1656367 Add os.get_current_directory / os.set_current_directory Tetralux 2020-01-11 17:44:49 +00:00
  • 14c4fed94c v0.12.0 v0.12.0 gingerBill 2020-01-18 15:32:15 +00:00
  • c3205316ed Remove debug printing gingerBill 2020-01-18 14:53:53 +00:00
  • b542ef273d Begin work on -target:windows_386 gingerBill 2020-01-18 14:44:53 +00:00
  • 404132de17 Fix microsoft_craziness.h to work correctly gingerBill 2020-01-18 12:36:18 +00:00
  • cd43f4c94c Add suggestions for indexing constant values with a variable index gingerBill 2020-01-18 12:09:26 +00:00
  • 23ff98dea0 Fix microsoft_craziness.h gingerBill 2020-01-18 12:08:45 +00:00
  • c3a8e232a5 Add new intrinsics for polymorphic records: type_is_specialized_polymorphic_record, type_is_unspecialized_polymorphic_record, type_polymorphic_record_parameter_count, type_polymorphic_record_parameter_value gingerBill 2020-01-18 11:27:41 +00:00
  • 7f89f6b582 Add intrinsics.type_is_specialization_of gingerBill 2020-01-17 23:30:38 +00:00
  • 159150c6d9 Allow not_in as keyword over notin, but still allow notin to work gingerBill 2020-01-16 10:00:14 +00:00
  • 527b39ce2b Merge remote-tracking branch 'origin/master' gingerBill 2020-01-16 09:07:52 +00:00
  • 5af3c7b0e8 Fix constant slice checking, again gingerBill 2020-01-16 09:05:17 +00:00
  • 5db4bd9944 Fix #536 gingerBill 2020-01-15 12:01:29 +00:00
  • 20b410f149 Fix #540 gingerBill 2020-01-15 11:56:42 +00:00
  • ae7cbd5171 Add debug info for enumerated arrays gingerBill 2020-01-14 17:37:45 +00:00
  • 04f7225ea5 Exact value zero value for T{} of basic types gingerBill 2020-01-14 17:36:37 +00:00
  • f0c6f29f82 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-01-12 13:53:57 +00:00
  • 7d9a9a2283 Add extra check for opaque types gingerBill 2020-01-12 13:53:51 +00:00
  • ba85e432e7 Fix Proc Type ABI printing on System V gingerBill 2020-01-12 13:43:45 +00:00
  • cfba29002a Add extra set_procedure_abi_types sanity checks in IR gingerBill 2020-01-11 20:29:46 +00:00
  • 11c7b6a2e4 Fix len of type bug gingerBill 2020-01-11 20:26:36 +00:00
  • 47f9876b36 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-01-11 20:20:20 +00:00
  • ff31f9a900 Fix @thread_local IR printing gingerBill 2020-01-11 20:19:52 +00:00
  • ebc4867514 Fix #521 Explicit union tag values gingerBill 2020-01-11 20:16:42 +00:00
  • e1ccba3de5 Improve runtime/default_allocators.odin gingerBill 2020-01-11 20:12:50 +00:00
  • 28570f8fa4 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-01-11 20:11:47 +00:00
  • 24bd370e1b Fix Panic with runtime.type_info_base #532 gingerBill 2020-01-11 20:11:39 +00:00
  • 3e67ae7339 Merge pull request #534 from ThisDrunkDane/fix-log-mistake Mikkel Hjortshøj 2020-01-09 19:19:23 +01:00
  • 0e52c37865 Don't change delimiter as location has changed to be unified no matter the platform Mikkel Hjortshoej 2020-01-08 21:29:46 +01:00
  • d520b9a1ba Fix typo gingerBill 2020-01-05 12:49:32 +00:00
  • 5c7d6fcfd0 Improve minimum dependency for complex numbers and quaternion numbers. gingerBill 2020-01-04 18:04:12 +00:00
  • 5ae924f988 Make "none" calling convention ignore return_by_pointer flag gingerBill 2020-01-04 12:42:16 +00:00
  • cae1e02593 Add extra in set_procedure_abi_types ir_print.cpp gingerBill 2020-01-04 12:10:28 +00:00
  • b09297da81 Remove -Wno-writable-strings gingerBill 2020-01-04 10:59:12 +00:00
  • 9abdfaaf6c Merge pull request #531 from Tetralux/fix-make-and-reserve gingerBill 2020-01-03 10:51:42 +00:00
  • b32ef9e47b Fix make and reserve Tetralux 2020-01-03 10:40:45 +00:00
  • b8324b0776 Fix behaviour for make to return nil when alloc returns nil gingerBill 2020-01-03 10:17:30 +00:00
  • d0ca045586 Merge pull request #530 from KTRosenberg/unix_yield_sem_fix gingerBill 2020-01-03 09:50:12 +00:00
  • 673879d1d2 added note about pthread_yield KTRosenberg 2020-01-02 16:44:30 -05:00
  • 5d1c9583cb added the demo to the gitignore KTRosenberg 2020-01-02 16:42:34 -05:00
  • d017b5de9d replaced pthread_yield with ssched_yield, fixed semaphore post:q KTRosenberg 2020-01-02 16:25:48 -05:00
  • 93ead4bcb3 Fix typo gingerBill 2020-01-02 15:41:32 +00:00
  • bbe9b4dee0 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-01-02 15:07:58 +00:00
  • 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