summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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-19Merge pull request #9 from ksss/pointer-signTomoyuki Sahara
Suppress compiler warning [-Wpointer-sign]
2016-07-19Merge pull request #10 from dabroz/masterTomoyuki Sahara
Added 'U' pack support.
2016-07-18Added 'U' pack support.Tomasz Dąbrowski
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-01Suppress compiler warning [-Wpointer-sign]ksss
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.
2016-06-29Fix compilation error with GC_PROFILE.Yuji Yamano
2016-06-22update $? when IO object is closed. closes #58.Tomoyuki Sahara
2016-06-21Merge pull request #60 from drbrain/test_io_setup_failureTomoyuki Sahara
Test io setup failure
2016-06-21add IO#isatty and IO#tty?Tomoyuki Sahara
2016-06-18Merge pull request #3163 from mattn/fix-public_methodsYukihiro "Matz" Matsumoto
Fix public methods
2016-06-18add test for public_methods(false)Yasuhiro Matsumoto
2016-06-18fix public_methods(false)Yasuhiro Matsumoto
2016-06-14Merge pull request #3162 from udzura/patch-1Yukihiro "Matz" Matsumoto
Update doc, write about add_test_dependency
2016-06-14Update doc, write about add_test_dependencyUchio KONDO
2016-06-10mrb_gc_unregister() to remove one registration; close #3160Yukihiro "Matz" Matsumoto
when multiple mrb_gc_register() were called for the same object
2016-06-10fix a compiler warning for uninitialized variableYukihiro "Matz" Matsumoto
2016-06-10add temporary workaround for irep memory corruptionYukihiro "Matz" Matsumoto
need to find out real memory bug that appears in full-debug/mrbtest
2016-05-30Merge pull request #30 from rhykw/tcpserver-reuseaddrTomoyuki Sahara
Use TCPServer SO_REUSEADDR
2016-05-28TCPServer use SO_REUSEADDR if possiblerhykw
2016-05-23TCPServer use SO_REUSEADDRrhykw
2016-05-16fixed remaining bugs in OP_ASGN stack adjustment; close #3159Yukihiro "Matz" Matsumoto