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

3929 Commits

Author SHA1 Message Date
Delyan Angelov
b62035e3d0
solaris & termux: fix both, using the more portable termios.h 2020-03-31 12:46:46 +02:00
joe-conigliaro
21e4f2422d
cgen: clarify field name 2020-03-31 19:11:47 +11:00
joe-conigliaro
f8169fee48
table: add i8 to number_type_idxs 2020-03-31 16:17:26 +11:00
joe-conigliaro
f58875a202
table: i8 -128 was being cast to int closes #4164 2020-03-31 16:07:30 +11:00
joe-conigliaro
3b621c0ce6
checker: make var_scope mutable 2020-03-31 15:41:14 +11:00
joe-conigliaro
602bc06bee
ast: use multi return optional for find_scope_and_var 2020-03-31 15:39:14 +11:00
joe-conigliaro
71ca553190
cgen: multi return/assign optionals 2020-03-31 15:34:59 +11:00
Delyan Angelov
07de351546
v2: support -stats for _test.v files 2020-03-30 17:21:32 +02:00
joe-conigliaro
3440d7edd8
ast: first step merging CallExpr & MethodCallExpr 2020-03-30 21:39:20 +11:00
Delyan Angelov
7785583b34
android: fix termux build 2020-03-29 20:54:21 +02:00
hazohelet
ec025f2020
compiler: use type unresolved for unresolved consts 2020-03-29 19:26:55 +02:00
Alexey
bf9f3057da
gitignore: ignore tcp_echo_server executable 2020-03-29 10:10:24 +02:00
yuyi
c9eed0b89b
cgen: optimize a replace call 2020-03-29 10:09:27 +02:00
Alexey
a333ac1888
all: remove redundant parentheses in if statements 2020-03-29 10:08:42 +02:00
Delyan Angelov
e09447d011
v and v2: support @VEXE 2020-03-28 21:51:45 +01:00
vamsi-shankar
715d4f6601
math: copysign() 2020-03-28 18:32:38 +01:00
Delyan Angelov
fa02130359
examples/tcp_echo_server: cleanup, use defer{} 2020-03-28 18:10:48 +01:00
Delyan Angelov
a9724fd38d
v2: typeof() 2020-03-28 17:37:22 +01:00
joe-conigliaro
837bffd03a
parser: parse type - fix multiple & 2020-03-29 01:15:10 +11:00
Alexander Medvednikov
831be43740 checker: check ! operator 2020-03-28 14:38:16 +01:00
joe-conigliaro
718819eb7a
map/scope/checker: update just var type & ret zero in map.get3 2020-03-29 00:00:28 +11:00
yuyi
9fb218d379
glfw: temporary fix 2020-03-28 12:47:24 +01:00
Delyan Angelov
784d27f41b
examples: add a simple self contained tcp echo server 2020-03-28 10:21:22 +01:00
Alexey
cedf185b41
v2: fix Windows errors 2020-03-28 10:19:38 +01:00
Alexander Medvednikov
4541f29019 ci: install V UI 2020-03-28 09:12:16 +01:00
Alexander Medvednikov
479d5d676e ci: test V UI 2020-03-27 22:09:14 +01:00
Alexander Medvednikov
f627710870 fix repl tests 2020-03-27 20:49:20 +01:00
Alexander Medvednikov
98a0beab03 cgen: generate str() methods; merge c tests 2020-03-27 20:33:30 +01:00
Alexander Medvednikov
eed7c91e87 move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
Delyan Angelov
95e67c9502
contributing.md: update git instructions 2020-03-27 16:03:06 +01:00
Alexander Medvednikov
f6db36d7f0 fix parser_test and vfmt.v 2020-03-27 15:24:08 +01:00
Alexander Medvednikov
7369cb7b86 fmt: fix tests 2020-03-27 15:19:13 +01:00
Alexander Medvednikov
473d9fef55 checker: do not allow extra () in if conditions 2020-03-27 14:57:19 +01:00
Alexander Medvednikov
1a751208ca cgen: skip $if os {} block 2020-03-27 14:44:30 +01:00
Alexander Medvednikov
3a691dcc6d ci: fix v2 self compilation 2020-03-27 11:48:06 +01:00
Alexander Medvednikov
cb747316ed ci: V2 self compilation 2020-03-27 11:39:16 +01:00
Alexander Medvednikov
7fdce50718 cgen: write defer statements at the end of the function 2020-03-27 11:21:00 +01:00
Joe Conigliaro
fd8bb2c95c tests: small array/struct test notes & tmp fix 2020-03-27 20:47:24 +11:00
yuyi
ed42b864c1
term: fix #4066 2020-03-27 10:01:46 +01:00
r00ster
bee8972632
readline: make some functions public 2020-03-27 09:55:15 +01:00
Alexander Medvednikov
db59c621e8 v2: minor fixes 2020-03-27 08:47:02 +01:00
Joe Conigliaro
883a105aca cgen: fix tests 2020-03-27 17:28:04 +11:00
Joe Conigliaro
7ce7151ad2 cgen: v2 compiles itself - defer stmt / if * in opt parens. 2020-03-27 17:21:22 +11:00
penguindark
8de027c4b4
strconv: fix on ftoa string decimal aproximation, 'nan' string fix 2020-03-26 22:39:46 +01:00
Alexander Medvednikov
9185de3fb7 cgen: fix tests 2020-03-26 22:28:24 +01:00
Alexander Medvednikov
f0334b2e12 cgen: fix arr[i] *= x and 2d_arr << arr 2020-03-26 22:09:25 +01:00
Delyan Angelov
f489c89987
v2: more informative assert output; string interpolation formatting 2020-03-26 19:17:14 +01:00
yuyi
6892a3e0a8
glfw: remove excess glfw. in module glfw 2020-03-26 17:32:08 +01:00
Alexander Medvednikov
eb57f192d4 cgen: fix test 2020-03-26 17:21:52 +01:00
Alexander Medvednikov
75c2ef7947 cgen: fix octal and hex int literals 2020-03-26 17:14:24 +01:00