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

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

Parent Directory Parent Directory


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

Revision 43949 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 25 20:38:17 2012 UTC (2 years, 8 months ago) by bellenot
File length: 64964 byte(s)
Diff to previous 43529
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)

Revision 43529 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 28 13:25:15 2012 UTC (2 years, 9 months ago) by bellenot
File length: 64871 byte(s)
Diff to previous 42611
Fix a memory leak when browsing TList inside a file (don't read the list content each time one click on the list). Thanks Axel and Martin Vala for the test case.

Revision 42611 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 13:24:13 2012 UTC (3 years ago) by bellenot
File length: 64811 byte(s)
Diff to previous 41891
Fix coverity #35456 (unchecked dynamic_cast)

Revision 41891 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 10 22:46:31 2011 UTC (3 years, 2 months ago) by pcanal
File length: 64761 byte(s)
Diff to previous 41256
Remove all assigned but unused variable discovered by g++ 4.6.1 (including one completely nop function)

Revision 41256 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 7 09:33:56 2011 UTC (3 years, 3 months ago) by bellenot
File length: 64979 byte(s)
Diff to previous 41179
Fix coverity report #34548 (Resource leak)

Revision 41179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 08:45:22 2011 UTC (3 years, 3 months ago) by bellenot
File length: 64987 byte(s)
Diff to previous 41148
Fix Coverity reports (dereference null return value, unchecked return value and resource leak)

Revision 41148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 13:38:33 2011 UTC (3 years, 3 months ago) by bellenot
File length: 64800 byte(s)
Diff to previous 40398
Fix coverity reports (resource leak)

Revision 40398 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 29 07:37:23 2011 UTC (3 years, 5 months ago) by bellenot
File length: 64800 byte(s)
Diff to previous 40393
Fix coverity reports (security coding)

Revision 40393 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 28 14:35:28 2011 UTC (3 years, 5 months ago) by bellenot
File length: 64783 byte(s)
Diff to previous 40383
Allow to enter an empty string to disable filtering in the browser (implement a hack in the TGInputDialog to detect if the Cancel button has been pressed). Thanks to Axel for the suggestion.

Revision 40383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 28 07:46:59 2011 UTC (3 years, 5 months ago) by bellenot
File length: 64670 byte(s)
Diff to previous 39942
A "Filter" picture button has been added in the file browser, and a filtering mechanism has been implemented, as requested on <a href="https://savannah.cern.ch/bugs/?84696>savannah</a>. It is now possible to filter the content of several files/folders, each one having its own filtering expression.

Revision 39942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 24 12:42:12 2011 UTC (3 years, 7 months ago) by bellenot
File length: 59585 byte(s)
Diff to previous 39457
Check for number of keys in TDirectory, not only in TFile. This should solve potential problem with many objects (e.g. TH1) in directories, as repported on the forum (http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=12984)

Revision 39457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 14:34:20 2011 UTC (3 years, 7 months ago) by bellenot
File length: 59580 byte(s)
Diff to previous 39066
Remove extra spaces in the drawing option list

Revision 39066 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 2 14:30:34 2011 UTC (3 years, 8 months ago) by bellenot
File length: 59593 byte(s)
Diff to previous 39065
Fix compilation warnings (‘l_closed’ and ‘l_opened’ may be used uninitialized in this function)

Revision 39065 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 2 14:22:19 2011 UTC (3 years, 8 months ago) by bellenot
File length: 59537 byte(s)
Diff to previous 38844
- Make shortcuts working on Windows (should solve the problem reported on the forum: http://root.cern.ch/phpBB3//viewtopic.php?f=3&t=12616)
- Create special icons for symlinks (shortcuts) in the browser (add a small arrow on bottom left corner of the original icon)

Revision 38844 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 14 12:35:01 2011 UTC (3 years, 9 months ago) by bellenot
File length: 56570 byte(s)
Diff to previous 38537
Create a new (flat) style for toolbar and html browser navigation buttons. This is also enabled/disabled via the GUI.Style entry in system.rootrc

Revision 38537 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 21 13:38:52 2011 UTC (3 years, 10 months ago) by bellenot
File length: 56473 byte(s)
Diff to previous 38457
Fix a problem when browsing geometries (TGeoManager must not be treated as a regular TDirectory)

Revision 38457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 16 14:34:15 2011 UTC (3 years, 10 months ago) by bellenot
File length: 56440 byte(s)
Diff to previous 38379
Ignore unreachable (dead) code report (coverity)

Revision 38379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 11 11:26:05 2011 UTC (3 years, 10 months ago) by bellenot
File length: 56412 byte(s)
Diff to previous 38343
Allow user to specify any custom filter (e.g. *.png) in the filter combo box

Revision 38343 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 9 15:49:34 2011 UTC (3 years, 10 months ago) by bellenot
File length: 55998 byte(s)
Diff to previous 36426
- Replace "ACP" to "ALP" to be compatible with the double-click default option
- Remove "ALP" option from the browser

Revision 36426 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 26 18:03:52 2010 UTC (4 years, 2 months ago) by bellenot
File length: 56041 byte(s)
Diff to previous 36422
Add directories in list tree items, to be able to properly change directory (see TGFileBrowser::Chdir(TGListTreeItem *item))

Revision 36422 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 26 12:51:50 2010 UTC (4 years, 2 months ago) by bellenot
File length: 55935 byte(s)
Diff to previous 35325
Don't replace the TKey by the object itself when reading it from file, to avoid deletion of the list tree item by RecursiveRemove() e.g. when drawing TGraph (with option alp) from a file. It is better to read the object each time anyway, as the object may have changed in the file. This should fix the bug #74227, TBrowser crashes if a TGraph of TCanvas object is opened again (https://savannah.cern.ch/bugs/?74227)

Revision 35325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 16 10:36:22 2010 UTC (4 years, 4 months ago) by bellenot
File length: 55435 byte(s)
Diff to previous 35020
Fix potential null pointer dereference (coverity)

Revision 35020 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 25 17:33:26 2010 UTC (4 years, 5 months ago) by bellenot
File length: 55409 byte(s)
Diff to previous 34656
- Add missing variable initialisations
- Add protections against possible null pointers. This should fix the bug #71758: DoubleClicked(NULL) called by TGFileBrowser::Update (https://savannah.cern.ch/bugs/?71758)

Revision 34656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 29 14:08:32 2010 UTC (4 years, 5 months ago) by bellenot
File length: 55322 byte(s)
Diff to previous 34293
Fix a couple of coverity reports

Revision 34293 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 2 09:55:14 2010 UTC (4 years, 6 months ago) by bellenot
File length: 55308 byte(s)
Diff to previous 34286
Solve a problem reported on the forum (http://root.cern.ch/phpBB3//viewtopic.php?f=3&t=10668): When a tree is in a a TFolder, it is not attached to any directory. So attach it to the current directory (gDirectory)

Revision 34286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 20:38:57 2010 UTC (4 years, 6 months ago) by rdm
File length: 54847 byte(s)
Diff to previous 33821
fix format errors related to TString::Form(), TString::Format(), Form()
and Printf().

Revision 33821 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 14:08:36 2010 UTC (4 years, 7 months ago) by bellenot
File length: 54728 byte(s)
Diff to previous 33820
Fix "Dereference before null check" coverity report

Revision 33820 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 14:01:35 2010 UTC (4 years, 7 months ago) by bellenot
File length: 54708 byte(s)
Diff to previous 33811
Fix one potential "Use after free" coverity report and one potential memory leak (coverity)

Revision 33811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 09:50:50 2010 UTC (4 years, 7 months ago) by bellenot
File length: 54474 byte(s)
Diff to previous 33800
Added the possibility to display the size of directories, tree, and objects associated to keys inside Root files, or any kind of browsable object, as soon as their GetObjectInfo() method returns a long long int formatted in a const char * ("%lld")

Revision 33800 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 9 14:13:06 2010 UTC (4 years, 7 months ago) by bellenot
File length: 53224 byte(s)
Diff to previous 33797
Set pointers to 0 when deleting objects related to list tree items

Revision 33797 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 9 13:10:15 2010 UTC (4 years, 7 months ago) by bellenot
File length: 53113 byte(s)
Diff to previous 33760
- Better handling of ROOT file contents (e.g. for editing properties)
- Remove duplicated and unreachable code

Revision 33760 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 7 10:04:44 2010 UTC (4 years, 7 months ago) by bellenot
File length: 53766 byte(s)
Diff to previous 33618
Allow to change graphic properties (if any) via the context menu from the browser (by opening a ged editor)

Revision 33618 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 27 06:51:26 2010 UTC (4 years, 7 months ago) by bellenot
File length: 51807 byte(s)
Diff to previous 32843
- Implement alphabetical sorting of the current directory
- Added a "alphabetical sort" picture button (toggle)
- Added a "refresh" picture button
- Improved the refresh mechanism (check if files sill exist in the current directory)

Revision 32843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 31 06:48:46 2010 UTC (4 years, 9 months ago) by bellenot
File length: 48378 byte(s)
Diff to previous 32684
Only set drag and drop source property if the object is not NULL and inherits from TObject

Revision 32684 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 19 13:57:42 2010 UTC (4 years, 10 months ago) by bellenot
File length: 48321 byte(s)
Diff to previous 32578
Fix a problem of double deletion of cached pictures in the file browser. This should fix the bug reported in the forum: 
http://root.cern.ch/phpBB2/viewtopic.php?t=10055
And in savannah: https://savannah.cern.ch/bugs/?64596

Revision 32578 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 12 08:08:46 2010 UTC (4 years, 10 months ago) by bellenot
File length: 48286 byte(s)
Diff to previous 32556
Fix potential NULL pointer dereferencing (coverity)

Revision 32556 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 11 15:10:57 2010 UTC (4 years, 10 months ago) by bellenot
File length: 48266 byte(s)
Diff to previous 32516
Replaced several strcpy by strncpy and rempoved a potential memory leak (coverity reports)

Revision 32516 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 10 11:31:07 2010 UTC (4 years, 10 months ago) by bellenot
File length: 48274 byte(s)
Diff to previous 32186
Fix bug #64082: Crash using new TBrowser
This was happening when looking for an icon associated with a class for which TClass::GetClass(class_name) was returning 0

Revision 32186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 2 14:47:49 2010 UTC (4 years, 11 months ago) by bellenot
File length: 48284 byte(s)
Diff to previous 31663
Add protection against possible null pointer and remove dead (unreachable) code (coverity)

Revision 31663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 14:51:42 2009 UTC (5 years, 1 month ago) by bellenot
File length: 48210 byte(s)
Diff to previous 31488
- Add members initialization (coverity)
- Fix potential memory leaks (coverity)
- Add protections against possible NULL pointers (coverity)

Revision 31488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 1 16:26:21 2009 UTC (5 years, 1 month ago) by bellenot
File length: 48166 byte(s)
Diff to previous 30090
Dicsonnect signals when deleting the file browser

Revision 30090 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 9 15:17:46 2009 UTC (5 years, 4 months ago) by bellenot
File length: 48058 byte(s)
Diff to previous 30077
Attempt to fix the problem reported here: http://root.cern.ch/phpBB2/viewtopic.php?p=38275
The TBrowser always load the 'latest' cycle no matter which icon you click on (ie. mytree;2 or mytree;1)

Revision 30077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 9 07:24:15 2009 UTC (5 years, 4 months ago) by bellenot
File length: 47500 byte(s)
Diff to previous 29885
Emit signal when switching tab, to switch also the menu bar

Revision 29885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 24 14:19:56 2009 UTC (5 years, 5 months ago) by bellenot
File length: 47501 byte(s)
Diff to previous 29533
Automatically switch to the tab containing the current canvas (if any) when e.g. drawing a histogram by double-clicking on its list tree item in a root file 
Thanks to Axel for the suggestion.

Revision 29533 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 23 08:14:14 2009 UTC (5 years, 6 months ago) by bellenot
File length: 46107 byte(s)
Diff to previous 29409
- Added a few checks for system files validity before accessing them
- Correct access of TObjStrings in ROOT files

Revision 29409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 9 10:39:17 2009 UTC (5 years, 6 months ago) by bellenot
File length: 45252 byte(s)
Diff to previous 28853
When browsing an object, check if it is already in the browser list tree, otherwise add it
Will be used by the new browser method BrowseObject(TObject *)

Revision 28853 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 9 08:19:33 2009 UTC (5 years, 7 months ago) by bellenot
File length: 44814 byte(s)
Diff to previous 27752
Correct implementation of system files manipulations (copy, rename, delete) 
and automatic update of the list tree

Revision 27752 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 11 09:02:31 2009 UTC (5 years, 10 months ago) by bellenot
File length: 44032 byte(s)
Diff to previous 27740
Automatically browse ROOT files if there is any open when starting the browser

Revision 27740 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 10 11:18:03 2009 UTC (5 years, 10 months ago) by bellenot
File length: 43936 byte(s)
Diff to previous 27690
Solve a list tree hierarchy problem when browsing root classes

Revision 27690 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 5 09:43:15 2009 UTC (5 years, 10 months ago) by bellenot
File length: 43701 byte(s)
Diff to previous 27674
Add a protection against possible empty TObjArray
(e.g. when starting the browser from root / )
Thanks to Chris Jones for the report

Revision 27674 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 3 08:58:36 2009 UTC (5 years, 10 months ago) by bellenot
File length: 43492 byte(s)
Diff to previous 27475
- Stay in the same directory than the latest opened ROOT file.
  This fixes a potential problem when browsing root files who are in different directories:
  Error in <TFile::GetSize>: cannot stat the file test_dirs.root
  Error in <TDirectoryFile::ReadKeys>: reading illegal key, exiting after 0 keys

Revision 27475 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 10:04:21 2009 UTC (5 years, 11 months ago) by bellenot
File length: 43387 byte(s)
Diff to previous 26102
Replace Form() by TString::Format()

Revision 26102 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 7 12:29:41 2008 UTC (6 years, 2 months ago) by bellenot
File length: 43134 byte(s)
Diff to previous 26066
- Fix combo box size

Revision 26066 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 3 13:42:19 2008 UTC (6 years, 2 months ago) by bellenot
File length: 43177 byte(s)
Diff to previous 25471
- Allow to execute a macro without having to save it first.
  Should solve: https://savannah.cern.ch/bugs/?33470

Revision 25471 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 19 15:09:15 2008 UTC (6 years, 4 months ago) by bellenot
File length: 43071 byte(s)
Diff to previous 25466
- Verify if the current drive is a network drive (on Windows) 
  and if it is the case, do not expand the directory structure.

Revision 25466 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 19 13:18:28 2008 UTC (6 years, 4 months ago) by bellenot
File length: 42830 byte(s)
Diff to previous 23664
- Do not expand subdirectories (full tree) when working on afs on Linux, 
  of from drive higher than E: on Windows (usually network drives) to 
  avoid spending too much time browsing/populating potentially huge 
  amount of directories/files

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: 42027 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: 41227 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: 41225 byte(s)
Diff to previous 23448
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 23448 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 12:14:56 2008 UTC (6 years, 9 months ago) by brun
File length: 39745 byte(s)
Diff to previous 23115
Fix severe shadowed variables.

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

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

Revision 22557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 10 10:56:00 2008 UTC (6 years, 10 months ago) by brun
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 39743 byte(s)
Diff to previous 22419
From Bertrand:
- Fix calculation of scroll bars position for 
  i.e. list tree with large number of items

Revision 22419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 3 00:25:01 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 39741 byte(s)
Diff to previous 22122
From Andrew Savchenko:
ROOT can not be compiled with gcc-4.3.
Some ROOT source files doesn't contain required #include directives,
for example, they use strlen(), but #include <string.h> is missed or
malloc() is used and #include <stdlib.h> is missed. 

Earlier versions of gcc allowed some headers to be included implicitly,
but issued a warning (-Wimplicit-function-declaration). Newer one,
gcc-4.3 denies such silly behaviour: all required headers must be explicitly
included. 

Attached patch fixes this. Also it fixes another issue, which disallows
ROOT to compile under gcc-4.3: C functions don't belong to namespace std,
so expressions like std::memcpy() are no longer valid and plain memcpy()
should be used instead.

Revision 22122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 13 08:15:20 2008 UTC (6 years, 11 months ago) by antcheva
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 39721 byte(s)
Diff to previous 21502
From Bertrand:
Replace the very unsafe strtok() function by TString::Tokenize().

Revision 21502 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 19 17:33:27 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 39813 byte(s)
Diff to previous 21386
From Bertrand and matevz:
- Use TObjString for drag and drop to be able to specify full
  pathname (and not rely on gSystem->WorkingDirectory()).
- Changed the way TGListTree handles drag and drop, to not rely 
  on gSystem->WorkingDirectory(), but use TObjString set in 
  TGFileBrowser instead.
- Added data member fOwnsData in TGListTreeItem, to specify 
  if fUserData member has to be deleted in the destructor
  (to avoid memory leaks)
- Added corresponding argument in:
  TGListTreeItem::SetUserData(void *userData, Bool_t own=kFALSE)
  being kFALSE by default for backward compatibility

This allows to drag and drop from any directory, whithout to have to cd() in
it...
This also fixes some issues encountered with AliEVE

Revision 21386 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 15 10:06:14 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 39134 byte(s)
Diff to previous 21189
From Bertrand:
- Added missing classes documentation.

Revision 21189 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 4 16:16:57 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 38540 byte(s)
Diff to previous 20966
From Bertrand:
Add protection in case there is no tab on the right 
in TRootBrowser and user double-click on a file in 
the list tree.
Thanks to Ilka for reporting this case.

Revision 20966 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 16:59:46 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 38418 byte(s)
Diff to previous 20959
From Bertrand:
Fixed leaking pictures - seen in gObjectTable->Print().

Revision 20959 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 15:14:30 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 37997 byte(s)
Diff to previous 20931
From Bertrand:
Fixed more leaks...

Revision 20931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 17:08:00 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 37842 byte(s)
Diff to previous 20911
Added missing copyright notice. Still class description block missing.

Revision 20911 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 09:26:12 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 37346 byte(s)
Diff to previous 20882
From Bertrand:
Implemented the Drag and drom mechanism on list tree items.

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/TGFileBrowser.cxx
File length: 36832 byte(s)
Diff to previous 20706
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 20706 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 7 16:48:05 2007 UTC (7 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 36832 byte(s)
Diff to previous 20615
From Bertrand:
- New signal Clicked(char *uri) in TGHtmlBrowser and new method
Selected(char *) in TRootBrowser, used to automatically update and switch to
ROOT files folder in the new TBrowser when users opens a ROOT file from HTML
browser.

Revision 20615 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 2 09:40:16 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 36116 byte(s)
Diff to previous 20516
From Bertrand:
- Solve problems browsing remote files

Revision 20516 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 26 16:17:33 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGFileBrowser.cxx
File length: 36000 byte(s)
Copied from: branches/dev/bertrand/gui/src/TGFileBrowser.cxx revision 20514
Diff to previous 20139
From Bertrand:
merged bertrand dev branch changes r20120:20514 into the trunk.

Main new feature is the new TBrowser. To turn it on by default
change the Browser.Name option in rootrc.

Here the detailed ChangeLog:

- Renamed TRootBrowser TRootBrowserLite
 - Introduced the new class TRootBrowser, consisting of three 
   main tabs, as shown below:
    ______________
   |   |          |
   |   |          |
   |   |__________|
   |   |          |
   |___|__________|
   
   All tabs can 'swallow' frames, thanks to the new method:
      ExecPlugin(const char *name = 0, const char *fname = 0, 
                 const char *cmd = 0, Int_t pos = kRight, 
                 Int_t subpos = -1)
   allowing to select plugins (can be a macro or a command) 
   to be executed, and where to embed the frame created by 
   the plugin. Examples:

   // create a new browser:
   TBrowser b;

   // create a new TCanvas in a new top right tab element:
   b.ExecPlugin("Canvas", 0, "new TCanvas()");
   
   // creates a new top right tab element embedding the 
   // TGMainFrame created by the macro 'myMacro.C': 
   b.ExecPlugin("MyPlugin", "myMacro.C");
 
   // creates a new bottom tab element embedding the 
   // TGMainFrame created by the macro 'myMacro.C': 
   b.ExecPlugin("MyPlugin", "myMacro.C", 0, TRootBrowser::kBottom);
 
 - new class TGFileBrowser, a file browser plugin for the new TRootBrowser
 - new class TGCommandPlugin, a command I/O plugin for the new TRootBrowser
 - new class TGHtmlBrowser, a html browser plugin for the new TRootBrowser
 - new TBrowserImp plugin used to load the selected TBrowser implementation
 - the browser implementation can be selected via the env 'Browser.Name' in
   .rootrc, (can be TRootBrowser or TRootBrowserLite) the default being
   TRootBrowserLite
 - a list of options (plugins) for the new TRootBrowser is also specified
   via the env 'Browser.Options' in .rootrc, default being: FEHCI
   Here is the list of available options:
   F: File browser E: Text Editor H: HTML browser C: Canvas I: I/O
   redirection P: Proof G: GL viewer
 - modified TRootGuiFactory, used to create the real TBrowser
   implementation.

Revision 20139 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 29 10:16:22 2007 UTC (7 years, 3 months ago) by bellenot
Original Path: branches/dev/bertrand/gui/src/TGFileBrowser.cxx
File length: 36000 byte(s)
Diff to previous 20128
Add comments and remove duplicated code

Revision 20128 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Sep 28 09:34:07 2007 UTC (7 years, 3 months ago) by bellenot
Original Path: branches/dev/bertrand/gui/src/TGFileBrowser.cxx
File length: 35613 byte(s)
Introduce new implementation of TRootBrowser

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