16881 Commits

Author SHA1 Message Date
Alexander Medvednikov
ac2dcc2bc0 V 0.4.4 0.4.4 2024-01-09 16:54:06 +03:00
Felipe Pena
ee745113bd
vfmt: fix fmt for map value type using select import symbol (fix #20449) (#20451) 2024-01-09 15:24:34 +02:00
yuyi
ee95e23ab6
ast: add Type.clear_option_and_result() and cleanup all the related calls (#20443) 2024-01-09 11:46:47 +02:00
shove
3635772431
checker: fix checking when converting 'voidptr/nil' to struct aliases (fix #20429) (#20444) 2024-01-09 11:44:38 +02:00
shove
14f3c950be
cgen: fix escape of non-ascii characters in string interpolation (fix #20432) (#20437) 2024-01-09 02:07:42 +02:00
Delyan Angelov
89f06d35fd
Revert "tools: update the style.css for fast.vlang.io pages, so that the rownumber counter is reversed" (Chrome does not support counting in reverse)
This reverts commit 2765ca45b8f367d69511d5a5aa2e6d49b1912047.
2024-01-08 20:58:54 +02:00
Delyan Angelov
2765ca45b8
tools: update the style.css for fast.vlang.io pages, so that the rownumber counter is reversed 2024-01-08 19:43:57 +02:00
Delyan Angelov
f2dee664ba
tools: extract all the common styles for fast.vlang.io pages into a separete style.css 2024-01-08 19:33:20 +02:00
Delyan Angelov
33d7843027
tools: add a visual row counter for the <tr> elements in cmd/tools/fast 2024-01-08 19:20:10 +02:00
Delyan Angelov
252540a1ea
os: add os.path_devnull (containing /dev/null on POSIX and \\.\nul on Windows) (#20439) 2024-01-08 18:00:36 +02:00
yuyi
34da4c97ea
ast: add has_option_or_result() and cleanup all the related calls (#20434) 2024-01-08 17:59:58 +02:00
zeozeozeo
8af961faf6
strings: use faster levenshtein distance algorithm (#20435) 2024-01-08 12:41:57 +02:00
yuyi
c7b8da7ffe
checker: fix lambda expr with result (#20433) 2024-01-08 12:41:11 +02:00
Alexander Medvednikov
5cd4933280 changelog: 0.4.4 (part 2) 2024-01-08 13:34:03 +03:00
Delyan Angelov
5b9d0f241a
strings: improve the performance of levenshtein_distance/2 (use early returns for the easy cases, idiomatic array initalisation, and @[direct_array_access]) 2024-01-08 05:00:04 +02:00
Delyan Angelov
51e19dd54e
examples: fix gg: 0 notice for bounce.v 2024-01-08 04:30:16 +02:00
Delyan Angelov
73a08c7d74
builtin: fix the document comments of levenshtein_distance, levenshtein_distance_percentage, dice_coefficient 2024-01-08 04:23:21 +02:00
Felipe Pena
65098b27ec
cgen: fix auto eq method for option fields (fix #20314) (#20424) 2024-01-08 04:05:46 +02:00
Felipe Pena
d78adb09e4
checker: fix return option mismatch checking (fix #20418) (#20423) 2024-01-08 04:00:18 +02:00
Felipe Pena
ab9aea2282
cgen: fix wrong heap promoted arg detection (#20421) 2024-01-08 03:58:09 +02:00
ylluminate
1c11f13f28
readme: change v-analyzer/v-analyzer → vlang/v-analyzer in README.md (#20431) 2024-01-08 03:49:19 +02:00
blackshirt
66d222cc72
x.crypto: add x.crypto.chacha20 stream cipher module (#20417) 2024-01-07 15:21:23 +02:00
shove
46a467fe3b
checker: a minor cleanup (#20425) 2024-01-07 14:56:13 +02:00
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