Skip to content
Snippets Groups Projects
  1. Aug 28, 2015
  2. Mar 12, 2014
  3. Mar 11, 2014
  4. Mar 10, 2014
  5. Mar 07, 2014
  6. May 03, 2013
  7. Nov 06, 2012
  8. Apr 26, 2012
  9. Jul 27, 2011
  10. Jul 06, 2011
  11. Apr 04, 2011
  12. Nov 19, 2010
  13. Mar 01, 2010
  14. Sep 17, 2009
  15. Jan 06, 2009
    • Fons Rademakers's avatar
      From Axel and Bertrand: · 532405e9
      Fons Rademakers authored
      - Add versioning info to all of ROOT's exes and dlls. The resource
        file generated by this patch now includes a statement to use
        icons/RootIcon.ico as an icon with resource ID 101, just as
        RootIcon did, but for all EXEs. So we can replace RootIcon.obj
        by RootIcon.ico. Much better for an open source project anyway.
      
      - Introduces random DLL base addresses if the linker allows it. This boosts
        the loading time of DLLS considerably, alas only on Vista (and Server 2008).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@27092 27541ba8-7e3a-0410-8455-c3a389f83636
      532405e9
  16. Nov 29, 2008
  17. Nov 11, 2008
  18. Oct 03, 2008
  19. Sep 30, 2008
    • Bertrand Bellenot's avatar
      - From Katerina Opocenska and me: · e84ff1e7
      Bertrand Bellenot authored
        TRecorder classes provide interface for recording and replaying
        events in ROOT.
        Recorded events are:
        - Commands typed by user in command line (e.g. 'new TCanvas')
        - GUI events (mouse movement, button clicks, ...)
        All the recorded events from one session are stored in one TFile
        and can be replayed again anytime.
      - Added icons needed by TGRecorder
      - Modifications in TRootCanvas menu:
        Renamed "Inspect" menu title to "Tools"
        Added "Event Recorder" menu entry
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@25603 27541ba8-7e3a-0410-8455-c3a389f83636
      e84ff1e7
  20. May 06, 2008
    • Fons Rademakers's avatar
      From Bertrand: · f315788d
      Fons Rademakers authored
      - 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
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@23664 27541ba8-7e3a-0410-8455-c3a389f83636
      f315788d
  21. Jan 28, 2008
  22. Nov 26, 2007
    • Fons Rademakers's avatar
      from Matevz: · 81fcfd92
      Fons Rademakers authored
      add the TEve classes to the svn trunk. Code compiles without warnings on
      MacOS X, Linux and Windows XP. Tutorials still don't work, as init code
      is still missing (coming later today).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@21044 27541ba8-7e3a-0410-8455-c3a389f83636
      81fcfd92
  23. Oct 26, 2007
    • Fons Rademakers's avatar
      From Bertrand: · d42ca49b
      Fons Rademakers authored
      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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@20516 27541ba8-7e3a-0410-8455-c3a389f83636
      d42ca49b
  24. Jul 03, 2007
    • Ilka Antcheva's avatar
      Submitted changes by mistake with Qt-layer patch in TGButton.h · f855af72
      Ilka Antcheva authored
      and TGButton.cxx and several icon files are related to the following
      improvements made by Roel in TGButton classes.
      My apologize for the caused problem.
      
      From Roel Aaij:
      TGButton.h
      In class TGTextButton:
      Added data members:
        Bool_t fStateOn
        Bool_t fPrevStateOn
      to save the on or off state of a button across
      disable/enable.
      
      In class TGCheckButton
      Added datamembers
      const TGPicture   *fOn;
      const TGPicture   *fOff;
      const TGPicture   *fDisOn;
      const TGPicture   *fDisOff;
        to contain pictures for TGCheckbuttons.
      
      Added method
      virtual void   SetDisabledAndSelected(Bool_t);
        to set a button to either on or off and disabled.
      
      In class TGRadioButton
      Added datamembers:
      const TGPicture   *fDisOn;
      const TGPicture   *fDisOff;
        to contain pictures for the disabled buttons.
      
      Added methods
      virtual void   SetDisabledAndSelected(Bool_t);
        to set a button to disabled and (on or off).
      
      modified
      virtual Bool_t IsOn()
      virtual Bool_t IsDown()
        to use the new data member fStateOn. They will
        return true also if the button is disabled, but
        was enabled.
      
      TGButton.cxx
      
      modified methods
      
      TGTextButton::Init()
        to initialise new datamembers
      
      TGCheckButton::Init()
        to initialise the pictures needed to draw the
        button correctly.
      
      TGCheckButton::~TGCheckbutton()
        to free all allocated pictures.
      
      TGCheckButton::SetState()
        method no longer sets fPrevState, method
        PSetState handles this now.
      
      TGCheckButton::EmitSignals()
        to emit Toggled() according to state of the
        new data member fStateOn.
      
      TGCheckButton::PSetState()
        to implement saving of on/off state across
        disable.
      
      TGCheckbutton::HandleButton()
        to use pictures to draw the button instead of
        lines drawn using gVirtualX.
      
      TGRadioButton::Init()
        to initialise all needed pictures
      
      TGRadioButton~TGRadioButton()
        to delete all pictures
      
      TGRadioButton::SetState()
        method no longer sets fPrevState, method
        PSetState handles this now.
      
      TGRadioButton::PSetState()
        to implement saving of on/off state across
        disable.
      
      TGRadioButton::EmitSignals()
        to emit Toggled() according to state of the
        new data member fStateOn.
      
      TGRadioButton::HandleButton()
        to make the order of if statements resemble
        that in TGCheckButton::HandleButton() and
        to make sure that the right signals are emitted
        at the right times.
      
      TGRadioButton::DoRedraw()
        to draw the correct pictures when a button is
        disabled.
      
      Implemented methods:
      TGCheckButton::SetDisabledAndSelected()
        to set a button disabled and (on or off).
      TGRadioButton::SetDisabledAndSelected()
        to set a button disabled and (on or off).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@19236 27541ba8-7e3a-0410-8455-c3a389f83636
      f855af72
    • Ilka Antcheva's avatar
      From Valeri Fine: · 2c7f585d
      Ilka Antcheva authored
      (unsigned int)(-1) cast to 64-bit pointer is wrong on 64-bit
      platform because (unsigned int) is 32-bit value. It may or
      may not cause the assert.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@19234 27541ba8-7e3a-0410-8455-c3a389f83636
      2c7f585d
  25. Jun 22, 2007
  26. Nov 01, 2006
  27. Oct 27, 2006
  28. Oct 12, 2006
  29. Jul 20, 2006
  30. Jun 20, 2006
  31. Jun 13, 2006
    • Rene Brun's avatar
      From Andrei and Mihaela Gheata: · 0b26819a
      Rene Brun authored
      New package to edit/create detector geometries
      
      1. Using the geombuilder with a geometry from scratch:
      
      root[0] new TGeoManager("test", "test geometry builder");
      root[1] gGeoManager->Edit();
      
      In this case forcing TGeoManager::Edit() is mandatory because the geometry cannot be yet drawn in the pad. There are few steps to create a valid geometry:
      - create at least one material from the "Materials" shutter item category. Generally for creating objects, the interface is always in the TGeoManagerEditor in different categories - one should just provide a name and requested params.
      - create a shape for the top volume within the "Shapes" category. For the moment the shapes that have editors are: Box, Trd1, Trd2, Tube, Tube segment, Cone, Cone segment and Sphere. More to come...
      - create a medium from one of the existing materials from the "Medium" category. You will notice that some categories as: "Volume" and "Medium" are inactive at the beginning because at that time there is no material yet (for making a medium) and no shape (for making a volume). These categories are dynamically activated once all the required components are defined.
      - create a volume from the "Volumes" category. You will notice that contrary to the other editors, the volume editor is opened in a tab, not transient - this is because it is more complex.
      - go back to "General" category and select the newly created volume as the top one (you can do it also from the volume category)
      
      
      This is just to start. To create really some hierarchy, one has to create several other volumes and the matrices to position them. Once this is done, use the volume editor interface to:
      - add/remove daughters, change shape, edit position of daughters
      - change visualization settings
      - divide the volume (only if there are no daughters yet)
      
      The TGeoManagerEditor GUI allows:
      - editing the geometry name/title, setting top volume, closing the geometry, exporting the geometry as .root or .C file
      - creation of new elements (shapes, volumes, materials, media, matrices)
      - editing existing elements (they can be browsed from transient dialogs)
      
      IMPORTANT: To access the manager editor if this is not in the "Style" tab one can either:
      - left-click on the top-right corner of the pad if something is drawn
      - call gGeoManager->Edit()
      
      2. Editing an existing geometry (probably you should start with this first)
      
      - Just load the geometry in memory:
           root[0] .x $ROOTSYS/tutorials/rootgeom.C
      -  draw some volume (if not already) then do View/Editor, then click on the top-right corner to get the manager editor. Clicking a volume will open the volume editor in the Style tab, but here I could not get rid of the TAttFill editor that is useless for volumes.
      - work with existing TGeoManagerEditor categories as explained at 1.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15405 27541ba8-7e3a-0410-8455-c3a389f83636
      0b26819a
  32. May 28, 2006
Loading