16847 Commits

Author SHA1 Message Date
kbkpbot
d7fc66f054
sync: add .try_lock() to mutex/rwmutex, add tests (#20381) 2024-01-05 15:57:04 +02:00
shove
4e5c597569
parser: fixed struct methods and receiver use different generic names than the generic names defined (fix #20365 #20363) (#20397) 2024-01-05 15:55:24 +02:00
shove
e2334d8b62
parser: fix checking for invalid PrefixExpr (fix #20388) (#20392) 2024-01-05 12:22:08 +02:00
shove
582f7be2e1
checker: fix checking got 'none' from or_block of map index (fix #20390) (#20394) 2024-01-05 12:10:23 +02:00
yuyi
bfe2cb7d34
builtin, checker: fix aliases of u8 array clone() call (#20393) 2024-01-05 11:56:19 +02:00
shove
e19b2dd46f
cgen: fix option/result fixed array init and related tests (#20384) 2024-01-05 00:08:33 +02:00
shove
7d29afec39
checker: optimize error messages for must specify the generic type names (fix #20362) (#20382) weekly.2024.01.test2 2024-01-04 12:09:34 +02:00
shove
6e95f41940
checker: optimize error messages for method not exists (fix #20364) (#20380) 2024-01-04 12:09:07 +02:00
Casper Küthe
7c310a1bd7
x.vweb, picoev: fix timeout event (#20377) 2024-01-04 12:05:39 +02:00
shove
870e6189db
cgen: fix returns struct with mut fixed array init (with/without generics) (fix #20361) (#20379) 2024-01-04 11:11:08 +02:00
Delyan Angelov
f6112b3f2a
ci: fix remaining seperator: -> separator: in binary_artifact.yml 2024-01-04 11:01:44 +02:00
Alexander Medvednikov
169d49de9d changelog: 0.4.4 (part 1) weekly.2024.01.test 2024-01-04 01:52:41 +03:00
Delyan Angelov
68ddc95dd4
ci: update used github actions in binary_artifact.yml 2024-01-04 00:35:58 +02:00
shove
16c016f934
cgen: fix code generation when fn returns option/result fixed array (fix #20373) (#20374) 2024-01-04 00:12:27 +02:00
Felipe Pena
7ba8161468
doc: add initial documentation about the supported comptime metadata (#20375) 2024-01-04 00:09:43 +02:00
Felipe Pena
0486c33247
docs: describe $string too (#20372) 2024-01-03 21:39:44 +02:00
shove
00a2356a5e
checker: fix generic method calls with multi generic types (fix #20330) (#20360) 2024-01-03 21:37:53 +02:00
Delyan Angelov
688f89ef93
ci: fix the workflow for Vinix, using the rules in its own .yml file (#20371) 2024-01-03 17:34:27 +02:00
shove
2c824f4cc7
cgen: fix code generation when the function returns mut fixed array (fix #20366) (#20367) weekly.2024.01 2024-01-03 16:20:01 +02:00
Steven
7c9f9f8b8b
checker: rename check_expr_opt_call to check_expr_option_or_result_call (#20359) 2024-01-03 16:17:09 +02:00
Jasper Lievisse Adriaanse
87270e9936
v.util.diff: support OpenBSD's default diff tool (#20369)
Co-authored-by: user <user@vegasbaby.localdomain>
2024-01-03 16:12:38 +02:00
Jasper Lievisse Adriaanse
402ea1ee72
tests: skip native tests on OpenBSD, similar to FreeBSD (#20370) 2024-01-03 16:11:19 +02:00
Delyan Angelov
150ff6044a
builder: remove passing -fno-strict-aliasing, for -prod to gcc/icc (#20368) 2024-01-03 16:09:15 +02:00
Anton
2811fcb76f
v: support -? as alias to -help (implement #20355) (#20358) 2024-01-03 07:15:32 +02:00
Swastik Baranwal
b8b0cfddd5
checker: disallow string to voidptr cast entirely (#20351) 2024-01-03 07:09:56 +02:00
Felipe Pena
317988060a
cgen: fix auto str for arr options with possible circular reference (#20354) 2024-01-03 07:08:23 +02:00
Delyan Angelov
bf7b29a53b
os: improve os.executable() on OpenBSD (#20356) 2024-01-02 22:12:03 +02:00
Felipe Pena
d9689712f8
cgen: fix option initialization with default struct initialization to not be none (#20349) 2024-01-02 19:57:48 +02:00
shove
7a56ebf23b
checker: fix too strict checking with generics in assignment type mismatch (fix #20335) (#20346) 2024-01-02 19:53:12 +02:00
Felipe Pena
075d17d66f
cgen: fix auto unwrapping option fn type (#20332) 2024-01-02 19:43:32 +02:00
Delyan Angelov
8359df0a01
os: small cleanup in the FreeBSD branch of os.executable/0: use fixed array for the sysctl params, instead of allocating a dynamic one (#20353) 2024-01-02 19:39:33 +02:00
Felipe Pena
d5dba2d4c6
cgen: fix dumping for a pointer to a fixed array initialization with prefixexpr & (fix #20344) 2024-01-02 17:40:23 +02:00
Delyan Angelov
1ca808cdc7
ci: retry vlib/x/vweb/sse/sse_test.v 3 times, to avoid false positives for unrelated PRs 2024-01-02 17:36:03 +02:00
Henrik Holst
c0d7c58b1b
tests: fix syntax error in go_array_wait_test.v (#20342) 2024-01-02 10:10:36 +02:00
Felipe Pena
8cef744b0d
cgen: add missing clear method for generic maps (#20340) 2024-01-02 10:07:25 +02:00
Delyan Angelov
6ed864d114
ci: add vsql to v_apps_and_modules_compile_ci.yml too (#20341) 2024-01-02 10:05:49 +02:00
Henrik Holst
7f1092aa96
net: support only ip and ip6 in net.tcp_listener (#20336) 2024-01-02 00:44:28 +02:00
Delyan Angelov
54ff7a2d26
ci: add https://github.com/DarpHome/discord.v/ to v_apps_and_modules_compile_ci.yml (#20337) 2024-01-01 23:58:58 +02:00
Delyan Angelov
ae82b67ef5
v.pref: support a -n option, silencing only notices (#20331) 2024-01-01 23:30:21 +02:00
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
André ldev
363d4e1f5a
db.pg: fix compilation error with the msvc compiler on windows, and add readme (#20326) 2024-01-01 23:22:15 +02:00
Jasper Lievisse Adriaanse
f53031feda
sokol: fix compiling gg and other graphical examples on OpenBSD (#20333) 2024-01-01 23:19:55 +02:00
Felipe Pena
e5cf33616b
v: improve comptime var checking with is operator and smartcasting (#20315) 2024-01-01 15:28:32 +02:00
Anton
18954afa73
cgen: escape table names (fix #20313) (#20322) 2024-01-01 15:23:25 +02:00
Delyan Angelov
d8fa13481c
net.html: fix notices with latest V, when compiling code with import net.html 2024-01-01 14:41:33 +02:00
Hitalo Souza
cb28144eea
json2: strict module (#17927) 2024-01-01 13:56:19 +02:00
shove
41d38d735a
checker: fix type mismatch checking for assignments with generics (fix #20298) (#20327) 2024-01-01 13:31:15 +02:00
Swastik Baranwal
b1f64a32e3
checker: give an error for .free() method calls, when used on fixed arrays (#20320) 2024-01-01 13:27:12 +02:00
Hitalo Souza
abb0cf774f
x.json2: support sumtype encoding in a more robust way (#20093) 2024-01-01 13:24:32 +02:00
Kim Shrier
110e9f1ef5
crypto: add blake3 hash (#20319) 2024-01-01 13:17:11 +02:00