1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

75 Commits

Author SHA1 Message Date
32ea53960e v doc: show a proper error message instead of panic on v doc -m file.v 2021-10-09 11:56:37 +03:00
108a01d65f fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
25bf68e2f1 ci: os.chdir() fixes for windows jobs 2021-08-28 16:21:46 +03:00
7bffabbce2 vdoc: add -comments and new comment merger (#11221) 2021-08-19 10:20:43 +03:00
e089d66225 vdoc: imrpove font spacing in the generated html docs (#11159) 2021-08-12 10:15:18 +03:00
12fb4655f5 vdoc: use nicer font (#11151) 2021-08-12 09:21:31 +03:00
800c0e5092 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
0f09228adb vdoc: fix wrong escaping in HTML docs (#10638) 2021-07-30 12:00:03 +03:00
90b9b9d755 v doc: small clean of Return to contents markdown link 2021-07-27 13:00:07 +03:00
78a41969f6 vdoc: fancier attributes (#10789) 2021-07-13 19:44:22 +03:00
f4d4f56d97 doc: fix html doc closing tags (#10787) 2021-07-13 16:45:17 +03:00
d1f1c5ae51 v doc: add attribute tags to v doc -f html (#10778) 2021-07-13 08:27:20 +03:00
b0b4b8e65b checker: fix missing check generic fn call args (fix #10649) (#10657) 2021-07-04 19:15:15 +03:00
6736817bba parser: fix rewind_scanner_to_current_token_in_new_mode (#10495) 2021-06-22 20:17:36 +03:00
b6bd6d1d35 tests: add cmd/tools/vdoc/tests/vdoc_file_test.v, extract a v.util.diff module, cleanup 2021-06-22 18:52:34 +03:00
984551227b doc: allow pressing / to focus search bar (#10522)
* type / to focus search; rename unused variables

* use ev.preventDefault() instead of setTimeout()

* delete doc.js_
2021-06-20 05:16:50 +03:00
9ee1d8c848 doc: decrease letter count for search to 2 (#10214) 2021-05-27 10:17:25 +03:00
6e589e2ae8 vdoc: fix panic on running v doc -all -m vlib/ -f html -inline-assets two times in a row 2021-04-21 14:33:41 +03:00
9427c5f526 vdoc: fix output folder creation (#9699) 2021-04-12 15:59:40 +03:00
0eb59cf2bd fmt: prevent possible trailing whitespace in wrapped infixes (#9573) 2021-04-03 18:30:25 +02:00
7385f8e56b all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
0e254e0329 vdoc: support -os and show docs according to the platform (#9474) 2021-03-27 09:50:06 +01:00
ae6420afc7 tools: fix substring in s usages, preventing v -W build-tools 2021-03-23 13:36:50 +02:00
1d42b4cf66 vdoc, v.doc: remove DocPos and use token.Position (#9429) 2021-03-23 09:07:09 +01:00
c76c69ec35 all: simplify return if ... constructs to make more code compatible with -autofree 2021-03-22 16:45:29 +02:00
f28e67d526 cmd/tools/v/vdoc: keep _ sep in numeric literals and highlight modules properly (#9358) 2021-03-18 15:06:16 +02:00
eccf707270 vdoc: improve error message for non-existing symbols (#9359) 2021-03-18 15:04:53 +02:00
2e84773ef1 cmd/tools/vdoc: highlight nested string quotes properly (#9341) 2021-03-17 09:50:22 +02:00
0c620a78bf vdoc: highlight keywords in bright_blue 2021-03-16 12:24:34 +02:00
0b0e96a8cd vdoc: improve syntax highlighting (#9323) 2021-03-16 12:05:36 +02:00
26138f98af v doc: implement color highlighting for the stdout format, enable it by default (#9312) 2021-03-15 13:21:19 +02:00
e9797c618a all: implement error interfaces (#9291) 2021-03-13 18:13:50 +01:00
62458e3553 vdoc: remove local mode (#9282) 2021-03-13 07:49:03 +02:00
114a7db6e5 vdoc: fix symbol filtering (#9210) 2021-03-09 13:05:50 +02:00
8f0ede34ad v doc: add available output formats (#9180) 2021-03-08 17:21:40 +02:00
b712af56fd all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
d63b7bc35a all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
b9a381f101 all: migrate to the new Option (p. 1) (#8924) 2021-02-28 22:24:29 +03:00
2516c07614 ci: fix v -W build-tools 2021-02-22 15:33:35 +02:00
cfe9f6d5d3 help: remove http doc server options (#8839) 2021-02-21 16:18:50 +02:00
901aa83e65 vdoc: hide README toc entry without readme (#8841) 2021-02-20 16:03:10 +02:00
38d1eac7f5 vdoc: fix padding above heading (#8842) 2021-02-20 15:16:51 +02:00
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
ebb5305b27 vdoc: fix markdown toc link rendering (#8714) 2021-02-13 09:04:47 +02:00
9e751f72c4 doc, fmt: use map{key: value} syntax for map literals (#8623) 2021-02-08 16:57:42 +02:00
473cd1d416 fmt: single line ternary return (#8605) 2021-02-08 00:28:46 +01:00
7f4c582f1a fmt: unwrap long infix exprs inside parenthesis if necessary (#8609) 2021-02-07 23:10:39 +01:00
d7d069adc4 vdoc: set max-width to img; do not stretch to page container (#8410) 2021-01-29 14:49:06 +01:00
e5a84719ca all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +02:00
dbaccd4272 vfmt: shorten main.const_name to just const_name 2021-01-25 20:57:33 +02:00