summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
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
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`.