Commit Graph

2559 Commits

Author SHA1 Message Date
CiD-
88de3a1c06 add _chtimes 2022-04-01 22:41:35 -04:00
CiD-
6456618891 finish up stat, lstat and fstat 2022-03-30 16:54:29 -04:00
CiD-
e252d3bedf add os2.name 2022-03-23 11:49:19 -04:00
CiD-
36c22393a4 fix memory leak 2022-03-15 11:47:35 -04:00
CiD-
6d6e840bc2 mkdir_all: WHOOPS 2022-03-14 15:56:41 -04:00
CiD-
4b1822ade8 mkdir_all: close last open file 2022-03-14 15:48:47 -04:00
CiD-
b21e7e4518 rewrite mkdir_all 2022-03-14 15:44:34 -04:00
CiD-
1f4e5e919f merge upstream/master 2022-03-14 13:36:22 -04:00
CiD-
c293e88f2e commit to merge upstream/master 2022-03-14 13:34:06 -04:00
gingerBill
633157f4f8 Merge pull request #1613 from semarie/linux_arm64
fix Linux arm64 support
2022-03-14 11:37:45 +00:00
gingerBill
9fa69c3d3b Merge pull request #1599 from gitlost/fract_trunc_classify_#1574
Fix for trunc_f16/32/64 (#1574)
2022-03-14 11:37:11 +00:00
gingerBill
743a461aa9 Merge pull request #1614 from semarie/openbsd-fpos_t
use distinct type for fpos_t on OpenBSD
2022-03-14 11:11:29 +00:00
gingerBill
fc0291d745 Merge pull request #1526 from odin-lang/freestanding_amd64
Freestanding target for amd64
2022-03-14 11:09:52 +00:00
gingerBill
a7adb2fb6e Merge branch 'master' into freestanding_amd64 2022-03-14 11:02:59 +00:00
Sébastien Marie
036900da51 fix mode_t on darwin
- fix mkdir() prototype (mode_t is u16)
- remove explicit cast
2022-03-13 12:41:03 +00:00
Sébastien Marie
ca67cf032c freebsd_amd64 support 2022-03-13 11:42:42 +00:00
gingerBill
c12c7d5370 Remove tag 2022-03-12 10:47:52 +00:00
Sébastien Marie
f7c8b40ea2 use distinct type for fpos_t on OpenBSD 2022-03-12 09:40:55 +00:00
Sébastien Marie
8982ae34e3 fix linux_arm64
- SYS_fork doesn't exist, uses SYS_clone
- properly cast AT_FDCWD to uintptr
2022-03-12 09:19:52 +00:00
gingerBill
e6d3e893a5 Merge pull request #1602 from hoanga/freebsd-build-support
update to build for freebsd
2022-03-12 08:45:53 +00:00
gingerBill
c6dc517004 Correct: murmur32 2022-03-11 08:52:16 +00:00
Jason Kercher
0b61215f7b getting tests to run 2022-03-10 11:12:06 -05:00
Jason Kercher
b91c0ec715 Merge remote-tracking branch 'upstream/master' into os2_linux 2022-03-10 09:34:48 -05:00
gitlost
7dbcaf792d Merge branch 'master' into fract_trunc_classify_#1574
Resolve conflicts with [9848e88] & sameify Makefile & tests/common/common.odin
2022-03-09 16:09:04 +00:00
gingerBill
6d1a91f5b3 Fix typo 2022-03-09 15:11:38 +00:00
gingerBill
17eebf338c Fix #1606 (Call runtime._cleanup_runtime_contextless() for os.exit) 2022-03-09 15:05:51 +00:00
Al Hoang
0278ac85a0 update to build for FreeBSD 2022-03-08 23:48:25 -06:00
CiD-
832003dd4b os2 tests 2022-03-08 17:15:45 -05:00
Jeroen van Rijn
64705ddd1d [varint] Add doc.odin 2022-03-08 20:08:56 +01:00
Jeroen van Rijn
2a41814985 [varint] Tighten max input bounds. 2022-03-08 19:56:42 +01:00
Jeroen van Rijn
26ffec845b [crypto] Remove unused mem import for siphash. 2022-03-08 19:38:36 +01:00
Jeroen van Rijn
76b10b5f5d [varint] Add additional LEB128 tests. 2022-03-08 19:28:55 +01:00
gitlost
b94a7a87fa Fix issue #1574 "fract in linalg/glm is broken" by fixing
trunc_f16/32/64 in "math.odin" (~ typos on expressions)
Fix classify_f16 Inf test (would fail for subnormal 0h0001)
  by changing multiplier 0.5 -> 0.25
Add some useful consts to "math.odin" (INF_F16 etc)
Add comment to "demo.odin" mentioning that -0.0 must be used
  to specify negative zero
2022-03-08 18:06:25 +00:00
Jeroen van Rijn
e76a5d8e12 [varint] Add signed LEB128 encoding. 2022-03-08 18:07:16 +01:00
Jeroen van Rijn
6d7217f37a [varint] Add LEB128 decoding + tests
Also make tests in general less spammy: Don't print [PASS] for each successful test, only report failures and progress.
2022-03-08 15:40:00 +01:00
gingerBill
29e660b16f Add more things to package slice
min_max
any_of(_proc)
none_of(_proc)
all_of(_proc)
count(_proc)
2022-03-08 10:02:40 +00:00
gingerBill
31959b0751 Correct cleanpath_from_handle for os.fstat 2022-03-08 10:01:44 +00:00
jasonkercher
1f19610fd6 added _remove_all 2022-03-07 17:16:03 -05:00
Jeroen van Rijn
deed20dea6 [intrinsics] Add unaligned_store. 2022-03-06 14:53:06 +01:00
Jeroen van Rijn
a6c5143993 [intrinsics] Add existing unaligned_load. 2022-03-06 14:46:20 +01:00
Jeroen van Rijn
ce057ff755 [bit_array] Really fix the leak. 2022-03-06 12:29:17 +01:00
Andrea Piseri
bff3426d25 Fix leak in core:container/bit_array
calling `clear` on a `bit_array` no longer leaks the previous
allocation, instead it sets all bits to `false` preserving the same
backing dynamic array.
2022-03-06 10:21:46 +01:00
jasonkercher
658a605c75 compiles 2022-03-04 17:11:53 -05:00
gingerBill
2e8f2e6dbc Merge pull request #1476 from odin-lang/odin-ast-changes
Replace `any` with `union` for subtyping in `core:odin/ast`
2022-03-04 10:39:38 +00:00
gingerBill
1abd95094d Add reflect.deref 2022-03-03 23:25:22 +00:00
gingerBill
913d802e33 Fix ast.clone_node 2022-03-03 23:10:38 +00:00
Jeroen van Rijn
bee475c38a Merge pull request #1582 from semarie/more-ci
CI: add linux i386, Darwin arm64 and Windows 386
2022-03-03 17:07:40 +01:00
Sébastien Marie
dfe2c0a600 remove some leftover semi-colons before EOF 2022-03-03 15:57:55 +00:00
Sébastien Marie
832961d539 semi-colons are deprecated in core 2022-03-03 15:36:04 +00:00
Sébastien Marie
499c657ffa rename architecture from 386 to i386 2022-03-03 15:28:18 +00:00