summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * lib/net/protocol.rb: remove method: InternetMessageIO#address, port, ↵aamine2004-03-061-120/+74
| | | | | | | | | | ip_address, read_timeout(=), socket. * lib/net/protocol.rb: simplify code. * lib/net/protocol.rb: apply latest coding style. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refixed the previous fix in IO#block_scanfdblack2004-03-061-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed a logic glitch in IO#block_scanfdblack2004-03-061-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: net/https is merged.aamine2004-03-051-5/+90
| | | | | | | * ext/openssl/lib/net/https.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: support WebDAV methods, PROPPATCH, LOCK, UNLOCK, OPTIONS, ↵aamine2004-03-051-0/+108
| | | | | | PROPFIND, DELETE, MOVE, COPY, MKCOL. This patch is contributed by Tatsuki Sugiura. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: Net::HTTPResponse#response is obsolete. [ruby-core:02592]aamine2004-03-051-2/+10
| | | | | | | | * lib/net/http.rb: Net::HTTPResponse#header is obsolete. * lib/net/http.rb: Net::HTTPResponse#read_header is obsolete. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (HTTPResponse#to_ary): should return an object which does ↵aamine2004-03-051-1/+5
| | | | | | not respond to #to_ary. It causes infinite loop in puts. [ruby-core:02578] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move RDoc comments for Test::Unitdave2004-03-041-259/+258
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):nobu2004-03-041-1/+2
| | | | | | | detach server processes to get rid of zombies. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: get rid of warnings.nobu2004-03-032-3/+3
| | | | | | | | | | | * lib/rss/taxonomy.rb: ditto. * lib/rdoc/ri/ri_formatter.rb: ditto. * test/ruby/test_assignment.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/ri_display.rb (DefaultDisplay::page): wait until thenobu2004-03-031-18/+7
| | | | | | | pager terminates. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/ri_display.rb (DefaultDisplay::setup_pager): ensurenobu2004-03-031-9/+8
| | | | | | | pager closes and stdout is restored. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($topdir): use compile_dir only when not installed yet.nobu2004-03-031-9/+4
| | | | | | | [ruby-talk:94098] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/converter.rb: handled Uconv::Error.kou2004-03-023-45/+36
| | | | | | | * lib/rss/dublincore.rb: DublincoreModel -> DublinCoreModel git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * soak_up_spaces only ungetc's non-space last characterdblack2004-03-021-3/+7
| | | | | | | | * IO#block_scanf now returns partial last iteration array if format string matches partly git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): erred program name should be reported bynobu2004-03-024-24/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | exceptions, instead of the first argument. * process.c (rb_spawn): ditto. * process.c (proc_spawn_v): use first argument as program name. * win32/win32.c (rb_w32_aspawn): ditto. * win32/win32.c (CreateChild): search executable file if no program name given. * lib/drb/extservm.rb (invoke_service_command): use Process.spawn. [ruby-dev:23103] * lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen. [ruby-dev:23086], [ruby-dev:23103] * lib/rdoc/diagram.rb (convert_to_png): ditto. * lib/rdoc/generators/chm_generator.rb (compile_project): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed Kernel#scanf to propagate code blockdblack2004-03-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Partial fix so STDIN#scanf works with new STDIN#pos behaviordblack2004-03-011-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow aliases to have parenthesesdave2004-03-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Handle :nodoc: om singleton classesdave2004-02-291-12/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test_erb.rbseki2004-02-281-1/+1
| | | | | | | | * lib/erb.rb, test/erb/test_erb.rb: don't forget filename, if both filename and safe_level given. [ruby-dev:23050] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* require drb/eq.rb by defaultseki2004-02-261-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Doug Kearns's doc. patchdave2004-02-262-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:nobu2004-02-254-4/+4
| | | | | | | | | | | warn with caller position. * test/rss/test_content.rb, test/rss/test_dublincore.rb, test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi instead of cgi-lib. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Improve heuristic for which files to include. See ChangeLogdave2004-02-241-4/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Deal with case where first file processed contains a :stopdoc:dave2004-02-241-1/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Handle class vars in code listingsdave2004-02-231-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Handle aliases in C filesdave2004-02-231-0/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Check opdir _before_ parsing filesdave2004-02-231-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix constant value extraction. Escape HTML in constant valuesdave2004-02-232-3/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.nobu2004-02-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment.akira2004-02-221-0/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb (OpenStruct#initialize_copy): should not sharenobu2004-02-201-0/+6
| | | | | | | members. [ruby-dev:22966] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb (IRB::IRB.parse_opts): add -I option tomatz2004-02-203-0/+5
| | | | | | | | | | | | | irb. [ruby-dev:39243] * sprintf.c (rb_f_sprintf): sign bit extension should not be done if FPLUS flag is specified. [ruby-list:39224] * sprintf.c (rb_f_sprintf): do not prepend dots for negative numbers if FZERO is specified. [ruby-dev:39218] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support visibility modifiers for attributesdave2004-02-192-7/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: documentedgsinclair2004-02-191-11/+54
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/mapping/rubytypeFactory.rb: should not dump singleton class.nahi2004-02-191-2/+2
| | | | | | | | [ruby-dev:22588] c = class << Object.new; class C; self; end; end; SOAPMarshal.dump(c) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos (Doug Kearns)dave2004-02-193-3/+29
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi-lib.rb: deprecated after 1.8.1gsinclair2004-02-184-0/+8
| | | | | | | | | * lib/getopts.rb: ditto * lib/importenv.rb: ditto * lib/parsearg.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Strip extraneous spaces from included filenamedave2004-02-181-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove O_NONBLOCK, thanks ayseki2004-02-181-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/rinda.rb: added documentation (from Hugh Sasse)gsinclair2004-02-172-3/+114
| | | | | | | * lib/rinda/tuplespace.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): preserve original val formatz2004-02-171-32/+49
| | | | | | | format_integer. [ruby-talk:92975] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): $extout_prefix doesn't vary for libraries.nobu2004-02-171-3/+2
| | | | | | | | | | | | | | * ext/extmk.rb (extmake): remove compile directory if empty. * ext/extmk.rb (parse_args) lib/mkmf.rb (create_makefile): move initialization of $extout_prefix from lib/mkmf.rb. [ruby-dev:22928] * ext/extmk.rb: clear ext and extout directory when cleaning. * lib/mkmf.rb (CLEANLIBS): should be under $(arch) directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (parse_args): delay expanding $(extout) until invokingnobu2004-02-171-2/+2
| | | | | | | | | | make. * lib/mkmf.rb (CLEANLIBS): should remove files have specific extensions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* should escape dot.nobu2004-02-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rexmlparser.rb: REXML version may be 4 digits.nobu2004-02-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/SHIFT_JIS: wrong library name.nobu2004-02-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Issue11: null context causing indentation crashser2004-02-162-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e