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

Commit Graph

  • 2a03d22a37 ast: clean up table.find_or_register_fn_type() (#15560) yuyi 2022-08-27 14:32:03 +08:00
  • 0b843b801f checker: fix returning expression with void type (fix #15543) (#15554) ChAoS_UnItY 2022-08-27 14:00:14 +08:00
  • 70de4e1009 checker: fix no error on plus-assigning array (fix #15544) (#15552) ChAoS_UnItY 2022-08-27 04:11:23 +08:00
  • f45042fa09 checker: improve error message of fn args mismatch (#15550) yuyi 2022-08-27 03:38:53 +08:00
  • 329670431b v.pref: skip vlib/builtin/prealloc.c.v, when -prealloc is not passed (#15553) Delyan Angelov 2022-08-26 22:08:42 +03:00
  • a1e87664f4 ci: minimise work on commits/PRs, that affect only .yml files Delyan Angelov 2022-08-26 21:07:29 +03:00
  • 511cc2b267 ci: prevent native-backend jobs from separate PRs to cancel each other Delyan Angelov 2022-08-26 20:58:19 +03:00
  • e5c53cf412 native: match expr/stmt (#15537) lemon 2022-08-26 21:18:02 +09:00
  • 02a47f42f3 ast, parser, cgen: fix closure with nested closure variable (#15542) yuyi 2022-08-26 18:37:10 +08:00
  • 3af12271fb log: add target_from_label and unit tests (#15538) Subhomoy Haldar 2022-08-26 09:39:48 +05:30
  • b0e7ddfd97 checker: fix non-bool check on use of result bool (fix #15539) (#15540) ChAoS_UnItY 2022-08-26 12:08:57 +08:00
  • b83dd86d65 checker: check error for simple assignment with dumping of multireturn value (#15512) StunxFS 2022-08-26 00:08:05 -04:00
  • 939e9245db native: support integer infix arithmetics (#15536) lemon 2022-08-26 13:07:15 +09:00
  • dbf28c5bfb cmd/tools/where: check if parent already included vlib_dir (#15527) wahur666 2022-08-26 06:04:44 +02:00
  • fc9d2d5d5e cgen: cleanup generic_fn_name() (#15531) yuyi 2022-08-26 12:04:10 +08:00
  • 44137e07b0 datatypes: use generic op overloading for difference and equal (#15530) Swastik Baranwal 2022-08-26 09:33:23 +05:30
  • c10c8ff9e4 parser: fix anon struct name conflict (#15517) shove 2022-08-26 12:01:50 +08:00
  • 3eb6ad7b8c os: fix type in error message (#15533) tr00 2022-08-26 05:59:52 +02:00
  • 40c0a8cbaf parser, checker, cgen: implement generics anon fn (#15529) yuyi 2022-08-25 19:12:56 +08:00
  • 723b3d74ee datatypes: add array() method for LinkedList, DoublyLinkedList, Queue, and Stack (#15524) (#15525) shove 2022-08-25 19:12:39 +08:00
  • c662431cfd checker: check unsafe array assign (fix #9651) (#15515) yuyi 2022-08-25 13:52:13 +08:00
  • 86496aa191 cgen: fix array init with it (#15523) yuyi 2022-08-25 13:00:11 +08:00
  • 3ad22eb0dd checker: show a more detailed error for invalid declarations of generic methods on generic structs. Delyan Angelov 2022-08-24 13:17:59 +03:00
  • 4718b8b45a all: unify the displaying of compiler errors, using a common util.show_compiler_message/2 function. Delyan Angelov 2022-08-24 12:25:25 +03:00
  • 0d8b6ee7f2 checker: don't show manual memory warning twice (#15510) StunxFS 2022-08-24 02:08:35 -04:00
  • 6ff753745f smtp: send mail to multiple recipients. #15508 (#15509) shove 2022-08-24 01:50:41 +08:00
  • 3b42f18dee os: add input_password(prompt) and unit tests (#15507) Subhomoy Haldar 2022-08-23 20:47:38 +05:30
  • d08edf8cba vdoc: highlight generic struct everywhere (#15506) Swastik Baranwal 2022-08-23 17:51:26 +05:30
  • 3c23eebe51 ci: fix -fsanitize=address for c_array_test.c Delyan Angelov 2022-08-23 12:16:55 +03:00
  • 42c0bae9ce checker: check unknown array of fn type in struct field (#15502) yuyi 2022-08-23 16:15:25 +08:00
  • 9dd8228f91 arrays: move carray_to_varray from builtin, make it generic (#15503) Larpon 2022-08-23 10:12:50 +02:00
  • 2dde7ff5ba strconv: deprecate v_sprintf in favor of string interpolation Alexander Medvednikov 2022-08-23 09:52:59 +03:00
  • a758b6686c json: minor cleanup in json_test.v (#15501) yuyi 2022-08-23 12:59:50 +08:00
  • 196b5f8e3a checker: fix match expr with non last if expr (#15500) yuyi 2022-08-23 12:58:33 +08:00
  • 98c6dad887 make.bat: add a small delay between del v.exe and move v2.exe v.exe, to make CI runs more robust Delyan Angelov 2022-08-22 22:08:28 +03:00
  • d40d761e38 toml: support [toml: '...'] attributes (#15497) Larpon 2022-08-22 19:39:55 +02:00
  • dda475bcc8 builtin: add carray_to_varray, closes #15493 (#15499) Larpon 2022-08-22 19:15:54 +02:00
  • a689641c1b os: rewrite os.walk and os.walk_with_context to use iteration, instead of recursion weekly.2022.34 Delyan Angelov 2022-08-22 17:10:46 +03:00
  • 21917f5b00 os: small cleanup of needless r'\' usage Delyan Angelov 2022-08-22 16:32:37 +03:00
  • e156e6a44a os: remove commented code in os_windows.c.v Delyan Angelov 2022-08-22 14:54:38 +03:00
  • d7501cc9a1 cgen: fix if sumtype var is none (#15496) yuyi 2022-08-22 18:32:27 +08:00
  • 18b6311b2f cgen: fix match sumtyp var with none (#15495) yuyi 2022-08-22 18:31:35 +08:00
  • 8db945ec52 vpm: force v install to clone git submodules too (#15487) irishgreencitrus 2022-08-22 09:23:32 +01:00
  • 47e75c68a9 cgen: fix json.encode of a struct containing a field of an alias type of another struct (#15490) yuyi 2022-08-22 16:04:58 +08:00
  • f727433929 scanner: add check for invalid unicode (#15485) Swastik Baranwal 2022-08-22 13:26:51 +05:30
  • 6d501b073a datatypes: make Set's methods public (#15489) yuyi 2022-08-22 15:16:59 +08:00
  • 661d70a976 ci: run VLS tests with gcc on the main V repo too Delyan Angelov 2022-08-22 10:10:59 +03:00
  • 24e0a6cff2 checker: fix vls test compilation Delyan Angelov 2022-08-22 08:22:46 +03:00
  • 0d9ac1f59c checker: improve error message for test function definition (#15483) yuyi 2022-08-21 21:19:39 +08:00
  • f194d3ca2e checker: fix generic method with nested generic method (#15480) yuyi 2022-08-21 19:12:31 +08:00
  • 3656d445ab Revert "Revert "tools/fast: do not build V with -usecache"" Delyan Angelov 2022-08-21 10:40:27 +03:00
  • ad322f4eb0 Revert "tools/fast: do not build V with -usecache" Delyan Angelov 2022-08-21 08:56:05 +03:00
  • 0b41ff0c6a v.vcache, v.builder: use the module name inside the usecache paths (for more readable cache entries at a glance) (#15476) Delyan Angelov 2022-08-21 08:55:21 +03:00
  • a069577e9c builder: remove msvc code from non windows systems Alexander Medvednikov 2022-08-21 04:36:25 +03:00
  • 12265a15ed pref: temp hack to make -os cross work when building V Alexander Medvednikov 2022-08-21 05:12:58 +03:00
  • f97a4f1904 tools/fast: do not build V with -usecache Alexander Medvednikov 2022-08-21 04:40:32 +03:00
  • eb6627fe41 cgen: remove unneeded comments Alexander Medvednikov 2022-08-21 01:39:44 +03:00
  • 9932ed9b7e doc: add a Parameter evaluation order section (#15473) Delyan Angelov 2022-08-21 01:08:38 +03:00
  • c3568823ee tests: make vlib/time/private_test.v more robust/tolerant to small fluctuations Delyan Angelov 2022-08-20 13:56:10 +03:00
  • 499ab9bedb tests: make tcp_self_dial_from_many_clients_test.v more robust (use shared ctx) Delyan Angelov 2022-08-20 13:32:53 +03:00
  • eafbf335cf docs: improve vlib/vweb/README.md (#15146) Hitalo de Jesus do Rosário Souza 2022-08-20 06:06:24 -03:00
  • a1de8f5f98 vdoc: highlight variadic function parameters (#15474) Swastik Baranwal 2022-08-20 14:32:50 +05:30
  • 0645fe3322 parser: check generic struct init using multi return type (#15472) yuyi 2022-08-20 16:56:44 +08:00
  • 5cba5920d5 os: make find_abs_path_of_executable_test.v more robust (fix #15459) Delyan Angelov 2022-08-20 10:06:58 +03:00
  • 6062708c60 checker: fix comptime if generic value shift (#15471) yuyi 2022-08-20 13:15:52 +08:00
  • 46f32fc10c checker: require unsafe for free() Alexander Medvednikov 2022-08-20 08:03:07 +03:00
  • fa447443ca cgen: fix push on closed channel (#15468) yuyi 2022-08-20 00:27:42 +08:00
  • 6ed69289a8 tutorials: remove unnecessary json.encode (#15464) Alwin Arrasyid 2022-08-19 23:27:26 +07:00
  • f10ff0353e checker, fmt: check infix_expr with 'and' op (#15466) yuyi 2022-08-19 14:50:46 +08:00
  • 31067d4a6c ci: ignore changed .md files in native_backend_tests.yml Delyan Angelov 2022-08-19 09:49:17 +03:00
  • 1dc62a5a66 ast: fix string interpolation fmt with result call (#15467) yuyi 2022-08-19 14:44:59 +08:00
  • ea163197c7 cgen: fix shared optional (#15462) yuyi 2022-08-19 01:18:03 +08:00
  • 6d399c5116 checker: fix struct init with update expr (fix #9472) (#15460) yuyi 2022-08-19 00:39:41 +08:00
  • 22a79cfa1e v doc: add highlighting for new types and fix highlighting for edge cases (#15455) Swastik Baranwal 2022-08-18 20:36:55 +05:30
  • cd31108260 cgen: implement '#preinclude' (#15456) irishgreencitrus 2022-08-18 13:59:08 +01:00
  • 7227c1d508 scanner: fix false &&!ok1 (fix #7524) (#15458) yuyi 2022-08-18 16:55:38 +08:00
  • af8bd10761 v.pref: support v -trace-calls run file.v (#15450) Larpon 2022-08-18 10:45:37 +02:00
  • d3307fd2e3 cgen: minor cleanup in fn_var_signature() (#15454) yuyi 2022-08-17 23:42:46 +08:00
  • 7ed3389fa8 ci: fix -cstrict checks after 7585e86 Delyan Angelov 2022-08-17 18:40:15 +03:00
  • 18e737aee2 builtin,tests: fix int_test.v on macos, m1 Delyan Angelov 2022-08-17 17:18:10 +03:00
  • 7585e86868 os: reduce heap allocations done by os.real_path, os.executable, os.getwd Delyan Angelov 2022-08-17 17:06:38 +03:00
  • 0e62344043 tests: make private_test.v more tolerant to small delays Delyan Angelov 2022-08-17 16:24:19 +03:00
  • e1ebd90190 cgen: fix array of fixed array map/filter/any/all(it[0]) (fix #15422) (#15445) yuyi 2022-08-17 21:16:08 +08:00
  • 9887dd1fbf cgen: fix go call fn with anon fn argument (fix #10351, fix #10270) (#15446) yuyi 2022-08-17 21:12:52 +08:00
  • 70f466460f cgen: fix struct field name generation in auto free (#15440) ChAoS_UnItY 2022-08-17 14:11:58 +08:00
  • 374186f1f7 checker: fix fn call with mut array of aliases arguments (#15443) yuyi 2022-08-17 13:49:53 +08:00
  • d41b2be3a7 crypt: implement crypto.rand.read/1 for OpenBSD and FreeBSD (#15437) John 2022-08-17 00:41:27 -04:00
  • 8736f26a1c tutorials: simplify new_article() a bit Alexander Medvednikov 2022-08-16 22:19:58 +03:00
  • 9b9115471f datatypes: Set implementation (#14853) Vladimir Myshkovski 2022-08-16 21:23:48 +04:00
  • b08f500c60 cgen: fix fn_var_signature() when param type is function (#15436) yuyi 2022-08-17 01:21:58 +08:00
  • dc37386bcc cgen: minor optimization in return_stmt() (#15434) yuyi 2022-08-17 01:21:02 +08:00
  • 77fd1419a7 cgen: avoid another sizeof warning in generated code (#15435) Markus F.X.J. Oberhumer 2022-08-16 19:20:13 +02:00
  • 18cccb6caf builtin: show non zero codes on bubbled error_with_code(msg,code) errors Delyan Angelov 2022-08-16 18:21:28 +03:00
  • 66a3cdec6a cgen: add fn_var_signature(info ast.FnType, var_name string) string (#15433) yuyi 2022-08-16 17:57:33 +08:00
  • 3bc01d696d cgen: fix []u8 string representation (#15432) weekly.2022.33 Swastik Baranwal 2022-08-16 02:18:38 +05:30
  • 3aad5e2a8d cgen, checker: fix multi line return optional (#15428) Nikolai 2022-08-15 23:43:56 +03:00
  • 8be85e7590 cgen: fix shared map delete (#15431) yuyi 2022-08-16 04:42:57 +08:00
  • 26986eb2f8 tests: fix deprecation warning in tcp_test.v Delyan Angelov 2022-08-15 15:17:00 +03:00
  • 6fdcc5bcd0 checker, cgen: fix closure with fn variables (fix #15286) (#15427) yuyi 2022-08-15 11:52:08 +08:00
  • 90d9b200f9 gc: fix msvc not using libatomic_ops (#15418) Emily Hudson 2022-08-14 11:16:52 +01:00