Commit Graph

22 Commits (c85eefa5b25a45d6e81b70890e16fdcdcb658456)

Author SHA1 Message Date
Delyan Angelov 92f40f9642
tools: fix `v symlink` on windows 2021-04-05 16:06:03 +03:00
Bartimus 3edcb7e601
vsymlink.v: update registry calls on windows (#9213) 2021-03-09 16:16:42 +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
Ben-Fields 81cf6f7ea2
tools: fix shortcut creation & registry access in `v symlink` on windows (#8994) 2021-02-27 09:39:36 +02:00
Ben-Fields 63ed3c0d41
tools: fix shortcut creation error in `v symlink` on windows (#8935) 2021-02-24 14:40:17 +02:00
Thomas Treffner 36a6bc270c
v symlink: fix for termux (#8896) 2021-02-22 13:08:41 +02:00
Delyan Angelov 252074836b
tools: fix permission problems after `sudo v symlink` 2021-02-18 18:11:14 +02:00
Nick Treleaven 4a0367a63c
vlib: add [unsafe] tag to more functions: tos, string_from_wide, strings.Builder: write_bytes, free (#8766) 2021-02-15 17:15:52 +02:00
Delyan Angelov e5a84719ca
all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}` 2021-01-26 16:43:17 +02:00
Delyan Angelov f7698ea160 v symlink: fix windows PATH setting (cmd.exe needs C: not c:) 2020-10-22 17:31:37 +03:00
Lukas Neubert 7471e1fd05
symlink: create /usr/local/bin if it does not exist (#6621) 2020-10-16 09:55:55 +02:00
Delyan Angelov 31ef921ef2 ci: fix warnings/errors due to the vfmt change 2020-10-15 16:17:52 +03:00
spaceface777 44deb43252
symlink: remove broken defer (#6428) 2020-09-19 22:26:32 +02:00
Ryan Willis f66967a88c
vsymlink: real Windows symbolic link, fallback to batch, make.bat updates (#5841) 2020-07-16 18:33:26 +02:00
Ryan Willis bb6ab185c3
ci: fix periodic integration tests (#5666) 2020-07-04 19:52:25 +02:00
spaceface777 624005bbd0
tcc_win: fix tests 2020-06-19 12:54:56 +02:00
Ryan Willis 08814d6de4
tools/vsymlink: use the win32 api to update the system environment 2020-06-08 09:19:31 +02:00
Delyan Angelov ca19cec9a5 v symlink: use @echo off for v.bat 2020-05-26 15:46:03 +03:00
Delyan Angelov e79adc0ba1 v symlink: use a .symlink/v.bat launcher to avoid global PATH polution 2020-05-26 13:34:01 +03:00
Delyan Angelov 7585483c69 v symlink: extract to cmd/tools/vsymlink.v , use setx on windows 2020-05-26 09:30:26 +03:00