bdlib.git
2 months agoExplicitly define copy/move assignment operators in String/Array to fix GCC 4.7 errors master github-org/master github/master
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

2 months agoAdd tests to cover move semantics in ReferenceCountedArray/String
Bryan Drewery [Sun, 11 Mar 2012 04:29:11 +0000] 
Add tests to cover move semantics in ReferenceCountedArray/String

2 months agoUse std::move() where move semantics expected
Bryan Drewery [Sun, 11 Mar 2012 04:25:10 +0000] 
Use std::move() where move semantics expected

2 months agoImplement move assignment operators
Bryan Drewery [Sun, 11 Mar 2012 04:08:46 +0000] 
Implement move assignment operators

2 months agoAdd missing alloc swapping
Bryan Drewery [Sun, 11 Mar 2012 04:03:09 +0000] 
Add missing alloc swapping

2 months agoUse std::move() when move constructing an Array
Bryan Drewery [Sun, 11 Mar 2012 04:02:59 +0000] 
Use std::move() when move constructing an Array

2 months agoUse more effecient Move Constructors
Bryan Drewery [Sun, 11 Mar 2012 03:42:09 +0000] 
Use more effecient Move Constructors

2 months agoRun autoconf for c++98 standard fix
Bryan Drewery [Tue, 6 Mar 2012 22:07:32 +0000] 
Run autoconf for c++98 standard fix

2 months agoCleanup logic for calling Reserve
Bryan Drewery [Sun, 4 Mar 2012 00:49:19 +0000] 
Cleanup logic for calling Reserve

2 months agoFix more cases of NULL Ref usage
Bryan Drewery [Sun, 4 Mar 2012 00:47:25 +0000] 
Fix more cases of NULL Ref usage

2 months agoFix crash on empty String
Bryan Drewery [Sun, 4 Mar 2012 00:30:10 +0000] 
Fix crash on empty String

2 months ago* Use c++98 standard if C++11 is not available
Bryan Drewery [Tue, 28 Feb 2012 17:08:59 +0000] 
* Use c++98 standard if C++11 is not available

2 months ago* Avoid copying/freeing buf if NULL
Bryan Drewery [Tue, 28 Feb 2012 05:04:27 +0000] 
* Avoid copying/freeing buf if NULL

2 months ago* Fix BinaryTreeIterator::operator bool() not working properly, causing crashes
Bryan Drewery [Tue, 28 Feb 2012 04:40:04 +0000] 
* Fix BinaryTreeIterator::operator bool() not working properly, causing crashes

2 months ago* Disable memory pooling when running in valgrind
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

2 months ago* Fix build failure on older gcc
Bryan Drewery [Tue, 28 Feb 2012 01:48:17 +0000] 
* Fix build failure on older gcc

2 months ago* Clear old SUFFIXES before adding new
Bryan Drewery [Tue, 28 Feb 2012 00:51:44 +0000] 
* Clear old SUFFIXES before adding new

2 months ago* Improve make portability
Bryan Drewery [Mon, 27 Feb 2012 04:47:33 +0000] 
* Improve make portability

2 months ago* Ensure gmake is installed for 'make test'
Bryan Drewery [Sun, 26 Feb 2012 20:33:58 +0000] 
* Ensure gmake is installed for 'make test'

2 months ago* Ignore buildbot directory
Bryan Drewery [Sun, 26 Feb 2012 20:18:13 +0000] 
* Ignore buildbot directory

2 months ago* Add BSDMakefile for BSD systems as GNU Make is required
Bryan Drewery [Sun, 26 Feb 2012 20:17:54 +0000] 
* Add BSDMakefile for BSD systems as GNU Make is required

2 months ago* Rename 'make check' to 'make test'
Bryan Drewery [Sun, 26 Feb 2012 20:17:32 +0000] 
* Rename 'make check' to 'make test'

2 months ago* Inline the dependency checking to avoid depcomp
Bryan Drewery [Wed, 22 Feb 2012 20:57:23 +0000] 
* Inline the dependency checking to avoid depcomp

2 months ago* Avoid needing `basename`
Bryan Drewery [Wed, 22 Feb 2012 20:53:01 +0000] 
* Avoid needing `basename`

2 months ago* Don't auto enable caching in configure
Bryan Drewery [Tue, 21 Feb 2012 01:41:12 +0000] 
* Don't auto enable caching in configure

2 months ago* Add Cref copy constructor back as some older gcc don't optimize it away
Bryan Drewery [Mon, 20 Feb 2012 18:22:48 +0000] 
* Add Cref copy constructor back as some older gcc don't optimize it away

