Commit graph

  • 09d165039f
    quote the vlib/v/tests/runes.txt path too Delyan Angelov 2025-09-05 00:21:45 +03:00
  • ad8d3ff446
    builtin: add input_rune/0 and input_rune_iterator/0 + tests Delyan Angelov 2025-09-05 00:07:03 +03:00
  • c677bad3cc remove warnigs Larsimusrex 2025-09-04 20:56:03 +02:00
  • 98ffa233ea fix omitempty for options Larsimusrex 2025-09-04 20:54:14 +02:00
  • 512f3d3231 fix: gen_struct_equality_fn null pointer crash 谢克 2025-09-04 23:52:51 +08:00
  • 9e20525795 fix: gen_struct_equality_fn null pointer crash 谢克 2025-09-04 23:14:48 +08:00
  • c2c16dc3fa Changed test to use httpbin.org KyleFontenot 2025-09-04 08:14:25 -07:00
  • f2d174c156 fix bootstrap kbkpbot 2025-09-04 22:44:14 +08:00
  • 16380c44a8 cgen,builtin: support for 64bit int 1 kbkpbot 2025-09-04 22:00:02 +08:00
  • 354f1ce6d2 fix Felipe Pena 2025-09-04 09:29:45 -03:00
  • 2899a01c43 fix Felipe Pena 2025-09-04 09:24:46 -03:00
  • bb7152aeab fix Felipe Pena 2025-09-04 08:52:58 -03:00
  • dbd5b5f56c
    Revert "cgen: ensure variable names do not conflict with builtin methods (fix #25063) (#25178)" Delyan Angelov 2025-09-04 13:47:53 +03:00
  • e15d8fcf49
    checker: comptime match only eval true branch (fix #25223) (#25225) kbkpbot 2025-09-04 18:33:39 +08:00
  • f17e0fd52b
    cgen: ensure variable names do not conflict with builtin methods (fix #25063) (#25178) CreeperFace 2025-09-04 11:04:57 +01:00
  • dabc08b6ee
    cgen: fix alias enum used in comptime $for (fix #25211) (#25212) Swastik Baranwal 2025-09-04 15:27:25 +05:30
  • 7563fe6294
    fix comment Leo Developer 2025-09-04 11:46:51 +02:00
  • ba834a64c2
    vfmt + fix other tests Leo Developer 2025-09-04 10:53:09 +02:00
  • 8868696017
    repl: fix handling of lines with comments like math.pi // comment (fix #25229) Delyan Angelov 2025-09-04 11:46:16 +03:00
  • 682db66852
    builtin, checker, cgen: expose is_embed in FieldData (#25232) Larsimusrex 2025-09-04 10:39:24 +02:00
  • d71e469dca
    make time.unix/0 always return a utc timestamp Leo Developer 2025-09-04 10:21:55 +02:00
  • d763ac7fb6 cgen: ensure variable names do not conflict with builtin methods Dylan Donnell 2025-09-02 02:37:23 +02:00
  • 613bf43883 fix ms Larsimusrex 2025-09-03 18:42:35 +02:00
  • 627f308943 expose is_embed in FieldData Larsimusrex 2025-09-03 18:33:21 +02:00
  • fc31dadd3e fix: gen_struct_equality_fn null pointer crash 谢克 2025-09-04 00:12:16 +08:00
  • f84fb697ca fix test that broke because of different escaping Larsimusrex 2025-09-03 17:41:42 +02:00
  • f74867ba13 change options to only output none when required Larsimusrex 2025-09-03 17:30:19 +02:00
  • 7105bd190e opt kbkpbot 2025-09-03 22:41:41 +08:00
  • bec1417f7e repl: remove line comment kbkpbot 2025-09-03 21:34:39 +08:00
  • 6b1cee2fe9
    Merge branch 'vlang:master' into proxyurlvspath kfont 2025-09-03 06:10:54 -07:00
  • 3575220a83 Opened http verb functions and fetch to optionally accept Requests. Removed FetchConfig. Changed Request.url to be of type urllib.URL. KyleFontenot 2025-09-02 17:55:24 -07:00
  • 6010a2838b fix kbkpbot 2025-09-03 08:23:14 +08:00
  • b442fc6349 checker: comptime match only eval true branch kbkpbot 2025-09-03 08:06:27 +08:00
  • 2587f597c5 fix test Swastik 2025-09-03 01:20:59 +05:30
  • 7cdb142289 hopefully the final fix for vls Larsimusrex 2025-09-02 21:47:00 +02:00
  • 719b1e23e8 replace use of encode_value in vls with encode Larsimusrex 2025-09-02 21:41:11 +02:00
  • 7fdcb0e130 add documentation for public functions/structs Larsimusrex 2025-09-02 21:30:36 +02:00
  • e4acd93ed3 remove unused Encoder struct declaration from vls Larsimusrex 2025-09-02 21:26:17 +02:00
  • 0ff5135863 added additional test Larsimusrex 2025-09-02 21:06:12 +02:00
  • 5d4b91b03e replace json2 encoder and rewrite tests Larsimusrex 2025-09-02 20:33:22 +02:00
  • f6b60e4d9f
    parser,checker: add top level comptime support for $match @OS { too (#25222) kbkpbot 2025-09-03 01:14:27 +08:00
  • 2e8cc75e5f
    markused: cleanup the generated c code (#25210) Felipe Pena 2025-09-02 12:48:51 -03:00
  • 840e659d08
    readline: fix wide char display width for Chinese characters (fix #25219) (#25220) kbkpbot 2025-09-02 23:01:26 +08:00
  • 0469ef88dd parser,checker: add top level comptime match support kbkpbot 2025-09-02 22:37:36 +08:00
  • 05d1fd2b66 readline: fix wide char display width kbkpbot 2025-09-02 19:49:00 +08:00
  • 797de9bee1 fix Felipe Pena 2025-09-02 08:42:19 -03:00
  • 19d31f221f
    parser,fmt,markused: add top level comptime $if support (enable $if platform { import module struct Abc {} }) (#25216) kbkpbot 2025-09-02 18:01:37 +08:00
  • 2c4dfb5ff5 extract common code from checker and parser kbkpbot 2025-09-02 12:16:10 +08:00
  • 6cd6832ed5 rename inside_import_section; fix is_in_top_level_comptime() kbkpbot 2025-09-02 08:29:32 +08:00
  • e34603165c fix tests kbkpbot 2025-09-02 08:19:06 +08:00
  • 8b0445ebd7 vfmt: fix extra empty line after enum declaretion kbkpbot 2025-09-02 08:08:57 +08:00
  • 344f7ccdcb
    examples,gg: add examples/gg/grid_of_rectangles.v; add gg.Context.draw_rect_filled_no_context/5 and gg.Context.draw_rect_empty_no_context/5 Delyan Angelov 2025-09-01 23:28:35 +03:00
  • 1e0bda4ebc
    checker: fix static init var (fix #25203) (#25209) Felipe Pena 2025-09-01 15:12:04 -03:00
  • 10ecbd15ec fix Felipe Pena 2025-09-01 09:02:10 -03:00
  • 918731bf7a fix Felipe Pena 2025-09-01 08:49:32 -03:00
  • a76563c51c fix Felipe Pena 2025-09-01 08:12:31 -03:00
  • 850b8c4c06 parser,fmt,markused: add top level comptime if support kbkpbot 2025-09-01 17:12:59 +08:00
  • 5954b8cf5a cgen: fix alias enum comptime for Swastik 2025-09-01 02:39:30 +05:30
  • eedb619142 Revert "checker: warn on unused imported functions used via import math { sin, cos }" Swastik 2023-11-02 19:50:42 +05:30
  • 927b0cd5f2 checker: warn on unused imported functions used via import math { sin, cos } Swastik 2023-11-02 19:50:18 +05:30
  • 7443415dfa fix Felipe Pena 2025-08-31 15:55:04 -03:00
  • a5d52a18ce cleanup Felipe Pena 2025-08-31 15:52:27 -03:00
  • c3faa11016 fix Felipe Pena 2025-08-31 14:46:15 -03:00
  • 487feb9b0e
    cgen: fix hash stmt code generation (fix #25184) (#25207) weekly.2025.36 kbkpbot 2025-09-01 01:39:02 +08:00
  • c7aa697001 fix Felipe Pena 2025-08-31 14:35:15 -03:00
  • 33c3d04505 fix Felipe Pena 2025-08-31 14:35:00 -03:00
  • e7059ab1d7 Merge branch 'master' into cgen-fix-hash-stmt kbkpbot 2025-08-31 19:51:28 +08:00
  • 3270b9d90e fix -cstrict kbkpbot 2025-08-31 16:40:56 +08:00
  • 9ddf3c31e4 cgen: fix hash stmt code generation kbkpbot 2025-08-31 16:11:32 +08:00
  • d31aaecc42
    checker: add more checks for map.delete (fix #25204) (#25205) Swastik Baranwal 2025-08-31 12:51:11 +05:30
  • 0dc4e9b46a
    checker: add T.typ and T.unaliased_typ checking to $match (fix #25200) (#25202) Felipe Pena 2025-08-31 04:17:47 -03:00
  • 17f21c46ac checker: add more checks for map.delete Swastik 2025-08-31 02:43:35 +05:30
  • 283c81fd64 Revert "checker: warn on unused imported functions used via import math { sin, cos }" Swastik 2023-11-02 19:50:42 +05:30
  • 98298fc06c checker: warn on unused imported functions used via import math { sin, cos } Swastik 2023-11-02 19:50:18 +05:30
  • 7c780ed8fa
    cgen, markused, checker: fix iteration over mutable option (fix #24860) (#25199) Felipe Pena 2025-08-30 17:40:47 -03:00
  • 9fb8aae2d7
    cgen: fix autofree used vars on return (fix #25196) (#25198) Felipe Pena 2025-08-30 17:39:34 -03:00
  • 191774d76c fix Felipe Pena 2025-08-30 16:59:09 -03:00
  • cb2756e39c
    parser,checker: use keywords matcher trie for imported symbol presence checks, instead of x in p.imported_symbol (#25201) Delyan Angelov 2025-08-30 22:56:30 +03:00
  • 925455f2c9 fix Felipe Pena 2025-08-30 16:17:02 -03:00
  • 7abe91daf5
    run v fmt -w vlib/v/ast/ast.v Delyan Angelov 2025-08-30 19:55:15 +03:00
  • 834dba8451
    parser: fix forgotten x in p.imported_symbols expression in fn.v Delyan Angelov 2025-08-30 19:21:07 +03:00
  • 4bc72835b8
    v.token: add manual .str() methods for KeywordsMatcherTrie and TrieNode, to workaround cgen errors Delyan Angelov 2025-08-30 19:19:31 +03:00
  • 1b3ec4aea3
    checker: use an imported symbols trie stored per each ast.File too Delyan Angelov 2025-08-30 19:11:05 +03:00
  • b588bacf78
    parser: use a token.KeywordsMatcherTrie matching checks, instead of the map checks for name in p.imported_symbols Delyan Angelov 2025-08-30 16:01:49 +03:00
  • 2ac3478296
    vfmt,parser: move mark used from vfmt to parser (#25190) kbkpbot 2025-08-30 23:42:12 +08:00
  • eccc13f462 fix Felipe Pena 2025-08-30 12:34:37 -03:00
  • efeef82952 fix Felipe Pena 2025-08-30 12:10:57 -03:00
  • bb592afb98 fix Felipe Pena 2025-08-30 12:10:32 -03:00
  • 745b03963c fix Felipe Pena 2025-08-30 12:08:02 -03:00
  • 89fa63437e test Felipe Pena 2025-08-30 09:58:57 -03:00
  • 7f402b3e1c fix Felipe Pena 2025-08-30 09:58:41 -03:00
  • 7e4564b797 fix for func call arg is another func call kbkpbot 2025-08-30 20:56:53 +08:00
  • 24f91280d9
    decoder2: add support for decoding utf-16 surrogates, produced by some JSON encoder implementations (Python, Java, C#) (#25193) Larsimusrex 2025-08-30 12:02:39 +02:00
  • ae8134705b
    veb: fix a spurious error with Chromium, for POST requests, split into 2 parts, 1st with only http headers, without body (fix #25191) (#25195) Delyan Angelov 2025-08-30 12:56:21 +03:00
  • c58cc1b7c9 use string builder.fix node is ast.Import kbkpbot 2025-08-30 16:32:05 +08:00
  • 9eaa9cee7e fix the tcp reader for windows/clang and macos/clang Delyan Angelov 2025-08-30 09:39:01 +03:00
  • 147d5b5709
    Merge branch 'vlang:master' into master kfont 2025-08-29 18:51:37 -07:00
  • 49cd03ad24 fix early check kbkpbot 2025-08-30 09:49:59 +08:00
  • b9b61d5fc3 early check kbkpbot 2025-08-30 09:28:02 +08:00
  • 592539d9e3 fix, check all name for imported symbols, auto_imports always used kbkpbot 2025-08-30 08:45:49 +08:00