16958 Commits

Author SHA1 Message Date
Juan de Bruin
d3e62b4f24
vweb: update docstrings for response functions (#20422) 2024-01-07 05:13:18 +02:00
Felipe Pena
6af0b16023
cgen: fix comptime ref_or_deref_arg for ComptimeSelector (#20406) 2024-01-07 05:11:15 +02:00
Sanath Kumar U
f0456c106d
docs: add a Warnings and declaration errors section in docs.md (#20416) 2024-01-07 05:09:39 +02:00
shove
2d97f16a3d
checker: fix option mismatch checking on array initializations (fix #20409) (#20415) 2024-01-06 22:31:47 +02:00
Felipe Pena
1303c244e2
orm.pg: fix f32 and f64 endianness (#20412) 2024-01-06 22:27:10 +02:00
shove
3d8425dafd
checker: fix checking of expression as mut receiver, when calling methods of arrays/maps (#20410) 2024-01-06 22:25:19 +02:00
Felipe Pena
a321ef694b
cgen: fix assert expr handling + print with comptime smartcast (#20399) 2024-01-06 18:24:53 +02:00
Swastik Baranwal
b35988daf5
checker: disallow Result type being used in struct init fields (#20404) 2024-01-06 18:24:05 +02:00
Swastik Baranwal
328abb5ba8
checker: enhance for range loop check and add better positioning (#20386) 2024-01-06 18:23:24 +02:00
Kim Shrier
a639ca09a7
doc: fix typo in embedded structs description (#20407) 2024-01-06 18:21:48 +02:00
shove
10d738c773
cgen: fix brackets are asymmetric in chained method calls (fix #20395) (#20401) 2024-01-05 18:03:14 +02:00
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