Delyan Angelov
|
f66836458f
|
v.util: support -d trace_cached_read_source_file
|
2022-05-08 14:03:58 +02:00 |
Alexander Medvednikov
|
6613391ed0
|
doc: closures work on arm64 too
|
2022-05-08 14:03:57 +02:00 |
playX
|
9c9b50933c
|
v.util: add math to builtin_module_names (temporary fix for C2V) (#14100)
|
2022-04-21 10:34:33 +02:00 |
Delyan Angelov
|
53fde9c812
|
v.util: always compile vfmt with `-d vfmt` to enable more efficient parsing
|
2022-04-17 12:14:33 +02:00 |
Alexander Medvednikov
|
7ecbca345f
|
all: byte => u8
|
2022-04-17 12:14:27 +02:00 |
Alexander Medvednikov
|
cc227d8520
|
checker: fix non-numeric type check for translated code
|
2022-04-04 04:59:14 +03:00 |
Delyan Angelov
|
7f28d91190
|
ci: fix again -usecache regression on macos
|
2022-03-26 09:47:44 +02:00 |
Alexander Medvednikov
|
0248349e7c
|
cgen: global/const fixes
|
2022-03-25 23:33:01 +03:00 |
Delyan Angelov
|
21e9b1deb0
|
ci: fix -usecache failure on macos
|
2022-03-21 08:52:25 +02:00 |
Alexander Medvednikov
|
80c94ea73e
|
cgen: fix c2v consts in .o files
|
2022-03-21 04:56:37 +03:00 |
Delyan Angelov
|
f6aba9a3fe
|
util: make check_module_is_installed more robust to ~/.vmodules paths with spaces
|
2022-03-08 11:33:03 +02:00 |
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
Delyan Angelov
|
359b674cff
|
ci: fix more failing tests
|
2022-01-22 23:18:09 +02:00 |
Delyan Angelov
|
62c3ad4953
|
use os.quoted_path more
|
2022-01-22 22:22:22 +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 |
yuyi
|
4660220f4c
|
util: fix the potential error of js_builder command (#13170)
|
2022-01-14 15:49:24 +02:00 |
Delyan Angelov
|
da0b89cc57
|
tools: improve support for renamed v executables (`vlang self` now works too)
|
2022-01-10 15:45:28 +02:00 |
playX
|
ec91de3504
|
builtin: use dlmalloc for `-freestanding` (#13054)
|
2022-01-06 14:10:37 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
Delyan Angelov
|
3afbb9e90a
|
all: split all backends into cmd/tools/builders (#12811)
|
2021-12-12 22:10:43 +03:00 |
playX
|
0da7e2f8ab
|
js: make vlib/v/util compile on JS backend (#12660)
|
2021-12-03 12:25:36 +02:00 |
Delyan Angelov
|
d431145a39
|
v.util,tools: use os.join_path_single
|
2021-11-22 21:42:55 +02:00 |
Delyan Angelov
|
3f841edec1
|
v.util: make get_vtmp_folder() return `/tmp/v_{uid}` by default (see https://github.com/vlang/v/discussions/11796)
|
2021-11-09 08:25:19 +02:00 |
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 |