This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. 22 Sep, 2021 1 commit
    • David Fairbrother's avatar
      Fix missing assignment op / copy ctor · 4f1fa389
      David Fairbrother authored
      Fixes instances with missing assignment operator or copy constructor.
      These are dangerous cases with dynamic memory as it's not obvious what
      will happen, but the compiler will try anyway.
      
      In many cases we can simply switch to unique_ptr or disable the copy
      when it makes sense. But one or two cases required additional thought.
      
      This fixes several memory leaks or sources of corruption if the fields
      fall out of sync
      4f1fa389
  2. 16 Sep, 2021 1 commit
    • David Fairbrother's avatar
      Modernise from nested namespaces · 128f15ef
      David Fairbrother authored
      Modernises the codebase from nested workspaces to modern form. E.g.:
      
      namespace A{
      namespace B {}
      }
      
      Becomes
      namespace A::B{
      }
      
      This will allow us to specify in the coding standards to prefer the
      simple form instead
      128f15ef
  3. 15 Sep, 2021 1 commit
    • Danny Hindson's avatar
      Handle case where detector doesn't have a workspace index · fc91dd56
      Danny Hindson authored
      The unit tests SetCrystalLocationTest, LoadEventNexusTest were failing due to
      some detectors in the input nexus file not having a corresponding workspace
      index. This showed up as the pixelID_to_wi_vector vector having
      std::numeric_limits<size_t>::max() as the wi value
      I've added check that wi<numEventLists before trying to retrieve the spectrum
      for wi which is the same check that's done elsewhere in ProcessBankData.cpp
      
      If the file BSS_11841_event.nxs had been loaded with compression on
      this would have caused a crash even before my fix to the sort order
      fc91dd56
  4. 14 Sep, 2021 1 commit
    • Danny Hindson's avatar
      Fix problem with sorting of events · 51203621
      Danny Hindson authored
      The LoadEventNexus algorithm is run without compression and the events
      in the Nexus file are not already sorted by pulse time, the algorithm
      is incorrectly labelling them as sorted by pulse time. This change fixes
      the problem by always looping through the "used" detectors even if
      loading without compression
      This problem was causing FilterByTime to incorrectly slice up an event
      file by time. A lot of events were assigned to the last second of a run
      when slicing by time
      51203621
  5. 31 Mar, 2021 2 commits
  6. 07 Apr, 2020 1 commit
    • Giovanni Di Siena's avatar
      Replace boost::shared with std::shared · 11994bc3
      Giovanni Di Siena authored and Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony committed
      In places other substitutions have been made, e.g
      Clang does not yet specialize std::shared_ptr for T[]. Vector
      has been used instead. The operator[] methods were incorrectly
      marked const but returning a non-const reference - this has been fixed.
      Refs #25842
      11994bc3
  7. 25 Mar, 2020 2 commits
  8. 20 Mar, 2020 1 commit
  9. 20 Aug, 2019 5 commits
  10. 17 Jul, 2019 1 commit
  11. 07 Jun, 2019 1 commit
  12. 05 Oct, 2018 1 commit
    • Nick Draper's avatar
      Merge pull request #23693 from mantidproject/23488_update_file_headers · ef3ccb58
      Nick Draper authored
      Update copyright headers in all files
      
      Squashed commit of the following:
      
      * First version of a script to manage copyright statements
      
      re #23468
      
      * Neatened up script, added comments
      
      re #23488
      
      * move script to tools directory
      
      re #23488
      
      * small script changes and a couple of manual file changes
      
      re #23488
      
      * Minor chnage to whitespace detection in regex
      
      re #23488
      
      * Add an excluded directory
      
      re #23488
      
      * remove a repeasted copyright statement in a file
      
      re #23488
      
      * Don't comsume the comment end if it is on the same line
      
      re #23488
      
      * fix error in new copright parsing
      
      re #23488
      
      * remove double copyrifght entry
      
      re #23488
      
      * Improve handling of old copyrights at the start of comments
      
      re #23488
      
      * remove empty comments re #23488
      
      * exclude gsoapgenerated directories
      
      re #23488
      
      * Sort out greedy line matching re #23488
      
      * improve empty comment removal
      
      re #23488
      
      * improv...
      ef3ccb58
  13. 06 Aug, 2018 1 commit
  14. 27 Mar, 2018 1 commit
    • Karl Palmen's avatar
      Merge remote-tracking branch 'origin/master' re #12828 · 6ccb4979
      Karl Palmen authored
      # Please enter a commit message to explain why this merge is necessary,
      # especially if it merges an updated upstream into a topic branch.
      #
      # Lines starting with '#' will be ignored, and an empty message aborts
      # the commit.
      6ccb4979
  15. 01 Mar, 2018 1 commit
  16. 21 Nov, 2017 1 commit
  17. 29 Sep, 2017 1 commit
  18. 28 Sep, 2017 3 commits
  19. 11 Sep, 2017 2 commits
  20. 15 Mar, 2017 2 commits
  21. 13 Mar, 2017 2 commits
  22. 10 Mar, 2017 1 commit
  23. 13 Sep, 2016 1 commit
  24. 12 Sep, 2016 1 commit
  25. 29 Aug, 2016 1 commit
  26. 23 Aug, 2016 1 commit
  27. 18 Aug, 2016 3 commits