summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2014-02-28Merge pull request #1762 from cubicdaiya/issues/mrb_str_new_bugYukihiro "Matz" Matsumoto
fix SEGV bug for mrb_str_new
2014-02-28fix SEGV bug for mrb_str_newcubicdaiya
mrb_str_new causes seg-fault when 3rd argument is negative.
2014-02-28remove break altogether in ci loopYukihiro "Matz" Matsumoto
2014-02-28Merge pull request #1760 from cubicdaiya/issues/make_mrb_str_dump_a_bit_fasterYukihiro "Matz" Matsumoto
make mrb_str_dump a bit faster
2014-02-28Merge pull request #1758 from ksss/array-out-whileYukihiro "Matz" Matsumoto
move check condition to outside in while block
2014-02-28make mrb_str_dump a bit fastercubicdaiya
2014-02-27move check condition to outside in while blockksss
2014-02-27use mrb_str_cat_lit() intead of mrb_str_catcubicdaiya
2014-02-27should not continue loop when ci = NULLYukihiro "Matz" Matsumoto
2014-02-27boot_defclass: super may be NULLYukihiro "Matz" Matsumoto
2014-02-27revert 38e9ce21 and API changed; mrb_get_backtrace() -> renamed to ↵Yukihiro "Matz" Matsumoto
mrb_exc_backtrace since this is a backtrace method implementation of Exception; mrb_get_backtrace_at() -> removed; mrb_get_backtrace() -> added to get backtrace in array (like caller)
2014-02-27avoid recursion when method_missing happened in inspect; fix #1746Yukihiro "Matz" Matsumoto
2014-02-27fix indentYukihiro "Matz" Matsumoto
2014-02-27add new function mrb_get_backtrace_at() to get backtrace at ci and pcYukihiro "Matz" Matsumoto
2014-02-27add macro ARY_UNSET_SHAREDksss
2014-02-27add macro ARY_SET_SHAREDksss
2014-02-26use mrb_str_new_lit instead of mrb_str_new for C string literalcubicdaiya
2014-02-26Merge pull request #1748 from cubicdaiya/issues/optim_get_valid_iv_symYukihiro "Matz" Matsumoto
fix bug for get_valid_iv_sym
2014-02-26Merge pull request #1747 from cubicdaiya/issues/use_mrb_intern_litYukihiro "Matz" Matsumoto
use mrb_intern_lit instead of mrb_intern_cstr for C string literals
2014-02-26add macro ARY_SHARED_Pksss
2014-02-26fix bug for get_valid_iv_symcubicdaiya
When sub-string is used in the following way, it does not work well. o = Object.new o.instance_variable_set(:@a, 1) o.instance_variable_defined?("@abc"[0,2]) #=> false (this should be true)
2014-02-26use mrb_intern_lit instead of mrb_intern_cstr for C string literalscubicdaiya
2014-02-26use mrb_str_new_lit instead of mrb_str_new for C string literalscubicdaiya
2014-02-26resolve conflictYukihiro "Matz" Matsumoto
2014-02-25clarify fallthrough in the switch statementYukihiro "Matz" Matsumoto
2014-02-25initialize sname before interningYukihiro "Matz" Matsumoto
2014-02-25avoid accessing uninitialized string; ref ac936fcYukihiro "Matz" Matsumoto
2014-02-25Merge pull request #1721 from take-cheeze/d_format_specYukihiro "Matz" Matsumoto
add 'd' format specifier in mrb_get_args and mruby-random gem improvement
2014-02-23move declaration to the top of the block; ref #1727Yukihiro "Matz" Matsumoto
2014-02-22add src/error.h for compatibility reasonYukihiro "Matz" Matsumoto
2014-02-22preserve significands in float-string conversionh2so5
2014-02-22powered num may be infinite in float-string conversionYukihiro "Matz" Matsumoto
2014-02-21add 'd' format specifier to get data pointer directly from mrb_get_argstake_cheeze
2014-02-20move src/error.h to include/mruby/error.htake_cheeze
2014-02-18mrb_flo_to_str: internal linkagecremno
2014-02-17iv_size (non-seglist): return 0 if t is NULLcremno
2014-02-17more mrb_flo_to_str fixescremno
- remove float check (take mrb_float instead of mrb_value) - support -0.0 - fix range error if log10 is called when n == 0.0 - MSVC older than 2013: add signbit macro (for double)
2014-02-17use double instead of mrb_float (that may be single precision float) to ↵Yukihiro "Matz" Matsumoto
reduce errors
2014-02-17remove trailing zeros from float string representationYukihiro "Matz" Matsumoto
2014-02-17define FLO_EPSILON depends on float/doubleYukihiro "Matz" Matsumoto
2014-02-17remove max_digit from mrb_flo_to_str()Yukihiro "Matz" Matsumoto
2014-02-17small refactoring; direct returnYukihiro "Matz" Matsumoto
2014-02-17use powf() instead of pow() on MRB_USE_FLOATYukihiro "Matz" Matsumoto
2014-02-17fdigit may be negative due to error if mrb_float is 32bit (e.g. 10**36 on ↵Yukihiro "Matz" Matsumoto
32bit arch); ref #1713 #1714
2014-02-17fix mrb_flo_to_str() exponent problemh2so5
2014-02-16Merge pull request #1710 from takkaw/flo_to_strYukihiro "Matz" Matsumoto
modify mrb_to_str() in order to display big float number
2014-02-15normalize NaN after division that may generate NaN; fix #1712Yukihiro "Matz" Matsumoto
2014-02-15modify mrb_to_str() in order to display big float numbertakkaw
2014-02-14clearn up warning in hash.cLi Yazhou
/home/fleuria/code/mruby/src/hash.c:159:1: warning: ‘mrb_hash_dp`defined but not used [-Wunused-function] mrb_hash_dup(mrb_state *mrb, mrb_value hash) ^ this commit defines Hash#dup to take advantage of mrb_hash_dup, however it seems that Hash#dup is not in ISO standard.
2014-02-14Merge pull request #1702 from cremno/hash-hash-ext-changesYukihiro "Matz" Matsumoto
hash / hash-ext: various small changes