summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
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-08-16Added mrb_get_argc and mrb_get_midfelixjones
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
2015-02-13re-implement mrb_float_to_str()cremno
The new implementation is backwards incompatible, but I couldn't find any usage outside mruby and I also couldn't think of a different and good name. All ISO C99 printf conversion specifiers for floating point numbers and an optional precision are supported. It is largely based on code from the MIT licensed musl libc (http://www.musl-libc.org/) and its floating point printing is exact (unlike the current code behind Float#to_s).
2015-02-02allow endian specification of mrb files by `mrbc -e/-E`Yukihiro "Matz" Matsumoto
`mruby -b` now accepts both big/little endian mrb (compiled binary) files. `mrbc` generates mrb files in big endian for .mrb files and in native endian for C files (with -B option specified) by default. If you are cross compiling, you need to specify target endian by -e/-E options if it is different from host endian.
2015-01-03Removed duplicated declarations.Tatsuhiko Kubo
* `mrb_show_version()` * `mrb_show_copyright()`
2014-12-23khash.h: keep key/value table accessible from original hashtable during ↵Yukihiro "Matz" Matsumoto
resize; fix #2682
2014-12-02fix ISBLANK() for Visual Studio < 2013 (ref #2658)cremno
Visual Studio versions older than 2013 lack C99's isblank(). Since only ASCII characters are passed to it, implement it directly without calling the locale-specific isblank().
2014-11-19Merge pull request #2640 from mruby-Forum/v1.1.01.1.0Hiroshi Mimaki
mruby-1.1.0
2014-11-19separate mrb_notimplement() and mrb_notimplement_m(); ref #2636Yukihiro "Matz" Matsumoto
2014-11-18mruby-1.1.0mimaki
2014-11-18Add mruby debugger (mrdb)mimaki
2014-11-17Implement C API mrb_notimplementksss
2014-11-10Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-11-10Fix mrb_iv_check function declerationXuejie "Rafael" Xiao