Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: aslze/asl

1.11.4

20 Nov 20:13

Choose a tag to compare

ASL version 1.11.4

Fixes and small changes.

  • Can use the mbedTLS library built in the same tree (with fetch, submodule...)
  • Var[key] const does not add the key if it is not found (it used to :-( )
  • Improved HashMap API and fixed enumeration in C++17 for([key, value]: map)
  • Added Shared<T>::as<T2>() to cast shared pointers
  • More const-correctness
  • More tests, cleanup

1.11.3

13 Nov 18:16

Choose a tag to compare

ASL version 1.11.3

Fixes and small changes.

  • Improved Matrix3: norm(), rotation(), translation() ...
  • Added Xml::clear()
  • Improved IniIFile with indented comments
  • Improved Set<>, range for, operator==
  • Added HashMap operator==
  • Fixed File.use(stdout)
  • shuffle is not in Random::shuffle()
  • Improved Stack<T>
  • Fixed Array_<T,N> enumeration

1.11.2

19 Oct 19:12

Choose a tag to compare

ASL version 1.11.2

Some small changes.

  • TextFile will now open in WRITE mode when writing to it if it was not opened (not in APPEND mode)
  • Use Xml::put() to set a child element's text content (not set() which might change behavior in the future to set an attribute)
  • deg2rad(int) will now return a double so we can now safely do deg2rad(45)
  • Better support for newer pybind11 versions for Python bindings
  • changes in solveZero() to stop iterations if residual increases several times
  • Better Var assignment to an initializer list
  • In Random::normal(m, s), s is the standard deviation (fixed documentation)

1.11.1

30 May 20:07

Choose a tag to compare

ASL version 1.11.1

Bug fixes and little changes.

  • Fixed IniFile reading an INI file value with a default value in case it is not found (operator())
  • Fixed explicit String -> QString conversion
  • Fixed warning on gcc/Linux due to fiddling with __STRICT_ANSI__
  • Added Array::filter(f)
  • Added Matrix4::axisAngle() to get a rotation vector
  • Added missing Vec2::operator% for component-wise multiplication
  • Removed old String construction from Array
  • More constructors marked explicit

1.11.0

16 May 22:37

Choose a tag to compare

ASL version 1.11.0

Fixes and improvements.

  • Added class Matrix for matrices of any size, plus linear system solver and non-linear system (least squares) solver.
  • Sockets can provide error codes as strings (even through an HttpResponse)
  • More constructors for XML literals using initializer lists
  • Console can set text/background colors as RGB values too
  • Constructors marked explicit when needed, if available

1.10.4

22 Feb 23:23

Choose a tag to compare

ASL version 1.10.4

Quick fix to broken File::operator<< and Socket::operator<< in version 1.10.3.

To write a StreamBuffer use '*'. e.g. file << *buffer; until this is sorted out.

1.10.3

20 Feb 17:22

Choose a tag to compare

ASL version 1.10.3

Small fixes and improvements.

  • Added conversion of 3D rotation matrices to/from Euler angles in different order conventions.
  • Fixed HTTP keep-alive handing in HTTP/1.0 and HTTP/1.1
  • TlsSocket/HTTPS: Compatibility with mbedTLS 3.x and 2.x.
  • Warnings on use of deprecated functions
  • byte is now asl::byte (there will be a global alias for compatibility for a while)
  • Added ByteArray as alias of Array<byte>
  • Some code cleanup, avoided warnings, slightly safer Directory::removeRecursive()

1.10.2

01 Dec 23:31

Choose a tag to compare

ASL version 1.10.2

Bug fixes and small improvements.

  • Date now parses ISO8601 including timezone offset and milliseconds
  • Improved Array2, including initializers, range-based for, and slice
  • Improved CmdArgs (no crash if index beyond last arg)
  • Improved Var, Array, Map
  • Improved StreamBuffer
  • Fixed Socket::read(int)
  • Fixed SerialPort::waitInput() on Windows and avoid warnings on Unix
  • Fixed Matrix4 constructor from row or column major data
  • Fixed JSON parsing (comma after newline)
  • Fixed TlsSocket::write() with large data blocks
  • Fixed Var to Array<String> conversion

1.10.1

02 May 22:33

Choose a tag to compare

ASL version 1.10.1.

Bug fixes and small improvements.

  • Fixed IniFile issues with bad files and early write
  • Fixed XML indentation
  • Fixed HTTP server CORS requests with credentials (partially)
  • Fixed String::endsWith() on too short strings
  • Fixed HashMap::clone()
  • Improved Path::absolute()
  • Improved JSON/XDL encoding options
  • Improved Var construction with initializer lists
  • Improved Process::execute() and added functions to check for output
  • Removed obsolete JSON functions (decodeJSON(), ...)

1.10.0

18 Nov 00:31

Choose a tag to compare

ASL version 1.10.0.

Bug fixes and improvements.

  • HTTP fixes: requests with no port, bad parsing of IPv6 addresses
  • HTTP download and upload functions (directly to/from a file), raw or as multipart item
  • HTTP progress notification of data sent or received
  • Var and JSON improvements: handling of floats, operator |, formatting
  • Added Function<> backward/forward-compatible generic function type
  • Added Matrix4::orthonormalize()
  • Added Array2<T> basic 2-dimensional array
  • Better Matrix3, Matrix4 :: inverse()
  • Improved Natvis file for VS debugging (place in Documents/Visual Studio 20xx/Visualizers)