summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2013-11-04add Fiber.currentYukihiro "Matz" Matsumoto
2013-11-03mirb: reset stack in the first commandfleuria
2013-11-03refactor mrb_context_run()fleuria
2013-11-03introduce mrb_context_run()fleuria
currently there are two scnenario to call mrb_run(), the first is calling a proc, in this case mrb should create a new environment, discarding all the variables except args, reciever and block. the second is calling the newly generated irep, like in mirb. in this case, the variables should be kept after mrb_run(). so we introduce mrb_context_run() to handle this seperately.
2013-11-03small style fixYukihiro "Matz" Matsumoto
2013-11-03Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-11-02Added support for Random as an argument to shuffle and shuffle!. Refactored ↵Emiliano Lesende
random gem to use DATA instance type and hold mt_state inside the DATA_PTR instead of in an instance variable.
2013-11-02change return value from mrb_generate_code()Yukihiro "Matz" Matsumoto
2013-11-01Added shuffle and shuffle! to the Array class in the Random gem.Emiliano Lesende
2013-10-30Merge pull request #1510 from schmurfy/freebsd_fixYukihiro "Matz" Matsumoto
fixed compilation on freebsd releases witout log2 function
2013-10-08add some methods to Symbolskandhas
2013-10-04fix no multiline strings in mirbLukas Stabe
2013-09-23eliminate use of traditional intern API (mrb_intern()) completelyYuichi Nishiwaki
2013-09-23support freebsd versions without log2 functionJulien Ammous
2013-09-21rename voidp to cptrYukihiro "Matz" Matsumoto
2013-08-26Merge branch 'mruby' into pr-typeerror-string-start-end-withTomoyuki Sahara
Conflicts: mrbgems/mruby-string-ext/src/string.c mrbgems/mruby-string-ext/test/string.rb
2013-08-26Merge pull request #1485 from fjmilens3/string_end_withYukihiro "Matz" Matsumoto
Bug in String#end_with? resulting from incorrect length determination
2013-08-23Check type of arguments for #start_with and #end_with.Tomoyuki Sahara
2013-08-22Refactor of String#start_with? comparison logic.Frederick John Milens III
2013-08-22Refactor of String#end_with? comparison logic.Frederick John Milens III
2013-08-22Fix for string-length-related issue in String#end_with? logic.Frederick John Milens III
2013-08-22Added test case for String#end_with? with string of length 2.Frederick John Milens III
2013-08-22Fix for string-length-related issue in String#start_with? logic.Frederick John Milens III
2013-08-22Added test case for String#start_with? with string of length 1.Frederick John Milens III
2013-08-19android doesn't have log2wanabe
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-13Adding line numbers to the output of mirb.Jack Danger Canty
Before: > "hi" hi > d (mirb):1: undefined method 'd' for main (NoMethodError) > d (mirb):1: undefined method 'd' for main (NoMethodError) > "hi" hi > "#{'}" line 1: unterminated string meets end of file After > "hi" hi > d (mirb):2: undefined method 'd' for main (NoMethodError) > d (mirb):3: undefined method 'd' for main (NoMethodError) > "hi" hi > "#{'}" line 5: unterminated string meets end of file
2013-08-07don't use str{cpy,cat} in mruby and mrbcCremno
The length of each string is known. It should be used.
2013-08-07rename mrb_value_p() to mrb_ptr() since _p means predicate in mruby sourceYukihiro "Matz" Matsumoto
2013-08-03add read barrier to value.pYuichi Nishiwaki
API changes: - value.p must be accessed via mrb_value_p macro - value.p must be mutated via MRB_SET_VALUE_P macro
2013-08-05muby-time: use mrb_free directlyBlaž Hrastnik
2013-08-04Improve test of mruby-objectspace-ext GEMDaniel Bovensiepen
2013-08-04Improve test of mruby-toplevel-ext GEMDaniel Bovensiepen
2013-08-04Improve test of mruby-symbol-ext GEMDaniel Bovensiepen
2013-08-04Improve test of mruby-string-ext GEMDaniel Bovensiepen
2013-08-04Improve test of mruby-range-ext GEMDaniel Bovensiepen
2013-08-04Improve test of mruby-proc-ext GEMDaniel Bovensiepen
2013-08-04Improve test of mruby-object-ext GEMDaniel Bovensiepen
2013-08-04Improve test of mruby-numeric-ext GEMDaniel Bovensiepen
2013-08-04Improve test of mruby-hash-ext GEMDaniel Bovensiepen
2013-08-04Improve test of mruby-enum-ext GEMDaniel Bovensiepen
2013-08-04Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-08-04should protect resume fiber by write barrier; close #1434Yukihiro "Matz" Matsumoto
2013-08-03Set filename like irbCarson McDonald
2013-07-31add new mrbgem mruby-exitYukihiro "Matz" Matsumoto
2013-07-27I replace 0 with NULL because struct pointer be should set NULL in.Jun Hiroe
2013-07-23Merge pull request #1402 from mattn/check_home_is_nullYukihiro "Matz" Matsumoto
Check home is null
2013-07-23resolve conflictYukihiro "Matz" Matsumoto