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

10094 Commits

Author SHA1 Message Date
e54af19b25 examples: fix -cstrict compilation of c_interop_wkhtmltopdf.v 2021-06-05 10:03:57 +03:00
9553c5a4e6 parser: fix multiple output modifiers in asm (#10347) 2021-06-04 23:18:11 +03:00
751b1cffd3 gg: fix default font style loading (#10309) 2021-06-04 20:00:32 +03:00
b0c9a87292 v: show an error and exit, when no module name is given in v build-module (#10338) 2021-06-04 18:30:43 +03:00
117295e1f3 docs,ci: fix too long lines 2021-06-04 18:19:25 +03:00
Ken
5266b4921d sqlite: add a last_insert_rowid fn (#10341) 2021-06-04 18:10:20 +03:00
18bebcc3be docs: add info on how to setup VSCode for debugging V code (#10329) 2021-06-04 17:55:22 +03:00
89aab95177 builtin: fix -gc boehm on windows (#10330) 2021-06-04 17:38:51 +03:00
fdc03f70b5 rand.util: workaround for inaccurate v warning in vlib/rand/util/util.v (#10344) 2021-06-04 17:05:58 +03:00
f4486d79c3 checker: minor cleanup of selector_expr() (#10316) 2021-06-03 16:49:50 +03:00
c8d5e783a3 net: use custom error for invalid headers (#10323) 2021-06-03 09:50:07 +03:00
fedf07ddd8 checker: minor cleanup of assign_stmt() (#10314) 2021-06-03 09:49:03 +03:00
86d70fade7 checker: minor cleanup of struct_init() (#10310) 2021-06-03 09:48:19 +03:00
4089aa38c5 fmt: fix removal of Abc in import mod { Abc }, where Abc is used in a x as Abc expression #10306 2021-06-03 06:35:54 +03:00
672bb6ca7f parser: fix required function members in struct (#10299) 2021-06-03 02:55:58 +03:00
89d2f508cc tools: fix v symlink, uname -o doesn't exist on macOS (#10303) 2021-06-03 01:22:14 +03:00
b0bafa6376 cgen: fix or_block in for declaration (#10317) 2021-06-03 01:18:52 +03:00
b28def7c11 tests: add vlib/v/tests/failing_tests_test.v, support testdata in v test-self too 2021-06-03 00:32:09 +03:00
0254a1ac76 tests: ignore testdata folders in v test . too 2021-06-02 21:50:31 +03:00
bf623e191f tests: ignore testdata folders while scanning for tests and .v files 2021-06-02 21:19:03 +03:00
1747e546bf parser, checker: check assert optional (#10319) 2021-06-02 20:38:26 +03:00
04642211b4 v.help: remove duplicate line (#10326) 2021-06-02 20:34:18 +03:00
5400a765a4 tests: make fn test_fn() ? { return error(fail) } count as a fail 2021-06-02 19:14:37 +03:00
a368800b26 net.urllib: don't crash on str() if url is missing host (#10313) 2021-06-02 16:12:27 +03:00
f6bb4d9a4a strings.textscanner: fix doc strings (#10298) 2021-06-02 16:11:16 +03:00
3e89b60784 vast: accept .vv file (#10305) 2021-06-02 16:10:15 +03:00
4b2319fd67 native: fix macho header for amd64 macOS 'Big Sur' (#10304) 2021-06-02 16:09:57 +03:00
452a51c8fe gg: render text if we fell back to system default (#10307) 2021-06-02 16:00:14 +03:00
ce3e71cb8e OpenBSD: support Boehm-GC, X11 and Sqlite (#10300) 2021-06-01 22:28:30 +03:00
14d09aa7c2 ci: fix failing v -cstrict vlib/v/tests/channels_test.v 2021-06-01 16:48:49 +03:00
8fee140fc0 builtin: small cleanup in string_interpolation.v 2021-06-01 16:21:43 +03:00
5cb2683e97 v.gen.c,v.markused: fix println(ch) when ch is a channel 2021-06-01 13:46:59 +03:00
0afeba5588 cgen: fix C error with clang, when declaring a fn type with an alias type argument (#10297) 2021-06-01 12:37:27 +03:00
148bb31f6e v.parser: allow for if x { $if y {} } else {}, fix #10243 (#10294) 2021-06-01 12:19:39 +03:00
98505207c4 mssql: support orm create and drop table (#10296) 2021-06-01 11:10:27 +03:00
67518f946b cmd/tools/vast: update DeferStmt (#10291) 2021-05-31 22:49:16 +03:00
90292ce981 fmt: fix removal of Abc in import mod { Abc }, where Abc is used in a x is Abc expression (#10286) weekly.2021.22 2021-05-31 17:35:16 +03:00
cb19079d53 all: move cur_concrete_types to Table (#10269) 2021-05-31 17:14:45 +03:00
9fc5b9dc54 cgen: fix match in map or expr (#10283) 2021-05-31 17:10:33 +03:00
d39a55ac11 checker: forbid leaving function from inside defer block (#10285) 2021-05-31 17:09:57 +03:00
2376b343ba tests: always use / for paths shown in tests 2021-05-31 15:56:36 +03:00
38796521fa all: allow defer use from other scope (#10284) 2021-05-31 14:43:44 +03:00
eac1e25c5d strings: simplify Builder (#10263) 2021-05-31 14:21:06 +03:00
8990114b4b vlib: add a vlib/mssql module (#10280) 2021-05-31 14:08:31 +03:00
5aa4f622b6 checker: fix match expr returning optional (#10281) 2021-05-31 12:34:55 +03:00
5b9256ba0b cgen: write alias typedefs just before interfaces (#10272) 2021-05-31 12:26:06 +03:00
09e3099580 checker: error on direct map alias init (#10282) 2021-05-31 12:14:37 +03:00
955dc12523 v: replace execuast => executable 2021-05-31 09:39:18 +03:00
9a5768395d cgen: fix embeds for msvc (fix #10244) (#10259)
* cgen: fix embed file for mvsc

* define struct fields during init

* vfmt

* wrap string in `cestring` to escape properly

Co-authored-by: klawrence <klawrence@netpark.us>
2021-05-31 07:50:23 +03:00
1343787009 builtin: fix interpolation bug for ${x:g/G}, where x is a zero or an infinity (#10271) 2021-05-30 19:30:18 +03:00