1. 18 Mar, 2021 4 commits
  2. 17 Mar, 2021 3 commits
    • dearblue's avatar
      Allow `break` in `build_config`. · 199bbd73
      dearblue authored
      If I break out of a block given to `MRuby::Build.new` with `break` or `throw`, I will get a seemingly inexplicable error because the `presym`-related initialization is not done.
      
      ```console
      % cat build_config1.rb
      MRuby::Build.new do
        toolchain
        break
      end
      
      % rake CONFIG=build_config1.rb
      rake aborted!
      external mrbc or mruby-bin-mrbc gem in current('host') or 'host' build is required
      /var/tmp/mruby/lib/mruby/build.rb:332:in `mrbcfile'
      /var/tmp/mruby/tasks/mrblib.rake:9:in `block in <top (required)>'
      /var/tmp/mruby/lib/mruby/build.rb:18:in `instance_eval'
      /var/tmp/mruby/lib/mruby/build.rb:18:in `block in each_target'
      /var/tmp/mruby/lib/mruby/build.rb:17:in `each'
      /var/tmp/mruby/lib/mruby/build.rb:17:in `each_target'
      /var/tmp/mruby/tasks/mrblib.rake:1:in `<top (required)>'
      /var/tmp/mruby/Rakefile:27:in `load'
      /var/tmp/mruby/Rakefile:27:in `<top (required)>'
      (See full trace by running task with --trace)
      ```
      
      If a non-exceptional global jump occurs, it can be initialized by `ensure` to solve this problem.
      199bbd73
    • Yukihiro "Matz" Matsumoto's avatar
      hash.c: `Hash#shift` to return `nil` when a hash is empty. · c0d63ea0
      Yukihiro "Matz" Matsumoto authored
      It used to be return the default value if available, but it should
      ignore the default value for behavior consistency. CRuby will adopt
      this behavior too in the future. [ruby-bugs:16908]
      c0d63ea0
    • Yukihiro "Matz" Matsumoto's avatar
      75ae3d3e
  3. 16 Mar, 2021 1 commit
  4. 15 Mar, 2021 6 commits
  5. 14 Mar, 2021 2 commits
  6. 13 Mar, 2021 1 commit
  7. 12 Mar, 2021 4 commits
  8. 11 Mar, 2021 2 commits
  9. 10 Mar, 2021 1 commit
  10. 09 Mar, 2021 3 commits
  11. 08 Mar, 2021 5 commits
  12. 07 Mar, 2021 1 commit
  13. 06 Mar, 2021 1 commit
  14. 05 Mar, 2021 4 commits
  15. 04 Mar, 2021 2 commits