ruby-changes:12659
From: wyhaines <ko1@a...>
Date: Tue, 4 Aug 2009 01:09:51 +0900 (JST)
Subject: [ruby-changes:12659] Ruby:r24374 (ruby_1_8_6): Pulled the date.rb change; it should not have been applied.
wyhaines 2009-08-04 01:09:33 +0900 (Tue, 04 Aug 2009) New Revision: 24374 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24374 Log: Pulled the date.rb change; it should not have been applied. Modified files: branches/ruby_1_8_6/ChangeLog branches/ruby_1_8_6/ext/tk/extconf.rb branches/ruby_1_8_6/lib/date.rb branches/ruby_1_8_6/version.h Index: ruby_1_8_6/ext/tk/extconf.rb =================================================================== --- ruby_1_8_6/ext/tk/extconf.rb (revision 24373) +++ ruby_1_8_6/ext/tk/extconf.rb (revision 24374) @@ -50,7 +50,7 @@ use_X = with_config("X11", (! is_win32)) def find_tcl(tcllib, stubs) - paths = ["/usr/local/lib", "/usr/pkg/lib", "/usr/lib"] + paths = ["/usr/local/lib64", "/usr/local/lib", "/usr/pkg/lib64", "/usr/pkg/lib", "/usr/lib64", "/usr/lib"] if stubs func = "Tcl_InitStubs" lib = "tclstub" @@ -276,8 +276,10 @@ if tcltk_framework || (have_header("tcl.h") && have_header("tk.h") && ( !use_X || find_library("X11", "XOpenDisplay", - "/usr/X11/lib", "/usr/lib/X11", - "/usr/X11R6/lib", "/usr/openwin/lib")) && + "/usr/X11/lib64", "/usr/X11/lib", + "/usr/lib64/X11", "/usr/lib/X11", + "/usr/X11R6/lib64", "/usr/X11R6/lib", + "/usr/openwin/lib64", "/usr/openwin/lib")) && find_tcl(tcllib, stubs) && find_tk(tklib, stubs)) $CPPFLAGS += ' -DUSE_TCL_STUBS -DUSE_TK_STUBS' if stubs Index: ruby_1_8_6/ChangeLog =================================================================== --- ruby_1_8_6/ChangeLog (revision 24373) +++ ruby_1_8_6/ChangeLog (revision 24374) @@ -1,3 +1,11 @@ +Mon Aug 3 10:06:00 2009 Kirk Haines <khaines@r...> + + * lib/date.rb: Added private on to_date and to_datetime back; this should not have been backported to 1.8.6 from 1.9 yet, since it hasn't gone into 1.8.8/1.8.7. + +Wed Jul 29 17:04:00 2009 Kirk Haines <khaines@r...> + + * ext/tk/extconf.rb: Added some additional paths where TCL files are common found; fixes problems with building on some distributions. + Tue Jul 14 13:14:00 2009 Kirk Haines <khaines@r...> * lib/complex.rb: Adjust #angle/#arg NaN return as per issue #1715 and recent rubyspec changes. Adjust angle/arg handling of (-0.0).angle as per r23960 & recent rubyspec changes. Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 24373) +++ ruby_1_8_6/version.h (revision 24374) @@ -1,15 +1,15 @@ #define RUBY_VERSION "1.8.6" -#define RUBY_RELEASE_DATE "2009-07-20" +#define RUBY_RELEASE_DATE "2009-08-03" #define RUBY_VERSION_CODE 186 -#define RUBY_RELEASE_CODE 20090720 -#define RUBY_PATCHLEVEL 381 +#define RUBY_RELEASE_CODE 20090803 +#define RUBY_PATCHLEVEL 383 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 #define RUBY_VERSION_TEENY 6 #define RUBY_RELEASE_YEAR 2009 -#define RUBY_RELEASE_MONTH 7 -#define RUBY_RELEASE_DAY 20 +#define RUBY_RELEASE_MONTH 8 +#define RUBY_RELEASE_DAY 3 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; Index: ruby_1_8_6/lib/date.rb =================================================================== --- ruby_1_8_6/lib/date.rb (revision 24373) +++ ruby_1_8_6/lib/date.rb (revision 24374) @@ -1604,6 +1604,8 @@ DateTime.new!(DateTime.jd_to_ajd(jd, fr, of), of, DateTime::ITALY) end + private :to_date, :to_datetime + end class Date -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/