summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-time/src
AgeCommit message (Expand)Author
2016-04-04fix possible memory leak in mruby-time gemYukihiro "Matz" Matsumoto
2015-11-27Implemented round(double) function within mruby-time gem, for it is missing onPaolo Bosetti
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-07-09use round for llround. some platform (ex: mingw32) doesn't have llround.Yasuhiro Matsumoto
2015-06-17Added a check for 64 bit time_t overflow; based on a patch from @kext; close ...Yukihiro "Matz" Matsumoto
2015-06-16Changed llrint to llroundLukas Joeressen
2015-06-15Rounding errors could make time_alloc impreciseLukas Joeressen
2015-03-22call C11's timespec_get()cremno
2014-10-03add similar range check for tm->usec as wellYukihiro "Matz" Matsumoto
2014-10-03always check range before casting time_t to mrb_intYukihiro "Matz" Matsumoto
2014-10-03time_t may overflow mrb_int when word boxing is usedYukihiro "Matz" Matsumoto
2014-08-20Add API `mrb_data_init` to initialize `MRB_TT_DATA` tagged instance.take_cheeze
2014-08-09timer on windows bug fixed.dycoon
2014-08-03Time#to_i and Time#usec should care about mrb_int overflow on MRB_INT16; ref ...Yukihiro "Matz" Matsumoto
2014-07-02Use `MRB_ARGS_ARG(n, o)` instead of `MRB_ARGS_REQ(n) | MRB_ARGS_OPT(o)`.take_cheeze
2014-07-02time overflow check; ref #2337Yukihiro "Matz" Matsumoto
2014-06-09Fix `Time.at` args spec.take_cheeze
2014-05-09pacify MSVC warnings for time.ckyab
2014-05-07Fix build on mingw32/64: struct timeval isn't defined in default. See: 642477...mattn
2014-05-02Update time.cwindwiny
2014-04-13mruby-time: fix check of `mktime`'s return valuecremno
2014-04-13mruby-time: remove unnecessary `tzset` callcremno
2014-03-13Don't redefine timeval on MingW64 environmentsMitchell Hashimoto
2014-03-06Fix build on mingw32mattn
2014-03-06fixed broken gettimeofday implementation for Windowsunak
2014-03-06Merge pull request #1812 from cremno/time-3Yukihiro "Matz" Matsumoto
2014-03-05mruby-time: add gettimeofday(2) for Windowscremno
2014-03-05mruby-time: fix indentation in mrb_time_asctimecremno
2014-03-05mruby-time: store timezone name directlycremno
2014-03-05mruby-time: timezone_names should be constcremno
2014-03-05mruby-time: store strings directly instead of pointers to themcremno
2014-03-05mruby-time: mrb_time_type should be constcremno
2014-03-05mruby-time: fix two tiny typos in commentscremno
2014-03-05mruby-time: rearrange header ordercremno
2014-03-05mruby-time: remove trailing whitespacecremno
2014-03-01use C style comments instead of C++ style commentscubicdaiya
2014-02-25small-optimization2 for mrb_time_zonecubicdaiya
2014-02-25small-optimization for mrb_time_zonecubicdaiya
2014-02-08made mrb_define_class to return existing class, with heavy refactoringYukihiro "Matz" Matsumoto
2013-08-15remove alloc from Time classYukihiro "Matz" Matsumoto
2013-08-15redesign mruby/data.h API; use DATA_PTR() for raw data pointer, DATA_GET_PTR(...Yukihiro "Matz" Matsumoto
2013-08-14define allocation method for Time class; close #1474Yukihiro "Matz" Matsumoto
2013-08-05muby-time: use mrb_free directlyBlaž Hrastnik
2013-06-18fix typo: Tus -> Tue.Tomoyuki Sahara
2013-05-26Add MRB_WORD_BOXING mode (represent mrb_value as a word)kimu_shu
2013-04-25add new macro MRB_ARGS_ARG(n1,n2) to specify required and optional arugments ...Yukihiro "Matz" Matsumoto
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-04-04rename DATA API: mrb_get_datatype -> mrb_data_get_ptr; mrb_check_datatype -> ...Yukihiro "Matz" Matsumoto
2013-03-24Adjusted indent, space and tabMATSUMOTO Ryosuke
2013-03-19rename mrb_true_or_false_value() to mrb_bool_value()Yukihiro Matz Matsumoto