summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/fileutils/test_fileutils.rb: should not create anynobu2003-12-241-0/+5
| | | | | | | 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-241-0/+8
| | | | | | | | | | 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
* * parse.y (arg): should return 0 after error. [ruby-dev:22360]nobu2003-12-241-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): do not return nil at the end of file.matz2003-12-231-3/+29
| | | | | | | | | | | | | | | | | | | | | | | [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
* * lib/optparse.rb: incomplete RDoc documentation added in place ofgsinclair2003-12-231-0/+5
| | | | | | | existing RD comments. Tabs converted to spaces. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/test_streamhandler.rb (test_basic_auth): removed.nahi2003-12-231-0/+6
| | | | | | | | 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-231-1/+9
| | | | | | | | | | 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
* * pack.c (pack_pack): remove unnecessary negative value check.matz2003-12-231-0/+8
| | | | | | | | | | [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-231-0/+4
| | | | 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-231-0/+9
| | | | | | | | | | * 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-231-0/+9
| | | | | | | | | | | 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-231-0/+6
| | | | | | | | "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-221-0/+16
| | | | | | | | | | | | | | | | | * 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-221-0/+4
| | | | 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-221-0/+4
| | | | 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-221-1/+6
| | | | | | | [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-221-0/+7
| | | | | | | | | 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-221-0/+7
| | | | | | | | * 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-221-0/+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-221-0/+3
| | | | | | | 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-221-0/+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-221-0/+16
| | | | | | | | | | | | | | | | | * 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-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/property.rb: passing block by reference.nahi2003-12-221-0/+4
| | | | 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-211-0/+5
| | | | | | | 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
* * class.c (rb_check_inheritable): new function. [ruby-dev:22316]nobu2003-12-211-0/+10
| | | | | | | | | | | * 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-211-0/+7
| | | | | | | | | 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
* dln.c: remove last second typo.matz2003-12-201-3/+0
| | | | 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-201-0/+5
| | | | | | | 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
* * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): refine regexp.gotoyuzo2003-12-201-1/+10
| | | | | | | | | | * 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-201-0/+8
| | | | | | | | | | 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
* * lib/yaml.rb (YAML::YAML): adjust Marshal version.nobu2003-12-201-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb: add file. (yet another CGI library)gotoyuzo2003-12-191-0/+6
| | | | | | | * MANIFEST: add lib/webrick/cgi.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-calculate-indent): proper indentationmatz2003-12-191-0/+8
| | | | | | | | | | inside of parentheses. [ruby-dev:22308] * hash.c (delete_if_i): do not use ST_DELETE for thread safety. [ruby-dev:21899] (not fully solved) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (meta_vers): should not setgotoyuzo2003-12-191-0/+8
| | | | | | | | | | HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH. * lib/webrick/https.rb (HTTPRequest#parse): should check presence of cert() method to detect SSLSocket. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/property.rb (SOAP::Property#load): new method for loadingnahi2003-12-191-0/+7
| | | | | | | | | property value into existing property tree. * test/soap/test_property.rb: add test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/runit/cui/testrunner.rb (RUNIT::CUI::TestRunner::run):akira2003-12-191-0/+5
| | | | | | | should use Test::Unit::UI::{PROGRESS_ONLY,VERBOSE}. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkmultilistbox.rb: bug fixnagai2003-12-191-0/+6
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: new sample script git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httputils.rb (parse_form_data): should return angotoyuzo2003-12-181-0/+5
| | | | | | | empty Hash if the body is empty. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (stack_extend): ignore inline optimization on VC7.usa2003-12-181-0/+14
| | | | | | | | | | | | | * win32/Makefile.sub (OS, RT): can override. * win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none option. based on Tietew's patch [ruby-dev:22289] * lib/mkmf.rb (create_makefile): should remove deffile if it's made by miniruby. based on nobu's patch. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (fnmatch): unlike find_dirsep(), rb_path_next() nevernobu2003-12-181-1/+6
| | | | | | | return NULL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (IPSocket::getaddress): merge usa's patch.eban2003-12-181-0/+5
| | | | | | | [ruby-dev:21678] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::Value::[]): should work likematz2003-12-171-0/+18
| | | | | | | | | | | | | | | | | | | | String#[] if more than one arguments are specified. * lib/delegate.rb: avoid using common instance name as "@obj". * lib/cgi.rb (CGI::QueryExtension::Value): Value is no longer subclass of String, but DelegateClass(String). * ext/curses/extconf.rb: restore function check for init_color. [ruby-list:38905] * Makefile.in: need to specify $(MAINLIBS) for the miniruby generation rule. * configure.in: better FreeBSD -lc_r support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* introduce some new methodsaamine2003-12-161-0/+15
| | | | | | | | | | | * ext/strscan/strscan.c: new method StringScanner#beginning_of_line? (alias #bol?) * ext/strscan/strscan.c: new method StringScanner#concat and #<<. * ext/strscan/strscan.c: StringScanner#new(str) does not duplicate nor freeze STR (allow destructive modification). * test/strscan/test_stringscanner.rb: test new methods above. * test/strscan/test_stringscanner.rb: test destructive string modification. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: don't use local variable `pp'.akr2003-12-161-0/+6
| | | | | | | * lib/prettyprint.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * condition bug of if statement on {pack,grid}_propagate methodsnagai2003-12-161-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: comments in strings. [ruby-talk:88012]why2003-12-151-0/+6
| | | | | | | * test/yaml/test_yaml.rb: add test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (catch_timer): check rb_thread_crtical in main nativenobu2003-12-151-0/+9
| | | | | | | | | | | thread. * eval.c (thread_timer): just sends signals periodically, to prevent main native thread from receiving them in critical section. [ruby-core:01959] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c: renamed and externalized rb_path_next,nobu2003-12-151-3/+3
| | | | | | | rb_path_skip_prefix, rb_path_last_separator, rb_path_end. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e