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

8215 Commits

Author SHA1 Message Date
yuyi
0d81d0c0c6
table, checker: fix sumtype array appending aggregate type values (fix #11197) (#11258) 2021-08-21 17:18:01 +03:00
pancake
02d823fa6e
v.gen.native: support infinite loops for {} in amd64 and arm64 (#11254) 2021-08-20 14:23:15 +03:00
pancake
82b16453e4
v.gen.native: improve error messages for unsupported features (#11253) 2021-08-20 14:21:05 +03:00
Alexander Medvednikov
c9d6242c6d json: top level array test 2021-08-20 11:41:09 +03:00
yuyi
e87cf8bac6
checker: cleanup checker.v (#11251) 2021-08-20 10:25:16 +03:00
yuyi
6201e78201
checker: fix generic struct with non-generic interface in generic fn (#11252) 2021-08-20 09:28:26 +03:00
Hualin Song
4fb570522a
json: fix json.decode bug for u64 values greater than 2^31 (#11238) 2021-08-20 09:14:55 +03:00
playX
1570e613b5
math: inf,nan,fmod for the JS backend (#11246) 2021-08-20 01:14:49 +03:00
Benjamin Stigsen
70a658a265
gg: set_pixels() (#11236) 2021-08-20 01:14:25 +03:00
yuyi
a440b43630
checker, cgen: fix generic struct with non_generic interface (#11240) 2021-08-20 01:13:48 +03:00
Miccah
2cb0db633d
vweb: use Response struct for 302 response (#11245) 2021-08-20 01:13:36 +03:00
spaceface
67e8031a08
cgen: fix interface parameters in fn type aliases (#11247) 2021-08-20 01:12:31 +03:00
Jordan Liese
a9fb24cb5f
vweb: fix missing newline in redirect header string (#11242) 2021-08-19 14:58:57 +03:00
Miccah
6991a3c8d5
net.http: add graceful shutdown .stop() method to the http.Server struct (#11233) 2021-08-19 11:19:49 +03:00
Leo Developer
7bffabbce2
vdoc: add -comments and new comment merger (#11221) 2021-08-19 10:20:43 +03:00
Delyan Angelov
fe08e1c504
strings: add Builder.write_rune/1 and Builder.write_runes/1 methods 2021-08-19 07:18:09 +03:00
Alexander Medvednikov
26b77515b9 builtin: optimize []rune.string() 2021-08-19 06:58:53 +03:00
yuyi
3d22dc1608
all: fix formating Foo<A,B> to Foo<A, B> (#11225) 2021-08-18 17:17:21 +03:00
div72
881510e7ce
cgen: fix enum print (#11218) 2021-08-18 17:11:12 +03:00
div72
2bf1015ae1
os: add File.read_into_ptr (#11219) 2021-08-18 17:08:41 +03:00
JalonSolov
b3c641f7d5
time: use &C.time_t instead of &time_t in C fn declaration (#11232) 2021-08-18 17:05:43 +03:00
spaceface
d2ce1f74d6
ast.table: fix aggregate field type equality check (#11210) 2021-08-18 14:09:54 +03:00
yuyi
e07678d6f3
checker: check using redundant parentheses (#11228) 2021-08-18 13:49:50 +03:00
spaceface
09e854c064
cgen: small interface conversion fix (#11229) 2021-08-18 13:47:57 +03:00
Delyan Angelov
9ca99c6f93
v.builder: add -Wl,--allow-multiple-definition when targeting FreeBSD 2021-08-18 12:57:44 +03:00
playX
0121c8b4fd
v.gen.js: fix method calls and other codegen parts, rand module compiles (#11205) 2021-08-18 11:33:37 +03:00
yuyi
c51f83efba
checker: fix match expr type mismatch (#11220) 2021-08-18 08:52:01 +03:00
JalonSolov
1dee4f25fd
vweb: add more common mime types (#11226) 2021-08-18 08:51:18 +03:00
spaceface
7d9969ac17
all: support runtime interface conversions (#11212) 2021-08-17 21:00:27 +03:00
spaceface
7c9a1defa4
fmt: preserve method receiver mutability in interface decls (#11222) 2021-08-17 19:39:53 +03:00
Delyan Angelov
f96b81b53a
ci: fix failing vweb_test.v 2021-08-17 18:57:04 +03:00
yuyi
e1c762a616
cgen: fix assert fn_call with parentheses (fix #11207) (#11214) 2021-08-17 18:21:15 +03:00
Alexander Medvednikov
f8174c381c net.http: simplify fetch() 2021-08-17 09:17:03 +03:00
Miccah
19abe8c750
math.big: add from_bytes function (#11213) 2021-08-17 09:12:39 +03:00
pancake
90b25e7a4b
os: filesystem level locking api (#11191) 2021-08-17 08:21:33 +03:00
yuyi
8521e227b4
cgen: fix if expr of multi stmts (#11208) 2021-08-16 21:48:58 +03:00
Delyan Angelov
405ed584a1
v.vmod: return errors instead of panic-ing 2021-08-16 16:54:41 +03:00
Louis Schmieder
0d30667ab5
orm: fix orm unique lists (#11198) 2021-08-16 14:59:23 +03:00
Louis Schmieder
482eecbc13
cgen: fix comptime selector reserved field names (#11199) 2021-08-16 14:58:23 +03:00
Leo Developer
b417d3c043
v.readline: fix key delete panic'king on linux (#11204) 2021-08-16 12:28:40 +03:00
Miccah
d235de63e2
math: add egcd function implementing the extended Euclidean algorithm (#11203) 2021-08-16 11:49:50 +03:00
yuyi
90b052b1db
v.gen.c: fix error of if_expr in infix_expr (#11200) 2021-08-16 11:23:19 +03:00
Delyan Angelov
46ede3fb98
v check-md: reduce false positives for too long lines in various cases (real problems are easier to spot now) 2021-08-16 10:12:29 +03:00
Alexander Medvednikov
fadfc3b457 gg: format a line 2021-08-16 06:36:23 +03:00
Alexander Medvednikov
eb1ac5b30d time: use i64 in unix() 2021-08-16 06:28:54 +03:00
Lukas Neubert
1c847e04c8
fmt: fix malformed import for incorrect module lookup paths (#11192) 2021-08-16 05:15:32 +03:00
Miccah
60f21f065f
encoding.hex: remove strconv dependency (#11196) 2021-08-16 04:59:21 +03:00
Benjamin Stigsen
022503a107
gg: fix top left corner pixel not being drawn (#11202) 2021-08-16 04:59:05 +03:00
Miccah
ea4f6fd48f
encoding: add a hex sub-module (#11193) 2021-08-15 21:42:51 +03:00
playX
659f823c5c
js: initial work on porting rand module to JS backend (#11188) 2021-08-15 18:09:51 +03:00