Commit Graph

  • 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
  • 289908e0b8 Add +build ignore tag gingerBill 2020-10-15 16:25:57 +01:00
  • 5a28a7e0f5 Add intrinsics.type_field_index_of gingerBill 2020-10-15 16:12:47 +01:00
  • f8e697dbbb Fix indirect selector bug with using on offset_of gingerBill 2020-10-15 14:58:57 +01:00
  • 7fc3030c63 Update path/filepath to use new slice.sort; Add sort.reverse_interface gingerBill 2020-10-14 20:47:13 +01:00
  • edd802e1ff Add package slice; New sort.Interface with default sort.sort gingerBill 2020-10-14 19:52:05 +01:00
  • de13584be2 Add #no_bounds_check to crc procedures gingerBill 2020-10-14 16:00:08 +01:00
  • 8806283cf7 Improve location information for log.panic* gingerBill 2020-10-14 15:59:45 +01:00
  • ec5934705c Enforce do bodies to be on the same line as the control statement's condition or token gingerBill 2020-10-14 15:59:19 +01:00
  • fa33476438 Improve default temp allocator; Fix filepath.abs behaviour on Windows gingerBill 2020-10-13 14:40:13 +01:00
  • dfac45942c Fix error message when importing package that does not exist Tetralux 2020-10-09 05:40:43 +01:00
  • 1b4bccbc94 Add append_nothing gingerBill 2020-10-08 12:23:44 +01:00
  • 062ae56f25 Fix a few bugs in path based code. Clay Murray 2020-10-07 16:32:00 -06:00
  • 6eeb12a986 Improve default temp_allocator; make nil loggers do nothing; improve mem.Scratch_Allocator behaviour gingerBill 2020-10-02 16:06:55 +01:00
  • a65553293f Add mem.Small_Allocator gingerBill 2020-10-02 11:09:36 +01:00
  • 8f28312705 Fix pop behaviour, and improve assert messages by using #caller_location gingerBill 2020-10-02 11:04:17 +01:00
  • 3a4f0d85a6 Fix container.Array and container.Ring gingerBill 2020-10-01 17:04:56 +01:00
  • c604e359c7 Move flush to within the sbprint* procedures gingerBill 2020-10-01 12:09:38 +01:00
  • 66c648e5e0 Remove unused variable gingerBill 2020-10-01 12:05:42 +01:00
  • e83af93394 Allow flushing with strings.Builder; Make fmt.fprint* procedures use a custom flush procedure gingerBill 2020-10-01 12:03:20 +01:00
  • dd4c02a1b9 Fix multiple declared foreign procedures gingerBill 2020-10-01 12:02:07 +01:00
  • bc2151f529 Add new os_specific_*.odin files gingerBill 2020-10-01 10:59:47 +01:00
  • 252a864308 Reimplement the Windows OS dependencies in package runtime gingerBill 2020-10-01 10:57:02 +01:00
  • 9513cf1ac6 Fix os.stat code; make fmt.panicf diverging gingerBill 2020-09-30 22:04:39 +01:00
  • c35d533ce5 Replace the *_remove_range with procedures with remove_range gingerBill 2020-09-30 12:38:40 +01:00
  • 464e733b88 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-09-29 11:11:42 +01:00
  • 519dcc2b76 Add os.read_at and for Windows; fix mem.clone_slice; fix current directory locking code gingerBill 2020-09-29 11:11:28 +01:00
  • 1818ceb4f2 Merge pull request #747 from Platin21/master gingerBill 2020-09-28 12:48:50 +01:00
  • e95addb1f4 Revert user_data addition gingerBill 2020-09-28 12:40:48 +01:00
  • d343e47a86 Add user_data parameter to filepath.walk and filepath.Walk_Proc gingerBill 2020-09-28 12:39:34 +01:00
  • 1d21740afb Add filepath.walk gingerBill 2020-09-28 12:29:14 +01:00
  • 9ae3879956 Add os.stat, os.lstat, os.fstat, filepath.walk gingerBill 2020-09-28 12:28:02 +01:00
  • 6b83159b06 Switched to else instead of not equal Platin21 2020-09-27 22:17:35 +03:00
  • d72a01a714 Merge branch 'master' of https://github.com/odin-lang/Odin Platin21 2020-09-27 22:13:12 +03:00
  • 2ed6785b4a Adds -syslibroot to linker command needed for System.framework Platin21 2020-09-27 22:11:23 +03:00
  • f7e40b8572 Adds when statement for framework include Platin21 2020-09-27 22:08:33 +03:00
  • a71cbd4087 Changed foreign imports to now use the System Framework Platin21 2020-09-27 21:57:27 +03:00
  • 2ebb94fa72 Allow os.read_dir to use a different allocator gingerBill 2020-09-27 00:31:29 +01:00
  • 96a0125599 Fix typo in reflect.set_union_variant_type_info gingerBill 2020-09-27 00:30:54 +01:00
  • 626d0736f4 Add more to package reflect (as_string, as_pointer, as_raw_data, relative_pointer_to_absolute) gingerBill 2020-09-27 00:15:16 +01:00
  • e26f63b448 Update package reflect gingerBill 2020-09-26 23:51:42 +01:00
  • b9076b0d5b Add package unicode/utf8/utf8string for efficient utf8 codepoint indexing to strings gingerBill 2020-09-26 23:16:18 +01:00
  • c43b8ef387 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-09-26 23:12:20 +01:00
  • b9f511954a Make runtime.slice_handle_error explicitly diverging gingerBill 2020-09-26 23:12:04 +01:00
  • 4936713a5e Merge pull request #740 from bttelle/issue-697 gingerBill 2020-09-26 21:09:40 +01:00
  • 0bd38ba1f6 Add some comments to explain what the differences between packages path and path/filepath gingerBill 2020-09-26 20:17:54 +01:00
  • 49eaeccd84 Remove OS specific stuff from package path gingerBill 2020-09-26 20:02:24 +01:00
  • 840af6825a Update packages os, path, and filepath gingerBill 2020-09-26 16:02:03 +01:00
  • 3ccaf47566 Remove unused imports gingerBill 2020-09-25 20:23:29 +01:00
  • 8cc5cd1494 Add package path/filepath; Add os.stat for windows (TODO: unix) gingerBill 2020-09-25 20:20:53 +01:00
  • 6b634d5e46 Fix fmt with -vet gingerBill 2020-09-25 15:54:23 +01:00
  • 903ba1c5d8 Add built-in custom formatters for time.Time and time.Duration gingerBill 2020-09-25 15:47:39 +01:00
  • b42c7f9161 Update package path and fix bugs; add path.match which uses shell pattern matching gingerBill 2020-09-25 11:43:51 +01:00
  • 654b24e514 Add -disallow-do gingerBill 2020-09-23 17:17:32 +01:00
  • fc4fdd588e Remove usage of do in core library gingerBill 2020-09-23 17:17:14 +01:00
  • 4844dd4d96 Add check to block statements to see if they only contain one statement, a value declaration, and err. gingerBill 2020-09-23 11:16:33 +01:00
  • 609af3a651 Fix and clean up default procedure parameter code for non-constant types gingerBill 2020-09-22 12:06:05 +01:00