summaryrefslogtreecommitdiffhomepage
path: root/src/time.c
AgeCommit message (Expand)Author
2013-02-26Pluggable Time classmattn
2012-12-03Ruby's Time#yday should start from 1; close #581Yukihiro Matz Matsumoto
2012-10-15Avoid memcpy() on copying structure.Masaki Muranaka
2012-09-11Fixes #464.Shannen Saez
2012-09-10Fixed Windows warning.Shannen Saez
2012-09-06add Time#inspectYukihiro Matsumoto
2012-08-02Time.new may not take any argumentYukihiro Matsumoto
2012-08-01add cast to pacify optimizerYukihiro Matsumoto
2012-07-31float do not have enough precision if MRB_USE_FLOAT is setYukihiro Matsumoto
2012-07-29Make all(?) void casts explicit for C++Max Anselm
2012-07-23treat exceptional usec valueYukihiro Matsumoto
2012-07-23remove duplicated variable declarationYukihiro Matsumoto
2012-07-23separate sec and usec in mrb_time_plusYukihiro Matsumoto
2012-07-23time.c: separate sec and usec to keep precisionsYukihiro Matsumoto
2012-07-22Time.at should take optional second argumentYukihiro Matsumoto
2012-07-09should remove memset initialization; update 7496625Yukihiro Matsumoto
2012-07-09initialize stuctures on stack without memset(); close #350Yukihiro Matsumoto
2012-06-27Use sizeof to get char array sizes.Masaki Muranaka
2012-06-23reduce calling mrb_str_new_cstr() to avoid strlen(); #301Yukihiro Matsumoto
2012-06-15use ENABLE/DISABLE instead of INCLUDE for configuration macro namesYukihiro Matsumoto
2012-06-15Time class made optinalYukihiro Matsumoto
2012-06-05Time#- should return time if operand is a numberYukihiro Matsumoto
2012-06-05Add Time#utcDaniel Bovensiepen
2012-06-04add Time#getlocal/getgm/getutcYukihiro Matsumoto
2012-06-04time.c add ISO section numbersYukihiro Matsumoto
2012-06-03remove a blank lineYukihiro Matsumoto
2012-06-03time - time should not return time, but numberYukihiro Matsumoto
2012-05-24made mrb_get_args() better (optinal args, type checks); close #173 #176Yukihiro Matsumoto
2012-05-21use mrb_int for struct tm fractionsYukihiro Matsumoto
2012-05-17gmtime_r emulated by gmtime_s should return struct tm*; close #146Yukihiro Matsumoto
2012-05-16fix #127 on mingw.mattn
2012-05-13emulate gmtime_r/localtime_r by gmtime_s/localtime_s on WindowsYukihiro Matsumoto
2012-05-08fix #ifdef to pass on windows.mattn
2012-05-08rename current_time -> current_mrb_timeYukihiro Matsumoto
2012-05-08add 1usec to differentiate two timesYukihiro Matsumoto
2012-05-08rename macros NO_USE_ -> NO_Yukihiro Matsumoto
2012-05-07update time configuration; now config macros can be supplied by -D compiler o...Yukihiro Matsumoto
2012-05-07use portable gmtimeYukihiro Matsumoto
2012-05-07initialize_copy: copy destination object may not be intializedYukihiro Matsumoto
2012-05-07remove warning.mattn
2012-05-07time functions on windows.mattn
2012-05-06test_time should passYukihiro Matsumoto
2012-05-06Time class available; based on code from @beoran; sorry for jumbo patchYukihiro Matsumoto
2012-05-04move mrb_str_new prototype to mruby.hYukihiro Matsumoto