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

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

Parent Directory Parent Directory


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

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: 9888 byte(s)
Diff to previous 35439
Replace several strncpy and strncat by strlcpy and strlcat

Revision 35439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 09:45:31 2010 UTC (4 years, 4 months ago) by bellenot
File length: 9888 byte(s)
Diff to previous 35438
Replace strcpy by strncpy (coverity)

Revision 35438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 09:39:20 2010 UTC (4 years, 4 months ago) by bellenot
File length: 9882 byte(s)
Diff to previous 32610
Replace strcpy by strncpy (coverity)

Revision 32610 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 15 10:30:52 2010 UTC (4 years, 10 months ago) by bellenot
File length: 9876 byte(s)
Diff to previous 32556
- Remove one extra check and fix possible buffer overflow (coverity)
- Use "wt" flags to open the Root mime file (instead of just "w").
  The format should always be specified, as the default is not the same on all platforms

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: 9865 byte(s)
Diff to previous 26779
Replaced several strcpy by strncpy and rempoved a potential memory leak (coverity reports)

Revision 26779 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 9 21:57:51 2008 UTC (6 years, 1 month ago) by brun
File length: 9822 byte(s)
Diff to previous 23115
From Matevz:
Initialize char array variables that are passed to TString::operator=(). initializers.

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: 9776 byte(s)
Copied from: trunk/gui/src/TGMimeTypes.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/TGMimeTypes.cxx
File length: 9776 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/TGMimeTypes.cxx
File length: 9776 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/TGMimeTypes.cxx
File length: 9828 byte(s)
Diff to previous 15546
remove :$ from tag line

Revision 15546 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 09:39:35 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/gui/src/TGMimeTypes.cxx
File length: 9838 byte(s)
Diff to previous 14985
From Federico:
Changes to support the gcc -weffc++ option

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

Revision 11862 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 24 20:05:10 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/gui/src/TGMimeTypes.cxx
File length: 9192 byte(s)
Diff to previous 11795
From Valeriy Onuchin:
- root.mimes. Default actions changed for some image types (*.png, *.gif,
*.jpg etc.)
  Drawing images in canvas is better than  drawing it as TGPictureButton.
  Image drawn in canvas can be processed via context menu,  scaled, resized
etc.

- TPad::Print - roll-back recent changes in GIF saving. Use again
TVirtualX::WriteGIF
    method for saving GIF files which produces much smaller  files.
   BTW,  the patent on LZW compression  was expired july 2004. So, making
GIF is now legal.

- TGMimeTypes - fix nasty typo-bug in GetIcon method.  The  effect of the
bug was appeared as
   no large icons were displayed for  qq.png, qq.gif etc.  files types.

- TGPicture - minory mods

-   TGFileContainer::GetFilePictures - optimised for speed. To test a gain
in performance -
     run TBrowser on slow computer and open up $ROOTSYS/icons directory.
     New data member TGFileContainer::fCachePictures was added which allows
     to switch on/off this mechanism.

- TRootBrowser.  Weired "refresh behavior" was fixed - when some macro was
   browsed/executed and then canvas was deleted, browser's icon box was
refreshed and
   currrent "page position" was changed to the most upper one.
   Now page position remains on the same place.

- Refresh TBrowser on F5 pressed action added.

- TGLVEntry - SetPictures method added, whic allows to change  list view
entry pictures  dynamically.

- TSystemFile. SetIconName, GetIconName methods addd

Revision 11795 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 15 07:30:17 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/gui/src/TGMimeTypes.cxx
File length: 9190 byte(s)
Diff to previous 11793
From Valeriy Onuchin:
- TASImage, TRootBrowser, TGMimeTypes.cxx
  The size of image thumbnail was enlarged from 32x32 to 64x64 pixels.
  Appearance of picture thumbnails was much improved.
- TGPicture. Fix possible buffer overflow in HashName method.
- TRootCanvas.  Possibility to save canvas in XCF format added.
  This format is used in the GIMP (image processing  program).

In general the new method of dynamical creation of object's icon can be
extended for any kind of objects.

Revision 11793 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 15 05:53:45 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/gui/src/TGMimeTypes.cxx
File length: 8954 byte(s)
Diff to previous 1205
From Valeriy Onuchin:
- TASImage class:

 o new method GetImageBuffer is introduced. It returns in-memory buffer
compressed according to the  image type.
Buffer must be deallocated after usage.
This method can be used for sending images over the network.

o new method SetImageBuffer introduced. It creates image from  compressed
buffer. Supported formats:
       PNG - by default
       XPM - two options exist:
      1.  xpm as a single string (raw buffer). Such a string
             is returned by GetImageBuffer method.

      For example:

       char *buf;
       int sz;
       im1->GetImageBuffer(&buf, &int, TImage::kXpm); /*raw buffer*/
       TImage *im2 = TImage::Create();
       im2->SetImageBuffer(&buf, TImage::kXpm);

      2.  xpm as an array of strigs (preparsed)
      For example:
       char *xpm[] = {
          "64 28 58 1",
          "  c #0A030C",
          ". c #1C171B"
             ...
    TImage *im = TImage::Create();
    im->SetImageBuffer(xpm, TImage::kXpm);

o custom Streamer was implemented. That allows to save images in ROOT files.
   Image's  thumbnail is also saved into a file.

o galaxy_image.C tutorial is modified according to new  saving schema.

o new demo file gallery.root added to tutorials. It contains thumbnailed
and browsable pictures produced by some ROOT tutorials.

o fix bug im TASImage::DrawRectangle methods. Thanks to Thomas Bretz
  for reporting it.


- TKey class.
  Possibility to save thumbnail/icon  as XPM string along  with object added.
  Currently such mechanism is used for saving thumbnailed images.


- TGPicture.  Platform-dependent code was removed. Now  TGPictures
  are created by TImage objects.


- TRootBrowser classes. Possibility  to show objects with dynamically created
  icons added.

- numerous bug fixes in libAfterImage library.

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGMimeTypes.cxx
File length: 8952 byte(s)
Diff to previous 3
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

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