[root] / trunk / gui / gui / inc / TGTextView.h Repository:
ViewVC logotype

Log of /trunk/gui/gui/inc/TGTextView.h

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: 7526 byte(s)
Diff to previous 23115
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 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: 7521 byte(s)
Copied from: trunk/gui/inc/TGTextView.h revision 23114
Diff to previous 20933
moved to directory "gui" the following directories:

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

Revision 20933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 17:11:22 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gui/inc/TGTextView.h
File length: 7521 byte(s)
Diff to previous 20882
From Bertrand:
fix naming conventions, after acronym, next word starts with upper case.

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/inc/TGTextView.h
File length: 7521 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/inc/TGTextView.h
File length: 7521 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/inc/TGTextView.h
File length: 7576 byte(s)
Diff to previous 18819
remove :$ from tag line

Revision 18819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 18 12:13:22 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/gui/inc/TGTextView.h
File length: 7586 byte(s)
Diff to previous 18714
From Valeriy Onuchin:
- fixed problem running text editor with Qt layer
- SetForegroundColor(Pixel_t) method was implemented which allows to
  set text color for text view/editor.

Revision 18714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 9 15:03:34 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/gui/inc/TGTextView.h
File length: 7535 byte(s)
Diff to previous 18539
Added new data member fDNDTypeList for drag & drop type settings to
avoid memory leak (fixes Savannah bug 26190)

Revision 18539 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 20 12:15:28 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/gui/inc/TGTextView.h
File length: 7480 byte(s)
Diff to previous 18536
Remove a compiler warning about a possible non initialized variable

Revision 18536 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 19 21:07:02 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/gui/inc/TGTextView.h
File length: 7290 byte(s)
Diff to previous 18534
From Bertrand:
Added drag and drop support for Linux (Xdnd) and Windows (Clipboard).
It is now possible to drag an histogram (or any other graphical object)
from an opened file in TBrowser to any TCanvas.
It is also possible to drag a text file from TBrowser to a TGTextView
or TGTextEdit widget (i.e. in TGTextEditor).
On Linux, it is even possible to drag from a Root application to another
one, or to drag a text file (i.e. a macro) from the ROOT browser to an
external editor (i.e. Kate).
On Windows, drag and drop only works within the same ROOT application
(for the time being).

Revision 18534 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 19 16:23:13 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/gui/inc/TGTextView.h
File length: 6924 byte(s)
Diff to previous 16616
From Valeriy Onuchin:
TGView, TGTextView, TGTextEdit classes
The main changes :

o restructuring and revisiting the code
 - move all text methods from TGView to TGTextView class.

o new methods
  TGTextEdit::SetSelectBack - setting selection background  color
  TGTextEdit::SetSelectfore - setting color for slected text
  TGText::AsString - return content as ROOT string.

o improved painting: exposed events, resizing
 - compression of exposed events added which
   eliminates flickering when text_edit widget is resized or
   exposed.
 - repaint only whose areas which where modified or
   overlapped.

o undo management on Ctrl-Z
o autoscrolling when  text is selected
o many small bug fixes:
  - crash on double click on blank field
  - selected text in some cases was not correctly removed
  - etc.

Revision 16616 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 25 08:03:31 2006 UTC (8 years, 3 months ago) by antcheva
Original Path: trunk/gui/inc/TGTextView.h
File length: 5251 byte(s)
Diff to previous 15849
From Bertrand:
- Implemented HandleSelectionClear() in TGTextEntry and TGTextView
- Fixed issue with copy/paste on KDE (added handling of "TARGETS" atom in HandleSelectionRequest())

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/inc/TGTextView.h
File length: 5196 byte(s)
Diff to previous 15672
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 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/inc/TGTextView.h
File length: 5191 byte(s)
Diff to previous 15394
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 15394 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 9 15:33:05 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/inc/TGTextView.h
File length: 5187 byte(s)
Diff to previous 15340
- fix in the comment after ClassDef

Revision 15340 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 6 07:44:28 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/inc/TGTextView.h
File length: 5212 byte(s)
Diff to previous 15134
- implemented SavePrimitive methods of TGTextView class

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/inc/TGTextView.h
File length: 5154 byte(s)
Diff to previous 9945
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 9945 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 8 08:13:11 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/inc/TGTextView.h
File length: 5074 byte(s)
Diff to previous 9867
From Valeriy Onuchin:
- provide default constructors for most TGxxx classes.
  The goal:
    1.  required for  guibuilder
     2. providing  ROOT I/O for GUI classes.
  In all default constructors parent window is NULL,
  that means that parent window is currently editted window.

Revision 9867 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 1 12:56:14 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/inc/TGTextView.h
File length: 5061 byte(s)
Diff to previous 6663
Add new functions suggested by Maxim Nikulin

 "I use TGTextView widgets in my monitor program. Several thousands calls
of the AddLine() method make the program extremely slow. Using the
callgrind program I found that the AddLine() is most expensive in my
case because of Layout() invocations.

I suggest add methods AddLineFast() and Update(). Together they do the
same work to AddLine(), but it becomes possible to invoke AddLineFast()
many times and call the slow Update() method only once.

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/inc/TGTextView.h
File length: 4987 byte(s)
Diff to previous 5518
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 5518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 31 07:27:37 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/gui/inc/TGTextView.h
File length: 4865 byte(s)
Diff to previous 2110
Make const all Copy functions.
WARNING: If your class implements a Copy function deriving
from TObject or one of the ROOT classes, you must make
your Copy function const.

Revision 2110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 2 11:45:46 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TGTextView.h
File length: 4859 byte(s)
Diff to previous 813
fixes in header files to not use directly static data members as default
arguments. This does not work on Windows due to export problems of these
statics. Use now static Getters instead.

Revision 813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 22 19:28:58 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/inc/TGTextView.h
File length: 4850 byte(s)
Diff to previous 685
changed inheritance tree. Move TQObject inheritance from TGWidget to
TGFrame. This allows all frames to emit signals (all widgets were frames,
but not all frames were widgets). Added several missing signals in several
different widgets to get tutorials/guitest.C working.

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/inc/TGTextView.h
File length: 4780 byte(s)
Diff to previous 342
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 342 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 10 01:07:19 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/gui/inc/TGTextView.h
File length: 4780 byte(s)
Diff to previous 339
many improvements and fixes in the text edit widget. Fully implemented
cut/copy/paste between editor and any X11 window supporting text (and
vice versa). Also added a context menu giving access to the most essential
text editor actions (open, close, save, print, search, etc.). Fixed several
text navigation and selection issues.

Revision 339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 7 00:29:49 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/gui/inc/TGTextView.h
File length: 4732 byte(s)
Diff to previous 332
remove large number of compiler warnings.

Revision 332 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 16:47:54 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/gui/inc/TGTextView.h
File length: 4740 byte(s)
Diff to previous 327
modifcations in all classes providing infrastructure for the text edit
widget.

Revision 327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 11:35:36 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/gui/inc/TGTextView.h
File length: 4587 byte(s)
Diff to previous 322
fix typos

Revision 322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 18:55:32 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/gui/inc/TGTextView.h
File length: 4563 byte(s)
Diff to previous 3
infrastructure for the new TGTextEdit widget. The new TGView class is
the base class for all text viewing/editing widgets. TGTextView has been
totally rewritten to use the new TGView and TGText classes. TRootHelpDialog
uses the new TGTextView widget. TGTextEdit will derive from TGTextView.

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/inc/TGTextView.h
File length: 3553 byte(s)
Copied from: branches/rdm/gui/inc/TGTextView.h 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/inc/TGTextView.h
File length: 3553 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