aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * doc/syntax/methods.rdoc: Fixed linkdrbrain2013-01-154-5/+23
| | | | | | | | * doc/syntax/modules_and_classes.rdoc: Fixed link * doc/syntax.rdoc: Updated with links to the recently added pages git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-16svn2013-01-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/control_expressions.rdoc (redo Statement): Added notedrbrain2013-01-153-0/+28
| | | | | | | | about retry. * doc/syntax/exceptions.rdoc: Added retry statement git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vpath.rb: separator for makenobu2013-01-152-1/+7
| | | | | | | * tool/vpath.rb (VPath#list): default separator to PATH_SEPARATOR from configure.in for make, not same name constant of File for use in ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: CLASS_OR_MODULE_Pnobu2013-01-151-20/+10
| | | | | | | * object.c (rb_mod_to_s, rb_class_inherited_p, rb_mod_ge, rb_mod_cmp): use BUILTIN_TYPE() instead of TYPE() for optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: two literalsnobu2013-01-151-2/+1
| | | | | | * object.c (rb_mod_to_s): concatenate two literals. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: suppress warningsnobu2013-01-151-0/+2
| | | | | | | * process.c (p_uid_change_privilege, p_gid_change_privilege): suppress set-but-unsed warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: no envp if no spawnvenobu2013-01-151-0/+4
| | | | | | | * io.c (pipe_open): envp is not used if only spawnv is defined right now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/save-history.rb: identify rightly a status of akeiju2013-01-152-1/+7
| | | | | | | | | history file that already exists [Bug #7694]. Thanks Nobuhiro IMAI for this patch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/control_expressions.rdoc: Added description of controldrbrain2013-01-152-0/+404
| | | | | | | expressions in ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc (Method Names): Added method names includingdrbrain2013-01-153-1/+150
| | | | | | | | | | operator methods. * doc/syntax/methods.rdoc (Return Values): Added note that assignment methods ignore return values. * doc/syntax/precedence.rdoc: Added document describing precedence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc (Block Argument): Added section on blockdrbrain2013-01-152-0/+37
| | | | | | | argument. Thanks to Andy Lindeman. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/calling_methods.rdoc (Arguments): Added improveddrbrain2013-01-152-13/+197
| | | | | | | | | | | | | | | | introduction to arguments including passing style and lazy evaluation. Thanks to Matt Aimonetti. * doc/syntax/calling_methods.rdoc (Positional Arguments): Added description for sending a message to a method with *arguments * doc/syntax/calling_methods.rdoc (Default Positional Arguments): Added description. Thanks to Andy Lindeman. * doc/syntax/calling_methods.rdoc (Block Local Arguments): Added description of block locals. Thanks to Justin Collins. * doc/syntax/calling_methods.rdoc (Hash to Keyword Arguments): Added section describing ** operator. Thanks to Justin Collins. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_lazy_enumerator: Test that map & flat_map also require a blockmarcandre2013-01-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: tty optionnobu2013-01-153-2/+18
| | | | | | | | | | | * bootstraptest/runner.rb (main): add --tty option to output like terminal, for mingw/mswin on cygwin. * lib/test/unit.rb (Test::Unit::Options#setup_options): ditto. * sample/test.rb (Progress#initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* runner.rb: colorizenobu2013-01-151-2/+2
| | | | | | * bootstraptest/runner.rb (exec_test): colorize final messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (gvl_init): Reset gvl.wait_yield explicitly whenkosaki2013-01-152-0/+7
| | | | | | | fork()ing. Patch by Apollon Oikonomopoulos. Thanks! [Bug #7693][ruby-core:51424] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/calling_methods.rdoc (Receiver): Added :: as pointed outdrbrain2013-01-152-2/+12
| | | | | | | | | by Tony Arcieri * doc/syntax/calling_methods.rdoc (Block Argument): Fixed { } block examples as pointed out by David Copeland. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc (Array/Hash Argument): Moved above Keyworddrbrain2013-01-152-17/+38
| | | | | | | | | Arguments * doc/syntax/methods.rdoc (Keyword Arguments): Described ** for gathering arbitrary keyword arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/calling_methods.rdoc: Added document describing methoddrbrain2013-01-142-0/+153
| | | | | | | calls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-15svn2013-01-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/top_level.rb: Fixed extension trimming for page names indrbrain2013-01-143-2/+22
| | | | | | | | RDoc HTML output. [ruby-trunk - Bug #7673] * test/rdoc/test_rdoc_top_level.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/save-history.rb: outputs its history tokeiju2013-01-142-1/+18
| | | | | | | | | owner-only-readable file and change the permission of a file that already exists [Bug #7694]. Thanks Nobuhiro IMAI for bug reports. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (lazy_flat_map_func): flat_map should call each onlyshugo2013-01-143-15/+51
| | | | | | | | | | | when the value of a block returns a forcable object. [ruby-core:51401] [Bug #7690] * enumerator.c (lazy_flat_map): add documentation. * test/ruby/test_lazy_enumerator.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: Require block for Lazy#{take|drop}_while [Bug #7692]marcandre2013-01-143-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_to_s): use CRuby style.mrkn2013-01-142-30/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: use `RB_TYPE_P(x, t)` instead ofmrkn2013-01-142-21/+26
| | | | | | `TYPE(x) == t`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: Fix size for Enumerator::Lazy#flat_mapmarcandre2013-01-143-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix/lup_decomposition: Fix bugs with LUP Decomposition ofmarcandre2013-01-132-4/+9
| | | | | | rectangular matrices. [rubyspec:ba849801a85] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [rdoc] expalin kcode argument of Regexp.newnaruse2013-01-131-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (add_ctype_to_cc): don't check dup warn on addingnaruse2013-01-133-1/+11
| | | | | | negative ctype to cclass. [Bug #7471] [ruby-core:50344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-14svn2013-01-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix/eigenvalue_decomposition: Backport bugfix of Jama 1.0.3marcandre2013-01-132-8/+9
| | | | | | [rubyspec:df87040be371] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/yaml/scanner.c: Fix typos, patch by James Dabbszzak2013-01-132-17/+22
| | | | | | | [Github tenderlove/psych#118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_sub):mrkn2013-01-133-5/+107
| | | | | | | | | | | | | | | | | need to specify precision for converting Rational and Float. [ruby-dev:46544] [Bug #7404] * ext/bigdecimal/bigdecimal.c (BigDecimal_mult): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_divide): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_divremain): ditto. * test/bigdecimal/test_bigdecimal.rb: add tests for the above fixes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update Changelog for r38797marcandre2013-01-131-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix/eigenvalue_decomposition: Fix eigensystem with complexmarcandre2013-01-132-2/+8
| | | | | | | eigenvectors. Patch by pypypy567. [Bug #7208] [ruby-dev:46251] [rubyspec:242f8e55bd] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/prime.rb: Typos in overviewzzak2013-01-133-2/+7
| | | | | | | Patch by Ershad K [Github Fixes #234] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix/lup_decomposition.rb: Fix error for rectangular matricesmarcandre2013-01-131-1/+1
| | | | | | [bug#7620] [ruby-core:51118] [rubyspec:41f833ee2] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo in commit datezzak2013-01-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open3.rb : Typo in Open3 overview. Patch by zed_0xffzzak2013-01-132-1/+6
| | | | | | | [Github Fixes #233] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-13svn2013-01-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: Fix rdoc typo (thanks to Yutaka HARA)marcandre2013-01-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (do_coerce): fix for the exceptions which the coercemrkn2013-01-122-8/+32
| | | | | | | method raises. The optimization done by r38756 is preserved. [Bug #7645] [ruby-core:51213] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* setup.mak: -runtime-nobu2013-01-123-63/+29
| | | | | | | * win32/setup.mak (-runtime-): see msvcrt from link header on mswin instead of running testing executable file, for cross compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (exec_test): break lines if not tty.nobu2013-01-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-01-122-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb: merge key values thattenderlove2013-01-123-6/+78
| | | | | | | | contain something besides a hash should be left in tact. * test/psych/test_merge_keys.rb: test for change git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_set_byref): support VT_UI8|VT_BYREF,suke2013-01-113-22/+31
| | | | | | | | | | | | | | | VT_I8|VT_BYREF in cygwin and mingw. * ext/win32ole/win32ole.c (ole_variant2val): ditto. * test/win32ole/test_win32ole_variant.rb (test_s_new_with_i8_byref): ditto. * test/win32ole/test_win32ole_variant.rb (test_s_new_with_ui8_byref): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-12svn2013-01-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e