Remove null assignment in destructor. Improve documentation


git-svn-id: https://root.cern.ch/svn/root/trunk@45155 27541ba8-7e3a-0410-8455-c3a389f83636
Quite risky and creepy modification: replace event dispatcher core.
ROOT's GUI uses nested event loops to work with popups/dialogs.
This require event dispatcher to be reenterable.
The only way to make it - add internal event queue (in addition to the
window manager's system event queue).

At the moment, DND is already broken.


git-svn-id: https://root.cern.ch/svn/root/trunk@45157 27541ba8-7e3a-0410-8455-c3a389f83636
DND is back. Fix TGCocoa::SendEvent - set fWindow member for event (before, I was directly calling
window->HandleEvent, so it wasn't required.


git-svn-id: https://root.cern.ch/svn/root/trunk@45158 27541ba8-7e3a-0410-8455-c3a389f83636
Add application delegate class to catch changes in a NSApplication state


git-svn-id: https://root.cern.ch/svn/root/trunk@45160 27541ba8-7e3a-0410-8455-c3a389f83636
Due to some reason Cocoa changes z-stack order for a borderless windows if a user switches between
applications using alt-tab (or other ways). This results in a quite disgusting behavior of popup windows.
Try to save/restore order of top-level windows in a NSApplicationDelegate methods -applicationWillResignActive:, -applicationDidBecomeActive:
(experimental code).


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


git-svn-id: https://root.cern.ch/svn/root/trunk@45162 27541ba8-7e3a-0410-8455-c3a389f83636
Added TGeoManager::fIsGeomCleaning flag to avoid useless iterations in the shape destructor


git-svn-id: https://root.cern.ch/svn/root/trunk@45163 27541ba8-7e3a-0410-8455-c3a389f83636
Don't leak the nested transactions.


git-svn-id: https://root.cern.ch/svn/root/trunk@45164 27541ba8-7e3a-0410-8455-c3a389f83636
Use size_t when reffering to sizes.


git-svn-id: https://root.cern.ch/svn/root/trunk@45165 27541ba8-7e3a-0410-8455-c3a389f83636
when checking if -std=c++11 compiler option exist use the compiler that is
selected via --with-cxx if set.


git-svn-id: https://root.cern.ch/svn/root/trunk@45166 27541ba8-7e3a-0410-8455-c3a389f83636
tentative fix for #95792


git-svn-id: https://root.cern.ch/svn/root/trunk@45169 27541ba8-7e3a-0410-8455-c3a389f83636
Add protection against corrupted ROOT File (wrong length stored in the file header)


git-svn-id: https://root.cern.ch/svn/root/trunk@45170 27541ba8-7e3a-0410-8455-c3a389f83636
don't set life line if self object gets destroyed in method call


git-svn-id: https://root.cern.ch/svn/root/trunk@45172 27541ba8-7e3a-0410-8455-c3a389f83636
Run the static initializers on commit transaction. Fixes bug#96277


git-svn-id: https://root.cern.ch/svn/root/trunk@45174 27541ba8-7e3a-0410-8455-c3a389f83636
Comparing the opaque ptrs of DeclGroupRefs is good enough for now.


git-svn-id: https://root.cern.ch/svn/root/trunk@45175 27541ba8-7e3a-0410-8455-c3a389f83636
Do not allow to commit random transaction.


git-svn-id: https://root.cern.ch/svn/root/trunk@45176 27541ba8-7e3a-0410-8455-c3a389f83636
Make revert declaration private. We should be working only on transaction level.


git-svn-id: https://root.cern.ch/svn/root/trunk@45177 27541ba8-7e3a-0410-8455-c3a389f83636
Do not stop at the first fail to revert declaration. Revert as much as possible.


git-svn-id: https://root.cern.ch/svn/root/trunk@45178 27541ba8-7e3a-0410-8455-c3a389f83636
For a simple call ResizeWindow/MapRaised Cocoa silently increases retain count for some window from 1 up to 6.
In the case of TGMsgBox + nested event loop this leads to a problem: autorelease pool will be drained only at the end
of outer loop's iteration, so if some window is deleted, it'll still stay on a screen untill the end of all nested loops.
Sure, ROOT dies brutally, since ROOT's widget is deleted already, but QurtzWindow is not.
Add a nested autorelease pool into ResizeWindow/MapRaised.


git-svn-id: https://root.cern.ch/svn/root/trunk@45179 27541ba8-7e3a-0410-8455-c3a389f83636
Cocoa window has several "dead" areas: titlebar, small (~4 pixels width) stripes at the top, bottom, right, left (you can resize window, using these areas).
As soon as we do not use native controls and use handmade menus, popups, etc. if use resizes window or moves it while a popup is open, ROOT's GUI 
starts to fall to pieces. Fortunately, for resize I still can catch mouse down event, send release event (to popup) and ignore this event
(thus, if any popup is open, you can not immediately resize the parent window - this is how it's done in X11.app).
The case with moving window (using its titlebar) is more complex - the first event simply  can not be ignored due to some reason - quartz window server  itself???).


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