spaceface
|
9ed9e7aff0
|
builtin: cleanup option names (part 1) (#9293)
|
2021-03-14 01:54:46 +01:00 |
spaceface
|
e9797c618a
|
all: implement error interfaces (#9291)
|
2021-03-13 18:13:50 +01:00 |
Delyan Angelov
|
0c33656a19
|
ci: fix failing option_print_errors_test.v
|
2021-03-12 20:36:19 +02:00 |
spaceface
|
be409b52e9
|
builtin: prepare for error interfaces (#9043)
|
2021-03-12 20:05:05 +02:00 |
Delyan Angelov
|
d7049ae2da
|
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974)
|
2021-03-08 20:52:13 +02:00 |
Miccah
|
a1e0f2bc46
|
gen: add argument names to compile-time method struct (#9174)
|
2021-03-07 14:28:43 +01:00 |
Larpon
|
07a1a9b84d
|
builtin: use fprintf to print to stderr on Android (#9130)
|
2021-03-05 19:12:42 +02:00 |
joe-conigliaro
|
2d73411396
|
checker: define missing C fn args & check C & JS args (#8770)
|
2021-03-05 17:41:11 +03:00 |
Lukas Neubert
|
80356edd8c
|
fmt: combine simple attributes into a single line (#9120)
|
2021-03-05 07:17:57 +02:00 |
Leah Lundqvist
|
65e888230a
|
jsgen: object equality checks, optimise casting and start builtin implementation (#9068)
|
2021-03-04 14:02:16 +01:00 |
yuyi
|
2b9ffbda42
|
cgen: fix array_sort by different order of a/b (#9106)
|
2021-03-04 11:19:02 +01:00 |
Delyan Angelov
|
488848e904
|
builtin: simplify copy/2
|
2021-03-02 18:14:42 +02:00 |
spaceface
|
b712af56fd
|
all: bring back `panic(err.msg)` -> `panic(err)` (#9022)
|
2021-03-01 00:18:14 +01:00 |
zakuro
|
ce115dcbe0
|
builtin: correct error underline for unicode wide chars (#9010)
|
2021-03-01 00:18:02 +01:00 |
spaceface
|
d63b7bc35a
|
all: update repo to use the new error handling syntax (#8950)
|
2021-02-28 23:20:21 +03:00 |
spaceface
|
b9a381f101
|
all: migrate to the new Option (p. 1) (#8924)
|
2021-02-28 22:24:29 +03:00 |
Delyan Angelov
|
20f9bdfa8e
|
os: fixes for os.input(), os.get_raw_stdin(), os.get_raw_line() in case of stdin EOF
|
2021-02-27 20:02:36 +02:00 |
Nick Treleaven
|
23f231ee61
|
builtin: tag array methods unsafe: *_many, grow_len, pointers (#8983)
|
2021-02-26 22:55:09 +01:00 |
spaceface
|
8033203ef6
|
builtin: add an Option2 struct (#8890)
|
2021-02-22 18:44:15 +02:00 |
Nick Treleaven
|
15daeaeafa
|
cgen: add fixed array bounds checking for non-literal index (#8832)
|
2021-02-22 14:54:24 +02:00 |
zakuro
|
f54c1a5cc2
|
all: add strings.Builder.write_string and use write_string instead of write (#8892)
|
2021-02-22 13:18:11 +02:00 |
yuyi
|
9a744b6750
|
cgen: fix in map_literal (fix #8868) (#8871)
|
2021-02-21 11:54:30 +02:00 |
Stanislav Ershov
|
c190b6a131
|
vlib: remove older deprecated functions (#8864)
|
2021-02-20 20:42:55 +02:00 |
Stanislav Ershov
|
6a752512b2
|
os: fix os.real_path on Windows (#8822)
|
2021-02-19 11:20:06 +02:00 |
Delyan Angelov
|
bf6e9ff95a
|
Revert "parser: make duplicated functions an error (#8792)"
This reverts commit 21bf8fe14e .
|
2021-02-18 09:02:56 +02:00 |
zakuro
|
21bf8fe14e
|
parser: make duplicated functions an error (#8792)
|
2021-02-17 20:50:10 +01:00 |
Nick Treleaven
|
4ccf991f61
|
checker: warn when casting a fixed array (use `&arr[0]` instead) (#8787)
|
2021-02-17 20:45:11 +01:00 |
yuyi
|
177c8bfc78
|
builtin/array: merge array_eq_test.v into array_test.v (#8796)
|
2021-02-17 20:44:44 +01:00 |
Delyan Angelov
|
843de10442
|
parser,gen: fix `arr << map[key] using map_get_and_set_1, leading to double free
|
2021-02-16 16:39:31 +02:00 |
Quix
|
486bf8517f
|
builtin: fix typo (#8747)
|
2021-02-15 17:54:07 +02:00 |
Nick Treleaven
|
4a0367a63c
|
vlib: add [unsafe] tag to more functions: tos, string_from_wide, strings.Builder: write_bytes, free (#8766)
|
2021-02-15 17:15:52 +02:00 |
Nick Treleaven
|
b07f373433
|
builtin: make 5 C functions trusted, tweak signatures (#8730)
|
2021-02-14 19:37:32 +01:00 |
Nick Treleaven
|
ea803113c3
|
checker: check `unsafe` V function calls (#8752)
|
2021-02-14 19:31:42 +01:00 |
zakuro
|
e4f15605c0
|
checker: reject void type condition (#8737)
|
2021-02-14 07:33:24 +01:00 |
Nick Treleaven
|
84a16d8684
|
map: add `move` method (#8660)
|
2021-02-12 02:02:33 +02:00 |
Bobitsmagic
|
0f92485698
|
builtin: fix typo in builtin/array.v (#8658)
|
2021-02-09 17:04:47 +02:00 |
Nick Treleaven
|
9e751f72c4
|
doc, fmt: use `map{key: value}` syntax for map literals (#8623)
|
2021-02-08 16:57:42 +02:00 |
Lukas Neubert
|
473cd1d416
|
fmt: single line ternary return (#8605)
|
2021-02-08 00:28:46 +01:00 |
Larpon
|
bfd0bd1fb4
|
builtin: doc chan.v channel stub (#8577)
|
2021-02-07 12:42:24 +02:00 |
Alexander Medvednikov
|
a81ee0e94e
|
tools/fast: measure v.c size and parse/check/cgen steps
|
2021-02-07 04:48:54 +01:00 |
Delyan Angelov
|
d77bb2f606
|
all: improve -skip-unused, track consts, walk all AST nodes, support tests
|
2021-02-07 02:51:45 +02:00 |
Nick Treleaven
|
f5f65f929f
|
parser: parse `map{key_expr: val_expr}` (#8608)
|
2021-02-06 22:13:24 +01:00 |
Larpon
|
e83c39c81a
|
builtin: document rest of map.v (#8578)
|
2021-02-06 03:07:42 +01:00 |
Larpon
|
57258c2988
|
builtin: document remaining pub structs in builtin.v (#8576)
|
2021-02-05 21:02:29 +01:00 |
Larpon
|
44ab0154b2
|
builtin: document last of array.v (#8575)
|
2021-02-05 16:51:45 +01:00 |
Delyan Angelov
|
119dfc0bb0
|
all: support map[f32]string and map[f64]string (float map keys) too (#8556)
|
2021-02-04 23:59:49 +01:00 |
BigBlack
|
c5e7956eb5
|
checker: fix generic_mutable_arrays in functions (#8445)
|
2021-01-30 18:35:03 +01:00 |
Nick Treleaven
|
64d12cdc8d
|
checker: check number of C function arguments for some cases (#8444)
|
2021-01-30 18:33:36 +01:00 |
Daniel Däschle
|
2cadb3e4d8
|
gen: panic with correct type names (#8355)
|
2021-01-30 18:54:05 +02:00 |
yuyi
|
77b3d40f46
|
checker: fix `map = {}` (#8435)
|
2021-01-30 11:55:10 +01:00 |