Felipe Pena
|
a3793e3bb1
|
checker: fix generic inference in if expressions used in assignments (#21781)
|
2024-07-02 10:50:26 +03:00 |
|
Felipe Pena
|
06825006b3
|
cgen: fix array fixed empty struct code generated on clang (fix #21761) (#21764)
weekly.2024.27
|
2024-07-01 21:00:26 +03:00 |
|
Felipe Pena
|
4fc6c7e8a4
|
cgen: fix scope command when $dbg breakpoint is on or-expr (fix #21772) (#21747)
|
2024-07-01 20:06:21 +03:00 |
|
Delyan Angelov
|
b82d6859b5
|
transformer: handle enum_variant = some_const + 10 (fix #21777) (#21779)
|
2024-07-01 19:22:40 +03:00 |
|
Alexander Medvednikov
|
39f419139e
|
encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error
|
2024-07-01 15:07:07 +03:00 |
|
Alexander Medvednikov
|
940fc41c19
|
encoding.binary: little_endian_f32_at
|
2024-07-01 14:08:37 +03:00 |
|
yuyi
|
605c43df75
|
checker: change comptime_if_branch() to comptime_if_cond() (#21774)
|
2024-07-01 11:38:04 +03:00 |
|
yuyi
|
65ff74b82a
|
checker: fix nested if expr method call (#21773)
|
2024-07-01 10:51:32 +03:00 |
|
Delyan Angelov
|
387a01fcb5
|
crypto.blowfish: apply @[direct_array_access] to very commonly used functions (#21771)
|
2024-06-30 20:48:05 +03:00 |
|
Delyan Angelov
|
df7828d1f5
|
cgen: unkek cgen.v
|
2024-06-29 23:13:26 +03:00 |
|
Delyan Angelov
|
b6c7b46dcf
|
math: avoid unused calculations for math.modulo_floored/2 and math.modulo_euclid/2
|
2024-06-29 11:33:46 +03:00 |
|
Delyan Angelov
|
3799d7f635
|
math: add divide_truncated/2, divide_euclid/2, divide_floored/2 and modulo_truncated/2, modulo_euclid/2, modulo_floored/2 (#21759)
|
2024-06-29 11:24:49 +03:00 |
|
Turiiya
|
895bd71fa0
|
builtin: improve snake to camel case conversion (#21755)
|
2024-06-29 11:10:10 +03:00 |
|
yuyi
|
4a7c70c909
|
cgen: fix reference variable str() method call (#21753)
|
2024-06-28 15:47:35 +03:00 |
|
Delyan Angelov
|
17e32d051b
|
ci: fix deprecations_consts.out (the warning for math.max_i8 is now an error; it was deprecated since 2023-12-31)
|
2024-06-28 08:48:34 +03:00 |
|
Delyan Angelov
|
4c42fe3420
|
gg: add Context.draw_cubic_bezier_recursive/2 and Context.draw_cubic_bezier_recursive_scalar/9 (#21749)
|
2024-06-28 08:30:45 +03:00 |
|
yuyi
|
fccd7cd02e
|
cgen: simplify in infix_expr_and_or_op() (#21745)
|
2024-06-27 14:40:07 +03:00 |
|
yuyi
|
d9a300cacc
|
cgen: fix shortcircuiting of infix and/or expressions (#21740)
|
2024-06-27 08:35:13 +03:00 |
|
larpon
|
d67f4d0234
|
checker: add error for field [$d('x', 2)]int = [1, 2]! (#21741)
|
2024-06-27 08:27:43 +03:00 |
|
Turiiya
|
6ecfc6f63a
|
builtin: fix assert '_ISspace'.camel_to_snake() == '_i_sspace' (#21736)
|
2024-06-27 08:23:39 +03:00 |
|
yuyi
|
f4d2389b2f
|
ast, cgen: fix generics map with the reference argument (#21737)
|
2024-06-26 17:09:57 +03:00 |
|
larpon
|
66c4307897
|
examples: add compiletime/d_compile_value.v (#21738)
|
2024-06-26 17:08:08 +03:00 |
|
FNEOSLDI
|
094c30c347
|
net.http: correct Response.status() method comment, to indicate returning of a Status enum field, instead of struct (#21735)
|
2024-06-26 07:45:16 +03:00 |
|
Delyan Angelov
|
5f33946ef0
|
checker: limit recursion in Checker.ensure_type_exists/2 to 40 levels (it is usually 4 or less) (#21734)
|
2024-06-26 06:50:46 +03:00 |
|
Swastik Baranwal
|
8466c6c03d
|
parser: disallow self referencing function alias types like type FnType = fn(string) FnType and type FnType = fn (FnType) string (#21733)
|
2024-06-26 01:35:55 +03:00 |
|
Felipe Pena
|
fd384dff48
|
cgen: fix assert checking fn option ret with none (#21726)
|
2024-06-26 01:17:57 +03:00 |
|
larpon
|
a36c0d8315
|
ast, parser: support $d() in fixed size array struct fields (#21731)
|
2024-06-26 01:13:05 +03:00 |
|
yuyi
|
98a1ee2284
|
cgen: fix smartcasting a reference to a sumtype value (#21730)
weekly.2024.26
|
2024-06-25 10:09:06 +03:00 |
|
Turiiya
|
5b9358279a
|
vlib: simplify byte character conditions by using methods like is_capital, is_lower, is_letter etc (#21725)
|
2024-06-25 09:55:08 +03:00 |
|
Swastik Baranwal
|
a536c03365
|
checker: allow \uxxxxx in raw strings (#21724)
|
2024-06-25 08:18:25 +03:00 |
|
Mike Ward
|
e1d23429c7
|
encoding.base32: fix warning of implicit clone of array, by using an explicit unsafe block (#21728)
|
2024-06-25 08:17:29 +03:00 |
|
Turiiya
|
c5c49d3685
|
builtin: fix assert 'JVM_PUBLIC_ACC'.camel_to_snake() == 'jvm_public_acc' (#21722)
|
2024-06-24 23:01:52 +03:00 |
|
yuyi
|
2b0938da75
|
checker, cgen: fix auto dereference mut variable in if expr (fix #21309) (#21720)
|
2024-06-24 16:48:16 +03:00 |
|
yuyi
|
4d2c2daca3
|
cgen: fix fn call with mut reference args (fix #21265) (#21719)
|
2024-06-24 11:59:46 +03:00 |
|
yuyi
|
f5c87a1cf2
|
checker: fix result call or_block with multi-statements (fix #21504) (#21717)
|
2024-06-24 11:38:15 +03:00 |
|
Delyan Angelov
|
d364e61b8c
|
docs: improve the v deploy.vsh section
|
2024-06-23 11:27:45 +03:00 |
|
Felipe Pena
|
cc14272444
|
cgen, checker: fix generic variable resolution on generic func return assignment (#21712)
|
2024-06-23 10:28:56 +03:00 |
|
Felipe Pena
|
53d7a55424
|
checker: fix $if x { condition, using const x = $d('ident', false) (fix #21709) (#21713)
|
2024-06-23 10:11:54 +03:00 |
|
Alexander Medvednikov
|
d7bc216713
|
string: fix leak in replace_once
|
2024-06-22 19:17:26 +03:00 |
|
Alexander Medvednikov
|
549e11bfa1
|
string: optimize is_ascii()
|
2024-06-22 18:25:52 +03:00 |
|
Felipe Pena
|
70b33fc303
|
cgen,x.json2: fix generic map decoding (#21704)
|
2024-06-22 13:17:14 +03:00 |
|
Swastik Baranwal
|
2bb815f0fd
|
cgen: support inc cond for c style for loop with alias types (#21708)
|
2024-06-22 13:15:43 +03:00 |
|
yuyi
|
4302f8698e
|
fmt: add fn_with_mut_ref_params_keep.vv (#21711)
|
2024-06-21 20:14:44 +03:00 |
|
Delyan Angelov
|
b008387074
|
arrays: extend test for arrays.sum with one testing sum over a struct with overloaded + operator, cleanup fn comment
|
2024-06-21 19:55:56 +03:00 |
|
yuyi
|
112fc95036
|
parser, checker: fix sorting compare fn with mut reference parameter (fix #21662) (#21706)
|
2024-06-21 17:07:44 +03:00 |
|
Delyan Angelov
|
be9d2b6d11
|
cgen: implement g.trace_last_lines/2 to help debugging cgen problems
|
2024-06-21 16:01:49 +03:00 |
|
larpon
|
537fa1bb6d
|
comptime, ast: support [$d('s', 4)]int{} , move resolving to method on ComptimeCall (#21701)
|
2024-06-20 12:33:23 +03:00 |
|
Yashank
|
5b7cc63279
|
docs: fix comment considered as a token (#21705)
|
2024-06-20 12:25:20 +03:00 |
|
larpon
|
58f4e126b4
|
v: update build.txt with new -d functionality (#21699)
weekly.2024.25
|
2024-06-19 13:42:01 +03:00 |
|
Ikko Eltociear Ashimine
|
d7cc5c8877
|
checker: fix typo explictly -> explicitly in error message (#21698)
|
2024-06-19 10:21:46 +03:00 |
|