18542 Commits

Author SHA1 Message Date
Felipe Pena
aa3ab3ff20
cgen: fix const with c string literal (fix #22358) (#22361) 2024-09-30 14:54:39 +03:00
Felipe Pena
04aba8f767
net: fix split_address (fix #14909) (#22349) 2024-09-30 08:25:39 +03:00
yuyi
6eec0b33c6
cgen: refactor to streamline gen_array_method_call() (#22353) 2024-09-30 08:23:30 +03:00
Turiiya
be26233670
vdoc: fix scrolling on keyboard select in search results with overflow (#22352) 2024-09-29 19:17:26 +03:00
Felipe Pena
10c7a75c2d
checker: fix missing reserved name check on global declaration (fix #22345) (#22347) 2024-09-29 08:49:38 +03:00
Felipe Pena
80e09e2f91
checker: fix compiler panic, when calling an unknown function in C.printf(c'%f\n', sin(2)) (fix #22343) (#22348) 2024-09-29 08:02:38 +03:00
yuyi
161d29a922
cgen: minor cleanup in method_call() (#22351) 2024-09-29 07:59:45 +03:00
Felipe Pena
6f97ced860
orm: allow comptime field.name as field name (fix #22329) (#22344) 2024-09-29 07:53:47 +03:00
Alexander Medvednikov
2ab152390e V 0.4.8 0.4.8 2024-09-28 18:50:00 +03:00
Alexander Medvednikov
747508c35b changelog: minor 0.4.8 fixes 2024-09-28 18:13:56 +03:00
Alexander Medvednikov
106cc3ec35 changelog: V 0.4.8 changelog 2024-09-28 17:56:27 +03:00
Felipe Pena
24238c107d
encoding.csv: fix reading when there is no line ending at the end of the file (fix #22337) (#22342) 2024-09-28 17:49:40 +03:00
Felipe Pena
64eb4c4913
cgen: fix struct init field with alias to array fixed (fix #22339) (#22341) 2024-09-28 17:40:16 +03:00
Felipe Pena
f30078a21a
cgen: fix codegen for address of range (fix #18528) (#22336) 2024-09-28 17:11:59 +03:00
Felipe Pena
a6af3d514b
cgen: fix interface method call after smartcast (fix #17056) (#22335) 2024-09-28 16:20:44 +03:00
Delyan Angelov
2e0fa12261
cgen: add asm to c_reserved, fixes compilation of struct Abc { @asm int } (#22340) 2024-09-28 13:44:01 +03:00
yuyi
4a01b2cca8
checker: cleanup the checking of array method calls (#22338) 2024-09-28 13:39:08 +03:00
Felipe Pena
350846e11b
checker: add an error for returning an any value in pure V code (prevents invalid cgen) (fix #12623) (#22334) 2024-09-28 12:03:22 +03:00
yuyi
372a4021fc
checker: check arguments mismatch of array.sorted_with_compare() (fix #22327) (#22328) 2024-09-27 18:51:30 +03:00
Felipe Pena
2afce42fc7
cgen: fix codegen for interface method call which returns a fixed array (fix #22326) (#22331) 2024-09-27 17:32:53 +03:00
Delyan Angelov
6ba87b948a
math.big: fix a + b and a - b, when the signs are different, add more test cases (#22330) 2024-09-27 17:13:39 +03:00
yuyi
2db53a4bf0
cgen: cleanup in gen_array_insert()/gen_array_prepend() (#22325) 2024-09-27 11:48:52 +03:00
yuyi
c7bdc0a781
cgen: fix aliases of array insert(...)/prepend(...) (fix #22323) (#22324) 2024-09-27 07:41:13 +03:00
Delyan Angelov
765b88f9f2
tests: skip ecdsa_test.v on windows and on tests-sanitize-memory-clang (since it needs OpenSSL) 2024-09-27 07:32:13 +03:00
Felipe Pena
1cac0c3ce1
cgen, checker: fix array fixed return type for interface methods (#22320) 2024-09-27 02:26:04 +03:00
Swastik Baranwal
861bbe68f2
checker: disallow infix exper on left side of assign (#22322) 2024-09-27 02:25:17 +03:00
Alexander Medvednikov
c9a79ea026 bench: crypto/ecdsa.v 2024-09-26 22:36:23 +03:00
Alexander Medvednikov
f7cc9d5daa crypto: ecdsa module (on top of openssl) 2024-09-26 22:30:07 +03:00
Alexander Medvednikov
9c0a7e7955 json: support null sum types in decode() 2024-09-26 19:39:38 +03:00
Meng Zhuo
b1c9941065
builtin: enable GC lib on rv64 build (#22319) 2024-09-26 10:58:33 +03:00
Delyan Angelov
e03bd3f803
io: make buffered_writer_test.v more robust 2024-09-26 08:45:13 +03:00
Felipe Pena
9bc975eb07
net: allow ipv6 address with brackets (fix #22313) (#22316) 2024-09-26 08:18:52 +03:00
Jakub Jabłoński
956f74ab95
ci: add cache and trigger for pushes, in the Hub docker action (#22314) 2024-09-26 08:02:21 +03:00
Felipe Pena
e3084ba636
cgen: fix variadic arg var passed to another call which expects variadic (fix #22315) (#22317) 2024-09-26 07:29:06 +03:00
Felipe Pena
08eef34f26
cgen: fix codegen for assign from unsafeexpr resulting fixed array (fix #22301) (#22309) 2024-09-26 07:25:46 +03:00
Felipe Pena
31e71e90ae
checker: add missing check for duplicated items on in expr (fix #22305) (#22308) 2024-09-26 06:52:45 +03:00
yuyi
1dfe004f53
checker: check array.delete() argument mismatch (#22307) 2024-09-25 22:03:00 +03:00
Jakub Jabłoński
27973f70ab
docker: hub docker action fix (#22312) 2024-09-25 22:02:38 +03:00
yuyi
4248fc55c5
cgen: fix operation overload for type aliases of fixed arrays (fix #22297) (#22304) 2024-09-25 11:49:27 +03:00
Felipe Pena
1a4ad55651
parser: add back the escape for @ using @@ in $tmpl() templates, add tests (the regression happened in 3115796 from 2024-09-22) (#22303) 2024-09-25 09:27:54 +03:00
Delyan Angelov
e1900ae56a
ci: make Git less picky in the newer ubuntu-docker-musl image 2024-09-25 09:12:00 +03:00
Delyan Angelov
1d427da99d
tools: make vretry_test.v more verbose when run on the CI 2024-09-25 09:03:24 +03:00
Jakub Jabłoński
14bf78d66d
ci: add hub_docker_ci.yml, for building docker images (triggered manually for now) (#22302) 2024-09-25 08:43:16 +03:00
Felipe Pena
41e045c553
cgen: fix codegen for method call on rangeexpr (fix #12610) (#22291) 2024-09-25 00:05:38 +03:00
Felipe Pena
d5f0db9847
tmpl: fix extra newline added on @if-@else-@end block (#22289) 2024-09-24 23:59:08 +03:00
yuyi
e974460b45
fmt: cleanup align.v (#22295) 2024-09-24 22:16:38 +03:00
yuyi
4ee948feaa
parser: check enum method duplicated (fix #20924) (#22294) 2024-09-24 12:20:19 +03:00
Felipe Pena
07465a4e7d
checker: fix fntype var marked as auto heap (#22290) 2024-09-24 06:54:02 +03:00
Alexander Medvednikov
03e0b9e646 math: document q_rsqrt 2024-09-24 04:33:46 +03:00
skeris
c72dde20d0
vlib: add a go like x.benchmark module, that estimates automatically how many iterations are needed, to get a statistically significant result (#22215) 2024-09-23 13:56:00 +03:00