Commit Graph

10194 Commits

Author SHA1 Message Date
take_cheeze ae15f264bd Start documenting C APIs. 2014-06-23 21:55:54 +09:00
Yukihiro "Matz" Matsumoto 90ddc2810a Merge branch 'take-cheeze-mrb_open_without_mrbgems' 2014-06-23 20:25:34 +09:00
Yukihiro "Matz" Matsumoto ac0addd98f refacor mrb_open_core() to reduce a local variable 2014-06-23 20:06:17 +09:00
take_cheeze baca365caa rename mrb_open_without_mrbgems to mrb_open_core 2014-06-23 20:06:17 +09:00
take_cheeze 36813c87f6 make default allocf public to use it with mrb_open_without_mrbgems 2014-06-23 20:06:17 +09:00
take_cheeze 6bb56ed920 add mrb_open_without_mrbgems API 2014-06-23 20:06:17 +09:00
Yukihiro "Matz" Matsumoto ad23483f32 Merge branch 'take-cheeze-reduce_new_obj' 2014-06-23 19:51:52 +09:00
take_cheeze 1633469e9c Reduce string creation in Symbol#casecmp by using case!. 2014-06-23 19:51:27 +09:00
take_cheeze 7015493efb Reduce string creation of length, size, empty? method of Symbol extension. 2014-06-23 19:51:27 +09:00
take_cheeze 0a6b54acd6 Reduce new string creation in capitalize, downcase, upcase method of Symbol class extension.
Add test to check unmodified result is working.
2014-06-23 19:51:27 +09:00
Yukihiro "Matz" Matsumoto c938b2f656 Merge pull request #2399 from ksss/cfunc-proc
Proc class should be defined before a first method definition
2014-06-23 09:02:53 +09:00
Yukihiro "Matz" Matsumoto a26599b5c6 Merge pull request #2413 from take-cheeze/summary_doc
Update documentation of `summary` property of mrbgem spec.
2014-06-22 22:23:20 +09:00
take_cheeze ad74bf6d0b Quote required mrbgem spec property. 2014-06-22 22:15:40 +09:00
take_cheeze c9df4ccf07 Update documentation of summary property of mrbgem spec. 2014-06-22 22:15:17 +09:00
Yukihiro "Matz" Matsumoto c43afd68cd Merge pull request #2412 from suzukaze/Fix-doc3
Fix document of  doc/compile/README.md
2014-06-22 17:05:29 +09:00
Yukihiro "Matz" Matsumoto a5f74380b3 Merge pull request #2411 from suzukaze/Fix-docs2
Fix document in doc/mrbgems/README.md
2014-06-22 17:04:37 +09:00
Yukihiro "Matz" Matsumoto f85cf98101 Merge pull request #2410 from suzukaze/Fix-docs
Fix document of doc/mrbconf/README.md
2014-06-22 17:04:08 +09:00
Jun Hiroe e43341b460 Fix document of doc/compile/README.md 2014-06-22 13:11:43 +09:00
Jun Hiroe d1d8bcba5d Fix a document in doc/mrbgems/README.md 2014-06-22 12:52:20 +09:00
Jun Hiroe 5355a4a18b Fix document of doc/mrbconf/README.md 2014-06-22 04:05:36 +09:00
Yukihiro "Matz" Matsumoto 1967afc2c8 Merge pull request #2409 from take-cheeze/syntax_highlight
Syntax highlight code blocks with github flavored markdown.
2014-06-21 23:04:07 +09:00
take_cheeze 18c6950809 Syntax highlight code blocks with github flavored markdown. 2014-06-21 22:04:00 +09:00
Yukihiro "Matz" Matsumoto 45e04c996e clear local variables for the first execution of mrb_context_run(); close #2405 2014-06-21 18:24:26 +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
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