summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
2014-08-06Rename GC_STATE_NONE GC_STATE_ROOTJun Hiroe
2014-08-05Refactor obj_free() in gc.cJun Hiroe
2014-08-05Merge pull request #2508 from iij/pr-mrb-str-to-cstr-returns-mutableYukihiro "Matz" Matsumoto
revert accidental constify.
2014-08-05revert accidental constify.Tomoyuki Sahara
2014-08-04Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
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-04turn string obsolete functions into macrosYukihiro "Matz" Matsumoto
2014-08-04add MRB_API modifiers to mruby API functionsYukihiro "Matz" Matsumoto
2014-08-03fix typo with MRB_INT16; fix #2495Yukihiro "Matz" Matsumoto
2014-07-24Merge pull request #2477 from take-cheeze/allocf_udYukihiro "Matz" Matsumoto
Add field `allocf_ud` to replace current `ud`.
2014-07-23Silence "unused parameter" warnings in C++Jonas Kulla
This has been done already, but the fixes were accidentally removed in 249f05e7d70761823ef07a990276f9200e8b3302.
2014-07-21Use MRB_TT_EXCEPTION in exception object.take_cheeze
2014-07-20Move word boxing structs to "mruby/boxing_word.h".take_cheeze
2014-07-17Add field `allocf_ud` to replace current `ud`.take_cheeze
Since some use it as `mrb_state` associated user data.
2014-07-14Use `mrb_bool` as return type of `mrb_const_defined_at`.take_cheeze
2014-07-12use SystemStackError instead of RuntimeErrorYukihiro "Matz" Matsumoto
2014-07-09Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-07-09rename boxing_nix.h to boxing_no.hYukihiro "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-06Add new API `mrb_ary_resize`(mruby implementation of `rb_ary_resize`).take_cheeze
2014-07-01Fix MRB_WORD_BOXING by correctly telling GC which mrb_value types are immediate.David Turnbull
2014-06-25proc.h: MRB_ASPEC_REST() macro return 1 or 0ksss
MRB_ASPEC_REST() is macro just only checks whether truthy or falsy. And truthy means exist 1 rest argument in current proc.
2014-06-24add a few const qualifierSanta Zhang
2014-06-23rename mrb_open_without_mrbgems to mrb_open_coretake_cheeze
2014-06-23make default allocf public to use it with mrb_open_without_mrbgemstake_cheeze
2014-06-23add mrb_open_without_mrbgems APItake_cheeze
2014-06-21clear local variables for the first execution of mrb_context_run(); close #2405Yukihiro "Matz" Matsumoto
2014-06-16Add fixed state atexit stack feature.take_cheeze
Adds following macros: * MRB_FIXED_STATE_ATEXIT_STACK (not defined by default) * When defined enables fixed state atexit stack. * MRB_FIXED_STATE_ATEXIT_STACK_SIZE (default value: 5) * This macro will be ignored when `MRB_FIXED_STATE_ATEXIT_STACK` isn't defined. * When `mrb_state_atexit` is called more than this value it will raise runtime error.
2014-06-11Add NOFREE macrosJun Hiroe
2014-06-10rename mrb_atexit to mrb_state_atexit to clarify a func will be called at ↵Yukihiro "Matz" Matsumoto
the end of state, not process; ref #2211
2014-06-09Fallback to `mrb_assert` instead of dirty trick.take_cheeze
2014-06-08Use `_Static_assert` when C11 is available and use it in pointer size check.take_cheeze
2014-06-07move STR_* macros to mruby/string.h with renamingYukihiro "Matz" Matsumoto
2014-06-05implement `ISASCII` correctlycremno
2014-06-06move IS_EVSTR macro that should be private to src/string.cYukihiro "Matz" Matsumoto
2014-06-05Merge branch 'atexit' of https://github.com/take-cheeze/mruby into ↵Yukihiro "Matz" Matsumoto
take-cheeze-atexit
2014-06-04upcoming Visual Studio versions provide `snprintf`cremno
2014-06-04use pre-allocated RuntimeError for out-of-memoryYukihiro "Matz" Matsumoto
2014-06-02Implement `NoMethodError#args`.take_cheeze
2014-05-30add internal function mrb_toplevel_run_keep() to keep stack contents; close ↵Yukihiro "Matz" Matsumoto
#2326
2014-05-20move prototype of mrb_format() from error.h to mruby.h; ref #2274Yukihiro "Matz" Matsumoto
2014-05-19allow NULL (no variable) in lvar section of mrb format; fix #2294Yukihiro "Matz" Matsumoto
This fix use UINT16_MAX for NULL symbol tag, that means maximum symbol length is not UINT16_MAX-1.
2014-05-18Merge pull request #2287 from yui-knk/add-spaceYukihiro "Matz" Matsumoto
Add a space aftre bracket.
2014-05-18Add a space aftre bracket.yui-knk
2014-05-18Remove space.yui-knk
2014-05-17Replace tab with spaces.yui-knk
2014-05-16include/mruby/opcode.h fix operation docksss
src/vm.c fix operation doc [ci skip]
2014-05-15move mrb_irep_remove_lv from etc.c to mruby-bin-strip gemYukihiro "Matz" Matsumoto