Felipe Pena
|
d9c3ac5ce6
|
checker, cgen: fix comptime issues with generic type (fix #22710, #22642) (#22751)
|
2024-11-05 16:23:51 +02:00 |
|
Felipe Pena
|
bd6005ed73
|
checker: fix missing check for stack pointer return (fix #22726) (#22756)
* fix
* test
* fix
|
2024-11-05 15:45:03 +02:00 |
|
Felipe Pena
|
2f8b2c50e8
|
v: allow map[k]()? and map[k]()() (#22740)
|
2024-11-05 15:41:31 +02:00 |
|
Felipe Pena
|
02793922f1
|
cgen: fix codegen to emit callexpr one time for in expr optimization (#22764)
|
2024-11-05 15:15:13 +02:00 |
|
Delyan Angelov
|
584cedd1bb
|
cgen: apply the a in [x,y,z] optimisation for ast.IndexExpr and ast.SelectorExpr again (#22767)
|
2024-11-05 14:42:07 +02:00 |
|
Felipe Pena
|
4a0a9fba99
|
cgen: fix codegen for -no-builtin flag (when used separately from -d no_main ) (#22765)
|
2024-11-05 14:38:00 +02:00 |
|
Felipe Pena
|
07eed88df7
|
v: support in expr with number ranges: if var in 1..4 { (fix #20352) (#22754)
|
2024-11-05 12:47:17 +02:00 |
|
Hector Peeters
|
2dd65872dc
|
v: fix redundant emission of left expression in in infix expressions (#22763)
|
2024-11-05 12:35:22 +02:00 |
|
Felipe Pena
|
744ac80d36
|
checker: fix missing info about generic fn var usage without concrete types (fix #22733, #22734) (#22743)
|
2024-11-04 22:03:07 +02:00 |
|
Delyan Angelov
|
164c68174a
|
ci: use macos-14 instead of macos-12 because of https://github.com/actions/runner-images/issues/10721
|
2024-11-04 21:47:50 +02:00 |
|
Felipe Pena
|
3108820d90
|
parser, checker: fix option map fn type and missing check for result param type (fix #22736) (#22738)
weekly.2024.45
|
2024-11-03 18:54:27 +02:00 |
|
yuyi
|
ea1992380c
|
builtin: add string.is_pure_ascii() (#22748)
|
2024-11-03 18:52:23 +02:00 |
|
Delyan Angelov
|
462f1869bb
|
ci: rename one of the duplicate main_test.v files, to reduce false positives (workaround)
|
2024-11-03 14:05:28 +02:00 |
|
yuyi
|
335bb6359e
|
builtin: improve fixed_array_any_all_test.v (#22746)
|
2024-11-03 10:03:38 +02:00 |
|
yuyi
|
abb40577f9
|
cgen: fix assert [2, 3, 1]!.sorted() == [1, 2, 3]! , add tests (#22739)
|
2024-11-03 10:02:13 +02:00 |
|
yuyi
|
f00d93477c
|
cgen: fix assert [1, 2, 3]!.reverse() == [3, 2, 1]! (#22745)
|
2024-11-03 10:00:46 +02:00 |
|
Delyan Angelov
|
6c94c24ea8
|
parser, builder: add :parse_text to the paths of .v files, printed by -print-v-files , for parse time generated snippets
|
2024-11-02 17:02:31 +02:00 |
|
Felipe Pena
|
1937cdd841
|
checker: fix none check for match expr with option (fix #22728) (#22732)
|
2024-11-02 14:09:55 +02:00 |
|
Felipe Pena
|
769699ede6
|
cgen: fix spawn with non-pointer receiver (fix #22718) (#22719)
|
2024-11-02 10:58:05 +02:00 |
|
Hitalo Souza
|
5384a2e77a
|
x.json2: pre-arranging the replacement of the decoder, to match https://github.com/enghitalo/v/tree/decoder2_to_json2 (#22729)
|
2024-11-02 10:57:18 +02:00 |
|
Felipe Pena
|
45b7a0e6e2
|
checker, cgen: fix comptime T.methods with generic types and interface checking with is operator (fix #22721) (#22724)
|
2024-11-02 10:53:08 +02:00 |
|
yuyi
|
9e2592e429
|
cgen: fix assert [1, 2, 3]!.index(2) == 1 (#22727)
|
2024-11-02 10:49:00 +02:00 |
|
yuyi
|
3b828f3ca1
|
cgen: fix assert [1, 2, 3]!.contains(2) (#22725)
|
2024-11-02 10:16:54 +02:00 |
|
yuyi
|
fc6e481bc3
|
cgen: cleanup array.v (#22723)
|
2024-11-01 13:44:04 +02:00 |
|
yuyi
|
2c887e2017
|
cgen: fix [1, 2, 3]!.map(it * 2) (#22722)
|
2024-11-01 09:39:17 +02:00 |
|
Felipe Pena
|
a9e814ff68
|
cgen: fix ptr field encoding for json (fix #22717) (#22720)
|
2024-11-01 07:28:37 +02:00 |
|
Felipe Pena
|
ee4f29fd87
|
v: optimize the compiler performance (#22709)
|
2024-10-31 20:40:30 +02:00 |
|
Delyan Angelov
|
2ad5d0cd15
|
tools: change v test to allow for // vtest hide_retries so that retry_test.v can hide its own (deliberate) retries
|
2024-10-31 20:23:19 +02:00 |
|
Delyan Angelov
|
d48cb18c3a
|
tools: show the full test output, on known flaky test failure with v test folder/ (#22716)
|
2024-10-31 19:02:14 +02:00 |
|
Delyan Angelov
|
a189d7f8e8
|
net: fix resolving of ::1:48872 (pass the *should_listen_on_both_ipv4_and_ipv6_by_default_test.v tests) (#22715)
|
2024-10-31 18:22:25 +02:00 |
|
yuyi
|
97941b97f8
|
checker, cgen: implement methods reverse()/reverse_in_place() for fixed arrays (#22712)
|
2024-10-31 13:46:36 +02:00 |
|
Jose Mendoza
|
b210278c31
|
parser: make C struct fields public and mutable by default (fix #22695) (#22706)
|
2024-10-31 13:43:58 +02:00 |
|
kbkpbot
|
86470abc77
|
strings: add hamming_distance/jaro_similarity/jaro_winkler_similarity functions (#22701)
|
2024-10-31 13:34:37 +02:00 |
|
Delyan Angelov
|
c32c2d732a
|
Duplicate ./examples/assets/v.svg history in ./examples/veb/veb_assets/assets/v-logo.svg history.
|
2024-10-31 11:56:18 +02:00 |
|
Delyan Angelov
|
e665760d99
|
Duplicate ./examples/assets/v.svg history in ./examples/vweb/server_sent_events/assets/v-logo.svg history.
|
2024-10-31 11:56:17 +02:00 |
|
Delyan Angelov
|
4cbd11419d
|
Duplicate ./examples/assets/v.svg history in ./examples/vweb_fullstack/src/assets/v-logo.svg history.
|
2024-10-31 11:56:17 +02:00 |
|
Delyan Angelov
|
b5f170258d
|
examples: add examples/assets/v.svg and examples/assets/v_16x16.svg
|
2024-10-31 11:56:17 +02:00 |
|
yuyi
|
4e9b21f9d0
|
checker, cgen: implement methods sort_with_compare()/sorted_with_compare() for fixed arrays (#22702)
|
2024-10-31 06:52:06 +02:00 |
|
Felipe Pena
|
730b3f5e0f
|
checker: check for receiver name clashing with global var (fix #22698) (#22708)
|
2024-10-31 06:46:08 +02:00 |
|
Delyan Angelov
|
63a192ccb3
|
cgen: ensure proper saving/restoring of cgen map[k] := fn () state, when assigning anonymous fns (fix #22705) (#22707)
|
2024-10-31 06:12:48 +02:00 |
|
Felipe Pena
|
6cfa84c991
|
checker: fix generic resolve comptime generic var (#22699)
|
2024-10-31 03:22:13 +03:00 |
|
Felipe Pena
|
0b2b06df3c
|
checker: fix missing check for fn var with generic return inherited to anon fn (fix #19045) (#22683)
|
2024-10-30 21:56:52 +02:00 |
|
kbkpbot
|
2f75348b67
|
bitfield: add shift_left/1 and shift_right/1 methods to BitField (#22700)
|
2024-10-30 21:55:42 +02:00 |
|
Delyan Angelov
|
d79b85099c
|
x.vweb: bump port numbers for tests, to avoid conflicts with the equivalent veb test ports
|
2024-10-30 20:27:26 +02:00 |
|
larpon
|
dad8e3c766
|
flag: add missing short flag match in flag.to_struct , add test (#22696)
|
2024-10-30 17:31:31 +02:00 |
|
Felipe Pena
|
3af720921c
|
checker: fix selector with prefixed & structinit (#22689)
|
2024-10-30 17:56:21 +03:00 |
|
Hitalo Souza
|
54a6915f02
|
x.json2.decoder: support sumtypes fully (#22694)
|
2024-10-30 09:01:39 +02:00 |
|
Delyan Angelov
|
6e9a66dbf3
|
picoev: extract common code to a trace_fd/1 function, cleanup
weekly.2024.44
|
2024-10-29 18:32:34 +02:00 |
|
Delyan Angelov
|
3939737a8d
|
picoev: support -d picoev_verbose_errors , do not use any naked eprintln by default, since that is a low level module
|
2024-10-29 18:04:08 +02:00 |
|
yuyi
|
45cbf4f14e
|
ast: improve the assert informations (related #22668) (#22679)
|
2024-10-29 07:15:27 +02:00 |
|