Skip to content

Releases: DLR-SC/tixi

TiXI 3.3.0

08 Mar 11:54
ee31b14
Compare
Choose a tag to compare

API Changes:

  • ::tixiXPathEvaluateNodeNumber will not throw an error anymore when an xml node does
    not exist. Rather, the function will succeed and return zero. (issue #198)
  • Fixed inconsistent behavior of the function ::tixiUpdateTextElement: This function should
    only work, when the element path refers to a single element with no XML child nodes or at most
    one text child node. This is now explicitly checked and an error is thrown, if these
    prerequisites are not met. Without this, it is not clear how the function behaves e.g. at the
    presence of comment child nodes.
  • ::tixiXPathExpressionGetTextByIndex now retrieves the complete content of an element
    including text and comments.

New Functions:

  • ::tixiExportElementAsString retrieves the xml string of a given element (issue #202)
  • ::tixiImportElementFromString imports a char-string as a child element into an existing
    tixi-document (issue #202).

TiXI 3.2.0

25 Nov 15:42
Compare
Choose a tag to compare

API Changes:

  • Fixed inconsistent behaviour of the function ::tixiAddExternalLink.
    The function now creates external node links consistent to ::tixiOpenDocumentRecursive.
    A new required argument defines, whether the newly created external node
    should be directly loaded into the xml tree (issue #173).

General Changes:

  • Drasting performance improvements when adding and changing vectors via
    ::tixiAddFloatVector and ::tixiUpdateFloatVector by changing
    the quadratic runtime behaviour to a linear behaviour (issue #183).
  • Added support for Python 3.8 and Python 3.9 (issue #178).

Fixes:

  • Fixed invalid calls in matlab bindings (issue #170).
  • Fixed error code in ::tixiGetFloatVector, if a vector element is not a number (issue #184).
  • Fixed a crash when saving to external xml documents (issue #175).

TiXI 3.1.1

24 Jul 16:12
Compare
Choose a tag to compare

Fixes:

  • Fix for ::tixiGetDoubleElement and ::tixiGetIntegerElement and elements with trailing whitespace.
  • Removed all exit( ) calls in TiXI

TiXI 3.1.0

23 Jul 13:58
Compare
Choose a tag to compare

API Changes:

  • Deprecated all array functions. These are

    • ::tixiGetArray
    • ::tixiGetArrayDimensionNames
    • ::tixiGetArrayDimensions
    • ::tixiGetArrayDimensionSizes
    • ::tixiGetArrayDimensionValues
    • ::tixiGetArrayElementCount
    • ::tixiGetArrayElementNames
    • ::tixiGetArrayParameterNames
    • ::tixiGetArrayParameters
    • ::tixiGetArrayValue

    These functions will be removed in TiXI 3.3.0!

  • ::tixiGetDoubleElement and ::tixiGetIntegerElement now return the error code ::NO_NUMBER,
    if the element is not a number.
    Before, TiXI returned '0' as a number without error.

  • ::tixiGetFloatVector and ::tixiGetVectorSize do not check for mapType="vector" anymore.

General Changes:

  • The validation error messages produced by
    ::tixiSchemaValidateFromFile, ::tixiSchemaValidateWithDefaultsFromFile and
    ::tixiSchemaValidateFromString now show line numbers of the error in the xml file.
  • Support of Matlab R2018a and newer

New Functions:

  • Added new function ::tixiRemoveExternalLinks to remove links to external files to
    improve validation of xml files.

Fixes:

  • Fixed several build problems
  • Fixed adding empty vectors using ::tixiAddFloatVector
  • Fixed crash for very long error messages
  • Fixed decoding of special characters by ::tixiGetTextElement

TiXI 3.0.3

02 Dec 10:08
Compare
Choose a tag to compare
  • General Changes:

    • Improved cmake export scripts. Tixi installs should now be relocatable.
    • The cmake build system now builds by default static libraries. If shared
      libraries are desired, -DBUILD_SHARED_LIBS=ON has to be passed to cmake.
    • Implemented caching for the functions tixiXPathExpressionGetXPath and
      tixiXPathEvaluateNodeNumber to speed up queries on large files.
  • New Functions:

    • tixiSwapElements allows to exchange two xml elements.
    • Added functions TixiGetNumberOfChilds, TixiGetChildNodeName and TixiGetChildElementPath to C++ Bindings.
  • Fixes:

    • Fixed indexing of text nodes. Now it is possible to directly select text nodes
      using e.g. /root/a/text()[2].
    • Fixed function tixiGetChildNodeName to returns also the namespace prefix.

TiXI 3.0.2

29 Jun 15:24
Compare
Choose a tag to compare
  • New Functions:
    • tixiRenameElement To rename an existing element

TiXI 3.0.1

28 Jun 20:14
Compare
Choose a tag to compare
  • General Changes:

    • Completed C++ wrapper
  • New Functions:

    • tixiXSLTransformationToString To perform an xml transformation
  • Fixes:

    • Fixed an error in Python bindings that added a tixi prefix in front of all methods

TiXI 3.0.0

15 Aug 15:12
Compare
Choose a tag to compare
  • General Changes:

    • Renamed TIXI library to tixi3
    • TiXI header file is now located under include/tixi3/tixi.h
    • Added new C++ bindings for TiXI located under include/tixi3/tixicpp.h
  • Fixes:

    • Fixed failure in tixiUIDCheckExists if a uID is duplicate
    • Fixed invalid characters in Matlab bindings
    • Fixed missing return value in the matlab bindings of tixiUIDCheckExists
    • Fixed compilation of the matlab bindings on linux

Known issues:

  • The method names in the python API accidentally contain the prefix tixi, which is wrong. This will be changed back in the next release.

TiXI 3.0.0 RC1

18 Jul 13:19
Compare
Choose a tag to compare
TiXI 3.0.0 RC1 Pre-release
Pre-release
  • General Changes:

    • Renamed TIXI library to tixi3
    • TiXI header file is now located under include/tixi3/tixi.h
    • Added new C++ bindings for TiXI located under include/tixi3/tixicpp.h
  • Fixes:

    • Fixed failure in tixiUIDCheckExists if a uID is duplicate
    • Fixed invalid characters in Matlab bindings
    • Fixed missing return value in the matlab bindings of tixiUIDCheckExists
    • Fixed compilation of the matlab bindings on linux

TiXI 2.2.4

05 Sep 14:56
Compare
Choose a tag to compare
  • General Changes:
    • Added XML namespace support
    • Added Makefile to build the MATLAB interface with mex
  • New Functions:
    • Functions to write elements with namespaces
      • tixiCreateElementNS
      • tixiCreateElementNSAtIndex
      • tixiAddBooleanElementNS
      • tixiAddDoubleElementNS
      • tixiAddIntegerElementNS
      • tixiAddTextElementNS
      • tixiAddTextElementNSAtIndex
    • Funtions for namespace modifications
      • tixiSetElementNamespace
      • tixiDeclareNamespace
    • Functions to register namespaces
      • tixiRegisterNamespace
      • tixiRegisterNamespacesFromDocument
  • Fixes:
    • Fixed hard-coded libraries in CMake config scripts