Skip to content
Snippets Groups Projects
  1. Mar 27, 2012
  2. Mar 07, 2012
  3. Mar 02, 2012
  4. Feb 22, 2012
  5. Jan 16, 2012
  6. Nov 12, 2011
  7. Nov 01, 2011
  8. Oct 11, 2011
  9. Oct 06, 2011
    • Philippe Canal's avatar
      Fix Coverity issues: · 6eea14e8
      Philippe Canal authored
      TBranchSTL: cov 34339 Resource leak (false positive)
      TTableDescriptor.cxx: cov 34219,34220 explicit null dereference
      TSQLStructure.cxx: cov 34204,34205,34206 Explicit null dereferenced 
      TTabCom.cxx: cov 34168 Explicit null dereferenced 
      TClassRef.cxx: cove 34165 Explicit null dereferenced (false positive but still confusing coding).
      TBufferXML.cxx: 34070 Explicit null dereferenced
      TFriendProxyDescriptor.cxx: cov 34066 Uninitialized scalar field
      TTreeCloner.cxx: cov 34034057 Dereference null return (stat) 63 Uninitialized scalar field 
      TParallelCoordEditor.cxx: 34051,34059,34060,34061 Dereference null return value
      TParallelCoord.cxx: 34050,34056, 34057 Dereference null return (stat) 
      TBranchProxy.h: 34048 Dereference null return value 
      TBranchProxy.cxx: 34043,34044,34045 Dereference null return value
      TTree.cxx: 34039 Dereference null return value
      TTreePlayer.cxx: 34037 Dereference null return value 
      TLeafC.cxx: 34036 Dereference null return value
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@41244 27541ba8-7e3a-0410-8455-c3a389f83636
      6eea14e8
  10. Oct 01, 2011
  11. Sep 08, 2011
  12. Jun 28, 2011
  13. Jun 13, 2011
    • Philippe Canal's avatar
      From David Dagenhart: · 02d8d542
      Philippe Canal authored
      Implement an option to allow ROOT to use the LZMA compression
      algorithm to compress data instead of the ZLIB compression algorithm.
      LZMA compression typically results in smaller files, but takes more
      CPU time to compress data. To use the new feature, the external XZ
      package must be installed when ROOT is configured and built:
      
      Download 5.0.3 from here http://tukaani.org/xz/
      and make sure to configure with fPIC:
         ./configure CFLAGS='-fPIC'
      
      Then the client C++ code must call routines to explicitly request LZMA
      compression.
      
      ZLIB compression is still the default.
      
      Setting the Compression Level and Algorithm:
      
      There are three equivalent ways to set the compression level and 
      algorithm. For example, to set the compression to the LZMA algorithm
      and compression level 5.
      
      1. TFile f(filename, option, title);
         f.SetCompressionSettings(ROOT::CompressionSettings(ROOT::kLZMA, 5));
      
      OR
      
      2. TFile f(filename, option, title, ROOT::CompressionSettings(ROOT::kLZMA, 5));
      
      OR
      
      3. TFile f(filename, option, title);
         f.SetCompressionAlgorithm(ROOT::kLZMA);
         f.SetCompressionLevel(5);
      
      These methods work for TFile, TBranch, TMessage, TSocket, and TBufferXML. 
      The compression algorithm and level settings only affect compression of
      data after they have been set. TFile passes its settings to its branches 
      only at the time the branches are created. This can be overidden by 
      explicitly setting the level and algorithm for the branch. These classes 
      also have the following methods to access the algorithm and level for 
      compression.
      
         Int_t GetCompressionAlgorithm() const;
         Int_t GetCompressionLevel() const;
         Int_t GetCompressionSettings() const;
      
      If the compression level is set to 0, then no compression will be
      done. All of the currently supported algorithms allow the level to be
      set to any value from 1 to 9. The higher the level, the larger the
      compression factors will be (smaller compressed data size). The
      tradeoff is that for higher levels more CPU time is used for
      compression and possibly more memory. The ZLIB algorithm takes less
      CPU time during compression than the LZMA algorithm, but the LZMA
      algorithm usually delivers higher compression factors.
      
      The header file core/zip/inc/Compression.h declares the function
      "CompressionSettings" and the enumeration for the algorithms.
      Currently the following selections can be made for the algorithm:
      kZLIB (1), kLZMA (2), kOldCompressionAlgo (3), and kUseGlobalSetting
      (0). The last option refers to an older interface used to control the
      algorithm that is maintained for backward compatibility. The following
      function is defined in core/zip/inc/Bits.h and it set the global
      variable.
      
         R__SetZipMode(int algorithm)
      
      If the algorithm is set to kUseGlobalSetting (0), the global variable
      controls the algorithm for compression operations.  This is the
      default and the default value for the global variable is kZLIB.
      
      Note that the LZMA algorithm will only be available if the LZMA
      libraries from the XZ package were available when the ROOT executable
      being used was configured and built. If you are building ROOT and want
      LZMA then you must do something similar to the following if XZ is not
      already installed on your system.
      
        Download XZ version 5.0.3 from http://tukaani.org/xz/
        unwind the tarball
        cd xz-5.0.3
        ./configure CFLAGS='-fPIC'
        make
      
      ROOT was tested with version 5.0.3 of XZ.  It might work with earlier
      versions and will probably work with later versions of XZ.
      
      Then either use "make install" to put the library and headers into
      /usr/local/* so the scripts building ROOT can find them or use
      arguments to the ROOT configure script to point to the proper
      directories containing the XZ library and headers. These are the
      library and the included header (lzma.h includes other headers in the
      lzma subdirectory).
      
        src/liblzma/.libs/liblzma.a
        src/liblzma/api/lzma.h
      
      WARNING: Data compressed with the LZMA algorithm cannot be read by
      ROOT executables that were not built with LZMA support.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@39696 27541ba8-7e3a-0410-8455-c3a389f83636
      02d8d542
  14. Jun 07, 2011
    • Fons Rademakers's avatar
      From Pere: · 321bd727
      Fons Rademakers authored
      - Added the following packages: oracle, mysql, odbc, gviz, fftw, pythia6,
        pythia8, unuran, table
      - Changed the default values for the build options depending on platform
        such that they display correctly with cmake-gui or ccmake
      - Fixed mathmore build on Windows
      - Make histfactory depending on xml option
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@39577 27541ba8-7e3a-0410-8455-c3a389f83636
      321bd727
  15. Mar 31, 2011
  16. Nov 15, 2010
  17. Oct 13, 2010
  18. Oct 12, 2010
  19. Oct 11, 2010
  20. Oct 10, 2010
  21. Oct 09, 2010
  22. Oct 01, 2010
  23. Sep 30, 2010
Loading