Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-25 | Add greedy flag to TokenDescriptor and SyntaxDescriptor and set it ↵ | Andreas Stöckel | |
correctly. Shorten Stack "checkTokensAreUnambiguous" method | |||
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 | 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 | Fix gcc 4.9 warnings | Andreas Stöckel | |
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 | Sort integration tests | Andreas Stöckel | |
2016-04-25 | Automatically protect whitespace after annotation endings and in front of ↵ | Andreas Stöckel | |
annotation starts. | |||
2016-04-25 | Use "emph" instead of "emphasized" for the demo html output, adapt unit ↵ | Andreas Stöckel | |
tests accordingly | |||
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 | refactored the more sophisticated OSXML parser tests to the integration test ↵ | Benjamin Paassen | |
folder. | |||
2016-04-25 | Identifiers may not end with an underscore | Andreas Stöckel | |
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 | Print help message if integration test framework is built in Release mode | Andreas Stöckel | |
2016-04-25 | Cosmetic change: Do not print a newline for the first headline | Andreas Stöckel | |
2016-04-25 | Further improvements to integration test tool needed for debugging | Andreas Stöckel | |
* Allow specification of a number of tests that should run * Add usage help (-h or --help options) * Improve messages | |||
2016-04-25 | Do not trim text, simply skip text fields that only consist of whitespace ↵ | Andreas Stöckel | |
characters | |||
2016-04-25 | Changes to output | Andreas Stöckel | |
2016-04-25 | Write actual output to out.osxml file in the Testing/Integration directory ↵ | Andreas Stöckel | |
(to facilitate creating the expected output file and for later analysis) | |||
2016-04-25 | Implement integration test framework | 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 | Check syntax descriptor depth | Andreas Stöckel | |
2016-04-25 | Fix crash when an undefined annotation is met in the input | Andreas Stöckel | |
2015-03-04 | Added test for parsing syntax descriptions | Andreas Stöckel | |
2015-03-04 | Merge branch 'master' of somweyr.de:ousia | Benjamin Paassen | |
2015-03-04 | massively reworked demo html output. | Benjamin Paassen | |
2015-03-04 | Renamed "start" and "end" token to "open" and "close" token | Andreas Stöckel | |
2015-03-03 | added more complex tests and prevented endless loops in ↵ | Andreas Stöckel | |
DocumentChildHandler::startAnnotation | |||
2015-03-03 | Added unit tests for annotation handling | Andreas Stöckel | |
2015-03-03 | prevented cycles in DocumentEntity::searchStartAnchor | Benjamin Paassen | |
2015-03-03 | added a method to find the matching start anchor for some end anchor. | Andreas Stöckel | |
2015-03-03 | Do not allow structs to be transparent and root at the same time | Andreas Stöckel | |
2015-03-03 | Removed last remains of "domain" in code | 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-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 | Merge branch 'astoecke_tokens' of somweyr.de:ousia into astoecke_tokens | Benjamin Paassen | |
Conflicts: application/src/core/parser/stack/Callbacks.hpp application/src/core/parser/stack/Handler.hpp | |||
2015-03-02 | added another domain test case for invalid syntax tokens. | Benjamin Paassen | |
2015-03-02 | integrated syntax tokens in Domain. | Benjamin Paassen | |
2015-03-02 | added check for witespace characters in Utils::isUserDefinedToken | Benjamin Paassen | |
2015-03-02 | OsxmlEventParser also fills a TokenizedData instance now | Andreas Stöckel | |
2015-03-02 | Unregistering all registered tokens when TokenRegistry is destroyed | Andreas Stöckel | |
2015-03-02 | Wrote isUserDefinedToken function which checks whether a token is a valid ↵ | Andreas Stöckel | |
user defined token and added unit tests | |||
2015-03-02 | Adapted OsxmlParser to new Stack interface, enabled Osxml code in CMakeLists ↵ | Andreas Stöckel | |
again | |||
2015-03-01 | Renamed domain to ontology. | Benjamin Paassen | |
2015-03-01 | Implemented TokenRegistry class and corresponding simple test case | Andreas Stöckel | |
2015-03-01 | Added user defined tokens test | Andreas Stöckel | |
2015-03-01 | Implemented registration of user-defined tokens, fixed comment handling (do ↵ | Andreas Stöckel | |
not issue multiple data events if a comment occurs, just skip the comment data like in TeX) | |||
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 |