17988 Commits

Author SHA1 Message Date
larpon
78b77b9f14
comptime: support -d ident=value and var := $d('ident', 0) (#21685) 2024-06-19 07:24:16 +03:00
Skylear
aaa23bb058
orm: update readme with more specifics (#21697) 2024-06-19 06:53:21 +03:00
Leo Developer
72a3fd6f02
veb.auth: use constant time comparision in compare_password_with_hash (#21693) 2024-06-18 23:21:20 +03:00
yuyi
0498ed1032
checker: fix match expr with auto promote number (#21696) 2024-06-18 23:05:22 +03:00
yuyi
5ebe7d1d9a
checker: minor cleanup in expr() (#21695) 2024-06-18 23:01:38 +03:00
yuyi
de5ad8b118
cgen: fix dumping array of reference (#21694) 2024-06-18 13:06:20 +03:00
Delyan Angelov
488fd4f076
.gitignore: ignore vprod, vprod_gcc, vprod_clang, vprod_msvc executables 2024-06-18 10:09:43 +03:00
Turiiya
895bb87a32
builtin: improve performance of string.camel_to_snake (#21691) 2024-06-18 09:16:10 +03:00
Delyan Angelov
fb32951abd
tools: make the summary output of v repeat more informative 2024-06-18 08:47:09 +03:00
Delyan Angelov
041f2b3d3a
tools: fix measurements for ./v repeat "./vold -o x project/" "./vnew -o x project/" 2024-06-18 07:45:42 +03:00
poggingfish
1a685c30aa
vweb, veb, x.vweb: add m3u8 MIME type application/vnd.apple.mpegurl for multimedia playlists (#21688) 2024-06-16 22:21:43 +03:00
Swastik Baranwal
bebe943cc2
all: support &&= and ||= for bool alias types as well (#21684) 2024-06-16 03:58:25 +03:00
kbkpbot
df1e4f1246
builtin: add string.camel_to_snake/0 and string.snake_to_camel/0 methods (#21679) 2024-06-15 21:02:44 +03:00
Felipe Pena
3ad77b2551
cgen: fix comptime generic arg resolution (allow several different struct fields in generic functions using comptime) (fix #18110) (#21682) 2024-06-15 20:14:06 +03:00
Felipe Pena
8f7741dcdd
cgen: fix spawn code generated when calling conditional function (fix #19352) (#21681) 2024-06-15 18:42:01 +03:00
Delyan Angelov
63353ba36a
cgen: generate pragmas for gcc-14, to make it more relaxed by default. Support -no-relaxed-gcc14 for turning them off. (#21680) 2024-06-15 18:28:31 +03:00
Swastik Baranwal
add1621181
all: implement &&= and ||= (#21678) 2024-06-14 23:46:25 +03:00
Swastik Baranwal
2de0b36a6e
parser: disallow duplicate operator overload (#21675) 2024-06-14 00:55:55 +03:00
Swastik Baranwal
44c8c0fb3d
checker: fix the return type of overloaded operators, defined on aliases of primitive types (fix #21654) (#21663) 2024-06-12 19:44:40 +03:00
kbkpbot
02f65627bc
builtin: fix string.find_between(), when not found end string return '' (#21670) 2024-06-12 14:25:19 +03:00
Yashank
1da3b3b840
veb: update import name in docs (#21668) 2024-06-12 13:04:50 +03:00
Kim Shrier
7d182a469e
crypto.sha3: remove unnecessary return at the end of the write function (#21669) 2024-06-12 10:29:13 +03:00
Larpon
47e93d1c39
term: add functions for detecting Sixel support + example (#21665) 2024-06-11 19:59:58 +03:00
Kim Shrier
dfdd752106
crypto: add a crypto.sha3 hash and extended output functions (#21664) 2024-06-11 15:39:16 +03:00
Turiiya
100b3b0fa3
v.pref: fix regression of command flags not working, when there is a subfolder, named after the command, in the current working folder (#21647) weekly.2024.24 2024-06-10 21:16:42 +03:00
Delyan Angelov
53ac41ff06
ci: move the test cases in unknown_options_test.v to pref_test.v, to minimise false positives (both compiled and ran examples/hello_world.v in parallel) 2024-06-10 14:06:41 +03:00
Delyan Angelov
65503edb4e
ci: make vmodules_overrides_test.v failures more informative 2024-06-10 12:33:07 +03:00
Alexander Medvednikov
ec055dc774 oauth: make Context fields public 2024-06-10 12:11:40 +03:00
Alexander Medvednikov
b5b57a2e07 orm: ilike for case insensitive text search 2024-06-10 11:54:25 +03:00
Felipe Pena
ef918082b4
cgen: fix or expr with non option fn call return (fix #21660) (#21661) 2024-06-10 10:44:59 +03:00
Delyan Angelov
1af7b7c3de
checker: support nested labeled for statements (#21658) 2024-06-09 17:52:56 +03:00
Turiiya
dfc0c91295
checker: turn warnings for private fields into errors (#21296) 2024-06-09 10:19:52 +03:00
Juan de Bruin
da4afef0d7
builtin: implement a JS version of string.split_any (#21612) 2024-06-08 07:10:57 +03:00
Mehmet Ali Şipi
ff865ea110
os.font: return the "segoeui.ttf" font, if its file exists on Windows (#21655) 2024-06-08 07:07:24 +03:00
Alexander Medvednikov
0b2edd0dd1 gc: fix tcc on macos 2024-06-08 01:34:02 +03:00
Alexander Medvednikov
0d52a7d91e openssl: more verbose error; libgc: make compile on arm macs 2024-06-07 11:48:27 +03:00
Turiiya
e2848e1348
tools: don't write vpm logfiles in CI runs (#21649) 2024-06-07 11:05:05 +03:00
Delyan Angelov
0e543fb364
docs: update the array/slice/reallocation examples and comments 2024-06-07 10:54:30 +03:00
Turiiya
7c8b4b8970
v.utils: allow to set the names of the compared items, when diffing strings (#21650) 2024-06-07 10:22:22 +03:00
Juan de Bruin
096226bf05
examples: check array length before access (#21641) weekly.2024.23 2024-06-04 18:38:06 +03:00
Felipe Pena
1e86e06eb6
orm: fix subquery without where expr (#21598) 2024-06-04 13:22:06 +03:00
Turiiya
a2ce55d922
builtin: update last_index_u8, deprecate index_u8_last string methods, make consistent with last_index (#21604) 2024-06-04 13:21:47 +03:00
Maxwell Geng
2250d60559
cgen: support a -d no_bool option, for cgen compatibility with the C23 language standard (since bool is a builtin type and a keyword in it) (#21637) 2024-06-04 11:18:37 +03:00
Delyan Angelov
cc92dbc8a5
examples: show how to create and pass a V string to a V function, and then get back a V string in Python 2024-06-03 19:26:30 +03:00
Alexander Medvednikov
193a99d1e7 all: @[freed] attribute for assign statements 2024-06-03 17:19:59 +03:00
Felipe Pena
6d2c3a9caa
checker: fix missing option and result wrong type return type definition (#21626) 2024-06-02 17:14:51 +03:00
Alexander Medvednikov
1096173bd3 builtin: vfmt builtin.c.v 2024-06-02 10:43:48 +03:00
Alexander Medvednikov
4884396ee6 vdoc: fix multiline js string generation in search_index.js 2024-06-02 10:35:50 +03:00
Delyan Angelov
8504beaaab
net.http: implement http.download_file_with_progress/2, saving each chunk, as it is received, without growing the memory usage (#21633) 2024-06-02 10:26:37 +03:00
Felipe Pena
2e567ff9e5
checker: fix missing concrete type checking on a generic type specifier (#21614) 2024-06-02 02:10:48 +03:00