summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-11-27Implemented round(double) function within mruby-time gem, for it is missing onPaolo Bosetti
VisualStudio compilers where _MSC_ver < 1800
2015-11-27Merge pull request #2950 from mattn/mirb-file-argsYukihiro "Matz" Matsumoto
mirb should take filename and arguments.
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-11-26Merge pull request #3036 from zzak/remove-mrbtest_irepYukihiro "Matz" Matsumoto
Remove mrbtest irep
2015-11-26Merge pull request #3035 from iij/pr-yard-mrb_str_to_cstrYukihiro "Matz" Matsumoto
YARD doc for mrb_str_to_cstr.
2015-11-26Merge pull request #3034 from takahashim/try_convertYukihiro "Matz" Matsumoto
add {Array|Hash|String}.try_convert
2015-11-24Remove unnecessary dependencies for assert_rb codegen and test_rbirepsZachary Scott
2015-11-24Remove mrbtest_irep from mrbtestZachary Scott
If we make the core tests a dependency on the mruby-test gem, we don't need to worry about maintaining the core test irep alone.
2015-11-24YARD doc for mrb_str_to_cstr.Tomoyuki Sahara
2015-11-24add {Array|Hash|String}.try_converttakahashim
2015-11-24Merge pull request #3033 from sgnr/compiler-fix-mrb-disable-stdio-typoYukihiro "Matz" Matsumoto
Fix MRB_DISABLE_STDIO typo.
2015-11-23Fix MRB_DISABLE_STDIO typo.Simon Génier
2015-11-21Merge pull request #3030 from takahashim/nonzeroYukihiro "Matz" Matsumoto
Support Numeric#zero? and Numeric#nonzero?
2015-11-20support Numeric#zero? and Numeric#nonzero?takahashim
2015-11-20Merge pull request #3028 from sgnr/fix-mrb-disable-stdio-typoYukihiro "Matz" Matsumoto
Fix typo on MRB_DISABLE_STDIO.
2015-11-19Fix typo on MRB_DISABLE_STDIO.Simon Génier
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