aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * encoding.c (rb_locale_encoding): should check return value fromusa2007-12-281-0/+13
| | | | | | | | | | | | | | | | rb_locale_charmap(). * ruby.c (locale_encoding): removed. * ruby.c (process_options): use rb_locale_encoding() instead of locale_encoding(). * ext/readline/readline.c (readline_readline): use locale encoding instead of input IO's encoding. [ruby-dev:32872] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_readline, readline_s_set_input):usa2007-12-281-0/+5
| | | | | | | | use mReadline directly because self is not always same. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_locale_encoding): defined.akr2007-12-281-0/+6
| | | | | | | | * include/ruby/encoding.h (rb_locale_encoding): declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_readline): set encoding to result.usa2007-12-281-0/+7
| | | | | | | | | * ext/readline/readline.c (readline_s_set_input, Init_readline): save input IO to hidden instance variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fri Dec 28 01:55:04 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2007-12-281-0/+17
| | | | | | | | | | | | | | | | | | | | | * transcode.c (transcode_dispatch): reverted some of the changes in r14746. * transcode.c, enc/trans/single_byte.c: Added conversions to/from US-ASCII and ASCII-8BIT (using data tables). * enc/trans/single_byte.c: Some spacing/ordering changes due to automatic data file generation. * transcode_data.h, transcode.c: Preliminary code for using micro-conversion functions. * test/ruby/test_transcode.rb: Added some tests for US-ASCII and ASCII-8BIT conversions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (make_time_t): verify mktime and timegm result.akr2007-12-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS#each_address): now returns IPv6 address.naruse2007-12-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move lib/rdoc/dot/dot.rb to lib/rdoc, un-namespace.drbrain2007-12-281-0/+6
| | | | | | Fix lib/rdoc/diagrom.rb for 1.9 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move RDoc markup samples to sample/rdoc/markup directorydrbrain2007-12-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove garbage ("X=1").knu2007-12-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move RDoc tests out of lib/drbrain2007-12-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (set_base_encoding, enc_base_encoding): renamednobu2007-12-281-0/+5
| | | | | | | based_encoding as base_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (Integer#each): use alias simply.usa2007-12-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (Object.const_missing): No need to delegate toknu2007-12-281-0/+5
| | | | | | | 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
* * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.kou2007-12-281-0/+7
| | | | | | | | * 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
* * gc.c (os_obj_of): returns an enumerator if no block given. based onnobu2007-12-281-0/+5
| | | | | | | 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
* * tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bisonnobu2007-12-281-0/+5
| | | | | | | 1.8 series. [ruby-dev:32825] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (Object.quine): need to join because SCRIPT_LINES__[]usa2007-12-281-0/+5
| | | | | | | | returns an array of lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (Object.quine): get the script itself.usa2007-12-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (Object.const_missing): Auto-complete constants.knu2007-12-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_dispatch): allows transcoding from/tonobu2007-12-271-0/+5
| | | | | | | ASCII-8BIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (Integer): Integer is now enumerable on goruby.usa2007-12-271-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (parse_files): don't depend on the default externalakr2007-12-271-0/+5
| | | | | | | encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (golf_prelude.c): use MINIRUBY instead of BASERUBY becauseusa2007-12-271-0/+5
| | | | | | | | tool/compile_prelude.rb requires rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: should not use the libraries under the source directorynobu2007-12-271-0/+5
| | | | | | | at cross compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (EXTOBJS): uses ruby.rc always for other thannobu2007-12-271-0/+5
| | | | | | | rubyw.exe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/commands/update_command.rb (do_rubygems_update): useusa2007-12-271-0/+6
| | | | | | | | | 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
* * ChangeLog: add report ref.usa2007-12-271-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (prefix): archdir is "1.9.0", not "1.9".usa2007-12-271-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/weakref.rb, lib/irb/ruby-lex.rb, lib/irb/lc/error.rb, ↵akr2007-12-271-3/+5
| | | | | | | | | | 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
* * parse.y, transcode_data.h, transcode.c: change "illegal" toakr2007-12-271-0/+5
| | | | | | | | "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
* * re.c (rb_reg_s_union): show encodings in error message.akr2007-12-271-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_codelen): show codepoint in error message.akr2007-12-271-0/+9
| | | | | | | | | | * 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
* * encoding.c (rb_enc_codelen): error message refined.akr2007-12-271-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_check): show encodings in error message.akr2007-12-271-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_casecmp): fixed using a wrong variable.nobu2007-12-271-0/+5
| | | | | | | [ruby-list:44402] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fflush): checks wbuf modification by other threads.akr2007-12-271-0/+5
| | | | | | | not perfect. it need locks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: a patch to support IRIX from Andrewmatz2007-12-271-0/+5
| | | | | | 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
* * lib/mkmf.rb (create_tmpsrc): retry to create file if Errno::EACCESusa2007-12-261-2/+8
| | | | | | | | occurs. this is a workaround for mswin32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Name.==): fix for other is array ofnaruse2007-12-261-0/+11
| | | | | | | | | | | | 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
* * lib/date/format.rb (_xmlschema): some improvements.tadf2007-12-261-0/+6
| | | | | | | | * 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
* * io.c (io_fflush): check closed fptr after rb_write_internal to avoidakr2007-12-261-0/+5
| | | | | | | SEGV on MacOS X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (Init_String): defines chars method.nobu2007-12-261-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: install goruby if exists.usa2007-12-261-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Cleaned up some code with Ruby 1.9 idioms.jeg22007-12-261-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (tmpbuf): use rb_str_tmp_new().nobu2007-12-261-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/ext/generator/generator.c (Init_generator): requiresnobu2007-12-251-0/+6
| | | | | | | | 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
* * development version 1.9.0 released.matz2007-12-251-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/node.rb (REXML::Node::indent): should initialize rvmatz2007-12-251-0/+6
| | | | | | | 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
* * ruby.c (proc_options): encoding option in shbang and RUBYOPT did notnobu2007-12-251-0/+5
| | | | | | | 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