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

83 Commits

Author SHA1 Message Date
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
ChAoS_UnItY
404a9aa442
v: forbid function parameter names, shadowing imported module names (#17210) 2023-02-08 20:37:04 +02:00
Christopher Fore
2029d1830f
tools: remove cmd/tools/modules/vhelp/ & add print to v share (#17178) 2023-02-01 11:18:23 +02:00
Swastik Baranwal
d19c1ef087
vpm: fix the direct installation of github repositories via the --git flag (#16724) 2022-12-20 17:38:08 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
shove
26d643fc5d
all: rollback to old interpolation (step 3) (#16380) 2022-11-10 15:05:34 +03:00
Alexander Medvednikov
18c7da9a5e all: new string interpolation "hello {name}!" 2022-10-27 11:01:01 +03:00
yuyi
4eeb45b94e
vpm: stop and output an error message after parsing the v.mod file failed (#15994) 2022-10-08 11:33:49 +03:00
Swastik Baranwal
267cd5569a
vpm: replace println with eprintln, for printing error output (#15992) 2022-10-08 11:32:31 +03:00
Delyan Angelov
21c5cadc59
tools: fix v install https://some/url_with_underscores (make --git the default for URLs) 2022-09-21 15:44:49 +03:00
yuyi
c662431cfd
checker: check unsafe array assign (fix #9651) (#15515) 2022-08-25 08:52:13 +03:00
irishgreencitrus
8db945ec52
vpm: force v install to clone git submodules too (#15487) 2022-08-22 11:23:32 +03:00
Delyan Angelov
c6f94e9cab
tools: distribute vpm queries randomly between the available backend servers 2022-06-21 12:58:37 +03:00
Delyan Angelov
f08c768c8e
tools: add a new readonly VPM server mirror url, to mitigate failures of the main vpm.vlang.io 2022-06-21 12:27:41 +03:00
Hunam
78d1b7f4ef
net.http: Response.text -> Response.body (#14478) 2022-05-29 20:27:18 +03:00
Delyan Angelov
36cb552918
ci: vfmt cmd/tools/vpm.v 2022-05-27 15:22:47 +03:00
Delyan Angelov
156aa661ee
tools: fix v install https://github.com/nedpals/vex.git (fix #14483) 2022-05-27 15:21:01 +03:00
Isaiah
0887b59254
vpm: fix get_all_modules() (#14097) 2022-04-20 12:15:30 +03:00
Delyan Angelov
8788512c4d
checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01) 2022-04-12 14:56:02 +03:00
pancake
804f2f56d4
vpm: support v install -once module_name(#13977) 2022-04-09 14:29:41 +03:00
pancake
e3da3101f6
vpm: simplify output for v list (#13975) 2022-04-09 14:26:01 +03:00
Delyan Angelov
ab7cc5809a
ci: vfmt cmd/tools/vpm.v 2022-01-15 18:02:58 +02:00
Delyan Angelov
d0bb810b42
vpm: fix v install GIT_REPO_URL 2022-01-15 16:38:03 +02:00
Delyan Angelov
57563599a7
vpm: support full urls in v.mod's dependencies field (#13180) 2022-01-15 14:35:37 +02:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Delyan Angelov
697eca5ddf
tools: ensure git is installed, when doing vpm operations that require it 2022-01-01 15:40:19 +02:00
Delyan Angelov
2b92ccecb5
ci: fix v build-examples and v build-tools 2021-08-28 12:44:03 +03:00
Delyan Angelov
0cbc77d881
Revert "vpm: support v install ui https://github.com/vlang/markdown (git urls by default), cleanup vpm.v (#11189)"
This reverts commit eee71cebd4.
2021-08-18 18:58:24 +03:00
mahdi ramezaan zaade
eee71cebd4
vpm: support v install ui https://github.com/vlang/markdown (git urls by default), cleanup vpm.v (#11189) 2021-08-18 14:05:10 +03:00
mahdi ramezaan zaade
5bd602d0a7
vpm: install directly from git/hg (#11166) 2021-08-13 12:28:30 +03:00
Daniel Däschle
52a3360a47
vpm: fix show command (#11093) 2021-08-09 01:49:17 +03:00
Daniel Däschle
800c0e5092
vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
Enzo
0d25106b4d
cmd/tools/vpm: improve v show (#10198) 2021-05-25 14:30:48 +03:00
Pranav Baburaj
da88235bdc
vpm: addd a show command (#10186) 2021-05-24 15:17:57 +03:00
Lukas Neubert
dee733aae4
fmt: reset const field align after multi line exprs (#9916) 2021-04-29 02:17:37 +03:00
Delyan Angelov
52a14e8422
vpm: fix panic at the end of v remove ui 2021-03-26 11:37:54 +02:00
Lukas Neubert
21bbc24c49
v remove: use correct command name in error when no args are given (#9273) 2021-03-12 21:32:34 +02:00
Delyan Angelov
d7049ae2da
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974) 2021-03-08 20:52:13 +02:00
spaceface
b712af56fd
all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
Delyan Angelov
3362d7ecbb
vpm: make the 404 in text error more precise (till https://vpm.vlang.io/ is fixed properly) 2021-02-25 09:05:18 +02:00
Delyan Angelov
7c9d280233
v install: fix does not exist, when the response contained a 404 text 2021-02-23 08:58:26 +02:00
Delyan Angelov
e5a84719ca
all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +02:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Alexander Medvednikov
50a6976b5e all: minor array fixes 2020-12-20 16:08:56 +01:00
Delyan Angelov
4b35495fbe all: support VMODULES environment variable (defaulting to ~/.vmodules) 2020-11-08 08:07:17 +02:00
Delyan Angelov
56817ea137 v search: add an import suggestion for an already existing module in vlib 2020-11-07 18:03:09 +02:00
Lukas Neubert
f3de2cea7d
vpm search: mark modules that are already installed (#6657) 2020-10-20 23:02:17 +02:00
Delyan Angelov
31ef921ef2 ci: fix warnings/errors due to the vfmt change 2020-10-15 16:17:52 +03:00