Commit graph

  • 42ccf0f917 fix compilation with -cstrict Delyan Angelov 2025-08-14 23:10:45 +03:00
  • ce145e57b7 better fix for macos/freebsd, where writing to /dev/null does set errno, but also fwrite returns the required amount of bytes Delyan Angelov 2025-08-14 23:03:33 +03:00
  • c00f91b003 Revert "fix for BSD/macos - writing to /dev/null can fail with ENOTTY" Delyan Angelov 2025-08-14 23:02:30 +03:00
  • 0c1a946a2a
    fix for BSD/macos - writing to /dev/null can fail with ENOTTY Delyan Angelov 2025-08-14 22:58:03 +03:00
  • 2508e3c9c5
    remove debug block in read_bytes_into Delyan Angelov 2025-08-14 22:02:02 +03:00
  • c4ef79d146
    os: simplify file.c.v using cross platform f.seek/2 calls, add EINTR handling to f.write_full_buffer/2 (fix #25107) Delyan Angelov 2025-08-14 21:54:16 +03:00
  • bbb61ab368
    gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) Eliyaan (Nopana) 2025-08-14 18:53:56 +02:00
  • 64ad7c73e8
    ci: add a build_on_ubuntu_25_ci.yml script, for testing bootstrapping with GCC 14.2.0 (#25109) Delyan Angelov 2025-08-14 19:52:48 +03:00
  • a6ccf211b2
    ci: add a build_on_ubuntu_25_ci.yml script, for testing bootstrapping with GCC 14.2.0 Delyan Angelov 2025-08-14 18:53:48 +03:00
  • e5569f152b
    add a build tag to avoid musl to vlib/gg/color_test.v too Delyan Angelov 2025-07-26 18:02:56 +03:00
  • 25d3ccdec9
    workaround for failing docker/musl jobs Delyan Angelov 2025-07-26 18:02:14 +03:00
  • 23aa272318
    add module deprecations too to vlib/gx/*.v Delyan Angelov 2025-07-24 20:16:36 +03:00
  • e3d7319e07
    gx: add more deprecated tags + redirections to the definitions in gg Delyan Angelov 2025-07-24 19:24:52 +03:00
  • d07ffc1998
    fix fn doc CI Eliyaan 2025-07-24 18:18:56 +02:00
  • 2f929d4c9c
    fix review Eliyaan 2025-07-24 18:17:29 +02:00
  • 83afa24626
    some fixes for ved and the macos CI Delyan Angelov 2025-07-24 19:10:52 +03:00
  • 9e20dddef2
    vfmt Eliyaan 2025-07-24 14:42:38 +02:00
  • d569a4cbb0
    deprecate gx and replace everywhere with gg Eliyaan 2025-07-24 14:34:46 +02:00
  • 697cfa701f
    ast: allow using aliased types in interface method implementations (provide backwards compatibility to ui, during the migration of code from gx to gg) (#25106) Delyan Angelov 2025-08-14 17:11:53 +03:00
  • 23d554361b fix Felipe Pena 2025-08-14 09:16:10 -03:00
  • f708862ce7
    ast: allow for using aliased types in interface method implementations (provide backwards compatibility to ui, during the migration of code from gx to gg) Delyan Angelov 2025-08-14 15:15:10 +03:00
  • a1b131c99a
    math.big: move from u32 to u60 digits (#25018) kbkpbot 2025-08-14 14:59:35 +08:00
  • db661204d9 vls: autocomplete for module functions: e.g. os. ... Alexander Medvednikov 2025-08-14 05:54:38 +03:00
  • 71d32ea6ad
    ci: fix dependencies for modules with examples (libasound2-dev is needed for sokol.audio on Ubuntu) (#25102) Delyan Angelov 2025-08-13 22:30:23 +03:00
  • b1080d99d1
    add apt update -y -qq step too Delyan Angelov 2025-08-13 22:27:10 +03:00
  • 44d4f574e9
    ci: fix dependencies for modules with examples (libasound2-dev is needed for sokol.audio on Ubuntu) Delyan Angelov 2025-08-13 22:24:40 +03:00
  • cdbedc43cb
    ci: use ./v doc -m -f html -unsafe-run-examples -time vlib/ for module doc generation Delyan Angelov 2025-08-13 21:05:57 +03:00
  • bd408289d5
    vdoc: enable example lines that have explicit imports too, fixup the remaining vlib examples, so v doc -v -unsafe-run-examples -f none vlib/ could be added to the CI Delyan Angelov 2025-08-13 21:02:14 +03:00
  • c83cc174a4
    ci: use v build-tools without flags for the tools-windows job Delyan Angelov 2025-08-13 20:16:22 +03:00
  • c27d865377
    ci: retry 3 times vdoc_file_test.v Delyan Angelov 2025-08-13 20:14:30 +03:00
  • e88ac77a01
    semver: fix doc comment examples Delyan Angelov 2025-08-13 18:16:47 +03:00
  • 044c52b625
    readline: fix doc comment example by removing it Delyan Angelov 2025-08-13 18:03:10 +03:00
  • 21afd13d50
    math: fix doc comment examples Delyan Angelov 2025-08-13 18:00:18 +03:00
  • 7d08554c3c
    encoding.base64: fix doc comment examples Delyan Angelov 2025-08-13 17:59:09 +03:00
  • cf2bff504d
    sokol.audio: fix doc comment examples Delyan Angelov 2025-08-13 17:54:45 +03:00
  • 50e2d0344f
    compress.deflate,compress.gzip,compress.zlib,compress.zstd: fix v doc -unsafe-run-examples -f none vlib/compress/ too Delyan Angelov 2025-08-13 17:43:33 +03:00
  • 33602047bc
    arrays: fix v doc -unsafe-run-examples -f none vlib/arrays/ too Delyan Angelov 2025-08-13 17:28:59 +03:00
  • 9771491c94
    arrays.parallel: fix v doc -unsafe-run-examples -f none vlib/arrays/parallel/ too Delyan Angelov 2025-08-13 17:23:44 +03:00
  • c96f0b63f2
    bitfield: fix v doc -unsafe-run-examples -f none vlib/bitfield/ too Delyan Angelov 2025-08-13 17:19:04 +03:00
  • 15f0f8a481
    vdoc: support v doc -check-examples -f none vlib/builtin Delyan Angelov 2025-08-13 16:43:11 +03:00
  • 5058fd7b79
    vdoc: improve failed example report Delyan Angelov 2025-08-13 16:37:24 +03:00
  • 2e3f0b27f0
    builtin,vdoc: make v doc -unsafe-run-examples -time -f ansi vlib/builtin/ pass too Delyan Angelov 2025-08-13 16:28:37 +03:00
  • 82cd81e963
    builtin,vdoc: fix the examples for the builtin methods, so that v doc -check-examples -time -f ansi vlib/builtin/ pass Delyan Angelov 2025-08-13 16:22:22 +03:00
  • 89c470bbba
    ci: run VAUTOFIX=1 v test cmd/tools/vdoc to update cmd/tools/vdoc/testdata/run_examples_bad/main.comments.out Delyan Angelov 2025-08-13 15:25:08 +03:00
  • 6538b624e1
    vdoc: implement -unsafe-run-examples and -check-examples support, add tests and document them Delyan Angelov 2025-08-13 14:21:21 +03:00
  • ab80c767bd
    vdoc: extract vdoc_run_examples_test.v from vdoc_file_test.v Delyan Angelov 2025-08-13 13:03:01 +03:00
  • e33dcabcc1
    vdoc: make -run-examples compatible with all output modes, not just the plaintext one Delyan Angelov 2025-08-13 12:57:25 +03:00
  • ef347e79f4
    tests: improve failure output of vlib/v/eval/interpret_test.v, and make it support VAUTOFIX=1 Delyan Angelov 2025-08-13 11:45:30 +03:00
  • 9fcca599a5
    cgen: fix codegen for generic struct field array option (fix #25093) (#25097) Felipe Pena 2025-08-13 03:11:01 -03:00
  • e5100a8f73
    cgen: allow alias sumtype smartcasting (fix #25085) (#25096) Swastik Baranwal 2025-08-12 22:01:34 +05:30
  • b7cd854ed0
    ci: bump actions/checkout from 4 to 5 (#25095) dependabot[bot] 2025-08-12 18:54:24 +03:00
  • 70f51a199f
    ci: update vlang/gui commit its latest e5cc33fe816fef33d718cb1b91f66d6bd38fb4a4 Delyan Angelov 2025-08-12 18:52:13 +03:00
  • 6836e6a282 fix Felipe Pena 2025-08-12 09:24:21 -03:00
  • acc6c7f0b9 fix check and add tests Swastik 2025-08-12 16:44:40 +05:30
  • 39db7172bb
    build(deps): bump actions/checkout from 4 to 5 dependabot[bot] 2025-08-12 10:55:53 +00:00
  • 438ecff5d4
    CI: migrate workflows to checkout v5 Rej Ect 2025-08-12 13:25:51 +03:00
  • 7d67e22b97
    ci: update hash_validation_tests to slower_tests in more_extensive_but_slower_tests_ci.yml, after the repo name change Delyan Angelov 2025-08-12 11:42:14 +03:00
  • f0bfee2911
    ci: use retry.sh for the pkg install in termux_ci.yml to reduce false positives. Delyan Angelov 2025-08-12 11:31:22 +03:00
  • b782f6b53c commit for now Swastik 2025-08-12 13:38:33 +05:30
  • f4d2a0eae6 Revert "checker: warn on unused imported functions used via import math { sin, cos }" Swastik 2023-11-02 19:50:42 +05:30
  • a835e24af5 checker: warn on unused imported functions used via import math { sin, cos } Swastik 2023-11-02 19:50:18 +05:30
  • d5458b58eb
    ast: return cached_name.clone(), as auto_str_methods free it (#25088) kbkpbot 2025-08-12 15:21:12 +08:00
  • ec29f43a4d
    cgen: fix alias to sumtype cast initialization (fix #25086) (#25091) Felipe Pena 2025-08-12 04:18:56 -03:00
  • d6f3faa678 checker: ignore type compatibility check for ComptimeSelector kbkpbot 2025-08-12 12:30:26 +08:00
  • 1c580d2b48 use cached_name.clone() kbkpbot 2025-08-12 07:58:43 +08:00
  • b9ab9d254f fix Felipe Pena 2025-08-11 20:45:01 -03:00
  • 9391b7c234 vls: improve and simplify autocomplete; remove the scanner hack Alexander Medvednikov 2025-08-12 01:37:32 +03:00
  • bddc4e1eed fix push_many in markused, move test under skip_unused krchi 2025-08-11 22:30:38 +08:00
  • 297b15fc06 add back cached_name field, as it may has some bug with @[minify]? kbkpbot 2025-08-11 21:51:29 +08:00
  • b8c9a3b81f move asm op to math.bits kbkpbot 2025-08-11 19:02:13 +08:00
  • 963e3e8ae2
    builtin: small cleanup and merging of several small files into vlib/builtin/chan_option_result.v (#25089) Delyan Angelov 2025-08-11 13:46:46 +03:00
  • 7576cf3401
    Merge branch 'vlang:master' into math-big-use-60-bit-u64 kbkpbot 2025-08-11 18:41:32 +08:00
  • f619af3598 builtin: small cleanup and merging of several small files into vlib/builtin/chan_option_result.v Delyan Angelov 2025-08-11 13:31:34 +03:00
  • 4ee2c610be remove main. prefix kbkpbot 2025-08-11 16:24:53 +08:00
  • 57e827a832 ast:remove cached_name, as auto_str_methods free it kbkpbot 2025-08-11 16:00:40 +08:00
  • 350747793b
    math.bits: add asm implementations for some 64 bit ops (#25020) weekly.2025.33 kbkpbot 2025-08-11 14:01:49 +08:00
  • 538147563f
    Merge branch 'vlang:master' into fix-comptime-is-type-infix-expr kbkpbot 2025-08-11 07:42:05 +08:00
  • 8905b7d73b tcc fallback to default kbkpbot 2025-08-10 21:55:46 +08:00
  • afbdc9eb7e
    Merge branch 'vlang:master' into opt-math-big-64bit-ops kbkpbot 2025-08-10 20:31:08 +08:00
  • 60108cdd33
    ci: bump retry count for server_test.v to 5 (reduce false positives on windows) Delyan Angelov 2025-08-10 14:06:01 +03:00
  • 15e0802e88
    cgen: fix codegen for option void fn return block unwrap (fix #25074) (#25082) Felipe Pena 2025-08-10 08:03:04 -03:00
  • 36ca628c59
    cgen: fix codegen for passing int from selector to voidptr expect arg (fix #25081) (#25083) Felipe Pena 2025-08-10 08:01:16 -03:00
  • 7b77f2ee5b
    cgen: fix translated file fixed-array assignment (#25080) kbkpbot 2025-08-10 18:31:44 +08:00
  • db9dc6516e fix ptr=fix_array kbkpbot 2025-08-10 11:52:32 +08:00
  • 652881c73b all: vls mode fixes and improvements; v -json-errors flag Alexander Medvednikov 2025-08-10 06:45:59 +03:00
  • 3bcfd2e34d fix fixed-array translated kbkpbot 2025-08-10 11:00:57 +08:00
  • 8b7a8ec4ca fix map copy with memcpy kbkpbot 2025-08-10 07:28:06 +08:00
  • 229487dd63 fix Felipe Pena 2025-08-09 17:04:08 -03:00
  • 3fe4092831 fix Felipe Pena 2025-08-09 16:35:35 -03:00
  • fb9e75c5ed fix Felipe Pena 2025-08-09 15:25:40 -03:00
  • a11de7263f
    decoder2: improve checker with better EOF detection (#25075) Larsimusrex 2025-08-09 15:38:58 +02:00
  • ece45f6024 cgen: fix translated file pointer assignment kbkpbot 2025-08-09 21:25:29 +08:00
  • 9140c9f844
    thirdparty: add thirdparty-linux-armv7_bdwgc.sh for building libgc.a on ARMv7 CPUs (#25077) larpon 2025-08-09 13:43:55 +02:00
  • ccb467dca2 zstd: add buffer length overflow detect kbkpbot 2025-08-09 19:06:42 +08:00
  • 5a4b069052 thirdparty: add thirdparty-linux-armv7_bdwgc.sh for building libgc.a on ARMv7 CPUs lmp 2025-08-09 12:42:42 +02:00
  • 677852fe66 failsafe path, as first time compile with tcc, second time compile with gcc ... kbkpbot 2025-08-09 17:00:07 +08:00
  • 5746da8b45 more accidental renames Larsimusrex 2025-08-09 10:32:37 +02:00
  • ac2c6dbc95 undo accidental string_ renames Larsimusrex 2025-08-09 10:30:50 +02:00
  • 7b6dc40370 improve EOF checks Larsimusrex 2025-08-09 10:14:05 +02:00
  • acbb12f96f
    Merge branch 'vlang:master' into opt-math-big-64bit-ops kbkpbot 2025-08-09 15:55:09 +08:00