2 months ago* Compile UnitRunner with the CPPUNIT_CFLAGS to fix compiling on FreeBSD
Bryan Drewery [Mon, 20 Feb 2012 15:50:35 +0000] 
* Compile UnitRunner with the CPPUNIT_CFLAGS to fix compiling on FreeBSD

2 months ago* Only enable C++11 features on gcc 4.6 and higher
Bryan Drewery [Mon, 20 Feb 2012 02:49:21 +0000] 
* Only enable C++11 features on gcc 4.6 and higher

2 months ago* Make C++11 features optional dependent on __GXX_EXPERIMENTAL_CXX0X__
Bryan Drewery [Mon, 20 Feb 2012 02:41:39 +0000] 
* Make C++11 features optional dependent on __GXX_EXPERIMENTAL_CXX0X__

2 months ago* Use AS_HELP_STRING for cppunit
Bryan Drewery [Sun, 19 Feb 2012 20:59:06 +0000] 
* Use AS_HELP_STRING for cppunit

4 months ago* Cleanup HashTable including / forward declarations
Bryan Drewery [Tue, 27 Dec 2011 22:55:21 +0000] 
* Cleanup HashTable including / forward declarations

4 months ago* Only allocate an ArrayRef if needed
Bryan Drewery [Tue, 27 Dec 2011 20:09:37 +0000] 
* Only allocate an ArrayRef if needed

4 months ago* Support allocator in String
Bryan Drewery [Sun, 25 Dec 2011 05:25:24 +0000] 
* Support allocator in String

4 months ago* Use std::allocator for ReferenceCountedArray allocating
Bryan Drewery [Sun, 25 Dec 2011 03:35:31 +0000] 
* Use std::allocator for ReferenceCountedArray allocating

4 months ago* Fix memory leak (FILE*) when mmap() not available
Bryan Drewery [Sun, 25 Dec 2011 04:50:15 +0000] 
* Fix memory leak (FILE*) when mmap() not available

4 months ago* Cleanup forward declarations
Bryan Drewery [Sun, 25 Dec 2011 03:37:04 +0000] 
* Cleanup forward declarations

4 months ago* Remove unneeded build tools/checks
Bryan Drewery [Sun, 25 Dec 2011 02:33:57 +0000] 
* Remove unneeded build tools/checks

4 months ago* Fix ReferenceCountedArrayBase not being initialized in ReferenceCountedArray
Bryan Drewery [Sat, 24 Dec 2011 21:12:31 +0000] 
* Fix ReferenceCountedArrayBase not being initialized in ReferenceCountedArray

4 months ago* Check for g++4.6,4.5,4.4
Bryan Drewery [Fri, 23 Dec 2011 03:55:08 +0000] 
* Check for g++4.6,4.5,4.4

4 months ago* Use delete to block copying
Bryan Drewery [Tue, 20 Dec 2011 19:15:59 +0000] 
* Use delete to block copying

4 months ago* Add explicit operator bool() (C++11)
Bryan Drewery [Tue, 20 Dec 2011 19:04:37 +0000] 
* Add explicit operator bool() (C++11)

5 months ago* Add missing operator=() and move constructor for KeyValue
Bryan Drewery [Sun, 18 Dec 2011 21:28:07 +0000] 
* Add missing operator=() and move constructor for KeyValue

5 months ago* Doc cleanup
Bryan Drewery [Sat, 17 Dec 2011 16:22:08 +0000] 
* Doc cleanup

5 months ago* Remove Cref copy constructor
Bryan Drewery [Sat, 17 Dec 2011 16:13:28 +0000] 
* Remove Cref copy constructor

5 months ago* Don't use copy-and-swap for ReferenceCountedArray assignment, the old method is...
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

5 months ago* Remove the need for a temporary and allow for optimization
Bryan Drewery [Sat, 17 Dec 2011 14:43:37 +0000] 
* Remove the need for a temporary and allow for optimization

5 months ago* DRY List operations
Bryan Drewery [Sat, 17 Dec 2011 14:26:53 +0000] 
* DRY List operations

5 months ago* Rename List::Node::ptr to List::Node::item to better denote what it is
Bryan Drewery [Sat, 17 Dec 2011 14:19:59 +0000] 
* Rename List::Node::ptr to List::Node::item to better denote what it is

5 months ago* Support initializer_list constructor and assignments
Bryan Drewery [Sat, 17 Dec 2011 02:42:40 +0000] 
* Support initializer_list constructor and assignments

