summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-04-25Do not handle tokens if the current handler is not valid.Andreas Stöckel
Fixes crash bug in added integration test.
2016-04-25Prepend the descriptor path to the ids to make it simpler to distinguish the ↵Andreas Stöckel
ids from mere names
2016-04-25Prevent inserting the same Node multiple times into the nodesWithoutId ↵Andreas Stöckel
vector using a set. Keep the vector in order to generate the ids in a deterministic order.
2016-04-25Generate unique IDs for XmlOutput and serialize thoseAndreas Stöckel
2016-04-25Added transformation for generating unique IDs for referenced document nodesAndreas Stöckel
2016-04-25Added ManagedVariant type which is a Managed object containing a variant. ↵Andreas Stöckel
This functionality is used for storing Variants in the Managed data store.
2016-04-25Added functions for reading attached data with a certain expected typeAndreas Stöckel
2016-04-25Added getFields method to DocumentEntity class to escape akward ↵Andreas Stöckel
getDescriptor call to get the number of fields when one wants to iterate over all fields.
2016-04-25Made all functions in XMLOutput static and added TODO regarding ↵Andreas Stöckel
restructuring the code
2016-04-25AutoformatAndreas Stöckel
2016-04-25Implement resolution of referenced objectAndreas Stöckel
2016-04-25Simplify resolution callback, move NullResolveCallback to ↵Andreas Stöckel
ResolutionCallbacks.cpp
2016-04-25Implement generic "inheritsFrom" method for Descriptor classAndreas Stöckel
2016-04-25Derive structure entities and annotation entities from common base class to ↵Andreas Stöckel
allow resolution for both
2016-04-25added some style to the DemoHTMLOutput.Benjamin Paassen
2016-04-25output reference types as name of the reference.Benjamin Paassen
2016-04-25removed escaping of single quotes in XML serialization.Benjamin Paassen
2016-04-25Replace Typesystem "MagicCallback" by a more generic one.Andreas Stöckel
2016-04-25Add header containing callbacks used for the resolution of nodes in the ↵Andreas Stöckel
document graph
2016-04-25Allow non-Greedy short form to eat normal commands.Andreas Stöckel
E.g. with regrads to the math ontology, this change allows syntax like \(a^\frac{1}{2}\) which is also valid in TeX (added corresponding tests).
2016-04-25Small changes to the ReferenceType class, allows them to be used -- however ↵Andreas Stöckel
resolution of referenced objects is still missing.
2016-04-25Fix utterly broken ReferenceType generation.Andreas Stöckel
2016-04-25Fix typo in commentAndreas Stöckel
2016-04-25Implement resolution of ReferenceTypes with the "@" syntax.Andreas Stöckel
2016-04-25Implement ReferenceType type class with some rudimentary behaviourAndreas Stöckel
2016-04-25Fix typo in commentAndreas Stöckel
2016-04-25Remove stray commentAndreas Stöckel
2016-04-25Adapt isNamespacededIdentifier to most recent identifier formatAndreas Stöckel
2016-04-25Switch Variant::objectType from Rooted<Managed> to Owned<Managed> to allow ↵Andreas Stoeckel
intra-document references.
2016-04-25Owned<T> should behave just like Rooted<T> if the owner is set to nullptrAndreas Stoeckel
2016-04-25If in the implicit default field of a non-greedy short form, only read data ↵Andreas Stöckel
until whitespace characters are reached. Improve tests accordingly.
2016-04-25Implement endAtWhitespace flag which tells TokenizedDataReader to stop ↵Andreas Stöckel
reading data after the first whitespace character
2016-04-25Implement non-greedy behaviour for short tokensAndreas Stöckel
2016-04-25Introduce HandlerInfo::hadData flagAndreas Stöckel
2016-04-25Pass "greedy" flag to Handler::startTokenAndreas Stöckel
2016-04-25Serialize greedy flagAndreas Stöckel
2016-04-25Pass "isImplicit" flag to Handler::fieldStartAndreas Stöckel
2016-04-25Add greedy flag to TokenDescriptor and SyntaxDescriptor and set it ↵Andreas Stöckel
correctly. Shorten Stack "checkTokensAreUnambiguous" method
2016-04-25Add a new "greedy" flag as attribute to the "short" syntax descriptorAndreas Stöckel
2016-04-25Replace NodeVector by ManagedVector where NodeVector functionality is not ↵Andreas Stöckel
needed. Reduces calls to "Manager.registerEvent" to <10% of original value
2016-04-25Greatly reduce heap allocation count by using an unordered map for reference ↵Andreas Stöckel
counting (though this change only has a small performance impact otherwise)
2016-04-25Issue an error messages if tokens are ambiguousAndreas Stöckel
2016-04-25Completed documentationAndreas Stöckel
2016-04-25Reimplement closeToken handlingAndreas Stöckel
Idea: Only start unrolling anything on the parser stack if an element that matches the given close token is found. This requires the endToken method in DocumentChildHandler to search for the given descriptor that might be ended. While performing this search, only a specified number of "explicit" structures/fields opened by the Stack class may be skipped (those with implicit default fields). Added an integration test ("python_code") which requires this new (hopefully sane) behaviour.
2016-04-25Store whether the DocumentField is part of an explicit field inside the ↵Andreas Stöckel
"DocumentField" class
2016-04-25Improve error messageAndreas Stöckel
2016-04-25Automatically protect whitespace after annotation endings and in front of ↵Andreas Stöckel
annotation starts.
2016-04-25Implement hasNonWhitespaceChar, lastCharIsWhitespace and ↵Andreas Stöckel
firstCharIsWhitespace methods for TokenizedData class
2016-04-25Use "emph" instead of "emphasized" for the demo html output, adapt unit ↵Andreas Stöckel
tests accordingly
2016-04-25handled special tokens in ontology serialization.Benjamin Paassen