gingerBill
037cc679c4
Keep -vet happy
2021-08-22 16:58:12 +01:00
gingerBill
445ed9be2b
Use multi-pointers when appropriate
2021-08-22 12:54:04 +01:00
gingerBill
f0437a4242
Enforce core:builtin and core:intrinsics for imports
2021-08-21 13:44:16 +01:00
Jeroen van Rijn
bb86b0f526
os: Add Windows 11 detection.
2021-08-21 14:08:22 +02:00
gingerBill
21cbac755e
Make or_else and or_return operators (binary and suffix respectively)
2021-08-15 17:14:35 +01:00
gingerBill
19aefa6a40
Add assignment statement to #no_bounds_check etc rules. Correct os_linux.odin usage.
2021-08-15 11:14:34 +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
af95381bf8
Add missing -> ! annotation
2021-06-16 12:12:24 +01:00
gingerBill
9f8a63cb43
More minor stylization changes (remove unneeded parentheses)
2021-06-14 11:34:31 +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
16eaa17ed9
Fix -target:js_wasm32 for core:runtime
2021-06-08 11:20:39 +01:00
gingerBill
ba6c63e366
Fix full_path_from_name allocator behaviour
2021-06-08 10:14:35 +01:00
Daniel Gavin
44ee0f2cdc
Merge branch 'master' into prototype-fmt
2021-05-20 12:15:14 +02: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
465b6139d5
Temporarily fix syscall in Linux and Freebsd (eventually to be replaced with a proper implementation)
2021-05-13 12:05:23 +01:00
Daniel Gavin
51b198aa56
Merge remote-tracking branch 'upstream/master' into prototype-fmt
2021-04-27 00:06:30 +02:00
gingerBill
6667b78c12
Correct core:os/os2 mock-up
2021-04-26 22:08:15 +01:00
gingerBill
ad953c4670
Add cast on S_ISDIR
2021-04-24 21:08:15 +01:00
gingerBill
bd31a99bf7
Remove redundant auto_cast
2021-04-23 09:50:26 +01:00
Daniel Gavin
f10f7ebbf1
Merge remote-tracking branch 'upstream/master' into prototype-fmt
2021-04-23 10:24:05 +02:00
gingerBill
e9b1d4f633
Fix #906
2021-04-20 10:34:41 +01:00
gingerBill
f98c4d6837
Improve the Allocator interface to support returning Allocator_Error to allow for safer calls
...
Virtually all code (except for user-written custom allocators) should work as normal. Extra features will need to be added to make the current procedures support the `Allocator_Error` return value (akin to #optional_ok)
2021-04-19 12:31:31 +01:00
Daniel Gavin
c708f649ec
Merge remote-tracking branch 'upstream/master' into prototype-fmt
2021-04-19 02:13:29 +02:00
gingerBill
ebbc33fdb5
Mockup of the new package os interface (incomplete and non-functioning)
2021-04-14 19:39:12 +01:00
Daniel Gavin
c46317c00b
fix os error
2021-04-14 02:20:05 +02:00
gingerBill
4fb4ada2c7
Update sync2 to just use atomic intrinsics rather than the parapoly wrappers
2021-04-12 15:22:40 +01:00
gingerBill
359ae29d98
Minor fixes
2021-03-18 13:25:41 +00:00
gingerBill
b727b6438b
Minimize unneeded casts
2021-03-03 14:31:17 +00:00
gingerBill
f49278b5f4
Merge pull request #855 from nakst/master
...
Update Essence API header
2021-02-27 11:34:38 +00:00
gingerBill
a2557142cc
Update package os for package path/filepath support on macOS
2021-02-27 11:30:43 +00:00
nakst
7b4ddd9b18
update essence API header
2021-02-26 14:46:38 +00:00
gingerBill
aa93305015
Replace usage of inline proc with #force_inline proc in the core library
2021-02-23 16:14:47 +00:00
gingerBill
efdee0dafb
Remove bit_field type from Odin (keyword and dead runtime code still exists)
2021-02-19 11:31:14 +00:00
DanielGavin
0f11c47579
set the correct allocators and ignore the previous and parent directory in readdir.
2021-02-12 23:22:53 +01:00
gingerBill
d5dfa14f18
Clear up fmt.wprint* length logic
2021-02-11 10:44:38 +00:00
Luka Aleksić
ac184957db
Fix CI
2021-01-21 20:55:58 +01:00
Luka Aleksić
92e23ec397
* Add some procedures to path_unix to mirror the path_windows API
...
* Add files stat_linux and dir_linux to mirror the stat/dir_windows API
* Add helper functions to os_linux that are used by the above
2021-01-21 20:20:38 +01:00
kennethmaples
6d5bd8bead
Fix layout of Stat for linux and make usage consistent across unix variants
2020-12-29 17:45:19 +08:00
gingerBill
f0683c9102
Merge branch 'master' into parser-experiments
2020-12-06 00:49:48 +00:00
gingerBill
e0fb081cbd
Keep -vet happy
2020-12-02 23:46:41 +00:00
gingerBill
bca28e94ec
Keep fmt happy
2020-12-02 23:43:28 +00:00
gingerBill
875415daa9
Make os._file_stream_vtable private
2020-12-02 23:40:23 +00:00
gingerBill
0cf3ae93c0
Add os.stream_from_handle; fix io.close
2020-12-02 23:39:33 +00:00
gingerBill
54fbdabc38
Add experimental -insert-semicolon functionality to tokenizer and parser
2020-11-01 15:10:06 +00:00
zhibog
4c4112fbc7
Fixed getting windows version. The former function is no longer working on Windows 10. Also fixed the struct to use correct win32 names
2020-10-24 00:14:01 +02:00
gingerBill
0be6ddc7e2
Add -microarch:<string> (e.g. -microarch:native)
2020-10-20 12:25:11 +01:00
gingerBill
9513cf1ac6
Fix os.stat code; make fmt.panicf diverging
2020-09-30 22:04:39 +01:00
gingerBill
464e733b88
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-09-29 11:11:42 +01:00