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

Commit Graph

  • 8ef9dc6247 ci: run v fmt -w vlib/v/checker/fn.v (fix CI regression after 4952967) Delyan Angelov 2022-05-12 21:24:05 +03:00
  • 668d1b04d2 parser: make script mode errors more informative, when a top level declaration is encountered, after script mode had already started Delyan Angelov 2022-05-12 21:13:51 +03:00
  • 20139ad756 checker: fix typo (#14368) Hunam 2022-05-12 11:23:32 +02:00
  • 4952967366 checker: alias C2V fix (#14377) playX 2022-05-12 09:19:31 +00:00
  • f48f7014f0 checker: check error for generic sumtype types (#14374) yuyi 2022-05-12 16:57:57 +08:00
  • e93a8766e5 regex: fix #14370, last IST not managed in advance tests (#14372) penguindark 2022-05-12 10:49:57 +02:00
  • b7ca4c1668 checker: fix a compiler panic on fntest()?(&int,&int){return test()?} Delyan Angelov 2022-05-12 11:36:25 +03:00
  • 8830af5c89 rand: minor cleanup in choose() (#14376) yuyi 2022-05-12 16:20:38 +08:00
  • 5bc4fea9e0 checker: check error for cast function to string (#14375) yuyi 2022-05-12 15:04:38 +08:00
  • 901b8f0c24 builtin: add a map.clear() method (#14373) CC 2022-05-12 00:43:01 -06:00
  • 49382f1f43 gen: make the closure implementation more performant (#14352) spaceface 2022-05-11 23:05:14 +02:00
  • c19b037880 net: select with deadlines (#14369) Emily Hudson 2022-05-11 16:03:48 -05:00
  • cd4fa041ff checker: check generic sumtype declare error (#14367) yuyi 2022-05-11 22:39:58 +08:00
  • 34a252ef84 os: add raw_execute on Windows (#14363) Larpon 2022-05-11 15:56:03 +02:00
  • 26b81d68b5 time: update doc comments (#14359) David 'Epper' Marshall 2022-05-11 09:55:19 -04:00
  • 0ec1c8d9f0 szip: expose zip_folder (#14356) Larpon 2022-05-11 15:48:41 +02:00
  • 3afc7c4c6d parser: check error for generic struct parameter (#14362) yuyi 2022-05-11 18:24:54 +08:00
  • cf536b848b Revert "strings: reduce time spent in Builder.writeln (very frequently called)" Delyan Angelov 2022-05-11 09:19:37 +03:00
  • 8f765ed5f1 checker: minor cleanup and speedups in fn_call() (#14343) yuyi 2022-05-10 21:41:47 +08:00
  • 5697d4375b cgen: fix error for printing aliases of multi fixed array (#14348) yuyi 2022-05-10 19:03:18 +08:00
  • 606d8cfaca checker: check error for returning aliases of fixed array (#14349) yuyi 2022-05-10 19:01:55 +08:00
  • 9e09b709e3 net.http: fix crash on Windows when using Boehm GC (#14351) Isaiah 2022-05-10 07:00:55 -04:00
  • 940c78bdfd checker: minor cleanup in method_call() (#14342) yuyi 2022-05-09 23:01:44 +08:00
  • 79f8a3c796 rand: update README.md (#14341) Subhomoy Haldar 2022-05-09 20:29:20 +05:30
  • d24dce8eb3 parser,checker: support $compile_error('message') and $compile_warn('message') (#14320) weekly.2022.19 StunxFS 2022-05-09 01:18:26 -04:00
  • 4400f9891e szip: fix extracting dot folders (#13387) Dialga 2022-05-09 16:45:36 +12:00
  • 8519996201 checker: fix error for match sumtype that referenced before (#14338) yuyi 2022-05-09 12:32:51 +08:00
  • 106487d62f pg: resolve PG string datetime values to V time.Time ones (#14336) Merlin Diavova 2022-05-08 12:37:46 +00:00
  • 650fb493bd regex: add split (#14329) David 'Epper' Marshall 2022-05-08 08:21:39 -04:00
  • 084f2867b6 time: let time.parse_rfc3339('2015-01-06T15:47:32.080254511Z') succeed (dockerd timestamps, Go's RFC3339Nano). Delyan Angelov 2022-05-08 13:56:50 +03:00
  • a0a3499bdc net.smtp: correct date in smtp body (#14326) WoodyAtHome 2022-05-08 08:15:45 +02:00
  • 0526499d5f tools: hide tcc warning on macos for now Alexander Medvednikov 2022-05-08 08:01:55 +03:00
  • f8747d05dc pg: add type 18 for pg boolean data type (#14335) Merlin Diavova 2022-05-08 04:17:43 +00:00
  • d5e70552eb checker: check error for json.decode (fix #6732) (#14305) StunxFS 2022-05-08 00:17:11 -04:00
  • aef95721a4 strings: builder: add clear (#14328) David 'Epper' Marshall 2022-05-08 00:15:42 -04:00
  • b04d46770b ast, checker, cgen: fix error for generic method with generic fn type argument (fix #14239) (#14333) yuyi 2022-05-08 01:22:20 +08:00
  • 724e7f037a cgen: fix error for if cond with optional expr (#14334) yuyi 2022-05-08 01:20:00 +08:00
  • a91226c376 docs: cleanup (#14327) David 'Epper' Marshall 2022-05-07 13:18:42 -04:00
  • b53b1cc7cb strings: reduce time spent in Builder.writeln (very frequently called) Delyan Angelov 2022-05-07 10:37:25 +03:00
  • 7ecd65221e v.util: support -d trace_cached_read_source_file Delyan Angelov 2022-05-07 09:16:51 +03:00
  • 56cf0b0a2e builtin: inline manually isnil calls in array.push_many (very frequently called) Delyan Angelov 2022-05-07 10:35:56 +03:00
  • 7f974a275a docs: fix teh typo Delyan Angelov 2022-05-06 09:10:42 +03:00
  • f956acd2f6 ci: restore the v -autofree . step for gitly (gitly now has a workaround) Delyan Angelov 2022-05-07 12:55:25 +03:00
  • 9e8e364493 ci: comment out the go2v testing step for now Delyan Angelov 2022-05-07 12:53:54 +03:00
  • ca42ace367 Revert "checker: remove more unnecessary void errors" Alexander Medvednikov 2022-05-07 11:03:12 +03:00
  • 35cfa0da7c doc: closures work on arm64 too Alexander Medvednikov 2022-05-07 11:02:53 +03:00
  • 6a6c005dc0 checker: c2v fixes (#14332) playX 2022-05-07 06:50:41 +00:00
  • 9fb8de14dd doc: closures now work on Windows Alexander Medvednikov 2022-05-07 09:49:33 +03:00
  • 89c1e7f980 checker: remove more unnecessary void errors Alexander Medvednikov 2022-05-07 09:09:07 +03:00
  • 70184ad1f8 scanner: minor simplification in scanner.v (#14331) yuyi 2022-05-07 13:30:15 +08:00
  • 14f06ead1b cgen: fix c2v consts; enum_decl() Alexander Medvednikov 2022-05-07 00:58:14 +03:00
  • 621574c12a checker: fix error for generic method on nested struct (#14322) yuyi 2022-05-07 05:51:04 +08:00
  • 0699f324b5 builtin: add map.values() (#14301) Hunam 2022-05-06 19:42:01 +02:00
  • ce99a306c0 net.http: make parse_form return POST requests with json data as a map with a json key, containing the json payload (#14289) Lathanao 2022-05-06 17:23:36 +00:00
  • 87de6df0e6 docs: update keyword list (#14319) StunxFS 2022-05-06 13:17:45 -04:00
  • 2027a1969b v.builder: harmonise the default settings of the different Windows compilers (#14314) Ekopalypse 2022-05-06 18:28:13 +02:00
  • 76cdf75299 builtin,cgen: rename Option to _option (#14317) Daniel Däschle 2022-05-06 18:25:54 +02:00
  • 45fe87c9e3 checker: minor cleanup in fn_call() (#14307) yuyi 2022-05-06 02:15:54 +08:00
  • 3091f31019 checker: check for optional argument in dump() (#14316) yuyi 2022-05-06 02:15:22 +08:00
  • 634796ae42 examples: 2 new examples for graph algorithms (topological sorting) (#14303) Claudio Cesar de Sá 2022-05-05 12:08:08 -03:00
  • 9fde5b067b docs: add missing function names in the builtin example doc comments (#14318) Andréas Livet 2022-05-05 16:22:25 +02:00
  • 89fe82b732 checker: fix returning error on reference results (#14313) Daniel Däschle 2022-05-05 16:02:49 +02:00
  • b6058bfd6e parser, checker: fix generic method on nested struct (fix #14089) (#14310) yuyi 2022-05-05 16:24:20 +08:00
  • 8afdb1c3ef checker: c2v: allow passing fixed array as pointer to functions; bool <-> int (#14309) playX 2022-05-05 08:23:57 +00:00
  • 7499506cf8 .gitignore: minor cleanup (#14279) StunxFS 2022-05-05 03:17:24 -04:00
  • 785e9af8f1 ci: comment out the v -autofree . step for gitly temporarily Delyan Angelov 2022-05-05 09:20:08 +03:00
  • 7170a09382 vfmt: fix stackoverflow on long nested infix expressions Delyan Angelov 2022-05-05 07:36:56 +03:00
  • 01c1892995 tools: fix building vdoctor.v with v build-tools Delyan Angelov 2022-05-04 23:30:44 +03:00
  • a6b3e5d6a5 ci: wrap the too long line in README.md that failed ./v check-md -hide-warnings . Delyan Angelov 2022-05-04 21:19:57 +03:00
  • 76a7354506 builtin: add libbacktrace as option for generating stack traces (#14277) Ned 2022-05-05 02:17:05 +08:00
  • 4242e7610f checker: add comptime_selector() (#14286) yuyi 2022-05-05 00:25:58 +08:00
  • e2aa5c9b3f parser: make peek_token_after_var_list() private (#14288) yuyi 2022-05-05 00:25:45 +08:00
  • 223b96a59a builtin: fix typo in array_bare.v (#14299) Ikko Ashimine 2022-05-05 01:25:17 +09:00
  • 1a4d9017e2 builtin: improve support for large arrays ([]int{len: 1_000_000_000} now works), fix an arr.repeat() bug (#14294) Delyan Angelov 2022-05-04 18:42:06 +03:00
  • af8be14639 readme: minor github markdown fix Alexander Medvednikov 2022-05-04 18:06:41 +03:00
  • ac90a2b53d checker: check error for fn call argument mismatch (fix #14280) (#14283) yuyi 2022-05-04 17:13:22 +08:00
  • 3bd6455178 checker: allow rune->any int and vice versa when translated (#14285) playX 2022-05-04 09:08:34 +00:00
  • 3d4b8dffdf checker: temporary c2v const fix Alexander Medvednikov 2022-05-04 08:28:24 +03:00
  • f321422964 checker, cgen: check comptime selector that has no field name (#14282) yuyi 2022-05-04 12:06:52 +08:00
  • 1e9156fd71 checker: c2v rune comparison fix Alexander Medvednikov 2022-05-04 06:49:45 +03:00
  • 3732db2bcc cgen: cleanup in gen_array_contains_methods() (#14274) yuyi 2022-05-04 01:46:07 +08:00
  • 146051b231 checker: allow fixed array to pointer and vice versa when translated (#14275) playX 2022-05-03 17:44:45 +00:00
  • 04a77c731e tests: add // vtest flaky: true to atomic_test.v Delyan Angelov 2022-05-03 20:42:12 +03:00
  • 63eacede95 checker: check argument mismatch of array.filter/all/any() (#14273) weekly.2022.18 yuyi 2022-05-03 21:56:18 +08:00
  • 6da300428e doc: add JS backend mention (#14265) Hunam 2022-05-03 11:51:12 +02:00
  • 276bd8060c cgen: fix error for fixed array in operate (#14269) yuyi 2022-05-03 17:45:04 +08:00
  • 0e5c1cee48 builtin: improve musl/Alpine support (define weak backtrace/backtrace_symbols/backtrace_symbols_fd symbols) (#14250) Delyan Angelov 2022-05-03 09:17:53 +03:00
  • 4da2908d63 vdoc: fix panic on empty // comment on v doc -f html file.v; turn expected code block after empty example to a warning Delyan Angelov 2022-05-02 23:48:37 +03:00
  • cf92224248 cleanup: delete x.v in project root folder (#14260) StunxFS 2022-05-02 15:58:14 -04:00
  • ab1c265679 builtin: add missing panic_result_not_set/1 callback function. Delyan Angelov 2022-05-02 22:40:17 +03:00
  • db185598d2 checker: refactor comptime_if_branch (#14259) spaceface 2022-05-02 21:24:20 +02:00
  • 990afe37e1 checker: fix a bug in generics array init (#14258) yuyi 2022-05-02 21:18:33 +08:00
  • d72a25098a parser: minor cleanup in interface_decl() (#14257) yuyi 2022-05-02 21:17:46 +08:00
  • 25c1b174ca checker: fix generic fn infering fn type argument (fix #14243) (#14256) yuyi 2022-05-02 21:17:27 +08:00
  • b9cf2db6a8 parser: fix inline array's element access (#14253) yuyi 2022-05-02 21:16:32 +08:00
  • afbe6bf3a2 cgen: fix const decl gen when translated (#14255) playX 2022-05-02 12:01:59 +00:00
  • a4fd349cf1 builder: allow -compress to work on windows too, when upx is installed (#14252) Isaiah 2022-05-02 07:28:31 -04:00
  • 968d2b4654 cgen: fix fixed array init with it (#14251) yuyi 2022-05-02 07:00:45 +08:00
  • 332e821518 checker, gen: add support for a [minify] struct attribute (#14247) spaceface 2022-05-02 00:59:17 +02:00
  • aed2d0caf2 make files: add a make check target, that runs v test-all locally Delyan Angelov 2022-05-01 13:38:30 +03:00