summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
2016-11-27Safeguard against using MRB_INT64 with MRB_WORD_BOXING in 32-bit modeTomasz Dabrowski
2016-11-27Added documentation on function for globalsHerwin Weststrate
2016-11-26Fixed NaN boxing when MRB_INT16 is setTomasz Dąbrowski
2016-11-25Fix typo in istruct.hTomasz Dąbrowski
2016-11-24Fixed Range.size to use proper floating point toleranceTomasz Dąbrowski
2016-11-24Different method of compiling C as C++ (-x c++)Tomasz Dąbrowski
2016-11-24Safeguard against trying to use C++ exception handling in C codeTomasz Dąbrowski
2016-11-24Fixes for compiling mruby as C++Tomasz Dąbrowski
2016-11-22Fixed extern "C" to use MRB_BEGIN/END_DECL in re.hTomasz Dąbrowski
2016-11-21asserts checking validity of pointer and TT added for mrb_obj_valueTomasz Dąbrowski
Useful for testing when using boxing on different platforms.
2016-11-21mrb_assert definition moved to the beggining of mruby.hTomasz Dąbrowski
So that other files can immediately use it.
2016-11-21Fixed NaN boxing for 64-bit configrations on platforms that use full 48-bit ↵Tomasz Dąbrowski
usermode pointers Definition of boxed pointer is following: `111111111111TTTT TTPPPPPPPPPPPPPP PPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPP` Previously, only the last 32-bit were set, and remaining 14 bits were zeroed when setting `ttt`.
2016-11-21mruby architecture detectionTomasz Dąbrowski
2016-11-17Documented most methods in mruby/hash.hHerwin Weststrate
2016-11-17Documented most methods in mruby/array.hHerwin Weststrate
2016-11-17Typo fix: poped => poppedHerwin Weststrate
2016-11-17renamed "inline" to "istruct" to represent inline struct; ref #3251Yukihiro "Matz" Matsumoto
2016-11-17inline structures data type for mruby (MRB_TT_INLINE) (fix #3237)Tomasz Dąbrowski
Inline structures have no instance variables, no finalizer, and offer as much space as possible in RBASIC object. This means 24 bytes on 64-bit platforms and 12 bytes on 32-bit platforms. mruby-inline-struct gem is only provided for testing.
2016-11-16Fixed a memory problem in Array#to_hYukihiro "Matz" Matsumoto
Reported from Alex Snaps via Mathieu Leduc-Hamel, both from shopify.com. Thank you!
2016-11-10Renamed class_under_defined to class_defined_underFelix Jones
2016-11-06mrb_class_under_defined docs renamed parent and child to outer and innerFelix Jones
2016-11-06Added mrb_class_under_definedFelix Jones
2016-09-28Removed trailing spacesNobuyoshi Nakada
2016-09-27mrb_str_strlen() should be MRB_API; ref #3216Yukihiro "Matz" Matsumoto
2016-09-20Fix return value type of bytecode_decoderKazuaki Tanaka
2016-09-20Bytecode decoder support, MRB_BYTECODE_DECODE_OPTIONKazuaki Tanaka
2016-08-01make mrb_hash_values() a public API functionWilliam Light
2016-07-23yard docs for string.hRalph Desir(Mav7)
2016-07-13relax string length limitation to 64KB; fix #2725Yukihiro "Matz" Matsumoto
2016-07-08C doesn't have try-catchJunichi Kajiwara
2016-05-10add mrb_int_mul_overflow(); close #3149cremno
- call __builtin_mul_overflow() if it's available - perform a 64-bit multiplication for 32-bit mrb_int (default) - otherwise a much slower method is used
2016-05-09use type-generic checked arithmetic builtinscremno
Version checking is not reliable - especially with Clang. E.g. Apple's Clang (Xcode) uses different version numbers. A feature check (__has_builtin) is the recommened way. Add the MRB_HAVE_TYPE_GENERIC_CHECKED_ARITHMETIC_BUILTINS macro which may be used in other files.
2016-05-09define macros only if builtins are n/acremno
2016-03-22fix VS2010/2012 buildcremno
They don't have <inttypes.h>, only <stdint.h>.
2016-03-07change backtrace sep from const char* to charYukihiro "Matz" Matsumoto
2016-02-05Hash: check flags before accessing ifnone; ref #980Yukihiro "Matz" Matsumoto
2016-02-04cache UTF8 status for utf8_strlen(); ref #980Yukihiro "Matz" Matsumoto
2016-02-04cache mrb_regexp_p(); ref #980Yukihiro "Matz" Matsumoto
2016-01-18Update license year range to 2016Prayag Verma
2016-01-07change mrb_run related API names; compatibility macros providedYukihiro "Matz" Matsumoto
2016-01-07move KHASH_DECLARE(ht..) to mruby/hash.h; close #3073Yukihiro "Matz" Matsumoto
2016-01-07mruby-sprintf to use mrb_int formatting macros; ref #3076Yukihiro "Matz" Matsumoto
2016-01-06define `MRB_PRI?` that map to `PRI?NN` depending on the size of `mrb_int`Kazuho Oku
2016-01-02mruby-fiber: fiber_switch() to use nesting VM when it's called from C API or ↵Yukihiro "Matz" Matsumoto
mrb_funcall(); close #3056
2016-01-01use _setjmp/_longjmp on other BSD flavorsKazuho Oku
2016-01-01use _setjmp/_longjmp on OS XKazuho Oku
2015-12-31GC must scan env from fibers even when it's not yet copied to heap; fix #3063Yukihiro "Matz" Matsumoto
2015-12-29Support backtrace after method callsKouhei Sutou
GitHub: fix #2902, #2917 The current implementation traverses stack to retrieve backtrace. But stack will be changed when some operations are occurred. It means that backtrace may be broken after some operations. This change (1) saves the minimum information to retrieve backtrace when exception is raised and (2) restores backtrace from the minimum information when backtrace is needed. It reduces overhead for creating backtrace Ruby objects. The space for the minimum information is reused by multiple exceptions. So memory allocation isn't occurred for each exception.
2015-12-12Undid newline and whitespace on YARD docRalph Desir
2015-12-12One space indentation.Ralph Desir