Commit Graph

86 Commits

Author SHA1 Message Date
Yukihiro Matz Matsumoto fd12f87712 save lastpc on exception and use it in mruby stack trace 2012-12-12 18:23:20 +09:00
skandhas 0303faf696 fix incorrect checkups in check_iv_name 2012-12-09 21:16:58 +08:00
skandhas f6c44d0dff make 'class_instance_method_list' into a non-static funcion 2012-11-26 11:20:48 +08:00
skandhas c6574ddc4c delete redundant '__send__' definition 2012-11-18 13:41:15 +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 78be24c87b init_copy should copy IV of SCLASS, HASH, DATA as well 2012-11-14 17:19:01 +09:00
Yukihiro Matz Matsumoto c903910c6b replace RBASIC by mrb_basic 2012-11-04 13:56:08 +09:00
Yukihiro Matz Matsumoto 15304c194d replace RTEST() by mrb_test_p() 2012-11-04 05:05:53 +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 2e0aa29296 cosmetic changes in mrb_obj_clone() 2012-11-03 08:28:26 +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
Yukihiro Matsumoto 8271863fe5 Kernel#block_given? always gave false 2012-10-16 23:46:34 +09:00
Yukihiro Matsumoto 27f002496f true/false should print proper inspect string 2012-10-16 22:33:34 +09:00
Yukihiro Matsumoto 26ac77af9b make Kernel#inspect not to call #to_s 2012-09-03 00:49:34 +09:00
Yukihiro Matsumoto fd3af6aec8 introduce toplevel object main; close #327 2012-09-03 00:41:09 +09:00
Yukihiro Matsumoto d1a453a89b wrong condition for iv name check 2012-08-31 15:59:48 +09:00
Yukihiro Matsumoto 7d02df3016 NaN boxing 2012-08-14 13:16:34 +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 3fe4b6414f add const qualifier to stop warning 2012-08-12 00:06:09 +09:00
Yukihiro Matsumoto 0b14f950a7 add check for instance variable names 2012-08-11 23:59:18 +09:00
Yukihiro Matsumoto 77aa261f3b mrb_singleton_class should raise TypeError for immediate objects 2012-08-03 19:56:14 +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
Max Anselm 5a4beeed2d Make all(?) void casts explicit for C++ 2012-07-29 19:48:48 -04:00
Masaki Muranaka b2fc62f3a9 Remove commented out code. 2012-07-29 15:25:14 +09:00
Yukihiro Matsumoto 88b638cf82 instance_eval should set target_class in the block 2012-07-24 23:16:41 +09:00
Yukihiro Matsumoto 42b7d75a67 instance_eval should raise NotImplementedError on string argument 2012-07-24 22:57:59 +09:00
Junji Sawada 96366117ea Remove unnecessary header inclusion 2012-07-14 11:39:25 +09:00
Yukihiro Matsumoto e380692224 mrb_load_xxx to return undef + mrb_undef_p 2012-07-14 07:38:43 +09:00
Yukihiro Matsumoto 48c73ac630 less <stdio.h> 2012-07-13 10:13:47 +09:00
Yukihiro Matsumoto ff42f8f485 move RDoc comments 2012-07-05 22:56:51 +09:00
Yukihiro Matsumoto 6410cdf3bf do not undef config macros 2012-06-27 01:13:21 +09:00
Masamitsu MURASE 2a2ffe7f7d Modify Kernel#clone and Kernel#dup.
Kernel#clone, Kernel#dup:
 - 'iv' should not be shared with the original object,
   but it should be copied.

Kernel#clone:
 - 'mt' of singleton_class should be copied.
2012-06-24 16:39:08 +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 1fa63930fd check object type before retrieving instance variabls; close #311 2012-06-23 10:40:17 +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 ef50e63a63 remove RuntimeError from mrb_state 2012-06-20 20:43:27 +09:00
Yukihiro Matsumoto 6f22a61135 __send__ added 2012-06-20 15:42:51 +09:00
Yukihiro Matsumoto b11d4647e9 ISO conforming lambda 2012-06-20 15:41:22 +09:00
crimsonwoods cd68190480 split declaration and definition for 'khash_xxx'. 2012-06-19 23:00:29 +09:00
Yukihiro Matsumoto 41f7fdaf8e remove dummy local_variables 2012-06-19 15:37:31 +09:00
Yukihiro Matsumoto 4d7bf31b97 remove dummy require/loop 2012-06-19 15:36:09 +09:00
Yukihiro Matsumoto debea27224 remove obsolete comment 2012-06-19 15:31:56 +09:00
Yukihiro Matsumoto 97e94247fa Kernel#raise: better argument check 2012-06-19 12:56:08 +09:00
Yukihiro Matsumoto d8e0fbab51 forgot to replace INLCUDE_KERNEL_SPRINTF by ENABLE_KERNEL_SPRINTF 2012-06-19 09:45:58 +09:00
Masaki Muranaka f564ec7e82 Remove some redundant code. 2012-06-15 00:56:00 +09:00
Yukihiro Matsumoto c7b1622f40 remove get_errorinfo; close #275 2012-06-14 23:19:15 +09:00
Masaki Muranaka 0436596ba3 Remove as err is already unused since applied 54bc7e0721 2012-06-14 11:00:18 +09:00
Yukihiro Matsumoto 3b2ff6145e != should call == inside; close #268 2012-06-14 01:22:18 +09:00