1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

37 Commits

Author SHA1 Message Date
9dd8228f91 arrays: move carray_to_varray from builtin, make it generic (#15503) 2022-08-23 11:12:50 +03:00
d679146a80 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
a225b25117 arrays: rephrase doc string (#14205) 2022-04-28 13:17:53 +03:00
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
25d8faabf6 cgen: fix alloc empty struct array error (#14007) 2022-04-11 14:16:09 +03:00
11d9a67e3b cgen: fix invalid operands to an_alias in an_array_of_aliased_values (#13994) 2022-04-10 11:42:17 +03:00
42f92db0ab v.doc: parse multi-line examples (so they get highlighted) (#13894) 2022-04-02 18:29:12 +03:00
4bea35b028 vlib/arrays: fix copy to not use memcpy for array, map, string (#13703) 2022-03-10 01:30:51 +03:00
7231a3f135 vlib: add mut for the first parameter of builtin.copy, arrays.copy and crypto (#13702) 2022-03-09 20:26:00 +02:00
54de04a916 arrays: improve fold/reduce docs (#13700) 2022-03-09 20:04:49 +02:00
17fcc788f2 arrays: add generic copy fn (#13677) 2022-03-08 09:44:04 +02:00
4ef7d26133 arrays: add rotate_left and rotate_right (#13388) 2022-02-07 13:20:45 +02:00
5e5d62ed4c arrays,docs: remove arrays.zip; improve docs (#13082) 2022-01-09 16:12:33 +02:00
6e6d51a1c9 docs: add more documentation to each of the modules in vlib (#13043) 2022-01-07 13:28:50 +02:00
a60b381d5e docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
f282e64fe3 arrays: add binary_search, lower_bound, and upper_bound array operations (#12045) 2021-10-03 08:14:39 +03:00
09dfc3f301 arrays: add a generic arrays.concat(os.args,'abc','xyz') function (#11985) 2021-09-26 19:41:50 +03:00
108a01d65f fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
7145461cc5 arrays: switch panics to optionals (#11497) 2021-09-15 15:17:55 +03:00
0c0e28df6e arrays: add more modern array operation functions (#11488) 2021-09-14 16:49:23 +03:00
2ced845e30 arrays: add chunk and window functions (#11476) 2021-09-13 16:13:32 +03:00
66bc8bc0cb vlib: remove many deprecated functions (#10972) 2021-07-28 09:22:19 +03:00
a902178fdb arrays: implement python-inspired array zip function and test (#8667) 2021-03-07 11:58:13 +02:00
2be852e461 arrays: use for/in instead of unsafe [direct_array_access] (#8857) 2021-02-20 15:27:36 +02:00
9a1da1a97b rand: move the shuffle function from arrays to rand.util (#8587) 2021-02-05 20:24:38 +02:00
13b14ecead test-cleancode: add the arrays module too (#7583) 2020-12-26 20:21:52 +02:00
f0391f7a8f cgen: fix assignment of fixed array var to another var (#7429) 2020-12-21 06:03:09 +01:00
dab66593fc vlib: run vfmt over vlib files, so that v doc -m vlib/ can run without warnings 2020-10-21 12:54:10 +03:00
3795aaab5c v test-fmt: reformat some skipped files, comment on the remaining ones 2020-10-15 00:39:09 +03:00
9a5b86e454 arrays: common methods - min, max, idx_min, idx_max, shuffle, merge (#6177) 2020-09-07 13:50:53 +02:00
034bf46e4d vlib: remove unused arrays module 2020-05-16 00:20:14 +03:00
2574dce174 all: fix remaining []array warnings 2020-04-26 16:25:54 +02:00
df37597f00 tests: disable cookie test for now 2020-04-14 03:43:59 +02:00
ccb041c831 arrays: improve range function 2019-12-25 15:52:27 +03:00
316cf025ae arrays: fix range 2019-10-30 17:30:49 +03:00
aa39451c8b arrays.range(min, max) 2019-10-30 16:21:57 +03:00