summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* update rdoc: force_encoding doesn't accept nil.akr2008-01-111-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: AC_TRY_CPP has no FUNCTION-BODY while AC_TRY_COMPILEnobu2008-01-112-2/+2
| | | | | | | has. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: moved broken syscall checks from process.c etc.nobu2008-01-113-7/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-01-111-0/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h (WORDS_BIGENDIAN): honor __BIG_ENDIAN__ than the result ofnobu2008-01-112-8/+14
| | | | | | | configure. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit missnobu2008-01-111-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/options.rb ():nobu2008-01-112-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: update to r1.163.naruse2008-01-114-21/+22
| | | | | | | | | * ext/nkf/nkf.c: ASCII's canonical name is US-ASCII. * ext/nkf/lib/kconv.rb (Kconv.isjis): force_encoding('BINARY'). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding (set_base_encoding): must use rb_enc_dummy_p.naruse2008-01-112-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_to_encoding_index, rb_to_encoding): disallow nil.nobu2008-01-102-2/+5
| | | | | | | [ruby-dev:33003] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_unlock): proper error message for unlockingmatz2008-01-103-13/+27
| | | | | | | mutex that is not locked. a patch from Yusuke ENDOH <mame at tsg.ne.jp> in [ruby-dev:33010]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make a test locale independent.akr2008-01-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * prelude.rb (Mutex::synchronize): capture exception from unlock.matz2008-01-102-1/+6
| | | | | | [ruby-dev:32935] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c (io_encoding_set): typo fixedmatz2008-01-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_encoding_set): handle nil for v1.matz2008-01-102-4/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_encoding_set): IO.pipe("euc-jp", nil) should work asmatz2008-01-102-0/+6
| | | | | | IO.pipe("euc-jp", nil). [ruby-dev:33000] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_binmode): should not alter encoding. [ruby-dev:32918]matz2008-01-094-13/+13
| | | | | | | * io.c (io_read_encoding): need not to return ASCII-8BIT for binary IO. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/e2mmap.rb (Exception2MessageMapper::Raise): define fail.matz2008-01-092-0/+6
| | | | | | [ruby-dev:32854] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Prime#each): returns an enumerator if no blockkazu2008-01-092-0/+6
| | | | | | | given. [ruby-dev:32815] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_replicate): replica of dummy is a dummy.naruse2008-01-092-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields.gotoyuzo2008-01-093-2/+126
| | | | | | | | | | | | | | WEBrick::HTTPRequest#{host,port,request_uri} is derived having regards to X-Forwarded-Proto and X-Forwarded-Host. * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#server_name?): new method. (WEBrick::HTTPRequest#remote_ip?): new method. (WEBrick::HTTPRequest#ssl?): new method. * string.c (rb_enc_cr_str_buf_cat): fix self appending. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (Array#to_s): alias to join.eban2008-01-092-4/+16
| | | | | | | * golf_prelude.rb (FalseClass#to_s): return "". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_cr_str_buf_cat): fix self appending.akr2008-01-092-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): give priority command line encoding optionnobu2008-01-092-8/+33
| | | | | | | | | | to RUBYOPT, and enable -E option in RUBYOPT. * ruby.c (load_file): deal with encoding option in shebang line if nothing in command line and RUBYOPT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yycompile0): remove setting parser->enc because it is setusa2008-01-092-1/+5
| | | | | | | | in parser_prepare() by previous change of parser_prepare(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_cr_str_buf_cat, rb_str_buf_append): deal with selfnobu2008-01-092-5/+12
| | | | | | | appending. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_prepare): set parser->enc from lex_input for ripper.usa2008-01-092-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/server.rb (WEBrick::HTTPServer#start):gotoyuzo2008-01-092-0/+6
| | | | | | | :DoNotReverseLookup option had not been performed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_cr_str_buf_cat): do not recalculate coderangematz2008-01-093-5/+12
| | | | | | value if it's given from outside. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c: Updating the documentation of Enumrable#zip to reflectjeg22008-01-082-6/+12
| | | | | | | the recent changes Matz made to the method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/Makefile.in (BUILTIN_ENCS): UTF-{16,32}{BE,LE} are not builtin.naruse2008-01-082-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_init): UTF-{16,32}{BE,LE} are not builtin.naruse2008-01-082-8/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c, Makefile.in, include/ruby/oniguruma.h,naruse2008-01-085-11/+25
| | | | | | | enc/Makefile.in: fix rules for UTF-{16,32}{BE,LE}. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win{32,ce}/Makefile.sub: merged.nobu2008-01-083-541/+172
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Speed up Marshal load, fix bug with nested classes' methodsdrbrain2008-01-082-3/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clean up namespacing of RI's classesdrbrain2008-01-0820-1402/+1362
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_zip): honor length of the receiver, not thematz2008-01-084-16/+128
| | | | | | | | | | | | | shortest length. [ruby-core:14738] * enum.c (enum_zip): returns array not enumerator for no block form. [ruby-core:14738] * enumerator.c (next_ii): do not ignore multiple values yielded. * array.c (rb_ary_zip): faster version without creating generators. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * set properties.nobu2008-01-080-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Replace ri with Ryan Davis' cached ridrbrain2008-01-0811-579/+531
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_{16,32}{be,le}.c: renamed to match with encoding names.nobu2008-01-084-869/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_{16,32}{be,le}.c: renamed to match with encoding names.nobu2008-01-084-0/+869
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf{16,32}_{be,le}.c: use &OnigEncodingName(*) instead ofusa2008-01-085-11/+24
| | | | | | | | ONIG_ENCODING_*. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regenc.c (onigenc_strlen_null, onigenc_str_bytelen_null): suppressednobu2008-01-088-9/+18
| | | | | | | | | | | | warnings. * regenc.h, enc/unicode.c (onigenc_unicode_ctype_code_range): added encoding argument. * enc/utf{16,32}_{be,le}.c: added init functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf{16,32}_{be,le}.c: imported from Oniguruma 5.9.1.nobu2008-01-085-0/+865
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): avoid appending empty pre-match substr.akr2008-01-082-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_build_from_ary), iseq.c (iseq_load): fix for format change.nobu2008-01-083-20/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-01-08usa2008-01-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_buf_append): fix append itself.akr2008-01-073-1/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set properties.nobu2008-01-070-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e