summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
2014-09-15change mrb_sym type from uint16_t to uint32_tYukihiro "Matz" Matsumoto
2014-09-12constify pointer from RARRAY_PTR to detect potential write barrier bugs.Yukihiro "Matz" Matsumoto
if you see compiler errors due to this commit, you'd better to use array-modifying functions, e.g. mrb_ary_set() or mrb_ary_push(), otherwise you might see nasty GC bugs in the future. if you are sure what you are doing, replace `RARRAY_PTR(ary)` by `mrb_ary_ptr(ary)->ptr`. but be warned.
2014-09-05add some MRB_API to function prototypesYukihiro "Matz" Matsumoto
2014-09-05use uint16_t instead of short; ref #2568Yukihiro "Matz" Matsumoto
2014-09-02refactor valid instance variable name checkYukihiro "Matz" Matsumoto
2014-09-02move mrb_proc_new_cfunc_with_env() to the coreYukihiro "Matz" Matsumoto
2014-08-29delete obsolete macros (mrb_basic + mrb_object)cremno
Over a year ago is not "soon" anymore. See: 88483fad0036e5cb023940f7c6d18006517fa731 243669308dfd10c8444c2992a883e165b9209941
2014-08-29allow no_optimize esp. for debuggerYukihiro "Matz" Matsumoto
2014-08-29Merge pull request #2570 from cubicdaiya/issues/unify_duplicated_functionsYukihiro "Matz" Matsumoto
Unify and rename duplicated functions (noregexp() and regexp_check()).
2014-08-29Fix mismatches for MRB_API declarations.Tatsuhiko Kubo
2014-08-28Rename functions for avoinding symbol confiliction.Tatsuhiko Kubo
Add prefix(mrb) to noregexp() and regexp_check().
2014-08-28Unify duplicated functions (noregexp() and regexp_check()).Tatsuhiko Kubo
2014-08-27add symbol table overflow checkcremno
Since raising an error might intern a few new strings, some symbols need to be reserved. 8 should be sufficient. If the real limit has been reached, mrb_bug() is called.
2014-08-26remove unused MSVC strtoll fallbackcremno
2014-08-21Unify include guard styles and header comments.Tatsuhiko Kubo
2014-08-20Add API `mrb_data_init` to initialize `MRB_TT_DATA` tagged instance.take_cheeze
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