summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * eval.c (rb_call0): binding for the return event hook should havematz2006-06-071-0/+9
| | | | | | | | | | | consistent scope. [ruby-core:07928] * eval.c (EXEC_EVENT_HOOK): trace_func may remove itself from event_hooks. no guarantee for arbitrary hook deletion. [ruby-dev:28632] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_unpack_sockaddr_in): rejectakr2006-06-051-0/+7
| | | | | | | | | non-AF_INET/AF_INET6 sockaddr. (sock_s_unpack_sockaddr_un): reject non-AF_UNIX sockaddr. [ruby-dev:28691] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2006-06-041-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: fix sockaddr_un handling.akr2006-06-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/forwardable.rb: RDoc typo fix from Jan Svitokmatz2006-06-021-0/+5
| | | | | | | <jan.svitok at gmail.com>. [ruby-core:07943] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: use create_header.gotoyuzo2006-06-021-0/+7
| | | | | | | | * ext/openssl/ossl.h, ext/openssl/openssl_missing.h: include RUBY_EXTCONF_H. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (CLEANINGS): remove extconf.h by distclean if created.nobu2006-06-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (s_recvfrom): alen may be zero with UNIXSocketakr2006-06-011-0/+13
| | | | | | | | | | | | | | | too. (tested on NetBSD 3.0) (s_recvfrom_nonblock): extracted from sock_recvfrom_nonblock. (sock_recvfrom_nonblock): use s_recvfrom_nonblock. (ip_recvfrom_nonblock): new method: IPSocket#recvfrom_nonblock (unix_recvfrom_nonblock): new method: UNIXSocket#recvfrom_nonblock (s_accept_nonblock): extracted from sock_accept_nonblock. (sock_accept_nonblock): use s_accept_nonblock. (tcp_accept_nonblock): new method: TCPServer#accept_nonblock (unix_accept_nonblock): new method: UNIXServer#accept_nonblock git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotesnobu2006-06-011-0/+5
| | | | | | | no longer has special meanings. fixed: [ruby-list:42311] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not successusa2006-06-011-0/+6
| | | | | | | | if the length of the cwd is longer than MAX_PATH. fixed [ruby-list:42335] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getcwd): set errno if not set.usa2006-06-011-0/+5
| | | | | | | fixed [ruby-list:42346] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): remove extinit files if no statically linkednobu2006-05-271-0/+5
| | | | | | | extensions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): add $defs unless extconf.h was created.nobu2006-05-261-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h, lib/mkmf.rb (create_header): clear command line options fornobu2006-05-251-0/+13
| | | | | | | | | | | | | | | macros moved to extconf.h. * ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and EXTSTATIC permanent. * ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS. * {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added $(INCFLAGS). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: merge multiple entries to an entry with multiple lines.nobu2006-05-241-1/+9
| | | | | | | | | | | * lib/mkmf.rb: allow a series of commands to link. * win32/Makefile.sub: embed manifests. * win32/setup.mak: suffix OS name by runtime version. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: deal with $static set in extconf.rb.nobu2006-05-241-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (pkg_config): particular config commands support.nobu2006-05-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_install_sh): ignore dummy install-sh.nobu2006-05-241-0/+5
| | | | | | | [ruby-talk:193876] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rbgotoyuzo2006-05-231-0/+5
| | | | | | | (OpenSSL::SSL::SocketForwarder#setsockopt,getsockopt): typo fixed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_recvfrom_nonblock): use rb_read_pendingakr2006-05-221-0/+6
| | | | | | | | instead of rb_io_read_pending. [ruby-dev:28663] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubyio.h (rb_io_set_nonblock): declared.akr2006-05-221-0/+16
| | | | | | | | | | | | | | | | | * io.c (rb_io_set_nonblock): new function. (io_getpartial): nonblocking read support. (io_read_nonblock): new method: IO#read_nonblock. (io_write_nonblock): new method: IO#write_nonblock. * ext/socket/socket.c (sock_connect_nonblock): new method: Socket#connect_nonblock. (sock_accept_nonblock): new method: Socket#accept_nonblock. (sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock. [ruby-core:7917] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (umethod_bind): should not update original class.matz2006-05-221-0/+5
| | | | | | | [ruby-dev:28636] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ev_const_get): should support constant access frommatz2006-05-221-0/+5
| | | | | | | within instance_eval(). [ruby-dev:28327] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_timeval): should round for usec floatingmatz2006-05-181-0/+7
| | | | | | | | | number. [ruby-core:07896] * time.c (time_add): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::out): support utf-8. a patch from Fujiokamatz2006-05-181-0/+5
| | | | | | | <fuj@rabbix.jp>. [ruby-dev:28649] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.nobu2006-05-171-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (sys_warning): should not call a vararg functionmatz2006-05-171-0/+5
| | | | | | | rb_sys_warning() indirectly. [ruby-core:07886] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): try to reduce errors using powersOf10matz2006-05-161-0/+5
| | | | | | | table. [ruby-dev:28644] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): should not allow modifying literalmatz2006-05-161-0/+5
| | | | | | | regexps. frozen check moved from rb_reg_initialize_m as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_close): should not close untainted dir stream.matz2006-05-161-0/+4
| | | | | | | * dir.c (GetDIR): add tainted/frozen check for each dir operation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): should not modify untainted objects inmatz2006-05-161-0/+7
| | | | | | | | | safe levels higher than 3. * re.c (rb_memcmp): type change from char* to const void*. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_symbol_arg):matz2006-05-151-0/+5
| | | | | | | typo fixed. a patch from Florian Gross <florg at florg.net>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2006-05-131-0/+1
| | | | | | | [ruby-core:7865] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP.mcall): new method.akr2006-05-131-0/+7
| | | | | | | | | (Struct#pretty_print): call Kernel#class and Struct#members even if overriden. (Struct#pretty_print_cycle): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): differ addition to minimize error.matz2006-05-111-0/+5
| | | | | | | [ruby-dev:28619] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): should not raise ERANGE when the inputmatz2006-05-111-0/+5
| | | | | | | string does not have any digits. [ruby-dev:28629] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP#initialize):akr2006-05-071-0/+5
| | | | | | | | Use AF_INET6 for nameservers containing colons. patch by Stephan Maka. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (trap): sig should be less then NSIG. Coverity foundmatz2006-05-051-0/+6
| | | | | | | | this bug. a patch from Kevin Tew <tewk at tewk.com>. [ruby-core:07823] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to freematz2006-05-031-0/+4
| | | | | | | | type_tag. a patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07808] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_scan_scalar): avoid accessingmatz2006-05-031-0/+9
| | | | | | | | | | | uninitialized array element. a patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07809] * array.c (rb_ary_fill): initialize local variables first. a patch from Pat Eyler <rubypate at gmail.com>. [ruby-core:07810] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (make_hostent_internal): accept ai_familymatz2006-05-021-0/+6
| | | | | | | | check from Sam Roberts <sroberts at uniserve.com>. [ruby-core:07691] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_div): use floor rather than rb_Integer().matz2006-05-011-0/+12
| | | | | | | | | | | | | | [ruby-dev:28589] * numeric.c (flo_divmod): the first element of Float#divmod should be an integer. [ruby-dev:28589] * test/ruby/test_float.rb: add tests for divmod, div, modulo and remainder. * util.c (ruby_strtod): fixed wrong conversion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initializegotoyuzo2006-04-291-0/+5
| | | | | | | flag. [ruby-core:07785] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): should not cut off 18 digits for nomatz2006-04-281-0/+5
| | | | | | | reason. [ruby-core:07796] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_fill): internalize local variable "beg" tomatz2006-04-261-0/+5
| | | | | | | pacify Coverity. [ruby-core:07770] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): now supports CRLF newlines. a patch frommatz2006-04-261-0/+5
| | | | | | | <tommy at tmtm.org>. [ruby-dev:28601] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (delete_slaves): maybe increment the referencenagai2006-04-251-0/+5
| | | | | | | count of a NULL Tcl_Obj [ruby-core:07759]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/jcode.rb (String::tr_s): should have translated nonmatz2006-04-241-0/+6
| | | | | | | | squeezing character sequence (i.e. a character) as well. thanks to Hiroshi Ichikawa <gimite at gimite.ddo.jp> [ruby-list:42090] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_compile_pattern): should check if c is not amatz2006-04-241-0/+6
| | | | | | | | multibyte chracter. a patch from KIMURA Koichi <kimura.koichi at canon.co.jp>. [ruby-dev:28598] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (lib_eventloop_ensure): refer freed pointernagai2006-04-211-0/+5
| | | | | | | [ruby-core:07744] and memory leak. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e