summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2008-01-01* io.c (rb_io_mode_enc): encoding spec is not allowed in binary mode.nobu
[ruby-dev:32913] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-01* lib/rexml: 1.9 patch from Sam Ruby mentioned in his blog:matz
<http://intertwingly.net/blog/2007/12/31/Porting-REXML-to-Ruby-1-9> [ruby-core:14639] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-01* string.c (rb_str_substr): offset movement bug. a patch frommatz
Vincent Isambart <vincent.isambart at gmail.com> in [ruby-core:14647]. [ruby-core:14644] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31* encoding.c (rb_to_encoding): raises for non-nil, non-encoding,nobu
non-string object. [ruby-core:14634] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31* ruby.c (process_options): rejects dummy encoding.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31* ruby.c (proc_options, process_options): delays finding encodingnobu
until load_path is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31* string.c (rb_str_resize): embeds if ptr is null. [ruby-dev:32819]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):gotoyuzo
call do_XXX which corespond with request method. (WEBrick::HTTPProxyServer#do_CONNECT,do_GET,do_POST,do_HEAD): added. * test/webrick/test_httpproxy.rb: add test for WEBrick::HTTPProxyServer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31* thread_pthread.c (native_sleep): timespec tv_sec may overflow onmatz
some platform. a patch from zunda <zunda616e AT yahoo.co.jp> in [ruby-dev:32904]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31* string.c (IS_7BIT): removed.akr
(single_byte_optimizable): new function to test optimizationability using single byte string. (str_strlen): use single_byte_optimizable instead of is_ascii_string. (str_nth): rename argument: asc -> singlebyte. (str_offset): ditto. (rb_str_substr): use single_byte_optimizable instead of IS_7BIT. (rb_str_index): ditto. (rb_str_rindex): ditto. (rb_str_splice): ditto. (rb_str_justify): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* main.c, goruby.c (RUBY_MAIN_INIT): removed.nobu
* goruby.c (goruby_run_node): run after ruby_init_loadpath() so that require works, and protect the call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* trunk/common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for crossnobu
compiling. * configure.in, {win,bcc}32/Makefile.sub (MINIRUBY): -I$(srcdir)/lib moved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* include/ruby/encoding.h (rb_enc_sprintf, rb_enc_vsprintf): prototyped.nobu
* sprintf.c (rb_enc_sprintf, rb_enc_vsprintf): new functions to format arguments with encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30 * golf_prelude.rb (String#/): define / as split, as association ofusa
Array#*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* golf_prelude.rb (@@golf_hash): for performance improvement.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30 * lib/date.rb (_valid_time?): I'm not sure to recommend such antadf
expression. but anyway it is acceptable now. [ruby-core:14580] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* parse.y (program, yycompile0): too early to drop lex_lastline innobu
rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30 * bootstraptest/test_knownbug.rb: support DOSISH.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* encoding.c (Init_Encoding): registered rb_encoding differs fromnobu
ONIG_ENCODINGs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* parse.y (program): clear input strings after all process.nobu
* parse.y (parser_nextc, parser_yylex): should not drop lex_lastline while lex_p is valid. [ruby-dev:32896] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* configure.in: rm largefile.h.naruse
* common.mk: clean golf, conf*, preludes, and so on. * enc/depend: silent and ignore error for rm. * enc/Makefile.in: should define prefix and exec_prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29 * encoding.c (Init_encoding): register Windows-31J and its alias.usa
[ruby-dev:32843] * ruby.c (proc_options): -Ks options means Windows-31J, not Shift_JIS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29 * lib/mkmf.rb (depend_rules): need to convert `/' to `\' for windowsusa
native commands. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29* enc/Makefile.in (DLDFLAGS): like as extensions. [ruby-core:14567]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29* io.c (io_fflush): don't retry when wbuf modified by other threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29* re.c (rb_reg_regsub): returns the given string itself if nothingnobu
changed. * string.c (rb_str_sub_bang): keeps code-range as possible. * string.c (str_gsub): adjusts code-range. [ruby-core:14566] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29* common.mk (clean, distclean, realclean): should include clean-encnobu
and others. [ruby-dev:32887] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29changelog for previous change.akr
* bootstraptest/test_knownbug.rb: add a test reported by Kazuhiro NISHIYAMA. [ruby-dev:32819]. add a test reported by Frederick Cheung. [ruby-core:14556]. * test/ruby/test_m17n.rb (test_gsub): add a test reported by Sam Ruby. [ruby-core:14566] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throws):gotoyuzo
throw won't raise NameError nor ThreadError but ArgumentError on 1.9. (Test::Unit::Assertions#assert_not_throws): ditto. * test/testunit/test_assertions.rb: add assertions for throwing some objects other than Symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 * io.c (io_unread): fix typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 * io.c (io_unread): adhoc workaround for non-binary mode of some DOSishusa
platforms. this is not perfect and safety, but works with most cases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28* ext/strscan/strscan.c (str_new): new function for allocate an stringakr
with encoding propagation. (extract_range): use str_new. (extract_beg_len): ditto. (strscan_peek): ditto. (strscan_rest): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28* golf_prelude.rb (Object.say): derived from Perl 5.10.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 * encoding.c (rb_locale_encoding): should check return value fromusa
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
2007-12-28 * ext/readline/readline.c (readline_readline, readline_s_set_input):usa
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
2007-12-28* encoding.c (rb_locale_encoding): defined.akr
* 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
2007-12-28 * ext/readline/readline.c (readline_readline): set encoding to result.usa
* 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
2007-12-28Fri Dec 28 01:55:04 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst
* 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
2007-12-28* time.c (make_time_t): verify mktime and timegm result.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28* lib/resolv.rb (Resolv::DNS#each_address): now returns IPv6 address.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28Move lib/rdoc/dot/dot.rb to lib/rdoc, un-namespace.drbrain
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
2007-12-28Move RDoc markup samples to sample/rdoc/markup directorydrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28Remove garbage ("X=1").knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28Move RDoc tests out of lib/drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28* encoding.c (set_base_encoding, enc_base_encoding): renamednobu
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 * golf_prelude.rb (Integer#each): use alias simply.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28* golf_prelude.rb (Object.const_missing): No need to delegate toknu
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* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.kou
* 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* gc.c (os_obj_of): returns an enumerator if no block given. based onnobu
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* tool/ytab.sed: skip yydestruct hack unless yymsg exists, for bisonnobu
1.8 series. [ruby-dev:32825] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e