summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
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-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-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-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-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-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-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-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-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-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-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-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-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-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
2009-07-10Fix method scoping bug.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-10Added FCNTL inclusion to fix a compile error with solaris (backport from r22812)wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-10Fixed ostruct recursion inspection.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-09Minor fixes to x64 sitedir/libdir.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-09Removed private on to_date and to_datetime.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-09ext/socket/extconf.rb: Corrected function definitions to specify return values.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-09Pendantic change to remove surplus comma.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-09Fixed warning: passing argument 1 of 'add_freelist' makes pointer from ↵wyhaines
integer without a cast git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-09Stopgap fix for gc.c based segmentation faults.wyhaines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-08Fixed a typo in lib/soap/mimemessage.rb -- conent -> contentwyhaines
Backported BigDecimal fixes to bugs with BigDecimal handling of very large inputs; these bugs caused bad things to happen in combination with Date. Tests were added to the rubyspec project to cover these fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@23652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-31merge revision(s) 21750:shyouhei
* lib/mkmf.rb (configuration): leaves PATH_SEPARATOR unchanged. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@23102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-27merge revision(s) 22882,22961,22971:shyouhei
* gc.c (run_final): calls free function. [ruby-core:22578] * gc.c (rb_gc_call_finalizer_at_exit): leave Thread objects unfinalized. [ruby-dev:38168] * gc.c (run_final): frees zombies only. [ruby-dev:38171] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@23077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-23merge revision(s) 22011:shyouhei
* ext/thread/thread.c (rb_queue_pop, rb_queue_push): should not lock mutex if got an exception while waiting, and should ensure unlocked after signaled. [ruby-dev:37545] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@23047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-23merge revision(s) 17874,17886:shyouhei
* eval.c (rb_thread_join): new API. * ext/thread/thread.c (wait_mutex, lock_mutex): wait until the locking thread exits. [ruby-dev:34856] * eval.c (rb_thread_value): missed to change at r17874. [ruby-core:17595] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@23042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-23merge revision(s) 22654:22661:shyouhei
* file.c (file_load_ok): checks if regular file, except for the platform disallows to open directories, e.g. dosish. [ruby-dev:38097], [Bug #1221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@23038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10merge revision(s) 16465:shyouhei
* ext/openssl/openssl_missing.c (HMAC_CTX_copy): adopted prototype change in openssl bundled with newer OpenBSD. a patch from Takahiro Kambe <taca at back-street.net> in [ruby-dev:34691]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09merge revision(s) 22646:shyouhei
* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify returns positive value on success, not non-zero. [ruby-core:21762] backported r22440 from trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09merge revision(s) 21997:shyouhei
* re.c (match_check): check if MatchData is initialized. [ruby-core:18749] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09merge revision(s) 21994:shyouhei
* lib/rexml/rexml.rb: incremented Ruby::VERSION. Thanks, Jeremy Kemper. [ruby-core:20113] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09merge revision(s) 21913:shyouhei
* io.c (io_getpartial): fflush after read for updating pos in FILE. not portable, I guess. [ruby-core:21561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09merge revision(s) 21727:shyouhei
* gc.c (define_final): cannot define finalizer for immediate values. [ruby-core:21500] * gc.c (define_final): freezes or hides internal values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08merge revision(s) 21688:shyouhei
* parse.y (IS_BEG): EXPR_CLASS should be treated like EXPR_BEG. [ruby-core:21453] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-25merge revision(s) 21677:shyouhei
* node.h (rb_thread_raised_clear): should not clear flags other than raised flags. a patch by Tomoyuki Chikanaga <chikanag AT nippon-control-system.co.jp> at [ruby-dev:37794]. [ruby-dev:37776] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-25merge revision(s) 21505:shyouhei
* ext/socket/extconf.rb (gai_strerror): checks if available and if returns const pointer. * ext/socket/getaddrinfo.c (gai_strerror): defines only if non available. [ruby-core:21328] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-25merge revision(s) 21447:shyouhei
* win32/win32.c (open_dir_handle): extracted from rb_w32_opendir. * win32/win32.c (winnt_stat): gets rid of strange behavior of GetFileAttributes(). [ruby-core:21269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-23merge revision(s) 21432:shyouhei
* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after %> bug. [ruby-dev:37751] [Bug #997] * test/erb/test_erb.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-22merge revision(s) 21354:shyouhei
* eval.c (stack_extend): streamlined rb_thread_restore_context() to ensure O(1) time. based on a patch by Brent Roman <brent AT mbari.org>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-22merge revision(s) 21353:shyouhei
* eval.c (cc_mark): frees the continuation's stack if its thread is dead to avoid recursive gc that segfaults. [ruby-core:13889] a patch by Brent Roman <brent AT mbari.org>. * eval.c (rb_cont_check): checks for valid continuation instance. * eval.c (rb_callcc): assigns th->thread before scope_dup() to avoid segfaults if this scope_dup() triggers a gc pass. a patch by Brent Roman <brent AT mbari.org>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-21merge revision(s) 21297:shyouhei
* ext/extmk.rb (extmake): does not use both of makefile.rb and extconf.rb at the same time. * lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-21merge revision(s) 21165:shyouhei
* eval.c (rb_thread_schedule): Don't change status of threads which don't run next even if select notify readability/writability. [ruby-core:20446] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e