Releases: bmwcarit/capu
CAPU v0.15.0
API breach
New build system based on newer version of acme (folders and default behaviours might have changed)
Bug Fixes
Crash in vector erase method
Add Vector assignment operator
Crash in vector when initialized with zero elements
Multiple close on udpsocket now ok
Variable naming issue in capu_foreach
Close socket handles in error case in tcp sockets under posix environments
Features
Obtain socket description from tcpsocket, tcpserversocket & udpsocket
Non blocking IO for sockets (via select call)
Readchar from console
Memory pool
capu_const_foreach macro
Obtain more accurate timing via GetMicroseconds
Stream overloads (<< / >>) for more datatypes
Tests
Improve test coverage (vector, ringbuffer, math, streams, logger, delegate, guid)
Refactoring
Remove compiler warnings from multiple os/compiler/warning level setups
Replace deprecated apis (gethostbyname, inet_ntoa, inet_addr) by IPv6 capable versions
CAPU v0.14.0
API breach
Changing interface of atomic operations interface
Handle EAGAIN on linux as timeout instead of error
Moved logLevel from Logger to LogContext
New supported platform
iPhoneOS (ARMv7, ARMv7s, ARM64) and iPhoneSimulator OS (x86 32, x86 64) are now fully supported
Bug Fixes
Issue 27: Fixing ambiguous datatype in StringOutputStreamTest
Issue 30: Fixed the generic/Random namespace
Issue 32: Adding support for iPhoneOS and iPhoneSimulatorOS
Remove compiler warnings on different platforms
Set noSigPipe socket flag to true on MacOSX and iPhoneOS
Fixed problem with GCC 4.8 in Posix/Console.h
Improve handling of remotely closed socket
Removing static access on DefaultLogger from non static member function
Fix documentation of File::remove
Tests
Fix SocketTest and refining return errors on socket send
Fixing potential hang in TcpSocketInputStreamTest
Features
Add iterator-based remove to hash set
HashTables const iterator is convertible to Iterator
Necessary list operators are now const
Added some zero checks to Memory implementation
Add erase methods to vector
Add decrement operator to iterator of vector
Add ConstIterator to Vector
Added const iterators to HashSet and HashTable
Added foreach macro for several iteratable types
Added comparison operator to delegate
Added comparison operator to Array and Vector
Added getState to IInputStream
Added TimeStamp abstraction
Add QNX toolchain file
Tests
Adding additional test for timeout on send
Adding ARM64 check in ConfigTest
Added Delegate tests for virtual methods
Updating dependency googlemock to version 1.7.0
Refactoring
Moved common parts of MacOSX and iPhoneOS into one location
Moving common parts of TcpSocket from Windows and Posix into generic
Removing special treatment of MacOSX in ConfigTest
CAPU v0.13.0
Bug fixes:
- Fixed a bug in StringOutputStream (big floats induced buffer overflow)
- Fixed potential warning in String Constructor
- Fixed minor bug in ACMEs list to string function
- Fixed OS_WINDOWS macro definition
- Fixed Mac OS X 64 bit build
- Removed dead code in StringOutputStream
- Removed pragmas for memory alignment in HashTableEntry
- Added references in Pair instead of copies
- Added check for 0 before ObjectCopy in Array
New features/supported platforms:
- Added support for QNX ARMv7L
- Added support for Mac OS X 32 bit
- Added simple delegate mechanism
- Added Math::Exp function
- Added more assignment and swapping tests
Warnings are now errors:
- Added /WX Flag to Windows toolchain files
- Added -Werror to Linux toolchain files
CAPU v0.12.1
- Added capu namespace to log macros
- Fixed buffer size in StringOutputStream::operator<<(const int32_t value)
CAPU v0.12.0
- Added possibility to print colors in the output console
- Addded new logger which is using streams for formatting log messages.
- Added startWith method to String
- Fixed copy zero elements in Array bug
CAPU v0.11.2
- Fix: add missing Classname to some math methods
CAPU v0.11.1
- Added const to "begin" and "end" methods of Vector
CAPU v0.11.0
- Removed autocast to const char* operator from String
- Added some constructors to String
- Copy method of array now also works with different sizes
- Added endl and fixed to StringOutputStream
- Added resize and clear methods to Vector
CAPU v0.10.0
This release adds support for Android ARMv7 to the CAPU platform abstraction.
Furthermore the following new feature have been added:
- Initial implementation of a console abstraction
- Synchronized access to container objects
- String Tokenizer
- Obtaining address of connected client in socket
- Stream operators now support native 64 bit data types
- String::find now supports an offset