Yukihiro Matz Matsumoto
a6767bd8bb
rename assert_raises to assert_raise
2013-02-25 12:28:38 +09:00
Yukihiro Matz Matsumoto
dbea1d2299
remove assert_instance_of and assert_kind_of which might hinder duck typing
2013-02-25 12:27:27 +09:00
Yukihiro Matz Matsumoto
cf358aea9f
rename assert_includes to assert_include
2013-02-25 12:26:27 +09:00
Yukihiro Matz Matsumoto
d8d189711d
Merge branch 'pr-mrbtest-assert-ext' of https://github.com/iij/mruby into iij-pr-mrbtest-assert-ext
2013-02-25 12:25:04 +09:00
Yukihiro "Matz" Matsumoto
815177afc7
Merge pull request #883 from masamitsu-murase/modify_node_rescue_handling
...
Adjust stack position of NODE_RESCUE.
2013-02-24 19:19:14 -08:00
Masamitsu MURASE
efa18038de
Add more tests for begin and rescue.
2013-02-25 00:25:03 +09:00
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
Yukihiro "Matz" Matsumoto
87d0630d1c
Merge pull request #876 from masuidrive/fixed_build_system
...
Support to build on pwd != mruby source root
2013-02-23 21:22:45 -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
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
Akira Yumiyama
f8bdc10cb1
add assert_{includes,instance_of,kind_of,raises} methods.
2013-02-22 13:16:47 +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