summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-11-19Merge pull request #3027 from pbosetti/masterYukihiro "Matz" Matsumoto
Fix check for VisualStudio Version in mruby-math gem
2015-11-19formatting buffer should be bigger for negative dots; ref #3025Yukihiro "Matz" Matsumoto
2015-11-19binary format no longer need to preserve org_vYukihiro "Matz" Matsumoto
2015-11-19integer range check was moved to mrb_flo_to_fixnum(); ref #3025Yukihiro "Matz" Matsumoto
2015-11-19negative binary format should not be masked by 10bits; ref #3025Yukihiro "Matz" Matsumoto
2015-11-19binary sprintf should not be restricted by mrb_int size; fix #3025Yukihiro "Matz" Matsumoto
2015-11-19Merge pull request #3026 from ↵Yukihiro "Matz" Matsumoto
murasesyuka/bugfix/check_minus_signedint_bitshift_overflow Bugfix nagative-number lshift() bit overflow
2015-11-19Fix check for VisualStudio Version in mruby-math gemPaolo Bosetti
2015-11-18Bugfix nagative-number lshift() bit overflowmurase_syuka
2015-11-18Merge pull request #3024 from yoshiori/fix_readme_linkYukihiro "Matz" Matsumoto
Update README.md
2015-11-17Update README.mdYoshiori SHOJI
Fix mrbgems doc link.
2015-11-18Bugfix lshift() bit overflow; close #3023murase_syuka
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.