Commit Graph

10776 Commits (9995f6cca14b6c93ebef02fc96f27104aa63ee2b)

Author SHA1 Message Date
Delyan Angelov 5b2046342b
Revert "examples: split asm.v to asm.amd64.v and asm.i386.v"
This reverts commit 74e73edac1.
2021-06-07 20:23:44 +03:00
Delyan Angelov 74e73edac1
examples: split asm.v to asm.amd64.v and asm.i386.v 2021-06-07 20:17:45 +03:00
Delyan Angelov 2e6611372a mysql: use `v oksyntax` for the example in the README.md, so that the check passes on m1 without installed mysql 2021-06-07 18:39:42 +03:00
Delyan Angelov ac0b638b6a examples: run vfmt over psql/customer.v 2021-06-07 18:25:20 +03:00
Delyan Angelov 01a8d3f8a1 tests: skip building psql/customer.v on macos (requires postgres) 2021-06-07 18:23:18 +03:00
Delyan Angelov 4f213f4468 examples: conditionally compile an `asm amd64 {}` block on M1 in asm.v 2021-06-07 18:23:18 +03:00
Delyan Angelov 9f6c4030f6 tests: fix `-cstrict` self compilation on m0 with clang 2021-06-07 18:23:18 +03:00
Delyan Angelov 4772146a7e tests: fix failing tests on M1 2021-06-07 18:23:18 +03:00
नवुले पवन कुमार राव 3c56532ecb
docs: fix a typo in vscode.md (#10376) 2021-06-07 15:50:18 +03:00
Lukas Neubert 98cdde8247
assert: print enum value of CTempVars on fail (#10378) 2021-06-07 15:49:48 +03:00
yuyi cd464010d4
cgen: fix match with multi sumtype exprs (#10377) 2021-06-07 14:16:30 +03:00
youyuanwu 3582118b7c
mssql: support windows (#10336) 2021-06-07 14:02:15 +03:00
yuyi 0615f2e236
checker: check generic method receivers with no type parameter (#10374) 2021-06-07 12:11:29 +03:00
Carlos Esquerdo Bernat 86778d06b1
net.http: add a Header.starting_with method, to get the first header, starting with a key (#10119) 2021-06-07 11:18:40 +03:00
Andreas Heissenberger eef445508f
docs: document recompiling V itself with debug info, debugging tests, and a tip for vscode (#10358) 2021-06-07 11:09:07 +03:00
crthpl 8a497080b3
cgen: fix assembly in generic fns (#10370) 2021-06-07 10:53:33 +03:00
yuyi 114c382c46
parser: fix generic fn typeof name (#10363) 2021-06-06 17:40:13 +03:00
Lukas Neubert c14b357fec
checker: fix enums in builtin (#10366) 2021-06-06 16:27:46 +03:00
pancake 012f866619
native: support more arithmetic, int/string arrays, function returns and internal_strlen (#10279) 2021-06-06 16:19:10 +03:00
Valentin Syrovatskiy 04e77419cc
doc: document array.join method (#10360) 2021-06-06 12:32:49 +03:00
Delyan Angelov 007ba5178e
v: add more timing points 2021-06-06 12:23:00 +03:00
Delyan Angelov 27f3737c5a
tools: cleanup the fast.v output 2021-06-06 09:52:29 +03:00
Delyan Angelov 43acb5a3ca
tools: make fast.v more robust against V module lookup bugs 2021-06-06 09:46:44 +03:00
Alexander Medvednikov aea93c3a96 net.http: vfmt and remove unused ws_func 2021-06-06 01:51:49 +03:00
yuyi 329a6c974e
table, checker, cgen: implement generic fn infering fixed array (#10352) 2021-06-06 01:11:08 +03:00
Miccah c2981de4d5
http: add server.v and organize HTTP request and response code (#10355) 2021-06-06 00:43:14 +03:00
Lukas Neubert 3f00ff465b
checker: check or block inside println calls (#10354) 2021-06-05 23:01:58 +03:00
Delyan Angelov 9924f6c54b
ci: fix build-vc job 2021-06-05 18:26:56 +03:00
Delyan Angelov 55ef849cd2
v.markused: trim unused map fns for programs that do not use them 2021-06-05 17:30:25 +03:00
yuyi 8af7558e0c
checker: minor cleanup of return_stmt() (#10315) 2021-06-05 14:06:48 +03:00
Yuriy Zymlex a716a00e38
builder: fix a bug with submodule import (#10318) 2021-06-05 12:45:23 +03:00
Lukas Neubert dc431a3c47
checker: prevent enum value duplication check bypass (#10287) 2021-06-05 12:28:17 +03:00
Delyan Angelov e54af19b25
examples: fix -cstrict compilation of c_interop_wkhtmltopdf.v 2021-06-05 10:03:57 +03:00
crthpl 9553c5a4e6
parser: fix multiple output modifiers in asm (#10347) 2021-06-04 23:18:11 +03:00
KJ Lawrence 751b1cffd3
gg: fix default font style loading (#10309) 2021-06-04 20:00:32 +03:00
zakuro 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
Delyan Angelov 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
Andreas Heissenberger 18bebcc3be
docs: add info on how to setup VSCode for debugging V code (#10329) 2021-06-04 17:55:22 +03:00
Uwe Krüger 89aab95177
builtin: fix -gc boehm on windows (#10330) 2021-06-04 17:38:51 +03:00
Lucas Rodrigues fdc03f70b5
rand.util: workaround for inaccurate `v` warning in vlib/rand/util/util.v (#10344) 2021-06-04 17:05:58 +03:00
yuyi f4486d79c3
checker: minor cleanup of selector_expr() (#10316) 2021-06-03 16:49:50 +03:00
Miccah c8d5e783a3
net: use custom error for invalid headers (#10323) 2021-06-03 09:50:07 +03:00
yuyi fedf07ddd8
checker: minor cleanup of assign_stmt() (#10314) 2021-06-03 09:49:03 +03:00
yuyi 86d70fade7
checker: minor cleanup of struct_init() (#10310) 2021-06-03 09:48:19 +03:00
zakuro 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
Ehsan Afzali 672bb6ca7f
parser: fix required function members in struct (#10299) 2021-06-03 02:55:58 +03:00
pancake 89d2f508cc
tools: fix `v symlink`, `uname -o` doesn't exist on macOS (#10303) 2021-06-03 01:22:14 +03:00
yuyi b0bafa6376
cgen: fix or_block in for declaration (#10317) 2021-06-03 01:18:52 +03:00
Delyan Angelov 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