merge from roostats dev branch fixes 44206, 44345, 44346 from George Lewis


git-svn-id: https://root.cern.ch/svn/root/trunk@44353 27541ba8-7e3a-0410-8455-c3a389f83636
Fix http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=8591.
When drawn with option SAME the histogram 1st and last bins might be wrong.
The following macro showed the problem.:

{
   TCanvas *c = new TCanvas("c","c",900,900);
   c->Divide (1,2);

   TH1D * histo1 = new TH1D ("histo1","histo1",100,0.,100.) ;
   histo1->SetBinContent(51,80.) ;

   TH1D * histo2 = new TH1D ("histo2","histo2",100,49.9,51.1) ;  /// not ok
   histo2->SetMinimum(0.) ; histo2->SetMaximum(100.) ;

   c->cd(1);
   gPad->DrawFrame(49.9, 0., 51.1, 100);
   histo1->Draw("same");

  Double_t xAxis[4] = {3., 5., 7., 9.};
  TH1D *histo = new TH1D("histo","",3, xAxis);
  histo->SetBinContent(1,2.);
  histo->SetBinContent(2,4.);
  histo->SetBinContent(3,3.);

  c->cd(2);
  gPad->DrawFrame(4.,0., 10.,5.);
  histo->Draw("same");
}


git-svn-id: https://root.cern.ch/svn/root/trunk@44358 27541ba8-7e3a-0410-8455-c3a389f83636
Add Callable: after construction it can invoke a function without lookup, by passing parameters and (if needed) the this pointer of the object to invoke the function on.
Offers both type-checked invocation through parameters of type cling::Value and non-checked using parameters of type llvm::GenericValue.


git-svn-id: https://root.cern.ch/svn/root/trunk@44359 27541ba8-7e3a-0410-8455-c3a389f83636
TGraphPainter


git-svn-id: https://root.cern.ch/svn/root/trunk@44360 27541ba8-7e3a-0410-8455-c3a389f83636
Map subwindows is not recursive (does not map subwindows for subwindows).


git-svn-id: https://root.cern.ch/svn/root/trunk@44361 27541ba8-7e3a-0410-8455-c3a389f83636
when configuring using --build=c++11 on Linux/gcc make sure that
-Wno-deprecated-declarations is set to silence warnings on auto_ptr
being deprecated.


git-svn-id: https://root.cern.ch/svn/root/trunk@44364 27541ba8-7e3a-0410-8455-c3a389f83636
If overlapped view is hidden, layout manager does not resize this view and
later if view is visible, its geometry is wrong.


git-svn-id: https://root.cern.ch/svn/root/trunk@44365 27541ba8-7e3a-0410-8455-c3a389f83636
Remove #include "Riostream.h" from roofitcore/inc/RooCacheManager.h, which pulls in using namespace std.
Deal with the consequences.


git-svn-id: https://root.cern.ch/svn/root/trunk@44366 27541ba8-7e3a-0410-8455-c3a389f83636
changed ./configure option to enable c++11 from --build=c++11 to --enable-c++11.
In addition in RConfigure.h we have now the define:
#define R__USE_CXX11
if we compile with C++11 mode.


git-svn-id: https://root.cern.ch/svn/root/trunk@44370 27541ba8-7e3a-0410-8455-c3a389f83636
fix clang warning:
TXProofMgr.cxx:430:43: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
            while ((to->GetString()[from] == ' ')) { from++; }
                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~


git-svn-id: https://root.cern.ch/svn/root/trunk@44372 27541ba8-7e3a-0410-8455-c3a389f83636
add std:: and apply foxes for Solaris


git-svn-id: https://root.cern.ch/svn/root/trunk@44373 27541ba8-7e3a-0410-8455-c3a389f83636
add missing header and using namespace std


git-svn-id: https://root.cern.ch/svn/root/trunk@44374 27541ba8-7e3a-0410-8455-c3a389f83636
fix some remaining missing std::


git-svn-id: https://root.cern.ch/svn/root/trunk@44375 27541ba8-7e3a-0410-8455-c3a389f83636
remove depracated class ToyMCSamplerOld


git-svn-id: https://root.cern.ch/svn/root/trunk@44377 27541ba8-7e3a-0410-8455-c3a389f83636
remove deleted class ToyMCSamplerOld  from Linkdef file


git-svn-id: https://root.cern.ch/svn/root/trunk@44379 27541ba8-7e3a-0410-8455-c3a389f83636
remove "using namespace std" from Helper.h and add it in .cxx files


git-svn-id: https://root.cern.ch/svn/root/trunk@44382 27541ba8-7e3a-0410-8455-c3a389f83636
Add a bit more spaghetti :( : release event, if widget has slots, will execute some action
immediately, if this action is long enough (or "forever", like some data generation) - event translator
becomes non-reenterable - passive/implicit grabs are not cancelled yet, and this can affect futher GUI event
processing. This code must be refactored - I already have a headache just looking at it (after all, put events from Cocoa's queue into
one more queue???).


git-svn-id: https://root.cern.ch/svn/root/trunk@44389 27541ba8-7e3a-0410-8455-c3a389f83636
Add some comments, remove old commented code.


git-svn-id: https://root.cern.ch/svn/root/trunk@44390 27541ba8-7e3a-0410-8455-c3a389f83636
Add correct copyright notice into the header file


git-svn-id: https://root.cern.ch/svn/root/trunk@44391 27541ba8-7e3a-0410-8455-c3a389f83636
From Pere:
add support for the optional c++11 compiler flag.


git-svn-id: https://root.cern.ch/svn/root/trunk@44393 27541ba8-7e3a-0410-8455-c3a389f83636