18087 Commits

Author SHA1 Message Date
yuyi
cb58db56ef
all: change empty comment to newline (#22053) 2024-08-16 12:09:30 +03:00
yuyi
38e23a76f3
fmt: fix interface fields/methods alignment (#22055) 2024-08-16 11:35:53 +03:00
Hitalo Souza
384b5c466f
x.json2.decode2: add another internal test (#22050) 2024-08-16 02:25:02 +03:00
Roman
eb314c93a2
crypto: add a crypto.pbkdf2 module (#22047) 2024-08-15 20:01:06 +03:00
yuyi
4bce71e12f
fmt: fix enum/struct_decl/struct_init fields with empty newlines (#22051) 2024-08-15 17:28:52 +03:00
Delyan Angelov
a7e733538e
tools: colorise the output of cmd/tools/show_ancient_deprecations.v, reduce false positives (#22048) 2024-08-15 11:39:41 +03:00
yuyi
f879368466
fmt: fix interface fields or methods with empty newlines (#22046) 2024-08-15 08:51:06 +03:00
Delyan Angelov
b3938e3e47
table,checker: improve -d trace_checker and error diagnostic information on compiler panics 2024-08-15 08:17:52 +03:00
larpon
21339fe167
flag: fix assigning to @[tail] field when no fields has been matched yet in flag.parse[T]() (#22043) 2024-08-13 20:47:57 +03:00
larpon
198d4f49ef
tools: add a few missing v command entries and their flags in v complete (#22041) 2024-08-13 18:14:42 +03:00
Delyan Angelov
e862aa004d
tools: support a -fix option in v check-md file.v to make usage easier on Windows. Add an usage hint on formatting errors. 2024-08-13 18:05:37 +03:00
yuyi
f52a62b2c6
fmt: keep empty newlines in between interface fields/methods (#22040) 2024-08-13 16:45:45 +03:00
Hitalo Souza
e16d727da1
x.json2.decoder2: rename fields, add more comments (#22037) 2024-08-12 16:08:24 +03:00
Carlos Esquerdo Bernat
e8305d240c
docs: update old [tag] -> @[tag] (#22036) weekly.2024.33 2024-08-12 14:31:03 +03:00
yuyi
c69dfefedb
fmt: cleanup fields comments alignment and add ignore_newline config (#22027) 2024-08-12 10:56:32 +03:00
Kim Shrier
ac3045b472
tools: add an amalgamate tool and description of usage (#22034) 2024-08-12 10:51:08 +03:00
Kim Shrier
95ff9340ea
flag: add custom value descriptions for bool, int, and float flags too (#22032) 2024-08-12 01:13:27 +03:00
Kim Shrier
42d99ba872
tools: sort the match results in the vwhere test, to make it less flaky (#22033) 2024-08-12 01:11:21 +03:00
Martin Skou
d7bdb72b48
net.mbedtls: support Server Name Indication (SNI) (#22012) 2024-08-11 20:26:13 +03:00
Kim Shrier
ac7fedba29
v.help: remove extraneous word "of" (#22029) 2024-08-11 20:12:25 +03:00
Kim Shrier
20a525ae74
flag: add optional value description to string parameters (#22024) 2024-08-11 13:01:41 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
Felipe Pena
99da5726db
cgen: fix selector with interface var (#22006) 2024-08-10 22:09:38 +03:00
Delyan Angelov
a741db43f3
checker: add a deprecation warning for const () groups (an error after 2025-01-01) (#22019) 2024-08-10 22:04:49 +03:00
Delyan Angelov
b802311546
v2: fix a notice for v cmd/v2/v2.v 2024-08-10 21:34:14 +03:00
Delyan Angelov
9d61a9185b
tools: reduce number of os/fs calls done by v where; ignore tests/ folders 2024-08-10 20:41:02 +03:00
Delyan Angelov
2875086717
tools: make v where ignore .git/ folders (they contain binary files); let -dir . work recursively, so that -dir vlib works 2024-08-10 20:23:22 +03:00
yuyi
b8435ba6db
fmt: cleanup fields alignment (#22018) 2024-08-10 15:44:49 +03:00
Delyan Angelov
721b6a9142
veb: change example description, to avoid repetitive wording (ease debugging of issue#22017) 2024-08-10 08:53:46 +03:00
Felipe Pena
ed3acac302
all: allow multi return as fn argument (#21991) 2024-08-09 20:47:57 +03:00
Delyan Angelov
4f718d25fb
examples: change // to blank line in 2048.v too, after 793b66d 2024-08-09 14:57:56 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
Delyan Angelov
793b66d8d5
scanner: guard against scanner panic, discovered by fuzzing in PR#22016 2024-08-09 14:54:21 +03:00
Ivan Vatlin
c0bb9605c0
time: d,c,dd,ddd,dddd pattern support for parse_format() (#22003) 2024-08-09 13:27:15 +03:00
yuyi
6e2ae7c2ed
ast, parser, fmt: cleanup fmt of struct fields with empty line (#22014) 2024-08-09 06:40:02 +03:00
yuyi
5baad3a3a9
ast, parser, fmt: fix fmt of enum fields with empty line (#22015) 2024-08-09 06:38:58 +03:00
kylepritchard
be1bb60110
parser: update @include in templates, to work with relative paths & prevent recursive calls (#21943) 2024-08-08 22:41:09 +03:00
yuyi
eeea67067a
fmt: fix enum fields with one empty line (#22007) 2024-08-08 21:51:38 +03:00
Delyan Angelov
74e40c5d0c
cgen: reduce indentation level for generated defer statements 2024-08-07 22:01:14 +03:00
CoderMuffin
2d86c34eac
cgen: fix generation of closures from methods on aliases (#22004) 2024-08-07 21:45:20 +03:00
Felipe Pena
3833908511
cgen: fix array.map with closure var fn (#22002) 2024-08-07 21:31:29 +03:00
Coachonko
258aed44fe
hash: add more methods to the hash.Hash interface, to match the ones in Go (#22001) 2024-08-07 19:53:57 +03:00
yuyi
79ee4ae046
fmt: fix alignment of enumeration types (#21999) 2024-08-07 15:46:50 +03:00
yuyi
3247b98bb5
ast: fix const field str() (#21998) 2024-08-06 17:42:24 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) weekly.2024.32 2024-08-05 20:23:39 +03:00
dasidiot
576a0abcc7
net: add net.Dialer and net.Connection interfaces, abstracting the different types of connections, already supported by the V network stack (#21657) 2024-08-05 18:16:06 +03:00
Kim Shrier
49f5ebf717
libgc: update libgc to commit 6d372272 (#21822) 2024-08-04 21:16:08 +03:00
Martin Skou
44d2647e2d
parser: document that @@ can be used to represent a literal @ in $tmpl() templates (#21983) 2024-08-03 22:34:28 +03:00
Coachonko
1a8eff8d2b
hash: make public the hash.Hash interface, add tests to current implementers (#21984) 2024-08-03 19:52:39 +03:00
Delyan Angelov
e906033e4e
ci: use docker compose instead of docker-compose (see https://github.com/orgs/community/discussions/116610) (#21992) 2024-08-03 19:50:52 +03:00