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

Commit Graph

  • 0bbbf1e801 v.util: make util.launch_tool/3 more robust, by recompiling V tools always in a known current working folder (vroot) (#18358) Delyan Angelov 2023-06-06 18:01:58 +03:00
  • 22c0cdc192 checker: fix infering generic array type in nested call (fix #18317) (#18350) yuyi 2023-06-06 22:18:14 +08:00
  • f45fc45407 ast, checker, fmt: fix compiler internal formatting failed (#18356) yuyi 2023-06-06 21:18:28 +08:00
  • 632c466aa0 sync: add Mutex.destroy and RwMutex.destroy methods (#18351) kbkpbot 2023-06-06 19:45:12 +08:00
  • c1e302a38d Revert "parser: add error for typeof(T), suggesting typeof[T]() instead" Delyan Angelov 2023-06-06 12:03:55 +03:00
  • 692624b47c parser: add error for typeof(T), suggesting typeof[T]() instead weekly.2023.23 Delyan Angelov 2023-06-06 11:27:10 +03:00
  • d3c679bdcb cgen: fix fixed array of map (#18347) Felipe Pena 2023-06-05 10:46:48 -03:00
  • 254ed1766c ast: minor cleanup in generic_insts_to_concrete() (#18349) yuyi 2023-06-05 21:46:23 +08:00
  • 169627722a cgen: circular reference limit to auto_str for interface (#18340) Felipe Pena 2023-06-05 10:45:44 -03:00
  • 48c256bf3b checker: allow casted enum val and const as fixed array size (#18321) Swastik Baranwal 2023-06-05 19:14:55 +05:30
  • 5440657364 fmt: fix alias type stripped comments (#18346) Felipe Pena 2023-06-04 20:53:17 -03:00
  • 325f64bc60 ast: fix for in iterator with generic structs (#18344) yuyi 2023-06-05 00:15:15 +08:00
  • 02ea6028af vlib: improvements to the context module (#18318) Ulises Jeremias Cornejo Fandos 2023-06-04 13:12:52 -03:00
  • 0e106c9062 checker: fix generic fn infering map argument (#18341) yuyi 2023-06-05 00:10:41 +08:00
  • 8d2a0ffe37 cgen: fix option handling with auto heap variable (#18336) Felipe Pena 2023-06-04 13:10:22 -03:00
  • 9dcd95ee34 examples: use printf in the coroutines example for now Alexander Medvednikov 2023-06-03 23:56:07 +02:00
  • 6fe6fe887d coroutines: $if is_coroutine? { Alexander Medvednikov 2023-06-03 19:05:50 +02:00
  • 4e21b2ab4e parser: detect wrong usage of Option as concrete type (#18334) Felipe Pena 2023-06-03 08:24:25 -03:00
  • 0fc33c6fa3 datatypes: add Bloom filter (#18327) kbkpbot 2023-06-02 15:56:22 +08:00
  • 9764342dbe vweb: add support for host specific static files (#18322) Lenni0451 2023-06-02 09:55:59 +02:00
  • a8ea1f9d50 cgen, checker, parser: fix fixed array with channel (#18315) Felipe Pena 2023-06-02 04:55:08 -03:00
  • 82035f7610 repl: fix comparison operator treated as statement (#18304) Felipe Pena 2023-06-02 04:54:43 -03:00
  • 5e12d3483c checker: fix generic fn with nested generic fn call (fix #18285) (#18314) yuyi 2023-06-02 15:52:29 +08:00
  • a647a71c52 roadmap: remove any weekly.2023.22 Alexander Medvednikov 2023-05-30 18:39:37 +02:00
  • 4dc338863c checker: fix json decode with generic array of struct (fix #18300) (#18308) yuyi 2023-05-30 20:25:33 +08:00
  • ac6289301c ast, cgen: fix generic struct with inconsistent generic types (fix #18254) (#18301) yuyi 2023-05-30 20:24:54 +08:00
  • af05cfcbbc toml, semver: minor optimization of conditions (#18299) Turiiya 2023-05-30 14:24:27 +02:00
  • 0b71cef78a cgen: fix generic comptimeselector array resolution (#18296) Felipe Pena 2023-05-30 09:23:37 -03:00
  • e9fb5b3fcc .editorconfig: do not specify an indent size for tabs (#18297) Turiiya 2023-05-30 14:23:13 +02:00
  • f430c0b67a parser: fix for select parsing (#18306) Felipe Pena 2023-05-30 09:22:47 -03:00
  • 4174048f96 vweb: add host option to controller (#18303) Casper Kuethe 2023-05-30 14:22:23 +02:00
  • 05b832a317 cgen: fix none initialization to struct member (#18295) Felipe Pena 2023-05-29 09:35:41 -03:00
  • ae8e9af11f ci: skip building examples/coroutines/simple_coroutines.v for now Delyan Angelov 2023-05-29 13:35:46 +03:00
  • d47c722c1f builtin: fix byte deprecation warnings for v test-all (the -freestanding compilation) Delyan Angelov 2023-05-29 13:20:29 +03:00
  • 2904c399b5 vweb: host attribute (#18288) Lenni0451 2023-05-29 02:11:10 +02:00
  • f22ba836fd prealloc: use u8 instead of byte Alexander Medvednikov 2023-05-29 01:42:52 +02:00
  • 3f62487409 examples: add a simple coroutine example Alexander Medvednikov 2023-05-29 01:35:34 +02:00
  • 1be539d20f checker: add byte deprecation warning (#18287) Turiiya 2023-05-28 23:30:32 +02:00
  • 3ac63cce86 fmt: fix a shared test Alexander Medvednikov 2023-05-28 18:23:07 +03:00
  • f8422738bb vfmt: no longer replace go with spawn Alexander Medvednikov 2023-05-28 16:03:39 +02:00
  • 786865d349 coroutines: init() that runs automatically Alexander Medvednikov 2023-05-28 15:54:57 +02:00
  • 80d404c220 checker: replace as cast with a safer type check is (smart cast) (#18286) Turiiya 2023-05-28 05:41:46 +02:00
  • 9db10c8f61 all: coroutines (part 2) Alexander Medvednikov 2023-05-28 05:30:23 +02:00
  • 2162230086 cgen: move spawn and go logic to a separate file Alexander Medvednikov 2023-05-28 02:52:38 +02:00
  • 50247d5093 gen.golang: handle spawn/go Alexander Medvednikov 2023-05-28 02:44:47 +02:00
  • 45f16a2640 all: coroutines (part 1) Alexander Medvednikov 2023-05-27 23:33:46 +02:00
  • 5812579d53 checker: remove check for option being initialized (#18280) Felipe Pena 2023-05-27 15:43:54 -03:00
  • 16ef1d95fb cgen: fix fixed array ret with anon fn (#18279) Felipe Pena 2023-05-27 15:42:31 -03:00
  • 6bfa6ec93c cgen: fix comptime interpolation (#18281) Felipe Pena 2023-05-27 15:41:40 -03:00
  • 43bc85d3bb http: add workers to improve the server's concurrent capacity. (#18271) xiusin 2023-05-27 06:57:32 +08:00
  • f9efbdff10 semver: refactor, simplify, fix typo (#18272) Turiiya 2023-05-27 00:57:02 +02:00
  • 3e08487198 checker: disallow multiple return values in const declarations (#18273) Turiiya 2023-05-27 00:55:14 +02:00
  • 6db62e43d3 parser: fix array method using it in defer (fix #18246) (#18267) yuyi 2023-05-26 08:29:52 +08:00
  • 79657a1a2f vweb: update middleware docs (#18270) Casper Kuethe 2023-05-26 02:26:00 +02:00
  • b698a0f459 mysql: add the ability to commit transactions, some code improvements (#18268) Mark aka walkingdevel 2023-05-26 00:16:02 +00:00
  • 8a856cc36d checker: adjust fix for struct anon assigning to typed struct (#18264) Felipe Pena 2023-05-25 14:40:20 -03:00
  • e8289dd4d5 changelog: add entry about heap usage api (#18265) Felipe Pena 2023-05-25 12:27:49 -03:00
  • c2fa45c24d cgen, orm: fix typo, and wrap the fkey attribute into quotes in errors (#18266) Mark aka walkingdevel 2023-05-25 15:27:25 +00:00
  • 993546a0a2 examples: fix typos (#18229) Turiiya 2023-05-25 15:54:46 +02:00
  • caee3935a5 os: fix truncate() on windows (#18262) yuyi 2023-05-25 19:37:53 +08:00
  • bc88183318 cgen: fix struct fn ptr call (#18260) Felipe Pena 2023-05-25 04:52:05 -03:00
  • dc16e50d55 regex: fix find() when using anchors (start / end) (#18259) Felipe Pena 2023-05-25 04:51:41 -03:00
  • fc6a34355d parser: fix missing sync auto import when only declaring shared type and not using it (#18255) Felipe Pena 2023-05-24 21:54:04 -03:00
  • 9d56432e55 checker: add missing check for mismatch anon struct to typed struct (#18250) Felipe Pena 2023-05-24 21:53:14 -03:00
  • 64a4a3316a checker, cgen: fix fixed array return on assigning, arg pass and dumping (#18216) Felipe Pena 2023-05-24 21:52:45 -03:00
  • f1c647cbbe parser: make most of parser methods private (#18249) yuyi 2023-05-25 08:51:59 +08:00
  • 190f5c69ea os: fix open_file() on windows (fix #18245) (#18253) yuyi 2023-05-25 08:50:52 +08:00
  • 351b2e0e42 mysql: refactor, comments, simplify (#18258) Mark aka walkingdevel 2023-05-25 00:50:15 +00:00
  • 010a5c26a0 vpm: increment vpm downloads, use new endpoints (#18202) xy3 2023-05-25 02:47:58 +02:00
  • c45c36ccce orm: improve an fkey error a bit Alexander Medvednikov 2023-05-24 18:30:37 +02:00
  • e8dbd2c0c7 parser: fix enum attr with default value (#18248) Felipe Pena 2023-05-24 11:25:27 -03:00
  • 099d4fc06f parser: clean up in parser.v (#18247) yuyi 2023-05-24 11:51:15 +08:00
  • e8046439f0 cgen: include float kind in struct field type defaults (#18228) Turiiya 2023-05-24 05:50:45 +02:00
  • 598673314b json.decode: add check for shared variable (#18237) Felipe Pena 2023-05-24 00:47:09 -03:00
  • 6698fe4f60 checker, cgen: fix contains() with array of interfaces (#18241) yuyi 2023-05-23 20:46:14 +08:00
  • 37618c9465 cgen, checker: fix comptime assigning to sumtype or indexexpr (#18240) Felipe Pena 2023-05-23 09:42:53 -03:00
  • e2f18fc9cc checker, cgen: fix array of interfaces index() (#18232) weekly.2023.21 yuyi 2023-05-22 21:31:22 +08:00
  • a33ffcedfb parser: remove attributes from anonymous structs (fixes #18233) Alexander Medvednikov 2023-05-22 14:13:16 +02:00
  • c382f4d310 rand: add missing rand.u16(), update doc comments, add test Delyan Angelov 2023-05-22 13:15:07 +03:00
  • 3a09142ace doc: update memory management info Alexander Medvednikov 2023-05-22 08:36:31 +02:00
  • 1be798be49 net.html: remove unnecessary comment (#18230) Turiiya 2023-05-22 06:46:26 +02:00
  • a10690b934 net.conv: use a pure v implementation instead of C.hton etc (#18226) kbkpbot 2023-05-22 11:59:33 +08:00
  • ce0591da8d mysql: allocate memory for each string and blob dynamically depending on its value length (#18214) Mark aka walkingdevel 2023-05-21 13:24:43 +00:00
  • f833188234 vweb: return 404 on file not found (#18219) sandbankdisperser 2023-05-21 15:23:43 +02:00
  • e4c769d072 net.http: add remote-addr header (#18208) xiusin 2023-05-21 21:23:24 +08:00
  • 38a155ac81 cgen: make comptime call works with or-block (#18215) Felipe Pena 2023-05-21 10:22:40 -03:00
  • 30e02cfa3d examples: fix typo in bellman-ford.v (#18223) Akhil Binoy 2023-05-21 18:52:27 +05:30
  • 4b22ea7803 parser: disallow all array usage outside of builtin (#18222) Swastik Baranwal 2023-05-21 18:51:57 +05:30
  • abcbba1e81 builtin: fix typo in string.js.v (#18213) Ikko Eltociear Ashimine 2023-05-21 08:46:11 +09:00
  • d0214a254e vweb: vweb.csrf re-implementation (#18220) Casper Kuethe 2023-05-21 00:56:17 +02:00
  • adcf47dcce checker: appending to an array of sumtype (#18201) yuyi 2023-05-20 07:25:26 +08:00
  • 1e9dcb9b9e checker: refactor, comments, simplify. (#18203) Mark aka walkingdevel 2023-05-19 23:24:30 +00:00
  • 94217571cd parser, checker, cgen: fix swapping arrays (#18204) yuyi 2023-05-20 07:23:50 +08:00
  • 332235548e checker: clean up in array_init() (#18205) yuyi 2023-05-20 07:21:52 +08:00
  • 9d0a1d8496 builtin: speed up string methods with vmemcpy instead of for loop for copying data (#18211) Petr Makhnev 2023-05-19 22:24:23 +04:00
  • aded6088e9 vet: allow vetting files with global variables (#18195) Turiiya 2023-05-19 15:28:01 +02:00
  • a39c26507c builtin: speed up string concatenation and repeat() method with vmemcpy instead of for loop for copying data (#18206) Petr Makhnev 2023-05-19 17:18:23 +04:00
  • f67952fe84 doc: use u8 instead of byte Alexander Medvednikov 2023-05-18 12:24:00 +02:00
  • cc47c78f39 net.mbedtls: make compile with -prod Alexander Medvednikov 2023-05-18 11:31:53 +02:00
  • 9d9785cc05 all: allow fixed array returns (#17931) Felipe Pena 2023-05-18 06:30:49 -03:00