spaceface
|
332e821518
|
checker, gen: add support for a [minify] struct attribute (#14247)
|
2022-05-02 01:59:17 +03:00 |
Daniel Däschle
|
08fd0ce0de
|
all: basic implementation of result type (#14140)
|
2022-04-30 01:59:14 +03:00 |
stackotter
|
563469ed9f
|
vfmt: fix array_init line wrapping (#14154)
|
2022-04-25 08:11:44 +03:00 |
yuyi
|
26b0e7fd34
|
fmt: remove extra parentheses (#14125)
|
2022-04-21 18:20:32 +03:00 |
Delyan Angelov
|
675f8b6300
|
ci: fix generic_fn_infer_struct_test.v
|
2022-04-15 21:21:12 +03:00 |
Delyan Angelov
|
c7aedb8e8d
|
ci: fix fmt_test.v
|
2022-04-15 21:16:31 +03:00 |
Alexander Medvednikov
|
78cb6e2b41
|
all: handle fixed []u8
|
2022-04-15 18:35:56 +03:00 |
Alexander Medvednikov
|
1c6f63ac0a
|
tests: use u8 everywhere
|
2022-04-15 18:34:15 +03:00 |
Alexander Medvednikov
|
fbb9e65c0f
|
all: ~500 more byte=>u8
|
2022-04-15 18:25:45 +03:00 |
Delyan Angelov
|
bf62b2e33e
|
vfmt: stabilise the attribute sorting order (sort first by length of atributes, then in alphabetical order of their names)
|
2022-04-14 14:53:45 +03:00 |
fleur
|
68401d9dc8
|
gen: add callconv attribute for fn and type (#14027)
|
2022-04-14 11:29:52 +03:00 |
yuyi
|
e3e5bef139
|
ast, parser: fix formatting of `if` with inline comments (fix #7796) (#14018)
|
2022-04-13 00:15:27 +03:00 |
yuyi
|
3e3b2e25db
|
parser, fmt: fix the formatting of fn headers with inline comments (#14010)
|
2022-04-11 22:31:06 +03:00 |
yuyi
|
5551cb248c
|
ast, parser, fmt: fix formatting of consts with embedded comments (#14008)
|
2022-04-11 17:27:41 +03:00 |
yuyi
|
f7feb634d2
|
checker: fix error for if mut with immutable variable (#13728)
|
2022-03-13 16:33:50 +02:00 |
yuyi
|
27f9bc9ba0
|
checker: check error for match mut with immutable variable (fix #9704 #8976) (#13725)
|
2022-03-13 09:53:29 +02:00 |
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
Larpon
|
d80f5165dd
|
fmt: keep trailing comments after fn header decl (#13596)
|
2022-02-25 16:36:48 +03:00 |
Larpon
|
73f931b52e
|
fmt: improve single line const comment placement (#13595)
|
2022-02-25 14:46:12 +02:00 |
playX
|
b842e89acc
|
all: initial implementation of compile-time types (#13549)
|
2022-02-21 17:42:54 +02:00 |
Tarcisio Gruppi
|
f68144774d
|
fmt: fix map missing a comma after enum keys, leading to non parsable code (#13481)
|
2022-02-16 21:08:29 +02:00 |
yuyi
|
f9fc136c24
|
all: rename InterfaceDecl.ifaces to InterfaceDecl.embeds (#13475)
|
2022-02-15 11:17:39 +02:00 |
Tim Basel
|
9d0a5942ac
|
builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041)
|
2022-02-11 15:52:33 +02:00 |
Vincenzo Palazzo
|
c9a8d6448d
|
fmt: preserve formatting with comments in a empty map (#13362)
|
2022-02-05 10:05:35 +02:00 |
Delyan Angelov
|
e1a2ab345d
|
parser,ast,checker: add support for `[deprecated: "use another module"] module obsolete`
|
2022-01-27 12:34:14 +02:00 |
yuyi
|
291a1ffd8d
|
token: rename Position to Pos, rename position() to pos() (#13279)
|
2022-01-26 12:36:28 +02:00 |
yuyi
|
ca1f675dba
|
ast, checker, cgen: implement if guard with multi return optional (#13273)
|
2022-01-25 14:36:33 +02:00 |
Delyan Angelov
|
fa6f7d4c83
|
os: add os.quoted_path/1, use it consistently for running V itself
|
2022-01-22 21:13:28 +02:00 |
Delyan Angelov
|
b658b65774
|
scanner,cgen,vfmt: keep original when using byte char literals, test all 256 byte values in the C backend
|
2022-01-12 14:45:38 +02:00 |
Delyan Angelov
|
c27ffc6054
|
ci: vfmt fmt.v ...
|
2022-01-11 17:32:15 +02:00 |
Tim Basel
|
10efe47f03
|
parser: add support for mutable if guards (#13132)
|
2022-01-11 15:32:58 +02:00 |
Ken
|
9cbfa882e6
|
ast: support attributes for `ast.SumType` (#13010)
|
2022-01-08 17:35:10 +03:00 |
Delyan Angelov
|
59357e873d
|
math: move the `math.mathutil` generic `min`/`max`/`abs` fns to `math` (#13042)
|
2022-01-05 18:02:20 +02:00 |
Delyan Angelov
|
d3489d4246
|
builtin: s.trim_prefix/1 -> s.trim_string_left/1, s.trim_suffix/1 -> s.trim_string_right/1
|
2022-01-05 12:49:22 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
Daniel Däschle
|
35282396ec
|
all: inline sum types (#12912)
|
2021-12-25 18:26:40 +03:00 |
yuyi
|
1028f0b59e
|
fmt: fix error of generic struct_init using module (fix #12893) (#12935)
|
2021-12-22 19:11:09 +02:00 |
penguindark
|
278c08704c
|
all: support slices with negative indexes `#[start..end]` (gated arrays) (#12914)
|
2021-12-22 16:34:02 +03:00 |
yuyi
|
cd0b581445
|
ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls (#12898)
|
2021-12-19 18:25:18 +02:00 |
zakuro
|
e5e3979e45
|
fmt: fix removal of selective imported types used in type decl (#12868)
|
2021-12-17 05:20:16 +02:00 |
Delyan Angelov
|
df7f2aa8a3
|
all: support `[markused]` tags for fns/consts/globals
|
2021-12-15 14:34:49 +02:00 |
zakuro
|
eed882950c
|
fmt: remove extra comma of branch instead of parse error (#12814)
|
2021-12-14 08:14:43 +02:00 |
Leo Developer
|
9bf777c1ee
|
vfmt: fix eating .zlib in `$embed_file('v.png', .zlib)` (#12794)
|
2021-12-11 15:21:26 +02:00 |
zakuro
|
7379488cee
|
fmt: fix bug that adds unnecessary module name to generic types (#12758)
|
2021-12-08 22:33:58 +02:00 |
Leo Developer
|
0f59d88ba6
|
v.embedfile: make path public (#12614)
|
2021-11-29 16:32:42 +02:00 |
playX
|
ddec89f9ee
|
js,vfmt: fix formatting for JS types; add fetch API (#12608)
|
2021-11-29 15:32:29 +02:00 |
zakuro
|
93bdff5589
|
fmt: remove unnecessary paren in assert stmt (#12546)
|
2021-11-23 07:30:54 +02:00 |
Delyan Angelov
|
3caeadfa0d
|
cgen,vfmt: support `[weak]` tags for functions and globals
|
2021-11-18 18:32:39 +02:00 |
zakuro
|
b5e410e408
|
fmt: format explicit map init with parameter (#12499)
|
2021-11-18 08:34:30 +03:00 |
playX
|
2eb02ff5a7
|
jsdom, js: start refactoring jsdom; improve JS interfaces; add two attributes for them (#12488)
|
2021-11-17 11:41:33 +02:00 |