Commit Graph

1221 Commits

Author SHA1 Message Date
Masamitsu MURASE c6d2cde148 Adjust stack position of NODE_RESCUE. 2013-02-25 00:20:10 +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
skandhas 07bff3956e fix error output for Module#remove_const 2013-02-16 22:22:08 +08:00
mattn e0f25b1fda ready to pass second argument of Regexp.new 2013-02-15 13:55:41 +09:00
Yukihiro Matz Matsumoto e96743f3d7 use mrb_get_args("n") instead of decomposing each time 2013-02-15 10:45:32 +09:00
mattn 55ef8c50fb REGEXP_CLASS 2013-02-15 10:22:10 +09:00
Yukihiro Matz Matsumoto 37fe3d666f add Module#remove_const 2013-02-15 10:20:55 +09:00
mattn 6aee0485fc Should be OP_LOADL 2013-02-15 09:22:59 +09:00
mattn b1a5146ea8 Pluggable Regexp 2013-02-15 04:38:27 +09:00
Akira Yumiyama 397d1e7aa9 add mrb_str_to_cstr 2013-02-11 21:02:35 +09:00
Yukihiro Matz Matsumoto 75ae568236 should adjust stack size when irep->nregs is larger than allocate size; close #835 2013-02-10 23:54:57 +09:00
Yukihiro "Matz" Matsumoto 9a439245df Merge pull request #831 from carsonmcdonald/ciidxfix
Don't overwrite ciidx if it is already set.
2013-02-09 04:43:07 -08:00
Carson McDonald 92eb282b7a Don't overwrite ciidx if it is already set. 2013-02-08 06:57:15 -05:00
Carson McDonald 2ce3b31a8a Fix incorrect index use. nerr was being used for warning buffer check. 2013-02-07 07:27:59 -05:00