Commit Graph

47 Commits (1abc20e3e49fa5868df6be9d7b1615de798253c0)

Author SHA1 Message Date
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
Lukas Neubert 3a8be4d8d9
os: home_dir() remove trailing slash (#6512) 2020-09-30 16:02:54 +02:00
Robin Martijn 4774c89381
vpm: install and check all modules as lowercase modules. (#6445) 2020-09-22 17:02:42 +02:00
Lukas Neubert 8b25c29323
vpm outdated: add support for mercurial (#6376) 2020-09-15 19:35:00 +03:00
pancake b5b53a5311
vpm: add 'vpm upgrade' to update all the outdated vpm modules (#6157) 2020-08-18 02:44:18 +02:00
Lukas Neubert 664c26ab4b
v update: add verbose output (#6080) 2020-08-07 17:33:13 +02:00
Alexander Medvednikov df332f85b7 vpm: remove vpm.best 2020-08-04 22:10:29 +02:00
Lukas Neubert 0cc8d840a3
vpm: fix and improve `outdated` (#5902) 2020-07-22 02:25:20 +02:00
Lukas Neubert c93467bca5
vpm: add list command (#5888) 2020-07-20 17:39:37 +03:00
Lukas Neubert cc7c8009a1
vpm: outdated command (#5833) 2020-07-15 21:55:07 +02:00
Lukas Neubert 6d788654e1
vpm: fixes with underscores for install and search (#5623) 2020-07-02 18:20:42 +02:00
Lukas Neubert d40334fe9d
vpm: replace `-` in author names with `_` (#5583) 2020-06-30 21:42:16 +02:00
Lukas Neubert eec5cf1eb1
vpm: use only `-v` for verbose output 2020-06-07 14:20:56 +02:00
Delyan Angelov d7bb887c2a vpm: fix `v update` for offical v modules too, like ui or markdown 2020-05-31 19:18:24 +03:00
Ned Palacios ed7ed6262f
vpm: use current folder v.mod, if no args provided in `v install` 2020-05-24 15:25:29 +03:00
Delyan Angelov 0de70e8b2c vpm: handle -v as well as -verbose 2020-05-21 08:30:38 +03:00
Lukas Neubert 60dd7a7471
vpm: fix v update ui 2020-05-13 08:19:12 +03:00
Don Alfons Nisnoni 1c8d2c21b5
vpm: fix 404 error message 2020-05-08 22:50:36 +02:00
yuyi 9f4d498ff1
all: update`import ()` and `[]array` 2020-04-26 13:49:31 +02:00
Delyan Angelov b898970031 cmd/tools: use same line imports too 2020-04-26 09:32:05 +03:00
yuyi 541b058e90
all: use `a !in b` instead of `!(a in b)` 2020-04-26 06:39:23 +02:00
Alexander Medvednikov 24958df565 parser: do not allow duplicate fns; cgen: move fn code to fn.v 2020-04-13 19:59:57 +02:00
Alexey a333ac1888
all: remove redundant parentheses in `if` statements 2020-03-29 10:08:42 +02:00
yuyi 2f27758a4b
os: realpath => real_path 2020-03-20 16:41:18 +01:00
Delyan Angelov c2e453fbb9
vpm: make 'v install' more resilient to server failures 2020-03-16 14:30:22 +01:00
Alexander Medvednikov 3b328a2847 vpm: fix server urls 2020-03-16 12:55:49 +01:00
Alexander Medvednikov 900ada1112 cgen: match: do not use a temp var; minor fixes 2020-03-16 10:53:36 +01:00
lutherwenxu c2ffd027d0
cmd/v: implement `help` 2020-03-13 20:52:49 +01:00
yuyi 876b73f92c
os: join => join_path 2020-03-09 02:23:34 +01:00
yuyi 783dee1f48
os: merge with filepath 2020-03-07 22:26:26 +01:00
yuyi 448ed41562
os api: rmdir_recursive => rmdir_all 2020-03-03 15:02:50 +01:00
yuyi 6849a4e770
filepath: path separator (#3756) 2020-02-17 20:31:23 +01:00
yuyi e272a10bda
vfmt fixes 2020-02-16 12:42:28 +01:00
lutherwenxu 9332a83ce6
move v.v to cmd/v 2020-02-09 10:08:04 +01:00