summaryrefslogtreecommitdiffhomepage
path: root/src/array.c
AgeCommit message (Expand)Author
2019-09-18Remove `mrb_get_args(mrb, "")`; ref 30f37872KOBAYASHI Shuji
2019-09-14Add a macro `mrb_frozen_p` that points to `MRB_FROZEN_P`.Yukihiro "Matz" Matsumoto
2019-08-18Prohibit changes to iseq in principledearblue
2019-08-17Implement `Array#each` using inline mruby bytecode.Yukihiro "Matz" Matsumoto
2019-08-05Use new specifiers/modifiers of `mrb_vfromat()`KOBAYASHI Shuji
2019-06-23Fix argument specs to `Array`KOBAYASHI Shuji
2019-05-25Name the return value of `mrb_range_beg_len()`dearblue
2019-04-09Extract frozen checking to functionKOBAYASHI Shuji
2019-04-06Move `Array#(append|prepend)` from core to `mruby-ary-ext`KOBAYASHI Shuji
2018-12-15Make mrb_ary_clear() function callable from C againTakashi Sawanaka
2018-11-19Removed `to_ary` conversion method.Yukihiro "Matz" Matsumoto
2018-10-29Add argument check to `Array#clear`; fix #4144Yukihiro "Matz" Matsumoto
2018-09-18Array size may be changed in `mrb_get_args()` reentry.Yukihiro "Matz" Matsumoto
2018-09-07Clear terminated spacedearblue
2018-04-25Fix array replace leak error in mruby-uri.Takeshi Watanabe
2018-04-18`ary_dup()` should not use `ary_replace(); fix #4004Yukihiro "Matz" Matsumoto
2018-04-18A new function `ary_from_values()`; ref #4004Yukihiro "Matz" Matsumoto
2018-04-17Make `ary_replace()` to share entry buffers if possible.Yukihiro "Matz" Matsumoto
2018-04-17Make `ary_concat()` to replace the receiver when it is empty.Yukihiro "Matz" Matsumoto
2018-04-17Make `ary_replace()` to take `struct RArray*` argument.Yukihiro "Matz" Matsumoto
2018-04-17Implement `Array#__svalue` in C.Yukihiro "Matz" Matsumoto
2018-03-19Set array length after expanding capacity.Takeshi Watanabe
2017-12-12Modifying frozen objects will raise `FrozenError`.Yukihiro "Matz" Matsumoto
2017-11-13The number of argument should be retrieved by `mrb_get_argc`; fix #3848Yukihiro "Matz" Matsumoto
2017-10-11Add MRB_WITHOUT_FLOATYAMAMOTO Masaya
2017-08-26Reimplement `Array#shift` to be faster.Yukihiro "Matz" Matsumoto
2017-08-26`Array#first` to treat 1 argument case specially to improve performance.Yukihiro "Matz" Matsumoto
2017-08-19Zero width `unshift` should not touch memory; ref #3780Yukihiro "Matz" Matsumoto
2017-08-19Unshift pointer move size was wrong (not `len` but `alen`); fix #3780Yukihiro "Matz" Matsumoto
2017-08-18Reduce signed/unsigned comparison warnings; ref #3785Yukihiro "Matz" Matsumoto
2017-08-18Separate `mrb_str_buf_new` and `mrb_str_new_capa`.Yukihiro "Matz" Matsumoto
2017-08-18Improve Array structureMiura Hideki
2017-08-11Remove unnecessary inline function `ary_elt`.Yukihiro "Matz" Matsumoto
2017-08-05Fixed heap buffer overflow in `mrb_ary_unshift_m`; fix #3760Yukihiro "Matz" Matsumoto
2017-07-27Embed small size array elements in the heap.Yukihiro "Matz" Matsumoto
2017-07-12Use "$!" specifier of `mrb_get_args`.Yukihiro "Matz" Matsumoto
2017-07-12Add `ary_modify_check()` to `Array#unshift`; ref #3737Yukihiro "Matz" Matsumoto
2017-07-09Should only check frozen for Array#popksss
2017-07-09Should only check frozen fix #3737ksss
2017-06-20Array size can be cause integer overflow; fix #3710Yukihiro "Matz" Matsumoto
2017-06-17Use `mrb_int` instead of `size_t` for array capacity and length.Yukihiro "Matz" Matsumoto
2017-05-31Prevent splicing big recursive arrrays; ref #3679Yukihiro "Matz" Matsumoto
2017-04-25Silence warnings caused by implicit type casting.Yukihiro "Matz" Matsumoto
2017-04-01Add alias "append" to Array#push, and "prepend" to Array#unshift.Yukihiro "Matz" Matsumoto
2017-03-29Set proper class to subclass of Arrayokkez
2017-03-19Should not check/call `to_str` for immediate objects; ref #3515Yukihiro "Matz" Matsumoto
2017-03-19Need not to call mrb_obj_as_string() is sep is nil.Yukihiro "Matz" Matsumoto
2017-01-24Use size_t to avoid integer overflow in mrb_ary_splice(); fix #3413Yukihiro "Matz" Matsumoto
2017-01-23Refactoring: Use array_copy instead of for loopksss
2017-01-23Changed the behavior of mrb_range_beg_len(); close #3411Yukihiro "Matz" Matsumoto