yuyi
|
9699afc1fd
|
cgen: fix if expr with optional method call (#14600)
|
2022-06-05 11:12:12 +02:00 |
ChAoS_UnItY
|
4288c40bee
|
compress: Add gzip module & refactor compress & compress.zlib module (#14599)
|
2022-06-05 11:12:12 +02:00 |
yuyi
|
e755008c29
|
vrepl: fix error for exitasdfasdf in repl (fix #14593) (#14598)
|
2022-06-05 11:12:12 +02:00 |
Delyan Angelov
|
28af327062
|
ci: vfmt vlib/v/checker/check_types.v
|
2022-06-05 11:12:12 +02:00 |
Delyan Angelov
|
f8ad43be34
|
checker: speed up check_expected_call_arg, by only calling Table.type_to_str on errors
|
2022-06-05 11:12:12 +02:00 |
Hunam
|
28fb66118b
|
vlib: add `net.http.mime` (#14516)
|
2022-06-05 11:12:12 +02:00 |
Delyan Angelov
|
f674787fac
|
ast.table: cache the returned values of Table.type_to_str_using_aliases/2
This results in 9% speedup of the checker stage for V itself.
|
2022-06-05 11:12:12 +02:00 |
Delyan Angelov
|
ddb8c0ffaa
|
ci: vfmt vlib/v/parser/parser.v
|
2022-06-05 11:12:12 +02:00 |
Delyan Angelov
|
7ca1d2a93c
|
tools: add cmd/tools/measure/scanner_speed.v and cmd/tools/measure/parser_speed.v
|
2022-06-05 11:12:12 +02:00 |
Delyan Angelov
|
d20eae2d34
|
strings: update docs for .str() and for .free()
|
2022-06-05 11:12:12 +02:00 |
yuyi
|
47300ae03f
|
ast: fix IfExpr.str() (#14595)
|
2022-06-05 11:12:12 +02:00 |
Alexander Medvednikov
|
34d30b0ee5
|
checker, cgen: c2v variadic fixes
|
2022-06-05 11:12:12 +02:00 |
yuyi
|
ada04cfb6a
|
parser: fix optional with multiple statements (#14592)
|
2022-06-05 11:12:11 +02:00 |
Claudio Cesar de Sá
|
9dedc4b664
|
examples: some new graphs algorithms and improving 2 others (#14556)
|
2022-06-05 11:12:11 +02:00 |
Ben
|
5b97307c5a
|
os: fix file_ext function (#14566)
|
2022-06-05 11:12:11 +02:00 |
Wertzui123
|
df4dae6d40
|
help: add Windows to the list of supported native backends in `v help build-native` (#14589)
|
2022-06-05 11:12:11 +02:00 |
ChAoS_UnItY
|
f174bb6d78
|
cgen: fix type not being unaliased (fix #14568) (#14591)
|
2022-06-05 11:12:11 +02:00 |
yuyi
|
48d6e702f2
|
checker: minor cleanup in if_expr() (#14584)
|
2022-06-05 11:12:11 +02:00 |
Hunam
|
b70c60dcb8
|
ci: re-enable Go2V test suite (#14588)
|
2022-06-05 11:12:11 +02:00 |
yuyi
|
9459fb549f
|
cgen: fix fixed array of aliases struct (#14583)
|
2022-06-05 11:12:11 +02:00 |
Delyan Angelov
|
8cd891c9b6
|
v: add support for `v crun examples/hello_world.v`, use crun mode for .vsh files by default. (#14554)
|
2022-06-05 11:12:11 +02:00 |
Delyan Angelov
|
80879586df
|
examples: document how to produce the shared library, needed for a standalone run of examples/dynamic_library_loading/use.v
|
2022-06-05 11:12:11 +02:00 |
yuyi
|
ee547994bb
|
parser: fix comptime if script mode (fix #6419) (#14578)
|
2022-06-05 11:12:11 +02:00 |
Delyan Angelov
|
f268cf7858
|
cgen: do not #include signal.h, on -os wasm32 and -d no_segfault_handler
|
2022-06-05 11:12:10 +02:00 |
Delyan Angelov
|
9871434daa
|
ci: skip embed_file_test.v for now
|
2022-06-05 11:12:10 +02:00 |
yuyi
|
d4b90827d0
|
checker, cgen: fix array index optional with if expr (#14575)
|
2022-06-05 11:12:10 +02:00 |
Delyan Angelov
|
215d7875e6
|
v: always embed file data of \$embed_file(file) constructs, even without -prod, unless `-d embed_only_metadata` is given.
|
2022-06-05 11:12:10 +02:00 |
Alexander Medvednikov
|
0e384bb60d
|
cgen: fix goto label
|
2022-06-05 11:12:10 +02:00 |
Alexander Medvednikov
|
0bdc213dc6
|
cgen: c2v infix fix
|
2022-06-05 11:12:10 +02:00 |
Larpon
|
2ab6ef7f0a
|
toml: update readme with value_opt() usage (#14569)
|
2022-06-05 11:12:10 +02:00 |
yuyi
|
d2b097fbf8
|
scanner: minor cleanup in scanner.v (#14565)
|
2022-06-05 11:12:10 +02:00 |
playX
|
9e038d1a64
|
builtin.js: fix string.int method (#14564)
|
2022-06-05 11:12:10 +02:00 |
Delyan Angelov
|
eb688d7fa1
|
v.util, v.builder: fix util.module_is_builtin on macos with -usecache
|
2022-06-05 11:12:10 +02:00 |
Ben
|
2308eec024
|
os: add existing_path function (#14536)
|
2022-06-05 11:12:10 +02:00 |
Delyan Angelov
|
0338ae98c2
|
strconv: make f64_to_str_lnd1 public (fix building vlang/coreutils printf)
|
2022-06-05 11:12:10 +02:00 |
Delyan Angelov
|
936622039f
|
crypto.md5: improve performance of md5.blockblock_generic
|
2022-06-05 11:12:10 +02:00 |
Delyan Angelov
|
77ce385a1a
|
builtin: use C.fwrite (buffered) for _write_buf_to_fd (#14558)
|
2022-06-05 11:12:09 +02:00 |
Delyan Angelov
|
b7232df73c
|
builtin: fix sporadic linking failures on `v -cc gcc -gc boehm examples/hello_world.v`
|
2022-06-05 11:12:09 +02:00 |
yuyi
|
76c92715e6
|
checker: vfmt overload_return_type.vv (#14557)
|
2022-06-05 11:12:09 +02:00 |
Hunam
|
6beac6f4b7
|
net.http: `Response.text` -> `Response.body` (#14478)
|
2022-06-05 11:12:09 +02:00 |
yuyi
|
8698bb375f
|
scanner: fix string interpolation with inner curly braces (fix #12242) (#14553)
|
2022-06-05 11:12:09 +02:00 |
yuyi
|
a396496b93
|
parser: fix cast or dump arguments ending with comma (#14552)
|
2022-06-05 11:12:09 +02:00 |
Delyan Angelov
|
0a3d41c5d7
|
docs: document explicitly, that maps support `if v := m[k] {` too
|
2022-06-05 11:12:09 +02:00 |
Delyan Angelov
|
8cecea9965
|
cgen: add support for `v -cmain SDL_main sdl_example.v`
|
2022-06-05 11:12:09 +02:00 |
yuyi
|
e50d73983f
|
cgen: fix cross assign in closure (#14549)
|
2022-06-05 11:12:09 +02:00 |
yuyi
|
0a81074b1e
|
ast: fix call_expr.str() with propagate_option or propagate_result (#14550)
|
2022-06-05 11:12:09 +02:00 |
Delyan Angelov
|
f02f2e4708
|
ci: temporary workaround for cross assignment in a closure leading to cgen error
|
2022-06-05 11:12:09 +02:00 |
yuyi
|
e9da92c61d
|
parser, cgen: fix cross assign with parentheses (#14545)
|
2022-06-05 11:12:08 +02:00 |
yuyi
|
458f6f09e1
|
checker: fix declare assign literal with closure (#14544)
|
2022-06-05 11:12:08 +02:00 |
Delyan Angelov
|
f4ccbcd2cf
|
toml: add `pub fn (d Doc) value_opt(key string) ?Any {` and some tests for toml.parse_dotted_key/1
|
2022-06-05 11:12:08 +02:00 |