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

Commit Graph

  • d07975335d time: add Duration.str() (#12897) Miccah 2021-12-19 11:32:42 -06:00
  • 840a92c14e v.builder: change the default stack size for apps produced by MSVC to 16MB Delyan Angelov 2021-12-19 18:37:51 +02:00
  • cd0b581445 ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls (#12898) yuyi 2021-12-20 00:25:18 +08:00
  • c957f59071 cgen: minor cleanup in cgen.v (#12896) yuyi 2021-12-19 20:31:04 +08:00
  • 41176c4967 cgen: add bool and complex to c_reserved Delyan Angelov 2021-12-19 09:19:47 +02:00
  • a7019ac86c cgen: fix parallel waiter function generation (#12895) Leo Developer 2021-12-19 12:38:48 +01:00
  • 2ab861ef89 cgen: fix generic array of interface method call (fix #12882) (#12888) yuyi 2021-12-19 00:08:19 +08:00
  • 5e5c78ed37 cgen: minor cleanup of the field order in the Gen struct definition (#12890) yuyi 2021-12-18 23:52:33 +08:00
  • de92f819f0 cgen: support closures with any number of parameters of any size on amd64 (#12891) spaceface 2021-12-18 16:33:24 +01:00
  • 3a504480d9 gg: add draw_arc_empty (#12887) Benjamin Stigsen 2021-12-18 11:39:14 +01:00
  • 80995f3a2d log: improve logging interface (#12886) Sandro Martini 2021-12-18 11:38:43 +01:00
  • 927eecf7c0 ci: retry more return_in_lock_test.v Delyan Angelov 2021-12-18 10:19:04 +02:00
  • 7c255f0ff2 builtin, cgen: fix array of map init with default value (#12885) yuyi 2021-12-18 16:07:25 +08:00
  • 50d988ebc7 v.parser: forbid unsupported language functions/types in specific backends (#12655) ChAoS_UnItY 2021-12-18 16:00:31 +08:00
  • 75830f1fe3 gg: add draw_ellipse_filled() + draw_ellipse_empty() APIs (#12869) Benjamin Stigsen 2021-12-17 20:19:18 +01:00
  • 08766da7e8 js: dont use async js_main in '-es5' mode (#12870) pancake 2021-12-17 15:37:19 +01:00
  • 4ecdb28f5a tools: add .gitattributes with v init and v new(#12879) Subhomoy Haldar 2021-12-17 19:41:19 +05:30
  • 130d189fce cgen: fix overwriting methods of embedded structs + empty struct for interfaces (#12876) Tim Basel 2021-12-17 14:32:31 +01:00
  • b482da74e9 gg: move code using C types to c.v files, add js.v files (#12873) playX 2021-12-17 16:22:09 +03:00
  • 66070ec63e cgen: fix error of 'map_a[map_b[key]] += 2' (#12872) yuyi 2021-12-17 21:17:08 +08:00
  • c9f6a96936 cgen: fix array of interfaces equality error (#12874) yuyi 2021-12-17 20:58:17 +08:00
  • d80dd77adf cgen: support closures on arm32 as well (#12875) spaceface 2021-12-17 13:26:24 +01:00
  • e5e3979e45 fmt: fix removal of selective imported types used in type decl (#12868) zakuro 2021-12-17 12:20:16 +09:00
  • 2f7ac7e407 cgen: fix c error when use reserved keyword as if guard var (#12871) zakuro 2021-12-17 11:50:52 +09:00
  • f87f8ec3f7 cgen: fix defer with function variables (fix #12854) (#12866) yuyi 2021-12-17 02:58:54 +08:00
  • 5f1eaaf3b1 ci: retry more channel_select_6_test.v Delyan Angelov 2021-12-16 20:12:40 +02:00
  • c6b902d2b7 cgen: support closures on arm64 (#12863) spaceface 2021-12-16 17:02:05 +01:00
  • 8a34fb7857 ci: run the full V test suite on arm64 (#12865) spaceface 2021-12-16 16:44:21 +01:00
  • 6ff953d936 preludes,builder,cgen: add support for VTEST_RUNNER=tap and -test-runner tap (#12523) Delyan Angelov 2021-12-16 15:59:46 +02:00
  • caac89d6ca checker: fix function x is private error in main, for pub const abc = x() in a (sub)module Delyan Angelov 2021-12-16 12:03:49 +02:00
  • 674f99a658 checker: minor clean up in comptime_call() (#12860) yuyi 2021-12-16 16:47:47 +08:00
  • d8a333058d checker, cgen: fix generic map with generic type key (#12859) yuyi 2021-12-16 15:53:05 +08:00
  • 1261468d8e ci: fix failed windows-msvc task (sokol examples) Delyan Angelov 2021-12-15 20:16:55 +02:00
  • d90ef1f29f gg: draw_arc fixes (#12827) Benjamin Stigsen 2021-12-15 19:17:07 +01:00
  • c44115c67d checker: fix goto label with comptime tmpl (#12853) yuyi 2021-12-16 00:48:43 +08:00
  • 2b981b011e ast: fix bug in parsing -Isomething -Danother from #flag and #pkgconfig directives Delyan Angelov 2021-12-15 17:55:52 +02:00
  • 65f12f3217 checker: fix invalid cast warning for flag enums (#12848) spaceface 2021-12-15 15:58:25 +01:00
  • 11d2b8b354 js: support -es5 flag (#12846) playX 2021-12-15 16:47:34 +03:00
  • df7f2aa8a3 all: support [markused] tags for fns/consts/globals Delyan Angelov 2021-12-15 14:34:49 +02:00
  • 1a6899e85e cgen: fix building with -no-preludes -no-builtin -skip-unused (part 2) Delyan Angelov 2021-12-15 13:30:21 +02:00
  • 2ce1647ea0 cgen: fix error of embedded struct generating interface_table (#12847) yuyi 2021-12-15 19:21:21 +08:00
  • fa1a7a85f0 cgen: fix building with -no-preludes -no-builtin (part 1) Delyan Angelov 2021-12-15 12:47:28 +02:00
  • 1d41d9daf9 json2: improve readability, add tests utilizing fix #12667 (#12836) Larpon 2021-12-15 11:20:05 +01:00
  • 5b5d0bbb9c ci: ensure that V can be built on arm64 using tcc (#12841) spaceface 2021-12-15 10:17:25 +01:00
  • d13fe7843c v: fix build and failing tests on arm64 (#12840) spaceface 2021-12-15 08:00:38 +01:00
  • 1c629f4a93 cgen: fix ci error of empty struct init (#12838) yuyi 2021-12-15 14:49:30 +08:00
  • 6079448f35 tools: unset VCOLORS before producing reports with v bug Delyan Angelov 2021-12-14 17:35:03 +02:00
  • c900dc1053 ci: use -Wno-excess-initializers for clang -cstrict, cleanup cgen Delyan Angelov 2021-12-14 17:14:45 +02:00
  • 96e9cc62b0 ci: fix clang macos build Delyan Angelov 2021-12-14 17:06:57 +02:00
  • 70564ae8b2 ci: fix generics test Delyan Angelov 2021-12-14 17:04:37 +02:00
  • 73e097c1cb Revert "ci: fix clang build error on macos/freebsd" Delyan Angelov 2021-12-14 16:57:47 +02:00
  • a1efde8b10 v: list all js backends in v help build-js (#12835) pancake 2021-12-14 14:42:14 +01:00
  • d7abdd314d ci: fix clang build error on macos/freebsd Delyan Angelov 2021-12-14 15:38:22 +02:00
  • eeb7d4a7fd cgen: fix embedded struct init with complex fields (#12831) yuyi 2021-12-14 20:55:58 +08:00
  • 99f14a7ead transformer: only enable array optimisation with -prod (#12833) Thomas Mangin 2021-12-14 11:05:54 +00:00
  • 5365984ef5 ci: use powershell Compress-Archive instead of zip in binary_artifact.yml weekly.2021.50.3 Delyan Angelov 2021-12-14 12:20:20 +02:00
  • 2f99022f0f ci: simplify and cleanup binary_artifact.yml weekly.2021.50.2 Delyan Angelov 2021-12-14 11:10:46 +02:00
  • eed882950c fmt: remove extra comma of branch instead of parse error (#12814) weekly.2021.50.1 zakuro 2021-12-14 15:14:43 +09:00
  • 731015cd9b ci: revert "cgen: fix embedded struct init with complex fields (fix #12823) (#12825)" (#12830) yuyi 2021-12-14 14:11:11 +08:00
  • b4b2a21453 cgen: fix embedded struct init with complex fields (fix #12823) (#12825) yuyi 2021-12-14 12:15:23 +08:00
  • 2a5356670b toml: add as_strings() method to map of Any (#12824) Larpon 2021-12-13 20:43:33 +01:00
  • 76f6f99bce gg: add draw_ring() (#12817) Benjamin Stigsen 2021-12-13 20:03:42 +01:00
  • b1a9bf29db vgret: add support for config via toml and root path (#12821) Larpon 2021-12-13 19:58:31 +01:00
  • cb4c67588c os: add support for signal handling on JS backend (#12818) playX 2021-12-13 21:18:12 +03:00
  • d5c0bdf954 cgen: clean up interface_table() (#12816) weekly.2021.50 yuyi 2021-12-13 19:45:27 +08:00
  • be5823069a cgen: clean up struct_init (#12815) yuyi 2021-12-13 19:01:36 +08:00
  • b303588491 cgen: fix struct init with interface field (#12820) yuyi 2021-12-13 18:55:46 +08:00
  • 3afbb9e90a all: split all backends into cmd/tools/builders (#12811) Delyan Angelov 2021-12-12 21:10:43 +02:00
  • 57c1faadbe cgen: fix multiple nested embed struct with duplicate field init (#12805) yuyi 2021-12-13 01:54:29 +08:00
  • f407d6de02 ast, checker, cgen: fix generics multiple type comptime call (fix #12777) (#12806) yuyi 2021-12-13 01:42:40 +08:00
  • ab6e93394f gg: add draw_empty_triangle() (#12804) Benjamin Stigsen 2021-12-12 18:41:27 +01:00
  • 8c1c70db04 checker: fix x.$(field.name) not working outside of $if (#12802) Leo Developer 2021-12-12 02:18:29 +01:00
  • bf835d47d8 tools: fix v build-examples on windows Delyan Angelov 2021-12-12 01:20:21 +02:00
  • 79de408ef0 parser,checker: support [generated] module xyz (turns off notices). Use it for infix.v. Delyan Angelov 2021-12-12 00:58:38 +02:00
  • 9b7a50b1a2 v: split the interpreter to cmd/tools/vinterpret.v Delyan Angelov 2021-12-11 23:51:42 +02:00
  • adf353702e v.eval: show sumtype or interface casts return void currently only with -v Delyan Angelov 2021-12-11 23:45:54 +02:00
  • 23be53e2de tools: build examples/viewer as a project folder Delyan Angelov 2021-12-11 23:20:08 +02:00
  • d3b769d1bc examples: add an image viewer program (#12797) penguindark 2021-12-11 21:18:03 +01:00
  • f0969698e2 cmd: add v bump (#12798) Subhomoy Haldar 2021-12-12 01:47:01 +05:30
  • 2ced182816 cgen: fix order of comptime reflection fields (#12799) Leo Developer 2021-12-11 21:09:47 +01:00
  • 0d0d7323bb transformer: provide direct_memory_access to arrays when safe (#12724) Thomas Mangin 2021-12-11 19:55:46 +00:00
  • fe14e2fceb cgen: use c_name() for escaping goto label names too Delyan Angelov 2021-12-11 19:41:44 +02:00
  • 9e68a03f94 math: rename small to small_ to prevent C errors (workaround unescaped C labels) (#12796) Wertzui123 2021-12-11 18:35:40 +01:00
  • 24bc2ae406 cgen: add small to c_reserved Delyan Angelov 2021-12-11 19:14:26 +02:00
  • cde0cbd5ad ci: fix failing tests-sanitize-address-clang step for vlib/toml/tests/spaced_keys_test.v Delyan Angelov 2021-12-11 19:03:47 +02:00
  • b3287f8159 Revert "v.scanner: reduce memory consumption for Scanner.ident_name" Delyan Angelov 2021-12-11 17:10:01 +02:00
  • b18cd37e59 v.scanner: reduce memory consumption for Scanner.ident_name Delyan Angelov 2021-12-11 16:38:13 +02:00
  • ba06eba39c toml: fix implicit allocation overwrite of existing table (#12793) Larpon 2021-12-11 14:21:46 +01:00
  • 9bf777c1ee vfmt: fix eating .zlib in $embed_file('v.png', .zlib) (#12794) Leo Developer 2021-12-11 14:21:26 +01:00
  • 7c7cdf8ce7 builtin: clean up array.v (#12784) yuyi 2021-12-11 16:17:00 +08:00
  • a58c539ee6 checker: minor fixes Alexander Medvednikov 2021-12-11 10:56:37 +03:00
  • 19a47abcca checker: split up checker.v: fn.v, if.v, interface.v, match.v, return.v Alexander Medvednikov 2021-12-11 10:51:01 +03:00
  • ee6c0a0691 checker: split up checker.v: fn.v, if.v, interface.v, match.v Alexander Medvednikov 2021-12-11 10:47:57 +03:00
  • ea1f398f90 ci: add gfx_ci utilizing vgret (#12785) Larpon 2021-12-11 08:30:06 +01:00
  • feb12b62dc tests: correct test file name (#12787) yuyi 2021-12-11 15:28:44 +08:00
  • ade2a4cd01 cgen: fix multiple embed struct init (#12791) yuyi 2021-12-11 15:28:32 +08:00
  • eaf0f9b4c1 checker: split up checker.v: assign.v, orm.v, comptime.v; c2v fixes Alexander Medvednikov 2021-12-11 10:23:58 +03:00
  • ed4ecae57d checker: fix notice of eval.infix.v on windows (#12770) yuyi 2021-12-10 21:28:32 +08:00
  • 9b4329d2f6 ast, checker, cgen: fix interface method with struct embed (#12783) yuyi 2021-12-10 20:56:13 +08:00
  • b116170735 js: add support for Promise.wait() (#12781) playX 2021-12-10 15:54:20 +03:00