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

Commit Graph

  • 7fc9e614a3 ast, parser, checker: fix generic fn in builtin module (#12769) yuyi 2021-12-10 03:37:43 +08:00
  • dbe67c688f tools: add a v gret command to aid detecting visual regressions in gg based apps (#12775) Larpon 2021-12-09 20:31:55 +01:00
  • 4c95127cbc semver: add a Version.str() method with unit tests (#12779) Subhomoy Haldar 2021-12-10 00:55:55 +05:30
  • 8f9f681e81 checker: move check_types() on top; small c2v fixes Alexander Medvednikov 2021-12-09 05:44:41 +03:00
  • 0021fbbaa9 gg: support VGG_STOP_AT_FRAME=120 VGG_SCREENSHOT_FOLDER=. VGG_SCREENSHOT_FRAMES=10,20,30 ./v -d gg_record run examples/gg/bezier_anim.v (#12767) Delyan Angelov 2021-12-08 22:38:33 +02:00
  • 85f3372a32 readline: fix bug that full-width spaces are treated as eof (#12763) zakuro 2021-12-09 05:35:21 +09:00
  • 7379488cee fmt: fix bug that adds unnecessary module name to generic types (#12758) zakuro 2021-12-09 05:33:58 +09:00
  • d88e67a5ec checker: fix const type with raw string literal (#12761) yuyi 2021-12-09 04:28:55 +08:00
  • cd96f980cc v complete: add recent additions to cmd/tools, sort list (#12762) Larpon 2021-12-08 21:27:07 +01:00
  • b1622c74b9 net.openssl: fix compilation of vpm.v on FreeBSD Delyan Angelov 2021-12-08 10:50:24 +02:00
  • e433badcb8 parser, cgen: fix multiple comptime tmpl in one function (#12757) yuyi 2021-12-08 16:12:02 +08:00
  • 2fbf7fea75 all: initial interpreter code (#12605) crthpl 2021-12-08 00:09:10 -08:00
  • 525791fa3a tests: mark semaphore_timed_test.v with vtest retry: 3 Delyan Angelov 2021-12-08 01:09:58 +02:00
  • 7a0b63e795 stbi: add image writing functions (#12754) penguindark 2021-12-07 23:31:37 +01:00
  • a19dd36473 cgen: ensure the different gdi32 notations are always matched in is_gui_app (#12756) Ekopalypse 2021-12-07 21:13:56 +01:00
  • fd4e071621 net.openssl: use a pkgconfig directive, instead of a hardcoded path (#12735) Jordan Bonecutter 2021-12-07 12:11:47 -08:00
  • 7bbc70820a tools: make v test vlib and v test-self skip _test.js.v files, when node is not installed Delyan Angelov 2021-12-07 21:31:29 +02:00
  • c29a3cf6e8 parser: fix (absolute path) error (#12747) yuyi 2021-12-07 17:33:53 +08:00
  • f60cf65284 cgen: fix comptime for_in methods call using str_intp (#12746) yuyi 2021-12-07 17:12:12 +08:00
  • 1cb06a2de4 js: ast.GoExpr support using promises on JS backend (#12749) playX 2021-12-07 12:11:54 +03:00
  • c23ebec944 parser: support bool values in attributes (#12750) Tim Basel 2021-12-07 10:11:29 +01:00
  • f86af7237f stbi: add a link_to_libm.c.v helper, to ensure import stbi works always. Delyan Angelov 2021-12-07 10:14:30 +02:00
  • 6d14275106 parser: support dot prefix for attributes (#12744) Tim Basel 2021-12-06 23:32:29 +01:00
  • 36fbd3c4fa checker: check sumtype as mismatched type (#12743) yuyi 2021-12-07 06:31:47 +08:00
  • ef16a8ec54 vweb: add json_pretty method (#12745) Toby Webb 2021-12-06 23:31:17 +01:00
  • 047f059fb8 examples: use fontstash wrapper calls (#12718) Larpon 2021-12-06 21:39:43 +01:00
  • 1cd703d96b fontstash: use #flag darwin -I/usr/local/Cellar/freetype/2.10.2/include/freetype2 Delyan Angelov 2021-12-06 19:08:50 +02:00
  • 325e116b7a cgen: 4 byte bool flagg for compatibility with some C software Alexander Medvednikov 2021-12-06 12:35:56 +03:00
  • 09955b7ce8 net.websocket: fix server not listening for IPv4 (#12717) Toby Webb 2021-12-06 10:10:25 +01:00
  • d85111e3dd cgen: fix comptime for_in methods call (#12741) yuyi 2021-12-06 16:55:27 +08:00
  • 3ab82a23c5 tools: cleanup the output of V, compiled with -d trace_parser and -d trace_checker Delyan Angelov 2021-12-06 09:44:52 +02:00
  • 89eb5425cd examples: clean file path usage in the examples, move all the fonts in the common assets folder (#12736) penguindark 2021-12-06 08:53:46 +01:00
  • 6f5d952d8f tools: implement v ast -t file.v (terse mode) (#12734) Delyan Angelov 2021-12-06 09:50:44 +02:00
  • 3b7e7c9c46 tools: update vast to latest V (#12733) lydiandy 2021-12-06 01:45:51 +08:00
  • 7d1dec5b44 sync: add sync.ManyTimes (#12729) Taillook 2021-12-06 02:44:25 +09:00
  • ae2ae6e6fd cgen: fix match sumtype var aggregate str_intp error (#12732) yuyi 2021-12-06 01:21:45 +08:00
  • 0c713f6edc sync.once: add Once (#12722) Taillook 2021-12-06 01:56:03 +09:00
  • 105d7fcf75 js: support JS.await (#12726) playX 2021-12-05 14:33:53 +03:00
  • e4850a007c strings: add Builder.drain_builder/1 utility method Delyan Angelov 2021-12-05 11:59:18 +02:00
  • 229d2fb667 v.util.timers: improve tracing by supporting -d trace_timers_creation Delyan Angelov 2021-12-05 11:55:41 +02:00
  • 2754368873 ast: correct comments of the find_field_from_embeds (#12723) yuyi 2021-12-05 12:21:39 +08:00
  • 4b21d3e364 crypto.sha256: add missing documentation of sum (#12716) Taillook 2021-12-05 03:16:44 +09:00
  • 81a1490e31 builtin: add string.split_any/1 (#12720) penguindark 2021-12-04 19:13:40 +01:00
  • ace63594bf all: support $embed_file('embed.vv', .zlib) (#12654) Leo Developer 2021-12-04 18:43:19 +01:00
  • 0f50ac3260 ast: cleanup struct embeds related methods (#12719) yuyi 2021-12-05 00:46:41 +08:00
  • 0cb4557a8d ast, checker, cgen: fix nested struct embed method call (#12714) yuyi 2021-12-04 20:51:42 +08:00
  • d59aa14b26 builtin: fix {-7:08b} (interpolation of negative numbers with 0 padding), add tests Delyan Angelov 2021-12-04 13:04:51 +02:00
  • 89c08c6292 cgen: cleanup the generated code for dump(x) Delyan Angelov 2021-12-04 11:56:39 +02:00
  • 2d43fdb42a ast, checker, cgen: fix nested struct embed error (fix #12659) (#12712) yuyi 2021-12-04 16:19:19 +08:00
  • 7e6d4ebfe1 toml: add doc string to reflect methods (#12666) Larpon 2021-12-03 22:07:44 +01:00
  • 33163238e7 strconv: add a small performance optimisation Delyan Angelov 2021-12-03 19:52:14 +02:00
  • 365b46cad3 cgen: fix match sumtype print var aggregate error (#12667) yuyi 2021-12-04 02:00:00 +08:00
  • 4624de6cb5 cgen: support -d no_segfault_handler and -d no_main. Cleanup -d trace_xxx descriptions in CONTRIBUTING.md Delyan Angelov 2021-12-03 19:01:45 +02:00
  • 1d6cc57d9c toml: add reflection method (#12664) Larpon 2021-12-03 11:40:46 +01:00
  • 0da7e2f8ab js: make vlib/v/util compile on JS backend (#12660) playX 2021-12-03 13:25:36 +03:00
  • be5446bfa4 checker: update enum test Alexander Medvednikov 2021-12-03 09:07:33 +03:00
  • 209747d03e checker: update enum test Alexander Medvednikov 2021-12-03 08:43:03 +03:00
  • eca78a2906 checker: allow infix expressions in enum declarations Alexander Medvednikov 2021-12-03 07:45:37 +03:00
  • c4363bc78b builtin: explain and better organise the different cstring_to_vstring/tos/tos_clone/vstring family of conversion functions Delyan Angelov 2021-12-02 15:46:53 +02:00
  • 66a67de8c0 checker, cgen: fix match expr returning optional with error (fix #12556) (#12645) weekly.2021.48 yuyi 2021-12-02 18:22:48 +08:00
  • 7d0a36dd08 toml: solidify single-line escape validation (#12644) Larpon 2021-12-02 11:07:53 +01:00
  • adddac4807 toml: add some meat to README.md (#12649) Larpon 2021-12-02 11:01:59 +01:00
  • 63b0798771 compress: add a new compress.zlib module (#12646) Leo Developer 2021-12-02 11:01:44 +01:00
  • 5ab91dd471 toml: support multi-level map keys in arrays-of-tables (#12641) Larpon 2021-12-02 10:19:45 +01:00
  • ebfacca252 toml: fix bug in unicode decoding (#12643) Larpon 2021-12-02 10:19:12 +01:00
  • 799d7b843c net: properly convert IP address C strings to V strings (#12648) Miccah 2021-12-02 03:18:14 -06:00
  • 9cf7af0c75 toml: add better float validation (#12640) Larpon 2021-12-02 10:16:55 +01:00
  • f7926ec9a4 vlib/context: add onecontext as submodule (#12549) Ulises Jeremias Cornejo Fandos 2021-12-02 06:15:07 -03:00
  • 2144471ce1 cgen: fix generic fn with anon fn in body (#12647) yuyi 2021-12-02 16:53:42 +08:00
  • 988779846f checker: fix map init with enum keys (#12637) yuyi 2021-12-02 00:11:50 +08:00
  • 8494e387ec strconv: fix format.md example snippets (#12642) Larpon 2021-12-01 16:23:35 +01:00
  • d7bc2a88f7 builtin: add a non allocating rune.length_in_bytes() method and tests for it Delyan Angelov 2021-12-01 16:35:13 +02:00
  • b3aedff3f8 toml: convert yaml value checks in iarna test suite (#12629) Larpon 2021-12-01 13:43:15 +01:00
  • 6f297cdfaa js: add missing start_digraph() for the js backend (#12638) pancake 2021-12-01 13:05:18 +01:00
  • f5d283721e checker: add more string(x) checks, with more detailed replacement suggestions Delyan Angelov 2021-12-01 11:25:53 +02:00
  • 79cb303a6c sync: improve compatibility with -Wimpure-v Delyan Angelov 2021-12-01 11:24:51 +02:00
  • 47aa2b1f93 all: fix casting of string(MyString('abc')) and byte(MyByte(123)); improve TypeSymbol handling (#12617) Delyan Angelov 2021-12-01 09:50:53 +02:00
  • 519ca90cfa regex: added default support for long queries (#12635) penguindark 2021-12-01 07:38:50 +01:00
  • f86710dcc7 crypto.bcrypt: add doc comments for public bcrypt functions (#12622) Taillook 2021-12-01 02:41:59 +09:00
  • 6f193c4300 toml: remove obsolete comment from checker (#12626) Larpon 2021-11-30 18:40:31 +01:00
  • 547f326f33 cgen: cleanup auto_str_methods (#12631) yuyi 2021-12-01 01:39:55 +08:00
  • 5e1cd13e39 v help: add build-c help information on how to use brew for libgc (#12633) Thomas Mangin 2021-11-30 17:39:27 +00:00
  • 758ba76d2b toml: update testdata/.gitignore (#12630) Larpon 2021-11-30 15:01:20 +01:00
  • 5c8e626912 toml: add alexcrichton/toml-rs test suite to CI (#12624) Larpon 2021-11-30 14:08:30 +01:00
  • d1b0ce9e0c cgen: fix error of the interface str method (fix #12538) (#12620) yuyi 2021-11-30 21:03:44 +08:00
  • 7d9028db56 toml: add more checks for table redeclarations (#12615) Larpon 2021-11-30 14:01:00 +01:00
  • f50f409ad7 toml: simplify bool keys in scanner and parser (#12625) Larpon 2021-11-30 13:26:47 +01:00
  • 1b691e7612 native: implement for-c and for-in range loops (#12155) pancake 2021-11-30 10:49:30 +01:00
  • 05db3533d3 picoev: use net C definitions (#12574) Anton Zavodchikov 2021-11-30 14:15:59 +05:00
  • 8ac7739db8 parser: forbid empty match statements 'match cond.op {else {}}' (#12618) pancake 2021-11-30 08:32:48 +01:00
  • 6749979534 builder: fix the uhm fine module lookup bug (part 1) Delyan Angelov 2021-11-29 16:30:45 +02:00
  • bbc47562b3 crypto.blowfish: add doc comments for the public API (#12609) Taillook 2021-11-30 05:19:52 +09:00
  • 14424100e8 toml: comply with BurntSushi @eb989e5 (#12616) Larpon 2021-11-29 21:15:22 +01:00
  • 83260e5074 docs: add link to shader inclusion example (#12613) Larpon 2021-11-29 17:26:32 +01:00
  • 0f59d88ba6 v.embedfile: make path public (#12614) Leo Developer 2021-11-29 15:32:42 +01:00
  • ddec89f9ee js,vfmt: fix formatting for JS types; add fetch API (#12608) playX 2021-11-29 16:32:29 +03:00
  • 9825c7e06c ast: fix generic sumtype of alias generic struct (#12611) yuyi 2021-11-29 21:12:00 +08:00
  • 65e9503556 toml: check for immutable tables (#12612) Larpon 2021-11-29 14:10:23 +01:00
  • c14c324125 pref: .o build mode Alexander Medvednikov 2021-11-29 05:00:20 +03:00
  • 6d97b0a407 checker: improve checking of a << b, when a and b are numbers (#12589) Delyan Angelov 2021-11-29 02:48:49 +02:00