16741 Commits

Author SHA1 Message Date
Delyan Angelov
7a16a72cc5
github: remove the copilot:summary and copilot:walkthrough tags
The tags got deprecated, see https://githubnext.com/copilot-for-prs-sunset
2023-12-21 11:29:45 +02:00
Kim Shrier
062cc3f59f
crypto.blake2b: fix erroneous comment in unit tests (#20235) 2023-12-21 11:25:27 +02:00
Delyan Angelov
5306469712
datatypes.fsm: cleanup notices for fsm.v 2023-12-20 17:52:13 +02:00
Swastik Baranwal
94d288197e
x.json2: add encoder support for time.Time (#20228) 2023-12-20 17:31:20 +02:00
Delyan Angelov
2b74b64de4
cgen: cleanup code repetition in json.v 2023-12-20 15:00:08 +02:00
shove
85c5c86894
cgen: fix comparing interface values of structs containing optional ref interface fields (fix #20212) (#20221) 2023-12-20 14:38:26 +02:00
yuyi
ecb1dc1cb0
cgen: fix infix expr in method of mut receiver variable (#20225) 2023-12-20 14:34:04 +02:00
Delyan Angelov
a64b87204f
vdoc: make the vdoc html output less dense, and more easily diffable 2023-12-20 14:26:23 +02:00
Delyan Angelov
818744e381
vdoc: filter testdata and tests folders by default, reduce filesystem stats calls 2023-12-20 13:54:08 +02:00
Delyan Angelov
23ed1e9ae8
vdoc: extract files.v and highlight.v from utils.v 2023-12-20 11:55:15 +02:00
Delyan Angelov
eb728277e6
vdoc: ignore vlib/wasm/tests too 2023-12-20 11:35:46 +02:00
Delyan Angelov
b9f0557c0f
vdoc: ignore x/vweb/tests too 2023-12-20 11:31:05 +02:00
Felipe Pena
9c4e494383
v: comptime refactor and cleanup (#20196) 2023-12-19 23:57:03 +02:00
Turiiya
9ea039e6fc
tools.vpm: improve detection of already parsed modules (#20223) 2023-12-19 23:47:37 +02:00
Turiiya
4bab3e700e
builtin: add @[direct_array_access] to js string trim_right method (#20222) 2023-12-19 23:31:30 +02:00
yuyi
93756d2027
cgen: fix array insert for a variadic arg parameter (#20217) weekly.2023.51 2023-12-19 14:20:40 +02:00
Delyan Angelov
ef03767602
v.trace_calls: fix notice for C.BOOL for v -trace-calls file.v (#20219) 2023-12-19 14:18:55 +02:00
Turiiya
3b0802deb4
tools.vpm: refine is_outdated, add v outdated test (#20215) 2023-12-19 14:18:26 +02:00
Kim Shrier
57acf20129
docs: fix minor grammar error in channel documentation (#20218) 2023-12-19 14:16:55 +02:00
el-gringo
5be5cd9be1
websocket: enable using an already existing connection (from vweb or another http server) (#20103) 2023-12-19 14:16:07 +02:00
Felipe Pena
db6ae6ee9b
json: fix option sumtype handling (#20186) 2023-12-19 14:11:32 +02:00
yuyi
d474f6901d
parser: fix formatting enum and interface decl with comments (#20216) 2023-12-19 09:29:11 +02:00
shove
17d540e3ce
cgen: fix interface eq method with option and ref (fix #19441) (#20201) 2023-12-18 20:35:16 +02:00
Swastik Baranwal
97d01a985b
checker: refactor string to enum error check, handle EnumName(string_variable) too (#20210) 2023-12-18 19:20:38 +02:00
yuyi
a8e0ced344
parser: fix formatting struct decl with comments (#20207) 2023-12-18 15:39:10 +02:00
Delyan Angelov
050344ae7b
clipboard: fix notice in vlib/clipboard/x11/clipboard.c.v 2023-12-18 11:34:33 +02:00
Casper Küthe
cfd19bfe77
x.vweb.sse: reimplement SSE module for x.vweb (#20203) 2023-12-17 21:00:10 +02:00
Swastik Baranwal
25c900f439
examples: minor refactor in the xvweb example (#20206) 2023-12-17 20:51:32 +02:00
Delyan Angelov
b44fb15032
checker: add a more helpful suggestion for fixed_array = [1,2,3] 2023-12-17 17:28:11 +02:00
shove
5abeb415ad
cgen: fix string interp with zero characters (fix #20199) (#20200) 2023-12-17 12:53:05 +02:00
penguindark
ae16878272
all: add r and R switches for repeating in string interpolation, '${"abc":3r}' == 'abcabcabc' (#20197) 2023-12-17 13:23:17 +03:00
shove
51aaf3c49f
checker: fix incorrect checks when struct fields are ref and option type(fix #19555) (#20195) 2023-12-16 20:45:54 +02:00
shove
136193a3aa
parser: implement thread returns result and multi_returns (fix #19281) (#20194) 2023-12-16 17:30:11 +02:00
Felipe Pena
81bfc2f52e
all: implement $for comptime T.variants (#20193) 2023-12-16 18:27:30 +03:00
Delyan Angelov
de3b2b00a3
os, net.http.file: add a folder listing to the http static file server, started by file.serve/1 (#20192) 2023-12-16 08:06:30 +02:00
Delyan Angelov
687b33a137
net.http.file: fix oneline usage examples in the comments of file.serve/1 2023-12-15 20:34:12 +02:00
Turiiya
1cdd6ed61c
parser: improve performance for language parsing (#20190) 2023-12-15 20:04:33 +02:00
Larpon
6d0d82dbb9
gg: fix overlapping slices in draw_slice_filled() (#20182) 2023-12-15 19:31:33 +02:00
Swastik Baranwal
6e47782bdd
net.http: remove unused read_set_cookies function (#20187) 2023-12-15 16:53:40 +02:00
yuyi
4a9e4d375b
cgen: cleanup in anon_fn_cname() (#20180) 2023-12-15 16:53:01 +02:00
Turiiya
226e075e7a
parser: cleanup and simplify language parsing (#20185) 2023-12-15 16:35:12 +02:00
GGRei
0a029d4532
net: make net.fionbio and net.msg_nosignal constants public in net_windows.c.v (#20183) 2023-12-15 15:58:05 +02:00
shove
715a0a656e
ast: fix dimension mismatch check for fn/method mut array args (fix #20172) (#20173) 2023-12-15 15:18:26 +02:00
Turiiya
c5a6aebc73
ci: add new workflow, for doing the slower tests in vpm specifically with -d network (#20177) 2023-12-15 04:43:27 +02:00
JalonSolov
b3743d3e30
help: update the text documenting the -gc MODE option (#20179) 2023-12-14 22:37:41 +02:00
Casper Küthe
70c575a9f2
examples: add TODO app example with x.vweb (#20175) 2023-12-14 20:20:16 +02:00
Turiiya
22cb9c55df
ci: fix v-analyzer workflow (#20178) 2023-12-14 20:09:58 +02:00
Swastik Baranwal
68a639791e
checker: improve error messages for number casts used as branch values in match expressions (#20111) 2023-12-14 18:57:55 +02:00
shove
0d2ed22da2
ast: fix generic concrete of struct container type fields (fix #18852) (#19147) 2023-12-14 15:49:41 +02:00
shove
f303679988
cgen: fix smartcast for struct fields in the match branches(fix #20167) (#20171) 2023-12-14 14:15:45 +02:00