Commit Graph

2287 Commits

Author SHA1 Message Date
Masaki Muranaka b833df3d37 Remove commented out code. Remove redundant function calls. 2013-02-24 00:11:48 +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
Yukihiro "Matz" Matsumoto 9b4e8e56d1 Merge pull request #873 from monaka/pr-cleanup-numeric-20130223
Clean numeric.c up.
2013-02-22 19:06:06 -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
Yukihiro "Matz" Matsumoto 71a13f9ea7 Merge pull request #870 from mattn/regexp_compile
Regexp compile
2013-02-22 06:12:52 -08: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 a118c30861 better comment description for mrbconf.h configuration 2013-02-21 22:31:35 +09:00
Yukihiro Matz Matsumoto 9931f00863 remove unused HAVE_UNISTD_H altogether; ref #865 2013-02-21 22:28:32 +09:00
Yukihiro "Matz" Matsumoto 091c209c8a Merge pull request #865 from brainopia/mrbconf
Clean up mrbconf.h
2013-02-21 05:24:43 -08:00
Yukihiro "Matz" Matsumoto 1418f96498 Merge pull request #864 from nkshigeru/build_for_vc
fix access denied error at incremental build
2013-02-21 05:20:10 -08:00
brainopia 483dce4b33 Clean up mrbconf.h
- undef for windows is not used by default so comment it
- casting to the same type is not needed
- parenthesis are not needed for macro attributes separated by commas
- change order of MRB_NAN_BOXING and MRB_INT64 to simplify logic
2013-02-21 16:54:44 +04:00
nkshigeru 695920f515 fix access denied error at incremental build 2013-02-21 16:50:39 +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 1d40ae6c24 Merge pull request #863 from nkshigeru/gemtest_for_vc
declare local variable at the start of a block in generated gem_test.c
2013-02-19 20:18:52 -08:00
nkshigeru 7632b7a097 declare local variable at the start of a block in generated gem_test.c 2013-02-20 13:02:44 +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 74bbdb3dc0 Merge pull request #860 from iij/pr-gsub-test
update String#gsub test
2013-02-19 09:28:14 -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
Akira Yumiyama f82bf1ab2c update String#gsub test 2013-02-20 00:03:40 +09: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 e4bebad82d Merge branch 'master' of github.com:mruby/mruby 2013-02-18 18:48:19 +09:00
Yukihiro Matz Matsumoto b7da7cfee0 adopt String#gsub to fixed split behavior 2013-02-18 18:47:58 +09:00
Yukihiro Matz Matsumoto 7ce9cc3b83 String#split should honor limit arg 2013-02-18 18:47:25 +09:00
Yukihiro "Matz" Matsumoto 21822f4ee5 Merge pull request #851 from mattn/bye_bye_regexp
Remove DISABLE_REGEXP
2013-02-17 23:39:43 -08:00
Yukihiro "Matz" Matsumoto c9176abee3 Merge pull request #852 from masuidrive/change_default_debug_flag
Changed debugger hook to disable
2013-02-17 23:38:32 -08:00
Yuichiro MASUI 111cbca68c Changed debugger hook to disable 2013-02-18 16:36:15 +09:00
mattn 7b5ec7126a Remove DISABLE_REGEXP 2013-02-18 16:29:07 +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 7ba3275bf7 Merge pull request #849 from iij/pr-mrbtest-assert-ext
add assert_{true,nil,equal} methods.
2013-02-17 20:20:03 -08:00
Akira Yumiyama f2c77ff212 add assert_{true,nil,equal} methods. 2013-02-18 12:32:26 +09: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