nobu
c3c58513d7
* encoding.c (set_base_encoding, enc_base_encoding): renamed
...
based_encoding as base_encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 06:10:49 +00:00
usa
c48c31a528
* golf_prelude.rb (Integer#each): use alias simply.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 04:59:00 +00:00
knu
7ad2d4cc9a
* golf_prelude.rb (Object.const_missing): No need to delegate to
...
superclass. Just raise a NameError when none matches.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 04:46:56 +00:00
kou
9343a2deb3
* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.
...
* lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name.
Reported by Ray Chen. Thanks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 04:20:47 +00:00
nobu
0d7405b69f
* gc.c (os_obj_of): returns an enumerator if no block given. based on
...
a patch from Yugui <yugui AT yugui.sakura.ne.jp>. [ruby-dev:32828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 04:07:33 +00:00
nobu
76e845505a
* tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bison
...
1.8 series. [ruby-dev:32825]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 02:46:06 +00:00
usa
18ef0fef15
* golf_prelude.rb (Object.quine): need to join because SCRIPT_LINES__[]
...
returns an array of lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 02:39:51 +00:00
usa
ec12be8574
* golf_prelude.rb (Object.quine): get the script itself.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 02:18:05 +00:00
knu
f1ddd69d7b
* golf_prelude.rb (Object.const_missing): Auto-complete constants.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 01:07:21 +00:00
nobu
3b83e10790
* transcode.c (transcode_dispatch): allows transcoding from/to
...
ASCII-8BIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 16:55:06 +00:00
usa
b8f8c75579
* golf_prelude.rb (Integer): Integer is now enumerable on goruby.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 16:47:58 +00:00
akr
7ee205d1d1
* lib/rdoc/rdoc.rb (parse_files): don't depend on the default external
...
encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 16:28:45 +00:00
nobu
07c730fcbc
* cygwin/GNUmakefile.in: commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 15:30:30 +00:00
usa
3bcd7c418b
* common.mk (golf_prelude.c): use MINIRUBY instead of BASERUBY because
...
tool/compile_prelude.rb requires rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 15:03:14 +00:00
nobu
0e7eb0f842
* mkconfig.rb: should not use the libraries under the source directory
...
at cross compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 14:56:04 +00:00
nobu
7e4c66342d
* cygwin/GNUmakefile.in (EXTOBJS): uses ruby.rc always for other than
...
rubyw.exe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 14:43:39 +00:00
usa
992cc9469b
* lib/rubygems/commands/update_command.rb (do_rubygems_update): use
...
portable and safely ENV operation. reported in
<http://slashdot.jp/developers/comments.pl?sid=384937&cid=1273085 >.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 13:33:04 +00:00
usa
f548ed48eb
* ChangeLog: add report ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 12:50:44 +00:00
usa
e02f14addf
* mkconfig.rb (prefix): archdir is "1.9.0", not "1.9".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 12:48:34 +00:00
akr
173f1e1563
* lib/weakref.rb, lib/irb/ruby-lex.rb, lib/irb/lc/error.rb, enc/trans/japanese.c:
...
change "illegal" to "invalid" in a context which doesn' t against
a law.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 08:58:03 +00:00
akr
efd7504d44
* parse.y, transcode_data.h, transcode.c: change "illegal" to
...
"invalid" in a context which doesn' t against a law.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 08:27:19 +00:00
akr
fd640aec82
* re.c (rb_reg_s_union): show encodings in error message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 07:38:23 +00:00
akr
ce2b982cd2
* encoding.c (rb_enc_codelen): show codepoint in error message.
...
* include/ruby/encoding.h (rb_enc_codelen): comment it returns
positive integer.
* string.c (rb_str_concat): rb_enc_codelen doesn't return 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 06:27:39 +00:00
akr
cd2fd33edf
* encoding.c (rb_enc_codelen): error message refined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 06:19:09 +00:00
akr
8bb84c92d4
* encoding.c (rb_enc_check): show encodings in error message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 06:12:19 +00:00
nobu
6aef04f338
* string.c (rb_str_casecmp): fixed using a wrong variable.
...
[ruby-list:44402]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 06:02:55 +00:00
akr
fc9cc7440a
* io.c (io_fflush): checks wbuf modification by other threads.
...
not perfect. it need locks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 05:36:02 +00:00
matz
5458a384ea
* ext/socket/socket.c: a patch to support IRIX from Andrew
...
Thompson <andrew@hijacked.us> in [ruby-core:14447].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 01:47:11 +00:00
usa
fc9a7983cf
* lib/mkmf.rb (create_tmpsrc): retry to create file if Errno::EACCES
...
occurs. this is a workaround for mswin32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 17:32:22 +00:00
naruse
7ae8e804ed
* lib/resolv.rb (Resolv::DNS::Name.==): fix for other is array of
...
Resolv::DNS::Label::Str.
* lib/resolv.rb (Resolv::DNS::MessageEncoder#put_label): String#string
is not defined, so replace to_s.
* lib/resolv.rb (Resolv::IPv6#to_name): ip6.int is obsoleted by ip6.arpa.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 13:50:31 +00:00
tadf
343a414ab0
* lib/date/format.rb (_xmlschema): some improvements.
...
* lib/date/format.rb (_parse): a new hint compfunc. [experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 12:29:20 +00:00
akr
b3e3c8a578
* io.c (io_fflush): check closed fptr after rb_write_internal to avoid
...
SEGV on MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 08:33:38 +00:00
nobu
c2d54ce2a0
* string.c (Init_String): defines chars method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 07:10:20 +00:00
akr
7a0d1903d3
remove p.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 06:28:42 +00:00
usa
af96c97cb1
* instruby.rb: install goruby if exists.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 05:39:03 +00:00
jeg2
d8ad1e28e9
* lib/csv.rb: Cleaned up some code with Ruby 1.9 idioms.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 04:56:03 +00:00
nobu
0c48720b46
* array.c (tmpbuf): use rb_str_tmp_new().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 04:29:37 +00:00
akr
a3f722abef
update lambda? doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 03:49:10 +00:00
akr
8ffd1eb2a4
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 03:07:08 +00:00
nobu
db5a25f3f3
* ext/json/ext/generator/generator.c (Init_generator): requires
...
json/common.rb for GeneratorError, when static linked. a patch from
Kenta Murata <muraken AT gmail.com> in [ruby-dev:32789].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 15:57:55 +00:00
matz
ce9df5d01e
* development version 1.9.0 released.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 14:34:58 +00:00
matz
23a8a5e78f
* lib/rexml/node.rb (REXML::Node::indent): should initialize rv
...
variable. a patch from Tadayoshi Funaba <tadf AT dotrb.org> in
[ruby-dev:32783].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 14:30:02 +00:00
matz
1ffc06198e
* doc/NEWS: changes for 1.9
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 14:19:55 +00:00
nobu
14ab3bd2ac
* ruby.c (proc_options): encoding option in shbang and RUBYOPT did not
...
work, do not store alloca()ed string in a parent scope struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 14:16:03 +00:00
usa
70e01d72d8
* win32/Makefile.sub (config.status): keep this file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 13:57:19 +00:00
nobu
d70a20a510
* configure.in (TIMEZONE_VOID): typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 13:55:45 +00:00
ko1
dccf2b9255
* insns2vm.rb: add encoding option to shbang.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 13:46:55 +00:00
ko1
96b9744b3d
* bootstraptest/pending.rb: add pending issue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 13:15:53 +00:00
ko1
e037d72514
* thread.c: remove Thread.critical(=).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 13:14:23 +00:00
nobu
f64fc63cec
* tool/make-snapshot: add version number.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 12:44:52 +00:00