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

89 Commits

Author SHA1 Message Date
Delyan Angelov
3a2491e97f vfmt: ensure that by default stdout is used only for the formatted source
and all errors go to stderr
2019-12-31 06:02:49 +01:00
Delyan Angelov
d2f2ac523f flag: fix displaying of both abbreviated and long options
Add tests for the usage screen
2019-12-30 16:38:32 +01:00
Alexander Medvednikov
2d2e0307b8 fn call; if expression; bool literals; 100k line program gen
fix

yay

lovely
2019-12-30 05:57:36 +01:00
Abdullah Atta
63b70ddb06 move http module to net.http 2019-12-30 05:42:23 +01:00
Delyan Angelov
a0f32f5c29 tests: improved test output formatting 2019-12-30 05:23:54 +01:00
Abdullah Atta
4f173c8900 vpm: implement & improve install, search, update, remove 2019-12-30 05:22:28 +01:00
Delyan Angelov
68e1d8e8eb net.ftp: make ftp's tests just compile (not run) on CI 2019-12-28 13:55:53 +01:00
Delyan Angelov
6c16bac908 vfmt: it can now be used for _platform.v files too, no matter the host os 2019-12-27 17:59:04 +01:00
vitalyster
1d86f4b5d1 ensure that v fmt can be run over most .v files on each PR 2019-12-25 15:54:48 +03:00
Alexey
9dd05474b0 vup: change dir correctly 2019-12-24 05:44:22 +03:00
Delyan Angelov
96fa15c125 v fmt: process .v files from a module too 2019-12-24 05:43:31 +03:00
Alexey
411a83e283 vfmt: use filepath instead of os 2019-12-23 13:38:46 +03:00
Don Alfons Nisnoni
4498dc6a47 tools/fast: remove unused function 2019-12-23 13:37:52 +03:00
Delyan Angelov
cf37028a52 test: use 'stty size' for vtest --- line instead of 'tput cols' 2019-12-23 13:23:53 +03:00
kdmult
6c4ef368d7 ix 'v up' on windows 2019-12-23 13:22:06 +03:00
Alexey
dced76d1a4 os, filepath: reorganize functions 2019-12-23 13:09:22 +03:00
Delyan Angelov
42b1660c7e move vfmt frontend program to tools/vfmt.v 2019-12-23 13:02:50 +03:00
Alexander Medvednikov
a251db068f run vfmt on math and sha; add vfmt check to test-compiler 2019-12-22 02:50:20 +03:00
Alexander Medvednikov
ecd46d381c fix vc generator 2019-12-21 05:25:28 +03:00
Acid147
d5fdbe9e5d update vtest to print separator with dynamic width 2019-12-20 23:17:48 +03:00
Delyan Angelov
39899b07d9 tools: update tools/performance_compare.v to have more knowledge about v (#3157)
* update tools/performance_compare.v to have more knowledge about v.

* Cleanup indentation.
2019-12-20 23:09:05 +03:00
Alexander Medvednikov
54707ff81d do not allow calloc(0) 2019-12-16 22:48:55 +03:00
Alexander Medvednikov
2e23592264 for: check for redefinitions 2019-12-14 20:00:03 +03:00
Alexander Medvednikov
ef821379da v build-binaries: build v -g v.v and v -g -prod v.v 2019-12-08 21:16:06 +03:00
Delyan Angelov
1bb38a38bb tooling: add tools/oldv , for use with 'git bisect', or for testing with older V 2019-12-08 20:21:17 +03:00
Alexander Medvednikov
5330859034 2 more unneeded casts removed 2019-12-08 01:39:27 +03:00
Alexander Medvednikov
be323e2fb6 ci: set up pg database to test ORM 2019-12-06 02:11:39 +03:00
Delyan Angelov
0ff2754677 tools/vbuild-examples: test hot code reloading examples with -live 2019-12-05 14:22:54 +03:00
Alexander Medvednikov
90e3ab8c1e debugging v -live message.v 2019-12-05 12:48:23 +03:00
Alexander Medvednikov
e707ac4f28 test v -live message.v 2019-12-05 00:17:38 +03:00
Alexander Medvednikov
a57e29dfc5 os: replace dir_exists with is_dir; file_exists() => exists() 2019-12-04 23:17:45 +03:00
joe-conigliaro
d8bf0df7e9
fix regression with v compilation (#2973) 2019-12-04 21:18:31 +11:00
joe-conigliaro
39655a7d9b update gen_vc with -output-cross-platform-c 2019-12-04 11:42:18 +03:00
Alexander Medvednikov
dcbb196e21 Revert "update vcreate.v"
This reverts commit 2c424c1aa6.
2019-12-01 22:57:09 +03:00
Chanrles WANG
2c424c1aa6 update vcreate.v 2019-12-01 20:43:07 +03:00
Delyan Angelov
ee1edab2a9 implement 'v build-vbinaries' tooling 2019-12-01 16:12:51 +03:00
Delyan Angelov
ec15bfb7d1 v test v => v test-compiler 2019-12-01 12:50:13 +03:00
Alexander Medvednikov
a23a4ed98a update all index() uses 2019-11-30 15:27:16 +03:00
Alexander Medvednikov
ae171ec28e a small "v test v" fix 2019-11-29 19:32:07 +03:00
Abdullah Atta
d4ae39348f eventbus: make it usable and add README 2019-11-24 14:27:50 +03:00
Don Alfons Nisnoni
3a6ccf7f31 os: mkdir() error handling 2019-11-23 19:55:18 +03:00
Delyan Angelov
f42be0622e examples/game_of_life: add a GUI frontend; compiler: local modules relative to a main module 2019-11-23 16:33:25 +03:00
Alexander Medvednikov
94318b1287 x64: use correct exe name and set +x 2019-11-22 19:09:14 +03:00
Don Alfons Nisnoni
28117353a9 tools/fast.v: calculate the difference between current and previous results 2019-11-20 17:59:37 +03:00
Delyan Angelov
a620e66af5 compiler: add os.mv_by_cp and use it for the temporary files 2019-11-19 12:55:02 +03:00
Alexander Medvednikov
43863edc4f remove asm test from msvc 2019-11-17 07:27:59 +03:00
Alexander Medvednikov
3c03051bcf skip asm test on tcc 2019-11-17 01:16:36 +03:00
Alexander Medvednikov
2545e1c22c fix vpm 2019-11-14 23:33:35 +03:00
Alexander Medvednikov
7d924679a6 []: update all examples and tests 2019-11-14 10:00:22 +03:00
Alexander Medvednikov
65426821c4 repl: hide temp filename from output 2019-11-13 20:40:01 +03:00