summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/cgi/session.rb (CGI::Session#initialize): empty session id wasnobu2004-12-191-1/+2
| | | | | | | used if request had no session key. fixed: [ruby-core:03981] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/SHIFT-JIS.rb: backported from CVS HEAD.kou2004-12-192-5/+5
| | | | | | | * lib/rexml/encodings/SHIFT_JIS.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: use standalone runner for -e.nobu2004-12-193-8/+28
| | | | | | | | | | | * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): accept multiple -p and -x options. * lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#recursive_collect): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * I confirmed that its length. :-)nahi2004-12-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth.rb,nahi2004-12-183-5/+2
| | | | | | | | | lib/webrick/httpauth/{basicauth.rb,digestauth.rb}: use pack/unpack-template char "m" instead of lib/base64.rb to do base64 encoding/decoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_open_dir): new function. [ruby-dev:25242]matz2004-12-181-5/+9
| | | | | | | | | | | | | | | | | | * hash.c (Init_Hash): remove custom "hash" and "eql?". * lib/set.rb (Set::eql): wrong definition. [ruby-dev:25207] * object.c (rb_obj_id_obsolete): warn always. * eval.c (rb_enable_super): ditto. * lib/set.rb (Set#==): [ruby-dev:25206] * lib/pstore.rb (PStore#transaction): Use the empty content when a file is not found. [ruby-dev:24561] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (CGI::Session#initialize): control addingnobu2004-12-171-6/+5
| | | | | | | session_id hidden fields. fixed: [ruby-talk:123850] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* backported from CVS_HEADseki2004-12-162-4/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should waitgotoyuzo2004-12-165-13/+39
| | | | | | | | | | | | | | | | | | | | for reading request till data arrive. [ruby-talk:121068] * lib/webrick/server.rb (WEBrick::GenericServer#start_thread): should log about all accepted socket. [ruby-core:03962] * lib/webrick/accesslog.rb (WEBrick::AccessLog#setup_params): "%%" and "%u" are supported. [webricken:135] * lib/webrick/httpservlet/filehandler.rb (WEBrick::HTTPServlet::FileHandler#check_filename): :NondisclosureName is acceptable if it is Enumerable. * lib/webrick/config.rb (WEBrick::Config::FileHandler): default value of :NondisclosureName is [".ht*", "*~"]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (basic_encode): return value of pack('m') may include ↵aamine2004-12-151-1/+1
| | | | | | multiple CR/LFs. Backported from main trunk (rev 1.112). [ruby-dev:25212] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_digest.c (ossl_digest_initialize): [ruby-dev:25198]matz2004-12-153-19/+28
| | | | | | | | * lib/cgi/session.rb (CGI::Session::initialize): generate new session if given session_id does not exist. [ruby-list:40368] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (cleanpath_aggressive): make it private.akr2004-12-121-2/+4
| | | | | | | | (cleanpath_conservative): ditto. Suggested by Daniel Berger. [ruby-core:3914] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* backported from CVS_HEADseki2004-12-121-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't show r/w accessor flags if none were specified for custom attributesdave2004-12-121-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Never exclude files given on command linedave2004-12-121-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add DRbRemoteError. [ruby-list:40348], [ruby-list:40390]seki2004-12-111-4/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix CSS typo that meant h2 headings were invisibledave2004-12-081-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss, test/rss, sample/rss: backported from CVS HEAD.kou2004-12-0815-593/+1232
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.8 doesn't have String#cleardave2004-12-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Completion#complete): new parameternobu2004-12-051-17/+12
| | | | | | | | | | to direct case insensitiveness. * lib/optparse.rb (OptionParser#order!): ignore case only for long option. [ruby-dev:25048] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore leading and trailing lines in :section: blocksdave2004-12-043-5/+41
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: 1.9 marshaling support back-ported.matz2004-12-031-10/+6
| | | | | | | [ruby-core:03871] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_invoke): copy arguments to frame.argv.matz2004-12-031-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ruby-core:03861] * object.c (convert_type): use rb_respond_to() again. [ruby-dev:25021] * eval.c (rb_respond_to): funcall respond_to? if it's redefined. [ruby-dev:25021] * io.c (rb_file_initialize): [ruby-dev:25032] * lib/ostruct.rb (OpenStruct::Marshaler): OpenStruct can be marshaled again. [ruby-core:03862] * io.c (rb_io_ctl): [ruby-dev:25019] * io.c (io_fread): need not to null terminate. [ruby-dev:24998] * io.c (read_all): remove unnecessary rb_str_resize(). [ruby-dev:24996] * io.c (io_read): ditto. * io.c (rb_io_sysread): use temporary lock. [ruby-dev:24992] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (convert_type): [ruby-core:03845]matz2004-11-292-3/+6
| | | | | | | | | | | | | | | | | * eval.c (rb_funcall_rescue): new function. * object.c (rb_Array): avoid using rb_respond_to(). * object.c (rb_Integer): ditto. * eval.c (get_backtrace): no conversion for nil. * parse.y (reduce_nodes): empty body should return nil. * lib/cgi/session.rb (CGI::Session::initialize): [ruby-core:03832] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix problem with :section: and new 1.9dave2004-11-262-3/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_read): move StringValue() check before GetOpenFile().matz2004-11-251-15/+364
| | | | | | | [ruby-dev:24959] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminatednobu2004-11-251-2/+5
| | | | | | | threads should be also processed. [ruby-talk:121320] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_chown): integer conversion should be prior tomatz2004-11-222-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GetOpenFile(). [ruby-dev:24947] * file.c (rb_file_truncate): ditto. * file.c (rb_file_s_truncate): ditto. * dir.c (dir_seek): use NUM2OFFT(). * misc/ruby-mode.el (ruby-non-block-do-re): [ruby-core:03719] * dir.c (dir_seek): should retrieve dir_data after NUM2INT(). [ruby-dev:24941] * string.c (rb_str_splice): should place index wrapping after possible modification. [ruby-dev:24940] * eval.c (error_print): nicer traceback at interrupt. [ruby-core:03774] * string.c (str_gsub): internal buffer should not be listed by ObjectSpace.each_object() by String#gsub. [ruby-dev:24931] * lib/cgi/session.rb (CGI::Session::FileStore::initialize): raise exception if data corresponding to session specified from the client does not exist. * string.c (str_gsub): internal buffer should not be listed by ObjectSpace.each_object(). [ruby-dev:24919] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't include 'require's with variable argumentsdave2004-11-221-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1. Force --inline-source if --one-file givendave2004-11-206-325/+471
| | | | | | | | | | | 2. Add new :section: directive which starts a new section in the output. The title following :section: is used as the section heading, and the remainder of the comment containing the section is used as introductory text. Subsequent methods, aliases, attributes, and classes will be documented in this section. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-11-171-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_divmod): protect float values from GC bymatz2004-11-161-3/+7
| | | | | | | | | | | | | | | assignment to local variables. [ruby-dev:24873] * string.c (str_mod_check): frozen check should be separated. [ruby-core:3742] * array.c (rb_ary_update): pedantic check to detect rb_ary_to_ary() to modify the receiver. [ruby-dev:24861] * string.c (rb_str_justify): typo fixed. [ruby-dev:24851] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): usenobu2004-11-161-2/+2
| | | | | | | Regexp conversion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP#object_address_group): remove odd number of 'f'nobu2004-11-141-1/+3
| | | | | | | prefixed to negative address. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (SimpleDelegator::dup): wrong number ofmatz2004-11-101-7/+7
| | | | | | | | | arguments. * lib/delegate.rb (DelegateClass::dup): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (rb_glob2): do not allocate buffer from heap to avoidmatz2004-11-101-2/+2
| | | | | | | | | | | | | | | memory leaks. use string object for buffering instead. [ruby-dev:24738] * dir.c (join_path): ditto. * io.c (io_read): external input buffer may be modified even after rb_str_locktmp(). [ruby-dev:24735] * dir.c (fnmatch): p or s may be NULL. [ruby-dev:24749] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Officious): moved from DefaultList.nobu2004-11-092-37/+71
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Change version numbering of RDoc and ridave2004-11-082-12/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add DRb::ExtServManager#uri=.seki2004-11-081-3/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix bug where parent class wasn't being detected if thedave2004-11-081-1/+2
| | | | | | | child class was defined using the A::B notation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/server.rb (WEBrick::HTTPServer#start): removegotoyuzo2004-11-062-4/+0
| | | | | | | | :DoNotReverseLookup option. (Socket#do_not_reverse_lookup is a ruby 1.9 feature) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* checks whether zone was given.tadf2004-11-061-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark): enable GC stack checking.matz2004-11-041-0/+3
| | | | | | | | | | | | | | | | | | | | * string.c (str_gsub): lock strings temporarily. [ruby-dev:24687] * ext/socket/socket.c (s_recvfrom): tmplock input buffer. [ruby-dev:24705] * array.c (rb_ary_uniq_bang): do not push frozen string from hash table. [ruby-dev:24695] * array.c (rb_ary_and): ditto. * array.c (rb_ary_or): ditto. * ext/enumerator/enumerator.c (each_cons_i): pass copy of an internal consequent array. [ruby-talk:118691] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/digestauth.rb: use Base64.encode64 togotoyuzo2004-11-031-2/+2
| | | | | | | avoid warnings. [webrickja:128] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/test_maker_*.rb: added tests for RSS Maker.kou2004-11-036-7/+16
| | | | | | | | * lib/rss/maker.rb: added RSS Maker. * lib/rss/maker/*.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-11-037-0/+852
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_invoke): nail down dyna_var node when Proc objectmatz2004-11-011-1/+1
| | | | | | | or continuation is created. [ruby-dev:24671] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-11-012-0/+217
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * CR stripped.nobu2004-10-291-25/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): ruby_finalize_1 may cause exception,matz2004-10-291-1/+1
| | | | | | | should be wrapped by PUSH_TAG/POP_TAG(). [ruby-dev:24627] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e