Commit Graph

  • 51e50d3e31 Add intrinsics.type_proc_parameter_type; Add intrinsics.type_proc_return_type gingerBill 2020-07-01 22:35:38 +01:00
  • 1b2cc739a9 Handle llvm package name edge case for IR mangling gingerBill 2020-06-30 19:12:53 +01:00
  • 7bdd8094d6 Fix signature_parameter_similar_enough logic gingerBill 2020-06-30 19:10:24 +01:00
  • 323fc7a6a9 Fix system calls for compiler gingerBill 2020-06-30 19:04:14 +01:00
  • 92363da58e Add -show-system-calls; Update runtime for windows_386; Fix some minor bugs gingerBill 2020-06-30 10:09:58 +01:00
  • 0ea64182f1 Begin work on windows 386 gingerBill 2020-06-29 17:35:33 +01:00
  • 8478b887a5 Add mem.check_zero and mem.check_zero_ptr gingerBill 2020-06-29 16:17:40 +01:00
  • 86448ee044 Add raw_data to replace cases in which &x[0] was used gingerBill 2020-06-29 15:58:24 +01:00
  • 56a52a1d06 Add sync.condition_wait_for_timeout for unix gingerBill 2020-06-27 12:21:31 +01:00
  • 858c5f8fd8 Update thread_unix logic gingerBill 2020-06-27 11:36:48 +01:00
  • f92b4c7849 Update sys/unix; Rename thread.create_and_start gingerBill 2020-06-27 11:26:38 +01:00
  • 9fdebebd28 Add sync.Barrier; Add sync.Blocking_Mutex for unix gingerBill 2020-06-27 11:23:37 +01:00
  • 2b18f43b65 Update sys/windows; Add sync.Blocking_Mutex (windows only at the moment) gingerBill 2020-06-27 00:59:40 +01:00
  • 53e1512978 Add more exception handling stuff to sys/windows gingerBill 2020-06-26 20:42:17 +01:00
  • b5f9c95ce7 Remove foreign import for -vet gingerBill 2020-06-26 20:33:47 +01:00
  • 231f91304a Keep previous behaviour for sync but move to sys/windows gingerBill 2020-06-26 20:30:33 +01:00
  • d7b3f3a0e7 Revert sync_windows.odin gingerBill 2020-06-26 20:22:48 +01:00
  • bb81d4869f Update sys/windows gingerBill 2020-06-26 20:09:31 +01:00
  • b633a42bc2 Revert channel.odin gingerBill 2020-06-26 19:16:17 +01:00
  • 6bd05ef5d7 Begin migration from sys/win32 to sys/windows gingerBill 2020-06-26 19:11:34 +01:00
  • 251a3a690e Add optional sep parameter to fmt.*print and fmt.*println procedures gingerBill 2020-06-25 15:00:50 +01:00
  • f22b014db0 Revert build.bat gingerBill 2020-06-23 09:20:13 +01:00
  • a6edcf4f18 Fix ABI typo bug; Add pop_safe and pop_front_safe gingerBill 2020-06-22 21:03:57 +01:00
  • 2a598aa061 Update sync.Channel gingerBill 2020-06-22 17:45:01 +01:00
  • 910ab7b3d4 Fix typo gingerBill 2020-06-22 17:00:35 +01:00
  • 2b27300387 Fix LLVM code gen bug gingerBill 2020-06-22 16:57:21 +01:00
  • 0db1ebb4e5 -vet sync/channel.odin gingerBill 2020-06-22 16:01:26 +01:00
  • 0013033f9a Revert build.bat gingerBill 2020-06-22 15:58:48 +01:00
  • f00123742c Add experimental sync.Channel gingerBill 2020-06-22 15:54:35 +01:00
  • 509e8b512f Add time.read_cycle_counter gingerBill 2020-06-22 15:53:16 +01:00
  • 2562df5387 Remove unused imports in thread.odin gingerBill 2020-06-22 13:35:44 +01:00
  • 0ab356aa4e Fix sync and thread on *nix gingerBill 2020-06-22 13:32:58 +01:00
  • b3c51a8b44 Add thread.run* shorthand procedures; Thread.init_context use new Maybe concept gingerBill 2020-06-22 13:28:37 +01:00
  • fb3aeccd36 Add built-in Maybe gingerBill 2020-06-22 13:25:19 +01:00
  • 9495e3d10c Update sync.Condition to require a ^sync.Mutex on init gingerBill 2020-06-22 13:24:51 +01:00
  • 0f711b8719 Remove old llvm-demo gingerBill 2020-06-21 20:04:29 +01:00
  • 2a6130b7e1 Reorder log.do_location_header order gingerBill 2020-06-19 15:24:42 +01:00
  • 34384cc2f1 Clean up some of the log code gingerBill 2020-06-19 15:18:23 +01:00
  • aeafed0218 Add fmt.DEFAULT_BUFFER_SIZE to be configurable with #config(FMT_DEFAULT_BUFFER_SIZE, 1<<12) gingerBill 2020-06-19 15:08:54 +01:00
  • 3a4bbfcfae Change fmt.*print behaviour to match fmt.*println behaviour gingerBill 2020-06-19 15:01:39 +01:00
  • 01c84b32a6 Add log.panic and log.panicf gingerBill 2020-06-19 12:23:06 +01:00
  • 240fc65d4d Add multi_logger.odin; Fix os_windows.odin gingerBill 2020-06-19 11:49:08 +01:00
  • c9d3b95b0d Fix time.now gingerBill 2020-06-19 11:35:43 +01:00
  • 9f596d6f34 Clean up package log code gingerBill 2020-06-19 11:18:23 +01:00
  • 2a684830f9 Fix using pointers bug with addressing struct fields gingerBill 2020-06-18 17:50:54 +01:00
  • c4ba3f1c83 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-06-17 23:28:46 +01:00
  • 724c776dbe Fix enumerated array type information creation bug gingerBill 2020-06-17 23:28:39 +01:00
  • ad8048b615 [CI] Use powershell to download LLVM on windows, split macOS and linux. Mikkel Hjortshoej 2020-06-16 18:12:43 +02:00
  • 781395ada1 Add deferred_in_out attribute gingerBill 2020-06-16 16:21:44 +01:00
  • 9635ea8706 Revert demo.odin gingerBill 2020-06-16 16:08:51 +01:00
  • 413188bab2 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-06-16 16:07:53 +01:00
  • 5fa54fd2cc Commit fix gingerBill 2020-06-16 16:07:44 +01:00
  • b79e1b6b5c Cleanup package encoding/json gingerBill 2020-06-16 16:05:15 +01:00
  • 8dff0f7ef5 -vet code gingerBill 2020-06-16 12:57:06 +01:00
  • f85f3dce12 Revert demo.odin gingerBill 2020-06-16 12:55:09 +01:00
  • 5edb1e8a28 Add hash.djb2 hash.jenkins; Add container.Bloom_Filter; Add container.Ring gingerBill 2020-06-16 12:53:57 +01:00
  • f70939ab4f Use windows specific exception traps gingerBill 2020-06-15 12:39:29 +01:00
  • 08e271720a Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-06-15 11:54:28 +01:00
  • c3ebc49ad2 Fix @static slice for LLVM C API backend gingerBill 2020-06-15 11:54:18 +01:00
  • 9cccb20f49 Add some tests to test utf16_to_utf8 and wstring_to_utf8 vassvik 2020-06-13 18:04:19 +02:00
  • 6985d72fda Make os.get_current_directory no longer strip the zero at the end of the resulting string, as it no longer should occur. vassvik 2020-06-13 15:20:39 +02:00
  • 0056cdffa7 Reworked win32.utf16_to_utf8 and win32.wstring_to_utf8 to scan for zeros from the start of the string instead of from the end. vassvik 2020-06-13 15:19:41 +02:00
  • a229f9825b Fix -vet warning for fmt.printf("%10s") gingerBill 2020-06-12 23:13:26 +01:00
  • a6ff48a5de Merge pull request #681 from ralph-the-mighty/stringwidth gingerBill 2020-06-12 23:10:28 +01:00
  • 6648dc9ed1 use width in when printing formatted string to control padding added after the string Josh 2020-06-12 18:05:40 -04:00
  • bbbf7168f1 Add wstring_to_utf8 to sys/win32 vassvik 2020-06-12 21:06:21 +02:00
  • c15ed44f82 Fix off by one bug introduced in the previous commit. vassvik 2020-06-12 18:19:46 +02:00
  • 58466a6f3b Add extra NUL termination check for string length in win32 general string convertors gingerBill 2020-06-12 15:01:43 +01:00
  • be76c860a5 mem.simple_equal gingerBill 2020-06-12 14:52:31 +01:00
  • 4533c02cc7 Improve intrinsics.type_is_simple_compare gingerBill 2020-06-12 14:37:27 +01:00
  • 01d12770fa Fix compound literals for constant procedure fields gingerBill 2020-06-11 16:11:54 +01:00
  • 82b559c32b Remove debug code gingerBill 2020-06-10 19:29:24 +01:00
  • 474d79dcf1 Add mem.simple_compare_values gingerBill 2020-06-10 16:37:22 +01:00
  • 61db6c1234 Add force usage when importing intrinsics or builtin gingerBill 2020-06-10 16:36:59 +01:00
  • e641d714a0 Fix #677 gingerBill 2020-06-10 16:32:53 +01:00
  • f305726015 Fix #c_vararg for LLVM C API gingerBill 2020-06-10 16:15:56 +01:00
  • 57b09b2ffb Fix #439 gingerBill 2020-06-10 15:37:50 +01:00
  • e86fde3cb1 Fix #648 gingerBill 2020-06-10 15:09:04 +01:00
  • 99944f3b02 Improve behaviour of return with named results to aid with defer statements gingerBill 2020-06-10 14:53:35 +01:00
  • a9295d33ab Fix #674 gingerBill 2020-06-10 14:39:50 +01:00
  • 4acae2af44 Add support for using on relative pointers #670 gingerBill 2020-06-10 14:25:11 +01:00
  • 036429bf2f Fix reflect.as_i64 and reflect.as_u64 gingerBill 2020-06-10 14:13:50 +01:00
  • d0920804c3 Stop statement generation after terminating instruction in current block (LLVM C API) gingerBill 2020-06-10 13:57:25 +01:00
  • 97d3d4ff6f Minor changes for \*nix backend gingerBill 2020-06-10 13:38:17 +01:00
  • 6ea0910213 Fix typo gingerBill 2020-06-10 13:02:42 +01:00
  • b8d33165c9 Add -target:<string> fuzzy checking with "Did you mean" message gingerBill 2020-06-10 12:59:54 +01:00
  • 6b3ee447f0 Basic cross compilation support gingerBill 2020-06-10 12:26:31 +01:00
  • 9b1cc6e94f Update logic for slice literals, backing array to be on the stack if possible (LLVM C API) gingerBill 2020-06-08 12:41:42 +01:00
  • 0ffb718a91 Add fmt.User_Formatter gingerBill 2020-06-08 12:40:50 +01:00
  • a7dd686859 Add #caller_location to strings.clone; remove deprecated procedures in package strings gingerBill 2020-06-08 11:42:38 +01:00
  • 87a6d695d6 Fix typo in error message gingerBill 2020-06-06 22:39:36 +01:00
  • a89633e3ed Remove return after unreachable gingerBill 2020-06-06 15:22:22 +01:00
  • 59a0bbb385 Improve termination rules checking for missing return; Make diverging procedure -> ! be terminators gingerBill 2020-06-06 15:16:24 +01:00
  • a3fa647bfd Add package sys/llvm to expose some of the LLVM intrinsics gingerBill 2020-06-06 14:52:22 +01:00
  • 1a4e2196bd Fix runtime.bswap_16 gingerBill 2020-06-05 14:12:30 +01:00
  • d8f9daac95 Fix different endian integers for LLVM C API backend gingerBill 2020-06-05 13:12:57 +01:00
  • f992e36f9a Rename reflect.to_* to reflect.as_* gingerBill 2020-06-05 10:38:38 +01:00
  • 11dd971e13 Add reflect.{to_int, to_uint, to_i64, to_u64, to_f64} gingerBill 2020-06-05 10:27:32 +01:00
  • 5ed4bac16f Merge pull request #676 from Tetralux/fix-temp-alloc-resize gingerBill 2020-06-04 23:13:41 +01:00
  • 04ceb5d20c Fix temporary allocator resizing Tetralux 2020-06-04 21:49:07 +00:00