Commit Graph

1162 Commits

Author SHA1 Message Date
gingerBill
0bd38ba1f6 Add some comments to explain what the differences between packages path and path/filepath 2020-09-26 20:17:54 +01:00
gingerBill
49eaeccd84 Remove OS specific stuff from package path 2020-09-26 20:02:24 +01:00
gingerBill
840af6825a Update packages os, path, and filepath 2020-09-26 16:02:03 +01:00
gingerBill
3ccaf47566 Remove unused imports 2020-09-25 20:23:29 +01:00
gingerBill
8cc5cd1494 Add package path/filepath; Add os.stat for windows (TODO: unix) 2020-09-25 20:20:53 +01:00
gingerBill
6b634d5e46 Fix fmt with -vet 2020-09-25 15:54:23 +01:00
gingerBill
903ba1c5d8 Add built-in custom formatters for time.Time and time.Duration 2020-09-25 15:47:39 +01:00
gingerBill
b42c7f9161 Update package path and fix bugs; add path.match which uses shell pattern matching 2020-09-25 11:43:51 +01:00
gingerBill
fc4fdd588e Remove usage of do in core library 2020-09-23 17:17:14 +01:00
gingerBill
10afc58d7d Minor style change in parser.odin 2020-09-16 22:28:32 +01:00
gingerBill
97d7d8301a Fix ast.Branch_Node parsing in package odin/parser 2020-09-16 22:19:57 +01:00
gingerBill
59d9821bd9 Add intrinsics.type_has_field 2020-09-16 20:08:45 +01:00
nakst
c92860e142 update essence platform 2020-09-15 23:22:19 +01:00
gingerBill
4cf240ca05 Fix odin/parser issues 2020-09-15 22:14:23 +01:00
gingerBill
2475c69f00 Remove runtime.os_stdout, since it is not required by the runtime 2020-09-15 14:16:44 +01:00
gingerBill
9d976b04bc Fix +build tag logic 2020-09-15 12:45:44 +01:00
gingerBill
b94dde2817 Force used of imports in reflect/map.odin 2020-09-15 12:31:21 +01:00
gingerBill
edbad0709e Add -default-to-nil-allocator flag (sets ODIN_DEFAULT_TO_NIL_ALLOCATOR) 2020-09-15 12:27:53 +01:00
gingerBill
bfc7d74967 Add relfect.map_entry_info_slice 2020-09-15 12:23:49 +01:00
gingerBill
9d91c46cb4 Move all os specific stuff for the runtime to one file 2020-09-15 12:19:56 +01:00
gingerBill
17b3c2ed4c Merge pull request #736 from jockus/json-parse-number-option
Added option to parse number as integer, disabled by default
2020-09-15 12:15:57 +01:00
jockus
8d637f5139 Added parse_integers optional to validation 2020-09-15 12:03:40 +01:00
gingerBill
f48a873954 Reorganize package runtime
Separates out the OS specific stuff into different files
2020-09-15 11:52:19 +01:00
gingerBill
4930a9c1a4 Add mem.clone_slice 2020-09-15 11:51:38 +01:00
jockus
195dbd658d Added option to parse number as integer, disabled by default 2020-09-15 11:39:34 +01:00
gingerBill
0cd681e6b7 Expose runtime._startup_runtime to allow for freestanding targets in the future 2020-09-15 10:51:51 +01:00
Christian Seibold
a13eed9894 Cleanup, check sched_param and SCHED_* constants in pthread_freebsd.odin 2020-09-15 01:34:01 -05:00
Christian Seibold
65787381c1 Change sizes of pthread types for freebsd 2020-09-14 16:48:55 -05:00
Christian Seibold
dd7b29e681 Finish add all errors 2020-09-14 16:18:36 -05:00
Christian Seibold
577be4a8ae Get Odin compiling and produced exe's running on FreeBSD 2020-09-14 15:22:35 -05:00
gingerBill
b8bebf4511 Fix typo in Small_Array procedure 2020-09-14 10:10:35 +01:00
gingerBill
77829af9de Fix delete("") on -llvm-api; Fix linalg stuff 2020-09-11 13:46:52 +01:00
gingerBill
97846d8390 Clean up quaternion_from_matrix(3|4) code 2020-09-10 21:19:59 +01:00
gingerBill
079b887313 Make procedure names consistent 2020-09-10 17:32:18 +01:00
gingerBill
6aa708a455 Fix Odin bug with "none" procedure calling conventions in the runtime 2020-09-10 16:36:33 +01:00
gingerBill
8f38b06c60 Add sanity conversion for rand.norm_float64 2020-09-10 15:42:07 +01:00
gingerBill
993fc577b2 Clarify euler angle procedures better 2020-09-10 15:33:50 +01:00
gingerBill
824491f410 Clean up Euler Angle code for math/linalg 2020-09-10 15:23:08 +01:00
gingerBill
c1149dbdee Update math and math/linalg; add "pure_none" calling convention 2020-09-10 15:00:19 +01:00
gingerBill
2dfa3a5df7 Fix typo 2020-09-07 14:40:36 +01:00
gingerBill
1064622ff7 Improve math/rand functionality 2020-09-07 14:38:01 +01:00
gingerBill
f5b8609160 Remove debug print 2020-09-07 12:15:54 +01:00
gingerBill
7f48cf8405 [REFLECTION BREAKING] Modify the internals of the map type to increase performance 2020-09-07 11:41:42 +01:00
gingerBill
7e08bccc9a Merge branch 'master' of https://github.com/odin-lang/Odin 2020-09-04 11:18:58 +01:00
gingerBill
9fd9130891 Add new core procedures: ordered_remove_range; unordered_remove_range; insert_at 2020-09-04 11:18:46 +01:00
gingerBill
9f1f194d18 Merge pull request #727 from JoshuaManton/master-fork
Add allocator parameter to os.read_entire_file()
2020-09-03 08:37:22 +01:00
Joshua Mark Manton
0fe47a2f1b Add allocator parameter to os.read_entire_file() 2020-09-02 18:42:12 -07:00
Michael Kutowski
7b0ba76915 Update specific.odin 2020-08-29 22:33:24 +02:00
Michael Kutowski
12895de9ac fix hsl math.mod to usual hsl conversion 2020-08-29 21:49:49 +02:00
gingerBill
0216ade2f9 Merge pull request #721 from Tetralux/fix-getcwd-allocator
Fix os.get_current_directory() allocator
2020-08-27 11:38:24 +01:00