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

Commit Graph

  • 91c1157810 time: relative update (#14240) David 'Epper' Marshall 2022-05-01 03:47:05 -04:00
  • ec92d467d1 cgen: fix unsafe return error (#14233) Daniel Däschle 2022-04-30 16:31:28 +02:00
  • 0b54196962 checker: allow pointer index for translated code (#14231) playX 2022-04-30 14:30:55 +00:00
  • 9f8a34a528 all: rename result to _result (#14232) Daniel Däschle 2022-04-30 16:10:30 +02:00
  • 63d413f93c tools: support v missdoc . instead of v run cmd/tools/missdoc.v . Delyan Angelov 2022-04-30 16:09:11 +03:00
  • c0b37409d2 tools: support a v vet -p file.v option that will warn about private functions with missing documentation Delyan Angelov 2022-04-30 16:01:35 +03:00
  • 8da42bfc85 tests: fix ./v -W build-tools CI failure Delyan Angelov 2022-04-30 13:49:36 +03:00
  • 5277ce7dce tests: support for marking _test.v files with // vtest flaky: true, to reduce false positives from the CI Delyan Angelov 2022-04-30 13:27:50 +03:00
  • a2338dbb7c docs: document more builtin functions/methods (#14229) David 'Epper' Marshall 2022-04-30 05:31:23 -04:00
  • dcdfdf4dd8 tools: make v up more informative on failure Delyan Angelov 2022-04-30 10:08:31 +03:00
  • dab649ec8a cgen: rewrite the closure implementation (#14223) spaceface 2022-04-30 08:32:46 +02:00
  • ce31a01a70 checker: allow voidptr arithmetic in translated code Alexander Medvednikov 2022-04-30 05:52:32 +03:00
  • cd30b6ea82 parser: make sure interface field names use uppercase letters (#14228) yuyi 2022-04-30 10:29:33 +08:00
  • 08fd0ce0de all: basic implementation of result type (#14140) Daniel Däschle 2022-04-30 00:59:14 +02:00
  • db185e6580 checker: check for reserved type names in for in (fix #14072) (#14212) StunxFS 2022-04-29 18:25:29 -04:00
  • 48eb40cd2c doc: suggest a basic auto-reload setup (#14216) Benjamin Thomas 2022-04-29 19:57:04 +02:00
  • 881d0c04f1 time: add custom formatter (#14202) David 'Epper' Marshall 2022-04-29 08:57:08 -04:00
  • ec865cfb37 parser: check interface methods name (fix #14217) (#14218) yuyi 2022-04-29 20:48:03 +08:00
  • 317acfda97 checker: check struct field name using uppercase letters (#14220) yuyi 2022-04-29 19:57:14 +08:00
  • 872f739396 builtin: ignore C++ 0xE06D7363 exception errors on windows (#14225) Wertzui123 2022-04-29 13:55:29 +02:00
  • 995485c649 builtin: add string.len_utf8() method (#14208) StunxFS 2022-04-29 03:23:57 -04:00
  • 8b798acadd cgen: fix use of C reserved words inside defer statement (fix #14101) (#14211) StunxFS 2022-04-29 01:04:59 -04:00
  • 77645fcf35 builtin: define atoi & ftell Alexander Medvednikov 2022-04-29 04:31:51 +03:00
  • 14309594fe ast: add a type_size() method (#14213) spaceface 2022-04-28 22:35:10 +02:00
  • 5a42350a78 docs: add a v fmt -w . step in the contributing guide (#14210) David 'Epper' Marshall 2022-04-28 16:31:22 -04:00
  • e24482a143 transformer: minor optimization for 'string literal'.len (#14207) StunxFS 2022-04-28 15:35:16 -04:00
  • e56385d57d checker: disable op overloading on structures for translated code (#14209) playX 2022-04-28 17:46:46 +00:00
  • 7aca67fb60 ast, parser: fix complex map init (#14206) yuyi 2022-04-28 22:37:19 +08:00
  • dd94ab890a cgen: fix go anon fn call with ref argument (fix #14192) (#14197) yuyi 2022-04-28 19:43:20 +08:00
  • c802688690 ast: fix error for complex map operating (#14204) yuyi 2022-04-28 18:20:56 +08:00
  • a225b25117 arrays: rephrase doc string (#14205) Atom 2022-04-28 14:17:53 +04:00
  • 4538efd8f4 eval: small cleanup in the handling of $if platform { Delyan Angelov 2022-04-28 13:15:09 +03:00
  • e0ed8f8278 eval: make the interpreter backtrace more efficient and informative. Delyan Angelov 2022-04-28 12:31:30 +03:00
  • f72297c331 eval: add support for C.read/3, C.malloc/1, $if openbsd { Delyan Angelov 2022-04-28 11:30:36 +03:00
  • be04ec0620 pref: add support for -thread-stack-size 4194304 (default set to 8MB) (#14168) Delyan Angelov 2022-04-28 08:46:33 +03:00
  • 7dd5d9ee61 checker: fix error for array of sumtype appending literal value (#14200) yuyi 2022-04-28 13:44:30 +08:00
  • 09f8b6a380 checker: check error in for_c_stmt with optional call (#14190) yuyi 2022-04-28 13:43:16 +08:00
  • eb03fad934 gg: improve some loops in draw_rounded_rect* methods (#14195) tzSharing 2022-04-28 03:57:48 +08:00
  • f53b9b4f12 ci: fix tcc compilation of atomic_test.v Delyan Angelov 2022-04-27 22:50:18 +03:00
  • 7dbfa86f25 all: atomic int fixes Alexander Medvednikov 2022-04-27 18:31:21 +03:00
  • 82ac39eca6 math: fix error for math.abs(0.0)/math.abs(0) (related #14165) (#14191) yuyi 2022-04-27 18:23:37 +08:00
  • 752e105f25 cgen: fix error for generic sumtype casting to typenode (#14188) yuyi 2022-04-27 16:32:43 +08:00
  • 85f616877f gg: fix gg.draw_rounded_rect_empty() graphical abnormalities and some optimizations (#14186) tzSharing 2022-04-27 16:22:57 +08:00
  • b76095f28a checker: allow + - * on pointers for translated code (#14183) playX 2022-04-26 18:00:44 +00:00
  • c26b7666c7 gg: some stuff required to have svg and png screenshots working on v ui (#14180) R cqls 2022-04-26 19:59:36 +02:00
  • be513b4c27 cgen: split up array_init() (#14178) yuyi 2022-04-27 01:58:47 +08:00
  • 1c48a8d760 strconv: add missing doc strings (#14164) Larpon 2022-04-26 17:09:36 +02:00
  • 660201c188 cgen: fix error for cast to empty interface (fix #14162) (#14176) yuyi 2022-04-26 18:26:48 +08:00
  • b9a0e2d285 sokol: support compilation on OpenBSD (#14169) Brian Callahan 2022-04-26 06:14:00 -04:00
  • 38afd74d26 ast, checker, cgen: fix error for multi-return in or expr (fix #14167) (#14172) yuyi 2022-04-26 17:17:05 +08:00
  • 95880dfe5c checker: allow indexing through alias to int (#14177) playX 2022-04-26 09:15:35 +00:00
  • dce2173ac9 checker: c2v fixes (#14161) playX 2022-04-25 22:34:26 +00:00
  • 501b293e84 checker: remove already handled "undefined" errors Alexander Medvednikov 2022-04-25 16:53:29 +03:00
  • d799abd139 regex: rephrase doc string (#14159) Larpon 2022-04-25 15:03:13 +02:00
  • e42dc8e228 checker: fix error for match aliases (#14157) yuyi 2022-04-25 19:42:43 +08:00
  • f89c81087b checker: check error for array.index() argument (#14147) yuyi 2022-04-25 19:42:31 +08:00
  • aeba110d01 cgen: fix error for printing multi fixed array (#14141) yuyi 2022-04-25 19:42:05 +08:00
  • 283d181047 cli: add missing doc strings (#14158) Larpon 2022-04-25 13:41:46 +02:00
  • 88f22b4367 cgen: fix error for anon fn decl inside ternary (#14150) yuyi 2022-04-25 17:36:03 +08:00
  • 60e205a193 tests: add ability to check the output of commands for .starts_with, .ends_with and .contains strings, in v test-all Delyan Angelov 2022-04-25 11:58:26 +03:00
  • d35d67c2bd eval: enable v interpret examples/hanoi.v Delyan Angelov 2022-04-25 11:40:59 +03:00
  • d8a5df9044 checker: error if smaller signed == unsigned (#14078) Nick Treleaven 2022-04-25 10:09:25 +01:00
  • 147e6e669f cgen: fix pushing to an array of string pointers (fix #14156) Delyan Angelov 2022-04-25 10:57:35 +03:00
  • 922cee9162 parser, checker, cgen: fix error for fn call using anon fn call argument (#14155) yuyi 2022-04-25 16:26:14 +08:00
  • 1291b621f6 ci: bump test retries for go_anon_fn_variable_call_test.v to 3 Delyan Angelov 2022-04-25 10:32:30 +03:00
  • ddbe812f1b cgen: add callconv support for fns from ptr (#14151) fleur 2022-04-25 07:51:03 +02:00
  • 11ee2b6409 builder: improve macOS 10.5 and PPC support (#14152) Haren S 2022-04-25 06:17:00 +01:00
  • 563469ed9f vfmt: fix array_init line wrapping (#14154) stackotter 2022-04-25 15:11:44 +10:00
  • c819f0f86f checker, cgen: fix printing in 'for v in a' (#14146) yuyi 2022-04-24 18:30:13 +08:00
  • 9355048b6c tmpl: minor fixes and optimizations Alexander Medvednikov 2022-04-23 16:01:39 +03:00
  • 3388caa6c5 ci: bump vtest retry to 6 for channel_select_test.v (fails sporadically in the windows-gcc job) Delyan Angelov 2022-04-23 15:36:19 +03:00
  • 365e7d6b34 vfmt: ignore parser warnings, cleanup code Delyan Angelov 2022-04-23 11:10:12 +03:00
  • d934472b17 checker: simplify checking array.contains() argument (#14133) yuyi 2022-04-23 03:34:13 +08:00
  • b86320a669 parser: minor cleanup in stmt() (#14136) yuyi 2022-04-23 03:33:13 +08:00
  • a2db44bc38 examples: add 2 more graph search examples (DFS and BFS), move them into examples/graphs (#14131) Claudio Cesar de Sá 2022-04-22 06:01:29 -03:00
  • 5dce091379 checker, cgen: fix generic empty interface to multi struct (#14132) yuyi 2022-04-22 16:02:51 +08:00
  • 9b565bf765 cgen: fix enum switch bug in translated code Alexander Medvednikov 2022-04-22 02:31:16 +03:00
  • 03d21a727e gg: fix gg.draw_rounded_rect_filled() graphical abnormalities (#14128) tzSharing 2022-04-22 05:16:10 +08:00
  • 506259adb6 os: add behavior info to is_dir_empty documentation (#14110) Larpon 2022-04-21 17:21:00 +02:00
  • 26b0e7fd34 fmt: remove extra parentheses (#14125) yuyi 2022-04-21 23:20:32 +08:00
  • 2080557f50 ast: allow a := match x { 101 { ... for {...} ... y } Delyan Angelov 2022-04-21 13:15:21 +03:00
  • 8a18f9175a cgen: fix error for if expr with nested match expr (#14122) yuyi 2022-04-21 18:02:31 +08:00
  • 448938be0d parser: fix generic anon fn decl with type only argument (#14124) yuyi 2022-04-21 17:53:13 +08:00
  • 99eb9fdaab checker: fix error for fn with array of aliases argument (#14123) yuyi 2022-04-21 17:52:09 +08:00
  • f13583b04a checker: check array builtin method's arguments (#14119) yuyi 2022-04-21 17:51:04 +08:00
  • 8013bd43b0 checker: check map builtin method's arguments (#14120) yuyi 2022-04-21 17:49:46 +08:00
  • 5e8c4a3aff ci: enable again the v install ui task Delyan Angelov 2022-04-21 11:21:53 +03:00
  • 2a0b372d0d tools: minor cleanup in fast.v (#14117) StunxFS 2022-04-21 03:46:35 -04:00
  • c5824c36f2 checker, cgen: allow static (fixed) arrays in in operator (#14121) ChAoS_UnItY 2022-04-21 15:32:29 +08:00
  • c789ea5a15 ci: temporarily use git clone https://github.com/vlang/xyz ~/.vmodules/xyz instead of v install xyz Delyan Angelov 2022-04-21 09:20:08 +03:00
  • 4491b535ec doc: add link to V's standard library documentation at the start (#14114) sunnylcw 2022-04-21 05:26:20 +08:00
  • 31b28af179 bootstrap: remove -I ./thirdparty/stdatomic/nix from make files (#14111) Delyan Angelov 2022-04-21 00:12:50 +03:00
  • 960225f7a7 builtin: fix -cc gcc -gc boehm on linux and macos (#14115) lemon 2022-04-21 06:12:17 +09:00
  • 1533b77404 builtin: remove unnecessary casts for defunct small unsigned warning (#14108) Nick Treleaven 2022-04-20 19:47:09 +01:00
  • 0260c2a552 checker: minor cleanup in assign_stmt() (#14107) yuyi 2022-04-21 02:03:41 +08:00
  • 0374f021c5 os: small cleanup of function description (#14112) Hunam 2022-04-20 19:58:41 +02:00
  • 1546645f63 datatypes: fix bst child access, when .root is 0 (#14080) mjh 2022-04-20 06:49:18 -07:00
  • a1342e85c3 os: add info about overwritten content to write_file (#14109) Larpon 2022-04-20 14:29:58 +02:00
  • 52ea0b8cc3 ast: minor cleanup of types.v (#14103) yuyi 2022-04-20 19:24:13 +08:00
  • ce4c2afc9c checker, cgen: use 'stmts.last()' instead of 'stmts[stmts.len - 1]' (#14105) yuyi 2022-04-20 19:23:32 +08:00