1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
shivakishore14
65fed2d784 Create new line while pressing enter in repl.
Pressing Enter in repl should create new line instead of quiting the repl.
2019-06-28 15:44:54 +02:00
Alexander Medvednikov
6824e6e7db Replace all remaining C code with V in the compiler and vlib (hoorah!) 2019-06-27 23:11:27 +02:00
Alexander Medvednikov
494010d2af os.v: replace remaining C code with V 2019-06-27 18:49:20 +02:00
musou1500
8c4f7749df add setenv, unsetenv function to os 2019-06-27 13:51:03 +02:00
Alexander Medvednikov
90c0791345 replace ugly tos2(bytes) with string(bytes) 2019-06-27 12:50:02 +02:00
Henrixounez
fda7caef93 os.v: getline fixed conditional jump on uninitialized values 2019-06-27 12:14:33 +02:00
Alexander Medvednikov
cc1ecd1996 Revert "add unsetenv, setenv, clearenv to os module (#583)"
This reverts commit 6cb5eee1b2.
2019-06-27 02:27:54 +02:00
musou1500
6cb5eee1b2 add unsetenv, setenv, clearenv to os module (#583) 2019-06-27 02:24:09 +02:00
Alexander Medvednikov
fc7ac25a98 Revert "Revert "getline: check if newline at the end to not cut end of line""
This reverts commit bda50e96f0.
2019-06-27 02:12:50 +02:00
Alexander Medvednikov
bda50e96f0 Revert "getline: check if newline at the end to not cut end of line"
This reverts commit d24be8cf6c.
2019-06-27 02:11:07 +02:00
Henrixounez
d24be8cf6c getline: check if newline at the end to not cut end of line 2019-06-27 02:08:36 +02:00
Bowero
821c5934cc Changed position and made function public 2019-06-26 22:23:21 +02:00
Bowero
7ff0e48434 Added option to clear screen / clear() 2019-06-26 22:23:21 +02:00
Alexander Medvednikov
be3dae6b44 errno tmp fix 2019-06-26 17:04:38 +02:00
Alexander Medvednikov
fa925f3092 os.v: clean up, remove C code, os.exec() 2019-06-26 17:01:50 +02:00
Ryota.I (yabu)
61e4367aa8 👍 Fix up redundant type declare and remove space (#603) 2019-06-26 16:39:40 +02:00
Kaiyin Zhong
88f67680fc rename get_extension to ext, add path_sans_ext 2019-06-26 14:45:03 +02:00
Kaiyin Zhong
0f05f7c1ee get extension of path 2019-06-26 14:45:03 +02:00
Alexander Medvednikov
c860bac7bf don't allow calling private functions/methods 2019-06-26 13:15:47 +02:00
Alexander Medvednikov
2a3cf0bec9 os.v: clean up init_os_args() 2019-06-26 11:15:05 +02:00
Alexander Medvednikov
8417fec5dc os.read_file(): replace C code with V, return ?string, handle errors
everywhere
2019-06-26 11:04:05 +02:00
Alexander Medvednikov
688bbcff9c v.exe: clone the repo on first launch 2019-06-25 20:41:54 +02:00
Alexander Medvednikov
5720b01b7d remove execinfo.h for now 2019-06-24 15:53:34 +02:00
Alexander Medvednikov
b13f233521 re-write $if os { and fix GCC segfaults on compilation 2019-06-24 14:05:31 +02:00
Henrixounez
13f5429dae Removed # and added new error message case 2019-06-23 18:50:12 +02:00
Henrixounez
ad5e1fd8d4 Checks if dir given exists and is a directory before ls 2019-06-23 18:50:12 +02:00
Alexander Medvednikov
9b1514320a remove unzip 2019-06-23 14:16:47 +02:00
Alexander Medvednikov
06a4dfa290 replace silly exit(reason string) with exit(code int) 2019-06-23 10:14:37 +02:00
Alexander Medvednikov
20b5c4b88b Remove println2 2019-06-23 10:03:03 +02:00
chai2010
978ec58fe3 all: add copyright 2019-06-23 09:22:49 +02:00
Alexander Medvednikov
e9776ff7b2 os.v: remove duplicate read_lines() functions, replace C code with V 2019-06-23 02:34:10 +02:00
Alexander Medvednikov
ac66d49c51 fix dup MAX 2019-06-23 01:51:04 +02:00
Alexander Medvednikov
96e15b0f0f don't use /var/tmp 2019-06-22 22:00:38 +02:00
Alexander Medvednikov
b5c3cda33b remove rmdir() 2019-06-22 21:45:19 +02:00
Alexander Medvednikov
d32e538073 V 0.0.12 open-source release 2019-06-22 20:20:28 +02:00