summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2014-02-20move src/error.h to include/mruby/error.htake_cheeze
2014-02-17iv_size (non-seglist): return 0 if t is NULLcremno
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
2014-02-13mrb_str_cat2: deprecated since 0cedf8fcremno
2014-02-13hash / hash-ext: various small changescremno
src/hash.c: - mrb_hash_(aget|aset|dup|delete): internal linkage - remove documentation of methods which are not implemented (in here) - remove #assoc; unused, not in ISO spec - remove #rassoc: same, implementation is also wrong hash-ext mrbgem: - remove header "mruby/khash.h" - remove mrb_hash_values_at (move code into hash_values_at, i: long -> int) - less whitespace in gem_init function
2014-02-13remove direct inclusion of mruby/version.h from version.c; #1698Yukihiro "Matz" Matsumoto
2014-02-12Merge pull request #1697 from cremno/array-changesYukihiro "Matz" Matsumoto
array implementation: several small changes
2014-02-12Merge pull request #1695 from cremno/clang-and-icl-define-direct-threadedYukihiro "Matz" Matsumoto
Clang and ICC/ICL: define DIRECT_THREADED
2014-02-12array implementation: several small changescremno
src/array.c: - make various functions without declaration in the mruby headers static - removed all uncessary int casts and two useless comments mrb_ary_new_from_values: move to similar functions mrb_check_array_type: fix indentation include/mruby/array.h: mrb_shared_array: padding (default "mrbconf.h" on an usual 64-bit system) sizeof(mrb_int)==sizeof(int)==4 && sizeof(mrb_value*)==8 both: mrb_ary_aget: remove declaration in header and make static nobody uses it which is not surprising since it has 1 req arg! mrb_assoc_new: small optimization and move to similar functions mrb_ary_len: re-implement as static inline function (it is used by mrbgems) programmers should directly use RARRAY_LEN instead
2014-02-11Clang and ICC/ICL: define DIRECT_THREADEDcremno
This is most likely only needed on Windows be- cause __GNUC__ is not defined by both compilers. It might fail with some unusual configurations. If that is the case, feel free to open an issue.
2014-02-11add RUBY_ENGINE; ref #576Yukihiro "Matz" Matsumoto
2014-02-09Fix Kernel#global_variables for $1-$9Pavel
2014-02-09initialize ci->stackent at the top; #1691Yukihiro "Matz" Matsumoto
2014-02-09Merge branch 'original2' of https://github.com/miura1729/mruby into ↵Yukihiro "Matz" Matsumoto
miura1729-original2
2014-02-09Merge pull request #1674 from cremno/mrb_bool-FALSE-TRUEYukihiro "Matz" Matsumoto
use mrb_bool, FALSE and TRUE more
2014-02-09Store raw stack address in callinfo instead of offset from stbasMiura Hideki
2014-02-08made mrb_define_class to return existing class, with heavy refactoringYukihiro "Matz" Matsumoto
2014-02-08rename mrb_name_class and make it staticYukihiro "Matz" Matsumoto
2014-02-07forgot to add new filesYukihiro "Matz" Matsumoto
2014-02-07move version info from gems to core; ref #576 #1684Yukihiro "Matz" Matsumoto
2014-02-06Merge pull request #1688 from cubicdaiya/issues/unnecessary_semicolonYukihiro "Matz" Matsumoto
Remove unnecessary semicolon
2014-02-06remove unnecessary semicoloncubicdaiya
2014-02-06use mrb_str_new_lit() more widelyYukihiro "Matz" Matsumoto
2014-02-06introduce mrb_str_new_lit() to create strings from C string litralsYukihiro "Matz" Matsumoto
2014-02-05Add global constant MRUBY_COPYRIGHTMATSUMOTO Ryosuke
2014-02-05replace Kernel.show_version with MRUBY_DESCRIPTIONMATSUMOTO Ryosuke
2014-02-05Add pluggable versioning by mruby-versionMATSUMOTO Ryosuke
2014-02-05Fiber.new{break} caused SEGVYukihiro "Matz" Matsumoto
2014-02-04better codedump formatYukihiro "Matz" Matsumoto
2014-02-03add Float#nan?Tomoyuki Sahara
2014-02-01fix NODE_SPLAT codegenh2so5
2014-01-31use mrb_bool, FALSE and TRUE morecremno
It doesn't matter to me if one is using FALSE/TRUE instead of 1/0 but I prefer a type (alias) which emphasizes boolean vars to int. I changed 1/0 to FALSE/TRUE anyway.
2014-01-31rework mruby-objectspace and gc.[ch]cremno
- functions should have C linkage (for C++ code) - add prefix to each_object_callback - use more appropriate variable types / initialization - ObjectSpace::count_objects has 1 opt. arg. - prefer mrb_intern_lit to mrb_intern_cstr for str. lit. - mruby/value.h is included by mruby.h - adjust coding style
2014-01-31remove conflictYukihiro "Matz" Matsumoto
2014-01-31Merge pull request #1671 from cremno/extern-cleanupYukihiro "Matz" Matsumoto
clean up external symbols
2014-01-31Merge pull request #1669 from cremno/copyright-2014Yukihiro "Matz" Matsumoto
update copyright year
2014-01-31reindent parse.yh2so5
2014-01-31clean up external symbolscremno
remove unused and unneeded: - sysexit_status - type (a global variable) add mrb_ prefix to: - codedump_all - class_instance_method_list - parser_dump make various functions static, incl.: - yyparse - make_exception