Tomasz Dąbrowski
c385782cfe
mrb_assert definition moved to the beggining of mruby.h
...
So that other files can immediately use it.
2016-11-21 12:37:45 +01:00
Felix Jones
e3c8092ccd
Renamed class_under_defined to class_defined_under
2016-11-10 19:51:56 +00:00
Felix Jones
cc5f40b2db
mrb_class_under_defined docs renamed parent and child to outer and inner
2016-11-06 13:19:14 +00:00
Felix Jones
8d6aa06548
Added mrb_class_under_defined
2016-11-06 13:01:21 +00:00
Nobuyoshi Nakada
6511bfd79a
Removed trailing spaces
2016-09-28 12:29:41 +09:00
Kazuaki Tanaka
cb29c9b415
Fix return value type of bytecode_decoder
2016-09-20 23:15:49 +00:00
Kazuaki Tanaka
968ebac001
Bytecode decoder support, MRB_BYTECODE_DECODE_OPTION
2016-09-20 23:07:28 +00:00
Yukihiro "Matz" Matsumoto
0c28c7d754
change backtrace sep from const char* to char
2016-03-07 10:59:34 +09:00
Yukihiro "Matz" Matsumoto
5e514c910f
cache mrb_regexp_p(); ref #980
2016-02-04 23:22:01 +09:00
Prayag Verma
70283a94a5
Update license year range to 2016
2016-01-18 08:55:12 +05:30
Yukihiro "Matz" Matsumoto
f7afe1d82a
change mrb_run related API names; compatibility macros provided
2016-01-07 22:36:29 +09:00
Yukihiro "Matz" Matsumoto
bd462c5edc
mruby-fiber: fiber_switch() to use nesting VM when it's called from C API or mrb_funcall(); close #3056
2016-01-02 13:48:45 +09:00
Kouhei Sutou
a561bdb25f
Support backtrace after method calls
...
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-29 20:36:12 +09:00
Ralph Desir
af33394281
Undid newline and whitespace on YARD doc
2015-12-12 20:21:53 -05:00
Ralph Desir
e27985416f
One space indentation.
2015-12-12 18:28:42 -05:00
Ralph Desir(Mav7)
4e267d74c6
Added YARD docs in new mruby.h
2015-12-11 01:52:44 -05:00
Yukihiro "Matz" Matsumoto
065966dae4
common.h are supposed to be included from other header, so call it with quotes; ref #3032
2015-11-28 00:10:38 +09:00
Yukihiro "Matz" Matsumoto
5c405dea3d
include changed from by quotes ("") to by brackets (<>); close #3032
2015-11-27 17:48:23 +09:00
Yukihiro "Matz" Matsumoto
4440566b95
DISABLE_STDIO/ENABLE_DEBUG macros to rename; close #3014
...
changes:
* rename DISABLE_STDIO -> MRB_DISABLE_STDIO
* rename ENABLE_DEBUG -> MRB_ENABLE_DEBUG_HOOK
* no more opposite macro definitions (e.g. ENABLE_STDIO, DISABLE_DEBUG).
* rewrite above macro references throughout the code.
* update documents
2015-11-17 07:30:34 +09:00
Yukihiro "Matz" Matsumoto
6ce31f334e
Merge pull request #3017 from Mav7/master
...
Added type annotation to YARD.
2015-11-17 02:54:19 +09:00
Mav7
6f43e95163
Added type annotation to YARD.
2015-11-16 12:39:52 -05:00
Yukihiro "Matz" Matsumoto
4e63ea9649
Merge pull request #3011 from Mav7/master
...
Added more YARD docs to mruby.h
2015-11-15 05:10:52 +09:00
Mav7
66a839eb54
Added more YARD docs to mruby.h
2015-11-14 05:37:10 -05:00
Yukihiro "Matz" Matsumoto
9c108002bf
Merge pull request #3008 from Mav7/master
...
Added YARD documentation in mruby.h
2015-11-10 09:50:15 +09:00
Mav7
27146dca16
Added YARD documentation in mruby.h
2015-11-09 12:16:14 -05:00
Yukihiro "Matz" Matsumoto
727f2485c9
Merge pull request #2999 from sagmor/better-docs
...
More Docs
2015-10-22 07:10:16 +09:00
Seba Gamboa
f0e9974221
Fix Unknown tag error
2015-10-20 12:16:47 -03:00
Seba Gamboa
fe1275a6af
Improved mrb_args_format table
2015-10-20 12:16:46 -03:00
Seba Gamboa
e871b77f41
Increasing docs coverage
2015-10-20 12:16:46 -03:00
furunkel
2f8b0f66bc
Move MRB_GC_ARENA_SIZE to gc.h and fix compiler warnings
2015-10-19 22:43:09 +02:00
furunkel
5c093ed22b
Remove segregated value struct declaration
2015-10-19 22:34:47 +02:00
furunkel
3ab2f9371e
Clean up GC code
2015-10-19 22:29:43 +02:00
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
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
e47f0fc0c2
Merge pull request #2959 from sagmor/api-documentation
...
C API documentation
2015-09-22 04:14:31 +09: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