summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/soap/mapping/{factory.rb,registry.rb}: fixed illegal mapped URInahi2004-04-012-2/+17
| | | | | | | | | | | object with soap/marshal. added URIFactory class for URI mapping. BasetypeFactory checks instance_variables when original mapping is not allowed (ivar must be empty). Instance of URI have instance_variables but it must be llowed whenever original mapping is allowed or not. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (DelegateClass): define internal methods of thenobu2004-03-311-7/+7
| | | | | | | result class, but not metaclass of the caller. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * exception message clean-up by Ian Macdonald <ian@caliban.org>.matz2004-03-2917-41/+44
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Documentation fixes and a patch to fix whitespace handling.ser2004-03-286-21/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2004-03-281-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: def m( arg ) -> def m(arg).aamine2004-03-281-44/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (auth): failed when account/password include "%". ↵aamine2004-03-281-2/+2
| | | | | | [ruby-talk:95933] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: revert to rev1.63. 1.64 wrongly contains POPS code.aamine2004-03-281-26/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (auth): failed when account/password include "%". ↵aamine2004-03-281-6/+26
| | | | | | [ruby-talk:95933] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (lib/open-uri.rb): permit extra semicolon in content-type field.akr2004-03-271-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethodsakr2004-03-272-39/+46
| | | | | | | instead of PrettyPrint. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: trim tail space of each line. no user visible change.nahi2004-03-262-12/+12
| | | | | | | | | * lib/rss/dublincore.rb: fixed class definition mismatch. * sample/openssl/gen_csr.rb: fixed wrong usage text. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Missing trailing "$"dave2004-03-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add --version option to ridave2004-03-251-2/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add the --list-names optiondave2004-03-246-8/+70
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Must now use "::" to separate nested classes. This fixes bug where "ri ↵dave2004-03-241-0/+1
| | | | | | Kernel.Array" was looking for a class called Array git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get --one-page working with C codedave2004-03-241-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move "y" documentation to correct placedave2004-03-241-15/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri.rb: Documented (thanks Dmitry V. Sabanin).gsinclair2004-03-248-985/+968
| | | | | | | | | | | | | * lib/uri/common.rb: Ditto. * lib/uri/ftp.rb: Ditto. * lib/uri/generic.rb: Ditto. * lib/uri/http.rb: Ditto. * lib/uri/https.rb: Ditto. * lib/uri/ldap.rb: Ditto. * lib/uri/mailto.rb: Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected bynobu2004-03-241-7/+13
| | | | | | | | | DESTDIR after installed. * lib/mkmf.rb (dummy_makefile): default file lists to be cleaned. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: fixed a stupid bug. [ruby-talk:95680]matz2004-03-241-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't be as eager to invent classes to documentdave2004-03-242-4/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow templates to be specified outside the RDoc treedave2004-03-241-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile::_close): should not clear @tmpnamematz2004-03-241-4/+7
| | | | | | | until the file is really removed. [ruby-core:02684] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_cvar_get): new method Module#class_variable_get.matz2004-03-231-1/+2
| | | | | | | | | | * object.c (rb_mod_cvar_set): ditto (Module#class_variable_set). * eval.c (rb_thread_atfork): 1.9 warns no more for thread termination. [ruby-dev:23212] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):nobu2004-03-231-3/+4
| | | | | | | | | | | | | | | | | | separate files under directories due to directory separator. * */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be removed. * win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit rules. * cygwin/GNUmakefile.in: some mingw stuffs were missed. * lib/mkmf.rb (create_makefile): Borland make wrongly removes braces from command lines. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):gotoyuzo2004-03-211-2/+9
| | | | | | | | | | sort @virtual_hosts in address, port, host order. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server): hostname should not be match if :ServerAlias is not given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shell/*: bug fix for Shell#system(command_line_string).keiju2004-03-213-9/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.kou2004-03-213-4/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.kou2004-03-2110-84/+200
| | | | | | | | * lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_require_safe): preserve old ruby_errinfo.matz2004-03-201-1/+1
| | | | | | | | | | | | | [ruby-talk:95409] * eval.c (rb_f_raise): should not clear backtrace information if exception object already have one. * parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2] this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Force RDoc html background to whitedave2004-03-201-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.6.tadf2004-03-202-12/+36
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($beos, $solaris): add OS flags.usa2004-03-191-3/+6
| | | | | | | | | | * lib/mkmf.rb (RUBY): / is not recognized as path separator on nmake/bmake. [ruby-list:39388] * lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_eq): avoid false positive by using scope andmatz2004-03-182-2/+2
| | | | | | | | | | | dyna_vars. no longer use frame.uniq. * eval.c (proc_arity): arity is now defined as number of parameters that would not be ignored. i.e. Proc.new{}.arity returns zero. update test suites too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: no longer embed srcdir and compile_dir intonobu2004-03-181-8/+8
| | | | | | | | | | rbconfig.rb. * ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library paths. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stop undef DRbObject#to_aseki2004-03-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove specialized version of rb_Array(). use simplematz2004-03-181-2/+2
| | | | | | | | | | | one defined in object.c. * object.c (Init_Object): remove Kernel#to_a. * enum.c (enum_zip): use "to_a" instead of "to_ary". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_noreturn): default for platforms not supportnobu2004-03-121-1/+8
| | | | | | | | | | | | | | prototypes. * ruby.c (ruby_init_loadpath): buffer for path name should have MAXPATHLEN. * lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH. * lib/mkmf.rb (create_makefile): default dependency rule. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb (WEBrick::Config::General): addgotoyuzo2004-03-112-0/+4
| | | | | | | | | | | :DoNotReverseLookup. * lib/webrick/server.rb (WEBrick::GenericServer#accept): call do_not_reverse_lookup for each socket if :DoNotReverseLookup is set. [ruby-code:02357] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (remove_dir): should handle symlink correctly. This ↵aamine2004-03-101-1/+3
| | | | | | patch is contributed by Christian Loew. [ruby-talk:94635] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_s_def): Struct::new executes block withmatz2004-03-102-8/+8
| | | | | | | | | | generated struct class. [ruby-talk:02606] * io.c (rb_io_ungetc): raise IOError instead of calling rb_sys_fail(). [ruby-talk:23181] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: HTTPHeader did not initialized correctly.aamine2004-03-081-13/+14
| | | | | | | * lib/net/http.rb (connect): does same debug output. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (add_header): remove warning. [ruby-dev:23170]aamine2004-03-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})akira2004-03-081-1/+1
| | | | | | | -> (?::#{PORT}). [ruby-dev:23170] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHandergotoyuzo2004-03-073-11/+17
| | | | | | | | | | | | | | | | | | | | to :RequestCallback and add new option :ServerAlias. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use :RequestCallback and warn if :RequestHandler is in server's option. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print error message for WEBrick::HTTPSataus::Error. * lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server): lookup for hostname from :ServerAlias if the req.host is not match to :ServerName. * lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET): use $?.exitstatus and refine log message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (commit_new): use FileUtils.copy_stream for Cygwin.eban2004-03-071-6/+8
| | | | | | | [ruby-dev:23157] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: HTTPHeader keeps its header fields as an array.aamine2004-03-061-43/+136
| | | | | | | | | | * lib/net/http.rb: new method HTTPHeader#add_header, get_fields. * lib/net/http.rb: new method HTTPHeader#content_length=. * lib/net/http.rb: new method HTTPHeader#content_type, main_type, sub_type, type_params, content_type=, set_content_type. * lib/net/http.rb (HTTPHeader#basic_encode): result of pack(m) may contain multiple LFs. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: new method Net::HTTPRequest#body(=).aamine2004-03-061-19/+70
| | | | | | | * lib/net/http.rb: new method Net::HTTPRequest#body_stream(=). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: spin off https code again.aamine2004-03-065-226/+350
| | | | | | | | | | | | | | * lib/net/https.rb: new file. * ext/openssl/lib/net/https.rb: removed. moved to net/https with modifications. * ext/openssl/lib/net/protocol.rb: removed. merged with net/http. * lib/net/protocol.rb: new class BufferedIO. * lib/net/protocol.rb: InternetMessageIO < BufferedIO. * lib/net/protocol.rb: BufferedIO.new takes an IO. * lib/net/smtp.rb: follow InternetMessageIO's change. * lib/net/pop.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e