Commit Graph

707 Commits (2677fcdf0c7292d9c41dbaa2e02c8338cb950222)

Author SHA1 Message Date
Delyan Angelov 3ee78dc961
term: add term.colorize/2, use it in the tests. Support ConEmuANSI = ON too. 2021-01-17 19:09:29 +02:00
Delyan Angelov 460f32baf2
tests: add `v test-all`, move `v test-fixed` to `v test-compiler-full` 2021-01-17 16:11:10 +02:00
Delyan Angelov 8571d9395b
preludes: move to vlib/v/preludes 2021-01-16 14:43:24 +02:00
Daniel Däschle 53941c4a0a
fmt: fix if cond break readability (#8132) 2021-01-16 02:12:17 +01:00
Delyan Angelov 30e96528b0
tests: improve error message on `v test file.v` 2021-01-13 21:52:05 +02:00
Delyan Angelov cf93be918f
docs: update debugging information 2021-01-13 12:50:35 +02:00
Daniel Däschle a22982d662
tests: colorize failing tests, improve layout (#8066) 2021-01-13 11:07:12 +02:00
yuyi 7458b699d0
fmt: change `[1,2,3]!!` to `[1,2,3]!` (#8081) 2021-01-13 08:32:17 +01:00
Delyan Angelov d4237aa7af
tools: cleanup the commit subject that gen_vc uses for the vc repository 2021-01-12 12:44:35 +02:00
Delyan Angelov 49ec2c86ae
oldv: match the v commit in the vc log by `--grep`, falling back to `--before=` 2021-01-12 12:44:34 +02:00
zakuro 33694665f0
fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
Uwe Krüger 5f95dd54bd
builtin: rename `any_*` -> `*_literal` - 2. part (#8032) 2021-01-11 22:58:15 +01:00
yuyi a1c67232d0
checker: fix duplicate variable name (fix #265) (#7982) 2021-01-10 21:41:29 +01:00
penguindark c067cc0357
vlib: add a TTF font loader and render in `x.ttf` (#7995) 2021-01-10 20:14:41 +02:00
Larpon 93ad595ffb
vet: add suggestions for function documentation (#7890) 2021-01-10 18:48:39 +02:00
Delyan Angelov d0690fca1e
tools/check-md: implement -hide-warnings, use it to reduce noisiness of the output on the CI 2021-01-10 15:58:45 +02:00
Larpon 362c21de06
vdoc: remove http doc server (#7984) 2021-01-09 22:47:58 +01: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 fb7a5ee3af
ci: fix warning for cmd/tools/vvet/vvet.v 2021-01-09 19:41:30 +02:00
Delyan Angelov ca83746884
tools: ensure that `v test-cleancode` is always run in the vroot folder 2021-01-09 19:25:50 +02:00
Larpon 8f315d226b
vvet: move to own subdir, prepare richer suggestions (#7989) 2021-01-09 16:11:49 +02:00
Larpon 78376a0250
vdoc: don't escape < and > in README, fixes #7951 (#7960) 2021-01-08 17:44:19 +01:00
Delyan Angelov 083dc23db8
gen: implement a `[manualfree]` tag, for functions, that want to do their own memory management 2021-01-08 16:22:27 +02:00
Larpon b299fb1e92
vdoc: heavy refactor, immutable config (#7945) 2021-01-08 12:25:22 +02:00
Lukas Neubert 2820139216
bin2v: replace hyphens for const names (#7937) 2021-01-07 21:37:36 +01:00
Lukas Neubert 6c013023fc
tools/check-md: minor cleanup (#7940) 2021-01-07 20:13:07 +01:00
Larpon 30a2f125ef
doc: add comment example support (#7924) 2021-01-06 19:43:43 +01:00
Lukas Neubert 5683af821e
bin2v: correct newlines in console output (#7925) 2021-01-06 19:19:48 +02:00
Tomas Hellström f9a873736e
x.websocket: server broadcast plus examples (#7922) 2021-01-06 15:43:54 +01:00
hazohelet a02de42450
vdoc: escape `<` and `>` before creating md (#7895) 2021-01-05 19:16:56 +01:00
yuyi 7135773975
vtest-fixed: remove debug message output (#7898) 2021-01-05 18:13:38 +02:00
Larpon 2aea11e607
missdoc: add support for single files as arguments (#7894) 2021-01-05 16:13:01 +02:00
Daniel Däschle ad8177ef2e
tests: readd http test (#7885) 2021-01-05 12:40:48 +02:00
yuyi c66ee8aa61
tools/vself: minor optimization (#7877) 2021-01-05 03:00:15 +01:00
Lukas Neubert 55d5b9e724
vdoc: include readme link in toc (#7871) 2021-01-05 01:40:21 +01:00
Lukas Neubert 4f5db46bc2
vdoc: prefix for head section id (#7866) 2021-01-04 20:00:18 +02:00
Delyan Angelov a8a81a1708
ci: add "Verify `v test` works" tasks 2021-01-04 13:39:39 +02:00
Delyan Angelov acc93a66bb
ci: skip the mysql.v example on windows too 2021-01-04 00:28:51 +02:00
Delyan Angelov 095857d59b
ci: skip building examples/database/mysql.v on macos 2021-01-03 19:52:28 +02:00
Leandro Silva 86df5cd1a9
examples: C interop for HTML to PDF conversion using libwkhtmltox (#7751) 2021-01-03 16:56:55 +01:00
Delyan Angelov 90839a1b76
vdoc: fix markdown content indentation 2021-01-02 23:17:54 +02:00
Lukas Neubert 38c764f0ce
vdoc: fix toc Constants link (#7810) 2021-01-02 20:18:17 +02:00
Lukas Neubert 9980de39c3
vdoc: remove 's' between paragraphs (#7811) 2021-01-02 19:52:45 +02:00
yuyi 01e098aa77
vrepl: fix v repl on Windows (#7798) 2021-01-02 12:17:39 +01:00
NTBBloodbath c8caf71282
vdoc: fix the indentation of the generated html file (#7802) 2021-01-02 11:11:34 +02:00
Alexander Medvednikov 2533c706ae vweb: migrate all tests and examples to the new syntax 2020-12-31 17:22:47 +01:00
zakuro 1fb6710c89
build: remove `v build file.v` (#7695) 2020-12-31 15:24:55 +01:00
Delyan Angelov c3e8e2ad31
help: describe wipe-cache in `v help other` 2020-12-30 22:10:18 +02:00
Delyan Angelov 8724749728
tools: implement `v wipe-cache` to ease cleaning up the cache on windows 2020-12-30 21:36:54 +02:00
Daniel Däschle 7bd0c5bc03
vdoc: search fix titles (#7681) 2020-12-29 21:01:12 +02:00