Commit graph

19473 commits

Author SHA1 Message Date
larpon
05cbbfbabc
x.ttf: add missing doc strings to the module's public symbols (#23205) 2024-12-19 14:32:41 +02:00
Delyan Angelov
570f84933c v.builder: move filtering logic for -parallel-cc to parallel_cc.v 2024-12-19 14:23:24 +02:00
yuyi
5573667552
cgen: fix all the cases of struct field init with optional fixed array, add more tests (#23204) 2024-12-19 14:20:47 +02:00
Delyan Angelov
47fcfe2b56 v.builder: prevent passing -x objective-c with -parallel-cc for now 2024-12-19 13:44:51 +02:00
Alexander Medvednikov
394f3b1aae ci: change exec name for parallel cc 2024-12-19 12:32:52 +03:00
Delyan Angelov
bc90058b9e
ci: use v retry -- v setup-freetype to make the CI more robust against random network failures 2024-12-18 21:16:25 +02:00
Delyan Angelov
78ed1f703a
strings: use int instead of u16 in strings.levenshtein_distance; it is ~ same performance, but has less constraints 2024-12-18 21:06:54 +02:00
yuyi
e8ee207434
cgen: fix struct field init with optional fixed array (fix #23193, fix #23195) (#23199) 2024-12-18 17:27:43 +02:00
Felipe Pena
41bb90c40d
json: fix memleak on sumtype decoding (#23197) 2024-12-18 15:45:33 +02:00
Felipe Pena
afc07f4675
cgen,checker: minor optimizations (#23191) 2024-12-18 00:49:07 +02:00
Delyan Angelov
9acf058a7f
ci: make the CI more robust, by retrying commands and v download instead of wget (#23196) 2024-12-17 20:03:54 +02:00
Delyan Angelov
1763dc45a8
v.builder: integrate more compile/linker options into parallel_cc.v (#23190) 2024-12-17 19:39:23 +02:00
Delyan Angelov
8835b6f2db
hash,compress.gzip: speedup .gz decompression with tcc, for VTL's mnist_test.v and imdb_test.v (without -prod) 2024-12-17 17:50:36 +02:00
Felipe Pena
00148d11fc
checker: add a notice for global variable redeclarations (#23162) 2024-12-17 16:34:44 +02:00
kbkpbot
a1de8dbd10
vlib: add new rand.cuid2 module (#23181) 2024-12-17 16:32:24 +02:00
larpon
87e017e618
vcomplete: sync all flags from pref.v to auto_complete_flags (#23189) 2024-12-17 14:43:35 +02:00
yuyi
9a6e335601
cgen: fix assign optional aliases of fixed array (fix #23185) (#23188) 2024-12-17 14:39:27 +02:00
Felipe Pena
719fa4dc13
cgen, checker: fix option unwrapping and call from option struct field (#23182) 2024-12-17 12:38:44 +02:00
Alexander Medvednikov
597d4e2239 cbuilder: store split up C files in vtmp 2024-12-17 13:07:00 +03:00
Alexander Medvednikov
a8484387cb cbuilder: remove flto with parallel-cc, it slowed down linking 10x 2024-12-17 12:58:07 +03:00
Felipe Pena
eb74422773
cgen: cleanup g.write_fn_ptr_decl (#23186) 2024-12-17 11:33:09 +02:00
Delyan Angelov
d5e50c2f20
ci: fix option_fn_voidptr_test.v after a200c45 2024-12-17 09:06:53 +02:00
JalonSolov
70edd21c80
ci: remove extra EOL from linux_ci.yml (#23187) 2024-12-17 03:26:05 +03:00
Alexander Medvednikov
b3d2a3faaf ci: linux_ci.vsh; cgen: parallel-cc fixes 2024-12-17 02:31:25 +03:00
Felipe Pena
a200c4540a
checker,cgen: fix missing validation for selector unwrapping + fix default return none for unwrapping (#23183) 2024-12-16 23:17:32 +02:00
Felipe Pena
75ff2e0c86
cgen: fix option fn with voidptr arg (fix #23170 for !=tcc too) (#23179) 2024-12-16 22:59:59 +02:00
Delyan Angelov
1fae506900
docs: add a section for static variables (#23184) 2024-12-16 19:48:43 +02:00
kbkpbot
03f3f7a9ff
net.urllib: fix parse of url relative address (fix #21061) (#23180) 2024-12-16 16:59:58 +02:00
Felipe Pena
b1502d4ff1
parser,checker,cgen,fmt: fix array fixed option initialization (none) (complete #23164) (#23176) 2024-12-16 16:54:46 +02:00
Delyan Angelov
75928d18e0
v.builder: cleanup output of -parallel-cc, allow for setting the optimisation options through CFLAGS_OPT, fix for one core systems (the FreeBSD vps) 2024-12-16 09:07:58 +02:00
yuyi
1ff9f04506
all: check error of generic symbol and cleanup generic symbol (fix #23072) (#23178) 2024-12-16 08:26:52 +02:00
Felipe Pena
b01f482da7
cgen: fix selector call with reserved c name (fix #23170) (#23175) 2024-12-15 23:25:57 +02:00
Felipe Pena
066f825dea
cgen: fix fixed array option cast with none (fix #23164) (#23168) 2024-12-15 22:44:56 +02:00
Felipe Pena
ca1e23abdd
cgen: fix auto eq for fixed array (fix #23149) (#23169) 2024-12-15 21:08:53 +02:00
Swastik Baranwal
90cef28dfa
checker: allow []Enum{len: 10, init: .thing} (fix #23077) (#23165) 2024-12-15 21:07:59 +02:00
Felipe Pena
ad269929c1
markused: fix short program printing option (fix #23163) (#23167) 2024-12-15 16:46:10 +02:00
Felipe Pena
fc8cd58782
json: fix memory leak on result messages (checked with json_option_raw_test.v, compiled with -fsanitize=address,pointer-compare,pointer-subtract) (#23172) 2024-12-15 16:43:43 +02:00
Delyan Angelov
c9542a2553
examples: cleanup examples/term.ui/event_viewer.v 2024-12-15 15:09:56 +02:00
Delyan Angelov
3d5f81b0e6
Revert "cgen: fix assert for alias to fixed array (fix #23149) (#23161)"
This reverts commit 9e71e324eb , because of failing CI.
2024-12-15 10:05:49 +02:00
Felipe Pena
9e71e324eb
cgen: fix assert for alias to fixed array (fix #23149) (#23161) 2024-12-14 18:52:40 +02:00
Felipe Pena
881fabf0d0
cgen: fix codegen for array append on indexexpr (fix #23156) (#23160) 2024-12-14 18:40:10 +02:00
Felipe Pena
b39cad2f24
comptime: fix missing bool AttributeKind.kind (#23159) 2024-12-14 18:19:29 +02:00
Felipe Pena
78389c8a45
cgen: -parallel-cc cleanup (#23158) 2024-12-14 18:17:16 +02:00
Felipe Pena
4784685769
parser: allow type and other keywords as plain attr value (fix #23150) (#23154) 2024-12-14 13:05:52 +02:00
Felipe Pena
bf9bb5c0ec
fmt: fix shared receiver formatting (fix #23151) (#23153) 2024-12-14 13:02:46 +02:00
Felipe Pena
82a947bffa
markused: fix codegen for a .v program, that does just import json as _ (#23155) 2024-12-14 10:47:42 +02:00
Felipe Pena
d7850111a1
cgen: cleanup unneeded marker comments (#23152) 2024-12-14 09:05:45 +02:00
kbkpbot
c941c3d444
v.scanner: fix string interpolation for float e format (fix #22429) (#23147) 2024-12-13 21:59:34 +02:00
Delyan Angelov
f048bb373b
ci: fix for -cc tcc -no-retry-compilation, do not use more complex constants, but functions in vlib/math/vec/vec2_test.v 2024-12-13 19:50:55 +02:00
Felipe Pena
899c98505d
parallel-cc: make it work on gcc, clang and tcc, restore static on non-parallel builds + cleanups (#23148) 2024-12-13 19:14:07 +02:00