Commit Graph

103 Commits (43ba6766ba1902797b01d8af00e0e730239f2578)

Author SHA1 Message Date
Delyan Angelov 64a9f43405 Make REPL tests parallel too 2020-01-20 17:06:36 +01:00
Alexander Medvednikov 53b06048d2 fast.v fixes 2020-01-20 02:19:58 +01:00
Delyan Angelov 2f27eb42ed minimal parallel tests with just threads and a waitgroup 2020-01-19 23:33:16 +01:00
Alexander Medvednikov ad7bc37672 skip httpbin test on msvc for now 2020-01-18 07:27:50 +01:00
Delyan Angelov cb3ac33e18 new tool: bin2v to convert arbitrary files to a .v static module file 2020-01-13 17:54:18 +01:00
Alexander Medvednikov 4c7df98ac9 make private struct warning an error 2020-01-12 19:59:57 +01:00
Delyan Angelov 06f581e146 vfmt: support for vid like projects having many module main .v files 2020-01-10 23:33:35 +01:00
radare 760448afa4 Use os.rmdir_recursive instead of scripting.run('rm -rf') 2020-01-09 02:01:02 +01:00
Delyan Angelov c1cc203c17 tools: bugfixes and new features for oldv and performance_compare 2020-01-08 21:45:47 +01:00
Delyan Angelov 0d93eeb3fe compiler: move prelude files to tools/preludes/ 2020-01-08 17:57:41 +01:00
Shivanjan Chakravorty a0c8ad7398 post increment/decrement repl fix 2020-01-07 12:26:49 +01:00
Alexander Medvednikov 1e28c1d4fd clean up the parser a bit; run vfmt; add x64 to ci 2020-01-06 23:15:37 +01:00
Alexander Medvednikov 7bc5cfc53a fix windows test 2020-01-04 00:24:30 +01:00
Delyan Angelov aeda48d94e vpm: add support for other VCS for modules, like hg
Add ability to pass flags to vpm.

Implement -help , -verbose and -server-url ,
to enable easier diagnostics and testing with a local server.
2020-01-03 22:07:58 +01:00
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