summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * ext/socket/socket.c: document update patch from Sam Robertsmatz2006-04-211-0/+5
| | | | | | | <sroberts at uniserve.com>. [ruby-core:07701] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): too much NEW_LIST()matz2006-04-191-0/+6
| | | | | | | * eval.c (SETUP_ARGS0): remove unnecessary access to nd_alen. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): use ARGSCAT for NODE_OP_ASGN1.matz2006-04-191-0/+19
| | | | | | | | | | | | | | | | | [ruby-dev:28585] * parse.y (list_concat): revert last change. * parse.y (arg): use NODE_ARGSCAT for placeholder. * lib/getoptlong.rb (GetoptLong::get): RDoc update patch from mathew <meta at pobox.com>. [ruby-core:07738] * variable.c (rb_const_set): raise error when no target klass is supplied. [ruby-dev:28582] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (list_concat): should not modify nodes other thanmatz2006-04-191-0/+5
| | | | | | | NODE_ARRAY. [ruby-dev:28583] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: add a binding to a container for a slave IP.nagai2006-04-181-0/+10
| | | | | | | | | * ext/tk/lib/tk.rb: update RELEASE_DATE. * ext/tk/tcltklib.c: forget to reset a Tcl interpreter. * ext/tk/stubs.c: fix potential bugs about handling rb_argv0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: block_unique should be 1, not frame_unique.matz2006-04-171-0/+5
| | | | | | | [ruby-dev:28577] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * prec.c (prec_prec_f): documentation patch frommatz2006-04-091-0/+18
| | | | | | | | | | | | | | <gerardo.santana at gmail.com>. [ruby-core:07689] * bignum.c (rb_big_pow): second operand may be too big even if it's a Fixnum. [ruby-talk:187984] * README.EXT: update symbol description. [ruby-talk:188104] * COPYING: explicitly note GPLv2. [ruby-talk:187922] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/panedwindow.rb: lack of arguments. [ruby-core:7681]nagai2006-04-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: fix SEGV when embedding to an application.nagai2006-04-051-0/+19
| | | | | | | | | | | | | | | [ruby-core:7600] * ext/tk/tcltklib.c: fix SEGV at exit. [ruby-talk:186489] * ext/tk/tkutil/tkutil.c: follow to changing specification of instance_eval on ruby-1.9.x. * ext/tk/lib/tk.rb: ditto. * ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/tk.rb: remove warning about redefinition of methods. * ext/tk/lib/tk/variable.rb: remove warning about unseting Tcl variables. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* WIN32OLE#[] should accept multi argments.suke2006-03-291-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c (nkf_each_char_to_hex, encode_fallback_subchar,usa2006-03-291-0/+5
| | | | | | | e2w_conv): support C90 compiler. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (backtrace): reports aliased method names in a generatedmatz2006-03-281-0/+19
| | | | | | | | | | | | | | | | | backtrace. a patch from "U.Nakamura" <usa at garbagecollect.jp>. [ruby-dev:28471] * eval.c (rb_call0): insecure calling should be checked for non NODE_SCOPE method invocations too. * eval.c (rb_alias): should preserve the current safe level as well as method definition. * eval.c (yield_under_i): pass self again for instance_eval(). [ruby-dev:28466] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c, config.h}: imported nkf 2.0.6.naruse2006-03-271-0/+13
| | | | | | | | | | | | | | | * Add --ic / --oc option and mapping tables. * Add fallback option. * Add --no-best-fit-chars option. * Fix some bugs. * ext/nkf/nkf.c (nkf_split_options): added for parse option string. * ext/nkf/lib/kconv.rb (Kconv.to*): add -m0. Note that Kconv.to* still imply -X. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_sleep): remove description about SIGALRM whichmatz2006-03-241-0/+5
| | | | | | | is not valid on the current implementation. [ruby-dev:28464] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (method_missing): should support argument splat inmatz2006-03-231-0/+5
| | | | | | | super. [ruby-talk:185438] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Solaris SunPro compiler -rapth patch frommatz2006-03-201-0/+5
| | | | | | | <kuwa at labs.fujitsu.com>. [ruby-dev:28443] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove enable_rpath=no for Solaris.matz2006-03-201-0/+5
| | | | | | | [ruby-dev:28440] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: fix typo.gotoyuzo2006-03-171-0/+5
| | | | | | | [ruby-core:07571] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): support libraries without *.so.usa2006-03-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e