Skip to content
Snippets Groups Projects
  1. Oct 15, 2023
  2. Oct 11, 2023
  3. Oct 10, 2023
  4. Oct 08, 2023
  5. Oct 07, 2023
  6. Oct 06, 2023
  7. Oct 05, 2023
  8. Oct 04, 2023
  9. Oct 01, 2023
  10. Sep 30, 2023
    • Jonathan Schöbel's avatar
      Validator: remove specific tag for global attribute · ff877a6c
      Jonathan Schöbel authored
      Deregistering a global attribute normally is not possible, as basically
      every other tag has to be added. This was implemented now.
      Originally it was intended to provide the caller with the information,
      that a global attribute has to be converted into a local one before
      removal. However such internals should not be exposed to the caller. As
      it stands there is no real reason to inform a caller, whether an
      attribute is local or global. Also, there is a problem that the
      predicate is burdened with the possibility, that the attribute doesn't
      exists, thus it can't return a boolean directly. Both is why, the
      predicate isn't added yet.
      Also a bug was detected in the method remove_tag_for_all_attrs. It
      removes an attribute while also iterating over it, thus potentially
      skipping over some attribute and maybe also invoking undefined behaviour
      by deallocating space after the array.
      ff877a6c
    • Jonathan Schöbel's avatar
      Validator: added support for global attributes · bb52ef0c
      Jonathan Schöbel authored
      Global attributes are represented by empty attributes. A global
      attribute is an attribute, that is accepted for any tag.
      It is refused to remove a specific tag for a global attribute, as this
      would mean to "localize" the tag, thus making it not global anymore.
      The method to do that and a predicate for globalness is missing yet.
      bb52ef0c
  11. Sep 29, 2023
    • Jonathan Schöbel's avatar
      781488f2
    • Jonathan Schöbel's avatar
      Validator: added test for deregister_tag · ef96a654
      Jonathan Schöbel authored
      Some bug was found: realloc may return NULL, if size is 0.
      This should not be considered as if realloc has failed.
      ef96a654
    • Jonathan Schöbel's avatar
      Validator: added initializer for attributes · fa8b7147
      Jonathan Schöbel authored
      Similar to the tags, the attributes can be initialized. Missing tags are
      automatically added. The declaration syntax is currently a bit annoying,
      as the tags, that belong to an attribute, either have to be declared
      explicitly or a pointer to the tag declaration must be given, but then
      only concurrent tags are possible.
      Support for global attributes is likewise missing; it must be ensured,
      that (tag_n != 0) && (tags != NULL). Otherwise validator will be
      inconsistent and there might be a bug.
      fa8b7147
  12. Sep 15, 2023
  13. Sep 07, 2023
Loading