summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
2014-03-19Merge pull request #1890 from take-cheeze/fiber_resumingYukihiro "Matz" Matsumoto
Revert MRB_FIBER_RESUMED as MRB_FIBER_RESUMING.
2014-03-19rename mrb_yield_internal to mrb_yield_with_class since it's no longer internalYukihiro "Matz" Matsumoto
2014-03-19export mrb_yield_internal.Tomoyuki Sahara
2014-03-19revert MRB_FIBER_RESUMED as MRB_FIBER_RESUMING to fix recurive resumetake_cheeze
2014-03-19string functions arguments changed from mrb_int to size_t that would take ↵Yukihiro "Matz" Matsumoto
strlen()
2014-03-19change mrb_int to size_t that would take strlen()Yukihiro "Matz" Matsumoto
2014-03-18add a space after C reserved wordsYukihiro "Matz" Matsumoto
2014-03-16unify indent stylecubicdaiya
2014-03-15Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-03-15string length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-15symbol length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-15Add Fiber's double resume test and fix it.take_cheeze
2014-03-15type of mrb_type() should be enum mrb_vtype when MRB_NAN_BOXING is onYukihiro "Matz" Matsumoto
2014-03-13Merge pull request #1849 from cremno/add-mrb_int_bit-macroYukihiro "Matz" Matsumoto
add MRB_INT_BIT
2014-03-13Merge pull request #1851 from tmash06/add_include_limit_hYukihiro "Matz" Matsumoto
add including limits.h.
2014-03-13add including limits.h.tmash06
Because Android's libc(bionic) defines SIZE_MAX at limits.h.
2014-03-12add mrb_strlen_lit which makes _lit macros safercremno
strlen(3) + string literal is usually optimized but strlen(3) doesn't check if its argument is really a string literal. This is important for mruby's _static functions to which some _lit macros are expanded (string literals have static storage). See comment for some additional info. remove unnecessary parentheses
2014-03-11add MRB_INT_BITcremno
2014-03-11don't use of anonymous unionstake_cheeze
2014-03-09Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-03-09Merge pull request #1834 from cremno/use-nan-and-infinity-macrosYukihiro "Matz" Matsumoto
use NAN and INFINITY macros
2014-03-09remove invocation of strlen() on buffer of strings; with refactoringYukihiro "Matz" Matsumoto
2014-03-08MSVC: add NAN and INFINITY for older versionscremno
2014-03-08Make type casts safer.Masaki Muranaka
2014-03-08use sizeof(void*) instead of mrb_int size and extend embed string sizetake_cheeze
2014-03-06make embed string when create literalsksss
2014-03-06embed small stringksss
use flags 4 for *this object is embed* use flags 8~64 for *embed string length*
2014-03-05error.h: add extern "C" for C++cremno
2014-03-04fix a comment end of include guardcubicdaiya
2014-03-04introduce mrb_exc_new_str_lit for C string literalscubicdaiya
2014-03-03fix include guard style.Tatsuya Matsumoto
2014-03-01fix compile errortake_cheeze
2014-03-01support c++ exceptiontake_cheeze
2014-03-01allow send method not to call mrb_funcall if calling method is implemented ↵Yukihiro "Matz" Matsumoto
in Ruby; fix #1680 ref #1765
2014-03-01revert changes to mrbconf.hYukihiro "Matz" Matsumoto
2014-03-01use C style comments instead of C++ style commentscubicdaiya
According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
2014-03-01mrb_fiber_yield() is available now; you have to link mruby-fiber mrbgem to ↵Yukihiro "Matz" Matsumoto
use the function; there's no function available to create new fiber from C (countapart of Lua's lua_newthread), but that's because you cannot create a new fiber from C due to mruby C API design limitation. define your method to create fibers in Ruby; close #1269
2014-02-27revert 38e9ce21 and API changed; mrb_get_backtrace() -> renamed to ↵Yukihiro "Matz" Matsumoto
mrb_exc_backtrace since this is a backtrace method implementation of Exception; mrb_get_backtrace_at() -> removed; mrb_get_backtrace() -> added to get backtrace in array (like caller)
2014-02-27add new function mrb_get_backtrace_at() to get backtrace at ci and pcYukihiro "Matz" Matsumoto
2014-02-26Merge pull request #1744 from cubicdaiya/feature/introduce_mrb_str_cat_litYukihiro "Matz" Matsumoto
Introduce mrb_str_cat_lit
2014-02-26introduce mrb_str_cat_lit() to create strings from C string litralscubicdaiya
2014-02-26Merge pull request #1740 from tmash06/fix_missing_spacesYukihiro "Matz" Matsumoto
fix missing spaces.
2014-02-26resolve conflictYukihiro "Matz" Matsumoto
2014-02-26fix missing spaces.Tatsuya Matsumoto
2014-02-24add MRB_ prefix to STRINGIZE macrotake_cheeze
2014-02-20move src/error.h to include/mruby/error.htake_cheeze
2014-02-18mrb_flo_to_str: internal linkagecremno
2014-02-17Added spaces in version.h macros for complying with C++11Paolo Bosetti
2014-02-17more mrb_flo_to_str fixescremno
- remove float check (take mrb_float instead of mrb_value) - support -0.0 - fix range error if log10 is called when n == 0.0 - MSVC older than 2013: add signbit macro (for double)
2014-02-17remove max_digit from mrb_flo_to_str()Yukihiro "Matz" Matsumoto