yuyi
|
d2cb41c887
|
builtin: cleanup by merging fixed array tests into one test file (#22884)
|
2024-11-17 12:58:36 +02:00 |
|
yuyi
|
c7bdc0a781
|
cgen: fix aliases of array insert(...)/prepend(...) (fix #22323) (#22324)
|
2024-09-27 07:41:13 +03:00 |
|
yuyi
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
yuyi
|
19f080ffb8
|
all: change single blank comment to blank line (#22016)
|
2024-08-09 14:55:58 +03:00 |
|
Turiiya
|
f77bb32044
|
all: fix typos (#21089)
|
2024-03-25 12:18:27 +02:00 |
|
Alexander Medvednikov
|
f09826e928
|
all: unwrap const() blocks
|
2023-11-25 10:02:51 +03:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Turiiya
|
f98bb863ab
|
vlib: fix typos and formatting (#19649)
|
2023-10-25 11:19:56 +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
|
58b6ba81d1
|
builtin: implement array.sorted() and array.sorted_with_compare() methods, that do not modify their receivers (#19251)
|
2023-09-01 09:12:00 +03:00 |
|
Delyan Angelov
|
abe0ad886b
|
ci: workaround flakyness of array_test.v on windows, with the default GC mode
|
2023-04-09 09:48:15 +03:00 |
|
Delyan Angelov
|
ebfc4b4663
|
builtin: remove test for the deprecated []int.reduce/2
|
2023-04-08 18:47:04 +03:00 |
|
ChAoS_UnItY
|
ae6a48c0e3
|
all: rename it to index in array inits (#17543)
|
2023-03-08 20:51:45 +01:00 |
|
yuyi
|
93a3f5ff7d
|
builtin, cgen: fix array of struct with map field initialize (fix #17325) (#17340)
|
2023-02-18 20:34:15 +02:00 |
|
yuyi
|
ef5be22f81
|
all: replace generic <> with [] - part 2 (#16536)
|
2022-11-26 18:23:26 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
shove
|
26d643fc5d
|
all: rollback to old interpolation (step 3) (#16380)
|
2022-11-10 15:05:34 +03:00 |
|
Alexander Medvednikov
|
e1ffc76efd
|
tests: fix some interpolation tests
|
2022-10-27 11:12:15 +03:00 |
|
yuyi
|
7b8044b8c4
|
cgen: fix using 'array' name variable in array_init (#16168)
|
2022-10-23 22:23:15 +03:00 |
|
ChAoS_UnItY
|
df80b33dc0
|
cgen: fix array init with it (fix #14679) (#14680)
|
2022-06-05 19:41:54 +03:00 |
|
Delyan Angelov
|
1a4d9017e2
|
builtin: improve support for large arrays ([]int{len: 1_000_000_000} now works), fix an arr.repeat() bug (#14294)
|
2022-05-04 18:42:06 +03:00 |
|
yuyi
|
b9cf2db6a8
|
parser: fix inline array's element access (#14253)
|
2022-05-02 16:16:32 +03:00 |
|
Alexander Medvednikov
|
d4a0d6f73c
|
all: byte => u8
|
2022-04-15 14:58:56 +03:00 |
|
Nick Treleaven
|
782d5374c9
|
builtin: add an array.drop(n) method (#13907)
|
2022-04-03 17:05:50 +03:00 |
|
jeffmikels
|
9329b6c8c8
|
builtin: add more documentation (#13160)
|
2022-01-14 17:27:38 +02:00 |
|
yuyi
|
108a01d65f
|
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
|
2021-09-21 16:20:09 +03:00 |
|
yuyi
|
f44eb88a8d
|
vfmt: fmt '!(a in/is b)' to 'a !in/is b' (#11335)
|
2021-08-30 09:45:36 +03:00 |
|
Enzo
|
7346aeca5f
|
cgen: refactor array sort generation (#11067)
|
2021-08-06 03:55:48 +03:00 |
|
Daniel Däschle
|
800c0e5092
|
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
|
2021-08-04 12:44:41 +03:00 |
|
yuyi
|
b870f7a6f1
|
cgen: fix array sort error (#11046)
|
2021-08-04 06:31:57 +03:00 |
|
Uwe Krüger
|
41982053f1
|
builtin: make array.delete() reallocate, provide .delete_many() (#10889)
|
2021-07-21 20:55:32 +03:00 |
|
Delyan Angelov
|
aea23e8a40
|
strconv: fix fxx_to_str_l_parse/fxx_to_str_l_parse_no_dot returning s without cloning
|
2021-06-19 07:48:46 +03:00 |
|
Delyan Angelov
|
be3702dcb7
|
builtin: uncomment already working test functions in array_test.v
|
2021-06-14 10:13:59 +03:00 |
|
Uwe Krüger
|
a2243054a5
|
builtin: fix memory corruption in array .clone() and .repeat() (#10394)
|
2021-06-08 23:23:28 +03:00 |
|
yuyi
|
7f81702d81
|
builtin: optimize array sort (#9570)
|
2021-04-03 12:16:18 +02:00 |
|
yuyi
|
3637bac716
|
cgen: fix rune array sort (#9561)
|
2021-04-02 16:28:27 +02:00 |
|
Delyan Angelov
|
ea3d1405ee
|
ci: fix failing -Werror job with tcc
|
2021-03-19 09:34:41 +02:00 |
|
Delyan Angelov
|
09802707b1
|
tests: move rlock and shared array tests from builtin to sync
|
2021-03-18 19:51:11 +02:00 |
|
yuyi
|
2b9ffbda42
|
cgen: fix array_sort by different order of a/b (#9106)
|
2021-03-04 11:19:02 +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 |
|
Nick Treleaven
|
9e751f72c4
|
doc, fmt: use map{key: value} syntax for map literals (#8623)
|
2021-02-08 16:57:42 +02:00 |
|
BigBlack
|
c5e7956eb5
|
checker: fix generic_mutable_arrays in functions (#8445)
|
2021-01-30 18:35:03 +01:00 |
|
Lukas Neubert
|
75d85403a6
|
fmt: better ternary concat wrapping (#8379)
|
2021-01-28 11:23:48 +01:00 |
|
zakuro
|
22847d1ec3
|
fmt: assert (a == b) -> assert a == b (#8351)
|
2021-01-26 10:36:21 +01:00 |
|
Delyan Angelov
|
dbaccd4272
|
vfmt: shorten main.const_name to just const_name
|
2021-01-25 20:57:33 +02:00 |
|
Alexander Medvednikov
|
29d6e40f29
|
all: vfmt (new const rule)
|
2021-01-24 10:54:27 +01:00 |
|
Lukas Neubert
|
8b61891348
|
fmt: smarter if condition wrapping (#8201)
|
2021-01-23 10:33:22 +02:00 |
|
yuyi
|
242c5760f1
|
array: fix array_clone (fix #8220) (#8238)
|
2021-01-21 10:17:00 +01:00 |
|