summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2014-08-05Merge branch 'add-gc-docs' of https://github.com/suzukaze/mruby into ↵Yukihiro "Matz" Matsumoto
suzukaze-add-gc-docs
2014-08-05Add write_barrier docsJun Hiroe
2014-08-04Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-08-04Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-08-04fix linkage of range_beg_len and mrb_range_beg_lencremno
2014-08-04Merge pull request #2498 from cremno/msvc-snprintfYukihiro "Matz" Matsumoto
MSVC: add simple (v)snprintf implementation
2014-08-04Merge pull request #2501 from cremno/static-mrb_str_sizeYukihiro "Matz" Matsumoto
change linkage of mrb_str_size to internal
2014-08-04Merge pull request #2497 from cremno/fix-conversion-warningsYukihiro "Matz" Matsumoto
fix conversion warnings (in gc.c)
2014-08-04Merge pull request #2496 from cremno/remove-unnecessary-char_bit-checkYukihiro "Matz" Matsumoto
remove unnecessary CHAR_BIT != 8 check
2014-08-04change linkage of mrb_str_size to internalcremno
Use RSTRING_LEN to get the length.
2014-08-03MSVC: add simple (v)snprintf implementationcremno
_snprintf is not C99's snprintf! This simple implementation, unlike _snprintf, always null-terminates and returns the expected return value (in most cases). Other C99 behaviors (like format specifiers) require adding a complete snprintf implementation. Do we want or need that? The same applies to vsnprintf (aka _vsnprintf).
2014-08-03fix conversion warningscremno
Those warnings are not enabled by default, but getting rid of them doesn't hurt.
2014-08-04rename obsolete mrb_special_const_p to mrb_immediate_pYukihiro "Matz" Matsumoto
2014-08-04add MRB_API modifiers to mruby API functionsYukihiro "Matz" Matsumoto
2014-08-02Use Boolean macro in variable.cJun Hiroe
2014-08-02remove unnecessary CHAR_BIT != 8 checkcremno
mruby uses uint8_t which implies CHAR_BIT == 8.
2014-07-27Refactor sym_equal() in symbol.cJun Hiroe
2014-07-26Merge pull request #2478 from dreamedge/add_module_functionYukihiro "Matz" Matsumoto
add Module#module_function
2014-07-24Merge pull request #2477 from take-cheeze/allocf_udYukihiro "Matz" Matsumoto
Add field `allocf_ud` to replace current `ud`.
2014-07-23check if block is given in eval_under(); fix #2486Yukihiro "Matz" Matsumoto
2014-07-21Use MRB_TT_EXCEPTION in exception object.take_cheeze
2014-07-21since #1441, NaN boxing with 64bit pointer works; close #2476Yukihiro "Matz" Matsumoto
2014-07-18add Module#module_functiondreamedge
2014-07-17Add field `allocf_ud` to replace current `ud`.take_cheeze
Since some use it as `mrb_state` associated user data.
2014-07-17avoid infinite recursion when error was happened in #inspect; fix #2474Yukihiro "Matz" Matsumoto
2014-07-15backtrace supression condition was wrong; fix #2472Yukihiro "Matz" Matsumoto
2014-07-14Use `mrb_bool` as return type of `mrb_const_defined_at`.take_cheeze
2014-07-13use C style comments instead of C++ style commentsTatsuhiko Kubo
2014-07-12avoid print backtrace for SystemStackErrorYukihiro "Matz" Matsumoto
2014-07-12use SystemStackError instead of RuntimeErrorYukihiro "Matz" Matsumoto
2014-07-12check the return value of `fwrite`cremno
2014-07-12remove spaces after open parensYukihiro "Matz" Matsumoto
2014-07-09Merge pull request #2455 from cremno/readint_mrb_int-check-baseYukihiro "Matz" Matsumoto
invalid base shouldn't silently fail
2014-07-09invalid base shouldn't silently failcremno
Revert 44a5809224e819bf8bcca4ae9a8c5ea5bf4cefd7 and check range of `base` with `mrb_assert`. It actually can only be either 2, 8, 10 or 16 (and never 0), unless mruby sources are modified. But I don't see a reason to impose further limits.
2014-07-09remove unused `mrb_str_body`cremno
2014-07-09Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-07-09rename word boxing functionsYukihiro "Matz" Matsumoto
2014-07-09rename SET_FIXNUM_VALUE to SET_INT_VALUE since it sets mrb_int valueYukihiro "Matz" Matsumoto
2014-07-09Clean up value.h and mrb_value boxingDavid Turnbull
2014-07-08Merge pull request #2451 from take-cheeze/remove_mem_out_checkYukihiro "Matz" Matsumoto
Remove unnecessary out of memory check in `ary_expand_capa`.
2014-07-07Remove unnecessary out of memory check in `ary_expand_capa`.take_cheeze
Since `mrb_realloc` raises when failed to allocate memory.
2014-07-06Add new API `mrb_ary_resize`(mruby implementation of `rb_ary_resize`).take_cheeze
2014-07-06reformat else part; ref #2447Yukihiro "Matz" Matsumoto
2014-07-05Reduce allocation in shared RArray clearing.take_cheeze
2014-07-04Fix type checking in `mrb_flo_to_fixnum`.take_cheeze
2014-07-03Always return non-NULL in `mrb_hash_tbl`.take_cheeze
2014-07-03Merge pull request #2442 from suzukaze/use-mrb-str-nofree-macroYukihiro "Matz" Matsumoto
Use RSTR_NOFREE_P in state.c
2014-07-03Use *_EMBED_* macro in state.cJun Hiroe
2014-07-03Use RSTR_NOFREE_P in state.cJun Hiroe
2014-07-02Ensure RVALUE is large enough for word boxing types.David Turnbull