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

114 Commits

Author SHA1 Message Date
Delyan Angelov
4bb5d7de8b
tooling: use term.header for tests 2020-02-08 17:01:10 +01:00
Alexey
91e181b14a
time: return optional value in parse and parse_iso functions 2020-02-06 10:22:00 +01:00
joe-conigliaro
1e21e76788
tools: gen_vc - update to show subject in commit message 2020-02-03 12:57:41 +01:00
joe-conigliaro
7f709c3285
update copyright years 2020-02-03 05:00:36 +01:00
ka-weihe
a14a5fbf95
hashmap: change hash-function to wyhash and add benchmarks 2020-01-29 04:06:05 +01:00
joe-conigliaro
007baa2305
hash: add wyhash + benchmark, add fnv1a, add u64.hex() (#3584) 2020-01-28 23:43:09 +01:00
Mateo Pidal
78c96fe989 term: get_terminal_size() 2020-01-28 05:18:19 +01:00
Delyan Angelov
7a79c94a9e tools/oldv: fix default behaviour (regression caused by 760448a) 2020-01-27 16:56:32 +01:00
Delyan Angelov
df2d3a268d tests: support -silent flag to silence OK messages in CI jobs 2020-01-24 20:07:44 +01:00
Shun Sakai
c8c43a2475 update copyright year 2020-01-23 21:04:46 +01:00
joe-conigliaro
9cff1e454c
tools: skip pico example on windows (as no windows support yet) (#3542) 2020-01-23 22:58:47 +11:00
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