Commit Graph

159 Commits

Author SHA1 Message Date
take_cheeze d12b6ab218 add verbose_backtrace 2013-09-02 00:48:06 +09:00
Paolo Bosetti 51c51290d2 Removed unnecessary #undef ISPRINT in include/mruby.h 2013-08-29 18:56:11 +02:00
Dusan D. Majkic e2bdd8cd47 Remove function delarations not implemented in code 2013-08-27 14:57:36 +02:00
Yukihiro "Matz" Matsumoto 6e978d5574 add compatibility macro mrb_class_new_instance() 2013-08-15 00:11:17 +09:00
Yukihiro "Matz" Matsumoto 6b015ec775 define Class#new in ruby to call #initialize 2013-08-13 16:55:06 +09:00
fleuria e2d36d1336 introduce mrb_assert() in mruby.h 2013-07-25 02:53:53 +08:00
Yukihiro "Matz" Matsumoto 4ad4ce6caf restore once removed mrb_garbage_collect() 2013-07-24 23:31:46 +09:00
Yukihiro "Matz" Matsumoto e1706e65f9 Merge pull request #1407 from Fleurer/gc-introduce-incremental-gc-step
separate out `incremental_gc_step()` from `mrb_incremental_gc()`, and misc minor rename
2013-07-24 07:18:50 -07:00
fleuria 2591922ec2 rename variable_gray_list to atomic_gray_list 2013-07-24 18:22:53 +08:00
fleuria c852626ea7 rename mrb_garbage_collect() to mrb_full_gc() 2013-07-24 16:17:53 +08:00
Jun Hiroe 8e42868600 Repalace int with mrb_bool because a return value is boolean. 2013-07-15 23:17:12 +09:00
Jun Hiroe efac8db674 Replace int with mrb_bool because a return value is boolean. 2013-07-14 23:51:44 +09:00
Kazuki Tsujimoto 8ab83f763d Change parameter type to suppress -Wsign-compare warnings 2013-07-07 14:18:37 +09:00
Jun Hiroe f40bd6cb47 Add comments in mrb_state struct. 2013-07-04 21:17:20 +09:00
h2so5 3f823a0cee Add mrb_class_get_under() 2013-07-01 11:50:13 +09:00
fleuria 68f31e94f5 refactor mrb_realloc()
remove the redundant codes with mrb_malloc_simple()
2013-06-28 23:15:31 +08:00
Yukihiro "Matz" Matsumoto 3ceeb0be95 add mrb_malloc_simple() that returns NULL on error 2013-06-25 15:38:28 +09:00
Yukihiro "Matz" Matsumoto 4e877bc92f restructure header files; move non config lines away from mrbconf.h 2013-06-10 14:40:32 +09:00
Yukihiro "Matz" Matsumoto 7b8ae1b8b6 Merge branch 'master' of github.com:mruby/mruby 2013-05-26 21:27:16 +09:00
kimu_shu e720782f81 Add MRB_WORD_BOXING mode (represent mrb_value as a word) 2013-05-26 10:09:17 +09:00
Yukihiro "Matz" Matsumoto 6557ee938a mruby error messages should be directed to stderr 2013-05-26 02:13:02 +09:00
Yukihiro "Matz" Matsumoto 76ddf86c72 manage fiber status (create|running|resumed|terminated) 2013-05-23 15:24:31 +09:00
Yukihiro "Matz" Matsumoto 2045a35292 garbage collect context (fiber) properly 2013-05-22 11:05:22 +09:00
Yukihiro "Matz" Matsumoto 5c0b9b703c primary mruby fiber implementation 2013-05-20 17:54:07 +09:00
Yukihiro "Matz" Matsumoto 7921fd545c move mruby's showcallinfo into the core 2013-05-13 10:40:43 +09: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
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 b6fc3f831d change return value of mrb_free from void* to void 2013-04-29 09:12:44 +09:00
Yukihiro "Matz" Matsumoto 5c68195c88 mrb_str_new_static(): zero copy string creation 2013-04-28 02:47:22 +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 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
Masaki Muranaka b41c5cb5c3 Define mrb_code, mrb_aspec as uint32_t. They are always positive. 2013-04-21 01:59:43 +09:00
Carson McDonald defee3c136 Fix "implementaion" to "implementation" 2013-04-14 09:58:47 -04: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
Masaki Muranaka 29879f9d58 Add out_of_memory field to mrb_state. 2013-04-01 08:35:53 +09:00
Yukihiro Matz Matsumoto 18b2683b97 use new mrb_format API from mrb_raisef; its only format specifier is "%S" (stringify) and takes mrb_value; close #1062 2013-03-27 23:41:23 +09:00
Yukihiro Matz Matsumoto b1bd62e047 remove all MRB_TT_MAIN from source 2013-03-26 21:25:00 +09:00
Carson McDonald 930e4c71c0 Make mrb_top_self return a real instance. 2013-03-25 00:23:22 -04:00
Masaki Muranaka fc63ef150b Add new API mrb_intern_cstr(). This is for naming orthogonality. mrb_intern is also left for backward compatibility. 2013-03-22 14:39:28 +09:00