[root] / trunk / gui / gui / src / TGLayout.cxx Repository:
ViewVC logotype

Log of /trunk/gui/gui/src/TGLayout.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 36862 byte(s)
Diff to previous 42600
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 42600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 12 16:15:58 2012 UTC (3 years ago) by bellenot
File length: 36682 byte(s)
Diff to previous 38754
- Add protections against potential UInt_t underflows in Layout calculations

Revision 38754 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 6 13:26:09 2011 UTC (3 years, 9 months ago) by bellenot
File length: 36610 byte(s)
Diff to previous 38443
Take into account kLHintsExpandX in TGTileLayout and TGListLayout (for TGListView)

Revision 38443 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 16 11:15:27 2011 UTC (3 years, 10 months ago) by bellenot
File length: 36380 byte(s)
Diff to previous 35956
Ignore "Unused pointer value" coverity reports

Revision 35956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 1 06:57:12 2010 UTC (4 years, 3 months ago) by bellenot
File length: 36314 byte(s)
Diff to previous 35955
cosmetics

Revision 35955 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 1 06:56:04 2010 UTC (4 years, 3 months ago) by bellenot
File length: 36313 byte(s)
Diff to previous 31669
Fix dereference after null check (coverity)

Revision 31669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 15:15:47 2009 UTC (5 years, 1 month ago) by bellenot
File length: 36297 byte(s)
Diff to previous 25278
- Add missing initializations (coverity)
- Fix potential memory leaks (coverity)
- Add protections against possible NULL pointers (coverity)

Revision 25278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 27 13:45:05 2008 UTC (6 years, 4 months ago) by bellenot
File length: 36281 byte(s)
Diff to previous 23115
- Add protections against potential UInt_t underflows 
  in Layout calculations

Revision 23115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 13:35:37 2008 UTC (6 years, 9 months ago) by rdm
File length: 36153 byte(s)
Copied from: trunk/gui/src/TGLayout.cxx revision 23114
Diff to previous 20928
moved to directory "gui" the following directories:

fitpanel, ged, gui, guibuilder, guihtml, qtgsi, qtroot, sessionviewer

Revision 20928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 15:28:31 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGLayout.cxx
File length: 36153 byte(s)
Diff to previous 20882
Fixed valgrind message: Conditional jump or move depends on uninitialised value(s)

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 36143 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 36143 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 36198 byte(s)
Diff to previous 19665
remove :$ from tag line

Revision 19665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 22 08:50:02 2007 UTC (7 years, 5 months ago) by antcheva
Original Path: trunk/gui/src/TGLayout.cxx
File length: 36208 byte(s)
Diff to previous 18975
From Valeriy Onuchin (tested by Bertrand):

o TGLayoutManager::IsModified method was overloaded.
  This method is used to indicate that sub frames
  changed/unchanged their positions/sizes after layout.

  For example, in some cases positions&sizes of sub frames
  can be unchanged after calling Layout method
  (e.g. for TGTileLayout manager).
  TGLayoutManager::IsModified will return kFALSE.

o  TGListBox.h,cxx, TGCanvas.h,cxx, TGListTree.h,cxx,
   TGListView.h,cxx

   - new painting technique was implemented:
     1. repaint only exposed/dirty regions.
        Previously the whole view port (or even container frame)
        was repainted.
     2. use double-buffering (using back plane pixmap) during
        repainting.
     That allows to eliminate flickering during resizing,
     scrolling, exposing/overlapping.
   - several bugs were fixed:
     o keyboard navigation in list view, list box, list tree
     o resizing columns (details view) in list view
       when  horizontal scroll bar not in zero position.
     o in list view (details view) buttons were moved when
       it was resized.
     o extra unnecessary repainting in list view, list tree
       were removed.
     o probably I missed something to mention .

o  TGScrollBar
  - bug fix: increment value was reset to 1 after button release.
  - do not redraw scroll button if it's width/height was unchanged.
    That reduces flickering

