Commit Graph

915 Commits

Author SHA1 Message Date
gingerBill
93955a0fd8 Remove context.std* parameters; Fix unary boolean not 2020-03-19 15:03:02 +00:00
gingerBill
18fb6a4be4 Merge branch 'master' into llvm-integration 2020-03-15 14:31:26 +00:00
gingerBill
8dba0e332c Fix #590 2020-03-15 14:29:45 +00:00
gingerBill
a0d0e93475 Fix os.read_entire_file 2020-03-12 23:45:46 +00:00
gingerBill
2ce1f4ba9f Revert os_windows.odin behaviour 2020-03-12 23:37:24 +00:00
gingerBill
a985449c31 Fix os_windows.h 2020-03-12 23:24:30 +00:00
gingerBill
6abc93ad84 Fix os.read for windows 2020-03-12 23:22:01 +00:00
Tetralux
1181d7cf90 Fix os.read / os.read_entire_file
- DWORDs are NOT i32
- os.read didn't correctly read as much as it could
2020-03-12 22:31:00 +00:00
gingerBill
c6c6c56ba9 Fix mem.set for LLVM C API 2020-03-08 18:44:45 +00:00
gingerBill
d4e95282c2 Fix llvm.memset for both backends 2020-03-08 18:42:30 +00:00
gingerBill
28502ba53b Fix context system; add more to -show-more-timings for LLVM API; Add ODIN_USE_LLVM_API global constant 2020-03-08 12:34:36 +00:00
gingerBill
c74d8405ec Merge branch 'master' into llvm-integration 2020-03-08 10:13:19 +00:00
gingerBill
4cf70f360b Add clone for ast.Ternary_If_Expr and ast.Ternary_When_Expr 2020-03-07 21:41:27 +00:00
gingerBill
a83d9f59f6 Fix typo in parser.odin 2020-03-07 21:12:52 +00:00
gingerBill
5d14189a18 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-03-07 16:20:04 +00:00
gingerBill
fb686bdebd Remove the need for parapoly to print an enum as a string 2020-03-07 16:19:55 +00:00
gingerBill
19b9cb7524 Merge pull request #575 from Tetralux/patch-2
Fix mem.align_backward when pointer is already aligned
2020-03-07 10:46:19 +00:00
gingerBill
4ee936ab8d Merge pull request #581 from terickson001/linux_stat_fix
Linux stat fix
2020-03-06 15:42:05 +00:00
gingerBill
0c21939600 Merge pull request #579 from powerc9000/patch-1
Fix issues with stat struct.
2020-03-06 15:41:54 +00:00
Tyler Erickson
f6f2ab2f25 Fixed bad merge 2020-03-05 19:29:32 -08:00
Tyler Erickson
9d163fede8 Merge branch 'master' of https://github.com/odin-lang/Odin into linux_stat_fix 2020-03-05 16:52:34 -08:00
Tyler Erickson
bb026c99a9 Merged with master 2020-03-05 16:49:53 -08:00
gingerBill
db7a3ffd2a Merge branch 'master' into llvm-integration 2020-03-05 21:12:16 +00:00
gingerBill
e92fdb4a99 x if cond else y and x when cond else y expressions 2020-03-05 20:34:30 +00:00
Tyler Erickson
2817bab494 Fix os_linux stat 2020-03-05 12:13:22 -08:00
gingerBill
6151fdb324 Merge branch 'master' into llvm-integration 2020-03-04 19:27:01 +00:00
gingerBill
2fe0eaf2ad Fix formatting 2020-03-04 13:10:39 +00:00
Clay Murray
85f2f4aa88 Fix issues with stat struct.
The stat struct was the format for the 64 bit version of stat. So we need to call stat64 to get the proper data.
Also we need to use _File_Time instead of File_Time because it is a compound value. 

These changes were tested and work on my computer, MacOS 64 bit.
2020-03-03 19:42:20 -07:00
gingerBill
a27c68f526 Type_Info initialization 2020-02-29 11:12:37 +00:00
gingerBill
8ec5987ae1 Merge branch 'master' into llvm-integration 2020-02-29 09:55:25 +00:00
gingerBill
408fa027af Merge pull request #576 from Tetralux/patch-5
Fix encoding/base64 encoding null bytes incorrectly
2020-02-29 09:53:55 +00:00
gingerBill
5e903ed2ff Merge pull request #537 from Tetralux/fix-heap-alloc
Fix heap allocator alignment on all platforms
2020-02-29 09:49:24 +00:00
Tetralux
92e1c71dd6 Fix encoding/base64 encoding null bytes incorrectly
Fixes #574.

Thanks @jroatch!
2020-02-28 14:52:16 +00:00
Tetralux
0190f90979 Fix mem.align_backward when pointer is already aligned 2020-02-28 12:22:30 +00:00
gingerBill
8f42958ba3 Fix __dynamic_array_reserve 2020-02-26 12:58:22 +00:00
gingerBill
4d7270cec9 Fix __dynamic_array_reserve to allow for zero sized elements 2020-02-26 12:55:56 +00:00
gingerBill
e197af766d Merge branch 'master' into llvm-integration 2020-02-23 10:39:57 +00:00
gingerBill
10fe5e97b3 Merge pull request #541 from Tetralux/getcwd
Add os.get_current_directory / os.set_current_directory
2020-02-23 10:39:21 +00:00
gingerBill
2180f4a475 Basic work on obj generation 2020-02-23 10:04:25 +00:00
Tetralux
1f0c1943da Fix #552.
- Fix comparisons involving one or more empty string.
- Fix comparisons against two strings of different lengths.
2020-02-12 11:25:12 +00:00
Mikkel Hjortshøj
49b42f585c Merge pull request #560 from ThisDrunkDane/master
Enhance logger interface with 'f' and not 'f' variants, also move level detection out
2020-02-10 11:55:49 +01:00
Mikkel Hjortshoej
9d5692ae68 Enhance logger interface with 'f' and not 'f' variants, also move level detection out 2020-02-10 01:26:04 +01:00
vassvik
6d67567453 Fix linalg.matrix_mul_vector.
Incorrect index.
2020-02-09 18:47:02 +01:00
vassvik
0c09cb9c12 Fix math.acos and math.asin, add f64 overloads. 2020-02-06 13:35:55 +01:00
Tyler Erickson
391e2a5120 Removed 'where' clause from merge_sort_proc 2020-02-03 19:20:12 -08:00
gingerBill
0f399a7294 Add union #maybe 2020-02-01 11:10:28 +00:00
gingerBill
7a4ec48389 Fix missing allocator 2020-01-26 21:10:56 +00:00
gingerBill
a101e0d7ba Add utf8.string_to_runes utf8.runes_to_string 2020-01-26 20:55:46 +00:00
gingerBill
64f5c9ab58 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-01-26 20:44:32 +00:00
gingerBill
0ee5a07d01 Add package unicode letter.odin 2020-01-26 20:44:27 +00:00