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

Commit Graph

  • 5eb331ed89 cgen: fix option ptr printing (#17651) Felipe Pena 2023-03-16 08:02:39 -03:00
  • 7e8723d603 cgen: fix multi return assignment with option (#17676) Felipe Pena 2023-03-16 07:59:49 -03:00
  • 93a2ffa9ef cgen: fix fixed array assignment from unsafe block (#17647) Felipe Pena 2023-03-15 15:30:49 -03:00
  • 39e80afab0 checker: fix missing check for wrong assignment: non-option to option type (#17628) Felipe Pena 2023-03-15 15:24:36 -03:00
  • d290f432d1 ast: clean up resolve_init() (#17663) yuyi 2023-03-15 23:20:04 +08:00
  • 2656ce9522 checker: fix missing check for [export] attr on a fn, without parameter (#17653) Felipe Pena 2023-03-15 12:17:45 -03:00
  • aa50f4ebf7 checker: clean up sum_type_decl() (#17669) yuyi 2023-03-15 22:56:41 +08:00
  • 2e7dd8543a ci: fix failing vlang/vpm test jobs Delyan Angelov 2023-03-15 16:54:16 +02:00
  • 8e9e91be7e builder: add a separate ALL_FRONT_STAGES timing metric Delyan Angelov 2023-03-15 15:13:00 +02:00
  • b71c131678 cgen: fix map with comp-time reflection, improve comptime var handling (#17603) Felipe Pena 2023-03-14 08:49:29 -03:00
  • 2643d6645f ast, parser, cgen: fix generic struct init with inconsistent generic types (#17639) yuyi 2023-03-14 19:24:52 +08:00
  • cb7e25e47e sokol.gfx: update the C.sg_pass_attachment_desc declaration to match the one from the Sokol headers weekly.2023.11 Delyan Angelov 2023-03-14 09:02:03 +02:00
  • 618c92a13b urllib: change Values.get to return an option type (#17636) Heptalon 2023-03-14 07:44:40 +01:00
  • daa9034583 os: return the long path for os.temp_dir() on windows, even for folders like c:\someth~1 (#17623) Delyan Angelov 2023-03-14 00:51:52 +02:00
  • d1d26893f5 parser: fix option struct init decl with module prefix (#17615) Felipe Pena 2023-03-13 19:50:06 -03:00
  • f18cc6ebb0 vfmt: remove spurious src. prefix, from import name becoming import src.name (#17633) Artem Yurchenko 2023-03-13 23:00:41 +01:00
  • 42732138c6 v: support -ldflags in addition to -cflags (allow adding C options *after* other C option, similar to LDFLAGS) (#17630) Delyan Angelov 2023-03-13 21:38:48 +02:00
  • 9ad1c2f922 checker: fix missing option function field checking (#17601) Felipe Pena 2023-03-13 11:05:56 -03:00
  • 733ac05bbd roadmap: c2v, autofree Alexander Medvednikov 2023-03-13 14:51:58 +01:00
  • d00237f02c cgen: fix code generated to option fn (fix #17604) (#17614) Felipe Pena 2023-03-13 06:56:13 -03:00
  • 4ba7ad9446 tools: make v doctor more informative Delyan Angelov 2023-03-13 11:44:03 +02:00
  • 5cb1f8965a cgen: fix option struct init with reference option (#17617) yuyi 2023-03-13 15:58:45 +08:00
  • 0bd094292f v: add support for _qnx.c.v overriding _default.c.v (#17611) Thomas Mangin 2023-03-12 17:48:36 +00:00
  • 3197ec1a41 v: add compile-time enum evaluation with $for item in MyEnum.fields { dump(item.value) dump(item.name) } (#17517) Felipe Pena 2023-03-12 07:46:54 -03:00
  • b2a71ecab2 pref: support v -e "println(2+5)" (#17605) Delyan Angelov 2023-03-12 01:42:36 +02:00
  • 95a9f0e29b ast, parser, fmt: fix fmt error of infix expr with comments (fix #17560) (#17583) yuyi 2023-03-12 07:07:13 +08:00
  • 8490ea318b readline: add more readline support to macos too (not simply os.get_raw_line based, but arrow key navigation, history etc too) (#17602) Thomas Mangin 2023-03-11 23:06:35 +00:00
  • f02b423f80 builtin: string test refactor, string functions inlining (#17598) ChAoS_UnItY 2023-03-12 02:44:45 +08:00
  • ddcc22fe08 checker: fix parenexpr checking on assignment (#17593) Felipe Pena 2023-03-11 09:56:47 -03:00
  • dc24df9510 cbuilder: change order of functions to improve readability Alexander Medvednikov 2023-03-11 14:19:18 +03:00
  • 6e4dc82f28 sync: fix error of empty struct channel (fix #17556) (#17597) yuyi 2023-03-11 18:02:51 +08:00
  • a98376025e checker: fix missing re-check of recursive generic function (fix #16962) (#17592) Felipe Pena 2023-03-11 06:57:41 -03:00
  • 48a03a4874 checker: check wrapped Option types before comparison (#17590) Swastik Baranwal 2023-03-11 14:46:12 +05:30
  • b691e1e24a checker: check struct embed required field (#17595) yuyi 2023-03-11 17:12:26 +08:00
  • 0370116562 readme: add section about editor plugins and IntelliSense (#17596) Petr Makhnev 2023-03-11 13:00:10 +04:00
  • 9fa49da9d5 builtin: add rsplit functions (#17577) ChAoS_UnItY 2023-03-11 07:07:02 +08:00
  • ee4150f213 v: add a $Option comp-time type, to enable: $for f in Test.fields { $if f.typ is $Option { } } (#17546) Felipe Pena 2023-03-10 07:17:25 -03:00
  • 09c9cbcef9 cgen: fix assign option value using propagate option (#17578) yuyi 2023-03-10 17:30:46 +08:00
  • 038fa6c8ab checker: remove warning of casting same reference type (#17579) yuyi 2023-03-10 17:07:09 +08:00
  • 368604f9a5 docs: fix some minor mistakes (#17582) jmdyck 2023-03-10 04:04:14 -05:00
  • 23e385ee8a json: fix json decode/encode with option type (#17393) Felipe Pena 2023-03-10 05:49:26 -03:00
  • b42a3f43a5 crypto, math: change option to result (#17580) yuyi 2023-03-10 16:31:05 +08:00
  • 32d09544d7 cgen, checker: fix dump() to return option values (#17563) Felipe Pena 2023-03-09 15:29:25 -03:00
  • 71c3b66ecf datatypes: fix linked list of map (fix #17570) (#17573) yuyi 2023-03-09 21:26:01 +08:00
  • d353dd6e8a cgen: fix selector accessing field (#17567) Felipe Pena 2023-03-09 10:24:43 -03:00
  • 737e7f6410 cgen: fix generic array of alias (#17571) yuyi 2023-03-09 20:57:14 +08:00
  • 638805be63 cgen: fix code for unwrap option on print (#17545) Felipe Pena 2023-03-08 16:55:19 -03:00
  • 785546f277 json2: fix decode result with option fields (#17561) Felipe Pena 2023-03-08 16:54:28 -03:00
  • b19052949f cgen: fix array initialization with options (#17562) Felipe Pena 2023-03-08 16:54:00 -03:00
  • a0b3379d4a cgen: fix fn option-only return print (#17547) Felipe Pena 2023-03-08 16:53:23 -03:00
  • e253256c30 cgen: fix option unwrap on assignment (#17551) Felipe Pena 2023-03-08 16:52:24 -03:00
  • ae6a48c0e3 all: rename it to index in array inits (#17543) ChAoS_UnItY 2023-03-09 03:51:45 +08:00
  • 2597efa7f6 cgen: fix struct initialization with option value (#17539) Felipe Pena 2023-03-07 17:53:56 -03:00
  • b4f0bb247d cgen: fix default initialization of option array with none values (#17536) Felipe Pena 2023-03-07 17:53:07 -03:00
  • b6c4e88462 checker: check error of casting to interface (fix #17522) (#17531) yuyi 2023-03-08 04:49:53 +08:00
  • b85f71d00f cgen: fix default init value for an array of option (#17538) Felipe Pena 2023-03-07 15:04:16 -03:00
  • 792b822091 cgen: fix dump(option_value) inside a generic function (#17537) Felipe Pena 2023-03-07 13:13:19 -03:00
  • 32751440b6 checker: fix missing check for none type on or block on non-option (#17529) Felipe Pena 2023-03-07 13:11:03 -03:00
  • 68cab00ded cgen: fix or-block with return void statement (#17527) Felipe Pena 2023-03-07 11:01:46 -03:00
  • 9826310882 cgen: fix struct initialization for nested option struct (fix #17524) (#17525) Felipe Pena 2023-03-07 05:30:45 -03:00
  • 1e416de627 checker: fix const init with comptime (#17528) Felipe Pena 2023-03-07 05:15:46 -03:00
  • 784592af83 os: fix typo in os.v (#17519) Ikko Eltociear Ashimine 2023-03-07 16:30:37 +09:00
  • 6e670ec908 v: support interface field compile time reflection (#17503) ChAoS_UnItY 2023-03-07 14:52:40 +08:00
  • d7a418fbb5 pref: no-skip-unused weekly.2023.10 Alexander Medvednikov 2023-03-06 14:13:29 +01:00
  • 65a627d72b checker: allow aa := AA{}, when AA has an option field, that is a struct, that has a [required] tag on its fields (#17516) yuyi 2023-03-06 16:16:05 +08:00
  • 77b6bc1c1a net.websocket: fix a typo (allready -> already) (#17512) Wertzui123 2023-03-06 09:05:17 +01:00
  • 7de3485bd2 cgen: fix multi return with option type (#17489) Felipe Pena 2023-03-05 07:41:19 -03:00
  • c1f249af6c test: handle compilation errors when running tests specially in the teamcity runner (#17511) Petr Makhnev 2023-03-05 12:14:23 +04:00
  • 1a48d08d7a cgen: add calls to all typeof functions for interfaces and sum-types (#17490) Petr Makhnev 2023-03-04 16:59:00 +04:00
  • 3f8821b8d8 cgen: unwrap and c-mangle field selectors in or blocks (#17495) Tim Marston 2023-03-04 09:52:08 +00:00
  • 6944d54257 parser, cgen: fix option variable error (fix #17460) (#17479) yuyi 2023-03-04 17:47:49 +08:00
  • 30c205ef2c cgen: fix printing map reference value (#17496) yuyi 2023-03-04 17:35:38 +08:00
  • 6f7192359a wasm: bug fixes and memory based changes (#17497) l-m 2023-03-04 20:24:33 +11:00
  • 72cbca9653 checker: fix and improve return stmt error messages (#17477) Felipe Pena 2023-03-04 04:32:55 -03:00
  • c5832379e7 checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) Felipe Pena 2023-03-04 03:02:57 -03:00
  • 0ba0fb256f checker: check the type of SizeOf Alexander Medvednikov 2023-03-03 18:45:06 +01:00
  • 3c23a7ebba roadmap: tooling and web section for 1.0 (#17488) Petr Makhnev 2023-03-03 18:34:37 +04:00
  • 7876593eaf roadmap: 1.0 Alexander Medvednikov 2023-03-03 14:58:49 +01:00
  • 5454562d2c checker, parser, orm: remove redundant & for sum type value arguments to functions with expr &ast.Expr parameters (#17482) walking devel 2023-03-03 12:35:12 +00:00
  • 9c9adb125b doc: ignore builtin/wasm (#17480) l-m 2023-03-03 21:35:21 +11:00
  • 5e2ff246c8 cgen: pass sum type values automatically by reference too, when functions require that (#17476) walking devel 2023-03-03 07:11:15 +00:00
  • 904f984367 checker: fix or-block expected type checking (#17469) Felipe Pena 2023-03-03 03:30:44 -03:00
  • e8dbcd96bd readme: minor improvements (#17474) Wertzui123 2023-03-03 07:28:07 +01:00
  • 17000ef7b6 checker: check option fn returning error (fix #17423) (#17438) yuyi 2023-03-02 21:49:50 +08:00
  • 8f7c35552d fmt: fix formatting for $compile_warn (#17450) Felipe Pena 2023-03-02 10:40:53 -03:00
  • 9fc2860074 checker: fix compiler panic for for k, mut val in app.field[x].values { (#17468) Delyan Angelov 2023-03-02 15:40:14 +02:00
  • 7497d8457f docs: fix incorrect struct literal and interface smart cast errors (#17457) Samuel Šulovský 2023-03-02 12:31:12 +01:00
  • e2daa84a33 ci: add windows and macos jobs for checking the wasm backend too (#17451) Delyan Angelov 2023-03-01 21:53:03 +02:00
  • cdc0159c6e wasm: update the compile flags in binaryen.c.v to assist darwin (#17449) l-m 2023-03-01 23:21:08 +11:00
  • bba7cfee0b checker: check or-block used on non-option value (#17444) Felipe Pena 2023-02-28 21:08:18 -03:00
  • 3682a9cf88 orm: allow use of mut db orm.Connection (#17439) walking devel 2023-02-28 22:49:30 +00:00
  • 5f4b34ef12 eval: add host API, for passing and receiving values, to/from code, ran by the eval.Eval instances (#17426) Felipe Pena 2023-02-28 19:42:19 -03:00
  • acfd21e4e0 os: add #include <sys/types.h> to debugger_darwin.c.v, to fix bootstrapping on macOS <= 11 (#17446) Haren S 2023-02-28 22:06:12 +00:00
  • 0625caad56 wasm: add a webassembly compiler backend, based on using binaryen (#17368) l-m 2023-03-01 08:58:53 +11:00
  • b9a8a21094 cgen: fix nested option struct init (fix #17415) (#17425) yuyi 2023-02-28 20:02:17 +08:00
  • ebeb652348 readme: 4 ways to do memory management Alexander Medvednikov 2023-02-28 09:58:52 +01:00
  • d5ad96f876 readme: minor fixes Alexander Medvednikov 2023-02-28 09:55:57 +01:00
  • b7b6c2368e orm: allow using connections, that were explicitly casted to orm.Connection too (#17427) walking devel 2023-02-27 21:54:03 +00:00
  • 864e1994b0 vlib/time: format table for custom_format() (#17428) Petr Makhnev 2023-02-27 23:48:05 +04:00
  • 607649b44d builder: add small diagnostic and instructions for when the C cross compiler for linux->windows is not installed. Delyan Angelov 2023-02-27 16:59:56 +02:00