2129 Commits

Author SHA1 Message Date
gingerBill 14c4fed94c v0.12.0 v0.12.0 2020-01-18 15:32:15 +00:00
gingerBill c3205316ed Remove debug printing 2020-01-18 14:53:53 +00:00
gingerBill b542ef273d Begin work on -target:windows_386 2020-01-18 14:44:53 +00:00
gingerBill 404132de17 Fix microsoft_craziness.h to work correctly 2020-01-18 12:36:18 +00:00
gingerBill cd43f4c94c Add suggestions for indexing constant values with a variable index 2020-01-18 12:09:26 +00:00
gingerBill 23ff98dea0 Fix microsoft_craziness.h 2020-01-18 12:08:45 +00:00
gingerBill 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
2020-01-18 11:27:41 +00:00
gingerBill 7f89f6b582 Add intrinsics.type_is_specialization_of 2020-01-17 23:30:38 +00:00
gingerBill 159150c6d9 Allow not_in as keyword over notin, but still allow notin to work 2020-01-16 10:00:14 +00:00
gingerBill 527b39ce2b Merge remote-tracking branch 'origin/master' 2020-01-16 09:07:52 +00:00
gingerBill 5af3c7b0e8 Fix constant slice checking, again 2020-01-16 09:05:17 +00:00
gingerBill 5db4bd9944 Fix #536 2020-01-15 12:01:29 +00:00
gingerBill 20b410f149 Fix #540 2020-01-15 11:56:42 +00:00
gingerBill ae7cbd5171 Add debug info for enumerated arrays 2020-01-14 17:37:45 +00:00
gingerBill 04f7225ea5 Exact value zero value for T{} of basic types 2020-01-14 17:36:37 +00:00
gingerBill f0c6f29f82 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-01-12 13:53:57 +00:00
gingerBill 7d9a9a2283 Add extra check for opaque types 2020-01-12 13:53:51 +00:00
gingerBill ba85e432e7 Fix Proc Type ABI printing on System V 2020-01-12 13:43:45 +00:00
gingerBill cfba29002a Add extra set_procedure_abi_types sanity checks in IR 2020-01-11 20:29:46 +00:00
gingerBill 11c7b6a2e4 Fix len of type bug 2020-01-11 20:26:36 +00:00
gingerBill 47f9876b36 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-01-11 20:20:20 +00:00
gingerBill ff31f9a900 Fix @thread_local IR printing 2020-01-11 20:19:52 +00:00
gingerBill ebc4867514 Fix #521 Explicit union tag values 2020-01-11 20:16:42 +00:00
gingerBill e1ccba3de5 Improve runtime/default_allocators.odin 2020-01-11 20:12:50 +00:00
gingerBill 28570f8fa4 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-01-11 20:11:47 +00:00
gingerBill 24bd370e1b Fix Panic with runtime.type_info_base #532 2020-01-11 20:11:39 +00:00
Mikkel Hjortshøj 3e67ae7339 Merge pull request #534 from ThisDrunkDane/fix-log-mistake
Fix mistake in .Short_File_Path option in file_console_logger.odin
2020-01-09 19:19:23 +01:00
Mikkel Hjortshoej 0e52c37865 Don't change delimiter as location has changed to be unified no matter the platform 2020-01-08 21:29:46 +01:00
gingerBill d520b9a1ba Fix typo 2020-01-05 12:49:32 +00:00
gingerBill 5c7d6fcfd0 Improve minimum dependency for complex numbers and quaternion numbers. 2020-01-04 18:04:12 +00:00
gingerBill 5ae924f988 Make "none" calling convention ignore return_by_pointer flag 2020-01-04 12:42:16 +00:00
gingerBill cae1e02593 Add extra in set_procedure_abi_types ir_print.cpp 2020-01-04 12:10:28 +00:00
gingerBill b09297da81 Remove -Wno-writable-strings 2020-01-04 10:59:12 +00:00
gingerBill 9abdfaaf6c Merge pull request #531 from Tetralux/fix-make-and-reserve
Fix make and reserve
2020-01-03 10:51:42 +00:00
Tetralux b32ef9e47b Fix make and reserve
- Set the allocator, even if memory allocation fails.
  Right now it doesn't, which means that if allocation fails, it'll use
  the context allocator instead. This memory will be leaked if the user
  doesn't understand that this happened.

- Only set len and cap of the array returned from make iif the memory allocation
  succeeded.
  This means that reserve will return false if you do this:
  ```
  a := make([dynamic]int, failing_allocator);
  if !reserve(&a, 5) do return; // or whatever indicates failure
  ```
2020-01-03 10:40:45 +00:00
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