summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove autofoo not available on EL-5ruby-1.9.1-376-11.el5ruby_1_9_1_376-epelJeroen van Meeuwen (OGD)2009-12-311-2/+2
|
* tags branches/ruby_1_9_1@26040 as v1_9_1_376ruby_1_9_1_376yugui2009-12-070-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_376@26041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* increments RUBY_PATCHLEVEL for the previous commit.yugui2009-12-071-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-07svn2009-12-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_justify): CVE-2009-4124.yugui2009-12-072-28/+40
| | | | | | | | | Fixes a bug reported by Emmanouel Kellinis <Emmanouel.Kellinis AT kpmg.co.uk>, KPMG London; Patch by nobu. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/extend-command.rb (IRB::ExtendCommandBundle::def_extend_command):yugui2009-12-053-3/+13
| | | | | | | extension commands with optional parameters have been broken because of a spec change of UnboundMethod#arity. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/extend-command.rb (IRB::ExtendCommandBundle::def_extend_command):yugui2009-12-053-14/+28
| | | | | | | | | | | | | | | gives eval a source location for readability of backtrace. * lib/irb/extend-command.rb (IRB::ContextExtender::def_extend_command): ditto * lib/irb/extend-command.rb (IRB::MethodExtender::def_pre_proc): ditto * lib/irb/extend-command.rb (IRB::MethodExtender::def_post_proc): ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24227 from trunk into ruby_1_9_1.yugui2009-12-053-5/+11
| | | | | | | -- * lib/irb/cmd/help.rb: fixed irb's "help" command. [ruby-core:22310]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24253 from trunk into ruby_1_9_1.yugui2009-12-053-2/+7
| | | | | | | | -- * win32/win32.c (rb_w32_{open,wopen}): fixed typos. these conditions mean to call runtime's open() if textmode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25092 from trunk into ruby_1_9_1.yugui2009-12-055-4/+25
| | | | | | | | | | | -- * win32/win32.c, include/ruby/win32.h (rb_w32_access): new function to replace MSVCRT's access(). [ruby-core:25761] * file.c (eaccess): workaround for recent MSVCRT is no longer needed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25133 from trunk into ruby_1_9_1. c.f. [ruby-dev:39819]yugui2009-12-053-2/+7
| | | | | | | | -- * win32/wini32.c (LK_ERR): with overlapped I/O, LockFileEx() returns ERROR_IO_PENDING if the file is locked. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25883 from trunk into ruby_1_9_1. fixes a backpor task #2168.yugui2009-12-055-16/+38
| | | | | | | | | -- * enc/trans/newline.trans (fun_so_universal_newline): generate \n after \r\n detection instead of just after \r. [ruby-list:45988] [ruby-core:25881] [ruby-core:26788] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25967, r25968 and r25969 from trunk into ruby_1_9_1. fixes a ↵yugui2009-12-054-20/+85
| | | | | | | | | | | | | | | | | backport task #2099. -- * parse.y (dyna_push_gen, dyna_pop_gen): adjust local vtable level for the case of syntax errors in method name or argument inside do block. [ruby-core:26961] -- * parse.y (dyna_push_gen): use rb_node_newnode() for ripper. [ruby-core:26961] -- * parse.y (dyna_push_gen, dyna_pop_gen): no needs to save both of args and vars. [ruby-core:26961] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25405 from trunk into ruby_1_9_1. fixes the backport task #2233.yugui2009-12-054-10/+27
| | | | | | | | -- * parse.y (method_call): dispatch symbols. a patch from Andy Keep in [ruby-core:26169]. [ruby-core:26165] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25404 from trunk into ruby_1_9_1. fixes the backport task #2232.yugui2009-12-054-22/+47
| | | | | | | | -- * parse.y (mlhs_basic): fixed handling splat in middle of mlhs. a patch from Andy Keep in [ruby-core:26163] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25351 from trunk into ruby_1_9_1. fixes the backport task #2214.yugui2009-12-054-18/+18
| | | | | | | | -- * parse.y (rb_intern3): check symbol table overflow. [ruby-core:26092] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25300 from trunk into ruby_1_9_1.yugui2009-12-053-3/+8
| | | | | | | | -- * ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justin Collins in [ruby-core:26050]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24620 from trunk into ruby_1_9_1. fixes the backport task #1976.yugui2009-12-053-3/+10
| | | | | | | | -- * lib/mkmf.rb (rm_f, rm_rf): pass the last hash through if exists. [ruby-dev:39153] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25402 from trunk into ruby_1_9_1. fixes the backport task #1921.yugui2009-12-056-27/+75
| | | | | | | | -- * parse.y (parser_here_document): dispatch delayed heredoc contents. based on a patch from Andy Keep in [ruby-core:24855]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21903 from trunk into ruby_1_9_1. fixes the backport task #1063.yugui2009-12-053-3/+23
| | | | | | | | -- * win32/win32.c (rb_w32_write): limit write size to 32KB if the file seems to be console. [ruby-core:21613] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25209 from trunk into ruby_1_9_1.yugui2009-12-054-4/+19
| | | | | | | | -- * parse.y (bv_decls, bvar): fix for block variables. [ruby-dev:39423] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25193 from trunk into ruby_1_9_1.yugui2009-12-054-449/+60
| | | | | | | | | | | -- * test/ripper/dummyparser.rb (DummyParser): improvement by Magnus Holm in [ruby-core:25884]. * remove scanner events which simply returned the first argument. * all parser events are now automatically generated. * simplify blocks. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25187 from trunk into ruby_1_9_1.yugui2009-12-055-175/+333
| | | | | | | | | | | | | | | | -- * parse.y (ripper_yylval_id, ripper_get_{id,value}): wrap ID by NODE to track local variable assignment. * parse.y (lvar_defined_gen, assignable_gen): enable local variable check. [ruby-core:24923] * parse.y (validate): use value only. * test/ripper/test_parser_events.rb (test_local_variables): tests based on a patch from Magnus Holm in [ruby-core:25885]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25180 from trunk into ruby_1_9_1.yugui2009-12-053-2/+8
| | | | | | | | -- * thread.c (ruby_suppress_tracing): get rid of clobbering by longjmp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25353 and r25362 from trunk into ruby_1_9_1.yugui2009-12-053-14/+41
| | | | | | | | | | | | | | | | -- * lib/csv.rb (CSV#read_to_char): set encoding and verify data which read from io before encode it to @encoding. * lib/csv.rb (CSV#raw_encoding): add to get @io's encoding. * lib/csv.rb (CSV#read_io): add to read string and set @io's encoding. -- * lib/csv.rb (CSV#raw_encoding): returns ASCII-8BIT when the io doesn't have encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25134 from trunk into ruby_1_9_1.yugui2009-11-273-2/+6
| | | | | | | -- * dln.c (aix_loaderror): needs format string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25127 from trunk into ruby_1_9_1.yugui2009-11-274-5/+13
| | | | | | | | -- * stringio/stringio.c (strio_read): set ASCII-8BIT encoding when length argument is given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25122 from trunk into ruby_1_9_1.yugui2009-11-274-189/+214
| | | | | | | | -- * lib/pp.rb (PP:ObjectMixin#pretty_print): delegates has no inspect method. [ruby-core:25804] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25095 from trunk into ruby_1_9_1.yugui2009-11-273-3/+8
| | | | | | | | -- * iseq.c (compile_string): rename to parse_string(), because this function only parse String to NODE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25067 from trunk into ruby_1_9_1 and added a test for it.yugui2009-11-277-7/+25
| | | | | | | | | | -- * lib/mathn.rb (Bignum#**): Fixed bignum**fixnum that was broken when requiring lib/mathn [ruby-core:25740] -- * test/test_mathn.rb (TestMathn): new test case. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25041 from trunk into ruby_1_9_1.yugui2009-11-272-2/+2
| | | | | | | -- * eval.c (rb_mod_define_method): Doc fix (accepts UnboundMethod too) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25029 from trunk into ruby_1_9_1.yugui2009-11-274-1/+12
| | | | | | | | -- * ext/bigdecimal/lib/bigdecimal/{ludcmp,math}.rb: depend on bigdecimal. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25023 from trunk into ruby_1_9_1.yugui2009-11-272-3/+3
| | | | | | | -- * tool/instruction.rb (make_insn_operand_optimized): fixed typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25017 from trunk into ruby_1_9_1 and a test for it.yugui2009-11-274-1/+30
| | | | | | | | | -- * ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if frozen (or untrusted for $SECURE >= 4) [ruby-core:18377] -- * test/openssl/test_config.rb (OpenSSL::TestConfig): new test case. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25012 from trunk into ruby_1_9_1.yugui2009-11-272-34/+34
| | | | | | | -- * lib/cgi/cookie.rb: fixed indent. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25010 from trunk into ruby_1_9_1 and adds tests for it.yugui2009-11-276-32/+128
| | | | | | | | | | | | | | | -- * struct.c (rb_struct_equal, rb_struct_eql): Handle comparison of recursive structures [ruby-core:24759] * range.c (range_eq, range_eql): ditto for ranges -- test for r25010 * test/ruby/test_struct.rb (TestStruct#test_comparison_when_recursive): new test. * test/ruby/test_range.rb (TestRange#test_comparison_when_recursive): new test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r25001 from trunk into ruby_1_9_1.yugui2009-11-274-5/+20
| | | | | | | | -- * marshal.c (r_object0): entry regexp object before its encoding name. [ruby-core:25625] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24544 from trunk into ruby_1_9_1.yugui2009-11-275-13/+81
| | | | | | | | | | | | | | | | | | | | | | | -- \d, \s and \w are now non Unicode class. [ruby-dev:39026] * include/ruby/oniguruma.h (ONIGENC_CTYPE_SPECIAL_MASK): added. (ONIGENC_CTYPE_D): ditto. (ONIGENC_CTYPE_S): ditto. (ONIGENC_CTYPE_W): ditto. * regparse.c: \d, \s and \w are now non Unicode class. [ruby-dev:39026] (fetch_token_in_cc): use ONIGENC_CTYPE_[DSW] for \d/\s/\w. (fetch_token): ditto. (add_ctype_to_cc): add routines for ONIGENC_CTYPE_[DSW]. (parse_exp): ditto. * test/ruby/test_regexp.rb (TestRegexp#test_char_class): add tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24761 and r24999 from trunk into ruby_1_9_1.yugui2009-11-276-18/+74
| | | | | | | | | | | -- * compile.c (iseq_compile_each): op_asgn to aref should return rhs. [ruby-core:25387] -- * compile.c (iseq_compile_each), parse.y (stmt, arg): arg_concat() on op_asgn was inversed. [ruby-core:25629] [Bug #2050] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24993 from trunk into ruby_1_9_1.yugui2009-11-272-56/+76
| | | | | | | -- * test/fileutils/test_fileutils.rb: fixed indent by splitting methods. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22308 from trunk into ruby_1_9_1.yugui2009-11-274-8/+36
| | | | | | | | | | | -- * hash.c (rb_hash): always return a fixnum value because a return value of rb_hash may be used as a hash value itself and bignums have no unique VALUE. * test/ruby/test_hash.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (parse_char_class): fixes a wrong merge r25531.yugui2009-11-173-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_case_dispatch): need cast.usa2009-11-173-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (READDIR): this branch doesn't have rb_w32_readdir_with_enc().usa2009-11-173-3/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-17svn2009-11-171-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24984 and r24987 from trunk into ruby_1_9_1.yugui2009-11-174-3/+17
| | | | | | | | | | -- * lib/mkmf.rb (rm_f, rm_rf): FileUtils.rm can take an array. [ruby-dev:39345] -- * test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-13svn2009-11-121-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24482, r25061, r25124, r25126, r25552 from trunk into ruby_1_9_1.kanemoto2009-11-125-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | These patches are for AIX compilation issues. This commit is allowed by branch master (yugui). Thanks! * ext/socket/extconf.rb : Compilation failure on AIX. ss_len (a member of struct sockaddr_storage) has preceding __, but ss_family does not have it from AIX 5.2. * Makefile.in (miniruby): suppress duplication warning on AIX. * common.mk (ruby.imp): add text section [Bug #2064]. * common.mk (ruby.imp): do not export Init_*. * dln.c (aix_loaderror): fixed typo. suppress warnings. * common.mk (ruby.imp): excluded prelude.o to get rid of circular dependency. [ruby-dev:39052] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24969 from trunk into ruby_1_9_1, and adds a test for the fix.yugui2009-11-103-3/+107
| | | | | | | | | -- * lib/matrix.rb (Matrix#rank): Two bug fixes. One made Matrix[[0,0],[0,0],[1,0]].rank raise a NoMethodError while the other one had Matrix[[0,1],[0,0],[1,0]].rank raise a TypeError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-11svn2009-11-101-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e