Bryan Drewery [Sun, 11 Mar 2012 04:44:38 +0000]
Explicitly define copy/move assignment operators in String/Array to fix GCC 4.7 errors
It doesn't seem to care about 'using...operator=' syntax.
String.cpp: In function 'std::istream& bd::operator>>(std::istream&, bd::String&)':
String.cpp:110:12: error: use of deleted function 'bd::String& bd::String::operator=(const bd::String&)'
String.h:59:7: note: 'bd::String& bd::String::operator=(const bd::String&)' is implicitly declared as deleted because 'bd::String' declares a move constructor or move assignment operator
Bryan Drewery [Sun, 11 Mar 2012 04:29:11 +0000]
Add tests to cover move semantics in ReferenceCountedArray/String
Bryan Drewery [Sun, 11 Mar 2012 04:25:10 +0000]
Use std::move() where move semantics expected
Bryan Drewery [Sun, 11 Mar 2012 04:08:46 +0000]
Implement move assignment operators
Bryan Drewery [Sun, 11 Mar 2012 04:03:09 +0000]
Add missing alloc swapping
Bryan Drewery [Sun, 11 Mar 2012 04:02:59 +0000]
Use std::move() when move constructing an Array
Bryan Drewery [Sun, 11 Mar 2012 03:42:09 +0000]
Use more effecient Move Constructors
Bryan Drewery [Tue, 6 Mar 2012 22:07:32 +0000]
Run autoconf for c++98 standard fix
Bryan Drewery [Sun, 4 Mar 2012 00:49:19 +0000]
Cleanup logic for calling Reserve
Bryan Drewery [Sun, 4 Mar 2012 00:47:25 +0000]
Fix more cases of NULL Ref usage
Bryan Drewery [Sun, 4 Mar 2012 00:30:10 +0000]
Fix crash on empty String
Bryan Drewery [Tue, 28 Feb 2012 17:08:59 +0000]
* Use c++98 standard if C++11 is not available
Bryan Drewery [Tue, 28 Feb 2012 05:04:27 +0000]
* Avoid copying/freeing buf if NULL
Bryan Drewery [Tue, 28 Feb 2012 04:40:04 +0000]
* Fix BinaryTreeIterator::operator bool() not working properly, causing crashes
Bryan Drewery [Tue, 28 Feb 2012 03:31:35 +0000]
* Disable memory pooling when running in valgrind
http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt04ch11.html#id531789
Bryan Drewery [Tue, 28 Feb 2012 01:48:17 +0000]
* Fix build failure on older gcc
Bryan Drewery [Tue, 28 Feb 2012 00:51:44 +0000]
* Clear old SUFFIXES before adding new
Bryan Drewery [Mon, 27 Feb 2012 04:47:33 +0000]
* Improve make portability
Bryan Drewery [Sun, 26 Feb 2012 20:33:58 +0000]
* Ensure gmake is installed for 'make test'
Bryan Drewery [Sun, 26 Feb 2012 20:18:13 +0000]
* Ignore buildbot directory
Bryan Drewery [Sun, 26 Feb 2012 20:17:54 +0000]
* Add BSDMakefile for BSD systems as GNU Make is required
Bryan Drewery [Sun, 26 Feb 2012 20:17:32 +0000]
* Rename 'make check' to 'make test'
Bryan Drewery [Wed, 22 Feb 2012 20:57:23 +0000]
* Inline the dependency checking to avoid depcomp
Bryan Drewery [Wed, 22 Feb 2012 20:53:01 +0000]
* Avoid needing `basename`
Bryan Drewery [Tue, 21 Feb 2012 01:41:12 +0000]
* Don't auto enable caching in configure
Bryan Drewery [Mon, 20 Feb 2012 18:22:48 +0000]
* Add Cref copy constructor back as some older gcc don't optimize it away
Bryan Drewery [Mon, 20 Feb 2012 15:50:35 +0000]
* Compile UnitRunner with the CPPUNIT_CFLAGS to fix compiling on FreeBSD
Bryan Drewery [Mon, 20 Feb 2012 02:49:21 +0000]
* Only enable C++11 features on gcc 4.6 and higher
Bryan Drewery [Mon, 20 Feb 2012 02:41:39 +0000]
* Make C++11 features optional dependent on __GXX_EXPERIMENTAL_CXX0X__
Bryan Drewery [Sun, 19 Feb 2012 20:59:06 +0000]
* Use AS_HELP_STRING for cppunit
Bryan Drewery [Tue, 27 Dec 2011 22:55:21 +0000]
* Cleanup HashTable including / forward declarations
Bryan Drewery [Tue, 27 Dec 2011 20:09:37 +0000]
* Only allocate an ArrayRef if needed
Bryan Drewery [Sun, 25 Dec 2011 05:25:24 +0000]
* Support allocator in String
Bryan Drewery [Sun, 25 Dec 2011 03:35:31 +0000]
* Use std::allocator for ReferenceCountedArray allocating
Bryan Drewery [Sun, 25 Dec 2011 04:50:15 +0000]
* Fix memory leak (FILE*) when mmap() not available
Bryan Drewery [Sun, 25 Dec 2011 03:37:04 +0000]
* Cleanup forward declarations
Bryan Drewery [Sun, 25 Dec 2011 02:33:57 +0000]
* Remove unneeded build tools/checks
Bryan Drewery [Sat, 24 Dec 2011 21:12:31 +0000]
* Fix ReferenceCountedArrayBase not being initialized in ReferenceCountedArray
Bryan Drewery [Fri, 23 Dec 2011 03:55:08 +0000]
* Check for g++4.6,4.5,4.4
Bryan Drewery [Tue, 20 Dec 2011 19:15:59 +0000]
* Use delete to block copying
Bryan Drewery [Tue, 20 Dec 2011 19:04:37 +0000]
* Add explicit operator bool() (C++11)
Bryan Drewery [Sun, 18 Dec 2011 21:28:07 +0000]
* Add missing operator=() and move constructor for KeyValue
Bryan Drewery [Sat, 17 Dec 2011 16:22:08 +0000]
* Doc cleanup
Bryan Drewery [Sat, 17 Dec 2011 16:13:28 +0000]
* Remove Cref copy constructor
Bryan Drewery [Sat, 17 Dec 2011 15:50:04 +0000]
* Don't use copy-and-swap for ReferenceCountedArray assignment, the old method is quicker and more direct
Bryan Drewery [Sat, 17 Dec 2011 14:43:37 +0000]
* Remove the need for a temporary and allow for optimization
Bryan Drewery [Sat, 17 Dec 2011 14:26:53 +0000]
* DRY List operations
Bryan Drewery [Sat, 17 Dec 2011 14:19:59 +0000]
* Rename List::Node::ptr to List::Node::item to better denote what it is
Bryan Drewery [Sat, 17 Dec 2011 02:42:40 +0000]
* Support initializer_list constructor and assignments
Bryan Drewery [Sat, 17 Dec 2011 13:46:42 +0000]
* Rename HashTable::list -> _list
Bryan Drewery [Sat, 17 Dec 2011 11:58:37 +0000]
* Use auto to cleanup syntax
Bryan Drewery [Sat, 17 Dec 2011 02:12:22 +0000]
* This length should be const
Bryan Drewery [Sat, 17 Dec 2011 02:12:03 +0000]
* Implement move constructors from C++0x
Bryan Drewery [Sat, 17 Dec 2011 16:43:13 +0000]
* Build in C++0x standard
Bryan Drewery [Sat, 17 Dec 2011 01:58:12 +0000]
* Only need to cleanse if rcount==1
Bryan Drewery [Fri, 16 Dec 2011 20:46:07 +0000]
* Use copy-and-swap idiom for assignment operators
http://stackoverflow.com/a/3279550/285734
Bryan Drewery [Fri, 16 Dec 2011 20:47:35 +0000]
* Allow chaining ReferenceCountedArray.operator=()
Bryan Drewery [Fri, 16 Dec 2011 15:44:30 +0000]
* Fix clang compiling by disabling -fno-elide-constructors (fixes #2)
Bryan Drewery [Fri, 16 Dec 2011 05:19:30 +0000]
* Cleanup some documentation
Bryan Drewery [Fri, 16 Dec 2011 05:50:04 +0000]
* Utilize npos in more places
Bryan Drewery [Fri, 16 Dec 2011 05:10:40 +0000]
* Array uses the STL iterators in ReferenceCountedArray now
Bryan Drewery [Fri, 16 Dec 2011 05:06:25 +0000]
* Fix duplicated npos definition by using a real static in a non-template base class
Bryan Drewery [Fri, 16 Dec 2011 01:58:09 +0000]
* Ignore kdevelop files
Bryan Drewery [Thu, 15 Dec 2011 17:33:54 +0000]
* Fix invalid call to 'ar'
Bryan Drewery [Thu, 15 Dec 2011 17:23:40 +0000]
* Remove unneeded configure options
Bryan Drewery [Thu, 15 Dec 2011 17:13:55 +0000]
* CLang compile fixes
Bryan Drewery [Sun, 27 Nov 2011 17:59:43 +0000]
* Add README
Bryan Drewery [Thu, 17 Nov 2011 17:32:09 +0000]
* Implement reverse iterators and update documentation
Bryan Drewery [Wed, 16 Nov 2011 21:55:52 +0000]
* Add mutable begin()/end()/mdata() to ReferenceCountedArray
Bryan Drewery [Wed, 16 Nov 2011 21:52:59 +0000]
* Fix cppunit library including on ubuntu
Bryan Drewery [Wed, 16 Nov 2011 21:41:51 +0000]
* Use proper namespace for ptrdiff_t
Bryan Drewery [Mon, 4 Jul 2011 00:52:48 +0000]
* Move base 64 charset into header so it can be shared
Bryan Drewery [Sun, 3 Jul 2011 20:32:18 +0000]
* Make charset optional for b64{enc,dec}_buf
Bryan Drewery [Sat, 2 Jul 2011 15:42:07 +0000]
* Update documentation
Bryan Drewery [Thu, 19 May 2011 18:57:22 +0000]
* Ignore configure.lineno (dash doesnt support LINENO)
Bryan Drewery [Thu, 19 May 2011 18:50:02 +0000]
* Run autoconf 2.67
Bryan Drewery [Sat, 9 Apr 2011 03:47:05 +0000]
* Add option to Array::join() to quote every element
Bryan Drewery [Wed, 25 Aug 2010 15:25:59 +0000]
* Add String::rfind() and ReferenceCountedArray::rfind()
Bryan Drewery [Sat, 9 Apr 2011 00:38:23 +0000]
* Make String::printf a static which returns a new String
Bryan Drewery [Thu, 26 Aug 2010 03:07:27 +0000]
* Fixup int/size_t misuse and use static_cast<> where appropriate
Bryan Drewery [Sun, 22 Aug 2010 02:01:14 +0000]
* Comment fix
Bryan Drewery [Sat, 21 Aug 2010 22:05:17 +0000]
* Fix unit test crash
Bryan Drewery [Wed, 18 Aug 2010 16:52:09 +0000]
* Cache hash() results for ReferenceCountedArray
Bryan Drewery [Tue, 17 Aug 2010 18:39:26 +0000]
* Rename Stream::gets() to Stream::read() to avoid sutpid libssp compile warnings
Bryan Drewery [Sat, 14 Aug 2010 20:37:17 +0000]
* Fix documentation
Bryan Drewery [Fri, 25 Jun 2010 05:37:00 +0000]
* Add more Stream::writeFile() unit tests and switch to using ftruncate()
Bryan Drewery [Fri, 25 Jun 2010 02:44:38 +0000]
* Verify writeFile result in unit tests
Bryan Drewery [Fri, 4 Jun 2010 21:27:59 +0000]
* Remove default -j4 and move to MAKEJOBS
Bryan Drewery [Sun, 16 May 2010 04:25:35 +0000]
* Fix warnings in List::Node due to -Weffc++
Bryan Drewery [Sun, 16 May 2010 03:26:37 +0000]
* First naive implementation of String::subst
Bryan Drewery [Sun, 16 May 2010 02:46:32 +0000]
* Fix bad unit test
Bryan Drewery [Tue, 23 Mar 2010 17:13:10 +0000]
* Add ReferenceCountedArray constructor (size_t, value_type) to populate the new array with the given value
Bryan Drewery [Tue, 23 Mar 2010 14:01:14 +0000]
* Add HashTable::keys() and HashTable::values()
Bryan Drewery [Tue, 23 Mar 2010 13:47:55 +0000]
* Fix ReferenceCountedArray::resize() doubling the size requested
Bryan Drewery [Tue, 16 Mar 2010 17:28:05 +0000]
* Only use g++ 4 options if using g++ 4.
Bryan Drewery [Tue, 16 Mar 2010 17:23:24 +0000]
* Run autoconf 2.6.3
Bryan Drewery [Sat, 13 Mar 2010 04:55:57 +0000]
* Add additional String::compare() tests
Bryan Drewery [Sat, 13 Mar 2010 03:27:07 +0000]
* Don't compile Thread for now
Bryan Drewery [Fri, 12 Mar 2010 22:26:51 +0000]
* Raise reference from uint8_t to int to allow more references now that slicing is more common
Bryan Drewery [Fri, 12 Mar 2010 19:31:08 +0000]
* Pre-construct 1 space string for comparing to delim