Commit Graph

447 Commits (38c517c1a2a5273e9eb3ea175ff1315ecd91808f)

Author SHA1 Message Date
Delyan Angelov db2266598a
binary_artifact.yml: ensure v_old.exe is not in the release archives. 2021-02-10 11:06:17 +02:00
ka-weihe 367dbc7707
ci: add tests with -Werror (#8630) 2021-02-07 23:10:01 +01:00
Lukas Neubert 76ea3e7b41
tools/check-md: allow directories as args and deprecate -all flag (#8582) 2021-02-05 16:46:20 +01:00
Alexander Medvednikov 1084b43ffb all: ast walker for marking unused fns 2021-02-05 08:05:35 +01:00
joe-conigliaro ffedbe4b81
cgen: move cgen from v.gen to v.gen.c (#8515) 2021-02-02 15:41:51 +01:00
Delyan Angelov 8b0401a46f
ci: fix a performance-regressions bug, where vmaster was executed with cmd/v from the parent, but vlib from itself 2021-01-31 21:06:55 +02:00
Delyan Angelov 89bf48e3ba
ci: fix `v -W build-examples` 2021-01-31 10:43:49 +02:00
Ruofan XU de8df1bbe3
ci: enable bootstrap with tcc on windows (#8436) 2021-01-30 11:02:25 +02:00
Delyan Angelov 90ecbde712
ci: increase the timeout for macos 2021-01-26 20:59:21 +02:00
Delyan Angelov 8520feee55
ci: use `-cc tcc -no-retry-compilation` for all `-tcc` jobs. 2021-01-25 18:56:21 +02:00
Delyan Angelov ef6839286e
ci,tools: implement silent mode in `./v test-parser -S examples/cli.v` 2021-01-23 18:53:47 +02:00
Tomas Hellström 39e5f6e9df
x.websocket: websocket server fix and bring back server autobahn (#8291) 2021-01-23 16:56:38 +01:00
yuyi 3628751199
ci: fix prebuild.yml (#8269) 2021-01-23 08:04:24 +02:00
Daniel Däschle dbf84520f1
all: update assoc syntax (#8274) 2021-01-22 23:24:48 +01:00
Daniel Däschle 7c7df37abb
ci: re-enable vls-compiles (#8273) 2021-01-22 22:31:55 +02:00
Tomas Hellström 970c03987d
ci: temporarily comment the server tests for autobahn (#8272) 2021-01-22 22:30:53 +02:00
Daniel Däschle 500ebf77e4
all: implement multiple generics (#8231) 2021-01-22 13:49:56 +01:00
Delyan Angelov 927606dc39
tools: rename `v test-compiler-full` to `v test-self` 2021-01-19 10:41:51 +02:00
Delyan Angelov 460f32baf2
tests: add `v test-all`, move `v test-fixed` to `v test-compiler-full` 2021-01-17 16:11:10 +02:00
penguindark c067cc0357
vlib: add a TTF font loader and render in `x.ttf` (#7995) 2021-01-10 20:14:41 +02:00
Delyan Angelov d0690fca1e
tools/check-md: implement -hide-warnings, use it to reduce noisiness of the output on the CI 2021-01-10 15:58:45 +02:00
yuyi ab8fd063b6
ci: fix prebuilt.yml (#7956) 2021-01-08 10:21:26 +02:00
yuyi 5d1d68ffea
ci: increase test frequency of periodic (#7952) 2021-01-08 10:20:09 +02:00
Delyan Angelov a8a81a1708
ci: add "Verify `v test` works" tasks 2021-01-04 13:39:39 +02:00
Leandro Silva 86df5cd1a9
examples: C interop for HTML to PDF conversion using libwkhtmltox (#7751) 2021-01-03 16:56:55 +01:00
Alexander Medvednikov 0c77bdf8f6 tutorials: fix blog code 2021-01-01 20:38:22 +01:00
Alexander Medvednikov 7bcc5afbb6 ci: run tutorial 2021-01-01 20:25:49 +01:00
Delyan Angelov 2e8f187819
ci: use `runs-on: ubuntu-20.04` consistently 2021-01-01 15:14:09 +02:00
Delyan Angelov 8e6f3a707b
binary_artifact.yml: mention ./cmd/tools/{vup,vdoctor} explicitly in actions/upload-artifact 2020-12-29 22:53:27 +02:00
Alexander Medvednikov 291160c32d ci: build-vbinaries on windows 2020-12-29 21:24:33 +01:00
Delyan Angelov 468c37e186
binary_artifact.yml: add prebuilding of vup.exe and vdoctor.exe while making releases 2020-12-29 21:51:12 +02:00
Alexander Medvednikov 114df3ce7c ci: bring back v self test on windows 2020-12-29 20:01:32 +01:00
ka-weihe 2c65c5c61a
ci: sanitize compiler for tests (#7685) 2020-12-29 20:27:57 +02:00
Larpon e8cd056eb6
ci: add a `vab-compiles` job (#7687) 2020-12-29 20:24:54 +02:00
Delyan Angelov 9728abf4bc
ci: add a `vls-compiles` job too 2020-12-29 10:13:54 +02:00
ka-weihe 4d5ee0649c
ci: add test-fixed with -fsanitize (#7665) 2020-12-29 07:46:54 +02:00
Delyan Angelov 1a25b54adb
ci: change `ci.yml` name to `Code CI`, to ease filtering 2020-12-28 20:03:05 +02:00
Delyan Angelov ae5cfa70e9
ci: be more verbose in the Updating V... job 2020-12-28 10:43:24 +02:00
Alexander Medvednikov 4dfb7dbffa ci: do not stop if docs deployment fails 2020-12-23 20:04:54 +01:00
Delyan Angelov f4c288215e ci: use `./v build-tools` in ubuntu-tcc to diagnose errors more easily 2020-12-22 22:44:33 +02:00
spaceface d0fe96da39
ci: update `vmodules` docs on every commit (#7363) 2020-12-22 16:15:22 +01:00
Delyan Angelov 178ddfe9c0 ci: improve on the `v up` job, using cmd/tools/oldv 2020-12-22 15:02:45 +02:00
Alexander Medvednikov 1b39408eb6 ci: test v up 2020-12-22 11:59:19 +01:00
Delyan Angelov 74f7a1a549 ci: run `v build-examples` on windows jobs too 2020-12-21 19:51:20 +02:00
spaceface c544cc508b
pref: fix cross-compiling graphical apps to Windows (#7449) 2020-12-21 19:45:12 +02:00
Delyan Angelov 75903052a8 ci: add a task for linux->windows `-os windows examples/hello_world.v` 2020-12-20 19:25:07 +02:00
Delyan Angelov 3a9034a0d0
dl: add a complete tested shared library generation/usage example 2020-12-15 18:22:07 +02:00
Delyan Angelov d061a52829
ci: small cleanup of parser-silent-fuzzing 2020-12-15 11:21:24 +02:00
Delyan Angelov d3bffd6cc8
ci: fix the `ubuntu-tcc` job 2020-12-15 10:50:15 +02:00
ka-weihe f57c7032b4
ci: fix sanitizers and add -fsanitize=undefined (#7306) 2020-12-14 06:34:47 +01:00
Uwe Krüger 591e523cf3
time: fix date parsing tests in winter for regions using DST (#7304) 2020-12-14 05:01:58 +01:00
Alexander Medvednikov e6f651978e ci: fix a syntax error 2020-12-13 02:23:49 +01:00
Alexander Medvednikov c67fc4f3a7 ci: build tetris with -usecache on linux 2020-12-13 02:22:25 +01:00
ka-weihe 6bd70bc88a
ci: add ubuntu-clang (#7295) 2020-12-12 23:37:09 +01:00
ka-weihe f3aac0bc6c
ci: add a valgrind test for self compiling (#7294) 2020-12-12 22:53:04 +01:00
Daniel Däschle 7e3e30aa9c
ci: add a parser fuzzer step too (#7288) 2020-12-12 15:20:38 +02:00
zakuro 5fec0d785a
time: fix timezone problems of parse_iso8601 (#7272) 2020-12-12 09:19:03 +01:00
Daniel Däschle 11808f9fa3
parser: fix silent errors (#7271) 2020-12-12 04:06:09 +01:00
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
Delyan Angelov d60f148b0c
binary_artifact.yml: chmod 755 thirdparty/tcc/tcc.exe too 2020-12-04 14:08:18 +02: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 b37550c279
binary_artifact.yml: unpack to a v/ folder as before. 2020-12-03 22:44:03 +02:00
Delyan Angelov b8bb034f91
binary_artifact.yml: restore top level v_{linux,macos,windows}/ folder in the .zip files. 2020-12-03 16:56:39 +02:00
Alexander Medvednikov 110c7e6f90 workflows: build 0.* tags 2020-12-03 15:04:49 +01:00
Delyan Angelov 2f6757b315
binary_artifact.yml: chmod 755 the v executables before archiving them. 2020-12-03 12:51:28 +02:00
Delyan Angelov b1e3db712e
binary_artifact.yml: restore .ctags.d/ and .github/ (helps vim/emacs users and running CI tests locally) 2020-12-03 11:52:09 +02:00
Delyan Angelov 97ed2bf211
make: remove obsolete references to /var/tmp/tcc 2020-12-03 09:17:31 +02:00
Alexander Medvednikov 9b7d717a9c workflows: use v_linux.zip etc as asset names (part 2) 2020-12-01 04:07:28 +01:00
Alexander Medvednikov 971031d8cc workflows: use v_linux.zip etc as asset names 2020-12-01 04:06:34 +01:00
Alexander Medvednikov b1bff3f319 workflows: use ./v instead of v 2020-11-29 20:53:33 +01:00
ka-weihe 9367dcda10
all: fix remaining c warnings and add -Werror to CI (#7021) 2020-11-29 21:23:37 +02:00
Alexander Medvednikov 5eb7660608 workflows: releases: build v -prod 2020-11-29 19:57:12 +01: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
Leah Lundqvist 80c4b8a17a
ci: automated builds when pushing "weekly.*" tags (#7005) 2020-11-29 02:16:10 +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
Delyan Angelov 413d14f53e ci: run docs_ci.yml checks on *every commit*, not just when .md files change. 2020-11-27 12:44:39 +02: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