spaceface
|
26d051475a
|
cgen: ensure closures are kept alive when using the GC (#14736)
|
2022-06-10 19:48:50 +03:00 |
Daniel Däschle
|
d3ffd983c8
|
markused: add _result_ok (#14495)
|
2022-05-22 14:52:38 +03:00 |
Alexander Medvednikov
|
53c217fe5e
|
cgen: do not generate `_vinit()` for translated .o code
|
2022-05-20 19:28:37 +03:00 |
spaceface
|
c01a8a1737
|
checker,gen: allow using methods as function pointers (#14407)
|
2022-05-15 18:28:37 +03:00 |
Daniel Däschle
|
76cdf75299
|
builtin,cgen: rename `Option` to `_option` (#14317)
|
2022-05-06 19:25:54 +03:00 |
yuyi
|
27f9bc9ba0
|
checker: check error for match mut with immutable variable (fix #9704 #8976) (#13725)
|
2022-03-13 09:53:29 +02:00 |
playX
|
b842e89acc
|
all: initial implementation of compile-time types (#13549)
|
2022-02-21 17:42:54 +02:00 |
Delyan Angelov
|
f8bf3db568
|
markused: always include slice_ni & substr_ni too (support s#[] and a#[] in -skip-unused)
|
2022-02-14 19:05:30 +02:00 |
Delyan Angelov
|
4597c74d1a
|
markused: fix `v -gc boehm -skip-unused cmd/vls`
|
2022-01-17 16:32:40 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
Delyan Angelov
|
41e763f79c
|
checker: add error for `type StructAlias = Struct struct Struct { field StructAlias }`
|
2022-01-02 15:54:40 +02:00 |
Delyan Angelov
|
9b8cf1ad37
|
markused: fix V compiler panics with -skip-unused, for code using generics
|
2021-12-29 09:48:13 +02: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 |
Delyan Angelov
|
6ff953d936
|
preludes,builder,cgen: add support for VTEST_RUNNER=tap and -test-runner tap (#12523)
|
2021-12-16 15:59:46 +02:00 |
Delyan Angelov
|
df7f2aa8a3
|
all: support `[markused]` tags for fns/consts/globals
|
2021-12-15 14:34:49 +02:00 |
Delyan Angelov
|
1a6899e85e
|
cgen: fix building with `-no-preludes -no-builtin -skip-unused` (part 2)
|
2021-12-15 13:30:21 +02:00 |
yuyi
|
5a89c0a480
|
ast: change CompFor to ComptimeFor (#12482)
|
2021-11-17 08:29:43 +02:00 |
Delyan Angelov
|
159a9c3070
|
markused: fix `-skip-unused` on programs with generic methods (fix #12306)
|
2021-10-27 17:22:26 +03:00 |
Delyan Angelov
|
5dd3864617
|
markused: fix `v -skip-unused cmd/tools/vpm.v` regression after 98b2bdb
|
2021-10-18 08:43:56 +03:00 |
Delyan Angelov
|
79e33d92f1
|
v.markused: remove `hash.init()` function (map fn usages are detected more precisely)
|
2021-09-23 12:24:02 +03:00 |
yuyi
|
108a01d65f
|
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
|
2021-09-21 16:20:09 +03:00 |
Delyan Angelov
|
bd65ceb463
|
v.markused: remove __print_assert_failure from all_fn_root_names
|
2021-09-17 21:47:22 +03:00 |
Enzo
|
cc8ee5fb84
|
all: introduce `isize` and `usize` (#11437)
|
2021-09-08 05:53:39 +03:00 |
Delyan Angelov
|
a208138283
|
v.markused: support a const used as default value in struct init
|
2021-08-31 15:55:32 +03:00 |
Delyan Angelov
|
f68bdb7805
|
v.markused.walker: support `for x in struct{}` iterators
|
2021-08-31 15:15:05 +03:00 |
Delyan Angelov
|
f33f216698
|
v.markused: fix compilation with `-prod -skip-unused` of programs that embed files
|
2021-08-30 17:57:33 +03:00 |
Delyan Angelov
|
34d39ccb64
|
builtin: fix leak in rune.str(), fix leaks in most assert x == y statements in tests (#11091)
|
2021-08-13 18:37:34 +03:00 |
Miccah
|
cc9463401e
|
http: change server handler from function to interface (#10994)
|
2021-08-01 15:50:11 +03:00 |
Uwe Krüger
|
45ad48d76a
|
cgen: properly handle initialization expression for globals (#10981)
|
2021-07-28 08:11:55 +03:00 |
Delyan Angelov
|
ef0161c233
|
v.markused: handle compiling vweb, `-live` and orm example programs
|
2021-07-27 15:50:42 +03:00 |
Delyan Angelov
|
6e0c9f637d
|
v.markused: support `import json` programs too
|
2021-07-27 13:00:07 +03:00 |
Uwe Krüger
|
55c5b9ce7b
|
cgen: panic with error message when `go` command fails (#10943)
|
2021-07-25 01:13:34 +03:00 |
Delyan Angelov
|
45a15755b8
|
v.builder: implement -show-callgraph
|
2021-07-24 13:32:56 +03:00 |
Delyan Angelov
|
568aa742b2
|
v.parser: improve conditions for debugging ast.CastExpr parsing
|
2021-07-17 17:49:29 +03:00 |
Delyan Angelov
|
9d241f75eb
|
v.markused: add string_at_with_check to the roots
|
2021-07-11 12:03:37 +03:00 |
Delyan Angelov
|
d307ab2c7c
|
v.markused: fix `-skip-unused -gc boehm` after removing of ustring
|
2021-07-05 16:48:03 +03:00 |
Daniel Däschle
|
0f9537ece5
|
all: remove ustring (#10630)
|
2021-07-03 20:14:09 +03:00 |
Uwe Krüger
|
a8437584aa
|
gc: extend optimized mode to channel buffers (#10443)
|
2021-06-14 18:12:47 +03:00 |
Uwe Krüger
|
5ee1ded3fb
|
gc: extend optimized mode to maps (#10426)
|
2021-06-13 06:26:43 +03:00 |
Uwe Krüger
|
2ac39d9112
|
all: new function `isreftype(T)` to know if `T` contains pointers (#10438)
|
2021-06-13 06:26:13 +03:00 |
Uwe Krüger
|
0e2c86310a
|
GC-boehm: extend optimized mode to all `array` methods (#10406)
|
2021-06-10 21:26:17 +03:00 |
Uwe Krüger
|
811a3e1d38
|
builtin: optimize `array.repeat()` (#10396)
|
2021-06-09 12:52:30 +03:00 |
Uwe Krüger
|
a2243054a5
|
builtin: fix memory corruption in array `.clone()` and `.repeat()` (#10394)
|
2021-06-08 23:23:28 +03:00 |
Delyan Angelov
|
9924f6c54b
|
ci: fix build-vc job
|
2021-06-05 18:26:56 +03:00 |
Delyan Angelov
|
55ef849cd2
|
v.markused: trim unused map fns for programs that do not use them
|
2021-06-05 17:30:25 +03:00 |
Delyan Angelov
|
5cb2683e97
|
v.gen.c,v.markused: fix `println(ch)` when ch is a channel
|
2021-06-01 13:46:59 +03:00 |
penguindark
|
d8d05e0106
|
all: new string interpolation in pure V (#10181)
|
2021-05-24 05:20:45 +03:00 |
Delyan Angelov
|
bf3af40f13
|
v.markused: support `./v -skip-unused -freestanding run vlib/os/bare/bare_example_linux.v` too
|
2021-05-23 16:25:34 +03:00 |
Delyan Angelov
|
bc01de2181
|
ast: mark ast.File{} with `[heap]`, and use []&ast.File consistently
|
2021-05-22 19:06:55 +03:00 |
Delyan Angelov
|
2086e6f1c1
|
builtin, cgen: implement chunked allocation of 16MB blocks with -prealloc (#10130)
|
2021-05-19 10:35:56 +03:00 |