Commit Graph

7047 Commits (9541eb816bd5374d0c909a37c1f392743799539d)

Author SHA1 Message Date
Enzo 9541eb816b
checker: remove unecessary assert (#9617) 2021-04-07 19:18:18 +02:00
Delyan Angelov a747651f18
v.vcache: another workaround for a tcc arm64 runtime bug 2021-04-07 19:13:05 +03:00
Delyan Angelov 0cb0b0f9c6
v.vcache: workaround a tcc arm64 invalid memory access bug 2021-04-07 19:09:41 +03:00
Louis Schmieder fdb4f17866
ci: fix compilation with g++ (#9629) 2021-04-07 18:53:04 +03:00
Delyan Angelov 9c67a1cf62
ci: fix the `v -autofree cmd/v` job 2021-04-07 18:37:30 +03:00
yuyi 66fafe7b7b
checker: remove redundant code for generic structs (#9628) 2021-04-07 17:26:22 +02:00
Delyan Angelov de5cf4ac5e
v: show the number of processed bytes and lines for V source code with -stats 2021-04-07 18:12:27 +03:00
yuyi fef4e1e700
checker: fix generics method return generics struct (#9614) 2021-04-07 15:27:58 +02:00
Louis Schmieder ab03357a6e
orm: add table creation (#9621) 2021-04-07 15:27:02 +02:00
Lukas Neubert 3a07fbc653
fmt: improve match branch wrapping (#9619) 2021-04-07 15:26:10 +02:00
Lukas Neubert 1d5ed89138
fmt: remove trailing space in comments (#9620) 2021-04-07 15:25:11 +02:00
Alexander Medvednikov 66d3917554 builtin: fix C++ compilation 2021-04-07 15:25:45 +03:00
ka-weihe bca9409192
map: wrap up delete fix (#9626) 2021-04-07 14:12:12 +02:00
Alexander Medvednikov ff9837386a Revert "map: wrap up delete fix (#9601)"
This reverts commit cbcc0d34b5.
2021-04-07 03:40:43 +03:00
crthpl 018a88c3ce
parser: asm: add support for memory clobbers (#9618) 2021-04-06 21:25:24 +02:00
Alexander Medvednikov 89838f2e21 tutorials: blog: use db.create_table() 2021-04-06 22:15:14 +03:00
Alexander Medvednikov f4566bb324 autofree: fix `return x[0]` (optional) 2021-04-06 18:38:16 +03:00
Delyan Angelov db84d5e221
os: cleanup os.environ implementation 2021-04-06 18:02:12 +03:00
Alexander Medvednikov 1e2a92945c autofree: test `return x[0]` (optional) 2021-04-06 17:28:07 +03:00
Alexander Medvednikov dbaa91810f autofree: fix optional returns 2021-04-06 17:14:11 +03:00
ka-weihe cbcc0d34b5
map: wrap up delete fix (#9601) 2021-04-06 15:57:08 +02:00
涂紳騰(Shen-Teng Tu) 7d5c1c2ddb
tmpl: inline styles with attributes (#9605) 2021-04-06 15:17:40 +02:00
Lukas Neubert a0648a3ec2
all: fixes related to Node.pos (#9613) 2021-04-06 15:16:19 +02:00
Delyan Angelov 87a16bbfe9
ci: fix -autofree cmd/v compilation job regression 2021-04-06 15:21:18 +03:00
Delyan Angelov c1f2c570bc
v.util: prevent diff tool lookups when VDIFF_TOOL is set 2021-04-06 13:22:04 +03:00
Alexander Medvednikov de5e603248 builtin: fix a warning in backtrace() on windows (msvc) 2021-04-06 02:52:54 +03:00
Delyan Angelov d8cb24eef0 ci: fix -cflags -Werror jobs 2021-04-05 23:42:26 +03:00
Delyan Angelov 19b915b105 ci: fix windows-tcc job 2021-04-05 23:35:22 +03:00
Delyan Angelov 10619d098c
ci: fix a race in vlib/v/compiler_errors_test.v execution on m1 2021-04-05 22:57:59 +03:00
Delyan Angelov b041681c00 tests: bump limits to reduce flakyness on m1 with latest clang 2021-04-05 22:38:55 +03:00
Delyan Angelov 7c664de8aa time: fix macos job (building V with -cflags --Werror) 2021-04-05 22:32:33 +03:00
Delyan Angelov 5f07c583fb
ci: fix build-vc job (use more precise C.fprintf declaration) 2021-04-05 22:24:17 +03:00
Delyan Angelov 1899845582
ci: fix build-vc job 2021-04-05 22:18:18 +03:00
Delyan Angelov acb6145d53
ci: final fix for `./v test-all` 2021-04-05 22:13:53 +03:00
Delyan Angelov 0e94612535
checker: only allow `ptr += int` in unsafe blocks 2021-04-05 22:01:18 +03:00
Delyan Angelov 291a88bc62
ci: fix some of `v test-cleancode` 4 2021-04-05 21:39:32 +03:00
penguindark 9aabf222fe
encoding.utf8: fix a bug in up_low (#9610) 2021-04-05 21:28:21 +03:00
Delyan Angelov d11fb8497a
ci: fix some of `v test-cleancode` 3 2021-04-05 21:21:46 +03:00
Delyan Angelov c0e2b9b1e2
ci: fix some of `v test-cleancode` 2 2021-04-05 20:55:03 +03:00
Delyan Angelov fec89c7efb
ci: fix some of `v test-cleancode` 1 2021-04-05 20:47:32 +03:00
Delyan Angelov 4822274d29
x.websocket: use &byte instead of byteptr 2021-04-05 19:53:48 +03:00
Delyan Angelov 5bc29492fd
ci: fix vlib/v/tests/str_gen_test.v (all of `v test-self` is ok now) 2021-04-05 19:31:28 +03:00
Delyan Angelov abbb08b28c
ast,checker: fix `v test-self` by relaxing the is_number checks 2021-04-05 18:45:03 +03:00
Conner ab77453f5f
checker: fix spelling in 'inferred generic type is ambiguous:' check (#9593) 2021-04-05 18:21:09 +03:00
Ned Palacios 98e1dd4b22
checker: wrap print_backtraces with if is_verbose (#9595) 2021-04-05 18:19:20 +03:00
penguindark a016ac39c0
examples: change byteptr to &byte in sokol examples and regex (#9606) 2021-04-05 18:17:45 +03:00
Ned Palacios 07b1dc66dd
ast, parser: add additional pos info for FnDecl and InterfaceDecl nodes (#9603) 2021-04-05 18:14:21 +03:00
Delyan Angelov 90b123c27b
ci: fix self compilation on windows 2021-04-05 15:47:43 +03:00
Delyan Angelov cc8948efcf time: fix compilation on macos 2021-04-05 15:31:29 +03:00
Delyan Angelov 7a9607b028
checker: use .clear_flags() when comparing number literals 2021-04-05 10:39:48 +03:00