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

11338 Commits

Author SHA1 Message Date
24c1d552d7 ci: vfmt vlib/v/gen/c/cgen.v weekly.2021.39.1 2021-09-29 08:58:27 +03:00
8dde9d4a7b cgen: fixes for ... in with index (#11995) 2021-09-28 19:35:07 +03:00
5d3795e876 cgen: fix the C codegen error for '_ = map[key]' (fix #11999) (#12000) 2021-09-28 18:45:50 +03:00
86694ddc85 ci: bump up fetch-depth to 10 for the bootstrapping CI jobs 2021-09-28 18:43:33 +03:00
bc4aad5fb4 toml: add quote details to ast.Quoted (#11997) 2021-09-28 17:40:03 +03:00
a03693e881 ci: extract bootstrapping tests into their own .yml file 2021-09-28 17:38:03 +03:00
85c38bac34 ci: make the bootstrapping failure detection more sensitive 2021-09-28 17:17:55 +03:00
87fe15e39f ci: fix typo 2021-09-28 15:30:05 +03:00
3467ab1551 ci: fix the g++ build and the alpine-musl task 2021-09-28 15:29:00 +03:00
9bf6d57032 ci: remove make.bat --verbose usages from the .yml files 2021-09-28 13:11:55 +03:00
c8f1e6b5b6 ci: simplify make.bat, make it verbose to fix errors easier 2021-09-28 13:03:07 +03:00
d07a96ede8 v.gen.c: fix v examples/hello_world.v on FreeBSD 2021-09-28 12:00:34 +03:00
8f4fe61381 v.pref: only show the disabling parallel cgen message when -no-parallel was not given and -prealloc was 2021-09-28 11:52:27 +03:00
975550f912 ci: add -lpthread on FreeBSD's makefile 2021-09-28 11:42:14 +03:00
d31c9250d3 ci: further makefile bootstrapping fixes 2021-09-28 11:38:33 +03:00
97eb0fc74f ci: workaround linking on macos (missing sem_timedwait) 2021-09-28 11:27:47 +03:00
9e2607db57 sync: rename sync_macos.c.v to sync_darwin.c.v 2021-09-28 11:12:03 +03:00
858161bbc4 ci: fix makefiles 2021-09-28 11:02:05 +03:00
6b40ead54d fix ./v -cc g++ run examples/concurrency/concurrency_http.v 2021-09-28 10:35:02 +03:00
bf0b86774a fix for the "v.c should be buildable with no warnings" step in v test-all 2021-09-28 10:34:54 +03:00
85b58b03a3 cgen: parallelize (#10844) 2021-09-28 10:28:04 +03:00
Ken
a17b943e87 builtin: add method byte() for string (#11998) 2021-09-28 10:08:10 +03:00
c151e075e1 context: update ValueContext to handle Any value and more Key types, use closures (#11993) 2021-09-27 17:52:20 +03:00
d6a4bce2ef checker: fix generic array.map with generic callback fn (#11991) 2021-09-27 17:50:15 +03:00
2ee873d6ca toml: fix invalid bad-multiline test (#11996) 2021-09-27 17:42:20 +03:00
4e1ebca0cb ci: remove vls master branch test (#11992) 2021-09-27 07:11:18 +03:00
105e76f321 ci: bump up perf-regressions limits to 251ms for hw, and 1501ms for v -o v.c cmd/v, to avoid false positives :-| weekly.2021.39 2021-09-26 22:36:58 +03:00
07d65b2aab builtin: move byte methods from rune.v to int.v (#11987) 2021-09-26 22:34:25 +03:00
6967a47e07 net.openssl: fix typos in comments (#11988) 2021-09-26 22:33:10 +03:00
6a2ef733de v.parser: add a generated .all(.flag1|.flag2) method to [flag] enums
Unlike `.has(.flag1|.flag2)`, which is true, for any of `.flag1` or `.flag2`,
the new method `.all()` tests whether *all flags* are set at the same time.
2021-09-26 21:40:44 +03:00
09dfc3f301 arrays: add a generic arrays.concat(os.args,'abc','xyz') function (#11985) 2021-09-26 19:41:50 +03:00
4c01627e00 cgen: cleanup stmt_path_pos processing (#11983) 2021-09-26 15:51:18 +03:00
d93737dd34 cgen: fix assign map get to blank (fix #11508) (#11982) 2021-09-26 13:07:51 +03:00
6391f3d2da orm: fix other int types (#11981) 2021-09-26 11:17:56 +03:00
e09860731f cgen: fix if expr with complex nested array call (#11979) 2021-09-26 07:35:48 +03:00
da47638f42 toml: correct documentation (#11976) 2021-09-26 07:34:47 +03:00
863dd0b23e js: array improvements (#11952) 2021-09-26 07:33:53 +03:00
f3757a7cd1 strconv: float memory leak fix (#11980) 2021-09-26 07:33:35 +03:00
d329e1decd cgen: fix if expr with nested array calls (fix #11953) (#11973) 2021-09-25 20:38:33 +03:00
13b2aa701c toml: rename ast.Node -> ast.Value (#11974) 2021-09-25 20:31:02 +03:00
80c15607da json: assert encoded struct with a sumtype (#11970) 2021-09-25 20:29:52 +03:00
970768288d gg: expose sapp_desc.swap_interval via gg.Config (#11975) 2021-09-25 15:06:56 +03:00
956fdffd96 net.http: allow custom headers in post_multipart_form (#11971) 2021-09-25 10:09:49 +03:00
4fbf3fdf03 examples: make the binary search tree example generic (#11968) 2021-09-24 21:17:26 +03:00
5541ec8670 vlib: add toml module + tests (#11964) 2021-09-24 21:13:52 +03:00
834cf40ab2 cgen, fmt, scanner: fix and use nested lambda in scanner (#11967) 2021-09-24 18:21:22 +03:00
400ab7876b ast: fix fixed array typedef generation issue (#11962) 2021-09-24 17:01:42 +03:00
c75271fcb7 cgen: json sumtype inlining (#11961) 2021-09-24 16:49:00 +03:00
430677a0c0 cgen: format generated C code of nested array call (#11955) 2021-09-23 19:56:12 +03:00
ad58fe8249 ci: mark cancel_test.v with vtest retry: 3 2021-09-23 14:55:10 +03:00