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

Commit Graph

  • 7a4715288c checker: make the errors for call expression shared/mut mismatches more detailed Delyan Angelov 2022-03-16 22:45:22 +02:00
  • 7f62346213 cgen: fix error for if expr returning sumtype (#13752) yuyi 2022-03-16 21:43:17 +08:00
  • 315e07abf6 checker: minor cleanup in match_expr() (#13753) yuyi 2022-03-16 21:39:57 +08:00
  • 33167960ed checker: check the sumtype mismatch returned by match expr (#13751) yuyi 2022-03-16 15:31:38 +08:00
  • 57cba4d3f0 ast: minor cleanup in is_blank_ident() (#13748) yuyi 2022-03-16 15:30:37 +08:00
  • 089c93b613 x: add a mostly empty vlib/x/x.v file, to workaround a v doc bug Delyan Angelov 2022-03-15 20:18:14 +02:00
  • 49155ec312 parser: notice unnecessary parenthesis of reference (fix #11179) (#13739) yuyi 2022-03-15 22:11:53 +08:00
  • 92cafd8851 checker: check invalid 'mut' keyword in infix expr (#13742) yuyi 2022-03-15 19:50:17 +08:00
  • 1d83ab6be1 parser: check using invalid keyword with none ident (#13743) yuyi 2022-03-15 18:58:03 +08:00
  • 78b1cbefff builtin.wasm_bare: fix malloc invocation (#13740) playX 2022-03-15 13:55:39 +03:00
  • c5174c2c69 doc: fix minor typos in build-c (#13738) pancake 2022-03-15 07:14:46 +01:00
  • 34dd4f34ab checker: fix cgen error on sliced references (#13736) weekly.2022.11 Nick Treleaven 2022-03-14 17:52:37 +00:00
  • ea3c0166c0 ast: fix error for typeof aggregate (#13735) yuyi 2022-03-15 00:42:47 +08:00
  • d6eb6d5bae doc: update struct access modifiers (#13734) serg-meus 2022-03-14 23:38:36 +07:00
  • dbb18e3656 parser: fix error for match branch with array expression (#13733) yuyi 2022-03-14 22:19:05 +08:00
  • a1d0db792e native: initial support for typeof() expressions (#13730) pancake 2022-03-14 14:15:06 +01:00
  • a8f6574471 math: allow i64 in digits function and add count_digits function (#13729) kylepritchard 2022-03-14 08:41:01 +00:00
  • c8b0f51c13 builtin.wasm_bare: use walloc as malloc/free implementation (#13731) playX 2022-03-14 10:20:20 +03:00
  • 4d99157cd5 ci: add go2v build & test job to other_ci.yml Delyan Angelov 2022-03-13 19:03:35 +02:00
  • f7feb634d2 checker: fix error for if mut with immutable variable (#13728) yuyi 2022-03-13 22:33:50 +08:00
  • 9495aacf3e datatypes.fsm: add a fsm_graph.v tool (#13723) Mihai Galos 2022-03-13 10:40:03 +01:00
  • 424ef0b2b8 stbi: fixed panic when trying to load JPG (#13724) Adam Oates 2022-03-13 07:57:34 +00:00
  • 27f9bc9ba0 checker: check error for match mut with immutable variable (fix #9704 #8976) (#13725) yuyi 2022-03-13 15:53:29 +08:00
  • 83762fa4a4 native: align the disassembly/comment column in the -v -b native output Delyan Angelov 2022-03-12 11:08:32 +02:00
  • 40504e8600 rand: further bridge gap b/w rand module and PRNG interface (#13719) Subhomoy Haldar 2022-03-12 13:11:12 +05:30
  • a3e9409196 strconv: fix a double free bug in v_sprintf/remove_tail_zeros_old, reduce leaks Delyan Angelov 2022-03-11 18:54:28 +02:00
  • 795fe5844c strconv: fix strconv.v_printf() (#13716) yuyi 2022-03-11 23:00:57 +08:00
  • 10ab758aa7 ast: minor cleanup in pref_arch_to_table_language() (#13714) yuyi 2022-03-11 20:56:48 +08:00
  • 8dc4b1d9a3 builtin: use malloc_noscan more (for map metas and in []byte.hex()) Delyan Angelov 2022-03-11 11:07:00 +02:00
  • 1993bf2a12 parser: cleanup map syntax (#13713) yuyi 2022-03-11 17:15:52 +08:00
  • c1c3ae2a18 parser: minor cleanup in fn_args() (#13711) yuyi 2022-03-11 16:42:03 +08:00
  • 3f351036a2 parser: fix error for fn with type only argument (fix #13704) (#13709) yuyi 2022-03-11 04:52:06 +08:00
  • dd06698ee3 ast: rename TypeSymbol.is_public to TypeSymbol.is_pub (#13710) yuyi 2022-03-11 04:18:57 +08:00
  • f3388df577 ci: fix dump_expression.vv when v is actually vprod (-‸ლ) Delyan Angelov 2022-03-10 18:12:03 +02:00
  • e8c8f0e7c0 v.ast: fix dump(os.real_path(Makefile)) printing main.os.real_path Delyan Angelov 2022-03-10 11:11:09 +02:00
  • 4bea35b028 vlib/arrays: fix copy to not use memcpy for array, map, string (#13703) Nick Treleaven 2022-03-09 22:30:51 +00:00
  • de2fc87995 os: handle trailing backslash on windows path when quoting (#13705) JalonSolov 2022-03-09 17:29:37 -05:00
  • 7231a3f135 vlib: add mut for the first parameter of builtin.copy, arrays.copy and crypto (#13702) Nick Treleaven 2022-03-09 18:26:00 +00:00
  • 4c33003f86 checker: check error for infix compare optional (#13701) yuyi 2022-03-10 02:20:21 +08:00
  • 54de04a916 arrays: improve fold/reduce docs (#13700) Nick Treleaven 2022-03-09 18:04:49 +00:00
  • 6c7243f2f7 checker: remove redundant 'c.expected_type = ast.void_type' (#13687) yuyi 2022-03-09 18:33:23 +08:00
  • d5b087de10 vlib: add a datatypes.fsm module (#13668) Mihai Galos 2022-03-09 11:14:54 +01:00
  • 3f1e232c9b native: support comparing two idents and avoid printing idents (#13686) pancake 2022-03-08 18:52:30 +01:00
  • 10474f35f6 net.http: clarify error message in Request.ssl_do Delyan Angelov 2022-03-08 18:17:34 +02:00
  • 137fade014 Makefile: support CFLAGS and LDFLAGS for the vc/v.c to v bootstrap. weekly.2022.10 Delyan Angelov 2022-03-08 14:48:20 +02:00
  • 3fe8204062 checker: fix if expr with enum value (#13685) yuyi 2022-03-08 17:55:17 +08:00
  • f6aba9a3fe util: make check_module_is_installed more robust to ~/.vmodules paths with spaces Delyan Angelov 2022-03-08 11:33:03 +02:00
  • cea3149369 checker: fix match expr with enum type value (#13683) yuyi 2022-03-08 15:50:17 +08:00
  • 17fcc788f2 arrays: add generic copy fn (#13677) Nick Treleaven 2022-03-08 07:44:04 +00:00
  • beb1b8ce1b tools: add v scan file.v Delyan Angelov 2022-03-07 18:07:14 +02:00
  • b20c911d3e native: generate relocatable ELFs and support relative strings (#13671) pancake 2022-03-07 17:24:01 +01:00
  • 0fd4c699dd tools: modify .gitattributes to categorize *.vsh and v.mod files properly (#13674) Subhomoy Haldar 2022-03-07 21:45:18 +05:30
  • e6270b05dc checker: check unsigned integer compared with negative value (#13670) yuyi 2022-03-07 16:26:40 +08:00
  • 36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) Alexander Medvednikov 2022-03-06 20:01:22 +03:00
  • f74b65b63f docs: change term.input to term.ui in vlib/term/README.md Delyan Angelov 2022-03-06 15:50:22 +02:00
  • c8e33ad219 cgen: fix error for array of reference auto_str (#13665) yuyi 2022-03-06 18:15:31 +08:00
  • b0f651bf81 sync: enable tcc compilation of sync programs on Amazon Linux 2 (and other Red Hat distros like CentOS) by default (#13664) Delyan Angelov 2022-03-05 19:13:47 +02:00
  • 6380b9eb15 cgen: minor cleanup of struct.v (#13661) yuyi 2022-03-05 23:19:20 +08:00
  • 22fda7c3dd cgen: fix error for time struct init with update (#13660) yuyi 2022-03-05 19:28:48 +08:00
  • 8136157f87 checker: fix error for 'or expr with nested match expr' (#13658) yuyi 2022-03-05 19:06:08 +08:00
  • 0e5ae7126f x/json2: fix decoder errors (#13655) Ned 2022-03-05 19:02:43 +08:00
  • 3ef437e679 sokol: reorder and add missing funcs (#13652) kahsa 2022-03-04 20:39:38 +09:00
  • 437fa02f27 x.json2: add customized JSON output capability via Encoder (#13654) Ned 2022-03-04 19:39:23 +08:00
  • 74d5106e8f cli: print cli errors in red where possible (#13647) Hunam 2022-03-04 11:28:11 +01:00
  • f70e5bd69b parser: check assign expr with undefined variable (#13653) yuyi 2022-03-04 16:33:14 +08:00
  • 63b41e67fa v.parser: change body_start_pos to function declaration's lcbr, resolve #13642 (#13646) ChAoS_UnItY 2022-03-04 01:51:27 +08:00
  • 9cc73fd0f8 docs: fix the .vsh doc example (#13645) Devin Bayer 2022-03-03 18:47:05 +01:00
  • 4331d6dea0 v.builder: only add /DEBUG:FULL when -cflags does NOT contain custom /DEBUG options (#13643) Delyan Angelov 2022-03-03 16:47:41 +02:00
  • a98eebde7f checker: add a notice for potentially incorrect smartcasts (#13644) yuyi 2022-03-03 22:36:40 +08:00
  • 1e76cccd48 doc: add a struct reference example (#13638) kahsa 2022-03-03 20:20:49 +09:00
  • ac1b31dbba checker: fix error for array of interface init in for_in (#13636) yuyi 2022-03-03 18:32:55 +08:00
  • 3364f2aadf cgen: use ADDR for sumtype conversion instead of HEAP (fix regression after 7f8f571) Delyan Angelov 2022-03-03 11:44:24 +02:00
  • 288b13b51d all: cleanup smartcasts in the compiler (#13639) yuyi 2022-03-03 16:48:31 +08:00
  • 4e7db5bab0 v.builder: streamline get_os_cflags/0, use pref.os_from_string to centralise string -> v.pref.OS conversion Delyan Angelov 2022-03-03 10:43:50 +02:00
  • 6a3d34ae11 checker: fix #13626, when unwrapped type is fixed array, and selector expr is 'len' (#13627) ChAoS_UnItY 2022-03-03 02:46:18 +08:00
  • 57c6454656 ci: bump timeout-minutes to 30 for 'Bootstraping works' job Delyan Angelov 2022-03-02 19:51:40 +02:00
  • 36e80266e6 ast: fix error for 'for smartcast' - part 2 (#13635) yuyi 2022-03-02 22:01:20 +08:00
  • ffe6ff3cc8 cgen: fix error for print smartcast variable (#13634) yuyi 2022-03-02 18:32:54 +08:00
  • 22017ff8f4 parser: fix error for 'for smartcast' - part 1 (#13629) yuyi 2022-03-02 18:18:03 +08:00
  • 7f8f571ed2 cgen: fix error for optional cast to interface (#13623) yuyi 2022-03-02 01:21:55 +08:00
  • 6d57315aca net: fix html dom debug print (#13625) kahsa 2022-03-02 02:20:40 +09:00
  • aa633dab41 utf8: fix typo in utf8_util.v (#13624) Ikko Ashimine 2022-03-02 02:06:48 +09:00
  • fd91811fe2 v.util: add set_source_for_path/2 to enable external tools to use util.formatted_error on pathless sources Delyan Angelov 2022-03-01 18:55:25 +02:00
  • 996bd41ce8 checker: simplify for smartcast in for_stmt() (#13619) yuyi 2022-03-01 18:31:48 +08:00
  • 3b6e122d9d all: comptime_call - update tmpl scope vars with caller scope vars after their properties got updated in checker Joe Conigliaro 2022-03-01 02:13:29 +11:00
  • 0028e557f9 checker: cleanup smartcast in checker.v (#13618) yuyi 2022-02-28 23:06:37 +08:00
  • 9a2df0df0e cgen: fix fn mut argument of interface type (#13616) weekly.2022.09 yuyi 2022-02-28 19:31:04 +08:00
  • 013589e9fe parser: minor cleanup in global_decl() (#13617) yuyi 2022-02-28 19:30:17 +08:00
  • a0d9e6e1c2 rand: extend PRNG interface, add buffering support (#13608) Subhomoy Haldar 2022-02-28 16:47:54 +05:30
  • efeb3e04da ast: add table.is_sumtype_or_in_variant() (#13615) yuyi 2022-02-28 16:38:20 +08:00
  • 81c787ef91 checker: fix match expr with assign sumtype variable (#13614) yuyi 2022-02-28 16:37:59 +08:00
  • bc16c61f6f parser: check using 'mut' on fn_decl return type (#13610) yuyi 2022-02-27 20:23:43 +08:00
  • 0fb1eaef04 parser: check the redefinition of built-in IError (#13606) yuyi 2022-02-26 15:52:40 +08:00
  • 4215bb125c examples: improve the sendbus example (#13604) Mihai Galos 2022-02-26 08:50:44 +01:00
  • 0d9792bdf2 ast: cleanup in find_method_with_generic_parent() (#13600) yuyi 2022-02-26 07:11:56 +08:00
  • d80f5165dd fmt: keep trailing comments after fn header decl (#13596) Larpon 2022-02-25 14:36:48 +01:00
  • 83ea97b1a3 parser: fix optional expr with array value (#13599) yuyi 2022-02-25 20:54:12 +08:00
  • 73f931b52e fmt: improve single line const comment placement (#13595) Larpon 2022-02-25 13:46:12 +01:00
  • 9535d38645 ci: fix concurrency.group name for containers_ci.yml Delyan Angelov 2022-02-24 16:00:50 +02:00
  • fa645516c3 crypto: implement Output Feedback (OFB) Mode for AES and DES (#13583) Bastian Buck 2022-02-24 13:38:21 +01:00