aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * enum.c (enum_each_entry): new method #each_entry to pack valuesmatz2010-02-024-15/+80
| | | | | | | | | | | | | | from yield into an array. * lib/set.rb (Set#merge): use Enumerable#each_entry to implement Set compatible to 1.8 behavior. [ruby-core:27985] * lib/set.rb: replace is_a?(Enumerable) with respond_to?(:each) for duck typing. * lib/set.rb (SortedSet#add): typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator#marshal_dump): excludenobu2010-02-023-4/+9
| | | | | | | delegator-specific instance variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (Vector#each2): returns a self. [ruby-dev:40241]mame2010-02-012-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_minus): RDoc update. a patch from red stunmatz2010-02-012-1/+6
| | | | | | in [ruby-core:27951] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-01svn2010-01-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil/tkutil.c: fix SEGV on TkUtil::CallbackSubst._setup_subst_table.nagai2010-01-315-16/+51
| | | | | | | | | | | * ext/tk/lib/tk.rb: [ruby1.9] fix freeze at exit. * ext/tk/lib/tk.rb: [POTENTIAL INCOMPATIBLE] return NoMethodError for TkWindow#to_ary and to_str. * ext/tk/lib/tkextlib/tcllib/plotchart.rb: wrong arguments. * ext/tk/sampel/tkballoonhelp.rb: fail to support TkEntry widgets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_each_codepoint): use cbuf when needs readconv.wanabe2010-01-312-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir.rb: use string instead of symbol as file name.mame2010-01-312-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fix the previous previous commit.mame2010-01-311-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_string_value): fix the previous commit.mame2010-01-311-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_string_value): make no exception for Symbol.mame2010-01-312-7/+6
| | | | | | [ruby-dev:40274] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_throw): fixed infinite loop. [ruby-core:27969]mame2010-01-313-5/+17
| | | | | | (re-commit of r26522 since forgot to add a change, sorry) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/text.rb (REXML::Text#initialize): do Text.check only whenmame2010-01-312-1/+7
| | | | | | | parent is specified, since Text.check may need doctype. partially revert r26518. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_throw): fixed infinite loop. [ruby-core:27969]mame2010-01-311-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2010-01-311-16/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2010-01-311-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2010-01-311-1/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/text.rb (REXML::Text#initialize): fix typo and a bug thatmame2010-01-312-3/+8
| | | | | | seems to be caused by refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parent.rb (REXML::Parent#delete): return the deleted nodemame2010-01-312-1/+8
| | | | | | | because the rdoc of REXML::Element#delete_element says it returns "the element that was removed." git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * A bug fix for deleting blank Table rows from Andy Hartford.jeg22010-01-313-4/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (obj_free): free rb_classext_t of eigenclass. [Bug #1392]wanabe2010-01-312-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-31svn2010-01-311-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/document.rb (REXML::Document#add): fix duplicate XMLDeclsmame2010-01-312-8/+16
| | | | | | | and bad DocTypes in REXML::Document. (Bug #19058) [ruby-core:27979] based on the patch by Federico Builes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_vm_invoke_proc): removed unused variable.nobu2010-01-302-3/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress a warning.akr2010-01-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/getoptlong.rb (set_options): ensure that the type of argument ismame2010-01-292-2/+11
| | | | | | | Array, restoring this check that was deleted at r10239. This caused rubyspec error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): should benobu2010-01-293-0/+40
| | | | | | | space-separated. [ruby-core:27912] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw): needs $(DEFFILE) for extension libraries.nobu2010-01-292-0/+7
| | | | | | | [ruby-core:27946] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): use puts instead of print.nobu2010-01-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_do): log no source when no developement env.nobu2010-01-292-8/+21
| | | | | | | | | | * lib/mkmf.rb (create_makefile): srcprefix always needs $(srcdir). * lib/mkmf.rb (create_makefile): yield configuration if a block is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/utf8_mac.trans (buf_shift_char): don't see uninitialisednaruse2010-01-292-3/+8
| | | | | | value. [ruby-dev:40233] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (help): updated.nobu2010-01-291-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator#initialize_copy): use initialize_copymatz2010-01-282-11/+9
| | | | | | | instead of overriding clone/dup. [ruby-dev:40221] it now always clones the target, it might cause incompatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): update RDoc tomatz2010-01-283-26/+31
| | | | | | | | | | | denote that #to_i raises FloatDomainError for Inf and NaN. * ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): fast #to_i using BigDecimal_split(). * bignum.c (conv_digit): use faster ISDIGIT() assuming ASCII. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-29svn2010-01-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb: set autoload to CGI::HtmlExtension. [ruby-dev:40194]mame2010-01-282-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regcomp.c (onig_compile): initialize ScanEnv.naruse2010-01-283-1/+9
| | | | | | | | mainly to initialize env->warnings_flag [ruby-dev:40196] * regparse.c (scan_env_clear): clear warnings_flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-28svn2010-01-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.kazu2010-01-271-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/matrix/test_matrix.rb, test/matrix/test_vector.rb: add somemame2010-01-273-0/+409
| | | | | | tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb (ConditionVariable#wait, signal, broadcast): returnmame2010-01-272-1/+9
| | | | | | self (for 1.8 compatibility). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: add exception Matrix::ErrOperationNotImplementedkeiju2010-01-272-14/+40
| | | | | | | | | | | | | [ruby-dev:40149]. * lib/matrix.rb: change message of exception Matrix::ErrOperationNotDefined [ruby-dev:40150], [ruby-dev:40176]. * lib/matrix.rb: add method Vector#/ [ruby-dev:40151]. * lib/matrix.rb(Matrix::Scalar#+,-,/): delete meaningless when switch. [ruby-dev:40149] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (bugreport_backtrace): trivial change.kazu2010-01-273-3/+13
| | | | | | | | | * vm_dump.c (rb_vm_bugreport): uninitialized local variable i. * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_segv_test): follow above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_exception.rbkazu2010-01-272-1/+7
| | | | | | | (TestException#test_thread_signal_location): change test method name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2010-01-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (determinant): fix name error.mame2010-01-272-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_backtrace): "circular require" warning was output tomame2010-01-272-1/+7
| | | | | | | stdout except the first line. All line is output to stderr now. [ruby-dev:40147] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warnings.akr2010-01-272-10/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod, BigDecimal_mod,mame2010-01-262-16/+24
| | | | | | | BigDecimal_divmod, BigDecimal_div2): BigDecimal#% and #div returned an array itself that was returned by #divmod. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-27svn2010-01-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e