summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
2015-10-08Merge doc/api/mruby/string.h.md contentsSeba Gamboa
2015-10-08Merge contents from doc/api/mruby/version.h.mdSeba Gamboa
2015-10-08Formatting docs to new YARD structureSeba Gamboa
2015-10-08Fix samples syntax highlightingSeba Gamboa
2015-10-08Remove old doxygen tagsSeba Gamboa
2015-10-08Testing @see tagSeba Gamboa
2015-09-27fix signature of mrb_class_new_instance()takahashim
dd925578c604a608f83172f85d8e5bfc3bb99c6a changed the order of arguments, but it doesn't seem intentional.
2015-09-24UTF-8 string support in coreYukihiro "Matz" Matsumoto
define MRB_UTF8_STRING (in mrbconf.h) to enable UTF-8 support.
2015-09-22Merge pull request #2959 from sagmor/api-documentationYukihiro "Matz" Matsumoto
C API documentation
2015-09-21Merge descriptions from doc/api/mruby/array.h.mdSeba Gamboa
2015-09-21document mrb_nil_valueSeba Gamboa
2015-09-21Document data headerSeba Gamboa
2015-09-22add new functions mrb_gc_register/unregister; close #1411Yukihiro "Matz" Matsumoto
some routines need to refer mruby objects (e.g. callbacks), in that case you have to protect your objects from garbage collection. the new functions mrb_gc_register() keeps those objects from GC. you have to remove your objects using mrb_gc_unregister() when your C routines use mruby objects any longer, otherwise objects will leak.
2015-09-21Sort compiler macros aroundSeba Gamboa
2015-09-21Sorting documentation groupingSeba Gamboa
2015-09-20Setting up doxygen groupsSeba Gamboa
2015-09-20Merging documentation from docsSeba Gamboa
2015-09-18Playing around with some documentations schemesSeba Gamboa
2015-09-11Support windows localeYasuhiro Matsumoto
Add mrb_utf8_from_locale, mrb_utf8_free, mrb_locale_from_utf8, mrb_locale_free. Just works for windows.
2015-09-05remove `origin` member to implement prepend from struct RClass; ref #2885Yukihiro "Matz" Matsumoto
instead origin is saved in ICLASS with MRB_FLAG_IS_ORIGIN set.
2015-09-04Merge branch 'module-prepend' of https://github.com/polyfox/mruby into ↵Yukihiro "Matz" Matsumoto
polyfox-module-prepend
2015-09-03remove trailing spaces from bc9c47d5Yukihiro "Matz" Matsumoto
2015-09-01C++ 11 requires a space between literal and identifiersjbreeden
2015-09-01Refactor version.h macrosJun Hiroe
2015-08-27add String#freeze to the coreYukihiro "Matz" Matsumoto
2015-07-16Added mrb_prepend_module to mruby headerCorey Powell
2015-07-15Renamed MRB_FLAG_IS_INSTANCE to MRB_INSTANCE_TT_MASKCorey Powell
2015-07-15add an small comment description in mruby/error.h headerYukihiro "Matz" Matsumoto
2015-07-15Use class array instead of variadic.take_cheeze
2015-07-15Implement `mrb_protect`, `mrb_ensure`, `mrb_rescue`, `mrb_rescue_exceptions`.take_cheeze
(`mrb_rescue_exceptions` is mruby implementation of `rb_rescue2`.) Closes #2844, closes #2837.
2015-07-14Applied gc patch to fix ORIGIN ICLASS method table leakCorey Powell
Based on the gc patch by ko1 https://github.com/ruby/ruby/commit/5922c954614e5947a548780bb3b894626affe6dd
2015-07-13Implement Module#prepend.Blaž Hrastnik
2015-07-13refactor mrb_bob_missing to share raising NoMethodError code; fix #2878Yukihiro "Matz" Matsumoto
Note: arguments of mrb_no_method_error() has changed. You need to replace 3rd and 4th argument (say n, argv) to mrb_ary_new_from_values(mrb, n, argv).
2015-06-24Remove unnecessary backticks.Franck Verrot
Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
2015-06-24remove deprecated.hYukihiro "Matz" Matsumoto
2015-06-23Move deprecated macros and functions to dedicated header filefurunkel
2015-05-28simplify all IS* and TO* macroscremno
Reduces the file size (by up to 2 KB with VS2015 RC, /O2, /MD) and removes the requirement of including <ctype.h> before their usage. Multiple macro argument evaluation and lack of type-checking is still an issue.
2015-05-28simplify ISASCII() macrocremno
2015-05-25Move "src/mrb_throw.h" to "include/mruby/throw.h".take_cheeze
Related to #2760.
2015-05-18fix type of mrb_exc_new()'s len parametercremno
mrb_str_new() takes size_t, so should mrb_exc_new().
2015-05-17remove SET_PROC_VALUE() macrocremno
It isn't used anymore since the #2791 merge. It's also unlikely to be needed again as it wasn't before (its usage was unnecessary).
2015-05-17Merge pull request #2791 from cremno/remove-mrb_define_method_vmYukihiro "Matz" Matsumoto
remove mrb_define_method_vm() function
2015-05-15remove mrb_define_method_vm() functioncremno
It isn't needed as it's very similar to mrb_define_method_raw() and also there's only one place where mrb_proc_ptr() actually has to be called. Inspired by @furunkel's method cache patch (#2764).
2015-05-15Update Coopyright Information to year 2015Daniel Bovensiepen
2015-05-12Avoid unnecessary stores and reloadsfurunkel
2015-04-17Use builtins for overflow math if possiblefurunkel
2015-04-03Merge pull request #2754 from cremno/remove-unnecessary-inttypes.h-inclusionYukihiro "Matz" Matsumoto
remove unnecessary <inttypes.h> inclusion
2015-03-30remove unnecessary <inttypes.h> inclusioncremno
The format specifier macros were needed to portably print a mrb_int, because mrb_raisef() originally called vsnprintf(). It doesn't anymore since 18b2683b97ae54d4f2f15c19076f33aa29eaf2b7 and the mrb_int format specifier macros are already gone.
2015-03-30MSVC 2015 implements inline keywordcremno
Apparently the C compiler of Visual Studio 2015 CTP6 finally implements inline as inline and not only as _inline and __inline.
2015-02-19add a prototype declaration for mrb_fiber_resume(); ref #1269Yukihiro "Matz" Matsumoto