Commit graph

19473 commits

Author SHA1 Message Date
Delyan Angelov
dccb18d4a6
ci: fix v_apps_and_modules_compile_ci.yml temporarily 2024-12-27 20:20:23 +02:00
Delyan Angelov
f96781fddf
tools: pass the vc_v_cpermissive_flags to the cv -> v stage, in the oldv bootstrapping too 2024-12-27 19:17:21 +02:00
Delyan Angelov
e9bdfa1dd7
db.sqlite: reduce memory usage in common db.exec() methods (#23286) 2024-12-27 18:36:40 +02:00
kbkpbot
5b44b67211
term: add key_pressed, enable_echo (fix #21826) (#23171) 2024-12-27 10:36:39 +02:00
kbkpbot
4a1c7add24
net.http: add support '=' in cookie values (fix #23220) (#23257) 2024-12-27 10:33:16 +02:00
Felipe Pena
a915404888
v: fix return array fixed with unresolved const as size (fix #23277) (#23279) 2024-12-26 23:11:44 +02:00
Felipe Pena
0d6e386d09
checker, cgen: fix generic static method resolving on IfGuard (fix #23269) (fix #23270) (#23273) 2024-12-26 23:06:21 +02:00
Felipe Pena
18a1afeeb8
cgen: move the autofree code to a separate implementation file (#23276) 2024-12-26 21:51:49 +02:00
Keito Tobichi
f8c9edde55
crypto: add JWT Payload Decoding sample (#23275) 2024-12-26 16:41:36 +02:00
Delyan Angelov
7eec8b1cd7
math,examples: make 2048 use sliding animation for the tile movement (#23268) 2024-12-26 06:39:59 +02:00
Swastik Baranwal
66caf949a0
checker: allow int alias to be used as array len and cap (fix #23266) (#23272) 2024-12-26 06:38:21 +02:00
Felipe Pena
80bae08c9a
cgen,json: fix default initialization of structs with options (#23263) 2024-12-25 19:42:48 +02:00
Felipe Pena
f27181e81b
cgen: fix thread struct name for same fn var name on different scope (fix #21746) (#23261) 2024-12-25 12:05:53 +02:00
Delyan Angelov
4cd3009bd1
examples: add examples/gg/easing_animation.v (follow up to e6c1637) (#23253) 2024-12-24 22:57:06 +02:00
Felipe Pena
ba036ebf14
cgen: fix casting aliased fixed array to sumtype array (fix #23009) (#23248) 2024-12-24 19:57:19 +02:00
Felipe Pena
5b5e845f0f
cgen: fix selector on option ptr unwrapping (fix #23250) (#23260) 2024-12-24 18:48:22 +02:00
yuyi
667a07c289
ast: fix const map init order (fix #23255) (#23256) 2024-12-24 18:41:13 +02:00
yuyi
0de5e986c7
cgen: fix try_push string literal to channel (fix #23242) (#23259) 2024-12-24 18:36:08 +02:00
Felipe Pena
61097a0c4d
markused: fix codegen for comptime $for (fix #23252) (#23254) 2024-12-24 10:52:45 +02:00
Delyan Angelov
e6c1637d32
math: add math.easing module, ported from the functions, described in https://nicmulvaney.com/easing and https://easings.net/ (#23251) 2024-12-24 00:46:46 +02:00
kbkpbot
47c0ca8ab3
math.stats: support int/i64 arrays, fix tests (fix #23245) (#23249) 2024-12-23 16:41:02 +02:00
Swastik Baranwal
f089ba9ff2
cgen, checker: allow using smartcasted sumtype variant values in the ORM queries (fix #23239) (#23241) 2024-12-23 16:19:27 +02:00
Rodrigo Abt
e0a63dba62
db.sqlite: add an exec_map function, returning []map[string]string, given an SQL query (#23246) 2024-12-23 16:06:36 +02:00
yuyi
4a35ffd01b
checker: fix pushing enum value to channel (fix #23244) (#23247) 2024-12-23 13:08:11 +02:00
yuyi
f5445b5793
checker: move test files to tests directory (cleanup) (#23243) 2024-12-23 09:03:41 +02:00
Felipe Pena
98f13ef491
json: fix codegen for struct default expr (fix #23216) (#23233) 2024-12-23 00:26:55 +02:00
Felipe Pena
7af8fafc18
ast,parser,checker: fix identification of abstract vs real interface methods (interface with a str() method) (fix #23006) (#23238) 2024-12-22 14:06:55 +02:00
Felipe Pena
24eac4d74d
cgen: fix lambda inferring generic type on method call (fix #23221) (#23234) 2024-12-22 13:58:45 +02:00
Felipe Pena
b58937c9cf
checker: allow passing literal expressions to functions expecting C variadics (fix #23123) (#23235) 2024-12-22 13:47:49 +02:00
Alexander Medvednikov
8921859a77
Update CHANGELOG.md 2024-12-22 13:25:00 +03:00
Alexander Medvednikov
ce9d38f8cb
Update CHANGELOG.md 2024-12-22 13:24:31 +03:00
Alexander Medvednikov
c050ea64e4 changelog: minor 0.4.9 fixes 2024-12-22 13:18:26 +03:00
Delyan Angelov
2eb2f9f554
tools: add v time, to measure command execution time, in a cross platform way, without relying on other external tools 2024-12-22 11:46:35 +02:00
Carlos Esquerdo Bernat
63fff1dcd4
json: use @[required] to disallow parsing nulls (#23218) 2024-12-22 10:12:58 +02:00
Felipe Pena
1ca902fcc4
checker: fix index validating for []i32{len: 10, init: index} (#23232) 2024-12-22 10:04:36 +02:00
Alexander Medvednikov
3953445988 V 0.4.9 2024-12-22 03:48:41 +03:00
Alexander Medvednikov
76e17bd74b parser: make f(x,y Type) an error; changelog: 0.4.9 2024-12-21 19:19:27 +03:00
Felipe Pena
70152e21e7
cgen: fix build with-parallel-cc, when a closure is used (#23230) 2024-12-21 15:25:35 +02:00
kbkpbot
c968c9ec60
crypt.bcrypt: limit max password length to 72 bytes (#23229) 2024-12-21 13:11:06 +02:00
kbkpbot
40bb8b1d17
cgen: fix profile time on windows (#23227) 2024-12-21 10:43:54 +02:00
Delyan Angelov
290f58a7bc
cgen: reduce RAM usage, by avoiding a .str() call, for the final string builder, containing the final C program, used to write it to a file (#23226) 2024-12-21 07:19:29 +02:00
Felipe Pena
74f0ce6ab4
ci: speed up again sanitizer runs (#23222) 2024-12-20 23:04:43 +02:00
Felipe Pena
052e5af8f3
checker: fix assign check, when rechecking for another concrete type (#23212) 2024-12-20 19:39:11 +02:00
Delyan Angelov
8f684c777c
v.builder: support -no-prod-options with -cc msvc as well 2024-12-20 19:07:10 +02:00
Delyan Angelov
8a934bb4be
v.pref: implement -no-prod-options to turn off passing -O3 -flto, while still keeping the $if prod { branches (passing custom flags with -cflags -Os already works) 2024-12-20 19:00:28 +02:00
Felipe Pena
b0772193f8
vlib: enable more satnitized memleak detection runs without false positives on the CI (#23200) 2024-12-20 16:09:16 +02:00
Delyan Angelov
903e349a7c
v.builder: fail the whole v compilation, if linking or compiling during -parallel-cc fails (#23211) 2024-12-20 08:59:59 +02:00
Delyan Angelov
9ae0a9db9b
v,ast,fmt,parser: support @[tag] for hash statements, like #define and #flag (#23210) 2024-12-20 08:49:03 +02:00
Delyan Angelov
30ececc2a3
v.pref: support -debug and -cdebug, as more explicit alternative names for -g and -cg (#23208) 2024-12-19 21:45:56 +02:00
André Luiz
939d243b5e
veb: fix key value and translation file name (#23203) 2024-12-19 17:46:46 +02:00