summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2014-03-09Merge pull request #1831 from monaka/pr-make-type-casts-saferYukihiro "Matz" Matsumoto
Make type casts safer
2014-03-09add data_type check to mruby-randomYukihiro "Matz" Matsumoto
2014-03-09refactoring mruby-randomYukihiro "Matz" Matsumoto
2014-03-09implement Array#sample in mruby-random gemYukihiro "Matz" Matsumoto
2014-03-08Make type casts safer.Masaki Muranaka
2014-03-08support linenoise in mirbtakkaw
2014-03-06make embed string when create literalsksss
2014-03-06embed small stringksss
use flags 4 for *this object is embed* use flags 8~64 for *embed string length*
2014-03-06Fix build on mingw32mattn
2014-03-06fixed broken gettimeofday implementation for Windowsunak
small, but critical typo :)
2014-03-06fix and add test for Proc#source_locationtake_cheeze
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-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