summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-08lib/date.rb: Backport #2707 [ruby-core:28011]; backport r27014 to fix ↵wyhaines
problem with Date#>> and very small numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08lib/monitor.rb: Backport #2240 [ruby-core:26185]; backport r25420 to ensure ↵wyhaines
that the scheduled thread is alive when a monitor is released. test/monitor/test_monitor.rb: Backport #2240 [ruby-core:26185]; added a test for the above functionality. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08regexp.c: Backport #3403; backported from r28192 to fix a bug with ↵wyhaines
non-greedy matching. test/ruby/test_regexp.rb: Backport #3403; added this test suite, commenting out inapplicable tests to the current 1.8.6. ChangeLog: Got my date wrong in the last few entries. Tuesday is the 8th, not the 9th! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08eval.c: Backport #2202 [ruby-core:26074]; backport of r25359, which modifies ↵wyhaines
rb_clear_cache_for_undef to clear entries for inherited methods. test/ruby/test_object.rb: Backport #2202 [ruby-core:26074]; Added this file, from r25359, which tests a number of behaviors of Object, including this change. This version differs from the one in r25359 because there are several tests which currently fail on 1.8.6 because those capabilities are not implemented. Those tests are commented out. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07lib/net/http.rb: Backport #1284 [ruby-core:22874]; Change Net:HTTP to use a ↵wyhaines
block size of 16k instead of 1k when streaming or chunking POST bodies. test/net/http/test_post_io.rb: Backport #1284 [ruby-core:22874]; A test to go with the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03Backport #2392 [ruby-core:26868]; backport of r23353 which suppresses a ↵wyhaines
strict-aliasing warning in gcc-4.4.x -O2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26Bug #911 [ruby-core:20723]; This bug, and occasional ArgumentError in ↵wyhaines
Resolv#resolv, was caused by a resolution timeout. The timeout would raise an Resolv::ResolvTimeout exception. Following the chain of ancestors backwards from there, one would arrive at Interrupt, which descended from Signal. Signal#initialize required an argument, and Interrupt's own #initialize likewise did so, but should not. The fix was to backport r12226 from the 1.8.7 branch, which fixes Interrupt#initialize. Fixing that clears this bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24Backport #776 [ruby-core:20043]; Added an #ifdef _WIN32 to rb_io_flush in ↵wyhaines
io.c to fsync on windows to ensure that a flush took place. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 Backport #484 [ruby-core:18377]; Make OpenSSL::Config freeze correctly, ↵wyhaines
preventing further config changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24Backport #1700 [ruby-core:24078]; Stringify group argument in #fu_get_gid ↵wyhaines
before making regexp match. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24* 2010-05-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24Added --disable-ucontext, to be used with --enable-pthreads, to improve ↵wyhaines
performance when built with pthread support by eliminating the oodles of sigprocmask calls that otherwise occur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@27999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20Backport #145 [ruby-dev:35075]; Fixes some misleading exceptions in IRB's fg ↵wyhaines
command when used with no arguments or invalid arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@27934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20* 2010-05-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@27933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20lib/cgi.rb: Backport #229 [ruby-core:17634]; CGI::Cookie objects can get out ↵wyhaines
of sync when CGI::Cookie#value= is used to assign a new value. Also, if a nil value ends up in the array of values for the cookie, CGI::Cookie#to_s would blow up on a gsub error when it tried to CGI::escape the nil value. This is fixed so that nils are treated as empty strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@27932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-04Fix for Bug #1718 [ruby-core:24121]. Add a :startdoc into lib/yaml/tag.rbwyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-04Syntax change and dead code cleanup to help resolve some build issues on ↵wyhaines
certain platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03* 2010-02-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03Backport #1743 [ruby-core:24203]; stops timer thread unless other threads exist.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27Backport #2009 [ruby-core:25173]; (rb_io_fptr_finalize): free fptr to avoid ↵wyhaines
memory leaks. My brain got stuck in a bad pattern, and I kept adding new items under the first record for the day. They are all broken out into their own entries like they should be, now, with timestamps pulled from the SVN log. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27* 2010-01-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27Backport #1916 [ruby-core:24838]; (rb_sysopen): workaround for MSVCRT's bug. ↵wyhaines
Should fix the original bug report which was: File.open crashes when flags File::RDONLY | File::APPEND are passed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27Backport #1875 [ruby-core:24735]; (RMATCH_REGS): added for compatibility.wyhaines
(RFLOAT_VALUE, RSTRING_END, RREGEXP_SRC_*, RBIGNUM_*): backported macros for compatiblity from trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27Backport #1818 [ruby-core:24561]; (argf_eof): go to the next file if called ↵wyhaines
after ARGF.close or ARGF.skip. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27Backport #1806 [ruby-core:24506]; (REXML::Text.normalize): call to_s for input.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26* 2010-01-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26Backport #2039 [ruby-core:25339]; backported r24413, r24416, r24442 to fix a ↵wyhaines
problem with IO#select and threads. This is the same issue as Bug #199 3 [ruby-core:25114]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-20* 2010-01-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-20eval.c: Backport #2592 [ruby-core:27525]; Added an ifndef for WIN32 so that ↵wyhaines
F_GETFD isn't used on that platform. Fixes a build issue. dln.c: Bug #2220 [ruby-core:26117]; Patch to fix dln.c so that extensions work properly under Snow Leopard. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-10* 2010-01-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-10Fix to escape logs in order to avoid escape sequence injection bug. Also ↵wyhaines
inserted an old comment into ChangeLog for a change that got missed last year. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-20* 2009-11-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@25872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-20backport r24713 which adds a check for freelist exhaustion in gc_sweep; this ↵wyhaines
prevents segfaults from certain tight loops. An example test case: Time.now while true git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@25871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08* 2009-09-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08Openstruct fix, and fix to test_file_exhaustive.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25Backport #1509 [ruby-dev:38538]; Typo in CGI::HTTP_STATUS: Rrecondition -> ↵wyhaines
Precondition git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25* 2009-08-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-25Fix for backport #1168 -- wrong result of File.extname for a path that ↵wyhaines
contains a space before the extension. Fix for backport #1975 -- the test suite for backport #1168 uses Dir.mktmpdir, which was backported into 1.8 HEAD and 1.8.7 in the past. This change for 1.8.6 doesn't break anything already existing in 1.8.6, and is a pure-ruby addition, so it was backported. See http://redmine.ruby-lang.org/issues/show/1975 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20* 2009-08-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20Backport #1001; handle EBADF in select() to avoid Interpreter-wide deadlock ↵wyhaines
when native close() is called on fd which is currently being IO#select()ed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19* 2009-08-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19Backport #1232. Fixed sprintf buffer corruption.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-04* 2009-08-05svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-04Fixed a small documentation bug in lib/rdoc/parsers/parse_c.rb.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-03* 2009-08-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-03Pulled the date.rb change; it should not have been applied.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20Small configure.in tweak.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15Adjusted release date info.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14Adjust #angle/#arg NaN return as per issue #1715 and recent rubyspec ↵wyhaines
changes. Adjust angle/arg handling of (-0.0).angle as per r23960 & recent rubyspec changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14Fixes to bignum/numeric so that infinity is always greater than any num.wyhaines
configure.in fixes to earlier breakage regarding using $libdir for determining lib dirs, instead of $prefix/lib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e