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

Commit Graph

  • 3a85955d22 all: rollback to old interpolation (step 4) (#16383) shove 2022-11-11 16:06:01 +08:00
  • 993e21e85b checker: check fntype mismatch of struct field init (fix #16372) (#16381) yuyi 2022-11-11 02:19:19 +08:00
  • 196b01aef7 all: minor cleanup of optional and result (#16382) yuyi 2022-11-11 02:14:20 +08:00
  • 26d643fc5d all: rollback to old interpolation (step 3) (#16380) shove 2022-11-10 20:05:34 +08:00
  • bbae7a705f checker: fix incomplete implicit ast.CastExpr{} replacements Delyan Angelov 2022-11-10 13:49:07 +02:00
  • 7543b769ad checker: allow for all.children := { "abc": rect, "def": rectangle()}, where children is map[string]Widget, without needing explicit casts for all the map values Delyan Angelov 2022-11-10 13:04:24 +02:00
  • 46921480fc comptime: fix embed file with variable argument (fix #16360) (#16375) yuyi 2022-11-10 10:09:51 +08:00
  • bbd0603b41 checker: add check for unknown generic types in type alias decl (#16377) Swastik Baranwal 2022-11-10 07:38:00 +05:30
  • 2634b99769 sqlite: expose SQLite's VFS layer (#16359) Dominik Pytlewski 2022-11-09 18:57:06 +01:00
  • 7e000bb6ae embed_file: correct test file name (#16376) yuyi 2022-11-10 01:55:51 +08:00
  • a199a9afab all: rollback to old interpolation (step 2) (#16373) shove 2022-11-09 22:37:27 +08:00
  • dd5f6186a1 all: rollback to old interpolation (step 1) (#16370) shove 2022-11-09 16:57:54 +08:00
  • 7830597b66 checker: add check for multi level fn aliases (#16361) Swastik Baranwal 2022-11-09 14:06:39 +05:30
  • ce79c9c876 checker: extract valid_comptime_ constants into v.checker.constants (#16371) Taegon Kim 2022-11-09 17:07:21 +09:00
  • a07f77ac52 make: add 'rebuild' target (clean and reset sub-repos, then rebuild V) (#16357) Roy Ivy III 2022-11-08 08:51:29 -06:00
  • c7d0f0561e scanner: fix new string interpolation - nested quotes (#16345) yuyi 2022-11-08 22:51:02 +08:00
  • bc30608e92 checker: always trigger error for anon fns without a body block (#16358) Taegon Kim 2022-11-08 22:50:59 +09:00
  • 1d04b71c91 cgen: fix generic sumtype auto str (#16355) yuyi 2022-11-08 16:49:09 +08:00
  • dc9997f58c fmt: fix - v fmt transforms compile time options in some cases (#16351) Taegon Kim 2022-11-08 15:05:48 +09:00
  • 5f33585edf tools: add support for VSELF_SHOULD_FAIL to v self, in order to make testing all v up failure modes easier. weekly.2022.45 Delyan Angelov 2022-11-07 12:36:30 +02:00
  • c015f15d8d make.bat: fix use of make.bat from v up (#16348) Roy Ivy III 2022-11-07 00:48:08 -06:00
  • 407bb6641f cgen: fix #16326 -cstrict with $embed_file (#16343) pancake 2022-11-06 14:47:06 +01:00
  • 5638005b17 README: fix Termux instructions (add libexecinfo too) Delyan Angelov 2022-11-06 15:09:29 +02:00
  • 040bcd9141 README: add a section to clarify the installation process on Termux Delyan Angelov 2022-11-06 15:04:37 +02:00
  • 25b8ae2189 parser: minor cleanup in comptime.v (#16338) yuyi 2022-11-06 13:23:28 +08:00
  • e3fed4c3eb v.pkgconfig: fix infinite recursion bug when parsing dependencies (#16342) pancake 2022-11-06 06:22:50 +01:00
  • ca484430e0 checker: check int overflow for const vars (#16332) Swastik Baranwal 2022-11-06 10:52:28 +05:30
  • d701cf561c scanner: fix new string interpolation: print('{n:10}') (fix #16321) (#16325) yuyi 2022-11-06 13:20:21 +08:00
  • 056f1b7c06 parser: improve error message for fn (a Foo<Foo<T>>) baz(){} Delyan Angelov 2022-11-05 19:58:22 +02:00
  • 27d8f2371d ci: fix go->spawn in the examples in vlib/context/README.md too Delyan Angelov 2022-11-05 14:02:24 +02:00
  • bf00e9bdb8 tests: fix vlib/v/fmt/tests/*_expected.vv files too Delyan Angelov 2022-11-05 11:30:49 +02:00
  • 02acb8433c tests: fix keep tests with spawn Alexander Medvednikov 2022-11-05 12:13:05 +03:00
  • 9f2ab9aad6 ci: fix long line in doc/docs.md Delyan Angelov 2022-11-05 10:57:13 +02:00
  • 3e02f3b2b1 docs: put the short installation instructions directly in doc/docs.md too Delyan Angelov 2022-11-05 10:54:26 +02:00
  • 5b44da5ddb doc: replace go with spawn Alexander Medvednikov 2022-11-05 10:50:37 +03:00
  • e81e0ac708 fmt: replace go with spawn Alexander Medvednikov 2022-11-05 10:46:40 +03:00
  • a082328e40 parser: make spawn behave like go Alexander Medvednikov 2022-11-05 10:41:30 +03:00
  • 141c404d45 all: new keyword "spawn" Alexander Medvednikov 2022-11-05 09:20:17 +03:00
  • b52b8429d4 vfmt: implement support for // vfmt off and // vfmt on, with it, v fmt -w . now works. (#16335) Delyan Angelov 2022-11-05 08:08:01 +02:00
  • 131d07aede parser: fix embed file to_string() in if guard (#16334) yuyi 2022-11-05 14:05:38 +08:00
  • e1896ffd5b tutorials: fix a broken link (#16333) Ted Stoychev 2022-11-05 07:13:00 +02:00
  • 5933ab7158 docs: add syntax highlighting to a code snippet in the tutorials (#16331) Ted Stoychev 2022-11-04 17:01:25 +02:00
  • 4cabf709e1 tools: add support for a |``v shared| markdown code tag, for illustrating code examples starting with module not_main` Delyan Angelov 2022-11-04 15:35:25 +02:00
  • 2dffb04650 ci: fix formatting of cmd/tools/vtest-cleancode.v after resolving conflicts Delyan Angelov 2022-11-04 15:12:41 +02:00
  • 7f91db695c examples, tests: small formatting cleanup in cube_glsl.v , remove already fixed skips in v test-cleancode, before // vfmt off and // vfmt on Delyan Angelov 2022-11-04 10:20:21 +02:00
  • fa7ff09370 doc: move Struct update syntax to the Struct section (#16305) kahsa 2022-11-04 16:01:51 +09:00
  • 3061859f25 doc: move the Parameter evaluation order section before References (#16306) kahsa 2022-11-04 15:57:40 +09:00
  • cb5c6b605b doc: fix match heading and add ref field link (#16316) kahsa 2022-11-04 15:31:24 +09:00
  • eb0c46e13a regex: fix for last group with OR inside (#16324) penguindark 2022-11-04 07:19:33 +01:00
  • fd4045931a scanner: fix the new string interpolation - println('{s == 'hello'}') (fix #16318) (#16319) yuyi 2022-11-04 05:06:11 +08:00
  • 0e8d148fe7 checker: give a checker error message on print(1), print(2) (fix #16311) (#16314) shove 2022-11-03 23:28:59 +08:00
  • 962d0babdc js: fix match true {} in the js backend (#16317) Taegon Kim 2022-11-04 00:25:45 +09:00
  • 4e02cd8721 doc: move match next to if (#16304) kahsa 2022-11-03 21:17:02 +09:00
  • a979b3aab8 scanner: fix new string interpolation - print('{a}{{b}}') (#16309) yuyi 2022-11-03 20:04:41 +08:00
  • 9de92eb391 doc: add more links (#16303) kahsa 2022-11-03 20:36:39 +09:00
  • fa3019195c doc: improve toc (#16302) kahsa 2022-11-03 20:34:05 +09:00
  • fa4a45d37f all: make fmt support two kinds of interpolation at the same time. (#16308) shove 2022-11-03 19:32:07 +08:00
  • 5c7ceb16dd checker: fix the check of types not implemented by interfaces in infix key_is and not_is (fix #16282 #16298) (#16284) shove 2022-11-03 18:18:30 +08:00
  • 14f90b1196 cgen: fix compile time reflection for method types (.typ was always 0) (#16310) Taegon Kim 2022-11-03 19:16:01 +09:00
  • f427a5241a os,tools: add os.vtmp_dir() Delyan Angelov 2022-11-03 09:24:52 +02:00
  • 509f5c7db3 doc: fix links to attributes (#16301) kahsa 2022-11-03 14:02:01 +09:00
  • 1ecf7c6e41 doc: fix function heading (#16307) kahsa 2022-11-03 13:38:07 +09:00
  • dddcf423db all: replace x[x.len-1] with x.last() (#16296) shove 2022-11-03 03:08:33 +08:00
  • d11baa691c v: update the .gitattributes/.gitignore files generated by v init (#16292) JalonSolov 2022-11-02 14:41:12 -04:00
  • d4c83f62b2 doc: fix a broken example in json2's README.md (#16293) Taegon Kim 2022-11-03 02:29:43 +09:00
  • 5fe4888874 parser: fix raw string as map keys (fix #16285) (#16289) shove 2022-11-02 22:04:22 +08:00
  • 075c025999 native: don't generate duplicate strings (#16281) Spydr 2022-11-02 14:48:25 +01:00
  • 0fa6f60fac cgen: fix call method with an empty args on an interface with variadic (fix #16286) (#16290) shove 2022-11-02 21:45:39 +08:00
  • 4e05e07b94 checker: check undefined ident in closure anon fn (fix #16274) (#16278) yuyi 2022-11-02 21:41:44 +08:00
  • 0510a69bea doc: categorize the advanced topic section (#16276) kahsa 2022-11-02 22:33:29 +09:00
  • 54b6b43922 cgen: fix dump(none) (#16287) yuyi 2022-11-02 20:21:28 +08:00
  • 7bd00b7580 tools: make fast_job.v more verbose and robust to compilation failures in fast.v, and to what compiler exactly was used to compile fast_job.v itself. Delyan Angelov 2022-11-02 13:22:34 +02:00
  • 82dc9ca434 tools: make fast.v results more robust to AWS spikes (increase samples, discard the top few) Delyan Angelov 2022-11-02 10:39:18 +02:00
  • 38291fd292 changelog: minor fixes Alexander Medvednikov 2022-11-02 12:50:16 +03:00
  • 0aa2c63afd changelog: 0.3.2 Alexander Medvednikov 2022-11-02 10:08:21 +03:00
  • 33bd7decdc readme: update links Alexander Medvednikov 2022-11-02 08:26:57 +03:00
  • e5d1881e1a checker: fix multiple pointer check of fn and method args (fix #16261 #16262 #16263) (#16275) shove 2022-11-02 01:05:34 +08:00
  • d2902e700f examples: show how to use a before_request method for the multi-route examples, be more informative about DB creation problems (#16279) Hitalo Souza 2022-11-01 14:02:07 -03:00
  • 0c03ebb7a4 .gitignore: ignore Intellij items (#16280) JalonSolov 2022-11-01 12:51:46 -04:00
  • 31adc65dd6 examples: mention -d no_backtrace in examples/call_v_from_python/README.md Delyan Angelov 2022-11-01 18:16:30 +02:00
  • 968435fca6 toml: clearly mark the workaround [manualfree] tags with [autofree_bug; manualfree], so they can be found/removed when -autofree is fixed Delyan Angelov 2022-11-01 18:08:32 +02:00
  • ffd9b9bae1 ci,toml: add a workaround for buggy -autofree (skip -autofree compilation for some of the toml functions, that prevent VED to compile cleanly on the CI) Delyan Angelov 2022-11-01 17:52:31 +02:00
  • bd7c86a9d4 tools: make fast_job.v more informative on updates Delyan Angelov 2022-11-01 16:12:36 +02:00
  • 1868b101a5 tools: fix commit message cell border in fast.vlang.io Delyan Angelov 2022-11-01 16:05:50 +02:00
  • 32ce3d9149 tools: make fast_job.v more robust Delyan Angelov 2022-11-01 15:49:23 +02:00
  • edb3f1df32 tools: fix table wrapping in fast.vlang.io, use <th> cells for the heading Delyan Angelov 2022-11-01 15:13:09 +02:00
  • 9cdec87255 tools: add more logging for fast_job.v, to ease maintainance vlang-bot 2022-11-01 10:54:12 +00:00
  • 362adfae3a regex: fix a bug for CC token not correctly parsed in groups (#16272) penguindark 2022-11-01 07:58:29 +01:00
  • 47a10f3181 doc: update ssl section in the main README.md (#16273) JalonSolov 2022-11-01 01:28:39 -04:00
  • 135b1ccb14 V 0.3.2 0.3.2 Alexander Medvednikov 2022-11-01 05:41:13 +03:00
  • 1b721250e0 native: enable printing for all supported expressions (#16270) weekly.2022.44 Spydr 2022-10-31 16:43:02 +01:00
  • 339bd0c4b5 checker: check fn type mismatch of return result type fn (#16269) yuyi 2022-10-31 20:05:43 +08:00
  • c3e209a634 scanner: prevent resolving to nested interpolation (fix #16240) (#16259) shove 2022-10-31 16:47:32 +08:00
  • 4a7a4b9ec5 docs: improve the package related sections; describe VMODULES. Delyan Angelov 2022-10-31 10:13:18 +02:00
  • cd4a999e80 examples: add custom_error.v, that shows how to match over possible errors (#16265) Mykhailo 2022-10-31 09:56:41 +02:00
  • 0390a7a988 cgen: fix return match expr of sumtype result (#16264) yuyi 2022-10-31 02:26:33 +08:00
  • 64cbadc6f1 scanner: fix new string interpolation println('{a}{b}{c}{d}') (#16258) yuyi 2022-10-31 02:18:31 +08:00
  • 914f03a1a2 doc: document the -no-bounds-checking option in v help build Delyan Angelov 2022-10-30 15:05:02 +02:00
  • 9edb48571f pref,cgen: support -no-bounds-checking, instead of -d no_bounds_checking, and make it enable direct_array_access for all fns/methods. Delyan Angelov 2022-10-30 14:06:07 +02:00
  • 54b623743d native, checker: cast float_literal to f32 explicitly in code gen (#16254) lemon 2022-10-30 17:31:18 +09:00