summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-08-30mruby-random: add reporting URL since we modified the sourceYukihiro "Matz" Matsumoto
2016-08-20Fixed spell errors in test/t/lang.rb; ref #3199Yukihiro "Matz" Matsumoto
2016-08-20Merge pull request #3199 from miura1729/originalYukihiro "Matz" Matsumoto
Add new test for optimize VM
2016-08-20Add new test for optimize VMMiura Hideki
2016-08-20Move Module#include and #prepend to class.c; ref #3197Yukihiro "Matz" Matsumoto
To avoid VM nesting with mrb_funcall()
2016-08-19renamed class.rb and error.rb to ensure they are read first; ref #3197Yukihiro "Matz" Matsumoto
2016-08-19Merge pull request #3198 from nobu/feature/lparen_arg-stmtYukihiro "Matz" Matsumoto
parse.y: lparen_arg statement
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-17Merge pull request #3196 from mimaki/fix-negative-ordYukihiro "Matz" Matsumoto
Fix String#ord failure which return a negative value
2016-08-17Fix String#ord failure which return a negative valueHiroshi Mimaki
2016-08-16Merge pull request #3195 from franckverrot/masterYukihiro "Matz" Matsumoto
Correct method name
2016-08-15Correct method nameFranck Verrot
2016-08-13Merge pull request #3194 from nobu/chained-rhsYukihiro "Matz" Matsumoto
parse.y: fix chained assignments
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-12Merge pull request #3193 from nobu/rhs-rescueYukihiro "Matz" Matsumoto
parse.y: simplify 90e8ce5
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-08removed ChangeLog that has not been updated for long time; ref #3190Yukihiro "Matz" Matsumoto
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-08-03Merge pull request #3189 from wrl/public-hash-valuesYukihiro "Matz" Matsumoto
make mrb_hash_values() a public API function
2016-08-01make mrb_hash_values() a public API functionWilliam Light
2016-07-31Merge pull request #3188 from guoxiao/warningYukihiro "Matz" Matsumoto
intptr_t should be used instead of uint32_t to hold a pointer.
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-28Merge pull request #3186 from rmalizia44/patch-2Yukihiro "Matz" Matsumoto
Update mirb.c
2016-07-27Update mirb.cMalizia R
2016-07-27Merge pull request #3185 from kou/string-reduce-needless-arrayYukihiro "Matz" Matsumoto
Reduce needless Array generation in some String methods
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-27Merge pull request #3184 from ksss/each_charYukihiro "Matz" Matsumoto
Support to call without block to String#each_char
2016-07-26Support to call without block to String#each_charksss
2016-07-26Merge pull request #3182 from sdottaka/fix-broken-msvc-buildYukihiro "Matz" Matsumoto
Fix broken msvc build
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 #3183 from Mav7/mav7/docsYukihiro "Matz" Matsumoto
yard docs for string.h
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-23yard docs for string.hRalph Desir(Mav7)
2016-07-23Fix broken msvc buildTakashi Sawanaka
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-15Merge pull request #3176 from ksss/string-insertYukihiro "Matz" Matsumoto
String#insert should be destructive
2016-07-14String#insert should be destructiveksss
2016-07-14Merge pull request #3174 from ksss/local-jump-errorYukihiro "Matz" Matsumoto
Should raise LocalJumpError when no block given
2016-07-14Should raise LocalJumpError when no block givenksss
2016-07-13relax string length limitation to 64KB; fix #2725Yukihiro "Matz" Matsumoto
2016-07-08Merge pull request #3171 from kjunichi/c-has-no-tryYukihiro "Matz" Matsumoto
C doesn't have try-catch
2016-07-08C doesn't have try-catchJunichi Kajiwara
2016-07-02Merge pull request #3169 from ksss/Wshift-negative-valueYukihiro "Matz" Matsumoto
Fix warning shift-negative-value
2016-07-01Fix warning shift-negative-valueksss
2016-06-30Merge pull request #3166 from yyamano/fix-gc-profileYukihiro "Matz" Matsumoto
Fix compilation error with GC_PROFILE.