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

Commit Graph

  • 4cfff58fdf checker: allow for references to fixed array consts inside their initialisation const a = [ ... &a[0] ...]! Delyan Angelov 2022-06-04 09:04:12 +03:00
  • a8461a900d vweb: use http.Cookie Alexander Medvednikov 2022-06-04 06:52:46 +03:00
  • 66572d5ead ast: cleanup is_lit() (#14672) yuyi 2022-06-04 02:02:36 +08:00
  • c15d1c6e7e cgen,ci: fix cast_bool_to_int_test.v on windows-tcc Delyan Angelov 2022-06-03 20:53:10 +03:00
  • 6f9070e06d cgen: do not initialise externally declared globals (with -cstrict with [c_extern]). Delyan Angelov 2022-06-03 19:14:01 +03:00
  • dbaecdc058 cgen: simplify int(bool_var) casts; support [c_extern] tag for global declarations Delyan Angelov 2022-06-03 18:41:12 +03:00
  • daa94de93f cgen: fix autofree_variable() (fix #14576) (#14602) yuyi 2022-06-03 22:41:30 +08:00
  • dcbd8d6405 cgen: fix if expr with optional method call (#14600) yuyi 2022-06-03 20:57:39 +08:00
  • 65066098d8 compress: Add gzip module & refactor compress & compress.zlib module (#14599) ChAoS_UnItY 2022-06-03 14:00:11 +08:00
  • 251716fa0e vrepl: fix error for exitasdfasdf in repl (fix #14593) (#14598) yuyi 2022-06-03 00:59:57 +08:00
  • 9f7656f328 ci: vfmt vlib/v/checker/check_types.v Delyan Angelov 2022-06-02 19:02:34 +03:00
  • c892b3203e checker: speed up check_expected_call_arg, by only calling Table.type_to_str on errors Delyan Angelov 2022-06-02 18:24:44 +03:00
  • 41414b5d5f vlib: add net.http.mime (#14516) Hunam 2022-06-02 17:07:25 +02:00
  • aae5b9fb95 ast.table: cache the returned values of Table.type_to_str_using_aliases/2 Delyan Angelov 2022-06-02 17:27:49 +03:00
  • ed759b2ec9 ci: vfmt vlib/v/parser/parser.v Delyan Angelov 2022-06-02 15:55:13 +03:00
  • 031629faa1 tools: add cmd/tools/measure/scanner_speed.v and cmd/tools/measure/parser_speed.v Delyan Angelov 2022-06-02 13:35:13 +03:00
  • 9a0ec7f367 strings: update docs for .str() and for .free() Delyan Angelov 2022-06-02 10:41:27 +03:00
  • 545eaae77b ast: fix IfExpr.str() (#14595) yuyi 2022-06-02 15:28:31 +08:00
  • 8b0e843cb8 checker, cgen: c2v variadic fixes Alexander Medvednikov 2022-06-02 09:35:05 +03:00
  • 10fb16e00b parser: fix optional with multiple statements (#14592) yuyi 2022-06-02 13:23:16 +08:00
  • 5bf246fce6 examples: some new graphs algorithms and improving 2 others (#14556) Claudio Cesar de Sá 2022-06-02 01:11:29 -03:00
  • e201665e92 os: fix file_ext function (#14566) Ben 2022-06-02 06:09:46 +02:00
  • f971da9a93 help: add Windows to the list of supported native backends in v help build-native (#14589) Wertzui123 2022-06-02 06:08:46 +02:00
  • a95cdac635 cgen: fix type not being unaliased (fix #14568) (#14591) ChAoS_UnItY 2022-06-02 11:21:01 +08:00
  • 55951e0943 checker: minor cleanup in if_expr() (#14584) yuyi 2022-06-02 11:20:09 +08:00
  • d0a1608ede ci: re-enable Go2V test suite (#14588) Hunam 2022-06-02 05:19:38 +02:00
  • 33a2d00445 cgen: fix fixed array of aliases struct (#14583) yuyi 2022-06-01 21:56:12 +08:00
  • bf70f0b436 v: add support for v crun examples/hello_world.v, use crun mode for .vsh files by default. (#14554) Delyan Angelov 2022-06-01 14:47:52 +03:00
  • c91b646372 examples: document how to produce the shared library, needed for a standalone run of examples/dynamic_library_loading/use.v Delyan Angelov 2022-06-01 13:58:49 +03:00
  • 786045c7da parser: fix comptime if script mode (fix #6419) (#14578) yuyi 2022-06-01 18:27:27 +08:00
  • 5a2c271bd4 cgen: do not #include signal.h, on -os wasm32 and -d no_segfault_handler Delyan Angelov 2022-06-01 13:21:22 +03:00
  • 2fa64f1471 ci: skip embed_file_test.v for now Delyan Angelov 2022-06-01 12:06:02 +03:00
  • fefb9643b2 checker, cgen: fix array index optional with if expr (#14575) yuyi 2022-06-01 14:18:59 +08:00
  • 846ddfd728 v: always embed file data of \$embed_file(file) constructs, even without -prod, unless -d embed_only_metadata is given. Delyan Angelov 2022-06-01 09:08:18 +03:00
  • f40c30c3dc cgen: fix goto label Alexander Medvednikov 2022-06-01 06:34:04 +03:00
  • c54c9b817c cgen: c2v infix fix Alexander Medvednikov 2022-06-01 06:14:28 +03:00
  • 84e375e38a toml: update readme with value_opt() usage (#14569) Larpon 2022-05-31 18:02:33 +02:00
  • 80cc88427b scanner: minor cleanup in scanner.v (#14565) yuyi 2022-05-31 16:52:47 +08:00
  • db34adaec8 builtin.js: fix string.int method (#14564) playX 2022-05-31 08:52:11 +00:00
  • dc30089c74 v.util, v.builder: fix util.module_is_builtin on macos with -usecache Delyan Angelov 2022-05-31 09:30:45 +03:00
  • 4ffdcf8058 os: add existing_path function (#14536) Ben 2022-05-31 05:32:12 +02:00
  • 928dafeb6d strconv: make f64_to_str_lnd1 public (fix building vlang/coreutils printf) weekly.2022.22 Delyan Angelov 2022-05-30 22:14:22 +03:00
  • fc64f09f0b crypto.md5: improve performance of md5.blockblock_generic Delyan Angelov 2022-05-30 21:56:39 +03:00
  • 0f3b2c2ae7 builtin: use C.fwrite (buffered) for _write_buf_to_fd (#14558) Delyan Angelov 2022-05-30 19:15:05 +03:00
  • 58ebc0680e builtin: fix sporadic linking failures on v -cc gcc -gc boehm examples/hello_world.v Delyan Angelov 2022-05-30 15:17:01 +03:00
  • 844ba2a177 checker: vfmt overload_return_type.vv (#14557) yuyi 2022-05-30 18:49:13 +08:00
  • 78d1b7f4ef net.http: Response.text -> Response.body (#14478) Hunam 2022-05-29 19:27:18 +02:00
  • 2c5febe25e scanner: fix string interpolation with inner curly braces (fix #12242) (#14553) yuyi 2022-05-30 00:28:23 +08:00
  • 79d861ad4f parser: fix cast or dump arguments ending with comma (#14552) yuyi 2022-05-29 14:15:55 +08:00
  • 63d15086e7 docs: document explicitly, that maps support if v := m[k] { too Delyan Angelov 2022-05-28 21:36:13 +03:00
  • c006d5c242 cgen: add support for v -cmain SDL_main sdl_example.v Delyan Angelov 2022-05-28 21:16:48 +03:00
  • c0ef6dbde8 cgen: fix cross assign in closure (#14549) yuyi 2022-05-29 01:47:54 +08:00
  • 7dcc19df55 ast: fix call_expr.str() with propagate_option or propagate_result (#14550) yuyi 2022-05-29 01:47:29 +08:00
  • c6a6eb9a3c ci: temporary workaround for cross assignment in a closure leading to cgen error Delyan Angelov 2022-05-28 13:21:59 +03:00
  • b8e8768928 parser, cgen: fix cross assign with parentheses (#14545) yuyi 2022-05-28 17:02:17 +08:00
  • a46cf10e92 checker: fix declare assign literal with closure (#14544) yuyi 2022-05-28 16:50:37 +08:00
  • 4894f61998 toml: add pub fn (d Doc) value_opt(key string) ?Any { and some tests for toml.parse_dotted_key/1 Delyan Angelov 2022-05-28 09:17:28 +03:00
  • a971b9a99a parser: fix match expr case with struct init (#14538) yuyi 2022-05-27 23:51:40 +08:00
  • f3e7f24ee6 tools: implement v missdoc --diff oldv newv (#14537) Larpon 2022-05-27 17:19:06 +02:00
  • 52a3e5e780 cgen: fix a race condition in the closure implementation (#14532) spaceface 2022-05-27 16:35:02 +02:00
  • f7995c8916 checker: fix error position in fn f() int { return 1,2 } Delyan Angelov 2022-05-27 16:52:20 +03:00
  • 36cb552918 ci: vfmt cmd/tools/vpm.v Delyan Angelov 2022-05-27 15:22:47 +03:00
  • 156aa661ee tools: fix v install https://github.com/nedpals/vex.git (fix #14483) Delyan Angelov 2022-05-27 15:19:35 +03:00
  • a83ac948a0 orm: document & fix pg (#14533) Louis Schmieder 2022-05-26 21:53:09 +02:00
  • b97ef09b2d checker: cleanup checker.v (#14530) yuyi 2022-05-27 03:52:42 +08:00
  • bb6ef8bba8 cgen: fix parallel cgen for json encoding of struct fields that have default values Delyan Angelov 2022-05-26 16:55:44 +03:00
  • 8c969efe6b tests: make json_test.v less noisy, to see errors easier Delyan Angelov 2022-05-26 15:27:54 +03:00
  • 1017335365 x.ttf: fix typo in README (#14528) Wertzui123 2022-05-26 10:17:15 +02:00
  • 3849cdcecc fmt: fix fn return types list ending with comma (#14529) yuyi 2022-05-26 09:20:22 +08:00
  • 410b57b2fa all: add support for struct field deprecation (#14527) Delyan Angelov 2022-05-26 00:44:18 +03:00
  • 95cc535fc7 ci: use missdoc as subcmd (#14524) Larpon 2022-05-25 18:07:07 +02:00
  • 9f5e999b4a tools: add v missdoc --verify mode (#14525) Larpon 2022-05-25 18:06:11 +02:00
  • 6c08af63ff embed_file: rename debug_embed_file_in_prod -> force_embed_file (#14523) Larpon 2022-05-25 17:26:17 +02:00
  • 59e57f0c62 fmt: fix fmt of Ok<[]Token>{[]} (#14522) yuyi 2022-05-25 20:17:30 +08:00
  • dd8c96f6bc net.html: use -d debug_html instead of -g, prevent undesired output, while debugging user programs (#14521) kahsa 2022-05-25 17:23:56 +09:00
  • 31c234485a cgen: split keys and values in generated new_map_init calls into separate lines Delyan Angelov 2022-05-25 09:30:34 +03:00
  • e19ac0c4a7 checker: check fn call with argument mismatch (#14519) yuyi 2022-05-25 14:00:26 +08:00
  • 79a75c5ac0 parser: fix fmt error for json decode (#14520) yuyi 2022-05-25 13:59:22 +08:00
  • 0eb3f8854d fmt: fix file with just imports (fix #14267) (#14513) yuyi 2022-05-25 01:14:08 +08:00
  • f431020764 os: minor clean ups on filepath.v (#14506) Ben 2022-05-24 10:29:32 +02:00
  • f35f7fe997 fmt: fix using rand.seed() when import rand and rand.seed (#14511) yuyi 2022-05-24 16:21:49 +08:00
  • a5b98cb267 parser: check fn decl multi return types without parentheses (#14508) yuyi 2022-05-24 10:15:31 +08:00
  • 5ade39f8db cgen: fix sizeof('str') and sizeof(r'str') (#14507) yuyi 2022-05-24 10:14:38 +08:00
  • 953ef1f8c9 pref: add support for -dump-files - and for -dump-modules - Delyan Angelov 2022-05-23 19:48:27 +03:00
  • dda49fe735 v.builder: support -dump-c-flags with -cc msvc too Delyan Angelov 2022-05-23 18:19:34 +03:00
  • a3c0a9b791 checker: minor optimization in fn_call() and method_call() (#14503) weekly.2022.21 yuyi 2022-05-23 13:00:57 +08:00
  • 4ef9e2c05a parser: fix sizeof(c'str') (fix #14499) (#14502) yuyi 2022-05-23 06:59:39 +08:00
  • 863eeca2e0 checker: vfmt checker.v Alexander Medvednikov 2022-05-23 00:12:37 +03:00
  • 5e95bdc451 checker: allow but deprecate propagating result as option (#14500) Daniel Däschle 2022-05-22 23:11:29 +02:00
  • 7f03b89611 checker: check method call argument type mismatch (#14496) yuyi 2022-05-23 03:16:46 +08:00
  • ba859c584b builtin: add static GC support on Windows with TCC (#14497) spaceface 2022-05-22 20:25:46 +02:00
  • 5328dabad1 time: simplify some very commonly used t.format methods Delyan Angelov 2022-05-22 21:09:49 +03:00
  • e5ff2ab455 ci: run on all branches on forks (#14498) spaceface 2022-05-22 19:19:04 +02:00
  • 1f3336c9d3 checker: fix map get anon fn value with mut argument (fix #14479) (#14493) yuyi 2022-05-22 21:28:53 +08:00
  • 245d28d57a checker: c2v infix fix Alexander Medvednikov 2022-05-22 14:53:17 +03:00
  • d3ffd983c8 markused: add _result_ok (#14495) Daniel Däschle 2022-05-22 13:52:38 +02:00
  • 3647fb4def rand: move dist functions to top module and PRNG interface; minor cleanup (#14481) Subhomoy Haldar 2022-05-22 15:51:52 +05:30
  • 64a686f41f examples: speed up mandelbrot.v by using a constant size thread pool, processing smaller chunks Delyan Angelov 2022-05-22 11:11:49 +03:00
  • 50ab2cfd1a fmt: fix 'strings' name variable call generate auto import (fix #9713) (#14485) yuyi 2022-05-21 20:01:58 +08:00
  • 0ceb16f285 v.builder: use /NOLOGO, when building cached object files with msvc Delyan Angelov 2022-05-21 12:56:24 +03:00