19314 Commits

Author SHA1 Message Date
Felipe Pena
496451ecbb
cgen: fix nested option selector unwrapping (fix #23500) (#23497) 2025-01-17 20:14:51 +02:00
Felipe Pena
c98295b294
markused: fix eprintln(err) on imported module on short program (related: #23498) (#23499) 2025-01-17 20:10:59 +02:00
Felipe Pena
3b0cfbfd0f
cgen: fix codegen for indexing anon_fn (fix #23493) (#23495) 2025-01-17 15:31:39 +02:00
Delyan Angelov
d5aa37d8b7
picoev: fix for windows apps with veb in a thread, parallel to a webview, that opens a lot of file descriptors (#23492) 2025-01-17 01:03:49 +02:00
Felipe Pena
d23e70f546
cgen: fix option unwrapping on heap var (#23489) 2025-01-16 23:04:57 +02:00
Felipe Pena
f9106a86fb
cgen: fix option var nested unwrapping from sumtype (fix #23478) (#23485) 2025-01-16 17:19:05 +02:00
Delyan Angelov
12d8f173a4
builtin: reduce a bit the generated #if defined checks for small programs (#23484) 2025-01-16 17:16:09 +02:00
Emma
6b92f8fada
all: remove ancient deprecations (#23479) 2025-01-16 16:36:12 +02:00
Delyan Angelov
40b574b409
tools,v.doc: move vlib/v/doc/ to cmd/tools/vdoc/doc/ to reduce the runtime of the CI runs, when v doc is changed (#23483) 2025-01-16 14:40:28 +02:00
Felipe Pena
c6809844bd
checker: fix checker generic alias type (fix #23474) (#23475) 2025-01-16 13:49:35 +02:00
Delyan Angelov
e5153e7be7
tools,v.doc: let https://modules.vlang.io use vlib/README.md as the index page. (#23480) 2025-01-16 03:15:16 +02:00
Thomas Peißl
d680c4227b
net.smtp: make public the Attachment fields (to be used as plain structs in initialisation) (#23477) 2025-01-15 20:24:36 +02:00
Felipe Pena
db8d2510a2
cgen: fix array decomposing on variadic call (found while working on solving #23474) (#23476) 2025-01-15 19:32:03 +02:00
Felipe Pena
128195741e
cgen: fix cgen error for instance.t.wait() on default 0 initialized thread field t (fix #23390) #23392 2025-01-15 18:26:15 +02:00
kbkpbot
6284c27ab6
builtin,checker: remove @[markused] from fn isnil(), set c.table.used_features.auto_str_ptr = true instead (#23464) 2025-01-15 09:16:33 +02:00
syrmel
b1d2593c1b
examples: add a solution to the "1 Billion Row Challenge" (#23458) 2025-01-15 09:09:11 +02:00
Felipe Pena
e0303b2221
ci: add compile_herolib.sh, use it to make sure it keeps working (related #23467) (#23469) 2025-01-15 09:06:53 +02:00
Felipe Pena
f83ea1bbaa
type_resolver: fix generic selector field type resolving (continuation of #23456) (#23473) 2025-01-15 09:02:46 +02:00
Delyan Angelov
a949f53bc7
pref: stop parsing CLI options, on encountering -- (#23470) 2025-01-15 01:21:26 +02:00
Swastik Baranwal
9ea3ea38e1
checker: check if unwrapped m[key] if m is Option (fix #23446) (#23459) 2025-01-14 23:42:00 +02:00
Felipe Pena
6ab25623e3
type_resolver: fix fn detection for comptime arg type (fix #23454) (#23456) 2025-01-14 23:05:13 +02:00
Felipe Pena
9ba294bc73
cgen: fix compilation for a project using a lot of json, threads, embeds + parallel-cc (#23467) 2025-01-14 23:58:23 +03:00
Mike Ward
dacdafbd3e
examples: add vascii.v showing a table of the first 128 ASCII characters with their names and codes in dec, oct, hex, bin formats (#23466) 2025-01-14 21:38:52 +02:00
yuyi
514a9a7906
cgen: fix assigning option of array index (fix #23451) (#23455) 2025-01-14 19:49:58 +02:00
Felipe Pena
8f0242e6af
v: allow shared anon struct + fix shared struct field initialization with no default value (#23448) 2025-01-14 06:33:07 +02:00
kbkpbot
ae8109545e
builtin: add a @[markused] tag to isnil(), because cgen generates calls to it in some cases (#23462) 2025-01-14 06:23:31 +02:00
Alexander Medvednikov
6f7cbd1aef net.ftp: use unsafe { nil } 2025-01-14 02:01:07 +03:00
Alexander Medvednikov
78f34e6c89 checker: vfmt fn.v 2025-01-14 01:25:20 +03:00
Alexander Medvednikov
a20fff99e0 tests: fix auto ref voidptr test 2025-01-13 19:24:41 +03:00
Alexander Medvednikov
6b3724df3a checker: do not allow auto reference of voidptr params 2025-01-13 19:01:43 +03:00
Delyan Angelov
3523c44f42
tools: make cmd/tools/vretry_test.v independent from the presence of git (fix issue #23398) 2025-01-13 08:10:13 +02:00
Delyan Angelov
89d405ec52
ci: force the checking of changed vlib/crypto/ecdsa files with the sanitizer jobs 2025-01-13 05:21:41 +02:00
Felipe Pena
9d1b855129
crypto.ecdsa: fix memleaks, reported by the CI sanitizer jobs (#23450) 2025-01-13 05:01:33 +02:00
Louis Brauer
d2b30df19c
db.pg: add support for prepared statement, with db.prepare/3 and db.exec_prepared/2 (#23442) 2025-01-12 13:08:17 +02:00
Kim Shrier
1832bc8e04
dl.loader: fix minor typo in README.md (#23443) 2025-01-12 12:24:31 +02:00
Felipe Pena
5cd258421f
cgen: fix codegen for ifguard indexing array of option (fix #23438) (#23439) 2025-01-12 12:23:14 +02:00
blackshirt
68c2da2560
crypto.ecdsa: expand ecdsa module, to support other curves like secp384r1, secp521r1, secp256k1 (#23407) 2025-01-12 12:19:05 +02:00
Felipe Pena
81b421bb5b
markused: fix -skip-unused on a short program, that prints array (fix #23436) (#23437) 2025-01-11 19:37:19 +02:00
Felipe Pena
62de56ff99
checker: cleanup and optimise fn_call (#23433) 2025-01-11 19:35:18 +02:00
Daniel Daudysh
ff0d0ff74a
v.help: add a message for v help crun (#23431) 2025-01-11 19:32:57 +02:00
Felipe Pena
9cd1bce6a4
cgen: fix array of sumtype initialization with var string (fix #23429) (#23432) 2025-01-11 19:30:57 +02:00
Felipe Pena
7aca8b69da
checker: fix missing detection for return in lockexpr stmts (fix #23434) (#23435) 2025-01-11 19:27:25 +02:00
Felipe Pena
1c2f1a3504
checker: fix call with mut arg with different pointer levels (fix #23157) (#23428) 2025-01-11 19:25:49 +02:00
Felipe Pena
bed28d1e8b
cgen: fix shared array slice (fix #23426) (#23427) 2025-01-11 11:44:33 +02:00
Louis Brauer
c92a21f8a5
veb: add ctx.no_content() + prevent content-type being set if the mime type is empty (#23425) 2025-01-11 11:39:50 +02:00
Felipe Pena
36154b8631
cgen: fix struct init for anon struct field on C structs (fix #23421) (#23422) 2025-01-10 14:15:15 +02:00
Swastik Baranwal
3b31699a0d
checker: disallow &((&a)) and similar expressions, with innermost ast.PrefixExpr (enhance #23418) (#23419) 2025-01-10 11:22:16 +02:00
Felipe Pena
ba9d358d5f
checker: fix missing check for invalid prefixexpr expression &(&var) (fix #23365) (#23418) 2025-01-09 18:15:05 +02:00
Felipe Pena
cc7caf4384
cgen: minor optimization removing repeated code (#23417) 2025-01-09 17:59:29 +02:00
Felipe Pena
6348e581de
cgen: fix codegen for array fixed comparison on MatchExpr (fix #23403) (#23415) 2025-01-09 10:40:10 +02:00