Commit Graph

48 Commits

Author SHA1 Message Date
Phuk Ng Yu
8b06fd0935 os2/file_windows fix 2022-10-07 00:06:46 -07:00
gingerBill
f50fc33749 Clean up of the core library to make the stream vtables not be pointers directly. 2022-09-15 10:00:50 +01:00
Ian Lilley
dbec4b0d0e fixed memory leak from calling get_env 2022-08-03 11:49:42 -04:00
Ian Lilley
dda2ed290a tidying up Query_Info return value when not in query features 2022-06-01 22:40:39 -04:00
jason
5a6836ab99 match user.odin and env.odin to master 2022-05-16 15:28:56 -04:00
jason
d1499f3f78 make -vet happy 2022-05-16 13:57:12 -04:00
jason
fff23e2bbb merge from upstream and convert to ^File types 2022-05-16 13:49:57 -04:00
gingerBill
33895b6d92 Convert all uses of *_from_slice to *_from_bytes where appropriate 2022-05-16 01:43:43 +01:00
gingerBill
f002857edc Clean up core:time to be consistent across all platforms 2022-05-12 15:47:24 +01:00
gingerBill
eef44b11f3 Make the utf16 conversion procedures in core:sys/windows safer by checking for memory leaks 2022-05-12 13:17:58 +01:00
gingerBill
bb4f108487 Update error handling for os2 on windows 2022-05-12 12:54:27 +01:00
gingerBill
8b4b81fdeb Fill in most of os2/file_windows.odin 2022-05-12 11:33:01 +01:00
gingerBill
96ab17ecfc Begin mocking os2 for windows out more 2022-05-05 18:01:44 +01:00
gingerBill
18bde22b26 Go to a File based approach over Handle based 2022-05-05 16:15:03 +01:00
jason
97d1a67871 make vet happy, thread_local heap 2022-05-04 18:45:39 -04:00
jason
bac96cf2ad fix mmap_to_region 2022-05-04 18:32:14 -04:00
jason
7e0cc0af25 heap_linux.odin 2022-05-04 17:55:15 -04:00
CiD-
56737c1431 merge upstream/master 2022-04-08 13:50:06 -04:00
CiD-
9ae566adcc commit before fetching upstream/master 2022-04-08 13:45:19 -04:00
CiD-
aadb4db211 avoid temp_allocator on stupidly long paths 2022-04-06 10:53:46 -04:00
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
gingerBill
4eb4ae6305 Replace sync with sync2 2022-03-30 17:42:44 +01: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-
c293e88f2e commit to merge upstream/master 2022-03-14 13:34:06 -04:00
Jason Kercher
0b61215f7b getting tests to run 2022-03-10 11:12:06 -05:00
CiD-
832003dd4b os2 tests 2022-03-08 17:15:45 -05:00
jasonkercher
1f19610fd6 added _remove_all 2022-03-07 17:16:03 -05:00
jasonkercher
658a605c75 compiles 2022-03-04 17:11:53 -05:00
CiD-
e51bb4ef12 os2 linux begin 2022-03-03 10:16:36 -05:00
gingerBill
6630d703f8 Clean up ok or error handling 2022-02-21 13:42:29 +00:00
gingerBill
9c3cdc4620 Start filling in the file_windows.odin procedures 2022-02-21 13:38:25 +00:00
gingerBill
345032f804 Get env stuff working on Windows 2022-02-21 12:35:52 +00:00
gingerBill
3d7d347192 Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings 2022-01-20 19:56:05 +00:00
Jeroen van Rijn
0a3b75c5f5 [core:os/os2] Keep -vet happy. 2021-11-09 14:06:14 +01:00
gingerBill
ee876ad66b Strip semicolons 2021-09-19 11:59:44 +01:00
gingerBill
21cbac755e Make or_else and or_return operators (binary and suffix respectively) 2021-08-15 17:14:35 +01:00
gingerBill
4d00c2b800 Allocator_Error.Mode_Not_Implemented; Minor improvement to map runtime procedures 2021-08-08 14:29:45 +01:00
gingerBill
9b3a0251ca Use or_else in the core library when it makes sense 2021-07-05 16:33:01 +01:00
gingerBill
86649e6b44 Core library clean up: Make range expressions more consistent and replace uses of .. with ..= 2021-06-14 11:15:25 +01:00
gingerBill
24c89b3eee Minor change 2021-05-16 00:29:22 +01:00
gingerBill
85e5be03d1 Redesign os2.Error to work with the new extended union behaviour 2021-05-16 00:25:47 +01:00
gingerBill
6667b78c12 Correct core:os/os2 mock-up 2021-04-26 22:08:15 +01:00
gingerBill
ebbc33fdb5 Mockup of the new package os interface (incomplete and non-functioning) 2021-04-14 19:39:12 +01:00