Commit Graph

229 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 26839b9c24 Merge pull request #1487 from h2so5/z-option-with-shared-string
Fix a problem of 'z' option and shared string
2013-08-26 00:41:14 -07:00
h2so5 23df879a81 Fix a problem of 'z' option and shared string 2013-08-24 06:52:46 +09:00
Yukihiro "Matz" Matsumoto 65e802f769 remove Class#alloc method 2013-08-15 01:49:37 +09:00
Yukihiro "Matz" Matsumoto babc8d0086 implement Class.new in C again 2013-08-15 00:35:41 +09:00
Yukihiro "Matz" Matsumoto 6b015ec775 define Class#new in ruby to call #initialize 2013-08-13 16:55:06 +09:00
Yukihiro "Matz" Matsumoto 53f750dbed def statement and define_method now return symbol a la Ruby2.1 2013-08-09 22:25:45 +09:00
Cremno 123c88759c class.c and numeric.c: fixed MSVC warnings 2013-08-07 20:48:23 +02:00
Yukihiro "Matz" Matsumoto a61def802e return statement should terminate execution of a method defined by define_method 2013-08-07 17:45:24 +09:00
Yukihiro "Matz" Matsumoto 029613bc55 stop storing target_class info for C defined methods 2013-07-31 00:31:37 +09:00
Yukihiro "Matz" Matsumoto 2daf39ddc8 change else formatting 2013-07-22 09:52:06 +09:00
Jun Hiroe 8e42868600 Repalace int with mrb_bool because a return value is boolean. 2013-07-15 23:17:12 +09:00
Yukihiro "Matz" Matsumoto 5b3d531d79 singleton class super initialize failed 2013-07-13 23:28:59 +09:00
Yukihiro "Matz" Matsumoto 24fb4bf17a make_metaclass should skip MRB_TT_ICLASS; close #1369 2013-07-13 21:53:00 +09:00
Yukihiro "Matz" Matsumoto cd05c669ca make_metaclass should skip MRB_TT_ICLASS; close #1369 2013-07-13 10:41:09 +09:00
Jun Hiroe e4e51a8aaa Replace mrb_intern() with mrb_intern_cstr(). 2013-07-11 21:43:58 +09:00
Yukihiro "Matz" Matsumoto b68ef2e634 add dummy visibility methods (public/protected/private) that do nothing; ref #1357 2013-07-11 14:49:17 +09:00
Yukihiro "Matz" Matsumoto 1ffd25d572 mrb_bob_missing to use mrb_get_args("n") 2013-07-10 09:37:24 +09:00
Yukihiro "Matz" Matsumoto e8e0b611c6 mrb_mod_alias to use mrb_get_args("nn") 2013-07-10 02:45:29 +09:00
hoge 71fd1375d2 call Class#inherited when Class.new(klass) 2013-07-07 23:05:37 +09:00
Jun Hiroe db678329c0 Add comments in mrb_get_args() func. 2013-07-03 21:28:24 +09:00
Jun Hiroe 799dd0b777 Refactor mrb_define_class() method in class.c.c 2013-07-03 00:13:57 +09:00
h2so5 3f823a0cee Add mrb_class_get_under() 2013-07-01 11:50:13 +09:00
mimaki 42991fe092 fix unnecessary exception in mrb_get_args with "z" format. 2013-06-27 20:18:48 +09:00
Daniel Bovensiepen c9caea64c8 Singleton raises TypeError on #new 2013-06-09 11:21:51 +08:00
Carson McDonald cf0fbcd0ee Remove incorrect removal of iv 2013-06-09 07:50:07 -04:00
Carson McDonald c75bfc93a3 Raise a NameError when symbol isn't found. 2013-06-08 10:43:34 -04:00
Carson McDonald ab4ecac07b bob doesn't have new so don't undef 2013-06-08 10:42:18 -04:00
Yukihiro "Matz" Matsumoto 5c0b9b703c primary mruby fiber implementation 2013-05-20 17:54:07 +09:00
Carson McDonald 163022f276 Change fortmat to format. 2013-05-19 08:40:04 -04:00
Julien Ammous 8057eb935c removed unused variables / assigns never used 2013-05-18 14:13:04 +02:00
Yukihiro "Matz" Matsumoto fad8b1cefa change mrb_warn to get mrb_state and %S formatter 2013-05-10 22:09:02 +09:00
Yukihiro "Matz" Matsumoto a092e41020 the receiver should be included in ancestors even when it's a singleton class 2013-04-30 00:51:31 +09:00
Masaki Muranaka f139320635 Revert file access mode to 0644. 2013-04-29 09:25:54 +09:00
arton 513bce35f6 add extern funcs declaration and casts for cimpiling C++ compiler 2013-04-28 15:31:50 +09:00
skandhas 96e247a4ad detect cyclic-include in Module#include 2013-04-27 16:39:58 +08:00
Yukihiro "Matz" Matsumoto bcf1204940 small cosmetic refactoring 2013-04-26 10:59:37 +09:00
Yukihiro "Matz" Matsumoto e63b086f1e rename mrb_interned API functions 2013-04-26 10:57:08 +09:00
Yukihiro "Matz" Matsumoto c99b72b20d Merge branch 'suppress_intern' of https://github.com/crimsonwoods/mruby into crimsonwoods-suppress_intern 2013-04-26 09:18:39 +09:00
Yukihiro "Matz" Matsumoto f0bea86437 Merge pull request #1211 from skandhas/pr-fix-Module-ancestors
fix the behavior of Module#ancestors
2013-04-24 21:56:03 -07:00
skandhas 8d778d9860 fix Module#ancestors and update test 2013-04-25 11:17:34 +08:00
crimsonwoods a517a7f314 modify functions to suppress symbol registration into intern pool. 2013-04-25 10:36:32 +09:00
Yukihiro "Matz" Matsumoto 30d580ecbc rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206 2013-04-25 09:47:36 +09:00
h2so5 9b798114bb Use mrb_bool for the 'b' format specifier of mrb_get_args 2013-04-22 10:41:53 +09:00
Yukihiro "Matz" Matsumoto c79172dfd5 put spaces after if/while 2013-04-20 23:11:43 +09:00
h2so5 359b5ee7af Refactor kernel.c and class.c 2013-04-20 01:25:15 +09:00
Yukihiro "Matz" Matsumoto 001ce2612b method function should return mrb_value 2013-04-05 04:40:36 +09:00
Yukihiro "Matz" Matsumoto ff710487b7 raise NotImplementedError from Module.constants (15.2.2.3.1); close #1125 2013-04-05 04:25:00 +09:00
Masaki Muranaka 1efb1bbaff Use mrb_name_error() as possible. 2013-04-04 16:24:43 +09:00
Yukihiro "Matz" Matsumoto 013be527e6 add Module#constants (15.2.2.4.24) 2013-04-02 01:23:41 +09:00
Masaki Muranaka 2b5b161f8b Sort include files. Some redundant includes are removed. 2013-03-29 10:22:31 +09:00