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

Log of /trunk/gui/gui/src/TGFSComboBox.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: 17527 byte(s)
Diff to previous 43368
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 43368 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 10:25:36 2012 UTC (2 years, 10 months ago) by bellenot
File length: 17482 byte(s)
Diff to previous 43365
Much simpler way of handling $HOME and $ROOTSYS

Revision 43365 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 09:34:06 2012 UTC (2 years, 10 months ago) by bellenot
File length: 17529 byte(s)
Diff to previous 43362
Fix coverity reports #42884 & #42885

Revision 43362 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 15 11:20:38 2012 UTC (2 years, 10 months ago) by bellenot
File length: 17483 byte(s)
Diff to previous 39094
- Solve a problem when the directory name is similar to $ROOTSYS (e.g. /home/user/rootdev and /home/user/root, only "dev" was displayed, stripping off $ROOTSYS)
- Properly handle backslashes as directory separators on Windows

Revision 39094 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 4 13:36:01 2011 UTC (3 years, 8 months ago) by bellenot
File length: 17187 byte(s)
Diff to previous 37379
Improve highlight (do it as in the regular TGListBox)

Revision 37379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 18:37:12 2010 UTC (4 years, 1 month ago) by bellenot
File length: 17212 byte(s)
Diff to previous 35582
Use the correct length parameter when using strlcpy with substrings. Fixes the problem reported on the forum (http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=11749)

Revision 35582 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 13:38:27 2010 UTC (4 years, 4 months ago) by bellenot
File length: 17208 byte(s)
Diff to previous 35518
Add the "keep_names" option when saving the GUI source, to allow the users to change the name of any frame in the ROOT Gui Builder and more important to keep it across the different load/edit/save cycles. This should solve a problem reported on the forum at: http://root.cern.ch/phpBB3//viewtopic.php?f=3&t=11216

Revision 35518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 09:54:10 2010 UTC (4 years, 4 months ago) by bellenot
File length: 17079 byte(s)
Diff to previous 33920
Replace several strncpy and strncat by strlcpy and strlcat

Revision 33920 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 15 15:10:33 2010 UTC (4 years, 7 months ago) by bellenot
File length: 17188 byte(s)
Diff to previous 33907
replace strcat by strncat to avoid possible buffer overflow (coverity)

Revision 33907 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 15 10:26:47 2010 UTC (4 years, 7 months ago) by bellenot
File length: 17151 byte(s)
Diff to previous 32577
Fix potential buffer not null terminated (coverity)

Revision 32577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 12 07:54:27 2010 UTC (4 years, 10 months ago) by bellenot
File length: 17085 byte(s)
Diff to previous 23664
Fix several potential buffer overflow (coverity)

Revision 23664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 6 14:29:46 2008 UTC (6 years, 8 months ago) by rdm
File length: 16938 byte(s)
Diff to previous 23628
From Bertrand:
- Added information on the types of volumes returned by 
  TWinNTSystem::GetVolumes():
  - Type of drive: local, removable, network, CD/DVD
  - File System: NTFS, AFS, NFS
- Adapted TGFSCombobox and TGFileBrowser accordingly to these new info
- Added two new icons to represent Network drives on Windows

Revision 23628 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 1 07:48:11 2008 UTC (6 years, 8 months ago) by brun
File length: 15751 byte(s)
Diff to previous 23625
Fix compilation warnings

Revision 23625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 1 06:39:40 2008 UTC (6 years, 8 months ago) by rdm
File length: 15749 byte(s)
Diff to previous 23115
From bertrand:
- Added new method TList *TSystem::GetVolumes(Option_t *opt)
  returning the list of hard drives on Windows when opt = "all"
  or the current hard drive when opt = "cur"
  the return type is a TList of TObjString's containing the drive letters,
  i.e: for drives C: G: H: K:. The TList must be deleted by the user.
