17038 Commits

Author SHA1 Message Date
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
Elliot Chance
b3eae7831e
orm: fix the generated SQL for the "not equal" operator (#20321) 2024-01-01 13:11:23 +02:00
Hitalo Souza
e333d548f3
x.json2: improve performance for checking option values for none (#20325) 2024-01-01 13:10:19 +02:00
shove
cc250baf3c
cgen: fix missing line breaks in generated code with closure IIFE, when compiled with '-g' (fix #20306) (#20316) 2023-12-31 07:04:41 +02:00
Delyan Angelov
969402461f
markused: add -skip-unused for programs that import x.vweb too (do not skip unused routing methods) 2023-12-30 23:33:28 +02:00
Delyan Angelov
923b410d4d
x.vweb: fix $vweb.html() integration in cgen for the newer x.vweb module (fix #20204) 2023-12-30 23:05:07 +02:00
Casper Küthe
fa81188887
x.vweb.assets: reimplement assets module for x.vweb (#20280) 2023-12-30 22:10:10 +02:00
Tim Marston
053d2becdb
pref: disable the -macosx_version_min clang flag by default (#20297) 2023-12-30 13:11:27 +02:00
Tim Marston
69ff7ff9e1
cleanup: remove .ctags.d/v.ctags file (ctags 6.1 now supports V natively with a proper parser, thanks to Tim Marston) (#20299) 2023-12-30 11:09:20 +02:00
Delyan Angelov
4690fecdf1
checker: remove a println call 2023-12-29 21:41:04 +02:00