Delyan Angelov
|
eed94c727c
|
os: move C struct declarations in their own _default.c.v files (#12268)
|
2021-10-22 17:08:08 +03:00 |
|
playX
|
d373eba79b
|
js: implement more functions for JS backend (#12167)
|
2021-10-13 09:40:14 +03:00 |
|
Delyan Angelov
|
6843b85063
|
ci: fix clang -std=c99 -D_DEFAULT_SOURCE -o v vc/v.c warnings
|
2021-08-15 11:12:48 +03:00 |
|
Delyan Angelov
|
d540b3f1a8
|
v.util: improve formatted_error by adding cached_file2sourcelines, so .split_into_lines is called just once (important for long source files with many errors)
|
2021-08-14 23:01:30 +03:00 |
|
Delyan Angelov
|
1743ad05c0
|
v.util: add a small cache for util.read_file, so reading individual source files is done just once
|
2021-08-14 21:59:28 +03:00 |
|
zakuro
|
490dec222f
|
fmt: keep char literal, ' (#11060)
|
2021-08-06 06:21:28 +03:00 |
|
Daniel Däschle
|
800c0e5092
|
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
|
2021-08-04 12:44:41 +03:00 |
|
Delyan Angelov
|
6134c4870b
|
v.util: extract v.util.version, use it to speed up building v repl , v up and v doctor
|
2021-07-27 12:59:56 +03:00 |
|
Delyan Angelov
|
5098334e65
|
os: add execute_or_exit(cmd), use it consistently instead of execute_or_panic(cmd)
|
2021-07-20 15:22:04 +03:00 |
|
William Gooch
|
51dd8304bb
|
tools: make the v REPL help screen look nicer (#10833)
|
2021-07-17 11:23:29 +03:00 |
|
Enzo
|
886f69bfcf
|
all: use operator overloading on strings (p. 2) (#10183)
|
2021-05-24 11:38:31 +03:00 |
|
Delyan Angelov
|
159ee00563
|
builtin: remove import hash
|
2021-05-10 09:22:50 +03:00 |
|
Delyan Angelov
|
d4f31412b7
|
v: deprecate @VROOT in favour of @VMODROOT (#9795)
|
2021-04-19 19:01:47 +03:00 |
|
Alexander Medvednikov
|
57e6138a61
|
all: remove byteptr and charptr; replace them with &byte and &char
|
2021-04-04 17:43:32 +03:00 |
|
Delyan Angelov
|
c698fa1a58
|
all: support v -watch run (#9577)
|
2021-04-04 16:05:06 +02:00 |
|
Delyan Angelov
|
9b78d7d21d
|
tools: check formatting of more modules with v test-cleancode , colorize v vet output
|
2021-03-24 12:39:39 +02:00 |
|
Lukas Neubert
|
a67d49050c
|
math: add a pure V math.mathutil , with generic min , max and abs functions (#9176), and use it consistently
|
2021-03-12 11:28:04 +02:00 |
|
zakuro
|
00399b49ab
|
v.util: add util.tabs() (#9211)
|
2021-03-09 13:03:25 +02:00 |
|
Delyan Angelov
|
d7049ae2da
|
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974)
|
2021-03-08 20:52:13 +02:00 |
|
pancake
|
ed9ca0b7bd
|
build: add address sanitizer make target (#9044)
|
2021-03-07 16:44:54 +01:00 |
|
zakuro
|
45d51c76da
|
v.util: add an iabs(x) helper (#9172)
|
2021-03-07 11:24:05 +02:00 |
|
spaceface
|
b712af56fd
|
all: bring back panic(err.msg) -> panic(err) (#9022)
|
2021-03-01 00:18:14 +01:00 |
|
spaceface
|
d63b7bc35a
|
all: update repo to use the new error handling syntax (#8950)
|
2021-02-28 23:20:21 +03:00 |
|
Alexander Medvednikov
|
3a2d696fac
|
time: time.wait() => time.sleep()
|
2021-02-27 20:41:06 +03:00 |
|
Nick Treleaven
|
c03798e390
|
checker: disallow implicit conversion from fixed array to fooptr (#8823)
|
2021-02-26 00:28:47 +01:00 |
|
zakuro
|
ac4791045f
|
time: consolidate the different sleep functions into time.wait(Duration) (#8853)
|
2021-02-21 17:05:03 +02:00 |
|
Nick Treleaven
|
4ccf991f61
|
checker: warn when casting a fixed array (use &arr[0] instead) (#8787)
|
2021-02-17 20:45:11 +01:00 |
|
Nick Treleaven
|
4a0367a63c
|
vlib: add [unsafe] tag to more functions: tos, string_from_wide, strings.Builder: write_bytes, free (#8766)
|
2021-02-15 17:15:52 +02:00 |
|
Nick Treleaven
|
9e751f72c4
|
doc, fmt: use map{key: value} syntax for map literals (#8623)
|
2021-02-08 16:57:42 +02:00 |
|
Lukas Neubert
|
473cd1d416
|
fmt: single line ternary return (#8605)
|
2021-02-08 00:28:46 +01:00 |
|
Swastik Baranwal
|
7ec116d588
|
all: only allow defining == and < and auto generate != , > , >= and <= (#8520)
|
2021-02-03 15:18:38 +01:00 |
|
Larpon
|
d25825df57
|
all: support compile time $env('ENV_VAR') (#8456)
|
2021-01-31 19:22:42 +02:00 |
|
Delyan Angelov
|
242d7d0fc0
|
tools: improve error diagnostic for v up and v self . Make v self more robust.
|
2021-01-27 23:58:13 +02:00 |
|
Delyan Angelov
|
e5a84719ca
|
all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {}
|
2021-01-26 16:43:17 +02:00 |
|
Delyan Angelov
|
728344ff65
|
ci: fix v test-cleancode
|
2021-01-25 12:55:01 +02:00 |
|
Lukas Neubert
|
8b61891348
|
fmt: smarter if condition wrapping (#8201)
|
2021-01-23 10:33:22 +02:00 |
|
Alexander Medvednikov
|
46cdf4f1ff
|
0.2.2
|
2021-01-22 10:39:44 +01:00 |
|
joe-conigliaro
|
97ebecc5f4
|
usecache: get all tests running with -usecache enabled by default (p.1) (#7699)
|
2021-01-20 06:04:59 +01:00 |
|
Delyan Angelov
|
7037965973
|
parser: cleanup unused p.os_from_string
|
2021-01-19 08:33:03 +02:00 |
|
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
|
Delyan Angelov
|
17266ecb07
|
tools: support cmd/tools/.disable_autorecompilation in v up and v self too
|
2021-01-18 09:33:33 +02:00 |
|
Delyan Angelov
|
72790cda83
|
v.util: support cmd/tools/.disable_autorecompilation
|
2021-01-18 08:43:20 +02:00 |
|
Swastik Baranwal
|
1f5255c2bb
|
cgen: implement >= and <= (#7991)
|
2021-01-10 12:24:46 +02:00 |
|
Delyan Angelov
|
aa37382e8d
|
tools: let v fmt use VTMP too, stabilise v test-cleancode
|
2021-01-09 20:41:15 +02:00 |
|
Delyan Angelov
|
9593ad20f9
|
v.util: extend launch_tool with auto recompilation of a folder with several .v files too
|
2021-01-06 23:48:38 +02:00 |
|
yuyi
|
443bf44031
|
tests: fix ci error in vtest-fixed (fix #7827) (#7830)
|
2021-01-03 16:38:28 +01:00 |
|
Swastik Baranwal
|
9033099676
|
cgen: implement overriding of != and == (#7837)
|
2021-01-03 16:19:02 +01:00 |
|
yuyi
|
01e098aa77
|
vrepl: fix v repl on Windows (#7798)
|
2021-01-02 12:17:39 +01:00 |
|
Swastik Baranwal
|
24b18f05c4
|
cgen: implement > and < for structs (#7774)
|
2021-01-01 14:54:32 +01:00 |
|
Ryan Prior
|
64e7c54884
|
v.util: accomodate reproducible build environments like guix, by not recompiling cmd/tools when mtime < 1024 (#7702)
|
2020-12-31 10:31:38 +02:00 |
|