Delyan Angelov
|
beaa33a9bc
|
v.builder: cleanup, support V_NO_C_ERROR_INFO=1 for more compact error messages on cgen errors.
weekly.2023.40.1
weekly.2023.40
|
2023-10-05 09:40:17 +03:00 |
|
Sudoer
|
5c37c312b0
|
builtin,math: add more missing doc strings for public functions (#19509)
|
2023-10-05 00:35:37 +03:00 |
|
Spydr
|
8cfe9e81fc
|
native, builtin: implement little improvements from #19498 and remove vcommithash() in favor of @VHASH (#19508)
|
2023-10-05 00:30:55 +03:00 |
|
Redstoyn33
|
4b03d08457
|
math.fractions: make the Fraction struct public (#19507)
|
2023-10-04 18:16:08 +03:00 |
|
yuyi
|
a1e3040461
|
cgen: fix casting to interface with struct field default expr (#19506)
|
2023-10-04 16:42:47 +03:00 |
|
Spydr
|
6d1558b006
|
native, builtin, ast: handle ast.HashStmt correctly and reduce macro usage in builtin (#19498)
|
2023-10-04 16:42:15 +03:00 |
|
Sudoer
|
db0808c6c9
|
math: fix documentation for math.radians, math.degrees and math.aprox_cos (#19504)
|
2023-10-04 12:19:00 +03:00 |
|
yuyi
|
2bcbda55ff
|
parser, fmt: fix formatting assign static method to anon fn (#19505)
|
2023-10-04 12:15:06 +03:00 |
|
Swastik Baranwal
|
dd7f3a73f3
|
checker: disallow printing variadic expansions of arrays: print(...a) , println(...a) , where a is an array (fix #19490) (#19503)
|
2023-10-04 09:28:20 +03:00 |
|
Delyan Angelov
|
c79f84d406
|
builtin: add input_character/0 and print_character/1 (#19502)
|
2023-10-04 04:40:03 +03:00 |
|
yuyi
|
0904a9e892
|
parser: fix assigning static method to anon fn (#19499)
|
2023-10-03 21:12:30 +03:00 |
|
Spydr
|
2563552cd6
|
ast, native, cgen: add support for $if native {} (#19500)
|
2023-10-03 21:09:56 +03:00 |
|
Alexander Medvednikov
|
b1f141aef3
|
checker: more precise error message
|
2023-10-03 20:32:52 +03:00 |
|
Delyan Angelov
|
6b79b2aaa5
|
encoding.leb128: fix v -cstrict -cc gcc-11 examples/wasm_codegen/bf_compiler.v
|
2023-10-03 17:05:55 +03:00 |
|
Delyan Angelov
|
7a49f24eb1
|
examples: fix brainvuck.v (handle [ and ] properly); allow both brainvuck.v wasm_codegen/bf_compiler.v to work with .b files too
|
2023-10-03 17:01:55 +03:00 |
|
Delyan Angelov
|
fae46a8d85
|
builtin: extract vlib/builtin/result.v from vlib/builtin/option.v
|
2023-10-03 08:36:13 +03:00 |
|
yuyi
|
78910535ac
|
parser: minor optimization in name_expr() (#19493)
|
2023-10-03 00:11:44 +03:00 |
|
Ikko Eltociear Ashimine
|
5645ee2875
|
v.util: fix typo in module.v (#19494)
|
2023-10-03 00:10:28 +03:00 |
|
Delyan Angelov
|
c0a7397637
|
native: support -no-builtin (generate executables < 1KB Linux with v -no-builtin -b native examples/hello_world.v )
|
2023-10-02 19:44:02 +03:00 |
|
Delyan Angelov
|
f43be7a171
|
docs: add dots for consistency, to all the items in the @FILE etc list
|
2023-10-02 19:07:32 +03:00 |
|
yuyi
|
e3caae9d57
|
cgen: fix struct init with multi option fn type (#19491)
|
2023-10-02 17:21:01 +03:00 |
|
l-m
|
7ebee2ed36
|
examples: add a brainfuck->wasm compiler example (#19492)
|
2023-10-02 14:42:02 +03:00 |
|
Delyan Angelov
|
8d98a21ff8
|
all: add support for @LOCATION , for more convenient logging/tracing, without needing to combine @FILE , @LINE at runtime (#19488)
|
2023-10-02 07:49:10 +03:00 |
|
yuyi
|
6bd45394f1
|
cgen: fix struct field of fixed array init (fix #19483) (#19487)
|
2023-10-01 22:11:20 +03:00 |
|
Alexander Medvednikov
|
f8693adfa2
|
checker: turn propagation warning into an error; sokol: make some structs public
|
2023-10-01 14:42:12 +03:00 |
|
Delyan Angelov
|
a79c574cb9
|
ci: fix v -cstrict vlib/builtin/array_test.v
|
2023-10-01 09:18:07 +03:00 |
|
Delyan Angelov
|
ec9ac7715a
|
builtin: add an unsafe { a.reset() } method, for quickly setting all bytes in an array to 0
|
2023-10-01 07:22:42 +03:00 |
|
Delyan Angelov
|
413da8be62
|
ci: fix misc-tooling, V self compilation with g++ and -std=c++11
|
2023-09-30 20:16:26 +03:00 |
|
Delyan Angelov
|
f5fc0f9ea2
|
ci: fix flaky vlib/v/tests/go_wait_option_test.v (error->none)
|
2023-09-30 20:05:06 +03:00 |
|
Delyan Angelov
|
c552ecf2b0
|
ci: fix vlib/net/tcp_test.v (change return type of one_shot_echo_server from ? to !)
|
2023-09-30 19:56:40 +03:00 |
|
Delyan Angelov
|
7d1eab7931
|
ci: fix vlib/v/gen/js/jsgen_test.v errors in js.v and option.v
|
2023-09-30 19:50:42 +03:00 |
|
Delyan Angelov
|
d850c4667a
|
ci: temporary workaround for the -autofree regression in the valgrind tests, caused by 773f961
|
2023-09-30 19:41:33 +03:00 |
|
Delyan Angelov
|
c030c5efa8
|
builtin: extract backtraces.c.v, backtraces_nix.c.v, backtraces_windows.c.v (#19480)
|
2023-09-30 19:24:31 +03:00 |
|
yuyi
|
80339c841a
|
cgen: fix printing fixed array of options (#19479)
|
2023-09-30 16:46:45 +03:00 |
|
Alexander Medvednikov
|
773f961736
|
checker: turn the option/result split warning into an error; readme: better wording
|
2023-09-30 16:40:26 +03:00 |
|
Alexander Medvednikov
|
5b1b2cc7c0
|
V 0.4.2
0.4.2
|
2023-09-30 15:08:26 +03:00 |
|
Alexander Medvednikov
|
5cc1db8318
|
0.4.2 changelog
|
2023-09-30 14:41:41 +03:00 |
|
Delyan Angelov
|
ced5f213ef
|
checker: allow for const source = $embed_file(@FILE).to_string()
|
2023-09-30 08:50:02 +03:00 |
|
yuyi
|
ae5b4bbd17
|
checker: check fixed array init with default expression (#19472)
|
2023-09-29 22:06:30 +03:00 |
|
Delyan Angelov
|
24278d82ba
|
os, v.builder: show more details, when a program ran by v run file.v , exits by a signal (fix #19412) (#19471)
|
2023-09-29 22:02:59 +03:00 |
|
Delyan Angelov
|
1476daf803
|
docs: fix note about submodule names
|
2023-09-29 14:02:17 +03:00 |
|
Delyan Angelov
|
137cb09426
|
gg: cleanup in init_pipeline
|
2023-09-29 13:06:15 +03:00 |
|
Delyan Angelov
|
6fc3a3d088
|
examples: add examples/gg/sample_count.v, showing the influence of the sample_count gg.Config parameter
|
2023-09-29 12:06:06 +03:00 |
|
Anton Zavodchikov
|
aa3832ceda
|
net.html: make public the CloseTagType enum (#19468)
|
2023-09-29 12:00:41 +03:00 |
|
yuyi
|
74997fd824
|
ast, cgen: fix as cast with call expr (fix #19453) (#19462)
|
2023-09-29 11:59:14 +03:00 |
|
Larpon
|
b5f71dffe4
|
datatypes: improve the doc strings for RingBuffer and its methods (#19464)
|
2023-09-28 19:07:26 +03:00 |
|
Turiiya
|
1a2ad27e79
|
vcreate: update templates, add lib (#19444)
|
2023-09-28 19:06:00 +03:00 |
|
Swastik Baranwal
|
9a03e18b81
|
fmt: keep anon struct decl fields in interfaces (#19461)
|
2023-09-28 18:59:45 +03:00 |
|
yuyi
|
4941a47018
|
cgen: fix array of fns index call with direct_array_access mode (#19460)
|
2023-09-28 14:32:43 +03:00 |
|
Keito Tobichi
|
86a2917fdd
|
examples: add another graph example for bread first search with backtracking (#19463)
|
2023-09-28 14:23:58 +03:00 |
|