Commit Graph

4001 Commits

Author SHA1 Message Date
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
jockus
914c99a15e Merge branch 'master' into fix-core-path-name-extension 2020-08-27 08:24:59 +01:00
gingerBill
d3eca21e40 Fix style in parse.odin 2020-08-26 22:48:32 +01:00
gingerBill
999d1a022d Merge branch 'master' of https://github.com/odin-lang/Odin 2020-08-26 22:41:06 +01:00
gingerBill
1f2f3cb315 Fix #712 2020-08-26 22:40:03 +01:00
jockus
8de70ce73d Fix path.name failing to remove extension 2020-08-26 17:32:47 +01:00
Tetralux
3820f27c7c Fix os.get_current_directory() allocator
This procedure accidentally used the temporary allocator for the
returned string.
Use context.allocator, and the allocator parameter idiom instead.
2020-08-26 11:37:44 +00:00
Platin21
3946f357e8 Update ring.odin
Someone missed the T type here ;)
2020-08-22 13:12:18 +02:00
gingerBill
b9b2b90f0c Merge branch 'master' of https://github.com/odin-lang/Odin 2020-08-18 21:12:02 +01:00
gingerBill
a6a7395be7 Update unicode/letter.odin 2020-08-18 21:11:51 +01:00
Mikkel Hjortshoej
16b50a2f57 Fix #711 2020-08-18 21:57:47 +02:00
gingerBill
e7f54d25d6 Add mem.Allocator_Query_Info and mem.query_info 2020-08-16 23:05:33 +01:00