| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-07-09 | use round for llround. some platform (ex: mingw32) doesn't have llround. | Yasuhiro Matsumoto | |
| 2015-06-17 | Added a check for 64 bit time_t overflow; based on a patch from @kext; close ↵ | Yukihiro "Matz" Matsumoto | |
| #2836 | |||
| 2015-06-16 | Changed llrint to llround | Lukas Joeressen | |
| 2015-06-15 | Rounding errors could make time_alloc imprecise | Lukas Joeressen | |
| 2015-03-22 | call C11's timespec_get() | cremno | |
| gettimeofday() is an obsolescent POSIX function which may be removed in a future version. POSIX recommends using clock_gettime() (also POSIX) instead, but it isn't available on OS X or Windows (at least with MSVC and older MinGW versions). Whereas timespec_get() is part of ISO C11 and mruby uses some small other C11 features too. It isn't universally available yet either, but it might be in the future. And Visual C++ 2015 implements it! Since mruby strives for ISO C and not POSIX compatibility, I think it's a reasonable choice. TIME_UTC is used instead of __STDC_VERSION__, because if TIME_UTC is defined, then most likely timespec_get() is too. This isn't true in case of __STDC_VERSION__ (see MSVC). | |||
| 2014-10-03 | add similar range check for tm->usec as well | Yukihiro "Matz" Matsumoto | |
| 2014-10-03 | always check range before casting time_t to mrb_int | Yukihiro "Matz" Matsumoto | |
| 2014-10-03 | time_t may overflow mrb_int when word boxing is used | Yukihiro "Matz" Matsumoto | |
| 2014-08-20 | Add API `mrb_data_init` to initialize `MRB_TT_DATA` tagged instance. | take_cheeze | |
| 2014-08-09 | timer on windows bug fixed. | dycoon | |
| 2014-08-03 | Time#to_i and Time#usec should care about mrb_int overflow on MRB_INT16; ref ↵ | Yukihiro "Matz" Matsumoto | |
| #2495 | |||
| 2014-07-02 | Use `MRB_ARGS_ARG(n, o)` instead of `MRB_ARGS_REQ(n) | MRB_ARGS_OPT(o)`. | take_cheeze | |
| 2014-07-02 | time overflow check; ref #2337 | Yukihiro "Matz" Matsumoto | |
| 2014-06-15 | Test all ISO defined classes direct superclass except `Object` class. | take_cheeze | |
| Move mrbgems ISO direct superclass test to `superclass.rb`. Skips test if class isn't defined. Close #2332. | |||
| 2014-06-09 | Fix `Time.at` args spec. | take_cheeze | |
| 2014-05-09 | pacify MSVC warnings for time.c | kyab | |
| 2014-05-07 | Remove `Time` defined check in test. | take_cheeze | |
| 2014-05-07 | Fix build on mingw32/64: struct timeval isn't defined in default. See: ↵ | mattn | |
| 642477ef6a92c553d7abb00051674f4b518046c3 | |||
| 2014-05-05 | Implement day of week methods. | take_cheeze | |
| 2014-05-02 | Update time.c | windwiny | |
| miss __MINGW32__ macro check | |||
| 2014-04-13 | mruby-time: fix check of `mktime`'s return value | cremno | |
| >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-13 | mruby-time: remove unnecessary `tzset` call | cremno | |
| 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-17 | move summary of mrbgems in default gembox to its spec | take_cheeze | |
| 2014-03-13 | Don't redefine timeval on MingW64 environments | Mitchell Hashimoto | |
| 2014-03-06 | Fix build on mingw32 | mattn | |
| 2014-03-06 | fixed broken gettimeofday implementation for Windows | unak | |
| small, but critical typo :) | |||
| 2014-03-06 | Merge pull request #1812 from cremno/time-3 | Yukihiro "Matz" Matsumoto | |
| mruby-time: add gettimeofday(2) for Windows | |||
| 2014-03-05 | mruby-time: add gettimeofday(2) for Windows | cremno | |
| 2014-03-05 | mruby-time: fix indentation in mrb_time_asctime | cremno | |
| 2014-03-05 | mruby-time: store timezone name directly | cremno | |
| 2014-03-05 | mruby-time: timezone_names should be const | cremno | |
| 2014-03-05 | mruby-time: store strings directly instead of pointers to them | cremno | |
| 2014-03-05 | mruby-time: mrb_time_type should be const | cremno | |
| 2014-03-05 | mruby-time: fix two tiny typos in comments | cremno | |
| 2014-03-05 | mruby-time: rearrange header order | cremno | |
| 2014-03-05 | mruby-time: remove trailing whitespace | cremno | |
| 2014-03-01 | use C style comments instead of C++ style comments | cubicdaiya | |
| 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-25 | small-optimization2 for mrb_time_zone | cubicdaiya | |
| mrb_str_new_static is more efficient than mrb_str_new in this case. | |||
| 2014-02-25 | small-optimization for mrb_time_zone | cubicdaiya | |
| Using mrb_str_new instead of mrb_str_new_cstr | |||
| 2014-02-08 | made mrb_define_class to return existing class, with heavy refactoring | Yukihiro "Matz" Matsumoto | |
| 2013-08-15 | remove alloc from Time class | Yukihiro "Matz" Matsumoto | |
| 2013-08-15 | redesign 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-14 | define allocation method for Time class; close #1474 | Yukihiro "Matz" Matsumoto | |
| 2013-08-05 | muby-time: use mrb_free directly | Blaž Hrastnik | |
| 2013-07-23 | "spec.author" is better for single-author gems. | Tomoyuki Sahara | |
| "spec.author=" expects a String represents a single author. "spec.authors=" expects an Array which is a list of multiple authors. http://guides.rubygems.org/specification-reference/ | |||
| 2013-06-18 | fix typo: Tus -> Tue. | Tomoyuki Sahara | |
| 2013-05-26 | Add MRB_WORD_BOXING mode (represent mrb_value as a word) | kimu_shu | |
| 2013-04-25 | add new macro MRB_ARGS_ARG(n1,n2) to specify required and optional arugments ↵ | Yukihiro "Matz" Matsumoto | |
| at once | |||
| 2013-04-25 | rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206 | Yukihiro "Matz" Matsumoto | |
| 2013-04-04 | rename DATA API: mrb_get_datatype -> mrb_data_get_ptr; mrb_check_datatype -> ↵ | Yukihiro "Matz" Matsumoto | |
| mrb_data_check_and_get | |||
