- 17 Nov, 2015 6 commits
-
-
mimaki authored
-
Yukihiro "Matz" Matsumoto authored
Enable full-debug build on travis using `MRB_ENABLE_DEBUG_HOOK`
-
Yukihiro "Matz" Matsumoto authored
Fix MRB_ENABLE_DEBUG_HOOK config typo left from 4440566b
-
Zachary Scott authored
-
Zachary Scott authored
/cc #3014
-
Yukihiro "Matz" Matsumoto authored
add RUBY_ENGINE_VERSION
-
- 16 Nov, 2015 15 commits
-
-
Yukihiro "Matz" Matsumoto authored
document MRB_UTF8_STRING config macro
-
cremno authored
-
Yukihiro "Matz" Matsumoto authored
fix MRB_DISABLE_STDIO typos
-
cremno authored
RUBY_ENGINE_VERSION is equivalent to MRUBY_VERSION. It would be a standard way to get the interpreter version (without a case expression). It's also already defined by CRuby 2.3, JRuby 9000, Opal, and Rubinius.
-
cremno authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
changes: * rename DISABLE_STDIO -> MRB_DISABLE_STDIO * rename ENABLE_DEBUG -> MRB_ENABLE_DEBUG_HOOK * no more opposite macro definitions (e.g. ENABLE_STDIO, DISABLE_DEBUG). * rewrite above macro references throughout the code. * update documents
-
Yukihiro "Matz" Matsumoto authored
Add contributors from mruby-cli project to AUTHORS file
-
Yukihiro "Matz" Matsumoto authored
Added type annotation to YARD.
-
Mav7 authored
-
Yukihiro "Matz" Matsumoto authored
fix comment
-
murase_syuka authored
-
Zachary Scott authored
-
Yukihiro "Matz" Matsumoto authored
This patch changes git gem behavior to never pull gems unless specified.
-
Zachary Scott authored
Since mgem's function almost the same as git gems, but you can see they already avoid pulling from source after the gem has already been cloned. You can see from the `load_special_path_gem` method found in the file `mruby_build_gem.rake`, or extracted here: ```ruby if File.exist? mgem_list_dir git.run_pull mgem_list_dir, mgem_list_url if $pull_gems else FileUtils.mkdir_p mgem_list_dir git.run_clone mgem_list_dir, mgem_list_url, "--depth 1" end ``` Also, later in this same method; mgem will set the `git` params. Doing this will trigger the following block: ```ruby if File.exist?(gemdir) if $pull_gems git.run_pull gemdir, url else gemdir end else # ... clone end ``` You can see here, this checks if `$pull_gems` is enabled before pulling. Lastly, the final condition for this method is here: ```ruby if params[:checksum_hash] # Jump to the specified commit git.run_checkout gemdir, params[:checksum_hash] else # Jump to the top of the branch git.run_checkout gemdir, branch if $pull_gems end ``` What we changed was the `else` condition of this block to follow the same behavior as the aforementioned code. In doing so, we can avoid two things: * Excess `clone` calls can slow down builds (times number of gems used) * We _don't_ want our code to _update_ during build To explain, if during build time there are some changes in the gem we are depending upon: updating during compile time could actually break our application. This is what we're trying to avoid.
-
- 14 Nov, 2015 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
-
Yukihiro "Matz" Matsumoto authored
Added more YARD docs to mruby.h
-
Mav7 authored
-
Nobuyoshi Nakada authored
-
- 10 Nov, 2015 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Added YARD documentation in mruby.h
-
- 09 Nov, 2015 3 commits
-
-
Mav7 authored
-
Yukihiro "Matz" Matsumoto authored
fail to debuild
-
Akira Mitsui authored
-
- 08 Nov, 2015 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
remove ifdef as MRB_FIXNUM_SHIFT is always defined
-
Yukihiro "Matz" Matsumoto authored
fix ambiguous first argument warning
-
Yukihiro "Matz" Matsumoto authored
remove return
-
- 07 Nov, 2015 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 06 Nov, 2015 3 commits
-
-
cremno authored
-
cremno authored
/home/travis/build/mruby/mruby/test/t/float.rb:201:17: ambiguous first argument; put parentheses or even spaces
-
cremno authored
The return type of the mrb_objspace_each_objects function is void. So this return statement with an expression is unnecessary and also violates a constraint. From C99 §6.8.6.4: >A return statement with an expression shall not appear >in a function whose return type is void.
-
- 28 Oct, 2015 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 26 Oct, 2015 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-