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

Commit Graph

  • 5551cb248c ast, parser, fmt: fix formatting of consts with embedded comments (#14008) yuyi 2022-04-11 22:27:41 +08:00
  • 25d8faabf6 cgen: fix alloc empty struct array error (#14007) 牧心 2022-04-11 19:16:09 +08:00
  • 843ce43077 strconv: cleanup atof.c.v - use a ParserState enum, clarify comments Delyan Angelov 2022-04-11 12:01:47 +03:00
  • e4dfffd70b toml: remove math import (used only for math.max and math.max_u32) Delyan Angelov 2022-04-11 10:21:14 +03:00
  • 1938bc48e7 toml.scanner: make end_of_text, at, next and peek return u32 (#13998) Nick Treleaven 2022-04-11 08:12:04 +01:00
  • fa66183f43 checker: check error for map of generic struct init (#13999) yuyi 2022-04-11 15:07:23 +08:00
  • a0e7a46be4 rand: speed up MT19937RNG.u64 Delyan Angelov 2022-04-10 13:07:35 +03:00
  • 6c25f5b291 rand: fix needless array allocation in MT19937RNG.u64() Delyan Angelov 2022-04-10 13:02:31 +03:00
  • 3f90809035 rand: add missing pub modifiers for .byte() and .u32() methods (#13992) Subhomoy Haldar 2022-04-10 14:13:46 +05:30
  • 11d9a67e3b cgen: fix invalid operands to an_alias in an_array_of_aliased_values (#13994) 牧心 2022-04-10 16:42:17 +08:00
  • 8517b8f8b0 examples: use #[] in news_fetcher.v to simplify the code Delyan Angelov 2022-04-10 11:11:53 +03:00
  • 88c4a64a15 examples: make examples/sokol/drawing.v more symmetrical Delyan Angelov 2022-04-10 10:39:55 +03:00
  • 93a5d03182 parser: improve embedded struct parsing/better error for Architecture []string (#13995) yuyi 2022-04-10 15:24:36 +08:00
  • 3571f66a82 pref: fix access in invalid position on v search '' (#13993) Vincenzo Palazzo 2022-04-10 09:21:58 +02:00
  • 473bc0254d checker: check error for array of generic struct init (#13987) yuyi 2022-04-10 02:50:34 +08:00
  • 89d64b21ea ci: remove manual free(f) in an autofree test, after 58febe46, which does it automatically now Delyan Angelov 2022-04-09 20:06:27 +03:00
  • df30b79971 checker: allow for arr.any(opt_fn()?), add test Delyan Angelov 2022-04-09 19:50:03 +03:00
  • 58febe4607 cgen: fix autofree of heap variables (#13823) Daniel Oberhoff 2022-04-09 16:37:39 +02:00
  • 704e3c6e72 cgen: fix error for fn with fixed array argument (fix #13976) (#13982) yuyi 2022-04-09 20:57:27 +08:00
  • bf385d2ac9 docs: add links to download C compilers (#13984) Nick Treleaven 2022-04-09 13:53:37 +01:00
  • 804f2f56d4 vpm: support v install -once module_name(#13977) pancake 2022-04-09 13:29:41 +02:00
  • e3da3101f6 vpm: simplify output for v list (#13975) pancake 2022-04-09 13:26:01 +02:00
  • 60e718e7c6 test: save removing the nonexistent binary output for v fmt and v vet tests Delyan Angelov 2022-04-09 13:03:52 +03:00
  • 2d867a2766 ast: fix reported errors, when arrays of types defined in modules are involved (#13952) Vincenzo Palazzo 2022-04-08 16:38:34 +02:00
  • 2a88b313d4 cgen: format json encode/decode generated c codes (#13972) yuyi 2022-04-08 22:27:05 +08:00
  • 617608b23d cgen: fix optional struct declarations for empty structs (#13970) yuyi 2022-04-08 19:51:37 +08:00
  • 45a427e68b clipboard: fix segfault when pasting to some X11 apps. Fixes #13891 (#13971) Larpon 2022-04-08 12:32:38 +02:00
  • 52f1c615a6 fontstash: document all functions (#13969) Larpon 2022-04-08 12:22:23 +02:00
  • a0c07454b1 checker: remove debug code from previous commit Joe Conigliaro 2022-04-08 18:27:14 +10:00
  • 426e9d1734 checker: fix condition for checking if tmpl var is inherited Joe Conigliaro 2022-04-08 18:25:08 +10:00
  • e1c8b07fa5 checker/tests: format test added in prev commit & rename chekcer prop Joe Conigliaro 2022-04-08 17:41:23 +10:00
  • 8dc2601080 all: comptime_call - simplify tmpl scoping, solves many issues. Joe Conigliaro 2022-04-08 17:33:24 +10:00
  • 6425000ce4 example: fix the tuicool.com crawler example (changed html structure) (#13962) mir.zhou 2022-04-07 23:18:10 +08:00
  • 5a695c81dc ci: fix the recorded output for compare_structs.c.must_have after eea46c4 Delyan Angelov 2022-04-07 18:08:56 +03:00
  • b232a3b0d1 cgen: fix .filter() and .map() on shared arrays (#13954) crthpl 2022-04-07 08:05:11 -07:00
  • eea46c4e1a cgen: fix error, when a struct with over 8 fields, is used as a method receiver directly. Delyan Angelov 2022-04-07 17:20:14 +03:00
  • 022fae1e7f rand: make mt19937 automatically seeded, add seed_len to wyrand (#13966) Subhomoy Haldar 2022-04-07 18:30:30 +05:30
  • 95753ffb30 examples: fix process_stdin_trick example (#13953) Pascal Masschelier 2022-04-07 12:55:12 +02:00
  • 6a820c2845 checker: allow all binary operations when translating code produced by c2v (#13964) playX 2022-04-07 13:22:24 +04:00
  • 4666a27e5f ci: introduce v benchmarks inside the ci workflow (#13949) Vincenzo Palazzo 2022-04-07 11:21:13 +02:00
  • d34ef69229 tools: improve deprecation detection in missdoc.v (#13960) Larpon 2022-04-07 11:20:14 +02:00
  • e7fd8c4e7c cgen: fix error for dereference mut interface in loop (fix #13913) (#13941) yuyi 2022-04-07 17:01:54 +08:00
  • a58dde48f8 cgen: fix error for optional multi return (#13959) yuyi 2022-04-07 14:12:23 +08:00
  • c9dcdf6744 cgen: fix json decode with optional argument (fix #13943) (#13958) yuyi 2022-04-07 00:34:22 +08:00
  • 56e6fd01c5 gg: document pub functions in text_rendering and m4/vector (#13961) Larpon 2022-04-06 18:34:02 +02:00
  • c5d8d27b90 ci: fix -cstrict failures for vweb_test.v etc. Delyan Angelov 2022-04-06 08:54:01 +03:00
  • 6412f8ba0b checker: add a known error on alias cast with generics (#13946) Vincenzo Palazzo 2022-04-05 18:09:46 +02:00
  • 1482db6d1a gg: add missing doc strings to android, recorder and gg.c.v (#13936) Larpon 2022-04-05 17:42:01 +02:00
  • 359f16fdfd parser: fixed parsing prototype function with recursive type (#13922) Vincenzo Palazzo 2022-04-05 17:39:49 +02:00
  • 0cba579a7b cgen: simplify codegen for optional consts (#13948) yuyi 2022-04-05 22:54:23 +08:00
  • 2ecfd1b351 ci: fix clang sanitize errors for json_decode Delyan Angelov 2022-04-05 17:51:26 +03:00
  • 11ccf06441 time: add missing doc string to parse.v (#13933) Larpon 2022-04-05 12:21:37 +02:00
  • 2350dbbd57 gg: add missing doc strings to pub fns in image.* (#13934) Larpon 2022-04-05 12:21:03 +02:00
  • 0b046c14a8 clipboard: add doc strings to all implementations (#13932) Larpon 2022-04-05 12:06:32 +02:00
  • f5e4d17cf3 json: return errors with more context, on failed json.decode() calls. Delyan Angelov 2022-04-05 12:06:00 +03:00
  • 829fed4af0 ci: build vpm again Alexander Medvednikov 2022-04-05 08:02:47 +03:00
  • 7d8db1042d vdoc: don't highlight less than expression as generic function (#13938) Nick Treleaven 2022-04-05 03:58:47 +01:00
  • f6b8e1e13f cgen: fix error for const using nested optionals (#13939) yuyi 2022-04-05 10:58:11 +08:00
  • 0bd8fbc9a8 term, term.ui: fix a panic on !=linux unixes when running examples/term.ui/ Delyan Angelov 2022-04-04 19:25:12 +03:00
  • 2cd9c91e98 vdoc: highlight terminal examples for -comments -color (#13937) Nick Treleaven 2022-04-04 16:13:24 +01:00
  • aa9e2ebb25 gg: document all draw functions (#13931) Larpon 2022-04-04 17:09:19 +02:00
  • 5369379738 repl: handle exit(n) (#13930) pancake 2022-04-04 15:22:34 +02:00
  • 92bfd9b353 cgen: fixed array index for translated code Alexander Medvednikov 2022-04-04 12:09:17 +03:00
  • 725b472d37 checker: fix typos (#13929) StunxFS 2022-04-04 03:07:53 -04:00
  • 91b40304b7 vdoc: highlight .., ... as punctuation & postfix ops as operators (#13924) Nick Treleaven 2022-04-04 07:21:54 +01:00
  • 1211b2e941 v: minor change in the output for an unknown help topic (#13927) StunxFS 2022-04-04 01:36:10 -04:00
  • 719a3b5de3 cgen: fix fixed arrays assignment in translated code Alexander Medvednikov 2022-04-04 06:20:54 +03:00
  • a55e930c00 checker: fix pointer checks in translated code Alexander Medvednikov 2022-04-04 05:35:15 +03:00
  • cc227d8520 checker: fix non-numeric type check for translated code Alexander Medvednikov 2022-04-04 04:59:14 +03:00
  • d10135e2c4 vdoc: HTML highlight generic function as function, not name (#13923) Nick Treleaven 2022-04-03 21:41:02 +01:00
  • 44603f8e59 checker: add suggestions for misspelled mod.func_name() calls Delyan Angelov 2022-04-03 18:23:35 +03:00
  • 51c1d666c2 checker: fix operator overloads (for large structs with > 8 fields, the method receiver is normally auto converted to a reference) (#13889) Vincenzo Palazzo 2022-04-03 18:30:29 +02:00
  • 38853568b4 encoding.csv: allow passing a custom delimiter to the new_reader function (#13910) StunxFS 2022-04-03 12:13:43 -04:00
  • 782d5374c9 builtin: add an array.drop(n) method (#13907) Nick Treleaven 2022-04-03 15:05:50 +01:00
  • a1e9cae5d2 tests: add a vlib/v/tests/known_errors/known_errors_test.v test runner Delyan Angelov 2022-04-03 12:44:22 +03:00
  • 0497b885dc checker: minor cleanup in find_unreachable_statements_after_noreturn_calls() (#13903) yuyi 2022-04-03 16:19:19 +08:00
  • 8c55a9ecd3 builtin: minor optimization of array.push() and array.push_noscan() (#13904) yuyi 2022-04-03 16:04:18 +08:00
  • 340543dfc0 cli: add automatic manpage generation with -man (#13911) Cameron Katri 2022-04-03 03:12:47 -04:00
  • 71dc6c224a tests: make vlib/net/udp_test.v more stable, and less noisy on the tests-sanitize-address-gcc job Delyan Angelov 2022-04-02 20:00:03 +03:00
  • d585fbea8a time: implement Time.strftime(fmt string) as a wrapper for strftime(3) (#13898) Cameron Katri 2022-04-02 11:33:37 -04:00
  • 42f92db0ab v.doc: parse multi-line examples (so they get highlighted) (#13894) Nick Treleaven 2022-04-02 16:29:12 +01:00
  • faa55b46de cgen: fix array of fixed array (fix #13895) (#13901) yuyi 2022-04-02 23:00:59 +08:00
  • 0bf0c73a49 checker: fix error for returning optional (#13902) yuyi 2022-04-02 22:25:01 +08:00
  • af79c1e6ef os: implement os.config_dir() like in Go's UserConfigDir (#13893) pancake 2022-04-01 21:04:43 +02:00
  • d7817863c6 checker: type inference over a generic type should compile (#13824) Vincenzo Palazzo 2022-04-01 18:31:27 +02:00
  • 9d2529b611 ci: reduce repetitions in test_global_mutex in init_global_test.v Delyan Angelov 2022-04-01 19:23:04 +03:00
  • 6987f2c087 time: fix error for time.local() on windows (#13892) yuyi 2022-04-01 22:16:46 +08:00
  • 02c80bd445 time: fix repetitive time.now().local().local().local() offsetting the time further and further (#13861) Vincenzo Palazzo 2022-03-31 23:11:17 +02:00
  • 9c1981a309 vdoc: show // comment prefix and hide any \x01 character (#13880) Nick Treleaven 2022-03-31 18:00:06 +01:00
  • bc98c11d9d parser, checker, cgen: minor cleanup of go_expr() (#13875) yuyi 2022-04-01 00:58:04 +08:00
  • db3bbb58cf cgen: fix error for cross assign of the reserved name variable (#13884) yuyi 2022-04-01 00:55:21 +08:00
  • a87cd9663e vdoc: highlight inline examples for -f html (#13879) Nick Treleaven 2022-03-31 17:32:32 +01:00
  • 5c43493183 sokol: add support for compiling with -d darwin_sokol_glcore33 on macos (#13885) R cqls 2022-03-31 15:52:21 +02:00
  • fb5df9665e ci: use ./v instead of v in "Shader examples could be build" step Delyan Angelov 2022-03-31 13:53:02 +03:00
  • fa3fa2e74f ci: add again sudo apt-get update for the Install dependencies step Delyan Angelov 2022-03-31 13:44:35 +03:00
  • b15240185e builder,cgen: iOS fixes (#13883) Cameron Katri 2022-03-31 04:51:13 -04:00
  • 4222fd0862 ci: add vlang/pdf testing task, simplify other_ci.yml using v should-compile-all Delyan Angelov 2022-03-31 11:34:20 +03:00
  • 74eabba52e tools: add a v should-compile-all examples/*.v examples/gg/ tool, to simplify CIs of V modules. Delyan Angelov 2022-03-31 11:11:31 +03:00
  • 6137ce23c0 math: allow acos(0) (fix #13876) (#13877) kylepritchard 2022-03-30 19:36:50 +01:00
  • ae1cb5697e cgen: minor cleanup in ref_or_deref_arg() (#13874) yuyi 2022-03-31 02:06:38 +08:00