Commit Graph

145 Commits

Author SHA1 Message Date
Masaki Muranaka da9b9c549a Remove unused structures. 2013-03-01 13:18:57 +09:00
Yukihiro Matz Matsumoto 3a78093b45 resolve conflict 2013-02-18 09:13:52 +09:00
Yukihiro Matz Matsumoto 5568df5efe :Merge branch 'master' of github.com:mruby/mruby
Conflicts:
	src/class.c
2013-02-18 09:11:54 +09:00
skandhas 07bff3956e fix error output for Module#remove_const 2013-02-16 22:22:08 +08:00
Yukihiro Matz Matsumoto e96743f3d7 use mrb_get_args("n") instead of decomposing each time 2013-02-15 10:45:32 +09:00
Yukihiro Matz Matsumoto 37fe3d666f add Module#remove_const 2013-02-15 10:20:55 +09:00
Masamitsu MURASE ee0cfb2101 Bug fix. 2013-01-31 02:27:42 +09:00
Masamitsu MURASE a943942ca7 Add field_write_barrier when an method is defined. 2013-01-31 01:21:20 +09:00
Yukihiro Matz Matsumoto 47d7cce66d inspecting anonymous class should not SEGV; close #780 2013-01-26 00:17:40 +09:00
Yukihiro Matz Matsumoto 0d0b1d1b0d add new specifier "b" (boolean) for mrb_get_args() 2013-01-13 00:27:08 +09:00
skandhas e6a5a76885 add mrb_mod_method_defined 2013-01-04 15:28:59 +08:00
skandhas 779a73e7de add mrb_mod_remove_method/remove_method 2012-12-29 14:22:35 +08:00
skandhas 4eb3ddfd30 add mrb_mod_remove_cvar 2012-12-25 12:07:54 +08:00
skandhas 3f54c90529 add mrb_mod_cvar_defined 2012-12-23 15:46:12 +08:00
skandhas d06512b093 add mrb_mod_cvar_set 2012-12-21 15:09:40 +08:00
skandhas 2ca47bba8f add check_cv_name 2012-12-20 22:17:36 +08:00
skandhas f341957fe5 mrb_mod_cvar_get 2012-12-20 22:13:08 +08:00
Yukihiro Matz Matsumoto 1207e245ea class of TT_VOIDP should be Object 2012-12-13 00:50:02 +09:00
skandhas 4bfece436e add check_const_name for Module#const_set 2012-12-03 14:15:37 +08:00
skandhas 78808bf5e3 add check_const_name for Module#const_get 2012-12-03 14:09:06 +08:00
skandhas b3bb54a21a add check_const_name for Module#const_defined? 2012-12-03 14:04:03 +08:00
skandhas fc89106792 add function:check_const_name 2012-12-03 13:55:23 +08:00
Yukihiro "Matz" Matsumoto 26600ca4ec Merge pull request #573 from skandhas/pr-add-Module-module_eval
add "Module#module_eval" and "Module#class_eval" for mruby
2012-11-30 19:16:48 -08:00
Yukihiro "Matz" Matsumoto 5947113f78 Merge pull request #578 from tricknotes/stop-warning
Stop warning: extra ';' outside of a function
2012-11-30 19:12:49 -08:00
Yukihiro Matz Matsumoto 1d3f4b3ff7 Fix typos: invalide -> invalid; patch from @darashi; close #577 2012-12-01 12:10:29 +09:00
Ryunosuke SATO ee0563823d Stop warning: extra ';' outside of a function 2012-11-30 22:43:53 +09:00
skandhas 1311c828c6 add Module#class_eval 2012-11-27 16:17:07 +08:00
skandhas 3fbeb298a6 add comments for Module#module_eval 2012-11-27 16:12:11 +08:00
skandhas 940eb786e4 add Module#module_eval 2012-11-27 15:48:33 +08:00
skandhas 1f3c512564 add comments for Module#instance_methods 2012-11-26 12:10:15 +08:00
skandhas 6fb74ac167 add Module#instance_methods 2012-11-26 11:48:03 +08:00
skandhas 25a02a5b8b add comment for Module#include? 2012-11-24 16:26:36 +08:00
skandhas 59035eb33d add Module#include? 2012-11-24 16:04:11 +08:00
skandhas 44f240f433 fix lost const variable in class BasicObject 2012-11-19 17:45:29 +08:00
Yukihiro Matz Matsumoto a5d7ebbad0 prepare metaclass of metaclass when retrieving by singleton_class(); close #540 2012-11-16 11:34:16 +09:00
Yukihiro Matz Matsumoto 8856c89246 should print SCLASS as modules and classes 2012-11-14 23:56:29 +09:00
Yukihiro Matz Matsumoto 0f6c1a034b zero initialize singleton_class iv 2012-11-14 23:55:06 +09:00
skandhas 611cfee3c2 modify aspec 2012-11-12 20:43:10 +08:00
skandhas 1cc44cfd78 add Module#class_variables 2012-11-09 23:00:24 +08:00
nkshigeru 9447e823a8 avoid local variable declaration in the middle 2012-11-08 11:49:40 +09:00
Akira Yumiyama 03b74a6c48 Ruby and align the behavior. 2012-11-07 17:29:59 +09:00
Akira Yumiyama 94520ea797 fix 'undefined method' error message. 2012-11-07 17:10:04 +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 Matsumoto 9f0c59e068 FALSE and STRING should not be converted to float for get_args("f"); close #525 2012-11-03 01:57:57 +09:00
Akira Yumiyama e407022b10 change the error message (NoMethodError, NameError) 2012-10-28 20:20:13 +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
Beoran 8949e3c7fb Bugfix for crash if main was extended with a module. 2012-10-09 21:45:41 +02:00
Yukihiro Matsumoto c0ac010b68 add Module#inspect; close #453 2012-09-06 01:42:53 +09:00
Yukihiro Matsumoto f9f425ae5f inspect on classes should not cause SEGV 2012-09-06 01:41:45 +09:00