Commit Graph

1233 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 664205453c Merge pull request #899 from masamitsu-murase/modify_stack_position_of_method
Modify stack position of NODE_DEF and NODE_SDEF.
2013-02-26 18:13:08 -08:00
Yukihiro "Matz" Matsumoto d7904418fa Merge pull request #893 from monaka/pr-simplify-mrb_range_beg_len
Simplify mrb_range_beg_len(). Don't use OTHER macro.
2013-02-26 18:11:54 -08:00
Yukihiro "Matz" Matsumoto ced8fea305 Merge pull request #898 from masamitsu-murase/modify_return_value
Modify handling of NODE_RETURN and NODE_NEXT.
2013-02-26 18:10:02 -08:00
Masamitsu MURASE 1324d4e250 Modify stack position of NODE_DEF and NODE_SDEF. 2013-02-27 03:48:50 +09:00
Masamitsu MURASE 49c929a237 Return nil if argument of NODE_RETURN and NODE_NEXT is not specified. 2013-02-27 03:45:11 +09:00
Masaki Muranaka d864648506 Clean code up. 2013-02-26 19:16:48 +09:00
Yukihiro "Matz" Matsumoto d3418a7ac8 Merge pull request #888 from mattn/remove_onig
Remove needress file
2013-02-25 23:54:41 -08:00
Masaki Muranaka cb7cf4e795 Simplify mrb_range_beg_len(). Don't use OTHER macro. 2013-02-26 15:43:19 +09:00
mattn cf8b298ed4 Remove needless files 2013-02-26 13:57:16 +09:00
mattn 5f53ad2a3b Remove needless file 2013-02-26 04:07:19 +09:00
Yukihiro "Matz" Matsumoto 8a9026426e Merge pull request #881 from masamitsu-murase/make_op_assign_faster
Make OP_ASGN faster.
2013-02-24 19:33:25 -08:00
Masamitsu MURASE c6d2cde148 Adjust stack position of NODE_RESCUE. 2013-02-25 00:20:10 +09:00
Masamitsu MURASE b55c6c55d2 Make OP_ASGN faster.
I think that `*=` and `/=` can be compiled to `OP_MUL` and `OP_DIV`.
2013-02-24 16:20:31 +09:00
Yukihiro "Matz" Matsumoto bbd50cca2f Merge pull request #878 from monaka/pr-reduce-sprintf
Reduce sprintf() calls. Remove mrb_int_to_str() and MRB_INT_FORMAT.
2013-02-23 21:31:39 -08:00
Yukihiro "Matz" Matsumoto a6d7de5dab Merge pull request #875 from monaka/pr-enable-building-libmruby-with-DISABLE_STDIO-macro
Fix errors caused by stdio.h dependent code.
2013-02-23 21:26:37 -08:00
Yukihiro "Matz" Matsumoto 231be7c231 Merge pull request #879 from monaka/pr-remove-redundant-funcalls
Remove commented out code. Remove redundant function calls.
2013-02-23 21:24:05 -08:00
Masaki Muranaka b833df3d37 Remove commented out code. Remove redundant function calls. 2013-02-24 00:11:48 +09:00
Masaki Muranaka dd62349749 Reduce sprintf() calls. Remove mrb_int_to_str() and MRB_INT_FORMAT. 2013-02-23 21:21:15 +09:00
Yuichiro MASUI 0970ca9572 Support to build on pwd != mruby source root 2013-02-23 19:03:59 +09:00
Masaki Muranaka 2bfb88825d Fix errors caused by stdio.h dependent code. 2013-02-23 17:05:18 +09:00
Yukihiro "Matz" Matsumoto 58b9e76724 Merge pull request #872 from monaka/pr-fix-mrb_fix2str
Fix mrb_fix2str().
2013-02-22 19:07:07 -08:00
Masaki Muranaka 4c96817410 Cleanup shift operations. 2013-02-23 11:42:27 +09:00
Masaki Muranaka 9ea0b4b7d1 Fix an underlying bug. flodivmod() will be crashed in case ((y == 0) && ((divp == NULL) || (modp == NULL))). 2013-02-23 11:42:27 +09:00
Masaki Muranaka 82313b6ec7 Add a comment. 2013-02-23 11:42:27 +09:00
Masaki Muranaka 11997dd0ab Remove a comment at an unsuitable place. 2013-02-23 11:42:27 +09:00
Masaki Muranaka 316faf6790 Cosmetic changes. Just added empty lines. 2013-02-23 11:42:27 +09:00
Masaki Muranaka 9acc753297 Fix mrb_fix2str() to enable handling some negative values correctly. This fix is based on @cremno's hack. It will fix #869. 2013-02-23 09:38:55 +09:00
mattn 8ea0e9d523 Call compile method to override to memolize instances 2013-02-22 19:15:26 +09:00
mattn 2838fcf2aa Fix indent 2013-02-22 16:19:00 +09:00
Yukihiro Matz Matsumoto c15af5d562 compile /a/ as ::Regexp.new("a") 2013-02-21 16:01:09 +09:00
Yukihiro Matz Matsumoto ffd7aeeb68 print the error message before abort() 2013-02-21 15:59:50 +09:00
Yukihiro Matz Matsumoto 59cf4bca15 rename RVALUE union members 2013-02-20 23:19:48 +09:00
Yukihiro Matz Matsumoto 7317ba97e2 Merge branch 'master' of github.com:mruby/mruby 2013-02-20 23:15:27 +09:00
Yukihiro Matz Matsumoto 8b44e8dbd8 add RData entrie to RVALUE union 2013-02-20 23:15:11 +09:00
Yukihiro "Matz" Matsumoto 0852333900 Merge pull request #861 from cremno/regexp-parser-bugfix
regexp parsing bug if unknown option is used
2013-02-19 09:32:45 -08:00
Yukihiro "Matz" Matsumoto 85c10845e6 Merge pull request #855 from masamitsu-murase/support_parser_dump_for_regexp_literal
parser_dump supports NODE_REGEX.
2013-02-19 09:15:37 -08:00
Yukihiro "Matz" Matsumoto eed875ac79 Merge pull request #853 from cremno/pluggable-regex-msvc-fix
MSVC: vars must be declared at the start of a block
2013-02-19 09:12:03 -08:00
Yukihiro "Matz" Matsumoto ad84829b6a Merge pull request #857 from mattn/remove_comment
Remove needless comment
2013-02-19 09:11:19 -08:00
Cremno e8de677338 s must not be freed, removed space in exc msg 2013-02-19 17:58:36 +01:00
mattn fc3e83622a Remove needless comment 2013-02-18 22:41:56 +09:00
Masamitsu MURASE 4abdb87b90 parser_dump supports NODE_REGEX. 2013-02-18 21:55:03 +09:00
Cremno 2942ad8eeb vars must be declared at the start of a block 2013-02-18 11:40:53 +01:00
Yukihiro Matz Matsumoto 7ce9cc3b83 String#split should honor limit arg 2013-02-18 18:47:25 +09:00
Yukihiro Matz Matsumoto 59a6d1b514 remove TT_REGEX and TT_MATCH 2013-02-18 16:18:19 +09:00
Yukihiro Matz Matsumoto eb14c15e99 rename hook and macro 2013-02-18 16:15:32 +09:00
Yukihiro "Matz" Matsumoto 66a7b04b25 Merge pull request #845 from masuidrive/hook_fetch
Added a hook at VM code fetch.
2013-02-17 23:11:49 -08:00
Yukihiro "Matz" Matsumoto 9b06a4506e Merge pull request #850 from mattn/pluggable_regexp
Pluggable regexp
2013-02-17 23:08:58 -08:00
Yukihiro Matz Matsumoto 3a78093b45 resolve conflict 2013-02-18 09:13:52 +09:00
Yukihiro Matz Matsumoto 5568df5efe :Merge branch 'master' of github.com:mruby/mruby
Conflicts:
	src/class.c
2013-02-18 09:11:54 +09:00
Yuichiro MASUI bc44d06c73 Created hook at VM code fetch. It's for debugger 2013-02-17 00:13:42 +09:00