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

13040 Commits

Author SHA1 Message Date
3a09ccc80a ci: restore .github/workflows/ to its state at cee7856, when all checks were done 2022-05-15 10:23:12 +03:00
dd6629e932 examples: fix 2048 scaling on Android (#14380) 2022-05-15 09:14:18 +03:00
8d141878ce math: cbrt fix (#14395) 2022-05-14 21:06:38 +03:00
67963e0ff2 ci: further cleanup of ci_sanitized.yml 2022-05-14 20:34:01 +03:00
1225a865a3 ci: simplify ci_sanitized.yml 2022-05-14 20:29:56 +03:00
fe9f97074b cgen: fix appending struct to interface array (#14388) 2022-05-14 17:49:42 +03:00
3adad32355 tmpl: fix a test 2022-05-14 17:48:50 +03:00
b42c824cdb vweb: simplify @foo by removing V_TEMPLATE rule 2022-05-14 17:46:30 +03:00
f0d46413d9 ci: require code to be formatted before everything else (minimise CI queue length) (#14396) 2022-05-14 15:38:15 +03:00
b3e80a3100 examples: add missing v.mod file (#14392) 2022-05-14 14:48:42 +03:00
441637eeb4 checker: fix optionals in infix expression check (fix #14354) (#14390) 2022-05-14 00:54:49 +03:00
cee7856c0f ci: add a quick v test-cleancode check, before more costlier tasks 2022-05-13 12:24:11 +03:00
714ce4e7fc ci: fix .out regression after d407a64 2022-05-13 11:18:17 +03:00
c1bafe7a5a ci: extract v_apps_and_modules_compile.yml 2022-05-13 11:02:24 +03:00
6ec4185017 checker: allow to pass alias to array as a pointer (c2v) (#14389) 2022-05-13 10:17:28 +03:00
d407a6449d parser: fix dollar (closes #14292) (#14378) 2022-05-13 08:30:10 +03:00
ed12a5c84c math.big: reduce memory usage of Integer.str() (free intermediary Integers), optimise some operations using [direct_array_access] (#14353) 2022-05-13 08:21:34 +03:00
3c95504a35 checker, cgen: fix generic fn with array and fixed array arguments (#14385) 2022-05-13 06:57:48 +03:00
d679146a80 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
df029da942 Revert "ci: run code-formatting job before everything else (try 2) (#14379)"
This reverts commit 0972e67f72.
2022-05-12 23:29:37 +03:00
0972e67f72 ci: run code-formatting job before everything else (try 2) (#14379) 2022-05-12 21:58:11 +03:00
8ef9dc6247 ci: run v fmt -w vlib/v/checker/fn.v (fix CI regression after 4952967) 2022-05-12 21:24:12 +03:00
668d1b04d2 parser: make script mode errors more informative, when a top level declaration is encountered, after script mode had already started 2022-05-12 21:14:00 +03:00
20139ad756 checker: fix typo (#14368) 2022-05-12 12:23:32 +03:00
4952967366 checker: alias C2V fix (#14377) 2022-05-12 12:19:31 +03:00
f48f7014f0 checker: check error for generic sumtype types (#14374) 2022-05-12 11:57:57 +03:00
e93a8766e5 regex: fix #14370, last IST not managed in advance tests (#14372) 2022-05-12 11:49:57 +03:00
b7ca4c1668 checker: fix a compiler panic on fntest()?(&int,&int){return test()?} 2022-05-12 11:36:32 +03:00
8830af5c89 rand: minor cleanup in choose() (#14376) 2022-05-12 11:20:38 +03:00
5bc4fea9e0 checker: check error for cast function to string (#14375) 2022-05-12 10:04:38 +03:00
CC
901b8f0c24 builtin: add a map.clear() method (#14373) 2022-05-12 09:43:01 +03:00
49382f1f43 gen: make the closure implementation more performant (#14352) 2022-05-12 00:05:14 +03:00
c19b037880 net: select with deadlines (#14369) 2022-05-12 00:03:48 +03:00
cd4fa041ff checker: check generic sumtype declare error (#14367) 2022-05-11 17:39:58 +03:00
34a252ef84 os: add raw_execute on Windows (#14363) 2022-05-11 16:56:03 +03:00
26b81d68b5 time: update doc comments (#14359) 2022-05-11 16:55:19 +03:00
0ec1c8d9f0 szip: expose zip_folder (#14356) 2022-05-11 16:48:41 +03:00
3afc7c4c6d parser: check error for generic struct parameter (#14362) 2022-05-11 13:24:54 +03:00
cf536b848b Revert "strings: reduce time spent in Builder.writeln (very frequently called)"
This reverts commit b53b1cc7cb.
2022-05-11 09:19:37 +03:00
8f765ed5f1 checker: minor cleanup and speedups in fn_call() (#14343) 2022-05-10 16:41:47 +03:00
5697d4375b cgen: fix error for printing aliases of multi fixed array (#14348) 2022-05-10 14:03:18 +03:00
606d8cfaca checker: check error for returning aliases of fixed array (#14349) 2022-05-10 14:01:55 +03:00
9e09b709e3 net.http: fix crash on Windows when using Boehm GC (#14351) 2022-05-10 14:00:55 +03:00
940c78bdfd checker: minor cleanup in method_call() (#14342) 2022-05-09 18:01:44 +03:00
79f8a3c796 rand: update README.md (#14341)
* update README for rand module

* use concrete values

* make sure code works
2022-05-09 17:59:20 +03:00
d24dce8eb3 parser,checker: support $compile_error('message') and $compile_warn('message') (#14320) weekly.2022.19 2022-05-09 08:18:26 +03:00
4400f9891e szip: fix extracting dot folders (#13387) 2022-05-09 07:45:36 +03:00
8519996201 checker: fix error for match sumtype that referenced before (#14338) 2022-05-09 07:32:51 +03:00
106487d62f pg: resolve PG string datetime values to V time.Time ones (#14336)
Co-authored-by: Merlin Diavova <md@merlindiaova.org>
2022-05-08 15:37:46 +03:00
650fb493bd regex: add split (#14329) 2022-05-08 15:21:39 +03:00