summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2016-11-02Update documentation of fetchLukas Elmer
The sentence `Negative values of +index+ count from the end of the array.` can be interpreted that it only holds if a block is given. Clarify it.
2016-11-02allow single quoted labels in hashes; ref #3231Yukihiro "Matz" Matsumoto
2016-11-02allow quoted labels in hashes; fix #3231Yukihiro "Matz" Matsumoto
2016-09-28Removed trailing spacesNobuyoshi Nakada
2016-09-26Fix unexpected behavior with breakksss
``` def yie yield end def bre yie { 1+1 break } end p bre #=> display 2, but should be nil ```
2016-09-21Use non-underscore'ed namesU.Nakamura
Accept @mattn's comment.
2016-09-21Use underbar'ed name to get rid of warningsU.Nakamura
2016-09-21Not only for MINGW but also for Visual C++U.Nakamura
2016-09-06Fix SEGV when unshared envksss
2016-09-05Merge pull request #3203 from nozomiS/mrbc_filename-fixYukihiro "Matz" Matsumoto
Fix mrbc_filename leak
2016-09-04- fix mrbc_filename leak; cxt->filename would not be freed until the state ↵Nozomi SATO
is closed.
2016-08-31Merge pull request #3192 from ksss/instance_evalYukihiro "Matz" Matsumoto
instance_eval env should remake Fix #3191
2016-08-30mruby-random: fixed typosYukihiro "Matz" Matsumoto
2016-08-30mruby-random: add reporting URL since we modified the sourceYukihiro "Matz" Matsumoto
2016-08-19parse.y: lparen_arg statementNobuyoshi Nakada
allow parenthesised statement as a method argument. reported [Feature:12686] in bugs.ruby-lang.org fixed in CRuby 2.4.
2016-08-17Fix String#ord failure which return a negative valueHiroshi Mimaki
2016-08-13parse.y: fix chained assignmentsNobuyoshi Nakada
fix syntax errors with chained assignment with op assign. reported [Bug:12669] in bugs.ruby-lang.org fixed in CRuby 2.4.
2016-08-12parse.y: simplify 90e8ce5Nobuyoshi Nakada
simplify tOP_ASGN rules by command_rhs and arg_rhs rules with %prec.
2016-08-11parse.y: rescue modifiers for OP_ASGN should protect rhs onlyYukihiro "Matz" Matsumoto
reported in [Bug:12402] in bugs.ruby-lang.org fixed in CRuby 2.4
2016-08-08instance_eval env should remake Fix #3191ksss
2016-08-08update copyright notice and license description for mt19937ar.[ch]Yukihiro "Matz" Matsumoto
despite the fact original authors agreed to distribute their work under MIT license, it does not mean mt19937ar.[ch] became the work of mruby developers. To clarify, we updated copyright and license notice of the source files.
2016-07-31intptr_t should be used instead of uint32_t to hold a pointer.Guo Xiao
Fix warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2016-07-27Update mirb.cMalizia R
2016-07-27Reduce needless Array generation in some String methodsKouhei Sutou
Here are some benchmarks: each_char: # /tmp/each_char.rb a = "a" * 1000000 a.each_char do |x| end Without this change: % time bin/mruby /tmp/each_char.rb bin/mruby /tmp/each_char.rb 1.07s user 0.02s system 99% cpu 1.088 total With this change: % time bin/mruby /tmp/each_char.rb bin/mruby /tmp/each_char.rb 0.52s user 0.01s system 99% cpu 0.530 total 2 times faster with this change. codepoints: # /tmp/codepoints.rb a = "a" * 1000000 a.codepoints do |x| end Without this change: % time bin/mruby /tmp/codepoints.rb bin/mruby /tmp/codepoints.rb 1.16s user 0.05s system 99% cpu 1.216 total With this change: % time bin/mruby /tmp/codepoints.rb bin/mruby /tmp/codepoints.rb 0.56s user 0.02s system 99% cpu 0.589 total
2016-07-26Support to call without block to String#each_charksss
2016-07-26Merge pull request #3181 from sdottaka/fix-crash-on-mrb_parser_freeYukihiro "Matz" Matsumoto
Fix crash in mrb_parser_free() due to freed memory access
2016-07-25Merge pull request #3179 from ksss/structYukihiro "Matz" Matsumoto
Should not define to `Struct` class
2016-07-25OP_ASGN vsp may be negativeYukihiro "Matz" Matsumoto
reported by https://gist.github.com/miura1729/53fbd8af889c289a79108e38635b2378 fix proposed by @miura1729 in https://github.com/miura1729/mruby/commit/b1b7933f7aa950cfb747b06327a0d0340f3e4ff8
2016-07-25Fixed crash error when #initialize is redefined for Struct; fix #3177Yukihiro "Matz" Matsumoto
refactored redundant functions; removed optimized accessors for safety this fix also close #3178
2016-07-23Fix crash in mrb_parser_free() due to freed memory accessTakashi Sawanaka
2016-07-22Add regression testksss
2016-07-22Should not define to `Struct` classksss
2016-07-14String#insert should be destructiveksss
2016-07-13relax string length limitation to 64KB; fix #2725Yukihiro "Matz" Matsumoto
2016-07-01Fix warning shift-negative-valueksss
2016-06-10fix a compiler warning for uninitialized variableYukihiro "Matz" Matsumoto
2016-05-16fixed remaining bugs in OP_ASGN stack adjustment; close #3159Yukihiro "Matz" Matsumoto
2016-05-16stack adjustment after NODE_OP_ASGN with NODE_CALL was wrong; fix #3159Yukihiro "Matz" Matsumoto
2016-05-16parser_dump() to show symbol number for NODE_SYMYukihiro "Matz" Matsumoto
2016-05-09raise the error at runtime; fix #3152cremno
2016-04-23mruby-sprintf:fix double negative signs in printf; fix #3148Yukihiro "Matz" Matsumoto
MRB_INT_MAX does not have corresponding positive integer
2016-04-23mruby-sprintf: format specifiers o,u,x,b ignore sign(+); ref #3148Yukihiro "Matz" Matsumoto
2016-04-11mruby-eval: instance_eval should keep target_class; close #3141Yukihiro "Matz" Matsumoto
2016-04-04fix possible memory leak in mruby-time gemYukihiro "Matz" Matsumoto
2016-04-01fix too much optimization for `||=`Yukihiro "Matz" Matsumoto
2016-03-30fix duplicated eval in op_asgnYukihiro "Matz" Matsumoto
`a` in `a.m += c` or `a[b] += c` should be evaluated only once.
2016-03-30reduce OP_ARRAY in argument splatYukihiro "Matz" Matsumoto
2016-03-30mruby-enum-ext: refine minmaxYukihiro "Matz" Matsumoto
2016-03-24better code generation for `||=`; #3138Yukihiro "Matz" Matsumoto
2016-03-24`||=` with cvars and constants should work with false values; #3138Yukihiro "Matz" Matsumoto