kbkpbot
698018cd3f
vrepl: fix slow response for empty line input (after just pressing 'enter/return') ( fix #23856 ) ( #23858 )
2025-03-05 00:01:36 +02:00
yuyi
f2cb462d26
vrepl: replace enum field name '@none' with 'none' ( #22477 )
2024-10-10 20:57:15 +03:00
yuyi
51b471b060
all: replace enum field name 'xxx_' with 'xxx' ( #22469 )
2024-10-10 09:17:19 +03:00
yuyi
b97b2b1c9c
all: replace enum field name struct_
with struct
( #22466 )
2024-10-10 04:41:15 +03:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner ( fix #22223 , fix #22026 ) ( #22232 )
2024-09-17 09:47:38 +03:00
yuyi
cb58db56ef
all: change empty comment to newline ( #22053 )
2024-08-16 12:09:30 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields ( #22025 )
2024-08-11 09:11:24 +03:00
yuyi
79ee4ae046
fmt: fix alignment of enumeration types ( #21999 )
2024-08-07 15:46:50 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields ( #21995 )
2024-08-05 20:23:39 +03:00
Delyan Angelov
1b7b8123ca
vrepl: suppress the welcome message, if VQUIET is set ( #21941 )
2024-07-27 11:34:42 +03:00
yuyi
0ebf184cb5
vrepl: fix handling of multi-line type declaration syntax errors ( #21902 )
2024-07-21 13:58:15 +03:00
yuyi
6d4f167f48
vrepl: fix handling of single-line type declaration syntax errors ( #21895 )
2024-07-20 04:40:12 +03:00
yuyi
2ffe3175a1
vrepl: fix type declaration ( #21891 )
2024-07-18 09:25:02 +03:00
yuyi
6d3a2acf23
vrepl: fix const declaration and single line struct/enum/interface ( #21887 )
2024-07-17 18:02:50 +03:00
yuyi
e9652f86c5
vrepl: fix enum and interface declarations ( #21886 )
2024-07-17 12:13:16 +03:00
yuyi
adb85e05f9
vrepl: minor cleanup in run_repl() (related #21879 ) ( #21881 )
2024-07-17 08:37:59 +03:00
yuyi
22d2d1aa2d
vrepl: fix structure definition ( #21879 )
2024-07-16 14:19:02 +03:00
yuyi
5c2d64a235
vrepl: minor cleanup in current_source_code() ( #21863 )
2024-07-13 17:32:10 +03:00
yuyi
510500d21b
vrepl: fix error of undefined ident ( #21861 )
2024-07-13 12:34:20 +03:00
yuyi
48ab08c206
vrepl: fix infix shift operation ( #21855 )
2024-07-13 00:08:52 +03:00
yuyi
65966aef65
vrepl: fix one-line if exprssion ( #21838 )
2024-07-10 15:27:11 +03:00
yuyi
70e78cc766
vrepl: cleanup in vrepl.v ( #21834 )
2024-07-09 21:04:59 +03:00
yuyi
bf23b2ef46
vrepl: fix arbitrary script execute ( #21818 )
2024-07-08 12:56:57 +03:00
yuyi
1571645b00
vrepl: fix os.input() ( #21811 )
2024-07-06 21:36:04 +03:00
yuyi
35e6a40c0e
vrepl: fix variable name starts with print ( #21806 )
2024-07-05 12:47:24 +03:00
yuyi
a67bfebe95
vrepl: fix output of the fn call (related #21792 ) ( #21800 )
2024-07-04 20:50:31 +03:00
yuyi
8188f65590
vrepl: fix method call ( fix #21788 ) ( #21792 )
2024-07-03 17:58:17 +03:00
Vinicius Silva
175ede54b6
repl: fix an issue with print
and println after the execution of for
or if
( fix #20524 ) ( #20525 )
2024-01-14 11:37:49 +02:00
Vinicius Silva
d986f8252a
repl: support executing shell commands on the REPL with !sh [COMMAND]
( #20496 )
2024-01-12 16:08:03 +02:00
Anton
763f94388b
all: update copyright year ( #20334 )
2024-01-01 23:29:54 +02:00
Alexander Medvednikov
f09826e928
all: unwrap const() blocks
2023-11-25 10:02:51 +03:00
Delyan Angelov
999328a136
tools: support v doc -run-examples math
, to ensure that all // Example: code
doc comments are working ( #19852 )
2023-11-13 12:53:42 +02:00
Turiiya
e465f7490c
tests: cleanup legacy temp path ( #19716 )
2023-10-31 15:16:19 +02:00
Delyan Angelov
8ee1667a9a
tools: fix exiting the v repl, after just Enter (regression happened in bf00ac6
)
2023-08-02 10:58:31 +03:00
Felipe Pena
82035f7610
repl: fix comparison operator treated as statement ( #18304 )
2023-06-02 10:54:43 +03:00
Alexander Medvednikov
6756d28595
all: 2023 copyright
2023-03-28 22:55:57 +02:00
yuyi
17000ef7b6
checker: check option fn returning error ( fix #17423 ) ( #17438 )
2023-03-02 15:49:50 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
Delyan Angelov
f427a5241a
os,tools: add os.vtmp_dir()
...
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.
NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
yuyi
f6844e9766
all: change optional to result of io ( #16075 )
2022-10-16 09:28:57 +03:00
yuyi
0ff74dae63
vrepl: simplify and cleanup vrepl ( #15807 )
2022-09-18 18:07:16 +03:00
yuyi
c78344ef04
vrepl: fix output errors ( fix #15801 ) ( #15804 )
2022-09-18 14:09:31 +03:00
yuyi
085a09ebdb
vrepl: fix output error of print and fn call ( #15796 )
2022-09-17 15:58:53 +03:00
yuyi
26443cf9fa
vrepl: fix array method call errors ( fix #15769 ) ( #15786 )
2022-09-17 10:12:01 +03:00
Delyan Angelov
f922ed0941
tests: unify all temporary files/folders under $VTMP/v
, that can be cleaned by v wipe-cache
( #15774 )
2022-09-16 04:56:19 +03:00
yuyi
c662431cfd
checker: check unsafe array assign ( fix #9651 ) ( #15515 )
2022-08-25 08:52:13 +03:00
l-m
8c33a40c5a
vrepl: implement the 'pin' command from crepl ( #15371 )
2022-08-07 14:06:50 +03:00
yuyi
251716fa0e
vrepl: fix error for exitasdfasdf in repl ( fix #14593 ) ( #14598 )
2022-06-02 19:59:57 +03:00
pancake
5369379738
repl: handle exit(n) ( #13930 )
2022-04-04 16:22:34 +03:00
Delyan Angelov
aaf87e04a2
tools: make the mini greeting text in the REPL more informative
2022-03-20 23:22:46 +02:00