Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-25 | Add additional unit test to TokenStackTest making sure that the returned ↵ | Andreas Stöckel | |
token lists are actually sorted correctly | |||
2016-04-25 | Reimplement closeToken handling | Andreas 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-25 | Change way indent and dedent special tokens are produced by TokenizedData | Andreas Stöckel | |
* Move dedent to the end of the previous line * Leave indent to the first character of the current line * Dedent is called as many times as indent | |||
2016-04-25 | Remove "inherit" flag in TokenStack, add tiny unit test for TokenStack, ↵ | Andreas Stöckel | |
temporarily remove pushTokens and popTokens calls from DocumentChildHandler | |||
2015-03-03 | Added unit tests for annotation handling | Andreas Stöckel | |
2015-03-03 | Finished stack and adapted all unit tests | Andreas Stöckel | |
2015-03-03 | Started restructuring and adapting Stack class, reenabled unit tests (does ↵ | Andreas Stöckel | |
not compile right now) | |||
2015-03-02 | Unregistering all registered tokens when TokenRegistry is destroyed | Andreas Stöckel | |
2015-03-01 | Implemented TokenRegistry class and corresponding simple test case | Andreas Stöckel | |
2015-03-01 | Prefer longer non-primary tokens | Andreas Stöckel | |
2015-03-01 | allowing to store gaps in SourceOffsetVector and fixed bug with trim not ↵ | Andreas Stöckel | |
resetting offsets correctly when the new length is zero | |||
2015-02-28 | Test case for data being empty if a token is found | Andreas Stöckel | |
2015-02-26 | Reactivated TokenizerTest | Andreas Stöckel | |
2015-02-26 | Moved "assert" functions to own header | Andreas Stöckel | |
2015-02-25 | start of branch, commit log will be rewritten | Andreas Stöckel | |
2015-02-22 | Adapted old Tokenizer infrastructure to new Tokens.hpp | Andreas Stöckel | |
2015-02-22 | Implemented TokenizedData, a facility to store data with tokens where tokens ↵ | Andreas Stöckel | |
can be dynamically enabled and the whitespace mode specified at the moment the tokens are read | |||
2015-02-22 | Implemented SourceOffsetVector -- a class for storing the SourceOffset for ↵ | Andreas Stöckel | |
each character in a sequence in an fairly efficient manner | |||
2015-02-18 | fixed a bug with empty fields. | Benjamin Paassen | |
2015-02-18 | Implemented automatic validation of RootNode instances in ParserScope | Andreas Stöckel | |
2015-02-17 | Improved handling of and error messages in tha case of too many fields for a ↵ | Andreas Stöckel | |
command. Adapted StackTest to the new behaviour and added new unit test. Fixed bug #76 | |||
2015-02-16 | Fixed problem with fieldEnd closing implicit fields and added unit test | Andreas Stöckel | |
2015-02-15 | Slightly adapted Handler instances to new Handler, once again passing ↵ | Andreas Stöckel | |
non-const references to data and start, using "parseGenericString" in DocumentHandler for resolving non-string values, added unit test for testing whether "end()" is not called if "start()" fails. | |||
2015-02-15 | Removed legacy test file | Andreas Stöckel | |
2015-02-15 | Implemented most of the desired behaviour of the Stack class, added unit tests | Andreas Stöckel | |
2015-02-15 | Renamed parser/generic to parser/stack and made filenames much shorter | Andreas Stöckel | |
2015-02-15 | Moved TokenTrieTest to new directory | Andreas Stöckel | |
2015-02-14 | Moved DynamicTokenizer and TokenTrie to parser/utils | Andreas Stöckel | |
2015-02-06 | Removed childHandler, added "*" notation | Andreas Stöckel | |
2015-02-03 | Implemented ParserStateDeductor which is used to deduce the current ↵ | Andreas Stöckel | |
ParserState given the Type signature extracted from a ParserScope. | |||
2015-02-01 | Improved ParserStack state description | Andreas Stöckel | |
2015-01-27 | Introduced notion of "flags" that can be set at a certain level of the ↵ | Andreas Stöckel | |
ParserScope in order to store data that should be available between parser instances, but cannot be stored in the object graph. | |||
2015-01-25 | Adapted tests to StandaloneEnvironment, using complete pipeline in XmlParserTest | Andreas Stöckel | |
2015-01-25 | Moved StandaloneParserContext to StandaloneEnvironment | Andreas Stöckel | |
2015-01-25 | Restructures parser classes a little, removed Registry from ParserContext, ↵ | Andreas Stöckel | |
gave a ResourceManager instance to the Project, using ResourceRequest when including or linking files, thought through how "including" and "linking" are handled | |||
2015-01-21 | Some further refactoring -- renamed Scope to ParserScope, got rid of parser ↵ | Andreas Stöckel | |
namespace, added new functionality to RegistryClass, wrote documentation, added function for extracting file extensions to Utils | |||
2015-01-20 | Refactored stuff surrounding the ResourceLocator class, implemented ↵ | Andreas Stöckel | |
StaticResourceLocator which can be used for registering static resources (mainly for testing or if certain resources need to be available from the executable) | |||
2015-01-18 | Fixed bugs in definition of Project, added reference to Project to ParserContext | Andreas Stöckel | |
2015-01-18 | Fixed order in which elements in StandaloneParserContext are created/freed ↵ | Andreas Stöckel | |
(to prevent Manager empty assertion to fail) | |||
2015-01-16 | Allowing deferred resolution of Nodes | Andreas Stöckel | |
2015-01-16 | Working on XMLParser (still lot work in progress) | Andreas Stöckel | |
2015-01-15 | Using Arguments class in ParserStack for validation | Andreas Stöckel | |
2015-01-02 | Moved StandaloneParserContext to test folder | Andreas Stöckel | |
2014-12-03 | continued work on XML parser and underlying ParserStack class | Andreas Stöckel | |
2014-12-02 | continued working on the xml parser class | Andreas Stöckel | |
2014-12-01 | working version of the ParserStack class plus unit tests | Andreas Stöckel | |
2014-11-28 | moved some files | Andreas Stöckel | |
2014-11-27 | started to implement xml parser as part of a very generic parser framework ↵ | Andreas Stöckel | |
which can be used for all Ousia format parsers |