- Implement the ability to browse available (mounted) drives on Windows.
- Added list of available (mounted) drives in TGFSCombobox on Windows.

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: 13705 byte(s)
Copied from: trunk/gui/src/TGFSComboBox.cxx revision 23114
Diff to previous 20882
moved to directory "gui" the following directories:

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

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/TGFSComboBox.cxx
File length: 13705 byte(s)
Diff to previous 20411
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 20411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 19 12:37:58 2007 UTC (7 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 13705 byte(s)
Diff to previous 19826
remove conditional around include of RConfigure.h:

#ifdef R__HAVE_CONFIG
#include "RConfigure.h"
#endif 

Having this conditional caused RConfigure.h to be missing from the .d
files and hence these files would not be recompiled after re-configuring
using --prefix.

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/TGFSComboBox.cxx
File length: 13734 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/TGFSComboBox.cxx
File length: 13788 byte(s)
Diff to previous 17352
remove :$ from tag line

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/TGFSComboBox.cxx
File length: 13798 byte(s)
Diff to previous 16796
Remove dependency on TMath.h

Revision 16796 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 16 17:18:32 2006 UTC (8 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 13818 byte(s)
Diff to previous 16157
Changes to get rid of the config.h and HAVE_CONFIG define. These were way
too trivial (just do a locate config.h to see how many there are):
- replace occurances of config.h by RConfigure.h
- add #warning in config.h that is should not be used
- change HAVE_CONFIG to R__HAVE_CONFIG

Revision 16157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 29 15:55:01 2006 UTC (8 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 13813 byte(s)
Diff to previous 16148
Fix coding conventions violations.

Revision 16148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 28 15:10:46 2006 UTC (8 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 13786 byte(s)
Diff to previous 15672
From Christian:
Fix buffer overflow in case system is configured with --prefix.

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/TGFSComboBox.cxx
File length: 13080 byte(s)
Diff to previous 14985
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 14985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 10 14:06:06 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 13072 byte(s)
Diff to previous 13278
use TSystem::HomeDirectory() instead of TSystem::Getenv("HOME").

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/TGFSComboBox.cxx
File length: 13072 byte(s)
Diff to previous 12644
From Ilka:
code style fixes (comments, descriptions and identation).

Revision 12644 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 07:33:37 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 12887 byte(s)
Diff to previous 12525
From Ilka:
fixing of coding style violations.

Revision 12525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 23 17:00:41 2005 UTC (9 years, 5 months ago) by brun
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 12821 byte(s)
Diff to previous 10904
From Bertrand:
Added several protections in TGXXX class constructors,
used when browsing ROOT classes.

Revision 10904 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 12 18:39:30 2005 UTC (10 years ago) by brun
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 12795 byte(s)
Diff to previous 10719
From Valeriy Onuchin:
- new concept of "pseudo-window" introduced.
  pseudo-window - is an object inherited from TGWindow which
  is not created by window system (X11 or M$ Windows).
  It does not consume window system resouces.

  The main use-case of pseudo-windows is GUI containers
  with very large number of items. For example, listviews, listboxes,
  where listview/listbox items/entries are pseudo-windows.
  Pseudo-window  has "window id" equal to zero.
  In order to "activate pseudo-window concept" the parent should
  have fIsMapSubwindows dat member to be kFALSE.
  So, it's backward compatible,  setting fIsMapSubwindows=kTRUE in parent window
  will activate normal behavior, i.e. will be created in window system.

 Introduction of  "pseudo-window concept" forced the changes in
 TGX11, TGWin32 classes to avoid  TVirtualX methods execution when
 "window id" is NULL (the case of  pseudo-window).

 Introduction of pseudo-windows which do not consume window system resouces
 greately improved  performance of  TGListView, TGListBox, TGComboBox objects.

 Now it's possible to have these containers with more than 10000 items.

- some optimization in TGLBContainer drawing
- add SetWindowName to most GUI classes. It's very usefull for GUI debugging.

Revision 10719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 12:04:53 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 12756 byte(s)
Diff to previous 10718
fix up some comments.

Revision 10718 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 11:41:51 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 12718 byte(s)
Diff to previous 8615
From valeriy Onuchin:
- fix side effects of the last list box changes  in drawing of file combobox and in selection of list box.

Revision 8615 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 20 14:48:01 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 12522 byte(s)
Diff to previous 7547
From Valeriy

Remove ifdefs on GDK_WIN32

Revision 7547 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 7 22:47:53 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 12609 byte(s)
Diff to previous 7520
Add missing parenthesis in expressions like
      if (GetOptions() == (kSunkenFrame | kDoubleBorder)) {

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/TGFSComboBox.cxx
File length: 12607 byte(s)
Diff to previous 6663
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 6663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 11:55:32 2003 UTC (11 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 11574 byte(s)
Diff to previous 3317
major changes in the resource management of the GUI classes. Introduced the
new class TGResourcePool which loads and keeps track of the 3 main resource
pools: fonts, picture and graphics contexts. Fonts are now handled via the
new TGFont class (and TGFontPool). In the past the loading of these resources
was done in TGClient and required all GUI classes to have TGClient as friend
to have their global statics initialized by TGClient. Adding a new widget
required TGClient.cxx to be changed too. This was obviously not good.
In addition it is now possible to find the full definition of the original
resource back based on a resource handle (GContext_t or FontStruct_t yielding
a TGGC or TGFont) which is needed for the SavePrimitive() functionality.

The resource pool can be found via TGClient (e.g. gClient->GetResourcePool()).
To see all active graphics contexts, fonts and pictures do:
   gClient->GetResourcePool()->GetGCPool()->Print()
   gClient->GetResourcePool()->GetFontPool()->Print()
   gClient->GetResourcePool()->GetPicturePool()->Print()
For more examples see the widget source code.

These changes are largely backward compatible except maybe for some low
level 3rd party widgets that use some TGFrame internals. In these cases
the following sed command will patch the code:
   sed -e "s/fgBlackGC()/GetBlackGC()()/g" \
       -e "s/fgWhiteGC()/GetWhiteGC()()/g" \
       -e "s/fgHilightGC()/GetHilightGC()()/g" \
       -e "s/fgShadowGC()/GetShadowGC()()/g" \
       -e "s/fgBckgndGC()/GetBckgndGC()()/g" \
       widget.cxx > widget.cxx.new

Revision 3317 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 28 16:05:42 2001 UTC (13 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 11208 byte(s)
Diff to previous 2439
win32gdk case added

Revision 2439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 22 16:10:23 2001 UTC (13 years, 7 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 11119 byte(s)
Diff to previous 2089
make code more const char* correct (i.e. "strings" must be const char*) and
declare several functions extern "C". Mods by Dave Morrison.

Revision 2089 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 27 22:33:59 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 11097 byte(s)
Diff to previous 714
fix small memory leak.

Revision 714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 4 23:40:08 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 11078 byte(s)
Diff to previous 685
remove some compiler warnings and replace gVirtualX->SelectInput() calls
by TGFrame::AddInput().

Revision 685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 08:57:05 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 11084 byte(s)
Diff to previous 312
many change connected with the introduction of the TGGC (graphics context)
class (all backward compatible). Also many of the static default GC's and
fontstructs are now available to the user. This can simplify code in many
places. See change in guitest.cxx.

Revision 312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 08:41:58 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGFSComboBox.cxx
File length: 10712 byte(s)
Diff to previous 3
cosmetic change

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/TGFSComboBox.cxx
File length: 10652 byte(s)
Copied from: branches/rdm/gui/src/TGFSComboBox.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/TGFSComboBox.cxx
File length: 10652 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