Commit Graph

  • 2027a1969b
    v.builder: harmonise the default settings of the different Windows compilers (#14314) Ekopalypse 2022-05-06 18:28:13 +0200
  • 76cdf75299
    builtin,cgen: rename `Option` to `_option` (#14317) Daniel Däschle 2022-05-06 18:25:54 +0200
  • 45fe87c9e3
    checker: minor cleanup in fn_call() (#14307) yuyi 2022-05-06 02:15:54 +0800
  • 3091f31019
    checker: check for optional argument in dump() (#14316) yuyi 2022-05-06 02:15:22 +0800
  • 634796ae42
    examples: 2 new examples for graph algorithms (topological sorting) (#14303) Claudio Cesar de Sá 2022-05-05 12:08:08 -0300
  • 9fde5b067b
    docs: add missing function names in the `builtin` example doc comments (#14318) Andréas Livet 2022-05-05 16:22:25 +0200
  • 89fe82b732
    checker: fix returning error on reference results (#14313) Daniel Däschle 2022-05-05 16:02:49 +0200
  • b6058bfd6e
    parser, checker: fix generic method on nested struct (fix #14089) (#14310) yuyi 2022-05-05 16:24:20 +0800
  • 8afdb1c3ef
    checker: c2v: allow passing fixed array as pointer to functions; bool <-> int (#14309) playX 2022-05-05 08:23:57 +0000
  • 7499506cf8
    .gitignore: minor cleanup (#14279) StunxFS 2022-05-05 03:17:24 -0400
  • 785e9af8f1
    ci: comment out the `v -autofree .` step for gitly temporarily Delyan Angelov 2022-05-05 09:20:08 +0300
  • 7170a09382
    vfmt: fix stackoverflow on long nested infix expressions Delyan Angelov 2022-05-05 07:36:56 +0300
  • 01c1892995
    tools: fix building `vdoctor.v` with `v build-tools` Delyan Angelov 2022-05-04 23:30:44 +0300
  • a6b3e5d6a5
    ci: wrap the too long line in README.md that failed `./v check-md -hide-warnings .` Delyan Angelov 2022-05-04 21:19:57 +0300
  • 76a7354506
    builtin: add libbacktrace as option for generating stack traces (#14277) Ned 2022-05-05 02:17:05 +0800
  • 4242e7610f
    checker: add comptime_selector() (#14286) yuyi 2022-05-05 00:25:58 +0800
  • e2aa5c9b3f
    parser: make peek_token_after_var_list() private (#14288) yuyi 2022-05-05 00:25:45 +0800
  • 223b96a59a
    builtin: fix typo in array_bare.v (#14299) Ikko Ashimine 2022-05-05 01:25:17 +0900
  • 1a4d9017e2
    builtin: improve support for large arrays (`[]int{len: 1_000_000_000}` now works), fix an arr.repeat() bug (#14294) Delyan Angelov 2022-05-04 18:42:06 +0300
  • af8be14639
    readme: minor github markdown fix Alexander Medvednikov 2022-05-04 18:06:41 +0300
  • ac90a2b53d
    checker: check error for fn call argument mismatch (fix #14280) (#14283) yuyi 2022-05-04 17:13:22 +0800
  • 3bd6455178
    checker: allow rune->any int and vice versa when translated (#14285) playX 2022-05-04 09:08:34 +0000
  • 3d4b8dffdf checker: temporary c2v const fix Alexander Medvednikov 2022-05-04 08:28:24 +0300
  • f321422964
    checker, cgen: check comptime selector that has no field name (#14282) yuyi 2022-05-04 12:06:52 +0800
  • 1e9156fd71 checker: c2v rune comparison fix Alexander Medvednikov 2022-05-04 06:49:45 +0300
  • 3732db2bcc
    cgen: cleanup in gen_array_contains_methods() (#14274) yuyi 2022-05-04 01:46:07 +0800
  • 146051b231
    checker: allow fixed array to pointer and vice versa when translated (#14275) playX 2022-05-03 17:44:45 +0000
  • 04a77c731e
    tests: add `// vtest flaky: true` to atomic_test.v Delyan Angelov 2022-05-03 20:42:12 +0300
  • 63eacede95
    checker: check argument mismatch of array.filter/all/any() (#14273) yuyi 2022-05-03 21:56:18 +0800
  • 6da300428e
    doc: add JS backend mention (#14265) Hunam 2022-05-03 11:51:12 +0200
  • 276bd8060c
    cgen: fix error for fixed array in operate (#14269) yuyi 2022-05-03 17:45:04 +0800
  • 0e5c1cee48
    builtin: improve musl/Alpine support (define weak backtrace/backtrace_symbols/backtrace_symbols_fd symbols) (#14250) Delyan Angelov 2022-05-03 09:17:53 +0300
  • 4da2908d63
    vdoc: fix panic on empty `//` comment on `v doc -f html file.v`; turn `expected code block after empty example` to a warning Delyan Angelov 2022-05-02 23:48:37 +0300
  • cf92224248
    cleanup: delete x.v in project root folder (#14260) StunxFS 2022-05-02 15:58:14 -0400
  • ab1c265679
    builtin: add missing panic_result_not_set/1 callback function. Delyan Angelov 2022-05-02 22:40:17 +0300
  • db185598d2
    checker: refactor comptime_if_branch (#14259) spaceface 2022-05-02 21:24:20 +0200
  • 990afe37e1
    checker: fix a bug in generics array init (#14258) yuyi 2022-05-02 21:18:33 +0800
  • d72a25098a
    parser: minor cleanup in interface_decl() (#14257) yuyi 2022-05-02 21:17:46 +0800
  • 25c1b174ca
    checker: fix generic fn infering fn type argument (fix #14243) (#14256) yuyi 2022-05-02 21:17:27 +0800
  • b9cf2db6a8
    parser: fix inline array's element access (#14253) yuyi 2022-05-02 21:16:32 +0800
  • afbe6bf3a2
    cgen: fix const decl gen when translated (#14255) playX 2022-05-02 12:01:59 +0000
  • a4fd349cf1
    builder: allow `-compress` to work on windows too, when `upx` is installed (#14252) Isaiah 2022-05-02 07:28:31 -0400
  • 968d2b4654
    cgen: fix fixed array init with `it` (#14251) yuyi 2022-05-02 07:00:45 +0800
  • 332e821518
    checker, gen: add support for a [minify] struct attribute (#14247) spaceface 2022-05-02 00:59:17 +0200
  • aed2d0caf2
    make files: add a `make check` target, that runs `v test-all` locally Delyan Angelov 2022-05-01 13:38:30 +0300
  • 91c1157810
    time: relative update (#14240) David 'Epper' Marshall 2022-05-01 03:47:05 -0400
  • ec92d467d1
    cgen: fix unsafe return error (#14233) Daniel Däschle 2022-04-30 16:31:28 +0200
  • 0b54196962
    checker: allow pointer index for translated code (#14231) playX 2022-04-30 14:30:55 +0000
  • 9f8a34a528
    all: rename result to _result (#14232) Daniel Däschle 2022-04-30 16:10:30 +0200
  • 63d413f93c
    tools: support `v missdoc .` instead of `v run cmd/tools/missdoc.v .` Delyan Angelov 2022-04-30 16:09:11 +0300
  • c0b37409d2
    tools: support a `v vet -p file.v` option that will warn about private functions with missing documentation Delyan Angelov 2022-04-30 16:01:35 +0300
  • 8da42bfc85 tests: fix `./v -W build-tools` CI failure Delyan Angelov 2022-04-30 13:49:36 +0300
  • 5277ce7dce
    tests: support for marking _test.v files with `// vtest flaky: true`, to reduce false positives from the CI Delyan Angelov 2022-04-30 13:27:50 +0300
  • a2338dbb7c
    docs: document more `builtin` functions/methods (#14229) David 'Epper' Marshall 2022-04-30 05:31:23 -0400
  • dcdfdf4dd8
    tools: make `v up` more informative on failure Delyan Angelov 2022-04-30 10:08:31 +0300
  • dab649ec8a
    cgen: rewrite the closure implementation (#14223) spaceface 2022-04-30 08:32:46 +0200
  • ce31a01a70 checker: allow voidptr arithmetic in translated code Alexander Medvednikov 2022-04-30 05:52:32 +0300
  • cd30b6ea82
    parser: make sure interface field names use uppercase letters (#14228) yuyi 2022-04-30 10:29:33 +0800
  • 08fd0ce0de
    all: basic implementation of result type (#14140) Daniel Däschle 2022-04-30 00:59:14 +0200
  • db185e6580
    checker: check for reserved type names in `for in` (fix #14072) (#14212) StunxFS 2022-04-29 18:25:29 -0400
  • 48eb40cd2c
    doc: suggest a basic auto-reload setup (#14216) Benjamin Thomas 2022-04-29 19:57:04 +0200
  • 881d0c04f1
    time: add custom formatter (#14202) David 'Epper' Marshall 2022-04-29 08:57:08 -0400
  • ec865cfb37
    parser: check interface methods name (fix #14217) (#14218) yuyi 2022-04-29 20:48:03 +0800
  • 317acfda97
    checker: check struct field name using uppercase letters (#14220) yuyi 2022-04-29 19:57:14 +0800
  • 872f739396
    builtin: ignore C++ 0xE06D7363 exception errors on windows (#14225) Wertzui123 2022-04-29 13:55:29 +0200
  • 995485c649
    builtin: add `string.len_utf8()` method (#14208) StunxFS 2022-04-29 03:23:57 -0400
  • 8b798acadd
    cgen: fix use of C reserved words inside `defer` statement (fix #14101) (#14211) StunxFS 2022-04-29 01:04:59 -0400
  • 77645fcf35 builtin: define atoi & ftell Alexander Medvednikov 2022-04-29 04:31:51 +0300
  • 14309594fe
    ast: add a type_size() method (#14213) spaceface 2022-04-28 22:35:10 +0200
  • 5a42350a78
    docs: add a `v fmt -w .` step in the contributing guide (#14210) David 'Epper' Marshall 2022-04-28 16:31:22 -0400
  • e24482a143
    transformer: minor optimization for `'string literal'.len` (#14207) StunxFS 2022-04-28 15:35:16 -0400
  • e56385d57d
    checker: disable op overloading on structures for translated code (#14209) playX 2022-04-28 17:46:46 +0000
  • 7aca67fb60
    ast, parser: fix complex map init (#14206) yuyi 2022-04-28 22:37:19 +0800
  • dd94ab890a
    cgen: fix go anon fn call with ref argument (fix #14192) (#14197) yuyi 2022-04-28 19:43:20 +0800
  • c802688690
    ast: fix error for complex map operating (#14204) yuyi 2022-04-28 18:20:56 +0800
  • a225b25117
    arrays: rephrase doc string (#14205) Atom 2022-04-28 14:17:53 +0400
  • 4538efd8f4
    eval: small cleanup in the handling of `$if platform {` Delyan Angelov 2022-04-28 13:15:09 +0300
  • e0ed8f8278
    eval: make the interpreter backtrace more efficient and informative. Delyan Angelov 2022-04-28 12:31:30 +0300
  • f72297c331
    eval: add support for C.read/3, C.malloc/1, `$if openbsd {` Delyan Angelov 2022-04-28 11:30:36 +0300
  • be04ec0620
    pref: add support for `-thread-stack-size 4194304` (default set to 8MB) (#14168) Delyan Angelov 2022-04-28 08:46:33 +0300
  • 7dd5d9ee61
    checker: fix error for array of sumtype appending literal value (#14200) yuyi 2022-04-28 13:44:30 +0800
  • 09f8b6a380
    checker: check error in for_c_stmt with optional call (#14190) yuyi 2022-04-28 13:43:16 +0800
  • eb03fad934
    gg: improve some loops in draw_rounded_rect* methods (#14195) tzSharing 2022-04-28 03:57:48 +0800
  • f53b9b4f12
    ci: fix tcc compilation of atomic_test.v Delyan Angelov 2022-04-27 22:50:18 +0300
  • 7dbfa86f25 all: atomic int fixes Alexander Medvednikov 2022-04-27 18:31:21 +0300
  • 82ac39eca6
    math: fix error for math.abs(0.0)/math.abs(0) (related #14165) (#14191) yuyi 2022-04-27 18:23:37 +0800
  • 752e105f25
    cgen: fix error for generic sumtype casting to typenode (#14188) yuyi 2022-04-27 16:32:43 +0800
  • 85f616877f
    gg: fix gg.draw_rounded_rect_empty() graphical abnormalities and some optimizations (#14186) tzSharing 2022-04-27 16:22:57 +0800
  • b76095f28a
    checker: allow + - * on pointers for translated code (#14183) playX 2022-04-26 18:00:44 +0000
  • c26b7666c7
    gg: some stuff required to have svg and png screenshots working on v ui (#14180) R cqls 2022-04-26 19:59:36 +0200
  • be513b4c27
    cgen: split up array_init() (#14178) yuyi 2022-04-27 01:58:47 +0800
  • 1c48a8d760
    strconv: add missing doc strings (#14164) Larpon 2022-04-26 17:09:36 +0200
  • 660201c188
    cgen: fix error for cast to empty interface (fix #14162) (#14176) yuyi 2022-04-26 18:26:48 +0800
  • b9a0e2d285
    sokol: support compilation on OpenBSD (#14169) Brian Callahan 2022-04-26 06:14:00 -0400
  • 38afd74d26
    ast, checker, cgen: fix error for multi-return in or expr (fix #14167) (#14172) yuyi 2022-04-26 17:17:05 +0800
  • 95880dfe5c
    checker: allow indexing through alias to int (#14177) playX 2022-04-26 09:15:35 +0000
  • dce2173ac9
    checker: c2v fixes (#14161) playX 2022-04-25 22:34:26 +0000
  • 501b293e84 checker: remove already handled "undefined" errors Alexander Medvednikov 2022-04-25 16:53:29 +0300
  • d799abd139
    regex: rephrase doc string (#14159) Larpon 2022-04-25 15:03:13 +0200
  • e42dc8e228
    checker: fix error for match aliases (#14157) yuyi 2022-04-25 19:42:43 +0800