Alexander Medvednikov
|
c7a6d28e13
|
all: improve unused variable warning (fix x = 1 , x += 1 etc)
|
2021-04-23 13:33:48 +03:00 |
|
Delyan Angelov
|
59e23dbb57
|
ci: re-enable testing of ./v -freestanding run vlib/os/bare/bare_example_linux.v on ubuntu
|
2021-04-22 12:50:56 +03:00 |
|
zakuro
|
7443179cc8
|
checker: make use of private enum from outside module an error. (#9821)
|
2021-04-22 07:07:56 +03:00 |
|
Nicolas Sauzede
|
258be508f4
|
builtin,os: fix unused return C warnings for real (#9814)
|
2021-04-20 17:28:58 +03:00 |
|
Bastian Buck
|
9ec91f4d58
|
os: add new function os.loginname(), improve some error messages (#9794)
|
2021-04-19 14:57:25 +03:00 |
|
Bastian Buck
|
515d8c0bc8
|
os: remove unnecessary check (#9722) (#9773)
|
2021-04-17 02:37:57 +03:00 |
|
Bastian Buck
|
aa49bc2708
|
os: implement os.truncate() + improve error handling (#9752)
|
2021-04-16 11:53:44 +03:00 |
|
Bastian Buck
|
546dc91967
|
os: create os.hostname() and os.chown() + os.uname() for windows (#9722)
|
2021-04-15 01:49:05 +02:00 |
|
crthpl
|
14434cc86a
|
all: bare metal support (fix -freestanding ) (#9624)
|
2021-04-14 07:50:50 +02:00 |
|
Lukas Neubert
|
ada763e0f4
|
fmt: remove parenthesis around single ident (#9696)
|
2021-04-12 16:01:03 +03:00 |
|
Henrixounez
|
7ba13a415a
|
os: handle fread errors (#9687)
|
2021-04-12 10:26:08 +03:00 |
|
Lukas Neubert
|
1d5ed89138
|
fmt: remove trailing space in comments (#9620)
|
2021-04-07 15:25:11 +02:00 |
|
Delyan Angelov
|
db84d5e221
|
os: cleanup os.environ implementation
|
2021-04-06 18:02:12 +03:00 |
|
Delyan Angelov
|
d8cb24eef0
|
ci: fix -cflags -Werror jobs
|
2021-04-05 23:42:26 +03:00 |
|
Delyan Angelov
|
19b915b105
|
ci: fix windows-tcc job
|
2021-04-05 23:35:22 +03:00 |
|
Delyan Angelov
|
10619d098c
|
ci: fix a race in vlib/v/compiler_errors_test.v execution on m1
|
2021-04-05 22:57:59 +03:00 |
|
Delyan Angelov
|
b041681c00
|
tests: bump limits to reduce flakyness on m1 with latest clang
|
2021-04-05 22:38:55 +03:00 |
|
Delyan Angelov
|
291a88bc62
|
ci: fix some of v test-cleancode 4
|
2021-04-05 21:39:32 +03:00 |
|
Delyan Angelov
|
fec89c7efb
|
ci: fix some of v test-cleancode 1
|
2021-04-05 20:47:32 +03:00 |
|
Delyan Angelov
|
90b123c27b
|
ci: fix self compilation on windows
|
2021-04-05 15:47:43 +03:00 |
|
Delyan Angelov
|
5c07cbf5d3
|
ci: fix v -cc clang-11 -cflags -Werror cmd/v
|
2021-04-05 08:09:04 +03:00 |
|
Alexander Medvednikov
|
e399c07a2f
|
os: fix a C warning
|
2021-04-05 06:42:20 +03:00 |
|
Delyan Angelov
|
8a362588aa
|
ci: fix os.environ :-|
|
2021-04-04 21:11:17 +03:00 |
|
Delyan Angelov
|
accd4d83bf
|
ci: fix compilation
|
2021-04-04 20:14:51 +03:00 |
|
Alexander Medvednikov
|
6c8199c9d9
|
os: fix compilation on linux
|
2021-04-04 17:48:21 +03:00 |
|
Alexander Medvednikov
|
57e6138a61
|
all: remove byteptr and charptr; replace them with &byte and &char
|
2021-04-04 17:43:32 +03:00 |
|
Delyan Angelov
|
c698fa1a58
|
all: support v -watch run (#9577)
|
2021-04-04 16:05:06 +02:00 |
|
Bastian Buck
|
15d9f50be9
|
os: add x64 mode for struct and raw read/write (#9512)
|
2021-03-30 11:40:23 +02:00 |
|
Bastian Buck
|
69dff4b384
|
os: make os module handle large files (#9439)
|
2021-03-26 07:51:55 +01:00 |
|
Delyan Angelov
|
b7c01db1f9
|
builtin: add .vstring_literal and .vstring_literal_with_len for converting read only strings like os.args
|
2021-03-23 22:10:28 +02:00 |
|
Delyan Angelov
|
7f91b75cbc
|
builtin: fix leaks in os.execute() and []string{} == []string{}
|
2021-03-23 20:36:19 +02:00 |
|
Alexander Medvednikov
|
a53aaaf9e7
|
os: fix a leak in read_lines()
|
2021-03-22 12:20:55 +03:00 |
|
zakuro
|
c8416f9a54
|
all: deprecate write_str and replace it with write_string (#9369)
|
2021-03-20 17:25:51 +01:00 |
|
zakuro
|
e3c0f305b2
|
os: deprecate os.File.write_bytes and add os.File.write_ptr (#9370)
|
2021-03-20 09:02:28 +02:00 |
|
zakuro
|
29884fa2a9
|
os: deprecate read_at and add read_from to implement RandomReader (#9371)
|
2021-03-19 12:35:08 +02:00 |
|
JalonSolov
|
9ea88c090b
|
os: fix warning write_str -> write_string (#9368)
|
2021-03-19 03:36:27 +01:00 |
|
Alexander Medvednikov
|
bb79df932b
|
net/os: deprecate write_str() in favor of write_string()
|
2021-03-19 04:51:31 +03:00 |
|
Delyan Angelov
|
b7a5fa7fbe
|
os: fix v -cflags "-Werror" test vlib/os/
|
2021-03-18 19:45:04 +02:00 |
|
Nick Treleaven
|
446631ceb5
|
checker: fixed array cannot implicitly convert to fooptr (again) (#9302)
|
2021-03-15 15:55:07 +02:00 |
|
Delyan Angelov
|
3951c351c6
|
os: simplify Process (remove chainability of Process method calls)
|
2021-03-15 09:23:43 +02:00 |
|
yuyi
|
945769a4f6
|
all: implement reference receiver optimization for big structs (#9268)
|
2021-03-14 18:11:21 +01:00 |
|
Delyan Angelov
|
125be84e3d
|
builtin: fix -d debug_realloc , add realloc_data/3
|
2021-03-14 14:54:35 +02:00 |
|
Alexander Medvednikov
|
2f1810634e
|
checker: do not allow direct initialization of builtin types (s := string{})
|
2021-03-13 18:20:46 +03:00 |
|
Lukas Neubert
|
fecf4a6f58
|
os: fix rmdir_all panic with hidden dirs (#9271)
|
2021-03-13 08:43:38 +02:00 |
|
StunxFS
|
90d942e2ec
|
os: add missing '.exe' in os_test.v (#9269)
|
2021-03-12 18:05:29 +02:00 |
|
Delyan Angelov
|
def53fd73f
|
os: prevent os.exists_in_system_path() from panicing
|
2021-03-12 17:05:26 +02:00 |
|
Delyan Angelov
|
995db65471
|
os: fix os.cp_all, by making the dst folder, if it does not exist already
|
2021-03-12 16:29:27 +02:00 |
|
Enzo
|
99abd46ac9
|
os: add (read|write)_raw[_at] to File (#9171)
|
2021-03-10 18:45:12 +02:00 |
|
Delyan Angelov
|
d7049ae2da
|
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974)
|
2021-03-08 20:52:13 +02:00 |
|
Lukas Neubert
|
fdcfe397d4
|
fmt: write empty or blocks the same as empty fn bodies, empty structs, etc (#9136)
|
2021-03-06 21:04:51 +02:00 |
|