summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* Restore correct :nodoc: behavior with nested classesdave2004-10-261-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (isUNCRoot): should check NUL after '.'.eban2004-10-251-0/+7
| | | | | | | | [ruby-dev:24590] * win32/win32.c (isUNCRoot): fixed buffer overrun. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587]nobu2004-10-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_load, search_required, rb_require_safe, rb_require): usenobu2004-10-231-0/+5
| | | | | | | frozen shared string to avoid outside modification. [ruby-dev:24580] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_append_input): clear klass for z->inputmatz2004-10-231-0/+3
| | | | | | | to avoid potential vulnerability. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_run): always use zstream_append_input()matz2004-10-221-0/+5
| | | | | | | to avoid SEGV. [ruby-dev:24568] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_alias): was warning for wrong condition.matz2004-10-221-0/+5
| | | | | | | [ruby-dev:24565] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#meta_vars):gotoyuzo2004-10-221-0/+5
| | | | | | | should check if path_info is not nil. [webrickja:126] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_shift_buffer): should restore classmatz2004-10-211-0/+11
| | | | | | | | | | | | | field of a buffer. [ruby-dev:24562] * eval.c (rb_alias): should warn on method discarding. [ruby-dev:24546] * ext/zlib/zlib.c (zstream_expand_buffer_into): hide internal string buffer by clearing klass. [ruby-dev:24548] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_include): should not treat char as negative value.nobu2004-10-211-0/+5
| | | | | | | [ruby-dev:24558] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#send_body_io):gotoyuzo2004-10-211-0/+5
| | | | | | | ensure to close @body. (http://bugs.debian.org/277520) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): variable name "fpw" is conflicted.eban2004-10-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lex_getline): should not touch ruby_debug_lines ifmatz2004-10-201-0/+9
| | | | | | | | | RIPPER is defined. [ruby-dev:24547] * string.c (str_gsub): reentrant check. [ruby-dev:24432] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2004-10-201-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lex_getline): should update ruby_debug_lines.matz2004-10-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/dbm.c (fdbm_delete_if): should check if deleting elementmatz2004-10-191-0/+7
| | | | | | | | | is a string. [ruby-dev:24490] * ext/sdbm/init.c (fsdbm_delete_if): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_times): Array#* should return an instance ofmatz2004-10-191-0/+13
| | | | | | | | | | | | | | | the class of right operand. [ruby-dev:24526] * ext/zlib/zlib.c (zstream_detach_buffer): should not expose class-less object to Ruby world. [ruby-dev:24530] * eval.c (proc_dup): provide Proc#dup as well. [ruby-talk:116915] * eval.c (ruby_exec): stack marking position may be higher than expected. thanks to Guy Decoux. [ruby-core:03527] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (search_required): required name must not be changed beforenobu2004-10-191-0/+5
| | | | | | | loading. [ruby-dev:24492] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_require_safe): provide the feature after loaded.nobu2004-10-191-1/+6
| | | | | | | [ruby-list:40085] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc can now deal with "attr" used as a variabledave2004-10-191-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole.c(ole_invoke): retrieve the result value whensuke2004-10-191-0/+5
| | | | | | | retrying the IDispatch::invoke. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): block string buffer modification duringmatz2004-10-191-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rb_io_fread() by freezing it temporarily. [ruby-dev:24479] * dir.c (rb_push_glob): block call at once the end of method. [ruby-dev:24487] * ext/enumerator/enumerator.c (enum_each_slice): remove rb_gc_force_recycle() to prevent potential SEGV. [ruby-dev:24499] * ext/zlib/zlib.c (zstream_expand_buffer): hide internal string buffer by clearing klass. [ruby-dev:24510] * ext/socket/socket.c (sock_s_getservbyaname): protocol string might be altered. [ruby-dev:24503] * string.c (rb_str_upto): check if return value from succ is a string. [ruby-dev:24504] * io.c (rb_io_popen): get mode string via rb_io_flags_mode() to avoid mode string modification. [ruby-dev:24454] * io.c (rb_io_getline_fast): should take delim as unsigned char to distinguish EOF and '\377'. [ruby-dev:24460] * io.c (rb_io_getline): add check for RS modification. [ruby-dev:24461] * enum.c (enum_sort_by): use qsort() directly instead using rb_iterate(). [ruby-dev:24462] * enum.c (enum_each_with_index): remove rb_gc_force_recycle() to prevent access to recycled object (via continuation for example). [ruby-dev:24463] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): method result must be checked. [ruby-dev:24504]nobu2004-10-181-0/+6
| | | | | | | * eval.c (error_print): ditto. [ruby-dev:24519] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): check inheritance by the internal function.nobu2004-10-181-0/+5
| | | | | | | [ruby-dev:24515] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_flags_mode, rb_io_mode_flags): distinguish whether filenobu2004-10-181-0/+5
| | | | | | | not existing is created. [ruby-dev:24505] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_truncate): discard read buffer before truncation.nobu2004-10-171-1/+6
| | | | | | | [ruby-dev:24197] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#initialize):gotoyuzo2004-10-171-0/+5
| | | | | | | initial value of accpet-* should be array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb: TkTimer#start and restart accept a blocknagai2004-10-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (fole_func_methods): correct argument mismatch.suke2004-10-171-0/+8
| | | | | | | | | | * ext/win32ole/win32ole.c (fole_get_methods): ditto. * ext/win32ole/win32ole.c (fole_put_methods): ditto. * ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE#ole_func_methods WIN32OLE#ole_get_methods, WIN32OLE#ole_put_methods git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/0.9.rb (RSS::Rss#to_s): removed garbage.kou2004-10-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/: untabified.kou2004-10-161-0/+6
| | | | | | | | * test/rss/: untabified. * lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss: supported prety print.kou2004-10-161-0/+5
| | | | | | | * test/rss/test_1.0.rb: added test for calculating default indent size. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): install-rb is needed for staticallynobu2004-10-161-1/+6
| | | | | | | linked extensions. [ruby-dev:24491] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509store.cgotoyuzo2004-10-151-0/+10
| | | | | | | | | | | | (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-151-0/+5
| | | | | | | 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-151-0/+5
| | | | | | definition in gc.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added link to Tutorial.kou2004-10-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb:gotoyuzo2004-10-121-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * io.c (MODE_BINMODE, MODE_BINARY): fixed reversed condition.eban2004-10-121-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/*: untabifynagai2004-10-111-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support "require" as variable name in RDocdave2004-10-101-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/lib/ripper/filter.rb: require ripper/tokenizer.aamine2004-10-091-0/+6
| | | | | | | * 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-091-0/+4
| | | | 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-091-0/+7
| | | | | | | | 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
* * io.c (rb_io_getline): should not treat char as negative value.nobu2004-10-091-2/+7
| | | | | | | [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-081-0/+8
| | | | | | | | | (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
* * pack.c (pack_pack): pointer modification check before eachmatz2004-10-081-0/+5
| | | | | | | 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-071-0/+4
| | | | 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-071-0/+6
| | | | | | | | 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-071-0/+5
| | | | | | | 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