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

11018 Commits

Author SHA1 Message Date
Delyan Angelov
5f90d5702e v test-self: support skipping specific tests for amd64/!amd64 (closure_test.v on m1 for now) 2021-08-27 09:47:04 +03:00
Delyan Angelov
16455a7660 fmt: preserve local fn parameter, when a module const with the same name is declared 2021-08-27 09:22:53 +03:00
playX
bdf11d969a
js: add basic support for running tests, fix string.replace_each (#11314) 2021-08-26 15:20:54 +03:00
Delyan Angelov
403da9f36e docs: fix v check-md . on macos 2021-08-26 11:11:48 +03:00
Delyan Angelov
db194abeac os: merge os.c.v and os_c.c.v 2021-08-26 10:01:55 +03:00
yuyi
187c1c160b
parser: minor cleanup in comp_call() (#11311) 2021-08-26 07:57:10 +03:00
yuyi
b635ff80de
fmt: format '1.' to '1.0' (#11312) 2021-08-26 07:18:27 +03:00
Alexander Medvednikov
714fa3215c scanner: make the 1. float error a warning for now 2021-08-25 16:58:54 +03:00
playX
109d5d5847
js: os now compiles to the JS backend, more builtins & minor codegen fixes (#11302) 2021-08-25 14:40:53 +03:00
yuyi
f257a23313
checker: check non-generic struct init (#11300) 2021-08-25 14:40:40 +03:00
Ned Palacios
50d1e9aa2b
mssql: fix c function definition parameters (#11307) 2021-08-25 14:39:56 +03:00
yuyi
4d078edb72
scanner: no longer allow 1. float literals (#11301) 2021-08-25 14:39:37 +03:00
Wertzui123
ee961b26e7
tools: fix v doctor markdown in v bug (#11296)
Github needs separate lines for the start/end markers
2021-08-25 01:13:25 +03:00
yuyi
96398efd2b
checker: check array insert/prepend arguments (#11295) 2021-08-24 20:28:05 +03:00
Fabricio Pashaj
0bf9197f41
net.http: add a close method to immediatly close the listener of a started http.Server, add more tests (#11248) 2021-08-24 19:21:24 +03:00
pancake
3c85a03b8a
v.gen.native: initial support for the asm statement in the native backend (#11292) 2021-08-24 15:30:41 +03:00
pancake
57b148032f
v.gen.native: initial support for cast statements (#11291) 2021-08-24 15:26:49 +03:00
Larpon
833bf2cf15
gg: add cubic Bézier curves + examples (#11286) 2021-08-24 06:35:27 +03:00
Lukas Neubert
3249f8f0e7
cgen: properly cast to sumtypes in array prepend and insert (#11289) 2021-08-24 06:25:09 +03:00
Alexander Medvednikov
4824b409b1 builder: simplify the C error message 2021-08-24 06:24:35 +03:00
Adam Oates
83e2a84c21
encoding: add base58 support (#11288) 2021-08-24 06:22:46 +03:00
playX
d78e7e3b2b
js: codegen fixes, W.I.P os availability for JS backend (#11281) 2021-08-23 14:25:02 +03:00
Larpon
47278b4a7d
doc: document [flag] enum attribute (#11282) 2021-08-23 14:23:59 +03:00
Benjamin Stigsen
76205cff2b
gg: add scaling to draw_convex_poly (#11276) 2021-08-23 13:38:29 +03:00
lydiandy
f87a638ddc
tools/vast: update vast to latest V (#11279) 2021-08-23 13:37:49 +03:00
Miccah
51d7aede68
net.http: render each header value on a newline (#11270) 2021-08-23 00:38:09 +03:00
Benjamin Stigsen
352df873d5
gg: add scaling to draw_empty_poly() (#11272) 2021-08-23 00:37:20 +03:00
Ulises Jeremias Cornejo Fandos
1cfc4198f5
vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
playX
dd486bb0fb
js: match support (#11269) 2021-08-22 19:36:49 +03:00
yuyi
b80777df4b
table: fix alias of sumtype method_call (#11268) 2021-08-22 17:20:10 +03:00
Delyan Angelov
ec196cfcd1
all: support overriding individual function from .v files in .c.v or .js.v files. 2021-08-22 15:51:26 +03:00
Simon
ed06c47a51
net: remove sockets if they already exists (#11264) 2021-08-22 13:38:02 +03:00
yuyi
2e28c9a4d6
checker: remove a duplicate check (#11265) 2021-08-22 12:09:14 +03:00
penguindark
fde934cd93
builtin: optimize hex() (#11261) 2021-08-22 11:10:24 +03:00
playX
2f6b2dd189
js: math.big support, f{32,64}_bits,from_bits support, typeof(expr).name support (#11260) 2021-08-21 17:18:57 +03:00
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
Delyan Angelov
b5f8a04778
examples/mini_calculator.v: handle ctrl-d gracefully 2021-08-20 10:07:41 +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