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 |
|
Delyan Angelov
|
d9532eda30
|
checker: error on a.slice(x,y) outside builtin
|
2021-01-19 15:55:52 +02:00 |
|
yuyi
|
1d28c4de2a
|
cgen: fix multi fixed arrays with default init (fix #8038) (#8064)
|
2021-01-13 22:57:33 +02:00 |
|
yuyi
|
39bb6f0491
|
array: fix array of multi filter/map in one assignment (fix #7858) (#7976)
|
2021-01-10 21:08:45 +01:00 |
|
yuyi
|
704f38d87f
|
parser: fix multi fixed arrays init (#7996)
|
2021-01-10 06:58:31 +01:00 |
|
Uwe Krüger
|
cbe7740d97
|
fmt: do not generate import statements for auto imports (#7966)
|
2021-01-08 17:42:40 +01:00 |
|
yuyi
|
34c89258a4
|
cgen: fix array of array/map init (fix #7597) (#7671)
|
2020-12-29 11:50:25 +01:00 |
|
Swastik Baranwal
|
2795f929fa
|
checker: update check for arr=arr1 (#7651)
|
2020-12-28 18:35:34 +01:00 |
|
yuyi
|
9631eac9c5
|
cgen: fix array.index() of ref struct (#7652)
|
2020-12-28 18:33:57 +01:00 |
|
yuyi
|
d46b930c71
|
cgen: fix in array_of_ref_structs (fix #7623) (#7640)
|
2020-12-28 12:29:56 +02:00 |
|
yuyi
|
07459a77e3
|
cgen: fix gen_array_equality_fn() (#7633)
|
2020-12-28 12:26:50 +02:00 |
|
Swastik Baranwal
|
d87011ab78
|
cgen: fix generic contains method (#7618)
|
2020-12-27 20:07:53 +02:00 |
|