Commit Graph

10194 Commits

Author SHA1 Message Date
ksss 1cced27a79 Proc class define before a first method
mrb_define_method setting mrb->proc_class for method proc
2014-06-15 22:34:46 +09:00
Jun Hiroe eab4a7492f Unsupported Regex in mrb_str_aref_m() 2014-06-15 21:21:20 +09:00
Jun Hiroe 00fa8097f9 Implement String#slice_bang 2014-06-15 21:11:54 +09:00
Tomoyuki Sahara 5b65ca3ebb Merge pull request #5 from take-cheeze/float
Add full support of float templates.
2014-06-15 19:54:08 +09:00
take_cheeze 77047b5ed4 Test all ISO defined classes direct superclass except Object class.
Move mrbgems ISO direct superclass test to `superclass.rb`.
Skips test if class isn't defined.
Close #2332.
2014-06-15 17:07:01 +09:00
take_cheeze ec5b055694 Move direct superclass checking to test/t/superclass.rb. 2014-06-15 15:02:21 +09:00
take_cheeze 7b2611ea28 Update supported template list. 2014-06-14 13:25:00 +09:00
take_cheeze 8f4b7ac15c Support float/double unpacking. 2014-06-14 13:25:00 +09:00
take_cheeze 514450e891 Use PACK_FLAG_LITTLEENDIAN. 2014-06-14 13:25:00 +09:00
take_cheeze 7dc2b4f59f Implement g/f/F/G/d/D packing. 2014-06-14 13:24:59 +09:00
take_cheeze f4f968241b Add support of little endian float. 2014-06-14 13:24:49 +09:00
Tomoyuki Sahara a0c4ca2406 Merge pull request #4 from take-cheeze/raise_fix
Fix invalid raise format found with mruby-clang-plugin.
2014-06-14 07:51:42 +09:00
Yukihiro "Matz" Matsumoto 0042e586db Merge pull request #2344 from yui-knk/fix-locals
Change to always use locals->car->car.
2014-06-14 01:03:39 +09:00
Yukihiro "Matz" Matsumoto e4b01da97e Merge pull request #2393 from goyox86/fix-clang-analizer-warnings
Fix clang analizer warnings
2014-06-14 01:01:25 +09:00
Jose Narvaez 61032c5ab0 Rolling back change induced because of 'clang-analizer' report. 2014-06-13 16:50:02 +01:00
Jose Narvaez 45b8562d8d Using 'mrb_assert' instead of an returning 0 while checking s->irep in codegen.c. 2014-06-13 16:44:22 +01:00
Yukihiro "Matz" Matsumoto 774703c5d7 Merge pull request #2394 from take-cheeze/fix_conflict_doc
Fix conflict doc since there is only `add_conflict` method.
2014-06-14 00:14:33 +09:00
take_cheeze d10cda1ac1 Fix conflict doc since there is only add_conflict method. 2014-06-13 22:19:39 +09:00
Jose Narvaez e457b4d686 Merge branch 'master' into fix-clang-analizer-warnings
* master:
  update add_confict document; ref #2391
  Update document by regenerating it.
  Add :doc task to run document generator.
  Add document for `add_conflict` and `add_conflicts`.
