summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2014-02-15normalize NaN after division that may generate NaN; fix #1712Yukihiro "Matz" Matsumoto
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
2014-01-30Happy new year! (update copyright year)cremno
Let's not wait until May this time (f0a9b95af3d542ac1db7fcb4a3d77990a284c185)!
2014-01-30etc.c: small cleanup (delete unused functions)cremno
mrb_data_object_alloc: unnecessary cast mrb_lastline_get: mruby doesn't support $_, weird and unused code mrb_exec_recursive: see 4e46abb86914b36e70b5f3ad0826d0b648e9b4ef mrb_block_proc: unused, doesn't really do anything (or needs to be rewritten) mrb_obj_to_sym: actually use id (and MSVC detected unreachable code)
2014-01-31refactor parser lineno adjustment; ref #1667Yukihiro "Matz" Matsumoto
2014-01-30add semicolon after the statementsYukihiro "Matz" Matsumoto
2014-01-30Merge pull request #1667 from h2so5/backtrace-linenoYukihiro "Matz" Matsumoto
more accurate backtrace lineno
2014-01-30Array#[]= is now range awareYukihiro "Matz" Matsumoto
2014-01-30more accurate backtrace linenoh2so5
2014-01-29move range aware aget to array.c from mruby-array-ext gemYukihiro "Matz" Matsumoto
2014-01-25clone Class/Module rightlyh2so5
2014-01-23add callback invocation from OP_DEBUGYukihiro "Matz" Matsumoto
2014-01-21escape non-ascii characters correctly in String#inspecth2so5
2014-01-21describe call stack overwritten problem of mrb_get_backtrace; close #1661Yukihiro "Matz" Matsumoto