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

Commit Graph

  • 1999fb9a95 toml: remove some skipped tests related to recent formatting update (#12380) Larpon 2021-11-04 13:27:14 +01:00
  • fc7f4c5b1f toml: disallow multiline keys (#12381) Larpon 2021-11-04 13:26:25 +01:00
  • 59e21c2068 cgen: fix array of threads wait (fix #12350) (#12378) yuyi 2021-11-04 20:24:58 +08:00
  • 73e25ccb3c checker: check generic struct field fn args type mismatch (#12379) yuyi 2021-11-04 16:18:36 +08:00
  • a27833ed0d all: support volatile field Type in struct declarations Delyan Angelov 2021-11-04 09:31:40 +02:00
  • 1a54817c81 toml: parse formatting (#12374) Larpon 2021-11-04 08:15:50 +01:00
  • 2b4154910c jsdom, checker: add more methods for CanvasRenderingContext2D, fix interop check for JS methods (#12372) playX 2021-11-03 17:54:28 +03:00
  • c4e282a0c8 parser: check fn args in declarations too with -Wimpure-v Delyan Angelov 2021-11-03 16:20:19 +02:00
  • 4bafc5042b checker: check generic struct field fn args error (#12373) yuyi 2021-11-03 16:20:39 +08:00
  • 45c938bdec toml: streamline scanner.at() return type, fixes #12344 (#12370) Larpon 2021-11-03 09:18:09 +01:00
  • bd5e2db460 toml: add Parser.peek(n) method (#12369) Larpon 2021-11-03 09:15:40 +01:00
  • 99fd84dfe4 toml: fix hex values starting with a, e or E and comments ending with crlf (#12367) Larpon 2021-11-02 18:07:27 +01:00
  • 3fdbfca202 cgen: fix for in with mutable structs (#12368) yuyi 2021-11-02 23:40:13 +08:00
  • 639cbfa0d1 checker: fix generics with assign nested generic fn call (#12366) weekly.2021.44 yuyi 2021-11-02 16:12:26 +08:00
  • 0952af606c checker: fix comptime if T is interface (#12365) yuyi 2021-11-02 15:35:01 +08:00
  • 4ed6fb0e9b tools: cleanup a dump() from vwatch.v Delyan Angelov 2021-11-02 09:29:12 +02:00
  • 1d1793ec34 fmt: correctly format segment offsets (#12364) crthpl 2021-11-01 23:04:41 -07:00
  • 9aba00cd08 doc: update github link to libsodium (#12360) Wertzui123 2021-11-02 01:35:54 +01:00
  • dcf230ca24 checker: fix nested generic method call (#12353) yuyi 2021-11-01 20:41:54 +08:00
  • 0ab133a563 doc: fix typo (#12357) null 2021-11-01 19:41:07 +07:00
  • da65680acf checker: fix comptime if expr of sync.threads (#12356) yuyi 2021-11-01 15:41:04 +08:00
  • 51f5841b6e checker: do not deref non-pointer types in fn_signature_using_aliases (#12340) Lucas Jenß 2021-11-01 00:26:15 +01:00
  • 28cada3fd5 docs: fix some typos (#12341) Lucas Jenß 2021-10-31 13:12:04 +01:00
  • 6937074e7a strings,builder: reduce V cgen and parser memory consumption, fix strings.Builder leak (#12342) Delyan Angelov 2021-10-31 12:58:55 +02:00
  • ce9f26c589 examples/vweb: use map instead of string in call to app.json (#12338) Miccah 2021-10-31 05:31:49 -05:00
  • 81b95ece51 docs: improve the docs by provide better examples and describe module publishing (#12308) czkz 2021-10-31 12:32:31 +03:00
  • 579d5ae649 builtin,checker: add array.flags. Allow changing it in unsafe {} blocks Delyan Angelov 2021-10-30 13:30:14 +03:00
  • 612e742c1f examples: remove unneeded workaround (#12336) Wertzui123 2021-10-30 17:49:54 +02:00
  • a7d4236337 sync,strings,cgen: reduce memory consumption in cgen Delyan Angelov 2021-10-29 21:01:07 +03:00
  • 7e0f2fcda9 docs: update VS Code debugger configuration descriptions (#12335) Xiao 2021-10-29 23:06:28 +08:00
  • 1785b184b9 readline: improve README.md with working examples Delyan Angelov 2021-10-29 17:32:36 +03:00
  • d1acca3e52 ci: fix ./v -cg -cstrict -o v cmd/v job failures for clang Delyan Angelov 2021-10-29 17:21:46 +03:00
  • d5642b6134 cgen: fix error of nested match expr (#12334) yuyi 2021-10-29 22:14:49 +08:00
  • 71392111f8 ci: fix cross compilation of vc/v.c Delyan Angelov 2021-10-29 17:12:05 +03:00
  • 4c67c01e72 parser,util: improve libleak false positive detection rate Delyan Angelov 2021-10-29 16:35:58 +03:00
  • 3d800b12e8 scanner: small optimisation of the ident_name hot loop Delyan Angelov 2021-10-29 16:18:34 +03:00
  • b86c79329b os, builtin: reduce leaks without -autofree Delyan Angelov 2021-10-29 15:49:30 +03:00
  • f801ef5e17 checker: disallow mut keyword in right-hand side of assignment (#12318) Lucas Jenß 2021-10-29 11:03:05 +02:00
  • a32dae335a js: fix interfaces behaviour & disable struct deep copy for now (#12333) playX 2021-10-29 11:23:40 +03:00
  • d33f7d12f7 orm: fix time struct in sql stmt (#12298) Louis Schmieder 2021-10-28 21:31:41 +02:00
  • 5e4594a121 toml: isolate, fix and regress-test sumtype cast causing memory corruption (#12329) Larpon 2021-10-28 18:57:30 +02:00
  • fa02418a55 js: copy variables passed to closures (#12328) playX 2021-10-28 19:31:56 +03:00
  • 0e95e4d7b4 ast, cgen: fix generic method str() overload (#12330) yuyi 2021-10-29 00:03:17 +08:00
  • 475a2f9b43 ci: fix failing vlib/orm/orm_test.v Delyan Angelov 2021-10-28 17:33:18 +03:00
  • 4d0f6767b1 builtin: use malloc instead of calloc for []Type{cap: size} Delyan Angelov 2021-10-28 17:18:03 +03:00
  • 2c3e44eb20 strings: use memdup_noscan in Builder.str() Delyan Angelov 2021-10-28 17:00:10 +03:00
  • a987440e2f toml: add UTF header support, add BOM tests (#12326) Larpon 2021-10-28 15:38:49 +02:00
  • 99e71d0868 scanner: preallocate space for tokens to reduce the number of allocations in the hot loop Delyan Angelov 2021-10-28 16:23:17 +03:00
  • 5ecaa160a7 toml: fix paths in skipped tests for Windows compatibility (#12323) Larpon 2021-10-28 14:56:56 +02:00
  • 8014235e0e scanner: speed up text_scan by using a specialised keywords matcher, instead of a generic V map of keywords Delyan Angelov 2021-10-28 15:09:41 +03:00
  • b1bb1d361a ci: vfmt parser.v Delyan Angelov 2021-10-28 10:51:55 +03:00
  • 1b6cccaf6d parser,checker: allow a goto label right after return Delyan Angelov 2021-10-28 10:40:18 +03:00
  • 8cd01e0eac cgen: fix error caused by fixed size array init syntax with variable it (#12314) ChAoS_UnItY 2021-10-28 07:20:49 +08:00
  • 8fd66994c7 ci: comment out the main body in draw.js.v for now Delyan Angelov 2021-10-28 02:18:32 +03:00
  • cfecb62299 js: DOM API. Part 1 (#12296) playX 2021-10-27 23:18:09 +03:00
  • 0ff23eeb74 ci: fix failing assign_expr_channel_push.out Delyan Angelov 2021-10-27 22:54:41 +03:00
  • f79bc8619a scanner: remove unused .line_ends field Delyan Angelov 2021-10-27 22:28:10 +03:00
  • bc3827ae15 toml: improve array parsing (#12322) Larpon 2021-10-27 19:26:33 +02:00
  • 43fbc68f1e checker: disallow <- (channel push) on right-hand side of assignment (fix #12309) (#12321) Lucas Jenß 2021-10-27 16:53:50 +02:00
  • 159a9c3070 markused: fix -skip-unused on programs with generic methods (fix #12306) Delyan Angelov 2021-10-27 17:07:10 +03:00
  • 462d097bf5 toml: small clarification on utf8_max const (#12320) Larpon 2021-10-27 15:41:22 +02:00
  • 943a807d30 parser: implement generics method with auto multi generic types (#12312) yuyi 2021-10-27 20:41:13 +08:00
  • e5c759eb91 docs: fix typos (line 22, 26, 28, 34, 50, 107) (#12310) Darío Hereñú 2021-10-27 09:31:18 -03:00
  • d53bb54c0a toml: implement checks for UTF-8 validity (#12313) Larpon 2021-10-27 14:28:46 +02:00
  • ea6d2d53db parser: disallow for mut in range (fix #12234) (#12277) Wertzui123 2021-10-27 13:55:36 +02:00
  • 6eaacd3391 toml: improve checker documentation (#12315) Larpon 2021-10-27 13:31:29 +02:00
  • d7fd4a563b parser: remove commented out debug statement (#12316) Lucas Jenß 2021-10-27 13:30:22 +02:00
  • 1b9eef74aa toml: improve inline-table parsing (#12307) Larpon 2021-10-26 16:00:41 +02:00
  • c526752419 toml: remove unused enum (#12304) Larpon 2021-10-26 15:58:58 +02:00
  • 9a3967bd7d toml: improve comment support (#12305) Larpon 2021-10-26 15:58:05 +02:00
  • 52df19ef61 toml: check for invalid placement of underscores around exponent (#12303) Larpon 2021-10-26 12:49:25 +02:00
  • f14dabc6bd math.big: add a new greatest-common-divisor-algo for big.Integer, also add a benchmark for it (#12261) Andreas Schoeller 2021-10-26 10:10:13 +02:00
  • f62b2dcfa7 table: fix generic method with multi generic types (#12297) yuyi 2021-10-26 16:00:27 +08:00
  • 508f29c101 docs: document the purpose of the [params] trailing struct tag Delyan Angelov 2021-10-26 10:53:08 +03:00
  • 655b5c563a net.http: use [params] for Config structs (#12299) Miccah 2021-10-26 02:45:27 -05:00
  • 06796a6119 ci,toml: add the new float/trailing-us-exp.toml to the ignored skip list for now Delyan Angelov 2021-10-26 10:42:36 +03:00
  • 5b325b99e8 docs: give a concrete example of bounds access check, and error propagation with x := arr[idx] ? Delyan Angelov 2021-10-25 17:19:24 +03:00
  • ac99007cab table: fix generic sumtype instantiations (#12288) yuyi 2021-10-25 20:22:41 +08:00
  • 77a1e3dedb gg: improve system_font_path on linux (#12290) kahsa 2021-10-25 21:16:29 +09:00
  • 18da724a9f examples: prevent a 180 turn in snek (#12286) weekly.2021.43 Amund Tenstad 2021-10-25 09:57:05 +02:00
  • cc2847f6ff builtin: fix compilation with -gc boehm on some FreeBSD versions (#12289) Bakul Shah 2021-10-25 00:24:08 -07:00
  • 45c1c1ab41 ci: fix import_symbol_private_err.vv and its .out file (time.since is no longer private) Delyan Angelov 2021-10-24 22:06:32 +03:00
  • 49ebba535e time: implement pub fn since(t Time) Duration Delyan Angelov 2021-10-24 21:36:28 +03:00
  • bb71089b70 os: make the os_test.v functions more robust on windows (normalise the returned paths before comparing them) Delyan Angelov 2021-10-24 19:54:00 +03:00
  • e99b699ac6 os: make os.mkdir_all more robust (honor / on windows too), add a test for it Delyan Angelov 2021-10-24 19:16:46 +03:00
  • f34daf9ff4 os: add os.walk_with_context/3 and a test for it Delyan Angelov 2021-10-24 19:12:14 +03:00
  • e34046a0e1 os: remove pub from impl_walk_ext Delyan Angelov 2021-10-24 18:48:54 +03:00
  • d1c4b470bc os: make os.ls('') return an error, make os.walk_ext more memory efficient on deep hierarchies, add tests for os.walk_ext Delyan Angelov 2021-10-24 18:38:44 +03:00
  • d9c6c9a7df http: cleanup download_file, remove unimplemented download_file_with_progress Delyan Angelov 2021-10-24 17:19:34 +03:00
  • 2eae4cf63e js: fix optional error propagation (#12283) playX 2021-10-24 15:56:44 +03:00
  • c340906280 cgen: cleanup vinit_string_literals, _vcleanup and reload_so declarations Delyan Angelov 2021-10-24 15:29:36 +03:00
  • 242b99340d vfmt: fix bug where duplicated comma is placed before comment in array init (#12281) zakuro 2021-10-24 18:05:34 +09:00
  • 47a2301139 regex: add OR error, if sourounded by char classes, and a test (#12278) penguindark 2021-10-24 10:54:51 +02:00
  • e45cd02029 mysql: always use #include <mysql.h>, rely on pkgconfig to get the correct include folder Delyan Angelov 2021-10-23 21:22:10 +03:00
  • 008d15dcb5 builder,pref: add support for -no-builtin (useful for writing Linux kernel modules) Delyan Angelov 2021-10-23 12:53:53 +03:00
  • aa22751d26 vlib: remove unused glm module (#12274) Delyan Angelov 2021-10-22 22:23:14 +03:00
  • 864d6eae6b js: codegen & vlib fixes, replace the Game of Life CLI example (#12272) playX 2021-10-22 22:03:19 +03:00
  • 8a4756819a toml: disallow unclosed arrays (#12273) Larpon 2021-10-22 19:30:29 +02:00
  • 506924b01c android: hide printf hijack for android logging behind define (#12269) Larpon 2021-10-22 18:59:25 +02:00
  • 8273c0582b toml: check for illegal characters, fix all related skipped tests (#12270) Larpon 2021-10-22 18:57:32 +02:00