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 |
|
Yukihiro Matsumoto
|
7d02df3016
|
NaN boxing
|
2012-08-14 13:16:34 +09:00 |
|
Yukihiro Matsumoto
|
cda1709a35
|
setjmp in mrb_funcall_with_block if mrb->jmp is empty
|
2012-08-13 21:03:08 +09:00 |
|
Yukihiro Matsumoto
|
1ed39d5c05
|
use TRUE/FALSE instead of 1/0
|
2012-08-13 04:19:24 +09:00 |
|
Yukihiro Matsumoto
|
c9fe903fe1
|
now segmented list can be used as instance variable tables by -DMRB_USE_IV_SEGLIST; we still need to measure the performance and memory consumption
|
2012-08-12 01:59:18 +09:00 |
|
Yukihiro Matsumoto
|
8af5a999bf
|
store :initialize in mrb structure
|
2012-08-08 00:25:35 +09:00 |
|
Yukihiro Matsumoto
|
472d214a71
|
super look-up scheme fixed; close #415
|
2012-08-04 06:44:53 +09:00 |
|
Yukihiro Matsumoto
|
730f53045e
|
define_method to copy block body
|
2012-08-03 20:17:04 +09:00 |
|
Yukihiro Matsumoto
|
77aa261f3b
|
mrb_singleton_class should raise TypeError for immediate objects
|
2012-08-03 19:56:14 +09:00 |
|
Yukihiro Matsumoto
|
f121558f93
|
mrb_define_method_vm should update target_class
|
2012-08-03 19:55:01 +09:00 |
|
Yukihiro Matsumoto
|
6491693d00
|
mrb_get_args("&") gave wrong value
|
2012-08-02 22:03:53 +09:00 |
|
Yukihiro Matsumoto
|
d271bf0aa6
|
make mrb_funcall_argv and mrb_funcall_with_block to take mrb_sym as a method name
|
2012-08-01 13:15:02 +09:00 |
|
Masamitsu MURASE
|
99e2035f42
|
Modify mrb_vm_define_class.
* Check mismatch of superclass.
* Check constant value whose name is specified as a class's name.
|
2012-07-29 14:21:12 +09:00 |
|
Max Anselm
|
ea25912999
|
Undefine new for class rather than instance.
Applies to NilClass, TrueClass, FalseClass, Fixnum, and Float. Add
mrb_undef_class_method for DRYness.
|
2012-07-25 18:22:26 -04:00 |
|
Masamitsu MURASE
|
a4c6b1c75e
|
Remove initialization of mt.
|
2012-07-22 00:35:49 +09:00 |
|
Yukihiro Matsumoto
|
4b9ef5dabe
|
use no malloc in mrb_funcall; close #386
|
2012-07-19 17:45:13 +09:00 |
|
Masaki Muranaka
|
f146fd0397
|
MRB_FUNCALL_ARGC_MAX support. (refs comments in #324).
|
2012-07-18 15:47:57 +09:00 |
|
Masaki Muranaka
|
7bb71a7d58
|
Remove magic numbers in mrb_funcall()
|
2012-07-18 15:26:53 +09:00 |
|
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 |
|