summaryrefslogtreecommitdiffhomepage
path: root/src/range.c
AgeCommit message (Expand)Author
2021-09-03range.c: `len = b - a` may overflow.Yukihiro "Matz" Matsumoto
2021-09-03range.c: hide internal `__num_to_a' method from backtrace.Yukihiro "Matz" Matsumoto
2021-07-09range.c: avoid implicit conversion from `mrb_float` to `mrb_int`.Yukihiro "Matz" Matsumoto
2021-07-08range.c: should not include internal `__num_to_a` in the backtrace.Yukihiro "Matz" Matsumoto
2021-06-20Added `MRB_OBJ_ALLOC()` macro that does not require a castdearblue
2021-05-17Global renaming regarding `integer` and `float`.Yukihiro "Matz" Matsumoto
2021-05-14range.c: implement (part of) `Range#to_a` in C.Yukihiro "Matz" Matsumoto
2021-05-14range.c: refactor conditional compilation code.Yukihiro "Matz" Matsumoto
2021-05-14range.c: rename `RANGE_INITIALIZED_MASK` to `RANGE_INITIALIZED_FLAG`.Yukihiro "Matz" Matsumoto
2021-03-17range.c: fixed a begin-less ranges issue.Yukihiro "Matz" Matsumoto
2021-01-26Revert "Minimize the changes in #5277"Yukihiro "Matz" Matsumoto
2021-01-22Minimize the changes in #5277Yukihiro "Matz" Matsumoto
2021-01-11Avoid including `presym.inc` in existing header filesKOBAYASHI Shuji
2020-11-02Make Ranges frozen as Ruby3.0.Yukihiro "Matz" Matsumoto
2020-10-16Add startless range (another part of #5085)Yukihiro "Matz" Matsumoto
2020-10-16Remove uninitialized local variable warning.Yukihiro "Matz" Matsumoto
2020-10-15Merge branch 'work_for_merge' of https://github.com/zubycz/mruby into zubycz-...Yukihiro "Matz" Matsumoto
2020-10-13Introduce endless range (a part of #5085)taiyoslime
2020-10-12Reorganize `Integer` system.Yukihiro "Matz" Matsumoto
2020-10-12Rename `MRB_TT_FIXNUM` to `MRB_TT_INTEGER`.Yukihiro "Matz" Matsumoto
2020-10-12Rename float configuration option names.Yukihiro "Matz" Matsumoto
2020-10-12Add `MRB_SYM()` for inline symbols.Yukihiro "Matz" Matsumoto
2020-06-20Add `mrb_get_arg1()` that retrieves single (and only) argument.Yukihiro "Matz" Matsumoto
2019-09-26Use type predicate macros instead of `mrb_type` if possibleKOBAYASHI Shuji
2019-09-14Remove `mrb_funcall` from `<=>` operations.Yukihiro "Matz" Matsumoto
2019-09-14Use `mrb_equal` instead of `mrb_funcall`.Yukihiro "Matz" Matsumoto
2019-08-05Use new specifiers/modifiers of `mrb_vfromat()`KOBAYASHI Shuji
2019-06-28Remove unnecessary backticks in `src/range.c`; ref #2858KOBAYASHI Shuji
2019-05-25Name the return value of `mrb_range_beg_len()`dearblue
2019-01-04Remove unused local variable `n` in `range_initialize`; #4213Yukihiro "Matz" Matsumoto
2019-01-03range: Refactor range.h/range.cKOBAYASHI Shuji
2019-01-01range: Embed edges in RRange on boxing environment.KOBAYASHI Shuji
2018-06-14Need to add a write barrier for ranges; fix #4042Yukihiro "Matz" Matsumoto
2017-10-11Add MRB_WITHOUT_FLOATYAMAMOTO Masaya
2017-09-27fix: src\range.c(136): warning C4244: '=': conversion from 'mrb_int' to 'int'...Tomasz Dąbrowski
2017-08-26Keep `Range` class in `mrb_state` structure for performance.Yukihiro "Matz" Matsumoto
2017-01-23Change return type of mrb_range_beg_len() from `int` to `mrb_int`.Yukihiro "Matz" Matsumoto
2017-01-23Add MRB_API to mrb_range_beg_len(); ref #3411Yukihiro "Matz" Matsumoto
2017-01-23Changed the behavior of mrb_range_beg_len(); close #3411Yukihiro "Matz" Matsumoto
2016-12-13Check type before calling mrb_range_ptr.Clayton Smith
2016-12-03Check before retrieving struct RRange pointer; fix #3320Yukihiro "Matz" Matsumoto
2016-11-18Range#include?: simplify condition; ref #3255Yukihiro "Matz" Matsumoto
2016-11-18Merge pull request #3255 from ksss/range-includeYukihiro "Matz" Matsumoto
2016-11-18Fix condition of Range#include?ksss
2016-11-17Ranges should not rewriteksss
2016-10-24macro mrb_bool() may evaluate arg multiple times; ref #3228Yukihiro "Matz" Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-07-16use mrb_str_cat_str() instead of mrb_str_append()cremno
2014-08-16removed unused variable in range_beg_lengo kikuta
2014-08-04fix linkage of range_beg_len and mrb_range_beg_lencremno