19177 Commits

Author SHA1 Message Date
Felipe Pena
b51dfcfe7d
checker: fix missing check for concrete type on match branch expr (fix #23506) (#23508) 2025-01-19 16:33:57 +02:00
Kim Shrier
fda0af482f
doc: fix minor grammar error in attributes description (#23513) weekly.2025.03 2025-01-19 13:17:07 +02:00
Kim Shrier
b9a44ee0cf
regex: fix misspelled word "firts" in replace_n description (#23514) 2025-01-19 13:15:06 +02:00
Delyan Angelov
c94e1e05f6
ci: fix failure of the docker-ubuntu-musl job (keep vlib/vweb/vweb_app_test.v in the skip_files) 2025-01-19 13:01:06 +02:00
Delyan Angelov
c432ed1216
ci: fix failure of the check-markdown job 2025-01-19 12:58:06 +02:00
Alexander Medvednikov
a93d94aadd checker: remove vweb deprecation for now 2025-01-19 07:18:27 +03:00
Alexander Medvednikov
e5f70278ea x.vweb: remove the entire module (it's now veb) 2025-01-19 05:43:03 +03:00
Kim Shrier
504ec54be1
flag: fix minor typo (#23512) 2025-01-19 00:59:44 +03:00
blackshirt
c2b7dbf9b4
crypto.ecdsa: improve safety checking, unify signing (and verifying) api to accept options (#23463) 2025-01-18 20:07:19 +02:00
Felipe Pena
3c4878063e
checker: fix missing check for a := [none] (fix #23457) (#23504) 2025-01-18 15:53:59 +02:00
Delyan Angelov
e202641268
ci: fix toml-module-pass-external-test-suites after the CI image runner upgraded jq to version 1.7, by downloading and using the release version of jq-1.6 2025-01-18 15:22:29 +02:00
Felipe Pena
5dd28cf941
markused: fix markused auto str detection (fix #23501) (#23503) 2025-01-18 10:29:52 +02:00
Felipe Pena
1b9f15d60d
checker: cleanup used_features logic (#23502) 2025-01-18 01:14:18 +02:00
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