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

14048 Commits

Author SHA1 Message Date
4eeb45b94e vpm: stop and output an error message after parsing the v.mod file failed (#15994) 2022-10-08 11:33:49 +03:00
267cd5569a vpm: replace println with eprintln, for printing error output (#15992) 2022-10-08 11:32:31 +03:00
07d5612347 stbi: fix loading image from memory (#15981) 2022-10-07 17:20:35 +03:00
03f82d5f68 cgen: fix generic for_in using iteration (#15979) 2022-10-06 18:20:38 +03:00
73e28ec523 checker: fix infering fn type using reference argument (#15978) 2022-10-06 17:25:02 +03:00
88d69d7d54 cgen,pref,preludes: implement v -assert continues file_test.v (#15976) 2022-10-06 17:20:32 +03:00
58bf2838c0 builder: exclude LDFLAGS in .o builds (#15977) 2022-10-06 17:18:48 +03:00
87a364ff24 cgen: remove condition no longer needed after #15944 2022-10-06 17:15:15 +11:00
3eff20c5fd checker,cgen: small optimizations for previous commit 2022-10-06 17:03:48 +11:00
18f0040388 checker/gen/parser: varg with pointer type fix: #15943 (#15944) 2022-10-06 15:58:07 +11:00
f0871b87a4 term: fix errors in input_windows.c.v (#15966) 2022-10-05 13:24:22 +03:00
6ccdf89546 cgen: fix vweb using generic method (fix #15888) (#15963) 2022-10-05 13:23:47 +03:00
46138a2841 cbuilder: more clear fn name 2022-10-05 08:51:52 +03:00
acbfe88dd9 arrays, maps: cleanup comments and parameter names in function signatures (#15960) 2022-10-04 10:07:36 +03:00
40cbd68272 sqlite: add a sqlite.is_error() helper (#15964) 2022-10-04 10:03:59 +03:00
267e26ba1d net: add unsafe block to int -> enum cast (#15961)
Fixes https://github.com/vlang/v/issues/15959
weekly.2022.40
2022-10-03 21:56:06 +03:00
6ac9552d39 native: support simple library calls (#15958) 2022-10-03 17:49:22 +03:00
9fc64de94b openssl: add unsafe blocks to int -> enum blocks (#15957) 2022-10-03 16:32:37 +03:00
dc2ba1c33f ast, parser, fmt: fixed and optimized comments for 'for, for_c, for_in stmts' (fix: #15922) (#15950) 2022-10-03 10:45:11 +03:00
ffaca82ff8 arrays, maps: add indexed variant of collection function and minor cleanup (#15948) 2022-10-03 10:42:36 +03:00
5b59171a00 checker, native: Check arguments of native builtin functions (#15952) 2022-10-03 10:41:59 +03:00
c655847dfb native: fix notices when building cmd/tools/builders/native_builder.v 2022-10-02 22:48:06 +03:00
b584e1df98 checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +03:00
7993f0bf39 native: support for compile-time conditionals (#15949) 2022-10-02 22:31:59 +03:00
b83d0281e4 checker: make the "reference field must be initialised" warning more informative, fix clipboard (used by ui) 2022-10-02 16:24:15 +03:00
b158da398b parser: fix checking for duplicate main functions (#15946) 2022-10-02 12:14:25 +03:00
ed2960a20e sokol.sapp: fix compilation of gg apps with -prod (add typedef tags to Sokol's C struct declarations) 2022-10-02 12:10:35 +03:00
35368b5721 checker: small cleanup in Checker.check_ref_fields_initialized 2022-10-02 12:10:35 +03:00
eec126e26c vfmt: run v fmt -w vlib/v/gen/native/tests/ 2022-10-02 12:10:34 +03:00
20f5eef2dc maps: add a maps module, with generic filter, flatten, invert, to_map, to_array, from_array functions (#15945) 2022-10-02 10:59:13 +03:00
8a38bc2324 fmt: keep volatile qualifier in global declarations (#15947) 2022-10-02 10:50:16 +03:00
a7ad64033e native: support assigning to struct fields (#15938) 2022-10-01 14:42:26 +03:00
5dae5b2a92 checker: fix references for alias type, that could still be uninitalized (fix #15935) (#15940) 2022-10-01 14:40:55 +03:00
17b07273aa cbuilder: remove forgotten dump(), simplify o_postfixes 2022-10-01 14:00:35 +03:00
90599c7f85 cbuilder: fix hardcoded v_parallel for -parallel-cc, use a sync.pool for the compilation threads 2022-10-01 13:50:47 +03:00
aa02a9cd3b checker: fix checking mismatch of the fn array decompose argument (#15934) 2022-10-01 13:25:24 +03:00
f6a68003d3 ci,parser: fix error in v_parser_test.v (#15936) 2022-10-01 13:18:46 +03:00
fe597b7172 encoding.utf8: add is_number (#15931) 2022-10-01 11:01:51 +03:00
3d2588f101 cgen: parallel cc for much faster compilation using all CPU cores 2022-10-01 10:04:06 +03:00
be7b0f1dc5 checker: check mismatch of the fn array decompose argument (#15929) 2022-10-01 06:50:28 +03:00
43d0d0f322 native: skip linking when no library functions get called (#15930) 2022-10-01 06:47:16 +03:00
d78dfabfe0 native: support casting integer to/from enum values (#15928) 2022-09-30 15:53:17 +03:00
d694a26f39 checker, cgen: fix go print (#15927) 2022-09-30 15:50:54 +03:00
b6bbbcf2e7 cgen: fix error when defer inside comptime if {} else {} (fix #15891) (#15911) 2022-09-30 10:10:34 +03:00
659bd1a428 ast, checker, cgen: fix generic fn/method with comptime for/if (fix #15905) (#15910) 2022-09-30 09:40:30 +10:00
63578e63c6 fmt: fix comments between for and { is wrong (fix #15918) (#15919) 2022-09-29 15:26:27 +03:00
711bb6def7 gg: rename Context.set_cfg() -> Context.set_text_cfg() (#15904) 2022-09-29 15:24:16 +03:00
2d08950e4c changelog: add entry for #15912 no need for [console] on Windows (#15924) 2022-09-29 15:20:19 +03:00
816e9319d7 cgen: remove the need for [console] for gg or ui programs on windows (#15912) 2022-09-29 15:02:50 +03:00
79a473f8ec vweb: fix a typo in the README.md (#15913)
* Fix typo

* Update vlib/vweb/README.md

Co-authored-by: JalonSolov <JalonSolov@gmail.com>

Co-authored-by: Delyan Angelov <delian66@gmail.com>
Co-authored-by: JalonSolov <JalonSolov@gmail.com>
2022-09-29 14:29:02 +03:00