aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * bootstraptest/test_io.c: add a test for [ruby-dev:46834].yugui2013-01-064-5/+30
| | | | | | | | | | * io.c (rb_cloexec_fcntl_dupfd) Use an emulation with dup(2) when fcntl(2) and/or F_DUPFD is unavailable. Suggested by akr. * configure.in (HAVE_FCNTL): NativeClient does not provide fcntl(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/modules_and_classes.rdoc: Fixed typo.drbrain2013-01-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-01-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/modules_and_classes.rdoc: Added singleton classesdrbrain2013-01-052-0/+50
| | | | | | | documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/abstract.rb (WEBrick::HTTPServlet): Typo inzzak2013-01-052-1/+6
| | | | | | | example. Patch by shlensky [Fixes #232 on github] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-06svn2013-01-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http/generic_request.rb:naruse2013-01-052-1/+15
| | | | | | | | Amazon ECA API and GTE/1.3 disallow requests whose host has port number if its port number equlas to default port number of the scheme. [Bug #7650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Suppress warningsnaruse2013-01-051-5/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/modules_and_classes.rdoc: Improved description of methodsdrbrain2013-01-052-2/+12
| | | | | | | on a module or class as suggested by Tobias Buhlmann git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_enumerate_lines): fix invalid byte sequence errorglass2013-01-053-3/+17
| | | | | | | | | | when a separator is passed. The patch is from yoshidam (Yoshida Masato). [Bug #7646] [ruby-dev:46827] * test/ruby/test_string.rb: a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: check stdout and stderrnobu2013-01-052-10/+19
| | | | | | | | * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): check stdout and stderr both. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-01-050-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/modules_and_classes.rdoc: Added documentation of syntaxdrbrain2013-01-053-30/+297
| | | | | | | | | for Modules and Classes. * doc/syntax/methods.rdoc: Moved some text to the Modules and Classes syntax document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc: Added return values and scope sections,drbrain2013-01-042-13/+119
| | | | | | | | slightly modified from the original patch. Fixes #227 from github by Dave Brown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_cloexec_fcntl_dupfd): improve #ifdef condition.kosaki2013-01-042-3/+8
| | | | | | * io.c (rb_maygvl_fd_fix_cloexec): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/commands/cleanup_command.rb: Clean all possible gemsdrbrain2013-01-043-50/+120
| | | | | | | | | using multiple passes. Fixes RubyGems bug #422. Refactored for maintainability. * test/rubygems/test_gem_commands_cleanup_command.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-05svn2013-01-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (vm_xrealloc): add a few comment why we avoid realloc(ptr,0).kosaki2013-01-042-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-01-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (RBCONFIG): Moved from common.mk in order to use theyugui2013-01-044-1/+9
| | | | | | | | variable in Makefile.in. * win32/Makefie.sub (RBCONFIG): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (run, parse): Use BTESTRUBY instead of MINIRUBY to handleyugui2013-01-042-4/+9
| | | | | | cross-compiling cases, e.g. NativeClient. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (yes-btest): btest depends on also $(arch)-fake.rb andyugui2013-01-044-3/+18
| | | | | | | | | | | rbconfig.rb on building for NativeClient. * Makefile.in (fake): Avoid generating $(arch)-fake.rb unless cross compiling. * configure.in (CROSS_COMPILING): New substitution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/doctor.rb: Process directories in order in case thedrbrain2013-01-048-22/+36
| | | | | | | | | | | | | | | | | | | | filesystem doesn't. [ruby-trunk - Bug #7618] Process specifications before other directories in case of bugs. * test/rubygems/test_gem_doctor.rb: Test for above. * lib/rubygems.rb: Updated version. * test/rubygems/test_require.rb: Fixed double require of benchmark.rb. RubyGems bug #420. * test/rubygems/test_gem_commands_check_command.rb: Fixed unused variable warnings. * test/rubygems/test_gem_commands_query_command.rb: ditto * test/rubygems/test_gem_installer.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/cross_reference.rb: Fixed matching of C#=== or #===. RDocdrbrain2013-01-0416-52/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bug #164 * test/rdoc/test_rdoc_cross_reference.rb: Test for above. * lib/rdoc/parser/changelog.rb: Fixed parsing of dates. RDoc bug #165 * test/rdoc/test_rdoc_parser_changelog.rb: Test for above. * lib/rdoc/parser.rb: Fixed parsing multibyte files with incomplete characters at byte 1024. [ruby-trunk - Bug #6393] Fixed handling of -E. [ruby-trunk - Bug #6392] * test/rdoc/test_rdoc_options.rb: Test for above. * test/rdoc/test_rdoc_parser.rb: ditto. * test/rdoc/test_rdoc_parser_c.rb: ditto. * test/rdoc/test_rdoc_parser_changelog.rb: ditto. * test/rdoc/test_rdoc_parser_markdown.rb: ditto. * test/rdoc/test_rdoc_parser_rd.rb: ditto. * test/rdoc/test_rdoc_rdoc.rb: ditto. * lib/rdoc/tom_doc.rb: Fixed parsing of [] in TomDoc arguments list. RDoc bug #167 * test/rdoc/test_rdoc_tom_doc.rb: Test for above. * lib/rdoc.rb: Update version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/forwardable.rb: Fix rdoc parameters for ::def_single_delegator.zzak2013-01-042-3/+9
| | | | | | | Patch by Vladimir Andrijevik [Github Fixes #230] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo in ChangeLogzzak2013-01-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r38686 -- duplicate ChangeLog entryyugui2013-01-031-10/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix failures on btest for NativeClient.yugui2013-01-031-0/+10
| | | | | | | | | | | * bootstraptest/runner.rb (nacl?): New method to distinguish NaCl corss build. * bootstraptest/test_io.rb: Skip unsupported operations. * bootstraptest/test_literal.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-04svn2013-01-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix failures on btest for NativeClient.yugui2013-01-036-6/+29
| | | | | | | | | | | * bootstraptest/runner.rb (nacl?): New method to distinguish NaCl corss build. * bootstraptest/test_io.rb: Skip unsupported operations. * bootstraptest/test_literal.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_cloexec_fcntl_dupfd): Fix failures inyugui2013-01-032-2/+10
| | | | | | | bootstrap_test/test_io.rb. NativeClient does not support F_DUPFD but supports dup2(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/element.rb (REXML::Elements#add): Remove too muchkou2013-01-032-1/+6
| | | | | | | "elements" in document. Sorry... git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/element.rb (REXML::Elements#each): Add missingkou2013-01-032-4/+10
| | | | | | | | "elements" in document. [ruby-talk:402713] Reported by Wesley Rishel. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych.rb (Psych.load): Return value ofzzak2013-01-032-3/+9
| | | | | | | | Psych::SyntaxError.message should be same as example. Patch by Ippei Obayashi [ruby-core:51193] [Bug #7636] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/forwardable.rb (SingleForwardable): Fix example in overviewzzak2013-01-032-9/+18
| | | | | | | Patch by Vladimir Andrijevik [Github Fixes #231] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-03svn2013-01-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (OBJCOPY): Fixes build error for NativeClient.yugui2013-01-033-2/+10
| | | | | | | | | Avoid disabling OBJCOPY for NativeClient. * thread_pthread.c (rb_reserved_fd_p): USE_SLEEPY_TIMER_THREAD is always defined. Fixes compilation error for NativeClient. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo in r38675 ChangeLogzzak2013-01-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (Zlib::GzipFile): Fix typo by zed_0xffzzak2013-01-012-1/+6
| | | | | | | [Fixes Github #229] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_update): Revert documentation from r38672zzak2013-01-012-13/+5
| | | | | | | See: https://github.com/ruby/ruby/pull/228#issuecomment-11791013 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-02svn2013-01-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_update): Documentation for Hash#merge and shallowzzak2013-01-012-5/+23
| | | | | | | copies Patch by Yorick Peterse [Fixes Github #228] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_thread.rb: get rid of confusing ruby-mode.elnobu2013-01-011-1/+1
| | | | | | indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_thread.rb: get rid of "invalid nest" error innobu2013-01-011-10/+10
| | | | | | ruby-mode.el. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_tmpdir.rb: remove tmpdirnobu2013-01-011-0/+1
| | | | | | | * test/test_tmpdir.rb (TestTmpdir#test_no_homedir): remove created tmpdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-01svn2013-01-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2013-01-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_backtrace.c: Add documentation for Kernel#caller_locations,zzak2012-12-312-7/+131
| | | | | | | Kernel#caller, and Thread::Backtrace::Location git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-31svn2012-12-311-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_backtrace.rb: Add test for r37957 [Feature #7434]zzak2012-12-312-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e