- Oct 15, 2023
-
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
-
- Oct 11, 2023
-
-
Jonathan Schöbel authored
-
- Oct 10, 2023
-
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
Up to (and including) commit 7e53e866 'Merge branch 'feature/fragment'' Thus now all commit messages are collected.
-
Jonathan Schöbel authored
Up to (and including) commit 90bc356b 'Merge branch 'master' into feature/validator'
-
- Oct 08, 2023
-
-
Jonathan Schöbel authored
Up to (and including) commit 9518d835 'Merge branch 'feature/text''
-
Jonathan Schöbel authored
Up to (and including) commit e572e78b 'renamed macros'
-
- Oct 07, 2023
-
-
Jonathan Schöbel authored
Up to (and including) commit f86bd5cf 'setup library (make & API)'
-
Jonathan Schöbel authored
Up to (and including) commit b6a32fb8 'fixing bugs (static code analysis)'
-
Jonathan Schöbel authored
To begin writing the documentation, first information from commit messages will be collected to docs/commit_messages.txt .
-
- Oct 06, 2023
-
-
Jonathan Schöbel authored
The type predicate was missing.
-
- Oct 05, 2023
-
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
Plain newlines are not shown in the description.
-
Jonathan Schöbel authored
The library was always recompiled, even if it has already been compiled in the previous stage, because on git checkout the files get the timestamp of the checkout-time, but the already build files, coming from artifacts, have older times, thus resulting in a recompilation. This is fixed with setting the timestamp of every file to the last change git knows of.
-
Jonathan Schöbel authored
Changed code to some new conventions.
-
- Oct 04, 2023
-
-
Jonathan Schöbel authored
The initialisation can now be provided by the validator itself.
-
Jonathan Schöbel authored
Tags according to: https://html.spec.whatwg.org/dev/indices.html#elements-3 Types according to: https://html.spec.whatwg.org/multipage/syntax.html#elements-2 Retrieved 04. 10. 2023
-
Jonathan Schöbel authored
As there is no longer a need to override SIZE_MAX, it can be linked against the objectfile.
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
-
Jonathan Schöbel authored
Other predicates may follow.
-
Jonathan Schöbel authored
Each tag has a type as defined by the html spec. This must be provided on registration. Implicitly registering tags, when an attribute is registered can't be done anymore, as the type information would be missing. The added parameterin register_tag, as well as the change of behaviourin register_attr has broken a lot of tests, that had to be adjusted therefor.
-
Jonathan Schöbel authored
As the demo program uses tags, that aren't currently known as valid, it became broken, by enforcing valid tags.
-
Jonathan Schöbel authored
This commit reverts '1e61c23e'. NodeFragment now uses the validator to validate the tags. The attributes aren't validated yet, as this is more complicated, because the tag is needed for that.
-
Jonathan Schöbel authored
The two predicates SH_Data_check_tag and SH_Data_check_attr are a wrapper to the appropriate methods of the validator. These are needed, as there shouldn't be direct calls to the internal structure of SH_Data. The modifying methods are not exposed, as the validator shouldn't be changed while others depend on it.
-
- Oct 01, 2023
-
-
Jonathan Schöbel authored
The method names are now also unique.
-
- Sep 30, 2023
-
-
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.
-
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.
-
- Sep 29, 2023
-
-
Jonathan Schöbel authored
-
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.
-
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.
-
- Sep 15, 2023
-
-
Jonathan Schöbel authored
In preparation for also adding attributes this way.
-
- Sep 07, 2023
-
-
Jonathan Schöbel authored
For a rationale, see commit 'Validator: removed ids for attrs'
-