summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * 2010-09-02ruby_1_8_6svn2010-09-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@29162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add revision number to changelog for last entry.wyhaines2010-09-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@29161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/webrick/httpresponse.rb: CVE-2010-0541; Fix a potential XSS ↵wyhaines2010-08-173-5/+9
| | | | | | vulnerabilty. See the CVE report for more information. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@29026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/bigdecimal/bigdecimal.c: Backport #2349 [ruby-core:26646]; fix ↵wyhaines2010-08-176-36/+826
| | | | | | | | | | comparisons. Also fix a bunch of bugs that lead to broken-ness and failing tests. test/bigdecimal/test_bigdecimal.rb: Backport #2349 [ruby-core:26646]; added a test suite. test/ruby/test_exception.rb: The test suite was breaking ZeroDivisionError, which in turn would break bigdecimal/test_bigdecimal.rb. Made a simple fix that keeps that test but does so non-destructively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@29025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: Backport #2267 [ruby-core:26300]; Fix problem with IO so that the file ↵wyhaines2010-06-224-2/+45
| | | | | | | | | position is correct after a direct write on BSDish platforms like OS X. test/ruby/test_io.rb: Added a test for the fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: Backport #2364 [ruby-core:26733]; Allow result of to_f to be NaN ↵wyhaines2010-06-223-8/+8
| | | | | | to permit conversion from BigDecimal('NaN') to Float. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-23svn2010-06-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forgot to bump the version # for r28374.wyhaines2010-06-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-06-22svn2010-06-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: Bug #1886 [ruby-core:24767]; ensure that rb_exc_raise and ↵wyhaines2010-06-213-1/+17
| | | | | | | | | rb_exc_fatal require an exception object. Backport of r24403. test/ruby/test_exception.rb: test for exception change. Backport of r24404. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: Backport #1710 [ruby-core:24104]; backport of r20573 to clean ↵wyhaines2010-06-113-15/+24
| | | | | | up handling of LIBPATHFLAG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/uri/generic.rb: Backport #2428 [ruby-core:27019]; fixed #eql? so that it ↵wyhaines2010-06-104-3/+17
| | | | | | | | | can handle being passed a nil value. test/generic/test_generic.rb: added a test for the fix to #eql?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/nkf/nkf-utf8/nkf.c: Backport #2953 [ruby-dev:40606]; change nkf_char ↵wyhaines2010-06-094-3/+15
| | | | | | | | | buffer in numchar_getc() size form 8 to 10 to avoid potential for a segfault. test/nkf/test_nkf.rb: Added a test for the change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/delegate.rb: Backport #1781 [ruby-core:24356]; allow a block to be ↵wyhaines2010-06-093-11/+15
| | | | | | properly passed through. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Backport #1785 [ruby-core:24395]; check to make sure finalizer_table isn't ↵wyhaines2010-06-083-3/+7
| | | | | | null before trying to run finalizers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/pathname.rb: Backport #2110 [ruby-core:25627]; backport of r23093 to ↵wyhaines2010-06-083-4/+15
| | | | | | handle the scenario where, on filesystems like Windows', paths are compared using casecmp instead of ==. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/date.rb: Backport #2707 [ruby-core:28011]; backport r27014 to fix ↵wyhaines2010-06-083-5/+12
| | | | | | 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
* lib/monitor.rb: Backport #2240 [ruby-core:26185]; backport r25420 to ensure ↵wyhaines2010-06-084-10/+50
| | | | | | | | | 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
* regexp.c: Backport #3403; backported from r28192 to fix a bug with ↵wyhaines2010-06-084-9/+496
| | | | | | | | | | 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
* eval.c: Backport #2202 [ruby-core:26074]; backport of r25359, which modifies ↵wyhaines2010-06-084-2/+358
| | | | | | | | | 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
* lib/net/http.rb: Backport #1284 [ruby-core:22874]; Change Net:HTTP to use a ↵wyhaines2010-06-074-6/+45
| | | | | | | | | 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
* Backport #2392 [ruby-core:26868]; backport of r23353 which suppresses a ↵wyhaines2010-06-033-38/+53
| | | | | | 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
* Bug #911 [ruby-core:20723]; This bug, and occasional ArgumentError in ↵wyhaines2010-05-263-13/+20
| | | | | | | | | 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
* Backport #776 [ruby-core:20043]; Added an #ifdef _WIN32 to rb_io_flush in ↵wyhaines2010-05-243-6/+14
| | | | | | 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
* Backport #484 [ruby-core:18377]; Make OpenSSL::Config freeze correctly, ↵wyhaines2010-05-243-3/+19
| | | | | | 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
* Backport #1700 [ruby-core:24078]; Stringify group argument in #fu_get_gid ↵wyhaines2010-05-242-1/+4
| | | | | | 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-25svn2010-05-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added --disable-ucontext, to be used with --enable-pthreads, to improve ↵wyhaines2010-05-242-3/+12
| | | | | | 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
* Backport #145 [ruby-dev:35075]; Fixes some misleading exceptions in IRB's fg ↵wyhaines2010-05-203-6/+19
| | | | | | 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-21svn2010-05-201-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@27933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/cgi.rb: Backport #229 [ruby-core:17634]; CGI::Cookie objects can get out ↵wyhaines2010-05-201-7/+8
| | | | | | 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
* Fix for Bug #1718 [ruby-core:24121]. Add a :startdoc into lib/yaml/tag.rbwyhaines2010-03-043-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Syntax change and dead code cleanup to help resolve some build issues on ↵wyhaines2010-02-044-38/+12
| | | | | | 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-04svn2010-02-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Backport #1743 [ruby-core:24203]; stops timer thread unless other threads exist.wyhaines2010-02-033-36/+81
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Backport #2009 [ruby-core:25173]; (rb_io_fptr_finalize): free fptr to avoid ↵wyhaines2010-01-272-6/+19
| | | | | | | | | 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-28svn2010-01-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Backport #1916 [ruby-core:24838]; (rb_sysopen): workaround for MSVCRT's bug. ↵wyhaines2010-01-272-2/+10
| | | | | | 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
* Backport #1875 [ruby-core:24735]; (RMATCH_REGS): added for compatibility.wyhaines2010-01-273-1/+17
| | | | | | | (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
* Backport #1818 [ruby-core:24561]; (argf_eof): go to the next file if called ↵wyhaines2010-01-272-1/+4
| | | | | | 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
* Backport #1806 [ruby-core:24506]; (REXML::Text.normalize): call to_s for input.wyhaines2010-01-272-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-27svn2010-01-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Backport #2039 [ruby-core:25339]; backported r24413, r24416, r24442 to fix a ↵wyhaines2010-01-262-36/+49
| | | | | | | | | 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-21svn2010-01-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: Backport #2592 [ruby-core:27525]; Added an ifndef for WIN32 so that ↵wyhaines2010-01-203-5/+24
| | | | | | | | | 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-11svn2010-01-101-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@26275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix to escape logs in order to avoid escape sequence injection bug. Also ↵wyhaines2010-01-106-24/+49
| | | | | | 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-20svn2009-11-201-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@25872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* backport r24713 which adds a check for freelist exhaustion in gc_sweep; this ↵wyhaines2009-11-202-1/+13
| | | | | | 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-09svn2009-09-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e