1. 17 Feb, 2009 1 commit
  2. 13 Feb, 2009 1 commit
  3. 12 Feb, 2009 2 commits
  4. 11 Feb, 2009 4 commits
  5. 10 Feb, 2009 5 commits
  6. 09 Feb, 2009 1 commit
  7. 06 Feb, 2009 3 commits
    • Mark Olesen's avatar
      consistency update · 69918f23
      Mark Olesen authored
      - OSspecific: chmod() -> chMod(), even although it's not used anywhere
      - ListOps get subset() and inplaceSubset() templated on BoolListType
      - added UList<bool>::operator[](..) const specialization.
        Returns false (actually pTraits<bool>::zero) for out-of-range elements.
        This lets us use List<bool> with lazy evaluation and no noticeable
        change in performance.
      - use rcIndex() and fcIndex() wherever possible.
        Could check if branching or modulus is faster for fcIndex().
      - UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
        Similar to the STL front() and std::string::data() methods, they return a
        pointer to the first element without needing to write '&myList[0]', recast
        begin() or violate const-ness.
    • mattijs's avatar
      making overwrite work · 9b0bebec
      mattijs authored
    • Mark Olesen's avatar
      OSspecific: altered file tests · ffd9bb08
      Mark Olesen authored
      - removed the previously added fileName type(), isDir(), isFile() methods.
      - added optional bool parameter to isFile() function to explicitly
        enable/disable the check for gzip files.
      - fixed minor bugginess where the default usage of isFile() would result in
        false positive matches.
      - be slightly more stringent and use isDir() and isFile() instead of
        exists() function when we actually know the expected type.
  8. 05 Feb, 2009 4 commits
  9. 04 Feb, 2009 6 commits
  10. 03 Feb, 2009 3 commits
  11. 02 Feb, 2009 3 commits
  12. 30 Jan, 2009 2 commits
  13. 29 Jan, 2009 4 commits
    • Mark Olesen's avatar
      PackedList - activated lazy evaluation · 1f6733d9
      Mark Olesen authored
      - moving back to original flat addressing in iterators means there is no
        performance issue with using lazy evaluation
      - set() method now has ~0 for a default value.
        We can thus simply write 'set(i) to trun on all of the bits.
        This means we can use it just like labelHashSet::set(i)
      - added flip() method for inverting bits. I don't know where we might need
        it, but the STL has it so we might as well too.
    • Andrew Heather's avatar
    • mattijs's avatar
      zonal postprocessing · bdb4349e
      mattijs authored
    • Mark Olesen's avatar
      PackedList improvements · 4e56643e
      Mark Olesen authored
      - dropped auto-vivification for now (performance issue), but reworked to
        allow easy reinstatement
      - derived both iterator and const_iterator from iteratorBase and use
        iteratorBase as our proxy for non-const access to the list elements.
        This allows properly chaining assignments:
           list[1] = list[2];
           list[1] = list[2] = 10;
      - assigning iterators from iteratorBase or other iterators works:
           iterator iter = list[20];
      - made template parameter nBits=1 the default
  14. 28 Jan, 2009 1 commit