summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-time
AgeCommit message (Expand)Author
2021-03-14time.c: calendar clock should use `CLOCK_REALTIME`; 5e95f11Yukihiro "Matz" Matsumoto
2021-03-08time.c: fix errors on Windows and macOS; ref #5354Yukihiro "Matz" Matsumoto
2021-03-08ISO C99 doesn't support unnamed unions; fix #5354Yukihiro "Matz" Matsumoto
2021-03-03time.c: `timespec_get()` never fails.Yukihiro "Matz" Matsumoto
2021-03-03time.c: fixed wrong condition to include `unistd.h`.Yukihiro "Matz" Matsumoto
2021-03-03time.c: Windows does not have `unistd.h`.Yukihiro "Matz" Matsumoto
2021-03-03time.c: use `clock_gettime()` if possible.Yukihiro "Matz" Matsumoto
2021-03-03time.c: adjust buffer size in `mrb_time_asctime()`.Yukihiro "Matz" Matsumoto
2021-03-03time.c: fix compile errors in `mrb_time_asctime()`.Yukihiro "Matz" Matsumoto
2021-03-01time.c: fixed a bug on no builtin overflow (e.g. VC).Yukihiro "Matz" Matsumoto
2021-03-01time.c: avoid using `mrb_int_{add,sub}_overflow()`.Yukihiro "Matz" Matsumoto
2021-02-28time.c: check overflow in addition and subtraction of `Time`.Yukihiro "Matz" Matsumoto
2021-02-28Remove periods from error messages according to the convention.Yukihiro "Matz" Matsumoto
2021-02-28time.c: change `RuntimeError` to `ArgumentError`.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-21Rename `MRB_{ENABLE,DISABLE}_` to `MRB_{USE,NO}_`; close #5163KOBAYASHI Shuji
2020-10-12Use `mrb_integer()` instead of `mrb_int()`.Yukihiro "Matz" Matsumoto
2020-10-12Use `mrb_int_value()` instead of `mrb_fixnum_value()`.Yukihiro "Matz" Matsumoto
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-12Change out-of-range condition of `time_t` conversion.Yukihiro "Matz" Matsumoto
2020-10-12Avoid out-of-range error for negative time on `MRB_TIME_T_UINT`.Yukihiro "Matz" Matsumoto
2020-10-12Use functions that take symbols to reduce string litrals in C.Yukihiro "Matz" Matsumoto
2020-06-20Add `mrb_get_arg1()` that retrieves single (and only) argument.Yukihiro "Matz" Matsumoto
2020-06-03Merge pull request #4800 from shuujii/set-MRB_STR_ASCII-flag-to-some-stringiz...Yukihiro "Matz" Matsumoto
2020-03-08Remove unnecessary 'stdio.h'; ref #4947dearblue
2020-02-12Fix integer boundary check before `float` to `time_t` casting.Yukihiro "Matz" Matsumoto
2019-12-31Silence GCC warning in `time.c` on Travis CIKOBAYASHI Shuji
2019-12-05Auto detect `MRB_TIME_T_UINT`KOBAYASHI Shuji
2019-12-03Silence Clang warning with `MRB_INT64` and `MRB_32BIT` in `time.c`KOBAYASHI Shuji
2019-12-02Silence Clang warning with `MRB_INT32` and `MRB_64BIT` in `time.c`KOBAYASHI Shuji
2019-10-31Set `MRB_STR_ASCII` flag to some stringize methodsKOBAYASHI Shuji
2019-10-10Fixed a bug in `mruby-time` with `NO_GETTIMEOFDAT`.Yukihiro "Matz" Matsumoto
2019-09-25Fix `MRB_WITHOUT_FLOAT` reversal; fix #4598dearblue
2019-08-05Use new specifiers/modifiers of `mrb_vfromat()`KOBAYASHI Shuji
2019-08-03Suppress compiler warnings for mruby-time; fix #4600dearblue
2019-07-31Fix UTC offset representation in `Time#to_s` on some environments; ref #4604KOBAYASHI Shuji
2019-07-29Fix Time#to_s encoding on WindowsSutou Kouhei
2019-07-27Fix the lack of precision for `Time`; ref d74355061dearblue
2019-07-27Fix mruby-time with `MRB_WITHOUT_FLOAT`; ref d74355061dearblue
2019-07-22Fix `mruby-time` to work with `MRB_WITHOUT_FLOAT`; ref #4576Yukihiro "Matz" Matsumoto
2019-07-22Improve conflict error message of `Time` and `Math`; ref #4576Yukihiro "Matz" Matsumoto
2019-07-14Error needed/conflicts configurationdearblue
2019-05-24Fix the order of "expected" and "actual" in `mruby-time` testKOBAYASHI Shuji
2019-05-16Refactor `time.c` regarding memory allocation.Yukihiro "Matz" Matsumoto
2019-05-14Refine `Time#(to_s|inspect)`KOBAYASHI Shuji
2019-05-13Fix `Time#(asctime|ctime)` according to ISO RubyKOBAYASHI Shuji