2014-06-13 12:37:18 +01:00
Yukihiro "Matz" Matsumoto 40b92e3529 Merge pull request #2392 from take-cheeze/doc_update
Update document and add :doc task.
2014-06-13 20:36:10 +09:00
Yukihiro "Matz" Matsumoto 17da8f3c99 git push origin masterMerge branch 'take-cheeze-conflict_doc' 2014-06-13 20:35:00 +09:00
Yukihiro "Matz" Matsumoto 8c283e15e4 update add_confict document; ref #2391 2014-06-13 20:34:51 +09:00
Jose Narvaez 6b642637b3 Fixed dead assignment in 'parser.y' reported by 'clang-analyzer' 2014-06-13 12:11:28 +01:00
Jose Narvaez 1a8e0ba4e8 Fixed dead assignment in 'parser.y' reported by 'clang-analyzer' 2014-06-13 12:11:23 +01:00
Jose Narvaez a250050077 Fixed dead assignment in 'parser.y' reported by 'clang-analyzer' 2014-06-13 12:06:56 +01:00
Jose Narvaez 13abc9c4a1 Revert "Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer'"
This reverts commit 29f14e728d.
2014-06-13 10:54:18 +01:00
Jose Narvaez e344d662f1 Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer' 2014-06-13 10:50:26 +01:00
Jose Narvaez 29f14e728d Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer' 2014-06-13 10:50:15 +01:00
Jose Narvaez a5cadf4bec Fixed dead increment in 'dump.c' reported by 'clang-analyzer' 2014-06-13 10:13:18 +01:00
Jose Narvaez 44a5809224 Fixed possible division by zero in 'codegen.c' reported by 'clang-analyzer' 2014-06-13 10:09:28 +01:00
Jose Narvaez da55b50409 Fixed dead assignment in 'vm.c' reported by 'clang-analyzer' 2014-06-13 09:44:41 +01:00
take_cheeze 1997420a7f Fix raise format found with mruby-clang-plugin. 2014-06-13 17:42:43 +09:00
Jose Narvaez 4027035cf4 Fixed dead assignment in 'parse.y' reported by 'clang-analyzer' 2014-06-13 09:37:07 +01:00
Jose Narvaez 24c105a251 Fixed dead assignment in 'backtrace.c' reported by 'clang-analyzer' 2014-06-13 09:36:44 +01:00
take_cheeze 502baaba39 Update document by regenerating it. 2014-06-13 17:28:45 +09:00
take_cheeze c07feca570 Add :doc task to run document generator. 2014-06-13 17:28:40 +09:00
take_cheeze 66802d9219 Add document for add_conflict and add_conflicts. 2014-06-13 17:16:32 +09:00
Yukihiro "Matz" Matsumoto 7275096f56 git push origin masterMerge branch 'take-cheeze-add_conflicts' 2014-06-13 12:50:11 +09:00
Yukihiro "Matz" Matsumoto 8ef971a373 remove add_conflicts now; use add_conflict; ref #2390 2014-06-13 12:50:00 +09:00
Yukihiro "Matz" Matsumoto 81db9b7090 Merge branch 'add_conflicts' of https://github.com/take-cheeze/mruby into take-cheeze-add_conflicts 2014-06-13 12:39:55 +09:00
take_cheeze eebb94410f Implement add_conflict. Usage is similar to add_dependency. 2014-06-13 01:07:53 +09:00
Yukihiro "Matz" Matsumoto 2067f1f9ff Merge branch 'master' of github.com:mruby/mruby 2014-06-13 00:42:03 +09:00
Yukihiro "Matz" Matsumoto 2ed7089546 need to call write barrier on hash keys; ref #2375 2014-06-13 00:41:49 +09:00
take_cheeze 6157e50843 Implement add_conflicts. Solve #2383. 2014-06-12 13:57:58 +09:00
Yukihiro "Matz" Matsumoto be3e36cb05 Merge pull request #2389 from ksss/str-mem-leaks
Fix memory leaks in String
2014-06-12 07:36:36 +09:00
Yukihiro "Matz" Matsumoto d0401dccc4 Merge pull request #2387 from suzukaze/refactor-nofree-p
Refactor how to use RSTR_NOFREE_P macro
2014-06-12 07:31:09 +09:00
ksss f1e15b0236 String#clear: use String#replace to simple 2014-06-11 14:46:52 +00:00
ksss bd53818999 str_replace: self should not be shared and nofree 2014-06-11 14:42:18 +00:00
Jun Hiroe 75d1412410 Refactor how to use RSTR_NOFREE_P macro 2014-06-11 23:10:41 +09:00
Yukihiro "Matz" Matsumoto 63be55c77c Merge pull request #2386 from suzukaze/add-nofree-macro
Add NOFREE macros
2014-06-11 12:15:33 +09:00