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

Commit Graph

  • bf0b86774a fix for the "v.c should be buildable with no warnings" step in v test-all Delyan Angelov 2021-09-28 10:33:34 +03:00
  • 85b58b03a3 cgen: parallelize (#10844) crthpl 2021-09-28 00:28:04 -07:00
  • a17b943e87 builtin: add method byte() for string (#11998) Ken 2021-09-28 16:08:10 +09:00
  • c151e075e1 context: update ValueContext to handle Any value and more Key types, use closures (#11993) Ulises Jeremias Cornejo Fandos 2021-09-27 11:52:20 -03:00
  • d6a4bce2ef checker: fix generic array.map with generic callback fn (#11991) yuyi 2021-09-27 22:50:15 +08:00
  • 2ee873d6ca toml: fix invalid bad-multiline test (#11996) Larpon 2021-09-27 16:42:20 +02:00
  • 4e1ebca0cb ci: remove vls master branch test (#11992) yuyi 2021-09-27 12:11:18 +08:00
  • 105e76f321 ci: bump up perf-regressions limits to 251ms for hw, and 1501ms for v -o v.c cmd/v, to avoid false positives :-| weekly.2021.39 Delyan Angelov 2021-09-26 22:36:50 +03:00
  • 07d65b2aab builtin: move byte methods from rune.v to int.v (#11987) Wertzui123 2021-09-26 21:34:25 +02:00
  • 6967a47e07 net.openssl: fix typos in comments (#11988) czkz 2021-09-26 22:33:10 +03:00
  • 6a2ef733de v.parser: add a generated .all(.flag1|.flag2) method to [flag] enums Delyan Angelov 2021-09-26 21:24:35 +03:00
  • 09dfc3f301 arrays: add a generic arrays.concat(os.args,'abc','xyz') function (#11985) Rémi 2021-09-26 16:41:50 +00:00
  • 4c01627e00 cgen: cleanup stmt_path_pos processing (#11983) yuyi 2021-09-26 20:51:18 +08:00
  • d93737dd34 cgen: fix assign map get to blank (fix #11508) (#11982) yuyi 2021-09-26 18:07:51 +08:00
  • 6391f3d2da orm: fix other int types (#11981) Louis Schmieder 2021-09-26 10:17:56 +02:00
  • e09860731f cgen: fix if expr with complex nested array call (#11979) yuyi 2021-09-26 12:35:48 +08:00
  • da47638f42 toml: correct documentation (#11976) Larpon 2021-09-26 06:34:47 +02:00
  • 863dd0b23e js: array improvements (#11952) playX 2021-09-26 07:33:53 +03:00
  • f3757a7cd1 strconv: float memory leak fix (#11980) penguindark 2021-09-26 06:33:35 +02:00
  • d329e1decd cgen: fix if expr with nested array calls (fix #11953) (#11973) yuyi 2021-09-26 01:38:33 +08:00
  • 13b2aa701c toml: rename ast.Node -> ast.Value (#11974) Larpon 2021-09-25 19:31:02 +02:00
  • 80c15607da json: assert encoded struct with a sumtype (#11970) Anton Zavodchikov 2021-09-25 22:29:52 +05:00
  • 970768288d gg: expose sapp_desc.swap_interval via gg.Config (#11975) Larpon 2021-09-25 14:06:56 +02:00
  • 956fdffd96 net.http: allow custom headers in post_multipart_form (#11971) Miccah 2021-09-25 02:09:49 -05:00
  • 4fbf3fdf03 examples: make the binary search tree example generic (#11968) Ruofan XU 2021-09-25 02:17:26 +08:00
  • 5541ec8670 vlib: add toml module + tests (#11964) Larpon 2021-09-24 20:13:52 +02:00
  • 834cf40ab2 cgen, fmt, scanner: fix and use nested lambda in scanner (#11967) Ruofan XU 2021-09-24 23:21:22 +08:00
  • 400ab7876b ast: fix fixed array typedef generation issue (#11962) Ekopalypse 2021-09-24 16:01:42 +02:00
  • c75271fcb7 cgen: json sumtype inlining (#11961) Anton Zavodchikov 2021-09-24 18:49:00 +05:00
  • 430677a0c0 cgen: format generated C code of nested array call (#11955) yuyi 2021-09-24 00:56:12 +08:00
  • ad58fe8249 ci: mark cancel_test.v with vtest retry: 3 Delyan Angelov 2021-09-23 14:55:04 +03:00
  • b354f9ae9a cgen: fix c error of if-expression when debug mode (#11950) zakuro 2021-09-23 20:52:32 +09:00
  • 4a0d00fb30 io.util: simplify random number generation in util.v Delyan Angelov 2021-09-23 14:20:39 +03:00
  • afc3531945 ci: work around a failing g++ compilation (order of methods in an interface dispatching table matters for C++ compilers) Delyan Angelov 2021-09-23 14:08:43 +03:00
  • ece5fa183c fast.v: freebsd fixes Delyan Angelov 2021-09-23 13:48:41 +03:00
  • 930b95f76c v.gen.c: fix uninitialised value usages regression after e5fb4e4 Delyan Angelov 2021-09-23 12:18:10 +03:00
  • 8837712f2b rand: fix leaks with -autofree Delyan Angelov 2021-09-23 11:14:20 +03:00
  • 79e33d92f1 v.markused: remove hash.init() function (map fn usages are detected more precisely) Delyan Angelov 2021-09-23 10:12:22 +03:00
  • b52f79e137 log: add temporary get_level() (#11946) trollkarlen 2021-09-23 11:05:11 +02:00
  • 4d0f835548 checker: fix detection of invalid insertions, fixes #3600 (#11945) Alexander Ivanov 2021-09-23 11:59:43 +03:00
  • 27f5c35bde autofree: test returning optionals Alexander Medvednikov 2021-09-23 09:17:53 +03:00
  • b8935551f1 cgen: fix nested array call (#11948) yuyi 2021-09-23 13:50:37 +08:00
  • 7b60367512 autofree: free reference types with -experimental for now Alexander Medvednikov 2021-09-23 04:35:09 +03:00
  • 52b53f17b2 scanner: clean up scanning of > (#11943) Ruofan XU 2021-09-23 07:24:23 +08:00
  • bf2569a9a8 all: support mut volatile x := 123 declarations (#11940) Delyan Angelov 2021-09-22 13:06:30 +03:00
  • 76e360ce86 cgen: format the generated C code for array map/filter/all/any methods (#11936) yuyi 2021-09-22 14:24:36 +08:00
  • e5fb4e4845 cgen: fix if expr with array call (fix #11557) (#11569) yuyi 2021-09-22 07:21:18 +08:00
  • b9720f5d9e cgen: fix struct init with multiple branches, fixes #11564 (#11570) Alexander Ivanov 2021-09-22 00:46:07 +03:00
  • 2f3925a0cf fmt: format vlib/v/token/token.v (#11568) yuyi 2021-09-22 04:29:53 +08:00
  • de4c0c237b cgen: fix if infix expr with array.all/any() (#11567) yuyi 2021-09-21 21:20:41 +08:00
  • 108a01d65f fmt: fix unnecessary line break in array init (fix #11448) (#11562) yuyi 2021-09-21 21:20:09 +08:00
  • d6fa6a459c checker: fix generic sumtype method (#11565) yuyi 2021-09-21 21:19:43 +08:00
  • 95136cbfc7 all: add unsigned shift operators (#11536) ChAoS_UnItY 2021-09-21 19:02:17 +08:00
  • e4bd2306da sokol: upgrade to latest version, add program icon support (#11559) penguindark 2021-09-21 08:55:06 +02:00
  • 49886b8c40 examples: add a missing vweb header weekly.2021.38 Alexander Medvednikov 2021-09-21 08:13:42 +03:00
  • f6bdc6b87e tmpl: fix <div> inside <div> Alexander Medvednikov 2021-09-21 07:53:42 +03:00
  • b2ecca3966 all: remove size_t (#11478) Enzo 2021-09-21 01:12:38 +02:00
  • 4aa99e4303 tmpl: add a <div> test Alexander Medvednikov 2021-09-21 02:11:33 +03:00
  • 1430ebc5e3 scanner: cleanup scanning of > (#11558) Ruofan XU 2021-09-21 05:57:05 +08:00
  • d51f8ed878 v.gen.c: use unmangled variant name for encoding sumtype values in json (#11554) Anton Zavodchikov 2021-09-20 23:19:16 +05:00
  • 077c55d0c8 encoding.utf8: add pub fn is_letter(r rune) bool (#11547) ChAoS_UnItY 2021-09-21 02:16:50 +08:00
  • 5cf0ee46b3 v.pref,v.builder: support overriding the C cross compiler by setting VCROSS_COMPILER_NAME Delyan Angelov 2021-09-20 19:57:43 +03:00
  • 9c4507d115 cgen: fix illegal character encoding with rune consts above 127 (#11550) El Koulali András 2021-09-20 09:45:42 +02:00
  • 1de4f1af2e ci: reduce chance of spurious go_wait_option_test.v failures by retrying it 3 times Delyan Angelov 2021-09-20 10:32:00 +03:00
  • f9f4867c25 tmpl: fix $tmpl comptime operation only working in return statement (#11541) 05st 2021-09-19 15:22:26 -05:00
  • 2534946ead json: support sumtypes (#11549) Rémi 2021-09-19 18:36:26 +00:00
  • 7bd145d88a os,net: cleanup deprecated @VROOT usages Delyan Angelov 2021-09-19 16:16:31 +03:00
  • b343f19bec v.scanner: fix ambiguity of two-level generics and shift-right (#11540) Ruofan XU 2021-09-19 21:22:28 +08:00
  • 76f70d51f3 ci: fix another options_test.v failute, refactor for readability Delyan Angelov 2021-09-19 08:49:52 +03:00
  • b5d8c53a0c v.gen.c: fix the :X string interpolation format for isize/usize on 64bit systems Delyan Angelov 2021-09-19 05:03:31 +03:00
  • 6799f3ac5c orm: verify column name in updates Alexander Medvednikov 2021-09-19 04:48:28 +03:00
  • e76be4ba37 checker: temporary error for optional struct fields (#11293) (#11534) Rémi 2021-09-18 20:22:24 +00:00
  • 0b4e03ad5c ci: fix the failing new options_test.v on the ubuntu job Delyan Angelov 2021-09-18 21:10:41 +03:00
  • 6b2cc9c5cf v.pref: add a simple options_test.v to check for -cflags regressions Delyan Angelov 2021-09-18 16:08:02 +03:00
  • 8501217a4e cgen: add gen_free_for_type_array/map() (#11530) yuyi 2021-09-18 20:18:32 +08:00
  • f5efa93570 ci: disable tests-sanitize-address-msvc for now Delyan Angelov 2021-09-18 15:11:39 +03:00
  • 0a7fb34613 checker: simplify noreturn.v Delyan Angelov 2021-09-18 13:42:46 +03:00
  • 396eede4db math: fix typos (#11533) czkz 2021-09-18 12:23:31 +03:00
  • 740af306c0 ci: use quotes for "/fsanitize=address" in tests-sanitize-address-msvc Delyan Angelov 2021-09-18 12:08:09 +03:00
  • df8a4a03a0 tests: support // vtest retry: 4 for marking flaky tests Delyan Angelov 2021-09-18 11:33:05 +03:00
  • eec930b86a os: turn some panics into return error() Delyan Angelov 2021-09-18 10:45:04 +03:00
  • 209b159554 ci: fix tests-sanitize-address-msvc job (pass proper /fsanitize=address option) Delyan Angelov 2021-09-18 10:05:24 +03:00
  • 39ad6da506 checker, cgen: generate .free() methods for custom structs automatically (#11529) yuyi 2021-09-18 14:38:42 +08:00
  • 2eeba4758a v.builder: fix -cc msvc -cflags /O2 and support CFLAGS and LDFLAGS env vars Delyan Angelov 2021-09-18 09:14:21 +03:00
  • 219a764a83 autofree: only free user reference types Alexander Medvednikov 2021-09-18 06:32:25 +03:00
  • 6d47dd22df autofree: free references Alexander Medvednikov 2021-09-18 04:19:16 +03:00
  • 44ec8a8cd4 v.fmt, v.gen.js: use 'if foo in [TypeA, TypeB]' in fmt.v and js.v (#11524) yuyi 2021-09-18 02:59:16 +08:00
  • bd65ceb463 v.markused: remove __print_assert_failure from all_fn_root_names Delyan Angelov 2021-09-16 19:23:31 +03:00
  • 9180647f99 scanner, fmt: fix multi-level generics (#11517) Ruofan XU 2021-09-18 02:44:31 +08:00
  • 30e53c95c7 checker: handle if _likely_(x is Interface) { from #11485 (#11519) Alexander Ivanov 2021-09-17 21:01:12 +03:00
  • fb75d528eb builder: remove panics, when cleaning up tmp files after tests (#11525) yuyi 2021-09-18 01:56:33 +08:00
  • 816c6c62b5 os: fix documentation typo in args.v (#11526) czkz 2021-09-17 20:55:16 +03:00
  • 92bb292113 examples: add Rule 110 example (#11516) Michele Zenoni 2021-09-17 02:24:28 +02:00
  • 273154c1ae math.big: add Newton and Karatsuba algorithms (#11487) Vincent Laisney 2021-09-16 18:31:07 +02:00
  • 467afad065 cgen: use if foo in [TypeA, TypeB] in cgen.v (#11518) yuyi 2021-09-17 00:26:53 +08:00
  • 1688148828 flag: switch panics to optionals (#11515) JalonSolov 2021-09-16 12:25:05 -04:00
  • 0a18690a4f v.gen.c: fix assert f().len == 1 calling f() twice (closes issue 11501) Delyan Angelov 2021-09-16 15:24:38 +03:00
  • c175b4fd48 v.gen.js: refactor code, fix alias codegen, -stats now again works with tests on the JS backend (#11512) playX 2021-09-16 14:00:15 +03:00
  • ead5e66afd net.http: add post_multipart_form function (#11511) Miccah 2021-09-15 23:34:07 -05:00
  • f295469fac net.urllib: make unescape() autofree compatible (#11510) Dialga 2021-09-16 16:09:20 +12:00