summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
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
2014-05-15Support `LVAR` section removing.take_cheeze
2014-05-14mv opcode.h -> include/mruby/opcode.h and remove duplication from mruby-eval gemYukihiro "Matz" Matsumoto
2014-05-14resize register number in LVAR section from 32bits to 16bitsYukihiro "Matz" Matsumoto
2014-05-14rename lv section header from LOCV to LVARYukihiro "Matz" Matsumoto
2014-05-14Merge branch 'dump_lv' of https://github.com/take-cheeze/mruby into ↵Yukihiro "Matz" Matsumoto
take-cheeze-dump_lv
2014-05-13fix overflow error like #2244 on MRB_WORD_BOXINGYukihiro "Matz" Matsumoto
2014-05-13should use mrb_type() for the sake of MRB_WORD_BOXINGYukihiro "Matz" Matsumoto
2014-05-08Add API `mrb_atexit()`.take_cheeze
`mrb_final_mrbgems` will be called as mrb_state atexit function. Maybe useful in #1844.
2014-05-07Move Kernel#fail definition to mruby-kernel-ext mrbgem.take_cheeze
2014-05-05add function for checked mrb_int subtractioncremno
2014-05-05add function for checked mrb_int additioncremno
2014-05-05temporary macros for checked arithmetic functionscremno
2014-05-04simply use `isfinite`cremno
2014-05-03new macro mrb_int(mrb,x) to retrieve mrb_int from mrb_value with conversion ↵Yukihiro "Matz" Matsumoto
if needed
2014-05-03Merge branch 'values_at' of https://github.com/take-cheeze/mruby into ↵Yukihiro "Matz" Matsumoto
take-cheeze-values_at
2014-05-02add namespace prefix to `dump_irep`cremno
2014-05-02Implement Struct#values_at and Array#values_at .take_cheeze
Add API `mrb_get_values_at()` to mruby/range.h .
2014-04-30Added dump_irep in header.Thiago Scalone
2014-04-29Remove `lv_len` and use `nlocals - 1` instead.take_cheeze
Check that `lv`'s length is always `nlocals - 1`.
2014-04-29Support local variables information dumping.take_cheeze
2014-04-29remove `mrb_str_offset`cremno
2014-04-29make cioff in struct REnv from int to ptrdiff_t; close #2149Yukihiro "Matz" Matsumoto
2014-04-28presreve local variables names in irep->lvYukihiro "Matz" Matsumoto
2014-04-28Merge pull request #2142 from cremno/rename-mrb_str_buf_appendYukihiro "Matz" Matsumoto
rename `mrb_str_buf_append` to `mrb_str_cat_str`
2014-04-27rename `mrb_str_buf_append` to `mrb_str_cat_str`cremno
The new name is better and less confusing, because: - `mrb_str_append` calls `mrb_str_to_str` and this function doesn't - `mrb_str_buf_append` _is_ `mrb_str_cat` for `mrb_value` strings
2014-04-28Fix MSVC warnings for numeric.ckyab
2014-04-26Merge pull request #2118 from ksss/range-boolYukihiro "Matz" Matsumoto
RRange excl flag use mrb_bool insteard of int
2014-04-25better integer size assertion suggested by usakYukihiro "Matz" Matsumoto