5 months ago* Rename HashTable::list -> _list
Bryan Drewery [Sat, 17 Dec 2011 13:46:42 +0000] 
* Rename HashTable::list -> _list

5 months ago* Use auto to cleanup syntax
Bryan Drewery [Sat, 17 Dec 2011 11:58:37 +0000] 
* Use auto to cleanup syntax

5 months ago* This length should be const
Bryan Drewery [Sat, 17 Dec 2011 02:12:22 +0000] 
* This length should be const

5 months ago* Implement move constructors from C++0x
Bryan Drewery [Sat, 17 Dec 2011 02:12:03 +0000] 
* Implement move constructors from C++0x

5 months ago* Build in C++0x standard
Bryan Drewery [Sat, 17 Dec 2011 16:43:13 +0000] 
* Build in C++0x standard

5 months ago* Only need to cleanse if rcount==1
Bryan Drewery [Sat, 17 Dec 2011 01:58:12 +0000] 
* Only need to cleanse if rcount==1

5 months ago* Use copy-and-swap idiom for assignment operators
Bryan Drewery [Fri, 16 Dec 2011 20:46:07 +0000] 
* Use copy-and-swap idiom for assignment operators

http://stackoverflow.com/a/3279550/285734

5 months ago* Allow chaining ReferenceCountedArray.operator=()
Bryan Drewery [Fri, 16 Dec 2011 20:47:35 +0000] 
* Allow chaining ReferenceCountedArray.operator=()

