svn
b177ff64db
* 2008-10-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 15:16:02 +00:00
akr
5cf4f78aea
* lib/test/unit.rb (assert_nothing_thrown): don't intern.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 15:15:57 +00:00
xibbar
679d83e6f2
add test for encoding option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 14:30:47 +00:00
duerst
45e6848741
ChangeLog: moved entries back and corrected date
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 13:02:23 +00:00
matz
d3546e79ae
* parse.y (opt_block_arg): allow trailing comma after usual
...
arguments. not after block argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 11:49:39 +00:00
matz
957f69d2de
ChangeLog: move entries to proper place.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 10:46:58 +00:00
matz
8705e3623c
* numeric.c (num_sadded): remove newly defined singleton method
...
that should not exist after exception handling. [ruby-dev:36569]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 10:39:41 +00:00
matz
3f0ec8887f
* string.c (rb_external_str_new): a new function to convert from
...
external encoding to internal encoding. if something went
wrong, it returns a string with the external encoding.
* string.c (rb_external_str_new_with_enc): same as above besides
you can specify the source encoding.
* ruby.c (ruby_set_argv): use rb_external_str_new()
* ruby.c (set_arg0, ruby_script): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 10:36:20 +00:00
matz
88aa863274
* lib/tempfile.rb (Tempfile#initialize): now Tempfile.new takes
...
keyword arguments to open(). [ruby-dev:36756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 10:32:26 +00:00
matz
fcce99c52d
* re.c (rb_reg_initialize_m): specify ARG_ENCODING_NONE instead of
...
ARG_ENCODING_FIXED for Regexp.new("", nil, "n"). [ruby-dev:36761]
* test/ruby/test_regexp.rb (TestRegexp#test_initialize): test
updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 10:29:06 +00:00
duerst
7adbfbb793
* tool/transcode-tblgen.rb: added set_valid_byte_pattern
...
to reduce coupling between table generation script and
specific encodings.
* enc/trans/single_byte.trans: using set_valid_byte_pattern
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 08:10:57 +00:00
duerst
da1ffe490d
* transcode.c: in transcode_search_path, elimintated a warning
...
on cygwin about pathlen potentially not being initialized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 07:41:09 +00:00
akr
de55ffd024
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 05:07:38 +00:00
akr
6fa352271f
* lib/test/unit.rb (assert_nothing_thrown): implemented.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 04:41:17 +00:00
eban
c2fab59341
* common.mk: use added options for generic_erb.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 16:38:54 +00:00
svn
9dd20d027c
* 2008-10-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 15:51:39 +00:00
wanabe
b29f3640e9
* array.c: don't recycle shared-array while sort!.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 15:51:35 +00:00
wanabe
331cd4eed6
* array.c: recycle shared-array when it isn't referenced.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 13:09:33 +00:00
nobu
26b3c7a0f3
* id.h: reverted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 11:56:11 +00:00
nobu
b025ce4678
* common.mk (ID_H_TARGET): phony target to update id.h.
...
* tool/ifchange, win32/ifchange.bat: --timestamp option added.
* tool/generic_erb.rb: --timestamp, --output and --if-change options
added.
* template/id.h.tmpl: moved from id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 10:46:23 +00:00
yugui
6e738bf2b1
* array.c (ary_resize_capa): renamed RESIZE_CAPA.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 10:42:11 +00:00
matz
6b02097f79
* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_sqrt_bigdecimal):
...
test updated. a patch from TAKANO Mitsuhiro <takano32 at jus.or.jp> in
[ruby-dev:36736].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 09:17:11 +00:00
nobu
93e4ba927c
* configure.in (uncommon.mk): ignores failures at loading.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 09:15:00 +00:00
matz
5ef37965fc
* transcode.c (str_transcode0): String#encode without argument now
...
behave as if :undef => :replace, :invalid => :replace specified.
* transcode.c (rb_econv_prepare_opts): should preserve options in
any case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 09:13:04 +00:00
nobu
7de38fadc0
* test/rubygems/gemutilities.rb (RubyGemTestCase#build_rake_in):
...
get rid of interference with other tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 09:07:27 +00:00
shugo
5545c5aafa
* ext/socket/socket.c (init_sock): sockets should be binmode.
...
* test/socket/test_tcp.rb (test_encoding): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 02:50:43 +00:00
usa
68222eb417
* tool/insns2vm.rb: remove -Kn option in shebang line because it's
...
inconsistent with -Ks commandline option in common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 01:30:13 +00:00
jim
3b8bc290f4
Removed manage_gems call in the rake gempackagetask
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 23:21:59 +00:00
matz
98e6f9a79c
* re.c (rb_reg_initialize_m): changed the message to clarify the
...
third option argument is now ignored. [ruby-dev:36753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 22:39:04 +00:00
matz
1e8bbf3154
* .gdbinit (rp): REGEXP handling fixed.
...
* string.c (rb_str_rindex_m): need not to call rb_enc_check on
regexp.
* re.c (unescape_escaped_nonascii): try ASCII-8BIT encoding for
broken strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 22:21:42 +00:00
matz
4709e330cf
* ruby.c (proc_options): no warning when default_external already
...
set by -E.
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_rubyopt):
put -K after -E to set script encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 22:21:09 +00:00
akr
c2b9d34f62
* transcode.c (transcode_restartable0): in_pos and out_pos never be
...
NULL, now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 16:26:53 +00:00
mame
978f8ca10a
* lib/test/unit.rb: sort the order of executing tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 15:40:49 +00:00
akr
c69e178f0c
add an assertion.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 15:35:37 +00:00
akr
0cda4bb3bf
* io.c (rb_io_binmode): reset encoding conversion.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 15:25:25 +00:00
svn
f560dfdd90
* 2008-10-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 15:18:22 +00:00
mame
ca9589aeb0
* io.c (rb_getc, rb_io_fread, rb_io_fwrite, rb_read_pending):
...
remove deprecated functions which do not work. [ruby-dev:36697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 15:18:17 +00:00
akr
0f4ea5f3e3
* common.mk (TESTS): removed to re-enable test for minitest.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 14:49:32 +00:00
mame
01cdeb8da7
* compile.c (iseq_set_sequence): fix memory leak.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 14:38:08 +00:00
akr
ba1e27f3ca
* lib/test/unit.rb (assert_equal): avoid incompatible character
...
encodings error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 14:28:06 +00:00
akr
338253cbe5
* lib/test/unit.rb (assert_equal): failure message changed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 14:24:08 +00:00
akr
0ebf9b1763
* lib/test/unit: removed test/unit.
...
* lib/test/unit.rb: new compatibility layer using minitest.
* bin/testrb: use above.
* test/runner.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 13:55:09 +00:00
nobu
7485e91f76
* common.mk, enc/depend (enc, trans): targets for sources.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 05:34:25 +00:00
nobu
483225e521
* instruby.rb (lib): installs all files other than README etc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 05:30:38 +00:00
svn
5eb2a2e117
* 2008-10-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-15 21:27:04 +00:00
matz
f71b2c94dc
* test/ruby/test_transcode.rb (TestTranscode#test_errors):
...
String#encode now works without any argument. [ruby-dev:36740]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-15 21:26:59 +00:00
matz
7a0acc7eee
* lib/delegate.rb (DelegateClass): restored 1.8 behavior for
...
DelegateClass as well. [ruby-dev:36739]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-15 14:12:15 +00:00
usa
55ae1d90a3
* ChangeLog: add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-15 13:22:47 +00:00
usa
6c4895c78a
* array.c (RESIZE_CAPA): check whether len is longer than capacity.
...
* array.c (rb_ary_compact_bang): resize ary before changing capacity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-15 13:21:37 +00:00
akr
5c9dd204f5
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-15 09:15:46 +00:00