Commit Graph

2716 Commits

Author SHA1 Message Date
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
gingerBill
3211e60018 Merge pull request #734 from krixano/FreeBSD
FreeBSD Support
2020-09-15 10:12:42 +01:00
gingerBill
775bd66382 Merge pull request #735 from bttelle/issue-723
Fix issue #723
2020-09-15 10:05:05 +01:00
Christian Seibold
a13eed9894 Cleanup, check sched_param and SCHED_* constants in pthread_freebsd.odin 2020-09-15 01:34:01 -05:00
Joseph Battelle
e9c598a426 Fix issue #723
Typo in `check_stmt_internal` for case Ast_UsingStmt; first element
was used for all elements of the enumerated list.
2020-09-14 16:41:53 -07: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
Christian Seibold
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 2020-09-14 11:28:41 -05:00
gingerBill
d53725fe14 Merge pull request #733 from bttelle/issue-515
Fix issue #515
2020-09-14 14:07:02 +01:00
gingerBill
b8bebf4511 Fix typo in Small_Array procedure 2020-09-14 10:10:35 +01:00
Joseph Battelle
2f32b8fb3d Fix issue #515
Modify `check_type_specialization_to` to require exact values
to be equal when called with constant basic types. This also
now allows procedure group members to differ only by constant
value specializations.  See the further example in the issue.
2020-09-13 22:58:05 -07:00
gingerBill
1fd1203d8b Improve error message for multi-valued global declarations not be allowed 2020-09-12 16:04:02 +01:00
gingerBill
ccb7c3513b Fix check_arity_match bug 2020-09-12 15:50:42 +01:00
gingerBill
bf215377de Add edge case check for "" string 2020-09-11 16:20:46 +01:00
gingerBill
d317d3d8b3 Simplify "" string code 2020-09-11 16:18:24 +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
7e625f6ee7 Add extra check for checking uniqueness of package names 2020-09-10 11:13:09 +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
Mikkel Hjortshøj
31989c93ac Merge pull request #725 from Skytrias/master
fix t0 not being t
v0.13.0
2020-08-29 22:48:49 +02:00
Michael Kutowski
7b0ba76915 Update specific.odin 2020-08-29 22:33:24 +02:00
Michael Kutowski
bd8ca64a30 Merge pull request #1 from odin-lang/master
Merge pull request #724 from Skytrias/master
2020-08-29 22:32:26 +02:00
Mikkel Hjortshøj
32fda798f3 Merge pull request #724 from Skytrias/master
fix hsl math.mod to usual hsl conversion
2020-08-29 21:58:16 +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
gingerBill
14e6cdb1a0 Merge pull request #722 from jockus/fix-core-path-name-extension
Fix path.name failing to remove extension
2020-08-27 11:38:04 +01:00
gingerBill
4daf098a3a Fix defer on explicit return of a procedure with no return values for llvm-api 2020-08-27 11:06:44 +01:00
jockus
914c99a15e Merge branch 'master' into fix-core-path-name-extension 2020-08-27 08:24:59 +01:00
gingerBill
d31c63c0ae Fix #714 2020-08-27 00:11:02 +01:00
gingerBill
c783840eab Fix #642 2020-08-26 23:20:25 +01:00
gingerBill
d3eca21e40 Fix style in parse.odin 2020-08-26 22:48:32 +01:00
gingerBill
df3690c32a Revert accidental removal of #const for procedure variable parameters #718 2020-08-26 22:46:54 +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