5 months ago* Fix clang compiling by disabling -fno-elide-constructors (fixes #2)
Bryan Drewery [Fri, 16 Dec 2011 15:44:30 +0000] 
* Fix clang compiling by disabling -fno-elide-constructors (fixes #2)

5 months ago* Cleanup some documentation
Bryan Drewery [Fri, 16 Dec 2011 05:19:30 +0000] 
* Cleanup some documentation

5 months ago* Utilize npos in more places
Bryan Drewery [Fri, 16 Dec 2011 05:50:04 +0000] 
* Utilize npos in more places

5 months ago* Array uses the STL iterators in ReferenceCountedArray now
Bryan Drewery [Fri, 16 Dec 2011 05:10:40 +0000] 
* Array uses the STL iterators in ReferenceCountedArray now

5 months ago* Fix duplicated npos definition by using a real static in a non-template base class
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

5 months ago* Ignore kdevelop files
Bryan Drewery [Fri, 16 Dec 2011 01:58:09 +0000] 
* Ignore kdevelop files

5 months ago* Fix invalid call to 'ar'
Bryan Drewery [Thu, 15 Dec 2011 17:33:54 +0000] 
* Fix invalid call to 'ar'

5 months ago* Remove unneeded configure options
Bryan Drewery [Thu, 15 Dec 2011 17:23:40 +0000] 
* Remove unneeded configure options

5 months ago* CLang compile fixes
Bryan Drewery [Thu, 15 Dec 2011 17:13:55 +0000] 
* CLang compile fixes

5 months ago* Add README
Bryan Drewery [Sun, 27 Nov 2011 17:59:43 +0000] 
* Add README

6 months ago* Implement reverse iterators and update documentation
Bryan Drewery [Thu, 17 Nov 2011 17:32:09 +0000] 
* Implement reverse iterators and update documentation

6 months ago* Add mutable begin()/end()/mdata() to ReferenceCountedArray
Bryan Drewery [Wed, 16 Nov 2011 21:55:52 +0000] 
* Add mutable begin()/end()/mdata() to ReferenceCountedArray

6 months ago* Fix cppunit library including on ubuntu
Bryan Drewery [Wed, 16 Nov 2011 21:52:59 +0000] 
* Fix cppunit library including on ubuntu

6 months ago* Use proper namespace for ptrdiff_t
Bryan Drewery [Wed, 16 Nov 2011 21:41:51 +0000] 
* Use proper namespace for ptrdiff_t

10 months ago* Move base 64 charset into header so it can be shared
Bryan Drewery [Mon, 4 Jul 2011 00:52:48 +0000] 
* Move base 64 charset into header so it can be shared

10 months ago* Make charset optional for b64{enc,dec}_buf
Bryan Drewery [Sun, 3 Jul 2011 20:32:18 +0000] 
* Make charset optional for b64{enc,dec}_buf

10 months ago* Update documentation
Bryan Drewery [Sat, 2 Jul 2011 15:42:07 +0000] 
* Update documentation

12 months ago* Ignore configure.lineno (dash doesnt support LINENO)
Bryan Drewery [Thu, 19 May 2011 18:57:22 +0000] 
* Ignore configure.lineno (dash doesnt support LINENO)

12 months ago* Run autoconf 2.67
Bryan Drewery [Thu, 19 May 2011 18:50:02 +0000] 
* Run autoconf 2.67

13 months ago* Add option to Array::join() to quote every element
Bryan Drewery [Sat, 9 Apr 2011 03:47:05 +0000] 
* Add option to Array::join() to quote every element

13 months ago* Add String::rfind() and ReferenceCountedArray::rfind()
Bryan Drewery [Wed, 25 Aug 2010 15:25:59 +0000] 
* Add String::rfind() and ReferenceCountedArray::rfind()

13 months ago* Make String::printf a static which returns a new String
Bryan Drewery [Sat, 9 Apr 2011 00:38:23 +0000] 
* Make String::printf a static which returns a new String

20 months ago* Fixup int/size_t misuse and use static_cast<> where appropriate
Bryan Drewery [Thu, 26 Aug 2010 03:07:27 +0000] 
* Fixup int/size_t misuse and use static_cast<> where appropriate

20 months ago* Comment fix
Bryan Drewery [Sun, 22 Aug 2010 02:01:14 +0000] 
* Comment fix

20 months ago* Fix unit test crash
Bryan Drewery [Sat, 21 Aug 2010 22:05:17 +0000] 
* Fix unit test crash

21 months ago* Cache hash() results for ReferenceCountedArray
Bryan Drewery [Wed, 18 Aug 2010 16:52:09 +0000] 
* Cache hash() results for ReferenceCountedArray

21 months ago* Rename Stream::gets() to Stream::read() to avoid sutpid libssp compile warnings
Bryan Drewery [Tue, 17 Aug 2010 18:39:26 +0000] 
* Rename Stream::gets() to Stream::read() to avoid sutpid libssp compile warnings

21 months ago* Fix documentation
Bryan Drewery [Sat, 14 Aug 2010 20:37:17 +0000] 
* Fix documentation

22 months ago* Add more Stream::writeFile() unit tests and switch to using ftruncate()
Bryan Drewery [Fri, 25 Jun 2010 05:37:00 +0000] 
* Add more Stream::writeFile() unit tests and switch to using ftruncate()

22 months ago* Verify writeFile result in unit tests
Bryan Drewery [Fri, 25 Jun 2010 02:44:38 +0000] 
* Verify writeFile result in unit tests

23 months ago* Remove default -j4 and move to MAKEJOBS
Bryan Drewery [Fri, 4 Jun 2010 21:27:59 +0000] 
* Remove default -j4 and move to MAKEJOBS

2 years ago* Fix warnings in List::Node due to -Weffc++
Bryan Drewery [Sun, 16 May 2010 04:25:35 +0000] 
* Fix warnings in List::Node due to -Weffc++

2 years ago* First naive implementation of String::subst
Bryan Drewery [Sun, 16 May 2010 03:26:37 +0000] 
* First naive implementation of String::subst

2 years ago* Fix bad unit test
Bryan Drewery [Sun, 16 May 2010 02:46:32 +0000] 
* Fix bad unit test

2 years ago* Add ReferenceCountedArray constructor (size_t, value_type) to populate the new...
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

2 years ago* Add HashTable::keys() and HashTable::values()
Bryan Drewery [Tue, 23 Mar 2010 14:01:14 +0000] 
* Add HashTable::keys() and HashTable::values()

2 years ago* Fix ReferenceCountedArray::resize() doubling the size requested
Bryan Drewery [Tue, 23 Mar 2010 13:47:55 +0000] 
* Fix ReferenceCountedArray::resize() doubling the size requested

2 years ago* Only use g++ 4 options if using g++ 4.
Bryan Drewery [Tue, 16 Mar 2010 17:28:05 +0000] 
* Only use g++ 4 options if using g++ 4.

2 years ago* Run autoconf 2.6.3
Bryan Drewery [Tue, 16 Mar 2010 17:23:24 +0000] 
* Run autoconf 2.6.3

2 years ago* Add additional String::compare() tests
Bryan Drewery [Sat, 13 Mar 2010 04:55:57 +0000] 
* Add additional String::compare() tests

2 years ago* Don't compile Thread for now
Bryan Drewery [Sat, 13 Mar 2010 03:27:07 +0000] 
* Don't compile Thread for now

2 years ago* Raise reference from uint8_t to int to allow more references now that slicing is...
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

2 years ago* Pre-construct 1 space string for comparing to delim
Bryan Drewery [Fri, 12 Mar 2010 19:31:08 +0000] 
* Pre-construct 1 space string for comparing to delim