Revision 18975 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 7 08:45:21 2007 UTC (7 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGLayout.cxx
File length: 35262 byte(s)
Diff to previous 17352
From Valeriy O.
New data member Bool_t fModified of TGTileLayout class.
New virtual method TGLayoutManager::IsModified() and
TGTileLayout::IsModified(). This method is used to indicate
that subframes changed their positions after layout.
For example, for TGTileLayout and derived layout managers
after calling Layout method positions of frames can be unchanged.
So, the returned value will be kFALSE.

Revision 17352 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 07:57:59 2007 UTC (8 years ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34839 byte(s)
Diff to previous 16732
Remove dependency on TMath.h

Revision 16732 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 10 10:47:10 2006 UTC (8 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34854 byte(s)
Diff to previous 15672
- make saving of  TGLayoutHits flexible (having a coma separator is optional)

Revision 15672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34800 byte(s)
Diff to previous 15253
from Axel:
Change the signature of SavePrimitive from

  void SavePrimitive(ofstream &out, Option_t *option);
to
  void SavePrimitive(ostream &out, Option_t *option = "");

With this change one can do, eg
   myhist.SavePrimitive(std::cout);

WARNING: do rm -f tree/src/*.o

Revision 15253 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 31 09:02:38 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34728 byte(s)
Diff to previous 14735
- fixed coding conventions violations

Revision 14735 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 12:32:43 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34644 byte(s)
Diff to previous 13278
- layout changes of generated code

Revision 13278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 17 19:09:28 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34652 byte(s)
Diff to previous 12656
From Ilka:
code style fixes (comments, descriptions and identation).

Revision 12656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 13:33:08 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34654 byte(s)
Diff to previous 12504
from Ilka:
more coding convention fixes.

Revision 12504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 18 11:54:27 2005 UTC (9 years, 5 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34653 byte(s)
Diff to previous 10403
From Ilka:
TGButtonGroup.cxx:
  - SavePrimitive methods generate the code for any widget included in
    a button group, not only for buttons.
TGLayout.cxx
  - default layout hints need to be generated in the code for AddPopup()
    methods of menu bar.

Revision 10403 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 25 12:39:56 2004 UTC (10 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34591 byte(s)
Diff to previous 10373
remove warning about unreachable code.

Revision 10373 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 12:07:54 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34324 byte(s)
Diff to previous 9964
From Valeriy Onuchin:
- in TGContainer::RemoveAll() - TGFrameElements were not deleted.
- in TGComposteFrame dtor. - for all frames and layout hints set frame_elements to ZERO.
- in TGComposteFrame::Cleanup - remove useless code.
- in TGComposteFrame::MapSubwindows - add sanity check.
- in TGLayoutHints::UpdateLayoutHints  - small optimization.
-in TGLBContainer  - TGFrameElements were not deleted.
-in TRootBrowser::RemoveAll  - TGFrameElements were not deleted.

Revision 9964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 9 11:02:35 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34344 byte(s)
Diff to previous 9944
From valeriy Onuchin
Remove code that was generating a seg fault under windows

Revision 9944 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 8 07:15:56 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34717 byte(s)
Diff to previous 9935
From valeriy Onuchin:
- remove code remained from my development version

Revision 9935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 09:31:08 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 34794 byte(s)
Diff to previous 7987
From Valeriy Onuchin:
- TGLayoutHints now derived also from  TRefCnt
- pointer to frame element containing this layout_hints added
- setter methods added to TGLayoutHints (used in guibuilding)
- Print methods added to TGLayoutHints and TGFrameElement classes.
   Usefull for debugging, e.g. "compositeFrame->GetList()->Print()"

Revision 7987 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 23 15:38:50 2004 UTC (11 years ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 31495 byte(s)
Diff to previous 7790
From Ilka:
fix for bug 1921 in TGMatrixLayout::Layout().

Revision 7790 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 19 16:36:16 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 31443 byte(s)
Diff to previous 7717
From Valeriy Onuchin:

- small fix in TGVerticalLayout, TGHorizontalLayout

Revision 7717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 10 15:52:49 2003 UTC (11 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 31526 byte(s)
Diff to previous 7715
cosmetic correction.

Revision 7715 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 10 15:36:32 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 31521 byte(s)
Diff to previous 7714
Fixes in latest Valeriy patch to fix some warnings

Revision 7714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 10 15:33:39 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 31509 byte(s)
Diff to previous 7693
From Valeriy Onuchin:

- nasty bug in TGHorizontalLayout (TGVerticalLayout) solved.
  The bug was in wrong Layout algorithm when several frames
  where added with kLHintsCenterX (kLHintsCenterY).
  The bug origination is traced to typos in the code from http://xclass.sourceforge.net/
  because it's still where.
    Thanks to Frank Lavaud and Ilka who discovered it.

Revision 7693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 5 01:17:03 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 30859 byte(s)
Diff to previous 7683
From Valeriy Onouchin

- flicker-free scrolling is implemented for TGContainer class.
  Scrolling through listview looks much better now. One of the nice
  "side effects" of solving  "limited list box entries" bug.
- followups mods after solving "missing horizontal scroll bar in detailed view" bug
  TGListDetailsLayout constructor modified for SavePrimitives method.

Revision 7683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 3 00:25:19 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGLayout.cxx
File length: 30841 byte(s)
Diff to previous 7679
From Valeriy Onuchin:

- SetDefaultWidth, SetDefaultHeight methods introduced to
  TGLayoutManager class. That  allows to force setting default size to
  listview container.
  Along with changes in listview related classes that fixes
   1. "missing horizontal scroll bar in detailed view" bug.
   2. "mess in the names in detailed view" bug.

Revision 7679 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 2 00:08:41 2003 UTC (11 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 30822 byte(s)
Diff to previous 7520
From Valeriy:
- mods in TGVerticalLayout::Layout(), TGHorizontalLayout::Layout() methods:
  Protections added against assigning negative value to "UInt_t type variable".
  That fixes "two overlapping buttons problem under windows".

Revision 7520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 5 13:08:26 2003 UTC (11 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 30477 byte(s)
Diff to previous 2606
From Ilka:
Any ROOT GUI can now be saved as a macro. Executing this macro brings back
the current GUI (minus the action handling). This very important development
allows to get easily the source for any GUI, which can then be inspected or
used to create other GUI's. Also this will allow a GUI builder to save and
restore GUI's.

To save the source of a GUI use the methods TGMainFrame::SaveSource() or
TGTransientFrame::SaveSource(), where the latter saves the source for dialogs.

To trigger the saving of any GUI just use ctrl-s.

Revision 2606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 26 16:10:40 2001 UTC (13 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 25893 byte(s)
Diff to previous 798
nasty problem where a heigh (UInt_t) became negative and thus very
large positive. Was visible in TGShutter when reducing the main window
to minimal size.

Revision 798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 20 12:22:08 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 25761 byte(s)
Diff to previous 3
updated some comments.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGLayout.cxx
File length: 25630 byte(s)
Copied from: branches/rdm/gui/src/TGLayout.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/gui/src/TGLayout.cxx
File length: 25630 byte(s)
Initial import of ROOT into CVS

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9