Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Releases: bmwcarit/capu

CAPU v0.15.0

23 Sep 12:30
Compare
Choose a tag to compare

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

04 Apr 09:24
Compare
Choose a tag to compare

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

11 Sep 13:50
Compare
Choose a tag to compare

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

21 Aug 12:42
Compare
Choose a tag to compare
  • Added capu namespace to log macros
  • Fixed buffer size in StringOutputStream::operator<<(const int32_t value)

CAPU v0.12.0

21 Aug 06:06
Compare
Choose a tag to compare
  1. Added possibility to print colors in the output console
  2. Addded new logger which is using streams for formatting log messages.
  3. Added startWith method to String
  4. Fixed copy zero elements in Array bug

CAPU v0.11.2

01 Aug 08:48
Compare
Choose a tag to compare
  • Fix: add missing Classname to some math methods

CAPU v0.11.1

30 Jul 09:38
Compare
Choose a tag to compare
  • Added const to "begin" and "end" methods of Vector

CAPU v0.11.0

29 Jul 11:58
Compare
Choose a tag to compare
  • 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

04 Jul 08:01
Compare
Choose a tag to compare

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