Commit Graph

1807 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 8d7e716158 String =~ and match to work with pluggable Regexp; close #1398 2013-07-23 20:22:15 +09:00
Yukihiro "Matz" Matsumoto 84991d6388 Merge pull request #1392 from Fleurer/gc-rename-advance-phase
rename advance_phace() to incremental_gc_until(), and cleanup some redundant codes with it.
2013-07-21 17:58:57 -07:00
Yukihiro "Matz" Matsumoto 2daf39ddc8 change else formatting 2013-07-22 09:52:06 +09:00
Ryan Scott fd9cc9938c Merge branch 'master' into attr-perf-fix 2013-07-21 18:18:35 +10:00
Ryan Scott 3ebd8167e1 Slight cleanup of code 2013-07-21 18:05:45 +10:00
fleuria c49e2d766e cleanup redundant codes with incremental_gc_until() 2013-07-19 12:16:27 +08:00
fleuria d4f375b48b rename advance_phase to incremental_gc_until
in fact advance_phace() is not really a "phase", but can be used
as an utility function.
2013-07-19 12:01:34 +08:00
Carson McDonald b9a32e434a Changed use of MRB_INT_MAX to MRB_INT_MAX-1 2013-07-18 09:47:48 -04:00
Ryan Scott 75f8aab247 First round of trying to improve the performance of attr_reader and attr_writer. From ~24sec to ~15sec 2013-07-18 07:54:16 +10: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 18c167b8b5 Merge pull request #1380 from suzukaze/refactor-pool.c
Replace 0 with NULL because struct pointer is set NULL in.
2013-07-14 18:41:12 -07:00
Jun Hiroe efac8db674 Replace int with mrb_bool because a return value is boolean. 2013-07-14 23:51:44 +09:00
Jun Hiroe 65736fa36c Replace 0 with NULL because struct pointer is set NULL in. 2013-07-14 23:42:31 +09:00
Yukihiro "Matz" Matsumoto 56a3952b66 Merge pull request #1379 from suzukaze/refactor-gc.c
Replace 0 with NULL because set NULL in sturct pointer.
2013-07-14 06:00:27 -07:00
Yukihiro "Matz" Matsumoto 8e6ca38416 Merge pull request #1378 from suzukaze/refactor2-vm.c
Replace 0 with FALSE and replace 1 with TRUE.
2013-07-14 06:00:06 -07:00
Yukihiro "Matz" Matsumoto 66161f4723 Merge pull request #1377 from suzukaze/add-comments-in-variable.c
Add comments in variable.c
2013-07-14 05:59:38 -07:00
Jun Hiroe 16031af1e7 Replace 0 with NULL because set NULL in sturct pointer. 2013-07-14 05:27:39 +09:00
Jun Hiroe f7855764bc Replace int with mrb_bool because return a value is boolean. 2013-07-14 05:08:33 +09:00
Jun Hiroe 900b680006 Replace 0 with FALSE and replace 1 with TRUE. 2013-07-14 04:38:22 +09:00
Jun Hiroe 6bab0c65f0 Add comments in variable.c 2013-07-14 04:10:45 +09:00
Jun Hiroe 66c5b0d3fa Replace 0 with NULL because NULL is used in struct pointer. 2013-07-14 00:03:28 +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 cbb06d95b6 Merge pull request #1368 from suzukaze/add-comments-in-opcode.h
Add comments in opcode.h
2013-07-12 18:43:50 -07:00
Yukihiro "Matz" Matsumoto 4e469bf6c1 Merge pull request #1367 from suzukaze/fix-indent-opcode.h
Fix indents in opcode.h.
2013-07-12 18:42:42 -07:00
Yukihiro "Matz" Matsumoto cd05c669ca make_metaclass should skip MRB_TT_ICLASS; close #1369 2013-07-13 10:41:09 +09:00
Jun Hiroe b86409c364 Fix comments in opcode.h 2013-07-12 23:12:28 +09:00
Jun Hiroe dd719383d0 Add comments in opcode.h 2013-07-12 22:18:35 +09:00
Jun Hiroe 31c3c70227 Fix indents in opcode.h. 2013-07-12 21:31:36 +09:00
Yukihiro "Matz" Matsumoto 4fdb1880af Merge pull request #1365 from suzukaze/refactor-using-REGEXP_CLASS
Refactor codes using REGEXP_CLASS define.
2013-07-11 19:29:55 -07:00
Jun Hiroe b8f4e47676 2.Replace mrb_intern() func with mrb_intern2() func or mrb_intern_cstr() func. 2013-07-12 01:32:49 +09:00
Jun Hiroe 87ec819a2c Refactor codes using REGEXP_CLASS define. 2013-07-12 01:12:25 +09:00
Jun Hiroe 883c45b931 Replace mrb_intern() func with mrb_intern2() func or mrb_intern_cstr() func. 2013-07-12 01:00:50 +09:00
Yukihiro "Matz" Matsumoto 2fd57d1519 Merge branch 'master' of github.com:mruby/mruby 2013-07-12 00:24:12 +09:00
Yukihiro "Matz" Matsumoto ea4080e9f2 mark stacks in final_marking; close #1359; close #1362 2013-07-12 00:23:37 +09:00
Yukihiro "Matz" Matsumoto 8b29f10ba9 factor out context stack marking 2013-07-12 00:15:50 +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
Jun Hiroe 39b78ee48c Replace 0 with '\0' as nul terminated string. 2013-07-11 01:08:40 +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
Jun Hiroe 948b1716a0 Refactor true_or() and false_and() in object.c. 2013-07-08 22:25:04 +09:00
hoge 71fd1375d2 call Class#inherited when Class.new(klass) 2013-07-07 23:05:37 +09:00
Kazuki Tsujimoto 8ab83f763d Change parameter type to suppress -Wsign-compare warnings 2013-07-07 14:18:37 +09:00
Carson McDonald 9a5e78ae67 Change width to size_t to fix warning 2013-07-06 08:54:18 -04:00
Yukihiro "Matz" Matsumoto a0088cac3c Merge pull request #1344 from suzukaze/fix-indent-in-object.c
Fix indents in object.c.
2013-07-05 19:39:39 -07:00
Jun Hiroe 2f62f74d0d Fix indents in object.c. 2013-07-05 21:53:00 +09:00
Jun Hiroe 780930cbf5 Refactor mrb_range_beg_len() func in range.c 2013-07-05 21:21:17 +09:00
Yukihiro "Matz" Matsumoto 4c8fd5210e Merge pull request #1337 from suzukaze/add-comments-in-class-c
Add comments in mrb_get_args() func.
2013-07-03 08:59:07 -07:00
Jun Hiroe db678329c0 Add comments in mrb_get_args() func. 2013-07-03 21:28:24 +09:00