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

221 Commits

Author SHA1 Message Date
Alexander Medvednikov
ce4ee2b247 v0.1.29 2020-08-06 19:36:52 +02:00
Delyan Angelov
6c27ce58ed v.util.vtest: extract the common code for VTEST_ONLY in a single place 2020-08-05 19:34:27 +03:00
Delyan Angelov
65891f54ed v.util.suggestions: fix hash.crc32.Crc32 case 2020-07-30 19:35:16 +03:00
Delyan Angelov
f300f787f3 checker: add suggestions for method mispellings and unknown types 2020-07-30 18:48:16 +03:00
Delyan Angelov
81f8e910e6 compiler: remove space at the end of warn/error messages to minimize diff churn 2020-07-29 20:37:55 +03:00
Delyan Angelov
c1e14b451e builder: show timing info in bold; also add a checker summary: line with -stats 2020-07-25 10:32:29 +03:00
Delyan Angelov
c2083203b3 v.util: fix util.emanager.set_support_color 2020-07-24 08:31:05 +03:00
Alexander Medvednikov
632e27a4a9 all: fix a big mutability bug and update all mutable vars 2020-07-23 23:16:36 +02:00
Nick Treleaven
ee349691f9 v/checker: Warn about pointer indexing outside unsafe {} (#5918) 2020-07-22 20:28:53 +03:00
Nick Treleaven
a74cbf55c7 checker: warn if C.m* or C.s* functions are called outside unsafe blocks (#5869) 2020-07-20 20:06:41 +03:00
Delyan Angelov
de0fc53d62 CI: fix failing tests because of hash.wyhash duplicates 2020-07-18 15:27:57 +03:00
Alexander Medvednikov
38e5569503 all: cached modules fixes 2020-07-18 11:15:44 +02:00
Ryan Willis
e804ba5294 vfmt: add support for VDIFF_TOOL, detect more diffing tools (#5857) 2020-07-17 14:03:07 +03:00
Delyan Angelov
26768e8514 vfmt: strip current_module. in fn args more robustly 2020-07-11 16:09:20 +03:00
Delyan Angelov
108913c69e checker: handle error token positions with negative pos.len 2020-07-04 21:55:14 +03:00
Delyan Angelov
fe50bdc164 vfmt: ran v vet vlib/v/ and fix spaces 2020-07-04 16:19:54 +03:00
Alexander Medvednikov
e9e437ce05 repl: show short version 2020-07-03 22:30:34 +02:00
Delyan Angelov
78e1127d99 cgen: treat the main module like any other v module 2020-07-01 00:53:53 +02:00
Delyan Angelov
13783aea70 vfmt: support for 'VDIFF_OPTIONS=-w' 2020-06-28 12:35:05 +03:00
Uwe Krüger
3b6e66db0d fmt: further fixes for string interpolation and builtin macros 2020-06-18 18:48:23 +02:00
Alexander Medvednikov
7be952605b 0.1.28 2020-06-18 15:57:53 +02:00
Delyan Angelov
cadde3e9f0 vlib: fix os.exec().output usages, that may rely on trimmed lines 2020-06-15 15:38:20 +03:00
Delyan Angelov
05177b9dcb builder: add 'builtin' to builtin_module_parts instead of .clone() 2020-06-11 19:23:13 +03:00
Delyan Angelov
3521c9045b vpm: change hardcoded ~/.vmodules/ (does not work on windows) 2020-06-02 14:36:49 +03:00
Ned Palacios
b99ba21ddd vdoc: markdown, html, json generation + lots of fixes 2020-06-02 12:10:01 +02:00
Mike 'Fuzzy' Partin
411868a43a util: add gdiff to the list of diff utilities to support bsd systems 2020-05-31 17:01:31 +02:00
Delyan Angelov
d148920b54 v.util: prepare CI for the external markdown module (needed for vdoc) 2020-05-30 11:06:16 +03:00
Tim Basel
7e538d7401 utils: add args to launch_tool 2020-05-28 19:40:09 +03:00
Delyan Angelov
481f103dc9 checker: make an error using non pub fns from other modules 2020-05-27 12:00:19 +03:00
Ned Palacios
b02ec8cbf9 vfmt: fix raw string support 2020-05-27 03:10:47 +02:00
Delyan Angelov
9d4fe88d09 compiler: support for -color/-nocolor option overrides 2020-05-20 20:34:04 +03:00
Alexander Medvednikov
03525843a0 parser: do not allow calling private functions 2020-05-18 22:54:11 +02:00
Alexander Medvednikov
81148fa2bd cmd/v: version: print only main repo hash 2020-05-16 23:52:06 +02:00
Larpon
aa30549337 scanner: fill out '@FN' placeholder at compile time while scanning 2020-05-16 14:20:19 +02:00
Delyan Angelov
74005b4362 vfmt: handle file paths with spaces 2020-05-14 09:07:14 +03:00
Delyan Angelov
1bf13f8a09 v version: do more accurate current git hash detection, when not on a branch 2020-05-10 18:56:19 +03:00
eyelash
1722171adc compiler: color only the relevant part of the source code in error messages 2020-05-10 17:24:29 +02:00
eyelash
eabc72d4fe compiler: print underlines in the same color as the error 2020-05-10 12:27:46 +02:00
yuyi
b627bb933c message: use uniform message reference format 2020-05-06 09:10:40 +03:00
Alexander Medvednikov
67351c74c8 V 0.1.27 2020-05-06 02:26:43 +02:00
Delyan Angelov
acd80f052b tests: improve diagnostic output on failure 2020-05-04 11:21:25 +03:00
eyelash
4d04e88679 errors: show line numbers in default color and add a space 2020-05-01 14:46:12 +02:00
eyelash
6b08cbcb7a compiler: print warnings in magenta 2020-05-01 13:44:15 +03:00
Delyan Angelov
0e765e34be vfmt: extract v.util.find_working_diff_command, color_compare_files 2020-04-29 11:51:45 +03:00
Delyan Angelov
8a81aa5c93 errors: disambiguate between variable and fn source_context 2020-04-28 16:20:50 +03:00
Delyan Angelov
7924b4d77c compiler: handle a panic when an error is produced, but source == '' 2020-04-28 16:15:56 +03:00
Enzo Baldisserri
682838a0cf checker: check array and fields mutability 2020-04-27 22:53:26 +02:00
Delyan Angelov
e67bf674e3 scanner: cleanup, only v.parser now depends on v.scanner 2020-04-27 16:08:04 +03:00
Alexander Medvednikov
3ab8dc0092 parser: array init: []string => []string{} 2020-04-26 09:17:17 +02:00
Alexander Medvednikov
a48080afec parser: deprecate import(); replace remaining import()s 2020-04-26 07:36:02 +02:00