Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-25 | Pass "isImplicit" flag to Handler::fieldStart | Andreas Stöckel | |
2016-04-25 | Replace NodeVector by ManagedVector where NodeVector functionality is not ↵ | Andreas Stöckel | |
needed. Reduces calls to "Manager.registerEvent" to <10% of original value | |||
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 | Store whether the DocumentField is part of an explicit field inside the ↵ | Andreas Stöckel | |
"DocumentField" class | |||
2016-04-25 | Autoformat | Andreas Stöckel | |
2016-04-25 | Improved error message if data is not allowed here | Andreas Stöckel | |
2016-04-25 | fixed a bug in the DocumentHandler which lead to problems in case of empty ↵ | Benjamin Paassen | |
explicit fields. | |||
2016-04-25 | added test for empty explicit fields, which currently fails. | Benjamin Paassen | |
2016-04-25 | First implementation of user defined syntax, many features still missing and ↵ | Andreas Stöckel | |
probably many bugs * Implement startToken and endToken in DocumentChildHandler * Implement pushScopeToken, which pushes tokens for the element that is currently on top of the Scope stack onto the token stack * Implement rollbackPath() method (was really needed once in the development process, but only used in one place for now) * Push and pop tokens from stack whenever a new explicit field or command is created/ended. Take advantage of the fact, that the tokens for transparent structures are always included in the token list * Remember pending close tokens in the HandlerInfo structure in StackImpl * Implement handleToken() in StackImpl * Implement readToken() method used by readData() and data() in StackImpl * Check whether there still is data available in handleData() * Plus many more changes in the affected files... | |||
2016-04-25 | Use getFieldDescriptor method with numeric index | Andreas Stöckel | |
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 | |||
2016-04-25 | Add getDescriptor method to DocumentField class | Andreas Stöckel | |
2016-04-25 | Reenable pushing user defined tokens onto the stack (however, user defined ↵ | Andreas Stöckel | |
tokens do not work yet) -- but if no tokens are defined, everything should work as before. | |||
2015-03-04 | Prepared implementation of user defined tokens | Andreas Stöckel | |
2015-03-03 | added more complex tests and prevented endless loops in ↵ | Andreas Stöckel | |
DocumentChildHandler::startAnnotation | |||
2015-03-03 | Implemented annotation handling | Andreas Stöckel | |
2015-03-03 | Storing type and name in the HandlerData once again, using a Token | Andreas Stöckel | |
Conflicts: application/src/core/parser/stack/Callbacks.hpp | |||
2015-03-02 | Storing type and name in the HandlerData once again, using a Token | Andreas Stöckel | |
2015-03-02 | Implemented new "start" methods in the Handler instances | Andreas Stöckel | |
2015-03-02 | Got all handlers compling again | Andreas Stöckel | |
2015-03-01 | improved error messages for empty field names. | Benjamin Paassen | |
2015-03-01 | Renamed domain to ontology. | Benjamin Paassen | |
2015-02-25 | start of branch, commit log will be rewritten | Andreas Stöckel | |
2015-02-18 | fixed a bug with empty fields. | Benjamin Paassen | |
2015-02-18 | fixed a bug with doubled root nodes. | Benjamin Paassen | |
2015-02-18 | Fix for issue #85 -- only allowing explicit fields if no structure elements ↵ | Andreas Stöckel | |
or data have been given beforehand. Added unit tests. | |||
2015-02-18 | Implemented automatic validation of RootNode instances in ParserScope | Andreas Stöckel | |
2015-02-17 | Remove debug information | Andreas Stöckel | |
2015-02-17 | Merge branch 'master' of somweyr.de:ousia | Benjamin Paassen | |
2015-02-17 | added some debug information to document handler. | Benjamin Paassen | |
2015-02-17 | Improved error messages in case no primitive field is present, but data is given | Andreas Stöckel | |
2015-02-16 | completely reworked document handler to be consistent with OSML and provide ↵ | Benjamin Paassen | |
more coherent behaviour in general. | |||
2015-02-16 | added return value in addFieldDescriptor related methods to indicate whether ↵ | Benjamin Paassen | |
the order of fields had to be changed. | |||
2015-02-15 | Merge branch 'astoecke_parser_stack_new' | Andreas Stöckel | |
Conflicts: application/src/core/parser/stack/DocumentHandler.cpp application/src/core/parser/stack/DocumentHandler.hpp | |||
2015-02-15 | Declaring States in the Handler classes | Andreas Stöckel | |
2015-02-15 | added support for transparency between explicit fields and child structure ↵ | Benjamin Paassen | |
element. | |||
2015-02-15 | added support for transparent elements between explicit fields and primitive ↵ | Benjamin Paassen | |
content. | |||
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 | Included handler classes from master | Andreas Stöckel | |
2015-02-13 | improved error messages of DocumentChildHandler::data | Benjamin Paassen | |
2015-02-13 | refactored handler classes of XMLParser into own files in core/parser/stack. | Benjamin Paassen | |