Yukihiro "Matz" Matsumoto
f07ee20260
Merge pull request #2995 from Mav7/master
...
fixed YARD documentation for mrb_obj_new
2015-10-18 00:16:02 +09:00
Ralph Desir(Mav7)
91444aec4b
fixed YARD documentation for mrb_obj_new
2015-10-17 03:10:28 -04:00
Ralph Desir(Mav7)
d16912681a
updated YARD docs on mruby.h
2015-10-15 19:41:45 -04:00
Yukihiro "Matz" Matsumoto
fd8634d26b
Merge pull request #2993 from Mav7/master
...
Updated mruby.h YARD doc.
2015-10-15 23:12:47 +09:00
Ralph Desir(Mav7)
d702b7fdf0
Add more YARD docs for mruby.h for mrb_undef_method and mrb_undef_class_method.
2015-10-14 16:49:10 -04:00
Ralph Desir(Mav7)
a5b416e2ce
Added documentation for mrb_undef_method
2015-10-14 02:50:12 -04:00
Yukihiro "Matz" Matsumoto
af3aecd94f
Merge pull request #2916 from felixjones/master
...
mrb_get_mid and mrb_get_argc
2015-10-12 21:04:19 +09:00
Ralph Desir(Mav7)
6276227e70
Wrote YARD docs for mrb_define_module, mrb_include_module, mrb_prepend_module, mrb_define_class_method, mrb_define_module_function, and mrb_define_const on mruby.h
2015-10-11 08:55:56 -04:00
Seba Gamboa
87e0840e9d
Fix mrb_obj_respond_to
2015-10-08 15:34:51 -03:00
Seba Gamboa
ef73ec560e
array header cleanup
2015-10-08 13:33:38 -03:00
Seba Gamboa
11fb10a21a
Merge doc/api/mruby/hash.h.md docs
2015-10-08 13:29:57 -03:00
Seba Gamboa
5dfdd53bcc
Merge doc/api/mruby/range.h.md docs
2015-10-08 13:26:23 -03:00
Seba Gamboa
e441fdaad8
Merge doc/api/mruby/value.h.md docs
2015-10-08 13:17:31 -03:00
Seba Gamboa
649901b75c
Merge doc/api/mruby/string.h.md contents
2015-10-08 12:55:28 -03:00
Seba Gamboa
4dc9869700
Merge contents from doc/api/mruby/version.h.md
2015-10-08 12:45:25 -03:00
Seba Gamboa
249226730f
Formatting docs to new YARD structure
2015-10-08 12:29:11 -03:00
Seba Gamboa
facc4bf428
Fix samples syntax highlighting
2015-10-08 12:29:11 -03:00
Seba Gamboa
a0fe0c40b1
Remove old doxygen tags
2015-10-08 12:29:10 -03:00
Seba Gamboa
554406b987
Testing @see tag
2015-10-08 12:29:10 -03:00
takahashim
df83d42935
fix signature of mrb_class_new_instance()
...
dd925578c6 changed the order of arguments,
but it doesn't seem intentional.
2015-09-27 17:33:13 +09:00
Yukihiro "Matz" Matsumoto
798ec3aff4
UTF-8 string support in core
...
define MRB_UTF8_STRING (in mrbconf.h) to enable UTF-8 support.
2015-09-24 02:37:33 +09:00
Yukihiro "Matz" Matsumoto
e47f0fc0c2
Merge pull request #2959 from sagmor/api-documentation
...
C API documentation
2015-09-22 04:14:31 +09:00
Seba Gamboa
4c8205db1f
Merge descriptions from doc/api/mruby/array.h.md
2015-09-21 15:13:43 -03:00
Seba Gamboa
88f9770f83
document mrb_nil_value
2015-09-21 14:50:59 -03:00
Seba Gamboa
0e5b815399
Document data header
2015-09-21 14:50:04 -03:00
Yukihiro "Matz" Matsumoto
73dc32c670
add new functions mrb_gc_register/unregister; close #1411
...
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-22 00:15:29 +09:00
Seba Gamboa
dd925578c6
Sort compiler macros around
2015-09-21 11:59:39 -03:00
Seba Gamboa
40bf7bde78
Sorting documentation grouping
2015-09-21 01:48:42 -03:00
Seba Gamboa
c127614638
Setting up doxygen groups
2015-09-20 21:14:07 -03:00
Seba Gamboa
f36944f551
Merging documentation from docs
2015-09-20 18:57:17 -03:00
Seba Gamboa
7505bad677
Playing around with some documentations schemes
2015-09-18 23:59:29 -03:00
Yasuhiro Matsumoto
8277e950ee
Support windows locale
...
Add mrb_utf8_from_locale, mrb_utf8_free, mrb_locale_from_utf8, mrb_locale_free. Just works for windows.
2015-09-11 11:12:03 +09:00
Yukihiro "Matz" Matsumoto
2550edd570
remove origin member to implement prepend from struct RClass; ref #2885
...
instead origin is saved in ICLASS with MRB_FLAG_IS_ORIGIN set.
2015-09-05 02:01:02 +09:00
Yukihiro "Matz" Matsumoto
8bb7962eb8
Merge branch 'module-prepend' of https://github.com/polyfox/mruby into polyfox-module-prepend
2015-09-04 04:01:49 +09:00
Yukihiro "Matz" Matsumoto
7b5f8b0728
remove trailing spaces from bc9c47d5
2015-09-03 01:39:17 +09:00
jbreeden
5ed13da7d6
C++ 11 requires a space between literal and identifiers
2015-09-01 18:12:53 -07:00
Jun Hiroe
a2385c05f5
Refactor version.h macros
2015-09-01 13:54:52 +09:00
Yukihiro "Matz" Matsumoto
1a45447b8b
add String#freeze to the core
2015-08-27 17:54:30 +09:00
felixjones
8e72558bac
Added mrb_get_argc and mrb_get_mid
2015-08-16 23:41:21 +01:00
Corey Powell
26bee4a16b
Added mrb_prepend_module to mruby header
2015-07-16 15:25:27 -05:00
Corey Powell
667f7788db
Renamed MRB_FLAG_IS_INSTANCE to MRB_INSTANCE_TT_MASK
2015-07-15 07:27:31 -05:00
Yukihiro "Matz" Matsumoto
1085167fef
add an small comment description in mruby/error.h header
2015-07-15 14:47:15 +09:00
take_cheeze
f6b5a82972
Use class array instead of variadic.
2015-07-15 14:47:15 +09:00
take_cheeze
cdd72d9c37
Implement mrb_protect, mrb_ensure, mrb_rescue, mrb_rescue_exceptions.
...
(`mrb_rescue_exceptions` is mruby implementation of `rb_rescue2`.)
Closes #2844 , closes #2837 .
2015-07-15 14:46:56 +09:00
Corey Powell
eb172c28d7
Applied gc patch to fix ORIGIN ICLASS method table leak
...
Based on the gc patch by ko1
https://github.com/ruby/ruby/commit/5922c954614e5947a548780bb3b894626affe6dd
2015-07-14 09:44:04 -05:00
Blaž Hrastnik
f962890a92
Implement Module#prepend.
2015-07-13 14:04:42 +02:00
Yukihiro "Matz" Matsumoto
9c311ddc93
refactor mrb_bob_missing to share raising NoMethodError code; fix #2878
...
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-07-13 11:07:59 +09:00
Franck Verrot
2588507285
Remove unnecessary backticks.
...
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-24 13:07:07 +02:00
Yukihiro "Matz" Matsumoto
e88e7dc8db
remove deprecated.h
2015-06-24 10:05:05 +09:00
furunkel
e90f0d51a3
Move deprecated macros and functions to dedicated header file
2015-06-23 10:35:02 +02:00