Commit Graph

  • dbcf6e9c33 os: fix Process on windows Alexander Medvednikov 2022-04-15 15:23:05 +0300
  • c14984899b builtin: fix windows fn definitions Alexander Medvednikov 2022-04-15 15:18:21 +0300
  • a1372e284c builtin: update alloc fn definitions Alexander Medvednikov 2022-04-15 15:16:10 +0300
  • c3ad4e2069 encoding.base64: use u8 Alexander Medvednikov 2022-04-15 15:10:34 +0300
  • d4a0d6f73c all: byte => u8 Alexander Medvednikov 2022-04-15 14:58:56 +0300
  • b49d873217 builtin: [1000]u8 fix Alexander Medvednikov 2022-04-15 14:48:39 +0300
  • 014c3c97f0 all: byte => u8 Alexander Medvednikov 2022-04-15 14:45:52 +0300
  • 7f3b91e688 builtin: more byte => u8 Alexander Medvednikov 2022-04-15 14:10:11 +0300
  • 1e7eb713fb cgen: remove byte references from cheaders.v Alexander Medvednikov 2022-04-15 14:04:53 +0300
  • ba7b329c73 builtin: more byte=>u8 Alexander Medvednikov 2022-04-15 13:55:56 +0300
  • e6ff1508d2 all: make u8 the primary type, byte the alias Alexander Medvednikov 2022-04-15 13:43:03 +0300
  • 566f150b24
    net.http: add parse_request_head/1, cleanup existing code Delyan Angelov 2022-04-15 10:33:44 +0300
  • fb214b3a86
    Merge 9743c14949 into c3ee4fb2a2 Dialga 2022-04-15 09:52:03 +0300
  • c3ee4fb2a2
    crypto: make public all Digest.checksum() methods Delyan Angelov 2022-04-15 08:56:01 +0300
  • 37305bcc76
    Merge 7fd978449e into 3b36f16365 Vincenzo Palazzo 2022-04-15 11:42:22 +1000
  • e09a7853ce
    Merge 3e26bef11f into 3b36f16365 froge 2022-04-14 21:23:39 -0400
  • f4cd902cff
    Merge a7cfcab95d into 3b36f16365 pancake 2022-04-15 01:59:54 +0200
  • 3b36f16365 all: volatile globals Alexander Medvednikov 2022-04-15 02:39:38 +0300
  • 7af42e03b8
    Merge ae1de88f1f into 0dff050735 Vincenzo Palazzo 2022-04-14 17:50:02 +0300
  • b7b9d05bd6
    Merge 7fc3112c74 into 0dff050735 Anton Zavodchikov 2022-04-14 22:10:26 +0800
  • 5b4ae88925
    Merge 72ccd1cd16 into 0dff050735 Louis Schmieder 2022-04-14 22:10:26 +0800
  • 648ec87086
    Merge 59082fee32 into 0dff050735 Tarcisio Gruppi 2022-04-14 22:10:26 +0800
  • a32168cff0
    Merge 7f26e6d457 into 0dff050735 pancake 2022-04-14 22:10:26 +0800
  • 0dff050735 builtin: u8/byte clean up Alexander Medvednikov 2022-04-14 16:42:29 +0300
  • 2d6d6c9ac9
    json: fix json decode with sumtype of multi array type (#14035) yuyi 2022-04-14 20:36:24 +0800
  • c4dff0d797
    cgen: format the generated source code by gen_str_for_union_sum_type() (#14026) yuyi 2022-04-14 20:26:10 +0800
  • 72c2dc805d
    cgen: fix error for generics struct that parent has str to string (#14037) yuyi 2022-04-14 20:23:50 +0800
  • aef7a96757
    small improvement - remove needless string interpolation in asserts Delyan Angelov 2022-04-14 15:20:31 +0300
  • f6c9a60f99
    pref: only show the support cross compiler warning/VCROSS_COMPILER_NAME message for the C backend Delyan Angelov 2022-04-14 15:04:00 +0300
  • bf62b2e33e
    vfmt: stabilise the attribute sorting order (sort first by length of atributes, then in alphabetical order of their names) Delyan Angelov 2022-04-14 14:52:59 +0300
  • f1f75897b3
    sync: use asserts in channel code only when `-d debug` is passed Delyan Angelov 2022-04-14 14:00:57 +0300
  • a62560d2c1
    ci: fix generation of vc/v_win.c in gen_vc.yml Delyan Angelov 2022-04-14 13:44:18 +0300
  • e555335bf0
    ci: fix windows-msvc builds, as well as the windows-cross job, turn on deprecation notices for [windows_stdcall] and [_fastcall] Delyan Angelov 2022-04-14 13:28:46 +0300
  • aed0886de0 cgen: fix error for generics struct that parent has str to string yuyi98 2022-04-14 16:39:18 +0800
  • 68401d9dc8
    gen: add callconv attribute for fn and type (#14027) fleur 2022-04-14 10:29:52 +0200
  • 5905590e78
    builder, pref: use i686-w64-mingw32-gcc for cross compiling 32bit windows apps with `v -m32 -os windows hw.v` Delyan Angelov 2022-04-14 10:18:42 +0300
  • ad3797386d postpone the notices for windows_stdcall and _fastcall till the PR is merged and vc bootstraps Delyan Angelov 2022-04-14 08:58:15 +0300
  • e99059471b
    v.ast,v.fmt: support attributes on FnTypeDecl too Delyan Angelov 2022-04-14 08:37:22 +0300
  • 778614bcc9
    cgen: use __attribute__((convention)) for normal functions too, when cc != msvc Delyan Angelov 2022-04-14 08:25:29 +0300
  • 0fd43a2530
    cgen: use __attribute__((fastcall)) for fn types on cc != msvc (fixes compilation of doc examples) Delyan Angelov 2022-04-14 08:06:08 +0300
  • 60d3d9a4a3 json: fix json decode with sumtype of multi array type yuyi98 2022-04-14 11:24:49 +0800
  • e599c9896a
    Merge 4ffcf031fa into 48c295150f Delyan Angelov 2022-04-13 16:47:33 -0400
  • 48c295150f
    checker: fixes typechecking for a sum type with an alias type (#13974) Vincenzo Palazzo 2022-04-13 17:38:26 +0200
  • dc08105022
    json: fix error for json decode with sumtype (#14025) yuyi 2022-04-13 23:06:28 +0800
  • 8ade188e0d Fix (gen.c) -> Fixed attribute without its value is now an error Shib 2022-04-13 15:03:36 +0200
  • 0b36027500
    repl: use the most common compiler Vincenzo Palazzo 2022-04-13 14:40:03 +0200
  • d3154407c0
    test: add main in the test file Vincenzo Palazzo 2022-04-13 14:04:51 +0200
  • 7d7899a6ca
    checker: cleanup comments Vincenzo Palazzo 2022-04-13 13:54:17 +0200
  • 579ac32cce
    include only checker error Vincenzo Palazzo 2022-04-13 13:45:17 +0200
  • 93856f82c6
    checker: take into count the recursive sum type with in alias Vincenzo Palazzo 2022-04-11 18:13:59 +0200
  • 68c5699c1f
    checker: fixes bug with different combination of types Vincenzo Palazzo 2022-04-08 22:06:44 +0200
  • a31a4e54ec
    checker: fixes resolution sum type with an alias type Vincenzo Palazzo 2022-04-08 19:00:45 +0200
  • e5809363de
    docs: describe the contents of vlib/v/gen/c/testdata/ and how to write tests for the checker, that still do not have good codegen counterpart Delyan Angelov 2022-04-13 14:55:26 +0300
  • 50e4ca9c31 Fix (gen.c) -> Fixed deprecated attribute warning turning into an error Shib 2022-04-13 12:55:26 +0200
  • c31805426d Refact (All) -> v fmt Shib 2022-04-13 12:10:16 +0200
  • 5be88d97ae Add (Docs) -> Added doc for newly added callconv attribute Shib 2022-04-13 12:03:33 +0200
  • 77efa1f074 Add (gen > c) -> Added callconv attribute for function type aliases Shib 2022-04-13 12:03:05 +0200
  • 6d12f57d14 Add (gen > c) -> Added callconv attribute for function Shib 2022-04-13 12:01:55 +0200
  • 2421c00e62 cgen: format gen_str_for_union_sum_type() generated c codes yuyi98 2022-04-13 17:59:10 +0800
  • 80b8b81023 json: fix error for json decode with sumtype yuyi98 2022-04-13 17:15:32 +0800
  • d7adb67d52 cgen: fix [cinit] Alexander Medvednikov 2022-04-13 02:55:47 +0300
  • 2525a30b5f cgen: [cinit] attr for globals Alexander Medvednikov 2022-04-13 00:30:51 +0300
  • e3e5bef139
    ast, parser: fix formatting of `if` with inline comments (fix #7796) (#14018) yuyi 2022-04-13 05:15:27 +0800
  • ae1de88f1f
    checker: refactoring util fn inside utils utils.v file Vincenzo Palazzo 2022-04-11 01:06:23 +0200
  • 11fc34c7d0
    checker: ensure that the variant SubType exists Vincenzo Palazzo 2022-04-10 23:00:24 +0200
  • c780de6282
    checker: disallow 'small_unsigned == signed' (#13967) Nick Treleaven 2022-04-12 17:37:30 +0100
  • eb1de2ac4e
    Update vlib/toml/scanner/scanner.v Delyan Angelov 2022-04-12 19:05:30 +0300
  • 6718958058
    cgen: add a `[_fastcall]` fn attribute (#14016) weekly.2022.15 fleur 2022-04-12 16:06:56 +0200
  • a810fbb80e
    cgen: fix infix_expr_in_optimization compile error when treating some kind cannot directly use '==' (#14015) 牧心 2022-04-12 21:19:44 +0800
  • 8788512c4d
    checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01) Delyan Angelov 2022-04-12 13:38:40 +0300
  • 4c7cdd2a2d
    checker,cgen: use faster `sym.idx == ast.error_type_idx` integer comparisons, instead of `sym.name == "IError"` Delyan Angelov 2022-04-12 14:19:10 +0300
  • 62032c43db
    ast: fix Table.rewrite_already_registered_symbol calls (they were setting sym.idx to 0) Delyan Angelov 2022-04-12 14:02:52 +0300
  • 92cc787929 format ast.v yuyi98 2022-04-12 17:51:23 +0800
  • db6323413d ast, parser: fix the formatting of if cond with inline comments yuyi98 2022-04-12 17:46:19 +0800
  • 9b43713ec5
    net: simplify TcpListener.accept, use `C.accept(l.sock.handle, 0, 0)`, since we do not care about the local address of the accepted connection Delyan Angelov 2022-04-12 11:47:41 +0300
  • e0c9bf7613
    Add (Gen > C) -> Added __fastcall attribute fleur 2022-04-12 10:30:39 +0200
  • 716cb17aea
    math.big: wrap all asserts in module code (not in tests) in `$if debug {}` (#14012) Delyan Angelov 2022-04-12 09:38:53 +0300
  • 7df5b63cb8 v fmt chengqinglin 2022-04-12 14:24:48 +0800
  • afb07e0e16
    cgen: fix deadlock when returning multiple values in lock (#14014) crthpl 2022-04-11 23:21:27 -0700
  • 5bb5287224 cgen: expr_in_optimization refactor chengqinglin 2022-04-12 13:55:34 +0800
  • 510e095e8f
    add test crthpl 2022-04-11 14:57:55 -0700
  • 0a9410160e
    fix multi return in lock crthpl 2022-04-11 14:52:45 -0700
  • e19270b1be
    ci: run sanitized jobs for changes in more parts of the V compiler Delyan Angelov 2022-04-11 18:44:02 +0300
  • 49b2a0d82f
    math.big: wrap all asserts in module code (not in tests) in `$if debug {}` Delyan Angelov 2022-04-11 18:23:30 +0300
  • 3e3b2e25db
    parser, fmt: fix the formatting of fn headers with inline comments (#14010) yuyi 2022-04-12 03:31:06 +0800
  • 07207db998
    examples: reduce C. prefix usage, rename fontstash enums (#14011) Larpon 2022-04-11 21:23:06 +0200
  • cb969e0934
    tools: fix the behaviour of regress.v , when oldv.v is not compiled Delyan Angelov 2022-04-11 19:18:57 +0300
  • 61378f8a58
    Merge branch 'master' into ierror_remove_err_msg_field_compatibility Delyan Angelov 2022-04-11 21:56:53 +0300
  • 382586da6d
    ci: fix toml segfault (remove unused low level builtin option IError.msg compatibility hack) Delyan Angelov 2022-04-11 21:49:52 +0300
  • 9c7eb576c7
    add a new Context.set_alignment function Delyan Angelov 2022-04-11 21:42:09 +0300
  • 4aa26cc01c
    all: fix remaining err.code and err.msg usages Delyan Angelov 2022-04-11 20:08:04 +0300
  • 5b36eeeeee
    checker,gen,builtin: remove the IError.str() compatibility hack (fixes toml ci) Delyan Angelov 2022-04-11 19:43:38 +0300
  • e3a3228c4b
    tools: fix the behaviour of regress.v , when oldv.v is not compiled Delyan Angelov 2022-04-11 19:18:57 +0300
  • e64c8cce62
    ci: bump size of EMPTY_STRUCT_DECLARATION's _dummy_pad field to 8 (a voidptr, instead of char) Delyan Angelov 2022-04-11 17:31:49 +0300
  • a2adaa4bef examples: reduce C. prefix usage, rename fontstash enums lmp 2022-04-11 16:37:09 +0200
  • 5551cb248c
    ast, parser, fmt: fix formatting of consts with embedded comments (#14008) yuyi 2022-04-11 22:27:41 +0800
  • 40079bfb06 parser, fmt: fix formatting fn headers with inline comments yuyi98 2022-04-11 21:58:52 +0800
  • a0af1ae0b8 ast, parser, fmt: fix error for vfmt of consts with embeded comments yuyi98 2022-04-11 20:02:49 +0800
  • 25d8faabf6
    cgen: fix alloc empty struct array error (#14007) 牧心 2022-04-11 19:16:09 +0800
  • f8ae042eb9
    Merge branch 'master' into unsigned-eq Delyan Angelov 2022-04-11 13:36:31 +0300