summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-11-17mruby-1.2.01.2.0mimaki
2015-11-17Merge pull request #3022 from zzak/enable-full-debug-travis-buildYukihiro "Matz" Matsumoto
Enable full-debug build on travis using `MRB_ENABLE_DEBUG_HOOK`
2015-11-17Merge pull request #3021 from zzak/fix-enable-debug-defineYukihiro "Matz" Matsumoto
Fix MRB_ENABLE_DEBUG_HOOK config typo left from 4440566
2015-11-17Enable full-debug build on travis using `MRB_ENABLE_DEBUG_HOOK`Zachary Scott
2015-11-17Fix MRB_ENABLE_DEBUG_HOOK config typo left from 4440566Zachary Scott
/cc #3014
2015-11-17Merge pull request #2752 from cremno/add-ruby_engine_versionYukihiro "Matz" Matsumoto
add RUBY_ENGINE_VERSION
2015-11-17Merge pull request #3020 from cremno/document-mrb_utf8_stringYukihiro "Matz" Matsumoto
document MRB_UTF8_STRING config macro
2015-11-17document MRB_UTF8_STRING config macrocremno
2015-11-17Merge pull request #3019 from cremno/fix-mrb_disable_stdio-typosYukihiro "Matz" Matsumoto
fix MRB_DISABLE_STDIO typos
2015-11-17add RUBY_ENGINE_VERSIONcremno
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.
2015-11-17fix MRB_DISABLE_STDIO typoscremno
2015-11-17update TODO entries; close #2831Yukihiro "Matz" Matsumoto
2015-11-17DISABLE_STDIO/ENABLE_DEBUG macros to rename; close #3014Yukihiro "Matz" Matsumoto
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
2015-11-17Merge pull request #3018 from zzak/add-mruby-cli-authorsYukihiro "Matz" Matsumoto
Add contributors from mruby-cli project to AUTHORS file
2015-11-17Merge pull request #3017 from Mav7/masterYukihiro "Matz" Matsumoto
Added type annotation to YARD.
2015-11-16Added type annotation to YARD.Mav7
2015-11-16Merge pull request #3015 from murasesyuka/fix/fix_lshift_and_fix_rshift_docYukihiro "Matz" Matsumoto
fix comment
2015-11-16fix commentmurase_syuka
2015-11-16Add contributors from mruby-cli project to AUTHORS fileZachary Scott
2015-11-16Merge pull request #3013 from zzak/dont-pull-gems-by-defaultYukihiro "Matz" Matsumoto
This patch changes git gem behavior to never pull gems unless specified.
2015-11-16This patch changes git gem behavior to never pull gems unless specified.Zachary Scott
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.
2015-11-15Merge branch 'nobu-feature/hash-cmp'Yukihiro "Matz" Matsumoto
2015-11-15move Hash comparison methods to mruby-hash-ext gemYukihiro "Matz" Matsumoto
2015-11-15Merge branch 'feature/hash-cmp' of https://github.com/nobu/mruby into ↵Yukihiro "Matz" Matsumoto
nobu-feature/hash-cmp
2015-11-15Merge pull request #3011 from Mav7/masterYukihiro "Matz" Matsumoto
Added more YARD docs to mruby.h
2015-11-14Added more YARD docs to mruby.hMav7
2015-11-14Add comparison methods to HashNobuyoshi Nakada
2015-11-10Merge pull request #3008 from Mav7/masterYukihiro "Matz" Matsumoto
Added YARD documentation in mruby.h
2015-11-09Added YARD documentation in mruby.hMav7
2015-11-10Merge pull request #3007 from mruby-debian/fix/fail_to_package_buildYukihiro "Matz" Matsumoto
fail to debuild
2015-11-09fail to debuildAkira Mitsui
2015-11-08Merge pull request #3006 from cremno/remove-ifdef-mrb_fixnum_shiftYukihiro "Matz" Matsumoto
remove ifdef as MRB_FIXNUM_SHIFT is always defined
2015-11-08Merge pull request #3005 from cremno/fix-ambiguous-first-argument-warningYukihiro "Matz" Matsumoto
fix ambiguous first argument warning
2015-11-08Merge pull request #3004 from cremno/remove-returnYukihiro "Matz" Matsumoto
remove return
2015-11-07PR #2521 did not work for singleton classes for non-class objects; fix #3003Yukihiro "Matz" Matsumoto
2015-11-06remove ifdef as MRB_FIXNUM_SHIFT is always definedcremno
2015-11-06fix ambiguous first argument warningcremno
/home/travis/build/mruby/mruby/test/t/float.rb:201:17: ambiguous first argument; put parentheses or even spaces
2015-11-06remove returncremno
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.
2015-10-28mrb_get_args should consume argument even when type specifier with bang get ↵Yukihiro "Matz" Matsumoto
nil; fix #3002
2015-10-27mrb_str_concat() may call VM resursively thus may reallocate VM stack; close ↵Yukihiro "Matz" Matsumoto
#3000
2015-10-24Merge pull request #3001 from zzak/fix-mrbtest-taskYukihiro "Matz" Matsumoto
Ensure mrbs dependency is maintained for mruby-test
2015-10-24Ensure mrbs dependency is maintained for mruby-testZachary Scott
2015-10-22Merge pull request #2999 from sagmor/better-docsYukihiro "Matz" Matsumoto
More Docs
2015-10-21Tag include/mruby/error.h functions with required mrbgem tagSeba Gamboa
2015-10-21Revert "Mark core gems with mrbgem tag"Seba Gamboa
This reverts commit 5cdcce8dbddd94ecb9503a0a1d47370c4ef97177.
2015-10-22align codedump output for OP_JMPYukihiro "Matz" Matsumoto
2015-10-22align codedump output for OP_RETURNYukihiro "Matz" Matsumoto
2015-10-21loop() to return StopIteration#result; [ruby-bugs#11498]Yukihiro "Matz" Matsumoto
2015-10-21loop may return StopIteration#result; [ruby-bugs#11498]Yukihiro "Matz" Matsumoto
2015-10-21Merge pull request #2997 from furunkel/gc_cleanupYukihiro "Matz" Matsumoto
GC cleanup