18824 Commits

Author SHA1 Message Date
Felipe Pena
ae4a9047c1
v: missing -skip-unused fixes (#22978) 2024-11-28 01:03:03 +02:00
Felipe Pena
066384ce8c
checker: allow array sort with callexpr (#22989) 2024-11-27 22:03:14 +03:00
Felipe Pena
273adcc35c
cgen: patch missing gettid() on glibc < 2.30 (#22987) 2024-11-27 16:42:30 +02:00
Delyan Angelov
8703dc1684
v.util, v.builder, v.cgen: add thread timing stats too, on -show-timings -stats (#22990) 2024-11-27 16:40:31 +02:00
Delyan Angelov
2c3ad8ddf6 tools: make oldv aware of when to pass -no-parallel when bootstrapping V from v.c (fix #22990, part 2) 2024-11-27 16:36:24 +02:00
Delyan Angelov
b67b8bfcc8
runtime: force runtime.nr_jobs() to return 1, while V is bootstrapping itself, from vc/ source, that was compiled with -os cross (fix #22991) 2024-11-27 16:20:14 +02:00
Leo Developer
aeaf607259
log: tag log.fatal with @[noreturn] (#22986) 2024-11-27 16:29:13 +03:00
Delyan Angelov
844d89fd09
parser,checker,ast: support @[must_use] tag for fns/methods, and an experimental -check-result option (#22983) 2024-11-27 07:11:40 +02:00
Delyan Angelov
4897d7860e
checker: prevent a compiler panic, while running v -check file.v on files with parser errors (fix #22981) (#22982) 2024-11-27 03:00:21 +02:00
Delyan Angelov
8bc94dd41f
ci: extract the VTL&VSL jobs from v_apps_and_modules_compile_ci.yml to vsl_and_vtl_compile_ci.yml 2024-11-27 02:21:17 +02:00
Delyan Angelov
03540b7462
v: reduce usage of mathutil 2024-11-27 00:56:17 +02:00
Alexander Medvednikov
5f1d7898db markused: @[markused] fix 2024-11-26 19:37:34 +03:00
Alexander Medvednikov
7b8089b392 markused: fix veb actions 2024-11-26 12:55:16 +03:00
Swastik Baranwal
f2387ab16e
cgen: allow unwrapping of foo.bar as string, where foo.bar is ?string (fix #22960) (#22973) 2024-11-26 10:50:08 +02:00
Felipe Pena
0e0408f9b2
v: fix -skip-unused feature for some tests (#22976) 2024-11-26 09:25:48 +02:00
Delyan Angelov
e61475e0be
v.pkgconfig: add /data/data/com.termux/files/usr/lib/pkgconfig to the list of locations to search for .pc files weekly.2024.48 2024-11-25 22:26:08 +02:00
Alexander Medvednikov
c03b4f68fc markused: make work with json 2024-11-25 22:36:31 +03:00
Delyan Angelov
95e5ba44ae
docs: add a small sumtype match example in the Match section too 2024-11-25 21:11:21 +02:00
Felipe Pena
19318110d9
cgen: reduce code for returning and extra whitespaces on return (#22967) 2024-11-25 18:25:26 +02:00
Delyan Angelov
b801083f13
Revert "os: deprecate os.getwd in favor of os.get_current_dir (part 1) (#22966)"
This reverts commit 93009823f992176166bf5e5d90c9627adb46bdc0.
2024-11-25 15:10:15 +02:00
Elsie
93009823f9
os: deprecate os.getwd in favor of os.get_current_dir (part 1) (#22966) 2024-11-25 12:17:33 +02:00
blackshirt
94905820e6
x.encoding.asn1: cleanup code, improve performance (#22968) 2024-11-25 11:08:54 +02:00
Felipe Pena
904bccb564
cgen: fix codegen for option on concatexpr (fix #22951) (#22964) 2024-11-25 02:18:15 +02:00
Felipe Pena
335357239a
cgen: fix codegen for result/option propagation out of fn context (fix #22961) (#22963) 2024-11-25 01:15:04 +02:00
Swastik Baranwal
5cd84d4565
cgen: allow unwrapping of x as string expr, when x is a ?string value (#22953) 2024-11-25 01:02:04 +02:00
Felipe Pena
7612650566
v: inline some fns (#22965) 2024-11-25 00:36:05 +02:00
Felipe Pena
18d514f429
cgen: cleanup label comments in the generated C code (#22962) 2024-11-25 00:29:59 +02:00
Felipe Pena
e86b526947
checker: fix mut var option unwrap with != none, support if mut x != none { too (fix #22936) (#22943) 2024-11-24 14:58:07 +02:00
Hedgegod
cbfe1b8862
gg: use a larger fontstash text atlas by default (2048x2048, and customizable), instead of 512x512 (fix #21610) (#22959) 2024-11-24 14:35:34 +02:00
Felipe Pena
c1df71abcc
checker, cgen: fix if define comptime checking (fix #22906) (#22946) 2024-11-24 13:32:28 +02:00
Elsie
1345eac570
vet: make v vet produce a nicer note, including the offending files, instead of file.v (#22957) 2024-11-24 12:21:16 +02:00
Felipe Pena
e4d24e8987
cgen: fix enum value string interpolation, like its declared enum underlying type (fix #22938) (#22945) 2024-11-23 21:39:41 +02:00
Felipe Pena
f8fb57d1aa
checker: fix or-expr check on invalid method call (fix #22949) (#22950) 2024-11-23 21:35:44 +02:00
blackshirt
2f53e2d219
x.encoding.asn1: improve performance (#22948) 2024-11-23 19:00:46 +02:00
Vithorio Polten
f89cffad53
net.http: send Host headers with port (when the port is != 80 or 443) (fix #22941) (#22942) 2024-11-23 18:51:28 +02:00
Felipe Pena
393e4ea8b2
docs: update section about Enum using reserved keywords (#22944) 2024-11-23 14:17:45 +02:00
Delyan Angelov
660f73395e
docs: change "See also" link in the println section to point to the String interpolation section 2024-11-23 14:03:13 +02:00
Delyan Angelov
1449689f2b v.builder: fix ./v -check -stats examples/hello_world.v 2024-11-23 07:46:54 +02:00
yuyi
7d5e513c69
cgen: fix dump fixed array on array append (fix #22935) (#22940) 2024-11-22 13:06:52 +02:00
Hitalo Souza
05377f3c03
examples: add a cpu_features/ folder, with several examples, using SSE and MMX assembly instructions (#22645) 2024-11-22 01:20:51 +02:00
Delyan Angelov
27b728b600
checker,cgen: move the msvc compiler does not support inline assembly to cgen (so it will only get triggered, when ASM blocks are still present, in what is passed to cgen) 2024-11-21 22:24:02 +02:00
Delyan Angelov
81129d197b
math.big: use @[manualfree] to workaround -autofree compilation issues with gitly, and other projects using crypto.rand and math.big 2024-11-21 22:06:49 +02:00
blackshirt
58fc4dead5
x.encoding.asn1: clean up the source code of the module after the recent compiler changes and bugfixes (#22932) 2024-11-21 13:05:00 +02:00
yuyi
17f962dbed
cgen: fix aliased fixed array option fn call (fix #22927) (#22934) 2024-11-21 12:52:05 +02:00
Isaiah
e384e74142
cgen: fix option unwrap for fields of interface type (fixes #22930) (#22931) 2024-11-21 12:44:56 +02:00
Martin Skou
c2d96c33b3
veb: fix large file transfer timeout (fix #22489) (#22924) 2024-11-21 08:53:19 +02:00
yuyi
9490115c9a
cgen: fix aliases of fixed array append to array (fix #22926) (#22929) 2024-11-21 08:51:45 +02:00
yuyi
19ea71b35a
cgen: fix aliases of fixed array infix expression (fix #22925) (#22928) 2024-11-21 08:50:01 +02:00
Ekopalypse
ca6727303d
os: use _wputenv instead of _putenv to stay in sync with _wgetenv (fix changing env variables with non ASCII content on windows) (#22920) 2024-11-21 01:33:02 +02:00
Delyan Angelov
b995e64be9
thirdparty: enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD on FreeBSD too 2024-11-21 01:31:00 +02:00