1. 12 Apr, 2019 4 commits
  2. 11 Apr, 2019 1 commit
  3. 10 Apr, 2019 4 commits
  4. 09 Apr, 2019 6 commits
  5. 08 Apr, 2019 4 commits
  6. 07 Apr, 2019 2 commits
  7. 06 Apr, 2019 4 commits
  8. 05 Apr, 2019 5 commits
  9. 04 Apr, 2019 2 commits
  10. 03 Apr, 2019 3 commits
  11. 02 Apr, 2019 3 commits
  12. 01 Apr, 2019 2 commits
    • KOBAYASHI Shuji's avatar
      Fix modifiable class name · 55cb6258
      KOBAYASHI Shuji authored
      Fix the following example:
      
          Object.const_set :A, Module.new{const_set :B, Class.new}
          ab = A::B.to_s
          p ab         #=> "A::B" # Good
          ab[0] = "x"
          p A::B.to_s  #=> "x::B" # Bad
      55cb6258
    • Yukihiro "Matz" Matsumoto's avatar
      Avoid keeping pointers from `mrb_sym2name_len()`; fix #4342 · 2871d0cd
      Yukihiro "Matz" Matsumoto authored
      The addresses for packed inline symbols reference `mrb->symbuf` that
      could be overridden by the later call of `mrb_sym2name_len`. Since
      file names in call stack information are kept as symbols, keeping the
      address in the C structures could cause problems like #4342.
      
      This changes small incompatible changes in function prototypes:
      * `mrb_parser_get_filename`: return value changed to `mrb_sym`.
      * `mrb_debug_get_filename`: add `mrb_state*` as a first argument.
      * `mrb_debug_get_line`: ditto.
      
      I believe above functions are almost internal, and no third-party
      mrbgem use them.
      2871d0cd