Commit Graph

  • 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
  • 77829af9de Fix delete("") on -llvm-api; Fix linalg stuff gingerBill 2020-09-11 13:46:52 +01:00
  • 97846d8390 Clean up quaternion_from_matrix(3|4) code gingerBill 2020-09-10 21:19:59 +01:00
  • 079b887313 Make procedure names consistent gingerBill 2020-09-10 17:32:18 +01:00
  • 6aa708a455 Fix Odin bug with "none" procedure calling conventions in the runtime gingerBill 2020-09-10 16:36:33 +01:00
  • 8f38b06c60 Add sanity conversion for rand.norm_float64 gingerBill 2020-09-10 15:42:07 +01:00
  • 993fc577b2 Clarify euler angle procedures better gingerBill 2020-09-10 15:33:50 +01:00
  • 824491f410 Clean up Euler Angle code for math/linalg gingerBill 2020-09-10 15:23:08 +01:00
  • c1149dbdee Update math and math/linalg; add "pure_none" calling convention gingerBill 2020-09-10 15:00:19 +01:00
  • 7e625f6ee7 Add extra check for checking uniqueness of package names gingerBill 2020-09-10 11:13:09 +01:00
  • 2dfa3a5df7 Fix typo gingerBill 2020-09-07 14:40:36 +01:00
  • 1064622ff7 Improve math/rand functionality gingerBill 2020-09-07 14:38:01 +01:00
  • f5b8609160 Remove debug print gingerBill 2020-09-07 12:15:54 +01:00
  • 7f48cf8405 [REFLECTION BREAKING] Modify the internals of the map type to increase performance gingerBill 2020-09-07 11:41:42 +01:00
  • 7e08bccc9a Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-09-04 11:18:58 +01:00
  • 9fd9130891 Add new core procedures: ordered_remove_range; unordered_remove_range; insert_at gingerBill 2020-09-04 11:18:46 +01:00
  • 9f1f194d18 Merge pull request #727 from JoshuaManton/master-fork gingerBill 2020-09-03 08:37:22 +01:00
  • 0fe47a2f1b Add allocator parameter to os.read_entire_file() Joshua Mark Manton 2020-09-02 18:42:12 -07:00
  • 31989c93ac Merge pull request #725 from Skytrias/master v0.13.0 Mikkel Hjortshøj 2020-08-29 22:48:49 +02:00
  • 7b0ba76915 Update specific.odin Michael Kutowski 2020-08-29 22:33:24 +02:00
  • bd8ca64a30 Merge pull request #1 from odin-lang/master Michael Kutowski 2020-08-29 22:32:26 +02:00
  • 32fda798f3 Merge pull request #724 from Skytrias/master Mikkel Hjortshøj 2020-08-29 21:58:16 +02:00
  • 12895de9ac fix hsl math.mod to usual hsl conversion Michael Kutowski 2020-08-29 21:49:49 +02:00
  • 0216ade2f9 Merge pull request #721 from Tetralux/fix-getcwd-allocator gingerBill 2020-08-27 11:38:24 +01:00
  • 14e6cdb1a0 Merge pull request #722 from jockus/fix-core-path-name-extension gingerBill 2020-08-27 11:38:04 +01:00
  • 4daf098a3a Fix defer on explicit return of a procedure with no return values for llvm-api gingerBill 2020-08-27 11:06:44 +01:00
  • 914c99a15e Merge branch 'master' into fix-core-path-name-extension jockus 2020-08-27 08:24:59 +01:00
  • d31c63c0ae Fix #714 gingerBill 2020-08-27 00:11:02 +01:00
  • c783840eab Fix #642 gingerBill 2020-08-26 23:20:25 +01:00