Commit Graph

  • 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
  • 0b67de47d6 add #config to odin parser Kevin Watters 2020-06-04 10:48:13 -04:00
  • 15c4077806 Fix WASM foreign import names gingerBill 2020-06-04 00:30:44 +01:00
  • 37a3abdaaa Fix calling convention stuff with LLVM C API gingerBill 2020-06-03 21:23:30 +01:00
  • ac709b8afb Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-06-03 21:10:18 +01:00
  • d80049bfd2 Change runtime.Type_Info_Enum_Value to be i64 internally rather than a union gingerBill 2020-06-03 21:10:07 +01:00
  • 239f3c0418 Merge pull request #672 from foxnne/fixwrap gingerBill 2020-06-03 14:57:43 +01:00
  • 5b11a842a8 Merge pull request #668 from kevinw/patch-1 gingerBill 2020-06-03 14:56:36 +01:00
  • 626b4740b1 Add wasm-ld support for wasm code generation gingerBill 2020-06-03 13:12:38 +01:00
  • 437d5e28cd fix wrap in core:math foxnne 2020-06-02 00:37:06 -05:00
  • 6c7fc4212a Remove intrinsics import Kevin Watters 2020-06-01 18:44:47 -04:00
  • 8589af1458 Improve bits.rotate_left* gingerBill 2020-05-31 16:19:08 +01:00
  • bf5ce04b24 Improve rules for shifting behaviour Example: x: u64 = 123; assert(x >> 64 == 0); // In C this would be 123 because (64 & 0b111111) == 0 gingerBill 2020-05-31 13:50:17 +01:00
  • 8057af9e09 Fix #659 Compiler error when indexing constant slices gingerBill 2020-05-31 12:20:47 +01:00
  • d8bc2030e6 Fix big_int_to_f64 gingerBill 2020-05-30 16:45:49 +01:00
  • 5eaef091e2 Update math/bits gingerBill 2020-05-30 12:24:00 +01:00
  • 84fd40de77 Fix rules for recursive initialization with procedure entities; Fix executable name if not given gingerBill 2020-05-30 12:23:41 +01:00
  • 1d7f99cbdf Remove mem_zero from make; Implement custom memset for windows amd64 gingerBill 2020-05-27 20:17:58 +01:00
  • 3d4a3730b0 Add notin deprecation gingerBill 2020-05-27 18:47:45 +01:00
  • 1f31d573e4 Fix tokenization gingerBill 2020-05-27 18:43:02 +01:00
  • 237962182b Fix tokenizing for %% gingerBill 2020-05-27 18:41:10 +01:00
  • e84406a895 Move zero_size gingerBill 2020-05-27 18:26:20 +01:00
  • 1a0614b0d7 Improve performance of tokenization and parsing gingerBill 2020-05-27 18:23:37 +01:00
  • 876820789e Add rune_is_letter_or_digit for tokenizer gingerBill 2020-05-27 12:54:11 +01:00
  • 4e21a4d46a Optimize rune_is_* procedures for tokenizer gingerBill 2020-05-27 12:43:49 +01:00
  • 6ac0fb80a6 Minor tokenizer performance improvements gingerBill 2020-05-27 12:32:11 +01:00
  • 098699103d Begin work on supporting wasm32 architecture gingerBill 2020-05-25 12:46:23 +01:00
  • d6bcc25b69 Fix tokenizer for 0i #658 gingerBill 2020-05-24 21:43:36 +01:00
  • a2c50d3666 Fix -vet for strings gingerBill 2020-05-24 17:57:55 +01:00