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

Commit Graph

  • ae0e90f5d8 cgen: fix struct init with embed field update (#13444) yuyi 2022-02-12 13:16:51 +08:00
  • 7178367de0 all: fix error for comptime for in field with generic fn (fix #13409) (#13439) yuyi 2022-02-12 04:00:13 +08:00
  • 9d0a5942ac builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) Tim Basel 2022-02-11 14:52:33 +01:00
  • 61024d4b75 repl: support aliased module imports too (#13423) Vincenzo Palazzo 2022-02-11 14:03:14 +01:00
  • 654bc49d3c os: implement win_read_string on os.Process (#13428) Juergen Donnerstag 2022-02-11 12:02:00 +01:00
  • e0618f94e8 v help: add an example of using both -prof and run (#13432) Artem 2022-02-11 10:24:07 +01:00
  • a21f4563b3 checker: check the arity and the kinds of the type parameters in generic struct inits (#13429) yuyi 2022-02-11 17:21:07 +08:00
  • 7f29418c63 strconv: change atof64 to return an error, if the parsed value is not a valid number (#13424) Vincenzo Palazzo 2022-02-10 12:27:32 +01:00
  • 1c19573382 ci: use 'trigger_type: manual' for Cirrus CI's arm64_task/arm64-ubuntu-tcc job Delyan Angelov 2022-02-10 13:22:18 +02:00
  • b205e2fc67 docs: improve the interface examples (#13422) kahsa 2022-02-10 19:28:40 +09:00
  • 9ed18efa53 checker: error on redefining any of the public builtin functions, not just ['print', 'println', 'eprint', 'eprintln', 'isnil', 'panic', 'exit'] (#13419) Delyan Angelov 2022-02-10 12:26:30 +02:00
  • 43d6b97c21 docs: improve the hot reload section, add run command example (#13418) Artem 2022-02-09 18:26:09 +01:00
  • f2eb50008d parser, checker: cleanup struct short syntax processing (#13416) yuyi 2022-02-10 00:31:16 +08:00
  • 0d1d259bb4 net.urllib: keep the query parameter order (#13405) Vincenzo Palazzo 2022-02-09 16:36:12 +01:00
  • 4be3c92640 checker: check generic struct init without type parameter (#13404) yuyi 2022-02-09 20:06:45 +08:00
  • 356ccf247f cgen: add an earlier error, to pin point the use of closures on windows Delyan Angelov 2022-02-09 08:35:11 +02:00
  • dd835acb8d sync: add Once.do_with_param/2 method in addition to the existing Once.do/1 (workaround the absence of closures on windows) Delyan Angelov 2022-02-08 17:15:28 +02:00
  • 5d2995c4d5 tools: support ./v symlink -githubci (#13403) Subhomoy Haldar 2022-02-08 16:53:10 +05:30
  • 1dbde05267 ci,tools: improve the precision of report-missing-fn-doc, remove dependence on sed Delyan Angelov 2022-02-08 11:28:50 +02:00
  • ff02f94fd6 tools: support --exclude/-e and --relative-paths/-r options in missdoc.v Delyan Angelov 2022-02-08 11:10:19 +02:00
  • f0806822dd docs: add a JSON section, and subsections for encoding and decoding (#13396) Snavy 2022-02-08 00:18:40 -08:00
  • 4ef7d26133 arrays: add rotate_left and rotate_right (#13388) weekly.2022.06 playX 2022-02-07 14:20:45 +03:00
  • 5df83812a0 ci: fix undoc pub fn diff output (#13389) Larpon 2022-02-07 12:18:10 +01:00
  • 10dcb2e0d9 parser: allow embedding interfaces from other modules (#13385) Vincenzo Palazzo 2022-02-06 23:20:34 +01:00
  • 1dc239227d docs, builtin: clean up the homepage of modules.vlang.io a little, do not use //==== comments for now in builtin Delyan Angelov 2022-02-06 23:51:40 +02:00
  • 7f70493e1d vdoc: show the V commit hash too, not just 0.2.4 Delyan Angelov 2022-02-06 23:50:11 +02:00
  • 191e99c248 v.doc: use the .parse_comments mode, instead of the older .toplevel_comments (the scanner/parser is now more robust) Delyan Angelov 2022-02-06 23:49:21 +02:00
  • 649ecab11f ci: add report-missing-fn-doc job, to prevent adding new undocumented pub symbols in vlib (#13386) Larpon 2022-02-06 18:52:14 +01:00
  • d46ac40758 checker: add error for assigning none values (#13383) Vincenzo Palazzo 2022-02-06 15:08:23 +01:00
  • 31df2c4f45 tools: tweak missdoc defaults, add CLI flags to control what's ignored (#13384) Larpon 2022-02-06 14:44:26 +01:00
  • fd9aa8bee6 ci: require a minimal reproducible code sample in .github/ISSUE_TEMPLATE/bug_report.md (#13382) kahsa 2022-02-06 22:41:57 +09:00
  • 1be0cb0306 ci: do not fail silently in the Cirrus CI / Code CI / arm64-ubuntu-tcc job Delyan Angelov 2022-02-06 14:18:17 +02:00
  • 939bc9f26f v.parser: fix compilation of normal .v files with -translated (#13363) div72 2022-02-06 13:53:20 +03:00
  • 31739c2586 docs: fix typo (#13381) Ikko Ashimine 2022-02-06 18:39:35 +09:00
  • 66f21cae55 rand: add pub fn rand.read(mut buf []byte) and pub fn rand.bytes(needed int) ?[]byte{} + tests Delyan Angelov 2022-02-06 10:49:43 +02:00
  • ece73836aa cgen: fix error for struct with reference alias field (#13380) yuyi 2022-02-06 16:52:36 +08:00
  • 4e13ee22e9 repl: reproduce the void print function error (#13372) Vincenzo Palazzo 2022-02-06 07:05:25 +01:00
  • f23d2c8cf4 cgen: c2v variadic fixes Alexander Medvednikov 2022-02-06 03:36:38 +03:00
  • cec7e91714 v.parser, v.checker, v.gen: add support for [translated] tag (#13373) div72 2022-02-06 01:16:02 +03:00
  • 054c8b1f13 log: update Logger interface, so that Log is usable even as a Logger instance; add a test to ensure it (#13376) Sandro Martini 2022-02-05 21:09:55 +01:00
  • 5faabe7464 Revert "cgen: fix error for struct with reference alias fields (#13374)" Delyan Angelov 2022-02-05 18:52:37 +02:00
  • 4d485ae687 cgen: fix error for struct with reference alias fields (#13374) yuyi 2022-02-06 00:23:54 +08:00
  • 47ee292ba4 vweb: make Context.mount_static_folder_at more robust (#13361) Asher 2022-02-05 21:10:26 +08:00
  • 173b4652fb parser: check orm sql statements, using undefined variables in where expr (fix #13367) (#13368) yuyi 2022-02-05 17:32:41 +08:00
  • c9a8d6448d fmt: preserve formatting with comments in a empty map (#13362) Vincenzo Palazzo 2022-02-05 09:05:35 +01:00
  • b9fce4ef09 checker: make sure that the operator check is made on the concrete type (#13360) Vincenzo Palazzo 2022-02-04 23:11:24 +01:00
  • a054f868a0 v.util: use a normalised relative file path in the error messages with /, even on windows, to make the compiler error tests more robust Delyan Angelov 2022-02-04 17:56:02 +02:00
  • d02c0636d8 encoding.hex: fix shift warning Delyan Angelov 2022-02-04 15:16:08 +02:00
  • a61b4809dc ast, parser, checker: fix generic struct init with inconsistent generic types (#13359) yuyi 2022-02-04 20:24:38 +08:00
  • 89d399b035 examples: fix leak in examples/sokol/particles/, by marking s.pool and s.bin with .noslices Delyan Angelov 2022-02-03 18:52:52 +02:00
  • 85d36ed231 checker: stricter type casting error messages Delyan Angelov 2022-02-03 12:24:29 +02:00
  • ede9f29323 doc: mention []rune.string() (#13348) kahsa 2022-02-03 18:29:02 +09:00
  • be1e40dac0 cgen: fix error for sql statement inside fn call (fix #13330) (#13346) yuyi 2022-02-03 00:05:31 +08:00
  • 9344c27021 builtin: save a call to array.ensure_cap in array.insert, array.push, array.push_many in most cases Delyan Angelov 2022-02-02 10:48:15 +02:00
  • c0c07db7cc cgen: fix struct field init from shared struct field (#13343) crthpl 2022-02-02 00:55:57 -08:00
  • c3573454d1 regex: fix bug in replace_by_fn (#13344) penguindark 2022-02-02 09:52:18 +01:00
  • b10b65e134 cgen: fix error for interface with multi-nested embed struct (#13345) yuyi 2022-02-02 15:11:29 +08:00
  • b2c299da48 vweb: support vweb.run_at(app, localhost, 8099) (#13337) Delyan Angelov 2022-02-01 18:41:12 +02:00
  • d8cce0a71d ci: fix cgen for interface_struct_with_multi_nested_embed_test.v for gcc/clang Delyan Angelov 2022-02-01 17:12:00 +02:00
  • a014844050 cgen: fix error for interface with multi nested embed structs (fix #13331) (#13336) yuyi 2022-02-01 20:50:12 +08:00
  • 51513ae19a vfmt: keep file permissions with -w on !windows (#13334) Tarcisio Gruppi 2022-02-01 09:49:06 -03:00
  • 7c1b249da0 regex: fix dot char problems on groups with * (#13333) penguindark 2022-02-01 12:49:37 +01:00
  • 310969a057 docs: clarify the interface methods section Delyan Angelov 2022-02-01 10:36:25 +02:00
  • db50e79d26 tools: implement cgen tag for Markdown examples in v check-md (#13332) Delyan Angelov 2022-01-31 22:51:04 +02:00
  • b34860e39b ast, checker: fix error for calling complex nested generic type function (fix #13025) (#13328) weekly.2022.05 yuyi 2022-01-31 19:00:27 +08:00
  • 46a096b95d Revert "v.util: make mod_path_to_full_name more robust" Delyan Angelov 2022-01-31 06:57:50 +02:00
  • b11ce91141 v.util: make mod_path_to_full_name more robust Delyan Angelov 2022-01-30 20:26:58 +02:00
  • 894da4b40b ci: fix for sporadic Killed failures when running js tests on macos Delyan Angelov 2022-01-30 16:42:57 +02:00
  • 96c8188083 builtin: fix warnings for tests inside vlib/builtin/js Delyan Angelov 2022-01-30 16:36:56 +02:00
  • f6cb772347 v.util: prepare for removing vlib/v/util/module.v - improve tracing, comment edge cases with actual data Delyan Angelov 2022-01-30 15:07:44 +02:00
  • f3683b7cdc os: add an .exit_code field to os.Command (#13321) Merlin Diavova 2022-01-29 22:44:52 +00:00
  • eb7f152f3d gg: add a temporary import for gx + a gg.Color type alias for gx.Color, without using it Delyan Angelov 2022-01-29 21:42:19 +02:00
  • afd3ca8273 gx: implement C1.over(C2), add gx.cyan and gx.magenta, fix + and - ops, add more tests Delyan Angelov 2022-01-29 21:40:02 +02:00
  • a4fb5d2cfd Fix gx.Color math operations (#13315) Benjamin Stigsen 2022-01-28 21:53:14 +01:00
  • 44dddecc09 builtin: use a pure V version of string.to_wide() on != windows (#13314) Delyan Angelov 2022-01-28 20:41:50 +02:00
  • e43794ad61 picoev: remove unused #flag (#13311) Ken 2022-01-29 03:36:41 +09:00
  • ceb05b163a strings: rename Builder.write_b() to Builder.write_byte(), add deprecation (#13313) Benjamin Stigsen 2022-01-28 19:34:44 +01:00
  • 7f22ed7935 doc: clarify the section about -autofree (#13309) kahsa 2022-01-28 20:18:59 +09:00
  • 61d28c8a8c doc: change word coroutine to thread (#13308) kahsa 2022-01-28 20:17:36 +09:00
  • 71d98717dc checker: small cleanup of commit edc6c9e Delyan Angelov 2022-01-28 10:27:37 +02:00
  • edc6c9e24f checker: show error instead of panic, when using a somemodule.NonExistingEnum.enum_value (#13295) Yamada Hayao 2022-01-28 18:02:51 +09:00
  • 1f20127502 doc: add example for interface casting (#13304) kahsa 2022-01-28 17:09:52 +09:00
  • 8491e83e3f ci: bump retries to 8 for vlib/net/tcp_test.v Delyan Angelov 2022-01-28 10:07:37 +02:00
  • 41b9b2988a examples: add port of simple triangle sokol sample (#13298) Larpon 2022-01-27 20:16:00 +01:00
  • faaa7035c4 examples: fix segmentation fault crash on exit in sokol 0X_ examples (#13299) Larpon 2022-01-27 18:46:55 +01:00
  • eb765f975c ci: add a small delay between failed test retries. bump retries for channel_select_6_test.v to 8 Delyan Angelov 2022-01-27 17:43:55 +02:00
  • daa5be4c27 ci: skip vlib/v/checker/tests/modules/deprecated_module on windows for now Delyan Angelov 2022-01-27 15:38:52 +02:00
  • 9dce8194a8 cgen: fix error of method calls on nested embedded structs (#13292) yuyi 2022-01-27 19:20:56 +08:00
  • f8f7bc8ead ci: fix deprecated_module.out file too Delyan Angelov 2022-01-27 13:16:25 +02:00
  • ebad7301f9 ci: fix failing deprecated_module test on windows Delyan Angelov 2022-01-27 13:15:34 +02:00
  • e1a2ab345d parser,ast,checker: add support for [deprecated: "use another module"] module obsolete Delyan Angelov 2022-01-27 11:50:26 +02:00
  • 3bd528b218 ast, checker, cgen: fix error for map sumtype value init (#13290) yuyi 2022-01-27 15:44:34 +08:00
  • 3fa9128716 cgen,pref: support -profile-fns strings__new_builder,i64_str -profile - Delyan Angelov 2022-01-26 19:52:08 +02:00
  • 65a97a9fbe examples: fix navigating unicode text in text_editor (#13286) Larpon 2022-01-26 16:25:29 +01:00
  • 01c72d44e8 net.http: add allow_redirect to FetchConfig (#13285) JalonSolov 2022-01-26 10:13:10 -05:00
  • 2d184559b6 ci: fix failing draw_fns_api_test.v on macos (after rename) Delyan Angelov 2022-01-26 15:32:06 +02:00
  • 291a1ffd8d token: rename Position to Pos, rename position() to pos() (#13279) yuyi 2022-01-26 18:36:28 +08:00
  • d71fc0d13f checker: fix error for cast to alias of reference struct (#13278) yuyi 2022-01-26 18:32:14 +08:00
  • 867056dafb gg: rename some variables (for consistency) (#13280) kahsa 2022-01-26 19:26:12 +09:00
  • 0979723636 gg: improve small circle (r<20) looks Delyan Angelov 2022-01-26 10:32:14 +02:00