summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
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
2014-02-14Merge pull request #1705 from takahashim/version-numberYukihiro "Matz" Matsumoto
MRUBY_VERSION should be only numbers separated by dot, like JRUBY_VERSION or Rubinius::VERSION
2014-02-14Merge pull request #1703 from cremno/parenthesize-mrbdump-errnosYukihiro "Matz" Matsumoto
dump.h: parenthesize negative errnos
2014-02-13MRUBY_VERSION should be only numbers separated by dot, like JRUBY_VERSION or ↵takahashim
Rubinius::VERSION
2014-02-13remove mrb_str_literal declarationcremno
definition was removed in 677a2ac
2014-02-13dump.h: parenthesize negative errnoscremno
2014-02-12include mruby/version.h in mruby.hTomoyuki Sahara
2014-02-12array implementation: several small changescremno
src/array.c: - make various functions without declaration in the mruby headers static - removed all uncessary int casts and two useless comments mrb_ary_new_from_values: move to similar functions mrb_check_array_type: fix indentation include/mruby/array.h: mrb_shared_array: padding (default "mrbconf.h" on an usual 64-bit system) sizeof(mrb_int)==sizeof(int)==4 && sizeof(mrb_value*)==8 both: mrb_ary_aget: remove declaration in header and make static nobody uses it which is not surprising since it has 1 req arg! mrb_assoc_new: small optimization and move to similar functions mrb_ary_len: re-implement as static inline function (it is used by mrbgems) programmers should directly use RARRAY_LEN instead
2014-02-11add RUBY_ENGINE; ref #576Yukihiro "Matz" Matsumoto
2014-02-09Merge branch 'original2' of https://github.com/miura1729/mruby into ↵Yukihiro "Matz" Matsumoto
miura1729-original2
2014-02-09Merge pull request #1674 from cremno/mrb_bool-FALSE-TRUEYukihiro "Matz" Matsumoto
use mrb_bool, FALSE and TRUE more
2014-02-09Store raw stack address in callinfo instead of offset from stbasMiura Hideki
2014-02-08forget to add function prototypesYukihiro "Matz" Matsumoto
2014-02-07add MRUBY_RELEASE info in numbersYukihiro "Matz" Matsumoto
2014-02-07forgot to add new filesYukihiro "Matz" Matsumoto
2014-02-06introduce mrb_str_new_lit() to create strings from C string litralsYukihiro "Matz" Matsumoto
2014-01-31use mrb_bool, FALSE and TRUE morecremno
It doesn't matter to me if one is using FALSE/TRUE instead of 1/0 but I prefer a type (alias) which emphasizes boolean vars to int. I changed 1/0 to FALSE/TRUE anyway.
2014-01-31rework mruby-objectspace and gc.[ch]cremno
- functions should have C linkage (for C++ code) - add prefix to each_object_callback - use more appropriate variable types / initialization - ObjectSpace::count_objects has 1 opt. arg. - prefer mrb_intern_lit to mrb_intern_cstr for str. lit. - mruby/value.h is included by mruby.h - adjust coding style
2014-01-31Merge pull request #1669 from cremno/copyright-2014Yukihiro "Matz" Matsumoto
update copyright year
2014-01-31Merge pull request #1668 from cremno/etc-c-cleanupYukihiro "Matz" Matsumoto
etc.c: small cleanup
2014-01-30mruby.h: remove mrb_str_format declarationcremno
The function mrb_str_format is only defined when the mrbgem mruby-sprintf was activated. That might not always be the case (by default it currently is). mrb_str_format still has external linkage, so from now on mrbgem authors have to declare it in their source code if they want or need to call it.
2014-01-30Happy new year! (update copyright year)cremno
Let's not wait until May this time (f0a9b95af3d542ac1db7fcb4a3d77990a284c185)!
2014-01-30etc.c: small cleanup (delete unused functions)cremno
mrb_data_object_alloc: unnecessary cast mrb_lastline_get: mruby doesn't support $_, weird and unused code mrb_exec_recursive: see 4e46abb86914b36e70b5f3ad0826d0b648e9b4ef mrb_block_proc: unused, doesn't really do anything (or needs to be rewritten) mrb_obj_to_sym: actually use id (and MSVC detected unreachable code)
2014-01-31refactor parser lineno adjustment; ref #1667Yukihiro "Matz" Matsumoto