Log of /trunk/gui/gui/src/TGFileDialog.cxx
Parent Directory
Revision
43645 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 4 20:31:50 2012 UTC (2 years, 9 months ago) by
bellenot
File length: 28094 byte(s)
Diff to
previous 43377
Prevent closing the main frame (via the WM, with the close button) while a modal dialog is open (while the client is waiting for it)
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: 27620 byte(s)
Diff to
previous 38292
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
32919 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 9 07:26:17 2010 UTC (4 years, 9 months ago) by
bellenot
File length: 27332 byte(s)
Diff to
previous 32579
- Properly change directory when navigating in the directory tree
- Delete FileInfo->fFilename when needed (avoid potential memory leaks)
These should fix the savannah bug report #65496, TGFileDialog() does not handle double click of directory properly (https://savannah.cern.ch/bugs/?65496)
Thanks to James Batch for the report
Revision
27025 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 19 11:42:47 2008 UTC (6 years, 1 month ago) by
bellenot
File length: 25357 byte(s)
Diff to
previous 25359
- Fix gcc3.x warnings using -fstack-check compiler flag:
warning: unreachable code at beginning of switch statement
As reported by Jacek M. Holeczek:
These warnings (strictly related to the "-fstack-check" option) seem
harmless, BUT THEY ARE NOT!
In fact, the gcc 3.x compiler produces code which leads to "core dumps".
Revision
25262 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 26 15:14:13 2008 UTC (6 years, 4 months ago) by
bellenot
File length: 25210 byte(s)
Diff to
previous 23448
- Fix problem with Windows pathes being returned by
TGFileDialog and used in TPad::SaveAs()
Thanks to Axel for reporting this.
Revision
19001 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 12 08:15:20 2007 UTC (7 years, 7 months ago) by
antcheva
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 24851 byte(s)
Diff to
previous 18979
Several improvements and fixes:
1) Replaced fOverWR and fMultiSel check buttons with a single
one fCheckB. The functionality of fOverWR assigned to fCheckB
in case the file dialog is created as SaveAs dialog; accordingly
the functionality of fMultiSel is assigned to fCheckB in case of
Open file dialog.
2) Fixed several memory leaks.
3) Fixed SegV when Cancel button was clicked before the file
list was created/visualized in the dialog. It happens because of
changes in Revision 1.38 of TGFSContainer. The GUI events cannot be
allowed without any control/protection of user interaction.
4) Fixed SegV because of double deletion when closing the dialog via WM.
Revision
18979 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 7 13:25:34 2007 UTC (7 years, 7 months ago) by
antcheva
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 25082 byte(s)
Diff to
previous 17313
Fixed a SegV caused by changes in Revision 1.38 of TGFSContainer.cxx,
in which the line gSystem->ProcessEvents() was introduced while filling
TGFileContainer to not block the GUI if the current directory contains
many files. This change caused SegV in the File dialog when the Cancel
button is clicked during the directory feeling (reported by Axel).
New data member and corresponding getter/setter methods of
TGFileContainer class:
Bool_t fDisplayStat; // kFALSE to interrupt display directory
// contents in case of many files inside
Follow-up changes in TGFileDialog::ProcessMessage method when Cancel
button was clicked.
Revision
17313 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 15 09:05:17 2007 UTC (8 years ago) by
antcheva
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 24860 byte(s)
Diff to
previous 16140
- Fix in TGFileDialog::ProcessMessage related to the
"Create New Folder" button functionality. The new folder
was created always into the working directory of ROOT,
not where the TGFileDialog had navigated to (thanks to
Fred L Youhanaie for reporting that)
Revision
15966 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 9 16:11:01 2006 UTC (8 years, 5 months ago) by
antcheva
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 24453 byte(s)
Diff to
previous 15963
From David Gonzalez Maline:
- sort files by owner and group
- added tooltips to the header buttons as hints for sorting features
(Note: sometimes, the system doesn't grab well the information
about the group, i.e. doesn't get the correct group name. It takes the
same name as the user instead)
Revision
15849 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 26 13:36:44 2006 UTC (8 years, 6 months ago) by
rdm
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 23967 byte(s)
Diff to
previous 15844
Instead of providing default implementations for copy ctor's and assignment
operators we better make them private (and not implemented) to avoid people
from accidentally using them. Especially the collections classes and the
TQObject derived classes. In these classes the default implementations would
cause havoc due to multiple deletions of the same objects and other
potential memory corruptions.
Revision
15844 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 24 16:11:45 2006 UTC (8 years, 6 months ago) by
rdm
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 26067 byte(s)
Diff to
previous 15834
From David Gonzalez Maline and Bertrand:
A bunch of modifications in TGFileDialog (mainly user requests):
- Sort files by name and not by type anymore.
- Increased the vertical scroll size.
- Implemented multiple file selection; can be turned on/off with a
checkbox on the TGFileDialog.
Here is an example of how to use multiple selection:
TGFileInfo fi;
new TGFileDialog(fClient->GetDefaultRoot(), this, kFDOpen,&fi);
if (fi.fMultipleSelection && fi.fFileNamesList) {
TObjString *el;
TIter next(fi.fFileNamesList);
while ((el = (TObjString *) next())) {
new TFile(el->GetString(), "update");
}
}
else if (fi.fFilename) {
new TFile(fi.fFilename, "update");
}
Revision
15832 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 20 12:08:34 2006 UTC (8 years, 6 months ago) by
brun
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 23010 byte(s)
Diff to
previous 15742
From David Gonzalez Maline :
- new class TGInputDialog : simple text input dialog.
- added possibility to create a new directory from TGFileDialog.
- added possibility to enter an absolute path/filename in text field of TGFileDialog.
Revision
15134 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by
brun
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 21218 byte(s)
Diff to
previous 14813
From Federico Carminati:
"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."
Revision
12475 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 15 12:57:18 2005 UTC (9 years, 5 months ago) by
rdm
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 19239 byte(s)
Diff to
previous 11142
From Ilka:
We have no protection in the Save file dialog according to the setting of
the Overwrite check box in the case of 2-click on the file name. After
2-click the selected file is overwritten anytime.
The attached patch fix that in the following way:
- if the Overwrite check box is selected; the selected file will be overwritten
- if the Overwrite check box is not selected, a message dialog appears
asking the user to overwrite the selected file
Revision
11142 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 18 09:26:54 2005 UTC (9 years, 11 months ago) by
rdm
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 18323 byte(s)
Diff to
previous 10976
Frol Ilka:
class TGFileInfo:
- a new data member: Bool_t fOverwrite (if true overwrite the file with
existing name on save without the confirmation message)
class TGFileDialog:
- added a new data member TGCheckButton *fOverWR for setting file
overwriting on/off via the GUI; setting the check box ON will
suppress the confirmation message for overwriting an existing file;
the user choice is saved for the next time the Save dialog is shown
- layout changes
- code cleaning
Revision
10664 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 1 17:25:06 2004 UTC (10 years, 1 month ago) by
rdm
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 16587 byte(s)
Diff to
previous 10319
From Ilka:
patch contains changes in TGFileDialog::ProcessMessage() method that
provide checking if the file name already exists when using SaveAs dialog.
A message dialog appears saying that this file already exists and asking
the user to overwrite it (Yes/No). [Added same feature in case user
hits <enter> after typing the file name -- rdm].
Revision
4695 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 12 17:56:25 2002 UTC (12 years, 7 months ago) by
rdm
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 16615 byte(s)
Diff to
previous 3510
remove TGLVEntry *TGListView::GetNextSelected(void**) since it had only
a different return type from TGFrame *TGContainer::GetNextSelected(void**).
In two cases where a TGLVEntry* as return type was expected now as cast to
TGLVEntry* has to be made.
Revision
2474 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 27 16:43:55 2001 UTC (13 years, 7 months ago) by
rdm
Original Path:
trunk/gui/src/TGFileDialog.cxx
File length: 15837 byte(s)
Diff to
previous 2110
in the TGFileInfo argument it is now possible to set the initial directory
(fIniDir). On return this fIniDir is set to the directory containing the
selected file. This makes it easy to open the dialog again in the previously
selected directory. For an example see $ROOTSYS/test/guitest.cxx. To
implement this change the TGFileInfo behaviour has changed in a backward
incompatible way:
1) the fFileTypes field is now "const char**" (was "char**")
2) the fFilename and fIniDir strings are now deleted by the TGFileInfo
dtor and not anymore in the user code. This change requires you to
remove any "delete [] fi.fFilename" statements from your code.
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.