summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-time
AgeCommit message (Expand)Author
2021-08-21Organize the include of header filesdearblue
2021-07-25time.c: fixed a potential buffer overflow in `time_zonename`.Yukihiro "Matz" Matsumoto
2021-07-25time.c: fixed `time_zonename` buffer size bug.Yukihiro "Matz" Matsumoto
2021-07-25time.c: stop returning `LOCAL` for the zone name from `Time.zone`.Yukihiro "Matz" Matsumoto
2021-07-25time.c: update the document for `Time#usec`; close #5515Yukihiro "Matz" Matsumoto
2021-07-25Remove redundant include headers.Yukihiro "Matz" Matsumoto
2021-05-08time.c: Windows API provides `clock_gettime`.Yukihiro "Matz" Matsumoto
2021-04-24Skip tests that use `Float` inside; ref #5421Yukihiro "Matz" Matsumoto
2021-04-24time.c: `fixable_time_t_p` is not used with `MRB_NO_FLOAT`; #5421Yukihiro "Matz" Matsumoto
2021-04-23time.c: `time_t` may be unsigned on some platforms.Yukihiro "Matz" Matsumoto
2021-04-19time.c: add integer boundary check for year.Yukihiro "Matz" Matsumoto
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