summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/openssl/ossl_ssl.c (ossl_ssl_read): should check for errorgotoyuzo2003-12-242-12/+38
| | | | | | | | | status by SSL_get_error(). * ext/openssl/ossl_ssl.c (ossl_ssl_write): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_read): clear the buffer argumentnobu2003-12-243-0/+30
| | | | | | | | | | when returning nil. [ruby-dev:22363] * test/ruby/ut_eof.rb (TestEOF::test_eof_0, TestEOF::test_eof_1): add buffer argument tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: Modules are allowed to rescue.nobu2003-12-246-31/+68
| | | | | | | | | | | | | * lib/test/unit/autorunner.rb: show output_level in order. * lib/test/unit/collector/dir.rb: get rid of successive same directories in load path. * test/testunit/test_assertions.rb (test_assert_nothing_raised, test_assert_raise): test for modules. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST:eban2003-12-241-7/+7
| | | | | | | | | | Added file: ruby/lib/rdoc/generators/template/html/old_html.rb Removed file: ruby/lib/rdoc/generators/template/html/css2.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (authenticate): remove "\n" from base64 encodedshugo2003-12-242-1/+6
| | | | | | | strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Michael Granger added RDoc for range.cdave2003-12-241-0/+184
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forgot to save buffer.... sighdave2003-12-2414-1309/+1720
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: should not create anynobu2003-12-242-1/+18
| | | | | | | files or directories in current directory. [ruby-talk:88724] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_read): never return nil atnobu2003-12-242-4/+30
| | | | | | | | | | unlimited read. [ruby-dev:22334] * ext/stringio/stringio.c (strio_read): support second argument. [ruby-dev:22350] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-24usa2003-12-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): should return 0 after error. [ruby-dev:22360]nobu2003-12-242-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix doc typosdave2003-12-231-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): do not return nil at the end of file.matz2003-12-235-50/+69
| | | | | | | | | | | | | | | | | | | | | | | [ruby-dev:22334] * io.c (argf_read): do not depend on nil at eof behavior of IO#read(). * eval.c (rb_thread_join): dup exception before re-raising it. * io.c (rb_io_eof): call clearerr() to prevent side effect. this patch is supplied by Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>. [ruby-dev:22234] * pack.c (OFF16): get offset for big endian machines. * pack.c (pack_pack): use OFF16 instead of OFF16B. [ruby-dev:22344] * pack.c (pack_unpack): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc comments for Fixnum, Float, and Hash. Add heuristic to RDoc to handle ↵dave2003-12-233-1/+1174
| | | | | | yaml/stringio git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: incomplete RDoc documentation added in place ofgsinclair2003-12-232-307/+411
| | | | | | | existing RD comments. Tabs converted to spaces. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-23eban2003-12-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/test_streamhandler.rb (test_basic_auth): removed.nahi2003-12-232-10/+9
| | | | | | | | soap4r + basic_auth is not officially supported in ruby/1.8.1 even though soap4r + basic_auth + http-access2 should run fine. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ungetc): raise an exception at unread stream tonobu2003-12-233-10/+15
| | | | | | | | | | avoid unspecified behavior. [ruby-dev:22330] * test/ruby/test_system.rb (test_syntax): glob relatively from __FILE__. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit miss?usa2003-12-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): remove unnecessary negative value check.matz2003-12-235-12/+18
| | | | | | | | | | [ruby-dev:22329] * io.c (rb_io_ungetc): need fflush before ungetc if write buffer is filled. [ruby-dev:22330] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]usa2003-12-232-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]nahi2003-12-234-3/+18
| | | | | | | | | | * test/ruby/test_system.rb: num of asserts depended on running dir. * test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot handle euc-jp. install iconv, uconv or xmlscan. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::check_userinfo,akira2003-12-233-9/+37
| | | | | | | | | | | URI::Generic::check_user, URI::Generic::check_password): tests conflicts/depends with other components closely. * test/uri/test_generic.rb (TestGeneric::test_set_component): added tets. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.nahi2003-12-232-1/+12
| | | | | | | | "euc-jp" might not be in supported encoding name list. [ruby-talk:88650] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (CGI): add support for mod_ruby.gotoyuzo2003-12-224-36/+102
| | | | | | | | | | | | | | | | | * lib/webrick/cgi.rb (CGI::Socket): add check for existence of OpenSSL module in all HTTPS related methods. * lib/webrick/cgi.rb (CGI::Socket#cipher): should create similar value to OpenSSL::SSLSocket#cipher. * lib/webrick/httpresponse.rb (HTTPResponse#setup_header): should set "connection: close" if @keep_alive is false. * lib/webrick/https.rb (HTTPrequest#meta_vars): add supprt for SSL_PROTOCOL, SSL_CIPHER_USEKEYSIZE and SSL_CIPHER_ALGKEYSIZE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.akira2003-12-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (map_charset): always ensure code is a String.nobu2003-12-222-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_mod_init_copy): always copy singleton class.nobu2003-12-223-1/+10
| | | | | | | [ruby-dev:22325] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic#route_from): accepts urls whichakira2003-12-223-1/+11
| | | | | | | | | has no host-part. * test/uri/test_generic.rb (TestGeneric::test_route): added a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb: reduce eval.nobu2003-12-222-68/+49
| | | | | | | | * lib/cgi.rb (CGI::QueryExtension::read_multipart): alias path to local_path. [ruby-list:38883] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/test_property.rb: remove duplicated test method.nahi2003-12-222-7/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_with_disable_interrupt): use ENABLE_INTS instead ofmatz2003-12-223-10/+17
| | | | | | | ALLOW_INTS which may switch context. [ruby-dev:22319] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub (config.h): removeusa2003-12-223-2/+6
| | | | | | | | HAVE_ISINF definition to follow previous commits of missing.h and win32/win32.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_setitimer): moved from defines.hnobu2003-12-2211-22/+43
| | | | | | | | | | | | | | | | | * defines.h, rubysig.h, signal.c: removed macro handling which should be done in configure. * configure.in (intrinsics.h): check if present. * ruby.h: include intrinsics.h if available. * bignum.c, marshal.c: include ieeefp.h if available. * missing.h (isinf): define as a macro if finite() and isnan() are available. [ruby-core:02032] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw): set isnan, finite and isinf to yes.eban2003-12-222-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add RDoc commentsdave2003-12-221-0/+150
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-22eban2003-12-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/property.rb: passing block by reference.nahi2003-12-222-12/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emitter_write): str bigger thanmatz2003-12-213-3/+17
| | | | | | | e->bufsize causes buffer overflow. [ruby-dev:22307] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/isinf.c (isinf): typo fix.eban2003-12-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-12-21eban2003-12-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_check_inheritable): new function. [ruby-dev:22316]nobu2003-12-215-7/+28
| | | | | | | | | | | * intern.h: add prototype. * eval.c (superclass): use rb_check_inheritable(). * object.c (rb_class_initialize): check argument validity. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/pathname.rb (Pathname#+): re-implemented to resolve ".." inakr2003-12-212-27/+68
| | | | | | | | | beginning of the argument. (Pathname#join): concatenate from the last argument. (Pathname#parent): just use Pathname#+. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add file.c comments (and necessary support in parse_c.rb)dave2003-12-219-67/+1564
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dln.c: remove last second typo.matz2003-12-204-16/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_with_disable_interrupt): prohibit thread contextmatz2003-12-208-35/+53
| | | | | | | switch during proc execution. [ruby-dev:21899] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * forgot to add a changelog entrynagai2003-12-201-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)nagai2003-12-202-0/+78
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): refine regexp.gotoyuzo2003-12-203-13/+22
| | | | | | | | | | * lib/webrick/cgi.rb (CGI#start): NPH scripts return status line instead of Status: header field. * lib/webrick/cgi.rb (CGI::Socket): refine some coditions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Completion::complete): wrongnobu2003-12-202-2/+10
| | | | | | | | | | Regexp for word boundary. pointed out by Gavin Sinclair. * lib/optparse.rb (OptionParser::make_switch): [no-] prefix was missing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e