Commit Graph

15065 Commits

Author SHA1 Message Date
Tomoyuki Sahara 6cc24d0793 add tests for #tell and #seek. 2014-06-20 15:25:10 +09:00
Yukihiro "Matz" Matsumoto 9f25e3f3be Merge pull request #2407 from take-cheeze/mrbconf_update
Update mrbconf document.
2014-06-20 09:03:56 +09:00
take_cheeze e6a263a162 Raise NameError as defined in specification when Struct member isn't found. 2014-06-19 22:06:07 +09:00
take_cheeze a2f5840b60 Add tests to Struct#[] and Struct#[]=. 2014-06-19 22:06:07 +09:00
take_cheeze 3d94022b54 Replace return value result passing with assert_* in Struct test. 2014-06-19 22:06:07 +09:00
take_cheeze dd37c52068 Document GC mrbconfs. 2014-06-19 22:02:19 +09:00
take_cheeze 412c86bb58 Add primitive type configuration document. 2014-06-19 21:39:01 +09:00
take_cheeze 94ae70e8ee Add notes about how to use mrbconf. 2014-06-19 21:28:18 +09:00
Yukihiro "Matz" Matsumoto 49ecd44c7b Merge pull request #2406 from iij/pr_string_slice_bang
Adapt a behavior of String#slice! to other Ruby implementations
2014-06-19 19:17:24 +09:00
Akito Mochizuki ec04fa7e8d Modify return value of String#slice! if idx == self.size 2014-06-19 17:34:17 +09:00
Tomoyuki Sahara ddfc4eb5ef IO#read(0) should return "" immediately. fixes iij/mruby-socket#13. 2014-06-19 09:57:08 +09:00
Yukihiro "Matz" Matsumoto ba0ddb7819 fix conflict resolution mistake 2014-06-19 01:55:39 +09:00
Yukihiro "Matz" Matsumoto af92eb9de6 git push origin masterMerge branch 'yui-knk-replace-assert' 2014-06-18 23:44:31 +09:00
Yukihiro "Matz" Matsumoto a47cc0c211 resolve conflict 2014-06-18 23:44:24 +09:00
Yukihiro "Matz" Matsumoto 61b495c159 Merge branch 'master' of github.com:mruby/mruby 2014-06-18 23:10:20 +09:00
Yukihiro "Matz" Matsumoto b25fd05ee5 Merge branch 'suzukaze-delete-string.slice_comment' 2014-06-18 15:56:54 +09:00
Yukihiro "Matz" Matsumoto 8459b39886 update String#slice doc 2014-06-18 15:56:34 +09:00
Yukihiro "Matz" Matsumoto 42f5b741ea remove superclass test for classes that do not exist in mruby (core) 2014-06-18 15:54:43 +09:00
Yukihiro "Matz" Matsumoto b6982c1927 Merge pull request #2403 from take-cheeze/mrbconf_doc
Start `mrbconf` documentation.
2014-06-18 11:46:27 +09:00
take_cheeze 0ae199ca50 Add mrbconf documentation. 2014-06-17 22:46:52 +09:00
Tomoyuki Sahara 376af5bac3 re-implement TCPServer.accept. fixes #12. 2014-06-17 15:41:42 +09:00
Yukihiro "Matz" Matsumoto abb682eaf1 Merge pull request #2401 from take-cheeze/fixed_state_atexit_stack
Add fixed state atexit stack feature.
2014-06-17 11:54:50 +09:00
Yukihiro "Matz" Matsumoto d9985631e7 Merge pull request #2396 from take-cheeze/superclass_check
Move direct superclass checking to `test/t/superclass.rb`.
2014-06-17 11:51:04 +09:00
Tomoyuki Sahara 193c82174f P_tmpdir does not have trailing / on Linux. 2014-06-17 11:47:16 +09:00
Tomoyuki Sahara 14e325348b copy-and-paste bug... 2014-06-17 11:37:57 +09:00
Tomoyuki Sahara 0d378be34e tests and documentation. 2014-06-17 11:33:10 +09:00
Yukihiro "Matz" Matsumoto 44a834f30b Merge pull request #2402 from katmutua/master
[minor-fix]Update value pointer comments
2014-06-17 11:28:14 +09:00
katmutua 17e3203cfc [minor-fix]Minor cleanups on variable.c comments 2014-06-16 14:13:24 -03:00
Yukihiro "Matz" Matsumoto 3dce1fb3ca Merge pull request #2397 from suzukaze/add-string-slice_bang
Implement String#slice!
2014-06-16 19:57:07 +09:00
take_cheeze 62f41ddd3b Add fixed state atexit stack feature.
Adds following macros:
* MRB_FIXED_STATE_ATEXIT_STACK (not defined by default)
  * When defined enables fixed state atexit stack.
* MRB_FIXED_STATE_ATEXIT_STACK_SIZE (default value: 5)
  * This macro will be ignored when `MRB_FIXED_STATE_ATEXIT_STACK` isn't defined.
  * When `mrb_state_atexit` is called more than this value it will raise runtime error.
2014-06-16 16:03:35 +09:00
ksss 907a299790 arity for cfunc is not implemented yet 2014-06-15 22:38:22 +09:00
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