Yukihiro "Matz" Matsumoto
7921fd545c
move mruby's showcallinfo into the core
2013-05-13 10:40:43 +09:00
Ryan Scott
37e3643f8f
Potential fix for 'inline' macro redefinition error - VS2012 C++
2013-05-11 23:32:49 +10:00
Yukihiro "Matz" Matsumoto
b7a24de377
change mrb_bug to get mrb_state and %S formatter
2013-05-10 22:11:28 +09:00
Yukihiro "Matz" Matsumoto
fad8b1cefa
change mrb_warn to get mrb_state and %S formatter
2013-05-10 22:09:02 +09:00
Keita Obo
9887f7cb27
Rename parameter names for mrb_yield
2013-05-10 00:16:27 +09:00
crimsonwoods
1dfe52e53d
fix typos.
2013-05-05 11:28:06 +09:00
Daniel Bovensiepen
f0a9b95af3
Push Copyright year up to 2013
2013-05-02 14:11:07 +08:00
h2so5
1e5b00e772
Remove mrb_class_obj_get
2013-05-01 21:10:17 +09:00
Yukihiro "Matz" Matsumoto
02f843d8dc
rename mrb_to_id to mrb_obj_to_sym since symbol is nothing to do with identifier in mruby
2013-04-29 15:35:30 +09:00
Yukihiro "Matz" Matsumoto
ee14d37da4
use uint8_t for mrb_bool instead of unsigned int; close #1222
2013-04-29 11:46:16 +09:00
Yukihiro "Matz" Matsumoto
8890a992a6
always use unsigned int as mrb_bool even in C++
2013-04-29 09:23:43 +09:00
Yukihiro "Matz" Matsumoto
b6fc3f831d
change return value of mrb_free from void* to void
2013-04-29 09:12:44 +09:00
Yukihiro "Matz" Matsumoto
7a6f9c9f69
Merge pull request #1220 from arton/master
...
add extern funcs declaration and casts for cimpiling C++ compiler
2013-04-28 16:06:14 -07:00
Yukihiro "Matz" Matsumoto
443b2c2a2b
rename hash related gc functions
2013-04-29 07:48:33 +09:00
Yukihiro "Matz" Matsumoto
a1df3fdb0c
fix mrb_string_shared memory leaks
2013-04-29 07:47:12 +09:00
Yukihiro "Matz" Matsumoto
5077f9ec8b
move mrb_shared_string definition to src/string.c
2013-04-29 07:24:55 +09:00
arton
513bce35f6
add extern funcs declaration and casts for cimpiling C++ compiler
2013-04-28 15:31:50 +09:00
Yukihiro "Matz" Matsumoto
5c68195c88
mrb_str_new_static(): zero copy string creation
2013-04-28 02:47:22 +09:00
Yukihiro "Matz" Matsumoto
ecd87aa545
quote error message in mrbconf.h to stop warning
2013-04-26 18:49:12 +09:00
Yukihiro "Matz" Matsumoto
ae6114c593
Merge pull request #1216 from monaka/pr-code-cleanup-20130426
...
Code clean-up
2013-04-26 02:30:05 -07:00
Masaki Muranaka
d4476109c4
Add a descrption of MRB_INT16.
2013-04-26 11:44:53 +09:00
Masaki Muranaka
cbcd39bae4
Avoid defining MRB_INT16 adn MRB_INT64 at the same time. This is a poka-yoke.
2013-04-26 11:41:34 +09:00
Masaki Muranaka
16be58bafd
Remove macro ANYARGS. It is not used in the core and bundled mrbgems. And it is possible to conflict an application's macro.
2013-04-26 11:34:45 +09:00
Yukihiro "Matz" Matsumoto
e63b086f1e
rename mrb_interned API functions
2013-04-26 10:57:08 +09:00
Yukihiro "Matz" Matsumoto
c99b72b20d
Merge branch 'suppress_intern' of https://github.com/crimsonwoods/mruby into crimsonwoods-suppress_intern
2013-04-26 09:18:39 +09:00
Yukihiro "Matz" Matsumoto
62ca4c1738
aspec bits should be packed in Ax; ref #1209
2013-04-25 12:04:29 +09:00
Yukihiro "Matz" Matsumoto
ec8fad0fed
remove too many paren; ref #1209
2013-04-25 11:57:51 +09:00
Yukihiro "Matz" Matsumoto
1b31cbfbc8
add new macro MRB_ARGS_ARG(n1,n2) to specify required and optional arugments at once
2013-04-25 11:53:36 +09:00
crimsonwoods
bd1b925931
modify the type of return value (mrb_bool => mrb_value).
2013-04-25 09:51:20 +09:00
crimsonwoods
8682b06953
add new functions to check if symbols are interned without registration.
2013-04-25 09:27:00 +09:00
Yukihiro "Matz" Matsumoto
5c88c65a11
put MRB_ prefix before ARGS_XXX macros; ref #1206
2013-04-25 08:05:54 +09:00
Yukihiro "Matz" Matsumoto
953eec60db
rename MRB_ARGS_XXX to MRB_ASPEC_XXX; ref #1206
2013-04-25 08:00:48 +09:00
Yukihiro "Matz" Matsumoto
4faaef437d
rename ARGS_GETXXX macros to avoid potential name conflict; close #1206
2013-04-25 07:50:01 +09:00
Yukihiro "Matz" Matsumoto
4a311a4760
Merge pull request #1196 from monaka/pr-use-mrb_aspec
...
Cleanup around mrb_code, mrb_aspec.
2013-04-20 15:43:33 -07:00
Masaki Muranaka
b41c5cb5c3
Define mrb_code, mrb_aspec as uint32_t. They are always positive.
2013-04-21 01:59:43 +09:00
Masaki Muranaka
2613e5d955
Clean up variable types and type casts.
2013-04-21 01:17:17 +09:00
Masaki Muranaka
ff0cd6cabe
Remove useless comments.
2013-04-21 01:17:16 +09:00
h2so5
b9674c735e
Make str_modify public
2013-04-19 08:06:04 +09:00
Carson McDonald
defee3c136
Fix "implementaion" to "implementation"
2013-04-14 09:58:47 -04:00
kurodash
7b7bffd5a8
Fixed irep index overflows, when defining new closure.
...
Issue #1137 .
In the present implementation, when calling mrb_load_string continuously, irep is not released.
Therefore, a 16-bit index was overflowing.
2013-04-12 16:32:07 +09:00
Yukihiro "Matz" Matsumoto
e885e59d45
comment E_* macros to address concerns in #1143
2013-04-06 01:19:31 +09:00
Masaki Muranaka
2f829ea09a
Move mrb_name_error() declaration to mruby.h As it is requred by struct mrbgem.
2013-04-04 16:24:43 +09:00
Yukihiro "Matz" Matsumoto
d8c4f6a080
make Data_Make_Struct a statement to make it C99 compatible
2013-04-04 04:38:31 +09:00
Yukihiro "Matz" Matsumoto
75f5535c4f
rename DATA API: mrb_get_datatype -> mrb_data_get_ptr; mrb_check_datatype -> mrb_data_check_and_get
2013-04-04 04:30:39 +09:00
Yukihiro "Matz" Matsumoto
013be527e6
add Module#constants (15.2.2.4.24)
2013-04-02 01:23:41 +09:00
Masaki Muranaka
29879f9d58
Add out_of_memory field to mrb_state.
2013-04-01 08:35:53 +09:00
Artur K
642ea41abd
Fix the calc_crc_16_ccitt signature to match the source file
2013-03-30 18:11:09 +01:00
Yukihiro "Matz" Matsumoto
f475da9bf9
Merge pull request #871 from monaka/pr-remove-bit-field-in-mrb_value
...
Remove the bit-field by mrb_value.tt
2013-03-30 07:23:24 -07:00
Yukihiro "Matz" Matsumoto
cb5d690ece
cancel f4c27c6 since mruby.h is required for mrb_value etc. anyway
2013-03-30 20:52:51 +09:00
Masaki Muranaka
c260ef894e
Rename mrb_fix2str() to mrb_fixnum_to_str(). This is for naming consistency.
2013-03-29 22:19:26 +09:00