Skip to content
Snippets Groups Projects
  1. Jan 03, 2009
    • Mark Olesen's avatar
      reworked IOstreams · 1d866d7f
      Mark Olesen authored
      - Istream and Ostream now retain backslashes when reading/writing strings.
        The previous implementation simply discarded them, except when used to
        escape a double-quote or a newline. It is now vitally important to retain
        them, eg for quoting regular expression meta-characters.
      
        The backslash continues to be used as an escape character for double-quote
        and newline, but otherwise get passed through "as-is" without any other
        special meaning (ie, they are *NOT* C-style strings). This helps avoid
        'backslash hell'!
        For example,
           string:   "match real dots \.+, question mark \? or any char .*"
           C-style:  "match real dots \\.+, question mark \\? or any char .*"
      
      - combined subfiles in db/IOstreams, some had more copyright info than code
      - OPstreamI.H contained only private methods, moved into OPstream.C
      
      Are these really correct?
         IOstreams/Istream.H:#   include "HashTable.C"
         token/token.H:#define NoHashTableC
      1d866d7f
  2. Jan 02, 2009
    • Mark Olesen's avatar
      added xfer<...> transfer() method to various containers · cf488912
      Mark Olesen authored
      - this should provide a slightly more naturally means to using transfer
        constructors, for example
                labelList list2(list1.transfer());
            vs. labelList list2(xferMove(list1));
      
      - returns a plain list where appropriate (eg, DynamicList, SortableList)
        for example
                labelList list2(dynList1.transfer());
            vs. labelList list2(xferMoveTo<labelList>(dynList1));
      cf488912
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      HashTable / StaticHashTable changes · a0101214
      Mark Olesen authored
      StaticHashTable:
      - erase(iterator&) now actually alters the iterator and iterator++() handles
        it properly
      - clear() also sets count to zero
      - operator=(const StaticHashTable&) doesn't crash after a previous transfer
      - operator(), operator==() and operator!=() added
      
      HashTable:
      - operator=(const HashTable&) gets tableSize if required, eg, after a
        previous transfer)
      
      HashSet / Map
      - add xfer<...> constructor for underlying HashTable
      a0101214
  3. Jan 01, 2009
    • Mark Olesen's avatar
      boundBox, octree cleanup · 973b9ea0
      Mark Olesen authored
        - added boundBox(const tmp<pointField>&) constructor for use with
          coordinate systems
        - moved some methods from treeBoundBox to boundBox and use VectorSpace ops
      973b9ea0
  4. Dec 31, 2008
  5. Dec 19, 2008
  6. Dec 18, 2008
  7. Dec 17, 2008
  8. Dec 16, 2008