summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 2004-10-15eban2004-10-151-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509store.cgotoyuzo2004-10-153-3/+72
| | | | | | | | | | | | (ossl_x509stctx_initialize): setup OpenSSL::X509::StoreContext with ossl_x509stctx_* functions instead of X509_STORE_CTX_*. (ossl_x509store_set_time): add OpenSSL::X509::Store#time=. (ossl_x509stctx_set_time): add OpenSSL::X509::StoreContext#time=. * test/openssl/ossl_x509store.rb: test certificate validity times. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb: TkTimer.new(interval, loop){ ... } is acceptable.nagai2004-10-152-14/+42
| | | | | | | Add TkTimer.start ( == new + start ). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c (Init_stack): make prototype declaration consistent with the ↵akr2004-10-152-1/+6
| | | | | | definition in gc.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-14eban2004-10-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added link to Tutorial.kou2004-10-142-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb:gotoyuzo2004-10-126-31/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add WEBrick::Config::FileHandler[:AcceptableLanguages]. * lib/webrick/httpservlet/filehandler.rb (WEBrick::HTTPServlet::FileHandler#set_filename): search files having suffix of language-name which Accept-Language header field includes if :AcceptableLanguages options is present. * lib/webrick/httpservlet/filehandler.rb (WEBrick::HTTPServlet::FileHandler#get_servlet): new method to search servlet correspond to the suffix of filename. * lib/webrick/httprequest.rb: add attributes access methods: accept, accept_charset, accept_encoding, accept_language, content_length and content_type. * lib/webrick/httpresponse.rb: add attribute access methods: content_length, content_length=, content_type and content_type=. * lib/webrick/httputils.rb (WEBrick::HTTPUtils.mime_types): use the second suffix to detect media type. (the first suffix may be a language name.) * lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_qvalues): add method to parse Accept header field. it returns an Array of values sorted by the qvalues. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-12eban2004-10-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (MODE_BINMODE, MODE_BINARY): fixed reversed condition.eban2004-10-122-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-11eban2004-10-111-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/*: untabifynagai2004-10-11296-13878/+13911
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-10eban2004-10-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support "require" as variable name in RDocdave2004-10-103-1/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/test_scanner_events.rb: test location information.aamine2004-10-091-14/+40
| | | | | | | * test/ripper/test_scanner_events.rb: test \n between comments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/lib/ripper/filter.rb: require ripper/tokenizer.aamine2004-10-092-2/+8
| | | | | | | * ext/ripper/lib/ripper/filter.rb (parse): argument is optional. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y [ripper]: \n between two comments disappeared.aamine2004-10-092-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/converter.rb: changed to try to use Iconv for defaultkou2004-10-093-8/+16
| | | | | | | | conversion. * lib/rss/rss.rb: 0.0.9 -> 0.1.0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-09eban2004-10-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:24460]akr2004-10-092-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline): should not treat char as negative value.nobu2004-10-092-3/+8
| | | | | | | [ruby-dev:24460] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_traverse): return value of Dir.entries is reliable. ↵aamine2004-10-082-3/+11
| | | | | | | | | (pass $SAFE=1) * lib/fileutils.rb (remove_dir): return value of Dir.foreach is reliable. (pass $SAFE=1) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-08eban2004-10-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): pointer modification check before eachmatz2004-10-082-0/+8
| | | | | | | iteration. [ruby-dev:24445] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/optiondb.rb: make it more securenagai2004-10-072-21/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/scrollbar.rb: When 'set' operation, a scrollbar cannotnagai2004-10-072-2/+17
| | | | | | | | propagate view port information from the source widget (that calls 'set') to other assigned widgets. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: When CHILDKILLED and so on, Tk.errorCode returnsnagai2004-10-072-1/+15
| | | | | | | a Fixnum for 2nd element (it's pid) of the return value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_read): should freeze buffer before thread contextmatz2004-10-072-1/+4
| | | | | | | switch. [ruby-dev:24442] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): string conversion should at the top of thematz2004-10-073-2/+10
| | | | | | | | | | method. [ruby-dev:24439] * io.c (io_read): buffer should be frozen only after the length check. [ruby-dev:24440] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo in document.akr2004-10-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: use FMODE_APPEND.nobu2004-10-062-5/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-07eban2004-10-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.errorInfo and Tk.errorCodenagai2004-10-065-2/+22
| | | | | | | * ext/tk/lib/tkextlib/bwidget.rb: bug fix git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_sysopen): preserve path in the buffer allocated bymatz2004-10-062-6/+13
| | | | | | | ALLOCA_N() to prevent modification. [ruby-dev:24438] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2004-10-06eban2004-10-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_modenum_mode): typo fix again.eban2004-10-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_mode_flags): preserve append mode flag.matz2004-10-0613-89/+90
| | | | | | | | | | | | | | | | | [ruby-dev:24436] * io.c (rb_io_modenum_mode): do not use external output buffer. * string.c (rb_str_justify): differ pointer retrieval to prevent padding string modification. [ruby-dev:24434] * range.c (range_each_func): allow func to terminate loop by returning RANGE_EACH_BREAK. * range.c (member_i): use RANGE_EACH_BREAK. [ruby-talk:114959] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_flags_mode): typo fix.eban2004-10-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-05eban2004-10-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_fopen): mode string copy at the lowest level.matz2004-10-057-87/+133
| | | | | | | | | | | | | | | | | | | | | | | * io.c (rb_io_flags_mode): requires output buffer no more. no allocation needed. * array.c (rb_ary_index): takes a block to compare items in an array. [ruby-talk:113069] [Ruby2] * array.c (rb_ary_rindex): ditto. * marshal.c (r_byte): retrieve pointer from string value for each time. [ruby-dev:24404] * marshal.c (r_bytes0): ditto. * enum.c (sort_by_i): re-entrance check added. [ruby-dev:24399] * io.c (io_read): should freeze all reading buffer. [ruby-dev:24400] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_file_open_internal, rb_io_reopen): fname might be alterednobu2004-10-042-9/+17
| | | | | | | while GC. [ruby-dev:24408] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-04eban2004-10-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/image.rb: bug fixnagai2004-10-046-1/+90
| | | | | | | * ext/tk/lib/tk/optiondb.rb: support definition of command resources on widgets git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the germanshugo2004-10-032-3/+12
| | | | | | | | | version of Microsoft Exchange Server. * lib/net/imap.rb (RTEXT_REGEXP): ditto. * lib/net/imap.rb (CTEXT_REGEXP): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-10-03eban2004-10-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test/ruby/test_string.rb.eban2004-10-031-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test String#sum for bits=0..7.akr2004-10-031-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for String#sum.akr2004-10-031-0/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (local_vars): moved to struct parser_params.nobu2004-10-023-55/+106
| | | | | | | | | | | [ruby-dev:24391] * parser.y (stmts): remove suspicious NODE_BEGIN. [ruby-dev:24390] * node.h (NEW_DVAR): extra semicolon. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sum): should use bignums when bits is greatermatz2004-10-023-2/+8
| | | | | | | than or equals to sizeof(long)*CHAR_BITS. [ruby-dev:24395] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sum): wrong cast caused wrong result.matz2004-10-023-16/+24
| | | | | | | | | | [ruby-dev:24385] * enum.c (enum_sort_by): hide temporary array from ObjectSpace.each_object. [ruby-dev:24386] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e