Commit Graph

280 Commits (9c1a5c5117752a1e7d7320fbe2d46e6a38cd11fd)

Author SHA1 Message Date
Daniel Däschle 9c1a5c5117
parser: fix silent parsing examples/vmod.v (#7264) 2020-12-11 19:14:07 +02:00
Daniel Däschle 8823430c71
parser: small fixes to make silent mod work with example/json (#7246) 2020-12-11 06:55:39 +01:00
Daniel Däschle aedd1d17b8
parser: fix `v test-parser examples/cli.v` (#7243) 2020-12-10 19:32:15 +02:00
Daniel Däschle 1c56ff7faf
parser: fix fibonacci in silent mode (#7240) 2020-12-10 18:17:25 +02:00
Daniel Däschle 8b3ffb9be2
scanner: fix when string literal ends after } (#7237) 2020-12-10 17:04:12 +02:00
Daniel Däschle 032ea0f4f8
scanner: fix silent mode string parsing (#7220) 2020-12-09 20:09:07 +01:00
Delyan Angelov c7bea03ce3
ci: fix msvc _name_table [0]{} generation 2020-12-09 20:08:51 +02:00
Delyan Angelov b565df25c3
make.bat: use just make.bat in the msvc CI job 2020-12-09 19:53:56 +02:00
Nick Treleaven 63557d0d02
checker: disallow op= and infix on a voidptr (#7175) 2020-12-07 22:43:38 +02:00
Delyan Angelov 9ea2608372
repeat: implement -nmaxs and -nmins to eliminate flukes 2020-12-04 19:44:30 +02:00
Alexander Medvednikov 0ea2fa228f autofree: fix `or {}`; ci: bring back gitly -autofree 2020-12-04 18:06:53 +01:00
Alexander Medvednikov 34049f7135 ci: yaml is fun 2020-12-04 10:21:17 +01:00
Alexander Medvednikov 951d0ace89 ci: disable gitly -autofree for now 2020-12-04 10:16:07 +01:00
Alexander Medvednikov b64945a6c0 autofree: lots of fixes in `return_statement()` 2020-12-04 10:10:40 +01:00
Alexander Medvednikov da1c361cfe ci: add the -usecache test to macos 2020-12-04 04:32:20 +01:00
Alexander Medvednikov 0c18b3bea6 ci: test -usecache 2020-12-04 04:01:13 +01:00
Delyan Angelov 97ed2bf211
make: remove obsolete references to /var/tmp/tcc 2020-12-03 09:17:31 +02:00
ka-weihe 9367dcda10
all: fix remaining c warnings and add -Werror to CI (#7021) 2020-11-29 21:23:37 +02:00
Delyan Angelov adeebad2a6
compiler: use thirdparty/tcc/tcc.exe by default, when no explicit -cc is given (#6598) 2020-11-29 16:18:49 +01:00
Alexander Medvednikov 22c173c1dc ci: ci can't run tetris :) 2020-11-27 21:00:50 +01:00
Alexander Medvednikov f135a9949c ci: build tetris with -autofree 2020-11-27 20:41:17 +01:00
Alexander Medvednikov 8cef4e0433 ci: build ved with -autofree 2020-11-21 19:12:52 +01:00
Tomas Hellström 155aa6dac5
x.websocket: fix autobahn tests for wss and wss close behavor (#6901) 2020-11-21 15:45:45 +02:00
Lukas Neubert 268e3b5d15
ci: change "vid" to "ved" (#6876) 2020-11-19 16:22:51 +01:00
Delyan Angelov 40770f1697 ci: add timeout-minutes attributes for jobs 2020-11-19 13:16:18 +02:00
Lukas Neubert df4165c7ee
docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
Lukas Neubert fdfe2a4e68
check-md: check CONTRIBUTING.md too (#6847) 2020-11-16 16:49:40 +01:00
Delyan Angelov 4559b4138f cmd: rename test-vet to test-cleancode 2020-11-15 16:40:35 +02:00
Alexander Medvednikov 26785668c0 autofree: more tests; gg: fix draw_circle with hidpi 2020-11-15 15:09:44 +01:00
Tomas Hellström 68cfbd6d66
websocket: fix autobahn test to always use latest v(#6780) 2020-11-08 17:46:06 +01:00
Tomas Hellström b47c23b73e
x.websocket: fix the uri port parsing problem. Make failures more informative (#6775) 2020-11-07 18:14:33 +02:00
Alexander Medvednikov 0d8114e14d ci: build gitly with -autofree 2020-11-07 04:07:43 +01:00
Delyan Angelov e6828560d1 ci: turn off failing websocket_autobahn job for now 2020-11-06 16:28:46 +02:00
Delyan Angelov 23ee3018c3 tools: add `v test-vet` 2020-10-24 16:37:58 +03:00
Delyan Angelov d67e177733 ci: run `v vet` over cmd/tools and cmd/v too 2020-10-21 15:26:29 +03:00
Delyan Angelov 09128accff ci: fix `./v build-module vlib/v/gen` case 2020-10-21 10:13:50 +03:00
Delyan Angelov c4fa1dbc0b ci: fix syntax error in ci.yml 2020-10-21 09:45:32 +03:00
Alexander Medvednikov 61611159c7 ci: disable term cache build for now 2020-10-21 00:42:22 +02:00
Alexander Medvednikov 00e9daf790 ci: test building more modules 2020-10-21 00:17:47 +02:00
Lukas Neubert d881185d79
ci: separate workflow for docs line len check (#6653) 2020-10-20 20:14:56 +02:00
Alexander Medvednikov 2d446aa2ce ci: fix path to V UI examples 2020-10-18 21:42:19 +02:00
Alexander Medvednikov 9f620ab23b ci: build all V UI examples 2020-10-18 21:29:29 +02:00
Delyan Angelov d75b9c704c ci: use -silent so failures are easier to spot in the logs 2020-10-18 19:38:45 +03:00
Enzo b083f4014b
fmt: fix multiple things and format most of the compiler (#6631)
Format expressions inside string interpolation like the rest (it used to be a+b instead of a + b, not too sure why)
Fix formatting some match branches when there were only one statement inside (it was inlined)
Fix parsing and formatting some comments edge case on struct field init. You should check out this test because the result is a bit different from before. I personally find it more logical but I would understand if the former format was to stay
Fix formatting of void-returning function signature
2020-10-15 22:12:59 +02:00
Alexander Medvednikov 8b13f3b53f fmt: fix tests 2020-10-15 12:45:34 +02:00
Alexander Medvednikov 7da1afa140 all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests 2020-10-15 12:32:28 +02:00
Delyan Angelov 60296c8900 ci: run `v -silent test-fmt` as a new task in the code-formatting job 2020-10-15 11:45:09 +03:00
Delyan Angelov effa93d4b8 ci: add dedicated `code-formatting` job 2020-10-15 11:39:42 +03:00
Delyan Angelov 988221d87b ci: prioritize the `v vet` task, so unformatted code fails faster 2020-10-14 20:04:50 +03:00
Delyan Angelov 0edcd5efb0 repeat.v: support --max_time limit for the average time of a command 2020-10-09 11:08:59 +03:00