Commit Graph

  • 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
  • 20e4548999 Make llvm-c header use local includes gingerBill 2020-09-18 13:18:28 +01:00
  • 7490ac2cfd Fix issue #697 Joseph Battelle 2020-09-16 21:18:25 -07:00
  • 10afc58d7d Minor style change in parser.odin gingerBill 2020-09-16 22:28:32 +01:00
  • f5b18482f6 Merge pull request #739 from bttelle/issue-486 gingerBill 2020-09-16 22:23:41 +01:00
  • 97d7d8301a Fix ast.Branch_Node parsing in package odin/parser gingerBill 2020-09-16 22:19:57 +01:00
  • 3a3d415295 Fix issue #486 Joseph Battelle 2020-09-16 12:32:57 -07:00
  • 33003d1bc1 Update README.md gingerBill 2020-09-16 20:15:28 +01:00
  • 59d9821bd9 Add intrinsics.type_has_field gingerBill 2020-09-16 20:08:45 +01:00
  • f530c80216 Fix -debug bug with internal startup procedures gingerBill 2020-09-16 15:16:29 +01:00
  • 94b27aa64e Merge pull request #737 from nakst/master gingerBill 2020-09-15 22:28:15 +01:00
  • c92860e142 update essence platform nakst 2020-09-15 23:22:19 +01:00
  • 4cf240ca05 Fix odin/parser issues gingerBill 2020-09-15 22:14:23 +01:00
  • ebad8e8990 Change how ir.cpp calls the startup type info procedure gingerBill 2020-09-15 19:40:37 +01:00
  • 2475c69f00 Remove runtime.os_stdout, since it is not required by the runtime gingerBill 2020-09-15 14:16:44 +01:00
  • c9dcb7242f Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-09-15 12:46:12 +01:00
  • 9d976b04bc Fix +build tag logic gingerBill 2020-09-15 12:36:37 +01:00
  • 6f1e774a42 Move runtime os specific freestanding stuff to a separate file gingerBill 2020-09-15 12:36:37 +01:00
  • b94dde2817 Force used of imports in reflect/map.odin gingerBill 2020-09-15 12:31:21 +01:00
  • 92cd50d3f0 Add TargetOS_freestanding for future use gingerBill 2020-09-15 12:29:32 +01:00
  • 1ef1407f02 Update ODIN_VERSION gingerBill 2020-09-15 12:28:15 +01:00
  • edbad0709e Add -default-to-nil-allocator flag (sets ODIN_DEFAULT_TO_NIL_ALLOCATOR) gingerBill 2020-09-15 12:27:53 +01:00
  • bfc7d74967 Add relfect.map_entry_info_slice gingerBill 2020-09-15 12:23:49 +01:00
  • 9d91c46cb4 Move all os specific stuff for the runtime to one file gingerBill 2020-09-15 12:19:56 +01:00
  • 17b3c2ed4c Merge pull request #736 from jockus/json-parse-number-option gingerBill 2020-09-15 12:15:57 +01:00
  • 8d637f5139 Added parse_integers optional to validation jockus 2020-09-15 12:03:40 +01:00
  • f48a873954 Reorganize package runtime Separates out the OS specific stuff into different files gingerBill 2020-09-15 11:52:19 +01:00
  • 4930a9c1a4 Add mem.clone_slice gingerBill 2020-09-15 11:51:38 +01:00
  • 195dbd658d Added option to parse number as integer, disabled by default jockus 2020-09-15 11:39:34 +01:00
  • 0cd681e6b7 Expose runtime._startup_runtime to allow for freestanding targets in the future gingerBill 2020-09-15 10:51:51 +01:00
  • 3211e60018 Merge pull request #734 from krixano/FreeBSD gingerBill 2020-09-15 10:12:42 +01:00
  • 775bd66382 Merge pull request #735 from bttelle/issue-723 gingerBill 2020-09-15 10:05:05 +01:00
  • a13eed9894 Cleanup, check sched_param and SCHED_* constants in pthread_freebsd.odin Christian Seibold 2020-09-15 01:34:01 -05:00
  • e9c598a426 Fix issue #723 Joseph Battelle 2020-09-14 16:41:53 -07:00
  • 65787381c1 Change sizes of pthread types for freebsd Christian Seibold 2020-09-14 16:48:55 -05:00
  • dd7b29e681 Finish add all errors Christian Seibold 2020-09-14 16:18:36 -05:00
  • 577be4a8ae Get Odin compiling and produced exe's running on FreeBSD Christian Seibold 2020-09-14 15:22:35 -05:00
  • ac126a8cd7 Add FreeBSD targets, get gb.h working with FreeBSD, fix odin_root_directory function for FreeBSD and a few other operating systems not yet added Christian Seibold 2020-09-14 11:28:41 -05:00
  • d53725fe14 Merge pull request #733 from bttelle/issue-515 gingerBill 2020-09-14 14:07:02 +01:00
  • b8bebf4511 Fix typo in Small_Array procedure gingerBill 2020-09-14 10:10:35 +01:00
  • 2f32b8fb3d Fix issue #515 Joseph Battelle 2020-09-13 22:58:05 -07:00
  • 1fd1203d8b Improve error message for multi-valued global declarations not be allowed gingerBill 2020-09-12 16:04:02 +01:00
  • ccb7c3513b Fix check_arity_match bug gingerBill 2020-09-12 15:50:42 +01:00
  • bf215377de Add edge case check for "" string gingerBill 2020-09-11 16:20:46 +01:00
  • d317d3d8b3 Simplify "" string code gingerBill 2020-09-11 16:18:24 +01:00