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

Commit Graph

  • 24ea15c8f0 toml: remove fixed value tests from skip list (#12503) Larpon 2021-11-18 12:57:14 +01:00
  • 0ec02e3247 sqlite: add enum result code (#12505) kahsa 2021-11-18 20:56:15 +09:00
  • 7ec70d5477 toml: small refactor, move all json functionality to submodule (#12502) Larpon 2021-11-18 12:27:59 +01:00
  • 5bf28c5287 cgen: handle c2v fn casts Alexander Medvednikov 2021-11-18 11:57:57 +03:00
  • 1edb3e559e js,jsdom: make JS structs plain objects; add more DOM API support for jsdom (#12501) playX 2021-11-18 11:09:53 +03:00
  • 409321327b toml: don't use time.Time for time representation (#12498) Larpon 2021-11-18 06:44:24 +01:00
  • b5e410e408 fmt: format explicit map init with parameter (#12499) zakuro 2021-11-18 14:34:30 +09:00
  • ae54cd78f5 json2: encode ascii chars < 0x20 in json (#12494) Don Park 2021-11-17 21:34:00 -08:00
  • 26fbf1885d checker: report error for test functions that have parameters (#12500) zakuro 2021-11-18 14:33:28 +09:00
  • 3b612899bf toml: eat first nl if present in multiline strings (#12496) Larpon 2021-11-17 22:48:29 +01:00
  • 81455acd29 toml: simplify Doc.to_any() method (#12495) Larpon 2021-11-17 19:58:06 +01:00
  • 2f5fae06ee toml: fix a few string value tests (#12493) Larpon 2021-11-17 19:54:48 +01:00
  • 2733319879 term: fix a leak in _test.v files in the default test runner without -autofree Delyan Angelov 2021-11-17 20:39:08 +02:00
  • dbf469e000 toml: move to_burntsushi functionality (#12492) Larpon 2021-11-17 16:25:50 +01:00
  • 7cdc906683 toml: fix scanning of short unicode escapes (#12491) Larpon 2021-11-17 16:24:40 +01:00
  • 3e1fb22a04 checker: format checker.v (#12490) yuyi 2021-11-17 21:57:17 +08:00
  • 1370516f53 checker: check struct field using 'any' type (#12489) yuyi 2021-11-17 17:42:05 +08:00
  • 2eb02ff5a7 jsdom, js: start refactoring jsdom; improve JS interfaces; add two attributes for them (#12488) playX 2021-11-17 12:41:33 +03:00
  • 6ac109a7c3 builtin: add a [has_globals] tag for all the .v files, with global declarations in them Delyan Angelov 2021-11-16 19:31:42 +02:00
  • bd9ac598f7 toml: add support for validation of structure and values (#12481) Larpon 2021-11-17 07:30:40 +01:00
  • 5a89c0a480 ast: change CompFor to ComptimeFor (#12482) yuyi 2021-11-17 14:29:43 +08:00
  • 927df948ae cgen: fix generic struct free() (#12487) yuyi 2021-11-17 13:18:46 +08:00
  • 11ce26b3f6 sqlite: make constants public (#12485) Khalyomede 2021-11-17 03:45:50 +01:00
  • 49a36515dc checker, cgen: c2v fixes Alexander Medvednikov 2021-11-16 20:56:24 +03:00
  • 2984751a57 checker: fix the argument mismatch of fn call (#12479) yuyi 2021-11-16 23:19:02 +08:00
  • 3fab0a5d05 cgen: fix codegen for for k,v in map_of_pointers { Delyan Angelov 2021-11-16 16:07:39 +02:00
  • 045579fd8a parser: use the [has_globals] module attribute, remove the parser global_enabled_mods whitelist (part 2) Delyan Angelov 2021-11-16 11:44:36 +02:00
  • f0f5f97e9f parser: support a [has_globals] module attribute, to eliminate a parser whitelist (part 1) Delyan Angelov 2021-11-16 11:34:26 +02:00
  • 3f37ab2ef2 gg: fix system_font_path on Linux (#12477) kahsa 2021-11-16 18:14:35 +09:00
  • bede0587ad cgen: fix string interliteral of the comptime selector (#12475) yuyi 2021-11-16 14:45:47 +08:00
  • 9565adf597 checker: check invalid map variable name (#12474) yuyi 2021-11-16 14:42:49 +08:00
  • 2f75ce0d4c toml: use json2 to encode output from .to_json() (#12470) Larpon 2021-11-16 07:41:37 +01:00
  • 7b9cca7524 toml: add convenience convertion of Doc to map[string]toml.Any (#12473) Larpon 2021-11-15 18:00:09 +01:00
  • c28041cecc all: cleanup/rename all comp_ names to be comptime_ (#12467) yuyi 2021-11-15 21:47:29 +08:00
  • 1d003228cb tests: update generics_method_str_overload_test.v to return a generic type, instead of Gen<G>. (#12465) weekly.2021.46 Charles WANG 2021-11-15 21:36:54 +08:00
  • cbdb270d2f toml: upgrade the module to 100% BurntSushi test suite parsing compatibility (#12466) Larpon 2021-11-15 14:36:14 +01:00
  • 78662c800c toml: fix parsing formatting on Windows with crlf line endings (#12468) Larpon 2021-11-15 14:35:30 +01:00
  • a8a1e9381f strconv,js: f64_to_str works on JS backend now; Fix BigInt usage in infix expressions (#12464) playX 2021-11-15 15:13:44 +03:00
  • 1d2b16dde2 js: support [if userflag?] fn tags Delyan Angelov 2021-11-15 13:23:27 +02:00
  • 7b723262e4 tools: support VJOBS=1 VTEST_FAIL_FAST=1 ./v test . Delyan Angelov 2021-11-15 11:44:54 +02:00
  • 5e75c89b71 checker: allow noreturn in if expr (#12462) zakuro 2021-11-15 17:29:58 +09:00
  • d8479f107f cgen: fix typeof comptime selector (fix #12461) (#12463) yuyi 2021-11-15 16:23:49 +08:00
  • e3d98b1b28 js,strconv: port some functions to JS backend, improve rune.str() (#12460) playX 2021-11-14 22:06:58 +03:00
  • 460f4523aa checker: check array pop immutable (#12458) yuyi 2021-11-15 03:00:22 +08:00
  • fb997eb5fe cgen: fix comptime for in field selector (#12457) yuyi 2021-11-15 02:58:22 +08:00
  • 61b99e1915 vfmt: handle comments right after interface fields Delyan Angelov 2021-11-13 13:41:57 +02:00
  • 9c508237bd toml: support for [a."b.c"] quoted keys (#12444) Larpon 2021-11-13 10:17:35 +01:00
  • 6c32c544e1 js,parser: allow declaring methods on JS interfaces for easier FFI (#12447) playX 2021-11-13 12:08:17 +03:00
  • 3bb1c3f930 checker, cgen: fix for in iterator of generic struct (#12441) yuyi 2021-11-12 20:29:01 +08:00
  • 50a608aab3 os: remove unnecessary heap allocation from os.execute Delyan Angelov 2021-11-12 11:44:26 +02:00
  • c6b8b0bb0a ci: make test_execute in os_test.v more robust Delyan Angelov 2021-11-12 11:24:37 +02:00
  • 1c17ba82ac tools: fix the batch script for v symlink, if the vexe path contains spaces on windows (#12443) MrsHerobrine 2021-11-12 09:29:57 +01:00
  • fcecf527ec ci: fix failing os_test.v on the CI Delyan Angelov 2021-11-12 10:27:35 +02:00
  • 20d63de136 os: fix os.execute for command output that contains 0 bytes Delyan Angelov 2021-11-12 09:39:15 +02:00
  • 4b42dcad8e toml: support complex array-tables-array constructs (#12438) Larpon 2021-11-11 17:30:34 +01:00
  • 6c5dfc5c2f examples: fix initial clock size on hdpi displays Delyan Angelov 2021-11-11 18:09:57 +02:00
  • 4728b975e3 examples: use app.gg.quit() instead of exit(0) Delyan Angelov 2021-11-11 17:45:22 +02:00
  • 9cb378bb6b examples: reduce the memory usage of the clock example, without -autofree & -gc boehm Delyan Angelov 2021-11-11 17:38:45 +02:00
  • c8cb1bf6b4 toml: check for single-key reassignment in inline tables (#12436) Larpon 2021-11-11 13:57:11 +01:00
  • 35f00c9f91 toml: check for text after comma in arrays (#12435) Larpon 2021-11-11 13:55:51 +01:00
  • 6f55439930 tests: supplement tests for different types of generic parameters (#12432) yuyi 2021-11-11 20:45:55 +08:00
  • a4c57ba56e js: support JS interfaces (#12426) playX 2021-11-11 15:36:32 +03:00
  • 015cfdb49f toml: add excerpt to value parse errors (#12429) Larpon 2021-11-11 06:29:38 +01:00
  • dbd5acd5ba toml: small start -> end word use change (#12428) Larpon 2021-11-11 06:28:46 +01:00
  • 69fa87ad24 toml: add date and time checks (#12427) Larpon 2021-11-11 06:27:41 +01:00
  • 823a3ab838 fmt: fix removal of selective imported types used as type parameter (#12431) zakuro 2021-11-11 14:15:30 +09:00
  • 72a7d5a559 checker: minor cleanup in method_call (#12430) yuyi 2021-11-11 13:12:59 +08:00
  • 8a971c3bf7 ci,vweb: fix hard coded data in vweb_test.v Delyan Angelov 2021-11-10 18:41:25 +02:00
  • 637ebe5d42 examples: improve examples/vweb/file_upload Delyan Angelov 2021-11-10 18:26:16 +02:00
  • 3c6356ba36 ci: fix request_test.v (add missing \r to hardcoded post data) Delyan Angelov 2021-11-10 18:15:39 +02:00
  • 466ced2876 net.http: fix multipart/form-data file upload handling Delyan Angelov 2021-11-10 17:31:41 +02:00
  • 66e53279c2 toml: check for more wrong line ending cases (#12424) Larpon 2021-11-10 14:03:51 +01:00
  • d5e767f389 checker, cgen: fix alias of map keys() (#12422) yuyi 2021-11-10 19:04:59 +08:00
  • 194b3647e2 js,checker: allow casting JS primitives to V primitives and vice-versa (#12420) playX 2021-11-10 12:37:16 +03:00
  • 6c244d3065 cgen: improve diagnostic for a v compiler panic in dicordv Delyan Angelov 2021-11-10 08:12:12 +02:00
  • 8f4180ea09 parser: check generic parameters error of generic struct declaration (#12418) yuyi 2021-11-09 15:25:57 +08:00
  • 3f841edec1 v.util: make get_vtmp_folder() return /tmp/v_{uid} by default (see https://github.com/vlang/v/discussions/11796) Delyan Angelov 2021-11-09 08:25:19 +02:00
  • 08667c5645 pref: allow running a .vsh script with just v build.vsh gcc, instead of v run build.vsh gcc (#12409) weekly.2021.45 yuyi 2021-11-08 21:18:11 +08:00
  • 15242d8082 docs: add description of how to use a custom table name to the ORM example – (#12408) Taras 2021-11-08 12:22:42 +02:00
  • 758c18a906 cgen: fix for in mut val in array.index() (#12410) yuyi 2021-11-08 17:12:10 +08:00
  • 1211029926 cgen: avoid generating typedef generic array type (#12407) yuyi 2021-11-08 03:24:30 +08:00
  • c8ff9e39b5 checker: cleanup generic struct init (#12406) yuyi 2021-11-08 00:47:38 +08:00
  • bc98da9111 ast: speed up the frequently called methods .find_field, .find_method etc Delyan Angelov 2021-11-07 18:05:20 +02:00
  • 9ec1262734 ast: fix generic nested struct init (#12405) yuyi 2021-11-07 23:06:37 +08:00
  • 1c12186701 v.token,ast,scanner,parser: use a KeywordsMatcher lookup for builtin_type_names searches too Delyan Angelov 2021-11-07 16:02:37 +02:00
  • 80242c8041 builtin,ast: apply small performance improvements, suggested by hotspot Delyan Angelov 2021-11-07 13:30:40 +02:00
  • d8f971ffb5 jsdom: add Path2D API, All CanvasRenderingContext2D methods (except image methods) (#12404) playX 2021-11-07 11:06:28 +03:00
  • 852d85b3a9 gg: cleanup the minimal gg program more Delyan Angelov 2021-11-07 09:16:49 +02:00
  • 32b74dd348 gg: simplify the minimal gg application even more with context.user_data = context Delyan Angelov 2021-11-06 18:24:19 +02:00
  • 8be64ef80e gg: improve font loading diagnostics with -d debug_font Delyan Angelov 2021-11-06 17:15:04 +02:00
  • 5f3dcde358 jsdom,builtin: add all methods for DOMMatrix; add conversion methods to convet from/to JS types (#12395) playX 2021-11-06 16:52:24 +03:00
  • 7a9ba9f41f ci: pin burntsushi/toml-test to their latest master for now Delyan Angelov 2021-11-06 15:35:31 +02:00
  • d2d67e9f4d toml: add new inline-table duplicate-key test to skip list (#12399) Larpon 2021-11-06 14:19:40 +01:00
  • 9b00564d98 toml: panic if access fails to a key that was checked (#12384) Larpon 2021-11-05 13:14:50 +01:00
  • 24cd619ff8 toml: fix parsing array of tables (#12388) Larpon 2021-11-05 11:08:40 +01:00
  • db65b65f3c toml: disallow spacing between (array of tables) key syntax (#12382) Larpon 2021-11-05 10:29:25 +01:00
  • c3b389cde9 toml: rename sub_key -> dotted_key (#12383) Larpon 2021-11-05 10:28:54 +01:00
  • b963aff8e8 vast: update to latest V (#12387) lydiandy 2021-11-05 01:57:51 +08:00
  • 7ea57bfa1e builtin: make map.keys() public Alexander Medvednikov 2021-11-04 19:09:37 +03:00
  • ace9444108 checker: more c2v fixes Alexander Medvednikov 2021-11-04 18:43:02 +03:00