Commit Graph

245 Commits

Author SHA1 Message Date
Narihiro Nakamura 5dfefb95df Add the generational gc 2013-01-07 01:47:21 +09:00
skandhas 9599381ae3 add mrb_mod_cv_defined and mrb_cv_defined 2012-12-23 15:25:24 +08:00
skandhas 824bacbee4 add mrb_mod_cv_set, mrb_cv_set 2012-12-21 14:22:35 +08:00
skandhas a9f1c4593c add mrb_cv_get 2012-12-20 21:33:30 +08:00
skandhas 5a65a7258f add mrb_mod_cv_get 2012-12-20 21:29:35 +08:00
Yukihiro Matz Matsumoto c02c264be2 prototype refactoring on mrb_load_irep(); close #647 2012-12-19 20:44:30 +09:00
Xuejie Xiao b641c96f57 Derive DISABLE_GEMS macro according to build configuration 2012-12-18 20:34:07 -05:00
Cremno bc2e7c736f MSVC doesn't define strtoll but _strtoi64. 2012-12-16 07:18:25 +01:00
Jan Berdajs ab80843880 add mrb_closure_new_cfunc to header 2012-12-14 16:00:22 +01:00
Yukihiro Matz Matsumoto f63d5c2905 new function mrb_obj_iv_ifnone() 2012-12-12 18:22:23 +09:00
Yukihiro Matz Matsumoto 2a5d82885a add MRB_TT_VOIDP 2012-12-12 18:20:50 +09:00
Yukihiro "Matz" Matsumoto f521738953 Merge pull request #479 from bovi/mrbgems
mrbgems
2012-12-07 01:04:32 -08:00
Yukihiro Matz Matsumoto d042e16171 move prototype for mrb_load_irep to mruby/irep.h; close #569 2012-12-07 17:48:16 +09:00
Daniel Bovensiepen bef73cc54f Integrate refactoring of commit f1ed143624 2012-12-07 16:19:52 +08:00
Yukihiro Matz Matsumoto f1ed143624 mange arena_idx smarter for smaller ARENA_SIZE; now default to 100 from 1024 2012-12-07 16:58:50 +09:00
Yukihiro Matz Matsumoto f486774352 refactor and move irep malloc away to mrb_add_irep() 2012-12-07 15:57:40 +09:00
Daniel Bovensiepen be99d87ca4 rename mrb_load_irep for mrbtest to be consistent to name change 2012-12-05 17:45:24 +08:00
Yukihiro Matz Matsumoto b8e5a57047 rename mrb_load_irep etc. for naming consistency 2012-12-05 02:48:29 +09:00
Daniel Bovensiepen 40bfc86a5e Merge remote-tracking branch 'upstream/master' into mrbgems 2012-12-01 14:07:23 +08:00
Ryunosuke SATO ee0563823d Stop warning: extra ';' outside of a function 2012-11-30 22:43:53 +09:00
Daniel Bovensiepen 6ebc1918de Deactivate / Activate GEMs Flag introduced into mrbconf.h 2012-11-22 19:00:11 +08:00
Yuichiro MASUI 7a20ab0f95 define MRB_INT64 flag for mrb_int as 64bit 2012-11-16 19:12:57 +09:00
Yukihiro Matz Matsumoto 3eeef30618 make mrb_hash_keys() non static function 2012-11-14 14:42:21 +09:00
skandhas 1cc44cfd78 add Module#class_variables 2012-11-09 23:00:24 +08:00
Yukihiro Matz Matsumoto 3ceadfa5b2 inline include/mruby/object.h 2012-11-05 06:10:22 +09:00
Yukihiro Matz Matsumoto 3e1dd77b16 remove ROBJECT_{IVPTR,NUMIV} 2012-11-04 13:57:25 +09:00
Yukihiro Matz Matsumoto c903910c6b replace RBASIC by mrb_basic 2012-11-04 13:56:08 +09:00
Yukihiro Matz Matsumoto 3e22c939e6 remove NUM2CHR macro 2012-11-04 05:16:44 +09:00
Yukihiro Matz Matsumoto a354aca8b4 remove NUM2CHR macro 2012-11-04 05:15:58 +09:00
Yukihiro Matz Matsumoto 902dd63803 remove FL_XXX macros 2012-11-04 05:15:22 +09:00
Yukihiro Matz Matsumoto e429905597 replace SYM2ID() by mrb_symbol() 2012-11-04 05:11:39 +09:00
Yukihiro Matz Matsumoto ca7c662be5 remove reference to ruby_verbose and ruby_debug 2012-11-04 05:07:44 +09:00
Yukihiro Matz Matsumoto 15304c194d replace RTEST() by mrb_test_p() 2012-11-04 05:05:53 +09:00
Yukihiro Matz Matsumoto d2d2e9f5f9 add new predicates mrb_string_p(),mrb_array_p(),mrb_hash_p() 2012-11-04 05:02:39 +09:00
Yukihiro Matz Matsumoto 051777dc5d replace SYMBOL_P() by mrb_symbol_p() 2012-11-04 04:53:25 +09:00
Yukihiro Matz Matsumoto da88627a37 add mrb_float_p() 2012-11-04 04:51:13 +09:00
Yukihiro Matz Matsumoto 3ba521ae9e replace FIXNUM_P() by mrb_fixnum_p() 2012-11-04 04:49:43 +09:00
Yukihiro Matz Matsumoto 52f7e83726 Module#dup should copy class methods as well 2012-11-03 08:28:48 +09:00
Yukihiro "Matz" Matsumoto c6c4da8c48 Merge pull request #510 from masuidrive/master
define convert method mrb_int/mrb_float with C string
2012-10-28 10:45:43 -07:00
Yuichiro MASUI 15f46a1feb define convert method mrb_int/mrb_float with C string 2012-10-27 14:26:50 +09:00
Masaki Muranaka 1933e2660c Use substitution instead of memset in structure initialization. 2012-10-25 15:47:45 +09:00
Masaki Muranaka 6069a33089 mrb_raisef(): new function. Same as previou version of mrb_raise().
mrb_raise(): API modified. It cannot treat variable arguments.
2012-10-23 09:42:22 +09:00
Masaki Muranaka fed285d194 Use MRB_DUMP_SIZE_OF_CHAR instead of sizeof(char). 2012-10-22 11:17:31 +09:00
Yukihiro Matsumoto 70abbb423a should not free() static iseq from cdump 2012-10-17 02:57:40 +09:00
Yukihiro Matsumoto 265fa03d2c defining mrb_int also requires MRB_INT_{MAX,MIN} to be defined 2012-10-17 00:40:23 +09:00
Yukihiro Matsumoto 540066c9e2 mrb_sym can be short integer; reduced 10KB 2012-09-12 16:20:32 +09:00
Yukihiro "Matz" Matsumoto 0475196d26 Merge pull request #467 from iij/pr-fix-include-path-proc
Fix include path in proc.h.
2012-09-12 00:05:45 -07:00
Kouki Ooyatsu b3a7699c2b Fix include path in proc.h. 2012-09-12 14:35:38 +09:00
Tomoyuki Sahara 32b88c72af two more wrapper macros for ctype.h
we need them on the platform where 'char' is signed.
2012-09-12 14:02:58 +09:00
Yukihiro Matsumoto e49224284d OP_EQ should try direct compararison first 2012-09-10 22:09:24 +09:00