Yukihiro "Matz" Matsumoto
|
4df4a3f0bf
|
Merge pull request #380 from masamitsu-murase/modify_respond_to
Modify return value of 'respond_to?'
|
2012-07-17 16:24:16 -07:00 |
|
Masamitsu MURASE
|
a0c4f8558b
|
Kernel#respond_to? should return false if the method is undefined.
|
2012-07-18 02:17:29 +09:00 |
|
Masamitsu MURASE
|
265aa0b885
|
Undef Class#extend_object.
|
2012-07-18 02:07:42 +09:00 |
|
Yukihiro Matsumoto
|
8ce2af99f3
|
CRuby style inclusion order; close #377
|
2012-07-17 03:31:56 +09:00 |
|
Yukihiro Matsumoto
|
e8ade38104
|
undef append_features for Classes
|
2012-07-17 02:17:16 +09:00 |
|
Yukihiro Matsumoto
|
094fdc4367
|
resolve conflict
|
2012-07-17 02:05:39 +09:00 |
|
Yukihiro Matsumoto
|
526dd09b7a
|
add Module#ancestors 15.2.2.4.9
|
2012-07-17 01:33:40 +09:00 |
|
Masamitsu MURASE
|
ba08a2b9dd
|
Add Module#extend_object and Module#extended.
|
2012-07-17 00:42:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ecf1bc569a
|
Merge pull request #370 from masamitsu-murase/remove_unnecessary_const_set
Remove unnecessary mrb_const_set in class.c.
|
2012-07-15 00:39:06 -07:00 |
|
Yukihiro Matsumoto
|
234b8e853c
|
make class_from_sym static
|
2012-07-15 16:37:23 +09:00 |
|
Masamitsu MURASE
|
8611f96777
|
Remove unnecessary mrb_const_set in class.c.
|
2012-07-14 23:02:48 +09:00 |
|
Yukihiro Matsumoto
|
bbec03bb7a
|
add missing (empty) default for swtch; close #364
|
2012-07-13 14:35:18 +09:00 |
|
Masamitsu MURASE
|
9f814a4e6e
|
Improvement of Module#include.
- Add some methods: append_features, included_methods and included.
- Modify Module#include to call append_features and included.
|
2012-07-07 23:04:09 +09:00 |
|
Yukihiro Matsumoto
|
fbfef55152
|
Module#include should also include included modules; close #340
|
2012-07-05 17:57:23 +09:00 |
|
Masamitsu MURASE
|
8746cb2ac1
|
Initialize mt of module with khash.
|
2012-07-01 18:34:22 +09:00 |
|
Yukihiro Matsumoto
|
3de0a62522
|
resolve conflict in class.c
|
2012-06-27 15:22:08 +09:00 |
|
Yukihiro Matsumoto
|
6f9ed1c5b2
|
use return value from sprintf/snprintf
|
2012-06-27 15:14:56 +09:00 |
|
Masaki Muranaka
|
d534f26f16
|
Use sizeof to get char array sizes.
|
2012-06-27 10:36:39 +09:00 |
|
Yukihiro Matsumoto
|
8dc533ed5f
|
Merge branch 'master' of github.com:mruby/mruby
|
2012-06-25 17:30:28 +09:00 |
|
Yukihiro Matsumoto
|
19638ded73
|
use mrb_intern_str instead of mrb_intern if possible
|
2012-06-25 17:30:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
52b6d1c001
|
Merge pull request #318 from masamitsu-murase/fix_instance_tt
Patch for inheritance of built-in class
|
2012-06-24 13:43:44 -07:00 |
|
Yukihiro Matsumoto
|
8121e0d354
|
should mark child env from method (proc) objects
|
2012-06-24 21:46:24 +09:00 |
|
Masamitsu MURASE
|
1deb31320a
|
Modify instance tt.
|
2012-06-24 15:15:55 +09:00 |
|
Yukihiro Matsumoto
|
d657e26d35
|
pacify const assignment warning
|
2012-06-24 01:12:05 +09:00 |
|
Yukihiro Matsumoto
|
f045e64675
|
reduce calling mrb_str_new_cstr() to avoid strlen(); #301
|
2012-06-23 13:51:50 +09:00 |
|
Yukihiro Matsumoto
|
396397bce1
|
move KHASH_DECLARE to header files
|
2012-06-21 11:04:36 +09:00 |
|
Yukihiro Matsumoto
|
7842310573
|
Merge branch 'modify_khash' of https://github.com/crimsonwoods/mruby into crimsonwoods-modify_khash
|
2012-06-21 10:01:17 +09:00 |
|
Yukihiro Matsumoto
|
ea81146a41
|
add Module#define_method
|
2012-06-20 13:43:26 +09:00 |
|
crimsonwoods
|
cd68190480
|
split declaration and definition for 'khash_xxx'.
|
2012-06-19 23:00:29 +09:00 |
|
Yukihiro Matsumoto
|
b023acb629
|
add ISO reference numbers
|
2012-06-19 09:54:05 +09:00 |
|
Yukihiro Matsumoto
|
90735a242f
|
mrb_define_{singleton,class}_method should prepare singleton class for the obejct
|
2012-06-14 01:00:34 +09:00 |
|
Yukihiro Matsumoto
|
6f670785c5
|
mrb_get_args(i) should check range of float values
|
2012-06-14 00:03:36 +09:00 |
|
Yukihiro Matsumoto
|
6bf6370781
|
new mrb_get_args specifier "n" to retrieve a symbol (stands for "name")
|
2012-06-13 23:53:57 +09:00 |
|
Yukihiro Matsumoto
|
216a846bd9
|
mrb_get_args should honor optinal arguments
|
2012-06-12 18:32:05 +09:00 |
|
Yukihiro Matsumoto
|
4c01f002fd
|
mruby/array.h: rename buf to ptr
|
2012-06-05 23:20:36 +09:00 |
|
Yukihiro Matsumoto
|
e3d17e54f8
|
mruby/string.h: rename buf to ptr
|
2012-06-05 23:17:09 +09:00 |
|
Daniel Bovensiepen
|
5612d195ec
|
Improve Class#superclass to ISO
|
2012-06-03 23:29:40 +08:00 |
|
Yukihiro Matsumoto
|
7009a1d8f5
|
should not disclose metaclass; close #238
|
2012-06-03 23:26:40 +09:00 |
|
Yukihiro Matsumoto
|
df80b7835a
|
Add Class#superclass; a patch made by @bovi; close #234
|
2012-06-03 08:20:48 +09:00 |
|
Yukihiro Matsumoto
|
5fcd520514
|
small refactoring after mruby coding convention
|
2012-06-03 02:19:12 +09:00 |
|
Yuichiro MASUI
|
8a41d646f1
|
support Class.new()
|
2012-06-03 00:05:39 +09:00 |
|
Yukihiro Matsumoto
|
e65d4938f3
|
'mrb_sym' used as 'uint32_t'. it's broken portability; based on the work from @crimsonwoods; close #216
|
2012-06-02 17:25:18 +09:00 |
|
Yukihiro Matsumoto
|
48d5df9987
|
Merge branch 'master' of github.com:mruby/mruby
|
2012-06-01 08:15:07 +09:00 |
|
Yuichiro MASUI
|
b174e9c3ea
|
Add Module.const_defined? && _get && _set methods
|
2012-05-31 23:35:45 +09:00 |
|
Yukihiro Matsumoto
|
64fc4ac332
|
resolve conflict
|
2012-05-31 15:32:38 +09:00 |
|
Yukihiro Matsumoto
|
e3c1b48ba2
|
mrb_gets_args strict argc check; now returns argc
|
2012-05-31 11:14:33 +09:00 |
|
Yukihiro Matsumoto
|
3e8d330c2c
|
remove #new from immediate classes
|
2012-05-31 11:11:55 +09:00 |
|
Yukihiro Matsumoto
|
14e28a8a4d
|
raise error on too many arguments
|
2012-05-24 01:24:45 +09:00 |
|
Yukihiro Matsumoto
|
ad9e841c53
|
made mrb_get_args() better (optinal args, type checks); close #173 #176
|
2012-05-24 01:09:36 +09:00 |
|
Yukihiro Matsumoto
|
4523bee953
|
cast style consistency
|
2012-05-23 03:31:55 +09:00 |
|