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 |
Delyan Angelov
|
8a1248b2e7
|
builder: restore module import cycle detection/topological reorder
|
2020-04-16 12:29:36 +03:00 |
Daniel Däschle
|
12e48c6fe2
|
checker: check match for exhaustion
|
2020-04-14 01:03:31 +02:00 |
Delyan Angelov
|
95709811e0
|
v: support VFLAGS, fix 'v run source.v arg after source'
|
2020-04-11 10:28:43 +03:00 |
Delyan Angelov
|
3573030b9b
|
checker: fix error position for assignment expression
|
2020-04-10 15:14:05 +03:00 |
yuyi
|
7f87ac996d
|
test: fix vlib/math/big/big_test.v
|
2020-04-10 12:26:15 +03:00 |
Daniel Däschle
|
0f11d883fa
|
checker: fix error messages and add checker tests
* checker: fix error messages
* tests: fix command and ignore defect output
|
2020-04-10 11:59:07 +03:00 |
Daniel Däschle
|
32550c6d69
|
scanner: even better error messages
|
2020-04-10 00:09:34 +02:00 |
Alexander Medvednikov
|
a08e64f37f
|
cgen: operator overloading
|
2020-04-08 22:12:42 +02:00 |
Daniel Däschle
|
7cf9b32742
|
cmd: show cleaner messages, when v can not compile a tool, or update itself
|
2020-04-07 17:56:33 +03:00 |
Delyan Angelov
|
8da12eb8a7
|
errors: column index tweaks for emacs/vim
|
2020-04-06 23:15:53 +03:00 |
Delyan Angelov
|
333e725380
|
errors: remove 0 from caret line
|
2020-04-06 20:41:33 +03:00 |
Delyan Angelov
|
bc2ea2f3d4
|
errors: fix caret position on lines with tabs
|
2020-04-06 20:35:24 +03:00 |
Delyan Angelov
|
d74eb99066
|
errors: do not bold the actual error message content
|
2020-04-06 19:46:23 +03:00 |
Delyan Angelov
|
7a99949f0e
|
errors: print more informative and pretty errors
|
2020-04-06 19:40:20 +03:00 |
Delyan Angelov
|
f139e98745
|
launch_tool: use println for verbose messages instead of eprintln
|
2020-04-05 15:31:09 +03:00 |
Delyan Angelov
|
44a271d9e9
|
v version: show only vhash, when vhash and current_hash are the same
|
2020-04-05 14:47:01 +03:00 |
Alexander Medvednikov
|
46aed151ab
|
parser: snake_case check; array: mutable array test
|
2020-04-04 14:09:58 +02:00 |
Delyan Angelov
|
133842bf95
|
Remove unused self import of v.util into v.util .
|
2020-04-04 14:49:08 +03:00 |
Delyan Angelov
|
31c4b1cda6
|
v2: compile vfmt again; consistent colored error messages
|
2020-04-03 18:42:22 +03:00 |
Delyan Angelov
|
4ada412a05
|
v2: stage 2 for enhancing 'v version' with the current git commit hash
|
2020-04-02 15:51:48 +02:00 |
Delyan Angelov
|
084f853a2a
|
v2: enhance version with current git commit hash. Cleanup redundant code.
|
2020-04-02 13:31:02 +02:00 |