summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2017-02-28Fix NODE_DREGX dump; ref #3471Yukihiro "Matz" Matsumoto
2017-02-28Fixed a bug in dregex option generation; fix #3471Yukihiro "Matz" Matsumoto
2017-02-28Update codegen.c commentsYukihiro "Matz" Matsumoto
2017-02-24replace "yylval" with "pylval" to make it compile with byacc.Tomoyuki Sahara
2017-02-16Configure callinfo target_class as CRuby; ref #3429Yukihiro "Matz" Matsumoto
2017-02-16Avoid executing OP_STOP in eval(); fix #3429Yukihiro "Matz" Matsumoto
2017-02-16Adjust callinfo env and target_class; ref #3429Yukihiro "Matz" Matsumoto
2017-02-15Move #instance_exec to Kernel moduleYukihiro "Matz" Matsumoto
CRuby defines #instance_exec in BasicObject, but we don't. It's a small incompatibility that isn't worth accomplish at the price of implementation complexity.
2017-02-13Fixed codegen error of redo in rescue; fix #3422Yukihiro "Matz" Matsumoto
The issue (and the fix) was reported by https://hackerone.com/dgaletic
2017-02-12Merge pull request #3452 from dabroz/fix-kernel-caller-aspecYukihiro "Matz" Matsumoto
Fixed aspec for Kernel#caller
2017-02-12Fixed aspec for Kernel#callerTomasz Dabrowski
2017-02-11Avoid integer overflow in sprintf(); fix #3439Yukihiro "Matz" Matsumoto
This issue was reported by https://hackerone.com/aerodudrizzt
2017-02-11Remove historical comment; ref #3450 #3448Yukihiro "Matz" Matsumoto
2017-02-11remove skip that shouldn't be necessary anymore.robert
the test should pass after https://github.com/mruby/mruby/commit/8f4a929e1a01c8d6176fb53a9ef5dff6de632959.
2017-02-10String#ljust and String#rjust reimplemented with optimized RubyTomasz Dabrowski
2017-02-10Tests for UTF-8 String#ljust and String#rjustTomasz Dabrowski
2017-02-10String#ljust and String#rjust reimplementation (fix #3445)Tomasz Dabrowski
- String#ljust and String#rjust are now C functions to improve performance - infinite loop because of an empty padding argument is now prevented (ArgumentError is raised) - extra tests for ljust/rjust added
2017-02-08Fixed mixture of signed/unsigned integersYukihiro "Matz" Matsumoto
in mrbgems/mruby-bin-debugger.
2017-02-06Check maximum number of formal arguments.Yukihiro "Matz" Matsumoto
http://hkdnet.hatenablog.com/entry/2017/02/06/080000 (Japanese)
2017-02-04Make `eval` to use trampoline technique; fix #3415Yukihiro "Matz" Matsumoto
Now `eval()` can call Fiber.yield etc.
2017-02-04Jump address should fit in 16 bits range; fix #3426Yukihiro "Matz" Matsumoto
2017-02-03Merge pull request #3420 from udzura/patch-1Yukihiro "Matz" Matsumoto
Fix usage of Class#name in mruby-bin-mruby's bintest
2017-02-02Fetch arguments earlier to avoid a crash.Clayton Smith
2017-02-02Use standard Module(Class)#to_sUchio KONDO
2017-01-23Fix a double free problem in codegen.c; fix #3378Yukihiro "Matz" Matsumoto
This issue was first reported by https://hackerone.com/geeknik The fix was proposed by @titanous
2017-01-23Fix memory leak; ref #3378Yukihiro "Matz" Matsumoto
The fix was proposed by @titanous
2017-01-23Changed the behavior of mrb_range_beg_len(); close #3411Yukihiro "Matz" Matsumoto
The new API is: int mrb_range_beg_len(mrb, range, &beg, &len, len, trunc) The new argument `trunc` is a boolean value that specifies whether the function truncates the range. The new return value is an integer instead of a boolean, that is: 0: not a range 1: range with proper edges 2: out of range To get the old behavior, you have to rewrite: mrb_range_beg_len(mrb, range, &beg, &len, len) to: mrn_range_beg_len(mrb, range, &beg, &len, len, TRUE) == 1 [Breaking Change]
2017-01-21Fix incorrect parsing of block parameters.Clayton Smith
2017-01-20Remove problematic optimization.Clayton Smith
2017-01-18Merge pull request #3362 from ksss/procYukihiro "Matz" Matsumoto
Proc shouldn't have `initialize` method
2017-01-16Dots is not needed for base 10 negative numbers; fix #3400Yukihiro "Matz" Matsumoto
2017-01-14Skip when backtrace doesn't getksss
2017-01-14Implement Kernel.#callerksss
2017-01-09Validate tm values before timegm(); close #3368Yukihiro "Matz" Matsumoto
This issue was reported by https://hackerone.com/volc
2017-01-05Merge pull request #3369 from ksss/fix-str-prependYukihiro "Matz" Matsumoto
Rewrite String#prepend with Ruby
2017-01-04Rewrite String#prepend with Rubyksss
Fix #3357
2017-01-02add explicit castsYukihiro "Matz" Matsumoto
2017-01-01Initialize potentially uninitialized variable tsec.Yukihiro "Matz" Matsumoto
2016-12-28save/restore arena index around yield; ref #3359Yukihiro "Matz" Matsumoto
2016-12-21One less argument for raisef(); fix #3355Yukihiro "Matz" Matsumoto
This issue was reported by https://hackerone.com/mg36
2016-12-21Proc shouldn't have `initialize` methodksss
Fix #3356
2016-12-18Check if width is zero or negative before fill; fix #3347Yukihiro "Matz" Matsumoto
Reported by https://hackerone.com/haquaman.
2016-12-18Prohibit mixture of posarg and nextarg; ref #3347Yukihiro "Matz" Matsumoto
2016-12-18NODE_NEGATE cdr may not be code-node; fix #3348 ref #3324Yukihiro "Matz" Matsumoto
Reported by Denis Kasak https://hackerone.com/dkasak
2016-12-18Zero length heredoc still crashed; ref Shopify/mruby-internal#81Yukihiro "Matz" Matsumoto
2016-12-14remove debug code; ref #3344Yukihiro "Matz" Matsumoto
2016-12-13tLABEL should not come after conditional ternary; fix #3344Yukihiro "Matz" Matsumoto
2016-12-13void_expr_error(): n may be NULL.Yukihiro "Matz" Matsumoto
Reported from @clayton-shopify.
2016-12-13Fixed wrong condition in new_sym() that breaks symbol data.Yukihiro "Matz" Matsumoto
2016-12-13Failed to realloc irep->syms in certain condition.Yukihiro "Matz" Matsumoto
Also msym size changed to 512 from 256.