Commit Graph

  • d90fc18bef Basic odin doc support gingerBill 2020-11-17 15:05:16 +00:00
  • 00192bb349 Improve flag handling to check for invalid uses gingerBill 2020-11-17 13:55:08 +00:00
  • edd9d5e50b Add -show-unused-with-location gingerBill 2020-11-17 13:02:10 +00:00
  • fea8c63ab3 Fix string_compare gingerBill 2020-11-17 12:19:28 +00:00
  • 6f71d1f2a9 Add -show-unused (Shows unused package declarations of all imported packages) gingerBill 2020-11-17 12:10:25 +00:00
  • ca4b0527e8 Minimize memory usage for AST nodes by using Slice<T> rather than Array<T> when the parameter doesn't need to grow gingerBill 2020-11-16 15:18:25 +00:00
  • adf6c85fd3 Minimize Ast flags usage gingerBill 2020-11-16 01:42:30 +00:00
  • 939878df50 Improve logic for x->y() shorthand gingerBill 2020-11-15 23:54:18 +00:00
  • 5fafb17d81 Improve generate_entity_dependency_graph: Calculate edges for graph M - Part 2 gingerBill 2020-11-15 22:46:07 +00:00
  • 3a229397e4 Add next_pow2_isize for PtrSet gingerBill 2020-11-15 21:22:26 +00:00
  • db0bcbc4f4 Fix calling convention for new LLVM ABI, and changePtrSet index to be u32 rather than isize gingerBill 2020-11-15 21:19:08 +00:00
  • 0d6f5cec37 Implement custom temporary allocator using ring buffer gingerBill 2020-11-15 19:36:37 +00:00
  • 17ec3e72a6 Add SCOPED_TEMPORARY_BLOCK for temporary allocations within a block gingerBill 2020-11-15 18:45:40 +00:00
  • 30d922b059 Make set_procedure_abi_types use the permanent_allocator gingerBill 2020-11-15 18:11:49 +00:00
  • 3c1c10a178 Begin clarifying allocation patterns by changing from heap_allocator to specific arenas gingerBill 2020-11-15 18:08:52 +00:00
  • 9f93042163 Improve lb_abi_to_odin_type gingerBill 2020-11-14 17:09:42 +00:00
  • a64ea342df Improve USE_NEW_LLVM_ABI_SYSTEM's System V ABI gingerBill 2020-11-12 23:40:13 +00:00
  • fa284f9a5a Fix import paths gingerBill 2020-11-12 14:20:33 +00:00
  • 78b6948ff2 Reorganize package strings gingerBill 2020-11-12 14:17:41 +00:00
  • a6c5c203ab Begin work on Sys V for new ABI system gingerBill 2020-11-12 01:21:09 +00:00
  • 70b8b3c7dd Update LLVM backend to begin work on a generic ABI system gingerBill 2020-11-12 00:43:49 +00:00
  • 6ee4f51670 Add new math procedure: inf_f32 inf_f64 nan_f32 nan_f64 gingerBill 2020-11-11 11:42:21 +00:00
  • e8da2ef65e Update package unicode gingerBill 2020-11-10 19:00:38 +00:00
  • 6c0fa24e5d Force dependency for @(export) entities gingerBill 2020-11-10 19:00:16 +00:00
  • 27d0660546 Merge pull request #779 from F0x1fy/master gingerBill 2020-11-10 17:47:02 +00:00
  • 0eba4b46b5 Made sure the entry point is not generated when -no-entry-point is specified. F0x1fy 2020-11-10 10:16:22 -07:00
  • 6b6f1a5283 For the sake of consistency, fixed the placement of the -no-entry-point flag check. F0x1fy 2020-11-10 09:56:16 -07:00
  • 3bed5fad77 Removed unnecessary newline from previous commit. F0x1fy 2020-11-10 09:55:00 -07:00
  • 301e1d2ff3 Added -no-entry-point flag and relevant check. F0x1fy 2020-11-10 09:50:53 -07:00
  • 49e140f4db Add utf8.full_rune gingerBill 2020-11-10 16:47:56 +00:00
  • 95b94a0f56 Fix sync.Channel code; add thread.run_with_poly_data and run_with_poly_data(2|3|4) procedures gingerBill 2020-11-10 15:00:40 +00:00
  • ee3b3fe6a3 Fix typeid_of bug gingerBill 2020-11-10 14:48:57 +00:00
  • eea3a1ecd3 Improve sync.Channel to encode the direction into the type gingerBill 2020-11-09 13:05:02 +00:00
  • 31f4590f4b Fix default parameters on record types gingerBill 2020-11-09 13:04:36 +00:00
  • 7909a9f5a5 Remove debug code causing bug gingerBill 2020-11-09 10:36:09 +00:00
  • c26cb470a2 Fix LLVM-API type cycle for procedures of named procedures gingerBill 2020-11-09 10:27:27 +00:00
  • 3d5e180dec Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-11-08 23:55:53 +00:00
  • 44baf56d62 Fix cyclic check in is_type_polymorphic gingerBill 2020-11-08 23:54:09 +00:00
  • 11a4dc8ee3 [CI] Done testing webhook Mikkel Hjortshøj 2020-11-08 01:47:09 +01:00
  • 19e2f7b7bf [CI] testing webhook Mikkel Hjortshøj 2020-11-08 01:46:28 +01:00
  • 817db70bde [CI] Remove -march for makefile nightly Mikkel Hjortshøj 2020-11-08 01:23:19 +01:00
  • ef27528ace [CI] Non-sudo install of b2? Mikkel Hjortshøj 2020-11-08 00:31:25 +01:00
  • a239fcfa3a Update nightly.yml Mikkel Hjortshøj 2020-11-08 00:21:28 +01:00
  • a77976533c [CI] Add manual trigger to nightly Mikkel Hjortshøj 2020-11-08 00:08:11 +01:00
  • 06b2a9a3e7 [CI] Try setting python 3.x in nightly upload step Mikkel Hjortshøj 2020-11-08 00:01:31 +01:00
  • 7a7fddd1df Merge pull request #775 from Tetralux/fix-type-table-unix gingerBill 2020-11-06 20:51:06 +00:00
  • 140bb3ebfc Fix -build-mode:shared type table on Unix Tetralux 2020-11-06 05:43:13 +00:00
  • 6fab181c0d Merge pull request #774 from F0x1fy/master gingerBill 2020-11-06 19:21:54 +00:00
  • 17271f74c7 Merge pull request #776 from hectormonacci/patch-3 gingerBill 2020-11-06 19:21:08 +00:00
  • 39044b5bb5 Fix small typo Héctor M. Monacci 2020-11-06 15:46:32 -03:00
  • 94277fe41c As per GingerBill's request, copied the files over to a linux-specific file instead of renaming to . F0x1fy 2020-11-06 11:11:26 -07:00
  • b5a619e975 Moved internal_windows to internal_any to allow for manual linking related to issue odin-lang/Odin#527. F0x1fy 2020-11-05 22:14:56 -07:00
  • 7c5247f5fb Add package sys/cpu - implements processor feature detection gingerBill 2020-11-06 00:39:09 +00:00
  • 9ac6d45bd6 Add more procedures to package slice gingerBill 2020-11-06 00:38:03 +00:00
  • 4cc84002db Merge pull request #773 from Tetralux/fix-slice-last gingerBill 2020-11-05 15:18:52 +00:00
  • c1d3c3f926 Fix slice.last() Tetralux 2020-11-05 00:51:50 +00:00
  • 85b2da2e2a Merge pull request #770 from hectormonacci/patch-2 gingerBill 2020-11-03 13:53:35 +00:00
  • 968aa2f688 Fix some typos Héctor M. Monacci 2020-11-03 10:51:56 -03:00
  • 0784b0ac7f Merge pull request #769 from hectormonacci/patch-1 gingerBill 2020-11-03 10:41:39 +00:00
  • 44cfa3484f Fix typo Héctor M. Monacci 2020-11-03 07:40:17 -03:00
  • 54fbdabc38 Add experimental -insert-semicolon functionality to tokenizer and parser gingerBill 2020-11-01 15:10:06 +00:00
  • 81398d21ed Merge pull request #768 from Platin21/fix_macos_linking Mikkel Hjortshøj 2020-10-31 23:18:35 +01:00
  • 8c46582667 Fixes text layout now via GitHub Platin21 2020-10-31 22:37:11 +01:00
  • f29f7351e9 Revert "Changed tab width was on 2 now 4" Platin21 2020-10-31 22:30:03 +01:00
  • fc7c0ca3b0 Changed tab width was on 2 now 4 Platin21 2020-10-31 22:29:02 +01:00
  • 8158239d76 Sets llvm api back to use the generic sdk link Platin21 2020-10-31 22:15:16 +01:00
  • f3108493fb Combines all link-able types to a single if and adds .o for linking Platin21 2020-10-31 22:12:50 +01:00
  • 7694a89d38 Fix for local/lib linking from brew for macOS Platin21 2020-10-31 22:05:40 +01:00
  • 75e8e5e06f Merge pull request #767 from SrMordred/patch-1 gingerBill 2020-10-31 10:07:33 +00:00
  • 59b8748c2c Update thread_windows.odin Patric Dexheimer 2020-10-31 02:40:52 -03:00
  • 2231f02f61 Update thread_windows.odin Patric Dexheimer 2020-10-31 02:37:26 -03:00
  • f9eadc3e98 Merge pull request #766 from odin-lang/fix-macos-ci Mikkel Hjortshøj 2020-10-29 20:16:19 +01:00
  • d6057a7ec6 [CI] Fix macOS CPATH for nightly builds Mikkel Hjortshøj 2020-10-29 20:10:26 +01:00
  • 532d307a75 [CI] Remove test stage for macOS and go back to macos-latest Mikkel Hjortshøj 2020-10-29 20:06:50 +01:00
  • 6ae8f5a62d [CI] Try and fix CPATH setting for macOS Mikkel Hjortshøj 2020-10-29 20:03:38 +01:00
  • a5c6487bc1 [CI] Try not installing our own llvm with brew Mikkel Hjortshøj 2020-10-29 19:28:50 +01:00
  • 6a808235fe [CI] Change deprecated workflow commands for macOS Mikkel Hjortshøj 2020-10-29 19:25:22 +01:00
  • 61d7cdfe92 [CI] Fix macOS tag Mikkel Hjortshøj 2020-10-29 13:35:53 +01:00
  • 45815fd26e [CI] Change macos version to 11 from 10.5 Mikkel Hjortshøj 2020-10-29 13:33:12 +01:00
  • c7a2d6970b [CI] Switch xcode version back to 11.7 Mikkel Hjortshøj 2020-10-29 13:23:45 +01:00
  • 6912ef1bc1 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-10-29 09:58:15 +00:00
  • 08fae7360a Fix ir printing for nested procedure literals indirectly through identifiers gingerBill 2020-10-29 09:58:08 +00:00
  • 6772cb0f3b Merge pull request #758 from zhibog/master gingerBill 2020-10-26 11:36:09 +00:00
  • ce35de47e4 Merge pull request #761 from Tetralux/patch-7 gingerBill 2020-10-26 11:35:25 +00:00
  • 213864a50c Reuse container.Queue capacity when calling pop_front() Tetralux 2020-10-26 00:12:31 +00:00
  • 4629754f7c Inline asm expression (-llvm-api) See https://llvm.org/docs/LangRef.html#inline-assembler-expressions Example: `` x := asm(i32) -> i32 { "bswap $0", "=r,r", }(123); ` Allowed directives #side_effect, #align_stack, #att, #intel e.g. asm() #side_effect #intel {...}` gingerBill 2020-10-24 16:32:37 +01:00
  • 0061e63db0 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-10-24 15:08:46 +01:00
  • 5fa488f163 Add intrinsics.cpu_relax for llvm-api gingerBill 2020-10-24 15:08:35 +01:00
  • 71ef27fef9 Merge pull request #753 from Tetralux/fix-dirnoexist-error gingerBill 2020-10-24 09:41:26 +01:00
  • 6ea000b648 Merge pull request #752 from powerc9000/patch-4 gingerBill 2020-10-24 01:28:15 +01:00
  • 05b58bdbb1 Fixed package name zhibog 2020-10-24 00:17:36 +02:00
  • 4c4112fbc7 Fixed getting windows version. The former function is no longer working on Windows 10. Also fixed the struct to use correct win32 names zhibog 2020-10-24 00:14:01 +02:00
  • feeb342c00 Improve multiple return value copy-elision gingerBill 2020-10-20 17:08:55 +01:00
  • c4dbc88a12 Improve array programming code generation gingerBill 2020-10-20 15:38:41 +01:00
  • f4b4cd0433 Specific set the code gen level for -llvm-api gingerBill 2020-10-20 12:43:15 +01:00
  • 4e5b8f2c61 Add -build-mode:assembly for -llvm-api gingerBill 2020-10-20 12:35:12 +01:00
  • 0be6ddc7e2 Add -microarch:<string> (e.g. -microarch:native) gingerBill 2020-10-20 12:25:11 +01:00
  • b1bdd95f19 Begin work on making packages import assembly sort files (.S) gingerBill 2020-10-16 15:32:09 +01:00
  • 063c0548b0 Add new package strings procedures: trim_prefix, trim_suffix, to_valid_utf8 gingerBill 2020-10-16 15:30:14 +01:00
  • 41f6a684e1 Rename slice.sort_proc to slice.sort_by; add slice.sort_by_key gingerBill 2020-10-16 14:55:36 +01:00