Commit Graph

5788 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto d4e49c9f8f Merge pull request #2422 from ksss/aspec-macro
OP_ENTER use MBR_ASPEC_* macros
2014-06-25 15:05:37 +09:00
ksss f092ef6b14 OP_ENTER: Rewrite split aspec use macros 2014-06-25 13:54:11 +09:00
ksss b0edba434c proc.h: MRB_ASPEC_REST() macro return 1 or 0
MRB_ASPEC_REST() is macro just only checks whether truthy or falsy.
And truthy means exist 1 rest argument in current proc.
2014-06-25 13:54:11 +09:00
Yukihiro "Matz" Matsumoto 8548aebcfa Merge pull request #2421 from ksss/safe-arity
Proc#arity return 0 when opcode was not OP_ENTER
2014-06-25 13:42:59 +09:00
ksss 19b82944f8 Proc#arity return 0 when opcode was not OP_ENTER 2014-06-25 08:48:08 +09:00
Yukihiro "Matz" Matsumoto dfeadf19da Merge pull request #2420 from ksss/reduce-lv
Not create local variables in scope_new
2014-06-25 07:53:51 +09:00
Yukihiro "Matz" Matsumoto 8e6fc29aac Merge pull request #2419 from santazhang/use-const
add a few const qualifier
2014-06-25 07:41:27 +09:00
ksss 14767a5597 Not create local variables in scope_new 2014-06-25 05:52:07 +09:00
Santa Zhang 8d5f67e6f3 add a few const qualifier 2014-06-24 15:16:13 -04:00
Yukihiro "Matz" Matsumoto faa3c52a8d Merge branch 'master' of github.com:mruby/mruby 2014-06-25 02:37:51 +09:00
Yukihiro "Matz" Matsumoto 9874aafbf0 Merge pull request #2333 from yui-knk/fix/dump
Fix to not print unnecessary comma.
2014-06-25 02:37:39 +09:00
Yukihiro "Matz" Matsumoto 5b590d977f revert #2344 because of #2395 2014-06-25 02:36:02 +09:00
Yukihiro "Matz" Matsumoto 46da47fc5e Merge pull request #2418 from take-cheeze/sym_intern
Add `Symbol#intern`.
2014-06-24 22:41:00 +09:00
take_cheeze 257725cecb Add Symbol#intern. 2014-06-24 21:44:22 +09:00
Yukihiro "Matz" Matsumoto 5561be961e Merge pull request #2416 from take-cheeze/c_api_ref
Start documenting C APIs.
2014-06-24 06:00:48 +09:00
Yukihiro "Matz" Matsumoto 7366615b78 Merge branch 'master' of github.com:mruby/mruby 2014-06-24 05:46:51 +09:00
Yukihiro "Matz" Matsumoto 08cfd9e637 Merge pull request #2415 from take-cheeze/mrbconf_doc
Add mrbconf document.
2014-06-24 04:50:27 +09:00
take_cheeze 2ec79c6e91 Add documentation of state atexit configuration. 2014-06-23 22:19:28 +09:00
take_cheeze 6336dbb653 Add documentation of memory pool configurations. 2014-06-23 22:12:58 +09:00
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 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
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