Felipe Pena
|
482aad5c18
|
cgen: fix codegen for struct array with generic field (fix #22406) (#22413)
|
2024-10-07 22:57:27 +03:00 |
|
Felipe Pena
|
914169ed4b
|
checker: fix missing check for generic array type without concrete types (fix #22414) (#22416)
|
2024-10-07 19:49:47 +03:00 |
|
Carlos Esquerdo Bernat
|
0073f097a7
|
v.ast: comment on the IndexExpr.is_farray field (#22438)
|
2024-10-07 19:26:22 +03:00 |
|
Delyan Angelov
|
d3c3c391ca
|
checker: reduce allocations part 2 (#22434)
|
2024-10-07 17:07:31 +03:00 |
|
yuyi
|
184a86343e
|
all: cleanup resolve_generic_to_concrete() and related methods (#22433)
|
2024-10-07 15:12:28 +03:00 |
|
Swastik Baranwal
|
f4c04844b2
|
checker: disallow iterating through .params, for types that are not a function/method (#22428)
|
2024-10-07 12:38:24 +03:00 |
|
Delyan Angelov
|
5a33c36ab7
|
checker: reduce allocations in Checker.method_call (#22432)
|
2024-10-07 11:27:18 +03:00 |
|
yuyi
|
3736e51e62
|
ast, parser: fix generic fn type with defferent generic type call (#22431)
|
2024-10-07 11:05:31 +03:00 |
|
kbkpbot
|
309c8d3778
|
strconv: fix e/g format (fix #22424) (#22430)
|
2024-10-07 08:43:04 +03:00 |
|
Delyan Angelov
|
502442ad00
|
os: implement os.data_dir(), os.state_dir(), os.local_bin_dir() + tests (#22426)
|
2024-10-07 07:23:50 +03:00 |
|
Alexander Medvednikov
|
2b52153c14
|
all: make 0 => unsafe { nil } an error, not a notice
|
2024-10-07 01:54:19 +03:00 |
|
Alexander Medvednikov
|
a2d385aee3
|
parser: allow struct definitions inside functions
|
2024-10-06 22:40:14 +03:00 |
|
Delyan Angelov
|
4f9df0da72
|
builtin: unify memory allocation error handling, and avoid string interpolation, when allocation failed (#22423)
|
2024-10-06 20:56:58 +03:00 |
|
kbkpbot
|
491d6f4955
|
strconv: fix remove_tail_zeros bug (fix #22421) (#22422)
|
2024-10-06 16:48:08 +03:00 |
|
Swastik Baranwal
|
6ed176515d
|
checker: disallow blank ident in const and global decl (#22415)
|
2024-10-06 16:36:50 +03:00 |
|
Delyan Angelov
|
93d3278a5a
|
v.util: fix handling of spaces before the second argument of $d(name, value) (#22420)
|
2024-10-06 11:33:29 +03:00 |
|
kbkpbot
|
e83b0d221f
|
x.json2: make encode number cJson compatible (fix #22363) (#22419)
|
2024-10-06 11:23:42 +03:00 |
|
kbkpbot
|
3c0358cce7
|
toml: add reflect/decode struct default value support (#22412)
|
2024-10-06 11:15:04 +03:00 |
|
Delyan Angelov
|
209c30f3a6
|
v.builder: fix building with -cc msvc and non ASCII characters in paths on windows 11 (#22410)
|
2024-10-05 02:20:15 +03:00 |
|
kbkpbot
|
dc6a9583d7
|
v.builder, builtin: use ANSI encoding for the .rsp file under Windows; add builtin string_to_ansi_not_null_terminated + tests (#22409)
|
2024-10-04 20:29:13 +03:00 |
|
Delyan Angelov
|
5a8ba962a8
|
v.builder: pass /nologo instead of /NOLOGO , when the user passed -cc msvc on windows
|
2024-10-04 15:58:29 +03:00 |
|
Delyan Angelov
|
0390c070ec
|
v.builder: write an UTF8 BOM header for the .rsp file, when using '-cc msvc' (#22408)
|
2024-10-04 14:00:47 +03:00 |
|
yuyi
|
286c44266d
|
checker: cleanup in match_expr() (#22407)
|
2024-10-04 10:11:17 +03:00 |
|
Felipe Pena
|
cafb69dee2
|
x.json2: add support to array of array (fix #22362) (#22365)
|
2024-10-04 10:05:05 +03:00 |
|
yuyi
|
884b842930
|
checker: check fn return void fn call (no value) (fix #22389) (#22404)
|
2024-10-04 10:01:22 +03:00 |
|
Felipe Pena
|
5b1581daee
|
cgen: fix global decl type default generation for fixed array (fix #22402) (#22403)
|
2024-10-03 19:59:57 +03:00 |
|
Felipe Pena
|
1a11056419
|
checker: fix validation of lambda params and returns in generic function calls (#22387)
|
2024-10-03 19:56:41 +03:00 |
|
yuyi
|
f24d239199
|
cgen: improve enum with comptime const value (related #22388) (#22401)
|
2024-10-03 16:10:19 +03:00 |
|
yuyi
|
985136721e
|
cgen: fix struct fixed array field init with default value (fix #22392) (#22399)
|
2024-10-03 11:31:36 +03:00 |
|
kbkpbot
|
e2425842b2
|
encoding.iconv: fix iconv type cstrict, add support for LOCAL encoding (#22398)
|
2024-10-03 11:27:42 +03:00 |
|
Swastik Baranwal
|
7b8e059a3c
|
checker: disallow invalid T cast (fix #22346) (#22354)
|
2024-10-03 01:52:42 +03:00 |
|
Delyan Angelov
|
dafca9353c
|
tests: use value and the .len field, for the left/right values, shown in failing assertions (#22393)
|
2024-10-03 00:36:05 +03:00 |
|
Jose Mendoza
|
2b546c4fa7
|
scanner: remove redundancy from the messages suggesting to use quotes instead of backticks for characters (#22390)
|
2024-10-02 21:49:52 +03:00 |
|
yuyi
|
c01186c729
|
cgen: fix enum with comptime const value (fix #22386) (#22388)
|
2024-10-02 19:49:25 +03:00 |
|
Felipe Pena
|
cf2ccbc22d
|
cgen: fix auto str for array and map for C struct (fix #22379) (#22381)
|
2024-10-02 19:39:18 +03:00 |
|
kbkpbot
|
747794998b
|
encoding: add an encoding.iconv module with tests (#22332)
|
2024-10-02 19:37:48 +03:00 |
|
Carlos Esquerdo Bernat
|
d1606b22b7
|
net: allow for a ::ffff:127.0.0.1 result in tcp_simple_client_server_test.v (#22385)
|
2024-10-02 17:31:01 +03:00 |
|
Jose Mendoza
|
8d1ba46875
|
scanner: improve unknown comptime var error (#22371)
|
2024-10-02 17:15:10 +03:00 |
|
yuyi
|
5e00270ef2
|
builtin: cleanup push_many()/push_many_noscan() (#22383)
|
2024-10-01 20:16:13 +03:00 |
|
Felipe Pena
|
30952cf2bb
|
cgen: fix codegen for const of fixed array (fix #22357) (#22364)
|
2024-10-01 19:04:00 +03:00 |
|
yuyi
|
856fb8b257
|
cgen: cleanup in method_call() (#22382)
|
2024-10-01 18:39:22 +03:00 |
|
Felipe Pena
|
3faf06bf95
|
checker: fix missing check for alias to generic type (fix #22359) (#22360)
|
2024-10-01 16:31:31 +03:00 |
|
Stanislav Ershov
|
3b9651d8c9
|
v.builder: fix build using msvc with multiple C sources (for example programs using #flag file.c ) (#22377)
|
2024-10-01 16:30:22 +03:00 |
|
yuyi
|
d2c5b1907e
|
cgen: refactor to streamline gen_map_method_call() (#22356)
|
2024-10-01 14:19:41 +03:00 |
|
Carlos Esquerdo Bernat
|
e598db12d3
|
net: add more SocketOptions enum values, make public fn new_tcp_socket (#22378)
|
2024-10-01 11:42:30 +03:00 |
|
Felipe Pena
|
d1fdcfbab4
|
cgen: fix comptime variant string interpolation (fix #22366) (#22368)
|
2024-10-01 11:25:56 +03:00 |
|
Jose Mendoza
|
fc72044b42
|
checker: improve fn argument mismatch error (#22370)
|
2024-10-01 10:45:03 +03:00 |
|
Hitalo Souza
|
81b9fd8b14
|
x.json2.decoder2: clean up (#22373)
|
2024-10-01 10:15:51 +03:00 |
|
Felipe Pena
|
1b812f6bdf
|
cgen: fix global struct init on tcc (fix #22300) (#22350)
|
2024-10-01 05:03:51 +03:00 |
|
Felipe Pena
|
ce95787215
|
cgen: fix array to alias push operation (fix #22374) (#22375)
|
2024-10-01 05:02:32 +03:00 |
|