17665 Commits

Author SHA1 Message Date
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
Felipe Pena
cb525f07d8
v: complete support for smartcasting to a comptime variable type (#20270) 2023-12-29 21:16:04 +02:00
xjzh123
7b04476683
orm: fix the old attribute syntax in the README's example, to the new @[attr] form (#20305) 2023-12-29 19:00:37 +02:00
Hitalo Souza
7fc31591ad
x.json2: optimise encoding to be faster than cJSON with -prod (#20052) 2023-12-29 18:28:11 +02:00
Delyan Angelov
c4180d4b06
examples: shrink examples/gg/minimal.v even more 2023-12-29 16:46:18 +02:00
Delyan Angelov
0b4a93c1c1
examples: add an even smaller gg usage example, demonstrating how to always show the builtin fps counter, and how to avoid importing gx 2023-12-29 16:31:01 +02:00
shove
08ff84627c
scanner: fix escape character handling in character/rune literals (fix #20301) (#20304) 2023-12-29 14:25:11 +02:00
yuyi
452666fec3
checker: cleanup method_call() (#20303) 2023-12-29 11:45:35 +02:00
Carlos Esquerdo Bernat
db80a002d6
x.json2: make public the generic function map_from/1 (#20294) 2023-12-29 10:45:45 +02:00
shove
fe017afeb0
cgen: fix code generation when 'in array init' is used as an if condition (fix #20300) (#20302) 2023-12-29 09:45:12 +02:00
Delyan Angelov
0df6fcce8c
scanner: fix backslashes followed directly by newline in string literals (fix #20291) (#20296) 2023-12-29 07:21:49 +02:00
Yuyi_Hao
680b0d463a
example: add a path finding algorithm visualizer using gg (#20060) 2023-12-28 23:19:28 +02:00
shove
2dce525d90
checker: fix and cleanup uninitialized checks for array initialisers with len: (fix #20272) (#20279) 2023-12-28 23:07:02 +02:00
yuyi
5b96d8d179
checker: cleanup array and alias of array method call (#20290) 2023-12-28 23:03:56 +02:00
Juan de Bruin
d816f0c2fd
docs: add an example of a nullable ORM field (#20292) 2023-12-28 18:27:59 +02:00
Delyan Angelov
eedf5876b9
scanner: change -d debugscanner to -d trace_scanner for uniformity with the other tracing options, described in CONTRIBUTING.md 2023-12-28 17:58:31 +02:00
Juan de Bruin
02c0f3f1d4
docs: update null convention in ORM example, since @[nonull] is no longer needed (#20286) 2023-12-28 15:36:27 +02:00
shove
3345a17f6b
cgen: fix initialization of const string arrays on msvc (fix #20287) (#20289) 2023-12-28 13:35:35 +02:00
shove
57cc00df22
cgen: fix generating callexpr to string is actually called twice (fix #20282) (#20288) 2023-12-28 12:47:45 +02:00
koplenov
76e1ac3db3
net.http: support -d no_vschannel on windows, to fix long waits, while connecting on some systems (#20265) 2023-12-28 11:49:25 +02:00
Felipe Pena
b944927f09
v: unwrap an option value automatically, inside if o != none { (#20275) 2023-12-27 21:22:44 +02:00
Sudoer
34858c3265
ast, math.complex: add missing docstrings for the methods in types.v (#20281) 2023-12-27 21:18:46 +02:00
Swastik Baranwal
6a04febbf8
math.bits: remove deprecated max32 and max64 const (#20277) 2023-12-27 13:55:55 +02:00
Delyan Angelov
426e471988
sokol: fix JS runtime error about _glBindSampler, for the gg examples, when compiled with -os wasm32_emscripten 2023-12-27 02:04:23 +02:00