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

Commit Graph

  • f922ed0941 tests: unify all temporary files/folders under $VTMP/v, that can be cleaned by v wipe-cache (#15774) Delyan Angelov 2022-09-16 04:56:19 +03:00
  • 7e69619add builtin, compiler: replace isnil(x) calls with x == unsafe { nil } (a little faster without -prod) (#15759) Delyan Angelov 2022-09-15 14:59:37 +03:00
  • f09197b972 cgen: fix printing and dumping of struct having referenced interface as field (#15765) Swastik Baranwal 2022-09-15 15:13:23 +05:30
  • 566a61b136 checker: fix check omission in cast string to char. (fix #15760) (#15764) shove 2022-09-15 14:33:38 +08:00
  • 8b962f8446 checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) shove 2022-09-15 12:59:31 +08:00
  • 5719344653 checker: fix struct init with update of mutable receiver (#15758) yuyi 2022-09-15 00:46:05 +08:00
  • ea4152ee14 checker: add a test for fn call arg of fn pointer mismatch (#15757) yuyi 2022-09-14 22:46:07 +08:00
  • fd1b3fc861 cgen: fix error of 'in array of sumtype' (#15756) yuyi 2022-09-14 22:43:16 +08:00
  • 0b2841d4ea docs: add nested map example. Closes #15751 (#15753) Larpon 2022-09-14 09:32:09 +02:00
  • ac64318890 checker: check casting array to number (#15750) yuyi 2022-09-14 01:41:20 +08:00
  • 840370f345 cgen: minor optimization in if_expr() (#15748) yuyi 2022-09-13 19:56:09 +08:00
  • a3d6a9349d cgen: make go func with array type work (#15747) Swastik Baranwal 2022-09-13 17:23:43 +05:30
  • f51384c402 cgen: modify the temporary variable name of the previous pr 15744 (#15745) shove 2022-09-13 17:11:03 +08:00
  • 7cff7fb828 cgen: fix f as Fun, where f is type Expr = Fun | int, and struct Fun { f fn (int) int }. (fix #15730) (#15744) shove 2022-09-13 15:19:58 +08:00
  • adc3b25f52 checker, cgen: fix nested if expr with optional or result (fix #15735) (#15743) yuyi 2022-09-13 15:09:12 +08:00
  • e51f0be6db checker: check taking the address of map field outside unsafe block (#15737) yuyi 2022-09-13 15:04:21 +08:00
  • ac6167565e docs:Update docs.md to include instructions on upgrading V (#15733) weekly.2022.37 Sanath Kumar U 2022-09-12 20:56:10 +05:30
  • 17b54cde97 checker: fix match with complex sumtype exprs that adding print (#15728) yuyi 2022-09-12 18:55:34 +08:00
  • b4494f921a ast: fix dumping sumtype of fntype (#15734) yuyi 2022-09-12 18:45:29 +08:00
  • 550b27b014 checker: fix recursive define check is missing when defining sumtype. (fix #15684) (#15718) shove 2022-09-11 20:17:38 +08:00
  • be0dc0e537 checker: fix check omission in cast string to ptr. (fix #14921) (#15721) shove 2022-09-11 18:54:56 +08:00
  • 3e599a1436 ci: ignore vlib/v/tests/inout/vscript_using_generics_in_os.vsh in v test-cleancode on windows for now Delyan Angelov 2022-09-11 11:18:01 +03:00
  • 8b5f3aa970 checker: fix inner functions are called before definition. (fix #15673) (#15719) shove 2022-09-11 16:10:47 +08:00
  • aa3651fa58 native: add initial implementation of simple structs (#15722) lemon 2022-09-11 17:05:12 +09:00
  • e03ca2026b checker: fix generic fns usage in implicitly imported os in .vsh script mode Delyan Angelov 2022-09-11 10:40:55 +03:00
  • 7eb36789ac checker, cgen: fix nested match expr with optional or result type (#15717) yuyi 2022-09-10 16:44:22 +08:00
  • bce1039c9c cgen: fix missing type name when anonymous struct is used as parameter. fix #15698 (#15699) shove 2022-09-10 14:35:42 +08:00
  • b429aad63b native: add struct representing elf headers (#15716) Spydr 2022-09-10 08:29:46 +02:00
  • f249feb9da orm: support parenthesized expressions as in select from User where (name == 'Sam' && is_customer == true) || id == 1 (#15693) Louis Schmieder 2022-09-09 20:08:48 +02:00
  • 61a4b469a3 cgen: fix nested match expr with optional or result (#15713) yuyi 2022-09-09 23:23:56 +08:00
  • e7725bb340 ci: enable again failing on Doom visual mismatches. Increase Xvfb screen size in c2v.yml (better see Doom screenshots when there is a difference) Delyan Angelov 2022-09-09 17:48:59 +03:00
  • ca36284612 fmt: fix anonymous struct in parameter with invalid type name. fix #15696 (#15711) shove 2022-09-09 19:44:49 +08:00
  • 6db5781d53 checker: add checks for .map(opt_fn_name) and .filter(opt_fn_name) (#15687) Swastik Baranwal 2022-09-09 14:54:57 +05:30
  • 0f3a395ca2 checker, cgen: fix if expr with result (#15709) yuyi 2022-09-09 16:29:21 +08:00
  • 71f5f7f3a7 cgen: fix if expr with fn call result (#15702) yuyi 2022-09-09 03:39:49 +08:00
  • ec2ca38adb checker, cgen: fix match expr with result (#15706) yuyi 2022-09-09 02:24:16 +08:00
  • 1738641567 cgen, checker, ast: add syntax support for reference x in for x in &somearrary { and for x in &somemap { loops (#15678) Ken 2022-09-08 19:36:40 +09:00
  • 9641ced901 vweb.csrf: add a README.md, correct doc comments for public functions (#15697) flopetautschnig 2022-09-08 12:20:29 +02:00
  • 5c900e23de cgen: fix const aliases of bytes fixed array (#15701) yuyi 2022-09-08 18:19:02 +08:00
  • fc8e3d0971 builtin,strconv: speedup str.int() conversions (without -prod) Delyan Angelov 2022-09-08 11:09:13 +03:00
  • a462610376 ast: minor optimization in sumtype_check_function_variant() (#15694) yuyi 2022-09-08 14:20:30 +08:00
  • a75a12ec1e checker: fix const variable type error when global variable with the same name exists (fix #15686) (#15689) shove 2022-09-08 00:06:45 +08:00
  • 7672725204 net: fix typo (#15688) Emin Arıcan 2022-09-07 16:35:28 +03:00
  • 8627af18dd table: check sumtype of fntype assign error (#15685) yuyi 2022-09-07 21:05:38 +08:00
  • 2693935066 checker: check non generic struct used like a generic one (#15690) yuyi 2022-09-07 19:53:43 +08:00
  • c5ed179e76 arrays: remove deprecation from arrays.concat/2; it is a useful abstraction for operating on immutable arrays Delyan Angelov 2022-09-07 13:25:33 +03:00
  • 21b2a9841a examples: js_dom_draw_bechmark_chart (#15518) Hitalo Souza 2022-09-06 19:55:32 -03:00
  • ca99a1d355 cgen: fix sumtype with fntype using fn directly (fix #15674) (#15679) yuyi 2022-09-07 01:33:39 +08:00
  • 1c63ce479c vweb: adding a vweb.csrf protection module (#15586) weekly.2022.36 flopetautschnig 2022-09-06 12:18:39 +02:00
  • 95a328be98 orm: improve the README and the tests. Add an error message for foreign key tags (#15670) Hitalo Souza 2022-09-06 07:12:37 -03:00
  • e3d3863fbe cgen: refactor need_tmp_var_in_expr/match() (fix #15675) (#15676) yuyi 2022-09-06 18:09:28 +08:00
  • 862d91ed0a checker: check for name conflicts between const and __global variables (fix #15668) (#15669) shove 2022-09-05 23:58:30 +08:00
  • 6fd22531a9 cgen: fix if expr with index expr (#15666) yuyi 2022-09-05 23:55:53 +08:00
  • d649f5aff4 checker, cgen: fix go call fn using map value (#15665) yuyi 2022-09-05 22:16:28 +08:00
  • 90c2c5b8a4 token: add @FILE_LEN (#15661) Seven Du 2022-09-05 22:00:35 +08:00
  • d0d5f1d4e0 cgen: fix fn variable name using reserved c word (fix #15647) (#15648) yuyi 2022-09-04 22:50:41 +08:00
  • 436b19c408 checker: add error for mismatched types and format character for string interpolation (#15639) Swastik Baranwal 2022-09-04 16:45:26 +05:30
  • 78998a09e4 cgen: fix go call anon fn with closure (#15656) yuyi 2022-09-04 19:03:24 +08:00
  • 57802aaffc ci: install xsel and xclip on the jobs where imgur.sh is used Delyan Angelov 2022-09-04 13:46:27 +03:00
  • 0d0c2b278d vgret: add region support (#15651) Larpon 2022-09-04 12:39:10 +02:00
  • 45e21bc311 os: remove private unix_environ() helper function, it is not needed anymore (#15654) jrfondren 2022-09-04 05:22:38 -05:00
  • 0c84ad847e cgen: fix match expr with optional (#15658) yuyi 2022-09-04 18:21:16 +08:00
  • cee8b38221 ci: disable job failure on doom picture regressions for now Delyan Angelov 2022-09-04 13:04:02 +03:00
  • dd78620b31 cgen: fix [packed] struct support for tcc Delyan Angelov 2022-09-04 07:13:53 +03:00
  • 5e1a2f6f50 checker: check if guard with multiple return variable (#15646) yuyi 2022-09-03 15:56:46 +08:00
  • a5aad6f791 cgen: fix alias of map delete (#15644) yuyi 2022-09-03 15:41:53 +08:00
  • 1ef95fdec6 cgen: fix assert value is '*unknown value*' (#15645) yuyi 2022-09-03 15:38:27 +08:00
  • 4bd49a0149 ci: run more tests on the FreeBSD Cirrus runner (#15602) Davide Beatrici 2022-09-01 20:56:43 +02:00
  • 42e582804e checker: check fn variadic passing arg error (fix #15629) (#15632) yuyi 2022-09-02 02:24:24 +08:00
  • bfdd6f1cf8 csv: minor cleanup in writer.v (#15633) yuyi 2022-09-02 02:23:18 +08:00
  • 728b198384 os: extract dir_expansions_test.v from os_test.v Delyan Angelov 2022-09-01 13:06:13 +03:00
  • 0cc0e87051 time: use linux_utc() and linux_now() on freebsd too (more precise, and fixes time_test.v) Delyan Angelov 2022-09-01 09:54:20 +00:00
  • 23e8fca4f9 native: fix order and add missing path in find_o_path() (#15622) Davide Beatrici 2022-09-01 09:21:35 +02:00
  • 95760ae82a CHANGELOG.md: fix typo (paralell -> parallel) (#15621) Wertzui123 2022-09-01 08:26:05 +02:00
  • 5e8f9b11c9 checker: check casting voidptr to generic struct (fix #15618) (#15626) yuyi 2022-09-01 14:22:37 +08:00
  • f2f6ea5969 V 0.3.1 0.3.1 Alexander Medvednikov 2022-08-31 19:24:45 +03:00
  • fef26a0b19 fmt: fix striping modules prefix in orm (#15005) Louis Schmieder 2022-08-31 18:23:36 +02:00
  • 806c39d46e parser: fix error for match sumtype with fntype (#15620) yuyi 2022-08-31 23:44:12 +08:00
  • 6110373519 orm: init or implementation (#14989) Louis Schmieder 2022-08-31 13:43:20 +02:00
  • bc06866b20 make: add clock_gettime on macOS < 10.12 (fix #6605) (#15611) Haren S 2022-08-31 08:03:25 +00:00
  • 4d6b8cbfd8 cgen: fix casting sumtype as fntype (#15612) yuyi 2022-08-31 15:45:47 +08:00
  • 64f403e997 cgen: fix dumping shared variable (#15615) yuyi 2022-08-31 15:42:28 +08:00
  • 56135dbdbc cgen: fix printing reference enum (#15606) weekly.2022.35 yuyi 2022-08-30 19:24:48 +08:00
  • ba1045e5fd parser: deprecate inline sum types Alexander Medvednikov 2022-08-30 13:18:22 +03:00
  • b154af032b parser: fix sumtype with multi fntype (fix #15557) (#15583) yuyi 2022-08-30 17:48:25 +08:00
  • 5d4492ac6f checker: check cast to reference struct (fix #15590) (#15601) yuyi 2022-08-30 16:42:21 +08:00
  • a9b54e9b98 cgen: add __addr (bootstraps #14818) (#15585) crthpl 2022-08-30 00:28:47 -07:00
  • 2221dd7058 native: support fncall with 7↑ arguments (#15599) lemon 2022-08-30 16:24:37 +09:00
  • 0876cf86ed cgen: fix struct init with update expr (fix #15595) (#15603) yuyi 2022-08-30 14:22:14 +08:00
  • e355ae7b3c checker: check generics struct field type error (#15593) yuyi 2022-08-29 21:55:26 +08:00
  • 9703410391 vfmt: fix formatting of submodules with common prefixes (fix #15582) Delyan Angelov 2022-08-29 15:30:50 +03:00
  • 1915bf81d0 ci: use ubuntu-latest for toml tests (#15591) Larpon 2022-08-29 11:43:50 +02:00
  • f285ebd91c smtp: add base64 encoding to the body of the emails and use utf8, to prevent format confusion (#15589) shove 2022-08-29 14:19:46 +08:00
  • 72056f36d8 cgen: fix cross assign of fixed array (#15587) yuyi 2022-08-29 13:50:19 +08:00
  • f23ebb6815 docs: "in over a" -> "in a" (#15576) Larpon 2022-08-28 19:51:45 +02:00
  • ad76c9c719 checker: fix illegal result propagate on non-result type (fix #15574) (#15578) ChAoS_UnItY 2022-08-28 18:31:45 +08:00
  • 258ff73efd encoding.csv: re-encapsulate fields in Writer/Reader (fix #15558) (#15570) ChAoS_UnItY 2022-08-28 16:13:43 +08:00
  • 797bdd5e98 vweb: document the .query field (#15572) Hitalo de Jesus do Rosário Souza 2022-08-28 03:55:18 -03:00
  • 06e153d429 ast, cgen: implement sumtype with fntype partly (related #15557) (#15567) yuyi 2022-08-28 14:12:08 +08:00
  • d75c62b806 checker: allow + operator overrides for type aliases Delyan Angelov 2022-08-27 11:54:49 +03:00