whee-whee-wheel!!! :)


git-svn-id: https://root.cern.ch/svn/root/trunk@43933 27541ba8-7e3a-0410-8455-c3a389f83636
In case where the TTree has a dramatic dynamic range with a lots of very small entries
at the beginning and very large entries at the end, the size in bytes of the cluster for the
later entries will be very large (because of the cluster size in entries is large!).
TTreeCache::FillBuffer was always attempting to load complete clusters not matter the
size (even with the size was larger than 2GB!).

This patch resolves the issue by limiting the amount of memory used to
a) The requested size if more than one cluster fits in the cache
b) Twice the requested size if at least one basket per branch fits in the cache
c) Four time the requested size in the case where the cache can not even hold one 
   basket per branch.

The filling will restart at the next cluster boundary in the case a) and will
restart at the maximum of entry number read in the cache in the case b) and c).
Baskets that are below this boundary and did not fit in the cache will be read
individually.

In TTree::Streamer properly estimate the necessary cache size (this cache size
is used by TTree::Draw).


git-svn-id: https://root.cern.ch/svn/root/trunk@43934 27541ba8-7e3a-0410-8455-c3a389f83636
sed -i '' is not happy on Ubuntu 10.04.


git-svn-id: https://root.cern.ch/svn/root/trunk@43935 27541ba8-7e3a-0410-8455-c3a389f83636
Put -r denoting the latest revision number


git-svn-id: https://root.cern.ch/svn/root/trunk@43936 27541ba8-7e3a-0410-8455-c3a389f83636
Space as delimiter really means "any whitespace" for backward compatibility. And do not complain about trailing whitespace, again for backward compatibility. Fixes Savannah #93998.


git-svn-id: https://root.cern.ch/svn/root/trunk@43937 27541ba8-7e3a-0410-8455-c3a389f83636
Window title bar is a "dead zone" - there is no NSView<X11Window> objects there,
so it's possible, for example, to open a menu and move window (and menu bar will not receive
correct event and will "fell through" its main window.
Fix this - override -sendEvent: method for QuartzWindow and check if mouse event is "inside" titlebar.


git-svn-id: https://root.cern.ch/svn/root/trunk@43938 27541ba8-7e3a-0410-8455-c3a389f83636
Cursors - CreateCursor/SetCursor.
Quite funny, by Apple gives access only to a small subset of its own standard cursors, 
so developer can not, for example, use standard diagonal resize cursor.
Looks like people in Apple understand "think different" TOO LITERALLY.


git-svn-id: https://root.cern.ch/svn/root/trunk@43942 27541ba8-7e3a-0410-8455-c3a389f83636
Use pointingHandCursor for kPointer and openHandCursor for kHand.


git-svn-id: https://root.cern.ch/svn/root/trunk@43944 27541ba8-7e3a-0410-8455-c3a389f83636
In the Streamer, when set fCacheSize and fAutoFlush is negative, revert to the previous behavior of having fCacheSize also negative for consistency and backward compatiblity


git-svn-id: https://root.cern.ch/svn/root/trunk@43945 27541ba8-7e3a-0410-8455-c3a389f83636
Add a protection for empty directories (e.g. not containing any key). Solves the bug #94028, TBrowser crash trying to browse sub-root-directories in memory (https://savannah.cern.ch/bugs/?94028)


git-svn-id: https://root.cern.ch/svn/root/trunk@43949 27541ba8-7e3a-0410-8455-c3a389f83636
Fix coverity report #30838 (checked return)


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