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

741 Commits

Author SHA1 Message Date
1aadd3e59c ci: build news fetcher with -prod 2023-05-13 02:15:58 +02:00
4c54f36a70 github: add Copilot summary and walkthrough to PR template (#18016) 2023-04-22 10:54:26 +03:00
bf749b3559 ci: add test jobs for the wasm module, for macos, linux and windows (#17972) 2023-04-16 14:52:00 +03:00
093e5c68b9 ci: bump performance-regressions max_time limit to 1701, to reduce chance of false positive failures from slow CI runners 2023-04-13 19:10:00 +03:00
1dcec62c19 checker: disallow top level decl builtin fn (#17857) 2023-04-03 17:30:05 +03:00
ae6fc64fb3 ci: bump the timeout to 181 minutes for the windows-msvc and windows-gcc jobs 2023-03-30 09:01:15 +03:00
580d9cedc7 termios: new termios module (#17792)
* termio: new termio module

move the tcgetattr and tcsetattr functions in a new termio module.
The code needed refactoring as different OS have different fields
size, position and number for the C.termios structure, which
could not be correctly expressed consitently otherwise.

It has the positive side effect to reduce the number of unsafe calls.
New testing code was also added for the readline module as it is
relying of the feature.

* apply 2023 copyright to the new files too
2023-03-30 08:58:52 +03:00
d0e78b1da6 parser: breaking change, let V ORM queries return arrays for *all* non-count queries, including limit = 1 (#17719) 2023-03-22 09:48:01 +02:00
2e7dd8543a ci: fix failing vlang/vpm test jobs 2023-03-15 16:54:16 +02:00
e2daa84a33 ci: add windows and macos jobs for checking the wasm backend too (#17451) 2023-03-01 21:53:03 +02:00
l-m
0625caad56 wasm: add a webassembly compiler backend, based on using binaryen (#17368) 2023-02-28 23:58:53 +02:00
524c500146 cgen: add requires to c_reserved, so that V generated code, can be compiled with -cc g++-11 -no-std -cflags -std=c++20 as well (#17404) 2023-02-25 16:50:48 +02:00
e7bf33b206 ci: replace node-version: 12.x with node-version: 16 too 2023-02-25 14:29:00 +02:00
2327f0781b ci: replace actions/setup-node@v1 with actions/setup-node@v3 2023-02-25 14:25:58 +02:00
b1ed1d3b32 ci: upgrade to actions/checkout@v3 to avoid deprecation warnings in the CI about that action using Node.js 12 2023-02-21 13:40:24 +02:00
4a81272914 ci: upgrade sdl_ci.yml and native_backend_tests_ci.yml, to ubuntu-20.04, to avoid ci failures, due to the brownout period, for the deprecated ubuntu-18.04 2023-02-21 13:35:35 +02:00
404a9aa442 v: forbid function parameter names, shadowing imported module names (#17210) 2023-02-08 20:37:04 +02:00
12f9e922bc ci: rename all github actions workflow files, that are related to CI (run on commits/PRs), to have a _ci.yml postfix 2023-01-19 14:38:33 +02:00
c7a829e74f ci: split windows/linux/macos jobs from the single ci.yml to 3 separate .yml files
This split is needed, so failing jobs on macos/windows, could be restarted
independently from each other more easily, through the web interface on github.
2023-01-19 14:32:55 +02:00
7e05545a62 ci: v install pcre too, since it is now needed for gitly 2023-01-14 11:22:25 +02:00
33191e4538 ci,pg,net.openssl: fix pkgconfig paths for macos-12 2023-01-12 15:22:08 +02:00
9e78724a41 ci: use brew install libpq for installing the postgresql development libraries on macos 2023-01-12 11:54:55 +02:00
22666f4f73 ci: build vpm on macos 2023-01-12 09:54:52 +03:00
942130ff6e ci: make the v gret steps more robust to slow CI runners 2023-01-08 14:56:22 +02:00
afdb09708e ci: comment out the -autofree compilation for gitly for now 2022-12-27 20:51:45 +02:00
728b4cffc3 ci: reorder v_apps_and_modules_compile.yml so that quick checks are done first 2022-12-26 12:56:36 +02:00
e9cad6f09d ci: fix v-apps-compile job for AdventOfCode, by adding v install regex too (#16752)
Missing pcre dependency
2022-12-24 06:14:48 +02:00
fd472d2d41 toml: minor cleanup in toml tests (#16679) 2022-12-15 10:16:42 +02:00
3fa23b789c ci: add new dependencies for VSL (hdf5 libs and tools) 2022-12-15 08:37:10 +02:00
34f5255bb5 ci: fix a failing test for v test .github/workflows 2022-12-14 17:02:01 +02:00
3ea9e3aba9 github: make Environment field in feature request match bug report (#16645) 2022-12-11 09:06:37 +02:00
44a539f186 github: change bug template Envionment field to textarea (#16641) 2022-12-10 18:39:22 +02:00
d62fc777c9 ci: add a 'Build AdventOfCode' step in the v-apps-compile job 2022-12-08 11:15:07 +02:00
94dc3c1c36 ci: fix the platform image for gg-regressions to ubuntu-20.04 (github is migrating ubuntu-latest to 22.04) 2022-12-06 09:13:02 +02:00
70fed41660 ci: override VTMP to /tmp for the jobs gg-regressions and doom-regressions 2022-12-05 17:07:48 +02:00
ce06c2818d checker: add disallow none operations and range (#16584) 2022-12-05 08:50:36 +02:00
18d98a5e16 .github: clean issue templates (#16566) 2022-12-01 18:29:59 +02:00
32976863a8 github: add existing "Unit: Documentation" label to the documentation issue template. 2022-12-01 14:49:50 +02:00
bffe7bd7ab github: add discord link to config.yml (#16497) 2022-11-20 21:33:28 +02:00
531c145ae7 Update bug-report.yml 2022-11-19 20:58:50 +02:00
9d8e307ed9 Add a link to the Q&A category in the discussions 2022-11-19 20:56:18 +02:00
914007fd83 github: update templates to use latest github issues features (#16468) 2022-11-18 12:47:17 +02:00
886abcdf59 ci: bump timeout-minutes to 240, for all sanitized jobs 2022-11-17 17:35:51 +02:00
f427a5241a os,tools: add os.vtmp_dir()
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.

NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
18c7da9a5e all: new string interpolation "hello {name}!" 2022-10-27 11:01:01 +03:00
b40f1828b2 ci: re-enable building VEX in v_apps_and_modules_compile.yml 2022-10-21 10:44:59 +03:00
51f4d99399 all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
a7b2b3c70e ci: fix ci.yml (add the second missing required run: line to a task) 2022-10-10 03:48:20 +03:00
a4e8b9cabe ci: fix ci.yml (add missing required run: line to a task) 2022-10-10 03:43:00 +03:00
3d2588f101 cgen: parallel cc for much faster compilation using all CPU cores 2022-10-01 10:04:06 +03:00