Several optimizations in the low level PROOF event loop (TProofPlayer::Process):
  - Per-event calls to TEventIter::GetNextEvent are replaced by per-packet calls
    to a new function TEventIter::GetNextPacket and a for loop over the returned
    range;
  - Progress information is filled in on per-packet pace just before asking for
    a new packet, instead of being filled for each event;
  - In TProofProgressStatus, the relevant setters in were inlined, and the (expensive)
    calls to SetLastUpdate() reduced to the minimum required;
  - Status of objects is checked using bits instead of functions calls;
  - Check whether to dump memory info is done before calling CheckMemUsage.
  These optimizations allow to reduce dramatically the overhead introduced by the
  operations PROOF needs to perform during the event loop. A measurement of the
  overhead can be obtained from a very light computational task, for example,
  generating one random number and filling one histogram; executing this task
  within a PROOF-Lite session with 1 worker now takes only 1.8 times the time
  required by a straight loop in the parent ROOT session; the same number before
  was about 13. 

  The patch also introduces a couple of small changes enabling the use of
  TProofPlayerLocal to process selectors in the local session using the PROOF
  iteration mechanism; this is very useful for optimizations studies.

  Finally, a couple of missing protections were added in TProofPlayer.


git-svn-id: https://root.cern.ch/svn/root/trunk@44010 27541ba8-7e3a-0410-8455-c3a389f83636
fixes for Coverity (UNINIT and memory leak)


git-svn-id: https://root.cern.ch/svn/root/trunk@44011 27541ba8-7e3a-0410-8455-c3a389f83636
Coverity fixes (resource leaks)


git-svn-id: https://root.cern.ch/svn/root/trunk@44012 27541ba8-7e3a-0410-8455-c3a389f83636
fix SetLimits ctor (Coverity) 
improve some comments in FitUtil + debug code


git-svn-id: https://root.cern.ch/svn/root/trunk@44013 27541ba8-7e3a-0410-8455-c3a389f83636
Follow clang interface change in enumerator_iterator (thanks, Commander)


git-svn-id: https://root.cern.ch/svn/root/trunk@44014 27541ba8-7e3a-0410-8455-c3a389f83636
set<string> already in cintdlls.


git-svn-id: https://root.cern.ch/svn/root/trunk@44015 27541ba8-7e3a-0410-8455-c3a389f83636
Add missing protection (Coverity) and fix fucntion names in printouts


git-svn-id: https://root.cern.ch/svn/root/trunk@44016 27541ba8-7e3a-0410-8455-c3a389f83636
Fixes for coverity issues


git-svn-id: https://root.cern.ch/svn/root/trunk@44017 27541ba8-7e3a-0410-8455-c3a389f83636
Remove C++11 constructs from core/macosx, welcome back to 90-s.


git-svn-id: https://root.cern.ch/svn/root/trunk@44018 27541ba8-7e3a-0410-8455-c3a389f83636
Fix for Coverity issue


git-svn-id: https://root.cern.ch/svn/root/trunk@44019 27541ba8-7e3a-0410-8455-c3a389f83636
Remove deleted declaration and nullptr keyword from quartz module.


git-svn-id: https://root.cern.ch/svn/root/trunk@44020 27541ba8-7e3a-0410-8455-c3a389f83636
Fix for Coveruty reports


git-svn-id: https://root.cern.ch/svn/root/trunk@44021 27541ba8-7e3a-0410-8455-c3a389f83636
Fix for Coverity report


git-svn-id: https://root.cern.ch/svn/root/trunk@44022 27541ba8-7e3a-0410-8455-c3a389f83636
Fix warning introduced by previous fix


git-svn-id: https://root.cern.ch/svn/root/trunk@44023 27541ba8-7e3a-0410-8455-c3a389f83636
Make sure files are always closed (Coverity)


git-svn-id: https://root.cern.ch/svn/root/trunk@44024 27541ba8-7e3a-0410-8455-c3a389f83636
Make sure files are always closed (Coverity)


git-svn-id: https://root.cern.ch/svn/root/trunk@44025 27541ba8-7e3a-0410-8455-c3a389f83636
Remove C++11 constructs from graf2d/cocoa.


git-svn-id: https://root.cern.ch/svn/root/trunk@44026 27541ba8-7e3a-0410-8455-c3a389f83636
Remove remaining C++11 features.


git-svn-id: https://root.cern.ch/svn/root/trunk@44027 27541ba8-7e3a-0410-8455-c3a389f83636
As soon as Cocoa does not have normal windows (and you can feel this as soon as you go against Cocoa's way == ROOT's X11 toolkit),
I have to somehow emulate "re-composition" - in a ROOT's GUI, there are classes (parent windows) which
can try to re-draw themselves, without re-painting children after that. Since in Cocoa it's not a real window,
contents of children will be destroyed. Force re-paint of children subviews if any in X11::CommandBuffer::Flush.


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

  - Fix issue with the specification of the working template in 'xpd.multiuser'
  - Make sure that the username enforced in the config file is honoured when
    executing admin actions like Reset; fixes an issue with PoD@gLite .


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