summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
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-05small refactortakkaw
2014-03-05use mrb_int instead of size_t since string length is represented by mrb_int; ↵Yukihiro "Matz" Matsumoto
close #1810
2014-03-05Merge pull request #1808 from cubicdaiya/issues/unused_variableYukihiro "Matz" Matsumoto
remove unused variable
2014-03-05Merge pull request #1807 from tmash06/fix_exit_status_codeYukihiro "Matz" Matsumoto
fix mruby command returning EXIT_SUCCESS when program file can't be opened.
2014-03-05remove unused variablecubicdaiya
GLOBAL_RAND_SEED_KEY is no longer used.
2014-03-05fix mruby command returning EXIT_SUCCESS when program file can't beTatsuya Matsumoto
opened.
2014-03-05fix argument spec setting of Kernel.exit method.Tatsuya Matsumoto
this method requires 1 optional argument.
2014-03-05Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-03-05should check crossing C boudary from resumeYukihiro "Matz" Matsumoto
2014-03-05s/\\"/"/g in mruby-configmattn
2014-03-05Merge pull request #1801 from mattn/mruby-configYukihiro "Matz" Matsumoto
Add mruby-bin-mruby-config
2014-03-05Don't echo empty string. (Remove workaround for windows)mattn
2014-03-05chmod 755mattn
2014-03-05mruby command should not execute program on "syntax only option(-c)".Tatsuya Matsumoto
2014-03-05Add mruby-bin-mruby-configmattn
2014-03-04Fix #1793mattn
2014-03-04add Integer#div and Float#div.Tomoyuki Sahara
2014-03-03use tempfile moduletake_cheeze
2014-03-03add test to check striped binary works correctlytake_cheeze
2014-03-02fix a memory leak in mruby-random.Tatsuya Matsumoto
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-03-01mrb_fiber_yield() is available now; you have to link mruby-fiber mrbgem to ↵Yukihiro "Matz" Matsumoto
use the function; there's no function available to create new fiber from C (countapart of Lua's lua_newthread), but that's because you cannot create a new fiber from C due to mruby C API design limitation. define your method to create fibers in Ruby; close #1269
2014-02-28cancel 313f6b; add fallthrough commentYukihiro "Matz" Matsumoto
2014-02-28Merge pull request #1756 from chasonr/sprintf-utf8Yukihiro "Matz" Matsumoto
Implement sprintf("%c") for UTF-8.
2014-02-27Test for UTF-8 as mattn suggests.chasonr
The string is "Hello world" in Japanese. (hat tip: Google Translate.)
2014-02-28add mruby-strip tool to strip irep's debug infotake_cheeze
2014-02-26Update the Fixnum#chr test for UTF-8.chasonr
2014-02-26Implement sprintf("%c") for UTF-8.chasonr
* sprintf("%c") is changed to accept a string for which String#size returns 1, even if it is longer than one byte, and to convert a Fixnum via Fixnum#chr (possibly returning more than one byte). Thus, if the UTF-8 gem is in use, a character will be understood as a single UTF-8 character. * The change to sprintf depends on the implementation of Fixnum#chr added to mrbgems/mruby-string-utf8/src/string.c. This should work with any other gem that implements a multibyte encoding, as long as it implements String#size and Fixnum#chr as appropriate.
2014-02-27forget to break in the switch statementYukihiro "Matz" Matsumoto
2014-02-26Merge pull request #1744 from cubicdaiya/feature/introduce_mrb_str_cat_litYukihiro "Matz" Matsumoto
Introduce mrb_str_cat_lit
2014-02-26use mrb_str_cat_lit() more widelycubicdaiya
2014-02-26use mrb_str_new_lit instead of mrb_str_new for C string literalscubicdaiya
2014-02-25Merge pull request #1737 from chasonr/Random-static-dataYukihiro "Matz" Matsumoto
Implement default Random instance.
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-25Implement default Random instance.chasonr
Previously, the default random number generator was implemented using static storage. This storage is common to all instances of mruby in a process, and use of the default random number generator in one instance will perturb the default random number generator in other instances. It is also not thread safe. With this change, the default random number generator is defined as Random::DEFAULT, as it is in CRuby.
2014-02-25Merge pull request #1721 from take-cheeze/d_format_specYukihiro "Matz" Matsumoto
add 'd' format specifier in mrb_get_args and mruby-random gem improvement
2014-02-23Fix unused function warning when readline enabled (mirb)kyab
2014-02-22add test(requires MRB_GC_FIXED_ARENA enabled)take_cheeze
2014-02-22fix possible arena overflowtake_cheeze
2014-02-21use 'd' format spec to get Random objecttake_cheeze