summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-time/src
AgeCommit message (Collapse)Author
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: ↵mattn
642477ef6a92c553d7abb00051674f4b518046c3
2014-05-02Update time.cwindwiny
miss __MINGW32__ macro check
2014-04-13mruby-time: fix check of `mktime`'s return valuecremno
>If the calendar time cannot be represented, the function returns the value (time_t)(-1). http://www.iso-9899.info/n1256.html#7.23.2.3p3
2014-04-13mruby-time: remove unnecessary `tzset` callcremno
The gem doesn't use the global variables and: >Local timezone information is used as though localtime() calls tzset(). http://pubs.opengroup.org/onlinepubs/9699919799/functions/localtime.html
2014-03-13Don't redefine timeval on MingW64 environmentsMitchell Hashimoto
2014-03-06Fix build on mingw32mattn
2014-03-06fixed broken gettimeofday implementation for Windowsunak
small, but critical typo :)
2014-03-06Merge pull request #1812 from cremno/time-3Yukihiro "Matz" Matsumoto
mruby-time: add gettimeofday(2) for Windows
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
According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
2014-02-25small-optimization2 for mrb_time_zonecubicdaiya
mrb_str_new_static is more efficient than mrb_str_new in this case.
2014-02-25small-optimization for mrb_time_zonecubicdaiya
Using mrb_str_new instead of mrb_str_new_cstr
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, ↵Yukihiro "Matz" Matsumoto
DATA_GET_PTR() to type safe retrieval (TypeError will be raised), DATA_CHECK_GET_PTR() to get nil if type mismatched
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
at once
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
mrb_data_check_and_get
2013-03-24Adjusted indent, space and tabMATSUMOTO Ryosuke
2013-03-19rename mrb_true_or_false_value() to mrb_bool_value()Yukihiro Matz Matsumoto
2013-03-19Remove the macro mrb_bool_value(). Use mrb_true_or_false() instead.Masaki Muranaka
2013-03-16Remove unused string.h.Masaki Muranaka
2013-03-13set DATA_TYPE as soon as possible.Tomoyuki Sahara
2013-03-11Fix typoCarson McDonald
2013-03-01Fix two typosCarson McDonald
2013-02-28s/mgem/mrbgem/Yuichiro MASUI