summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-25Do not treat commands with user defined open/close syntax as range command, ↵Andreas Stöckel
if the close token is a special (whitespace) token as this produces unintuitive behaviour
2016-04-25Change way indent and dedent special tokens are produced by TokenizedDataAndreas 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-25Print help message if integration test framework is built in Release modeAndreas Stöckel
2016-04-25Cosmetic change: Do not print a newline for the first headlineAndreas Stöckel
2016-04-25Compile integration test framework indepentently of the availability of gtestAndreas Stöckel
2016-04-25Rename simple_short_token test to token_escape, luckily there was no real ↵Andreas Stöckel
bug involved here
2016-04-25Further improvements to integration test tool needed for debuggingAndreas Stöckel
* Allow specification of a number of tests that should run * Add usage help (-h or --help options) * Improve messages
2016-04-25Do not trim text, simply skip text fields that only consist of whitespace ↵Andreas Stöckel
characters
2016-04-25Changes to outputAndreas Stöckel
2016-04-25Add first integration testsAndreas Stöckel
* "poem" contains a nice use case for user defined syntax that still needs to be implemented (indent and dedent as open/close tag) * "simple_short_token" triggers a non-deterministic bug that is not caught by valgrind * "wikilike" contains various user defined syntax tests as well as the not yet implemented per-field user defined syntax
2016-04-25Remove no longer needed test (will be moved to testdata/integration in a ↵Andreas Stöckel
different form)
2016-04-25Write 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-25Implement integration test frameworkAndreas Stöckel
2016-04-25Fix wrong documentationAndreas Stöckel
2016-04-25Removed diagnostic codeAndreas Stöckel
2016-04-25Add function for controlling the background color to Terminal classAndreas Stöckel
2016-04-25Fix broken smaller than operator leading to crash in std::sortAndreas Stöckel
2016-04-25Add missing include which accidently got removed during rebaseAndreas Stöckel
2016-04-25Add some test files for user defined syntaxAndreas Stöckel
2016-04-25First 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-25Some small formatting and comment changes, introduce more anonymous ↵Andreas Stöckel
namespaces in cpp
2016-04-25Include TokenStackTest in CMakeLists.txtAndreas Stöckel
2016-04-25Add tokenStack depth guard to Handler classAndreas Stöckel
2016-04-25Use getFieldDescriptor method with numeric indexAndreas Stöckel
2016-04-25Remove "inherit" flag in TokenStack, add tiny unit test for TokenStack, ↵Andreas Stöckel
temporarily remove pushTokens and popTokens calls from DocumentChildHandler
2016-04-25Implement TokenStack::lookup method used to lookup the SyntaxDescriptors ↵Andreas Stöckel
associated with a certain token.
2016-04-25Check syntax descriptor depthAndreas Stöckel
2016-04-25Add getDescriptor method to DocumentField classAndreas Stöckel
2016-04-25Add equals and smaller than operator to SyntaxDescriptor (for std::sort or ↵Andreas Stöckel
the use in std::set)
2016-04-25Add static version of Token::isSpecialAndreas Stöckel
2016-04-25Reenable 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.
2016-04-25Add not yet implemented "inherit" flag to the Stack classAndreas Stöckel
2016-04-25Fix getFieldDescriptor with index ignoring inherited fieldsAndreas Stöckel
2016-04-25Fix crash when an undefined annotation is met in the inputAndreas Stöckel
2016-04-25Fix .gitignore for the new ousia repositoryAndreas Stöckel
2016-04-25Add .clang-formatAndreas Stöckel
2015-03-04Prepared implementation of user defined tokensAndreas Stöckel
2015-03-04Added POST_USER_DEFINED_TOKEN_REGISTRATION partser flagAndreas Stöckel
2015-03-04Added getFieldDescriptor method with numeric indexAndreas Stöckel
2015-03-04Transformed comments to doxygen commentsAndreas Stöckel
2015-03-04Fix typoAndreas Stöckel
2015-03-04Added test for parsing syntax descriptionsAndreas Stöckel
2015-03-04Fixed whitespace tag and some error messagesAndreas Stöckel
2015-03-04fixed bug #104Andreas Stöckel
2015-03-04Merge branch 'master' of somweyr.de:ousiaBenjamin Paassen
2015-03-04minor changes in CMakeLists.Benjamin Paassen
2015-03-04massively reworked demo html output.Benjamin Paassen
2015-03-04made testdata folder self-contained. No reference to default ontologies or ↵Benjamin Paassen
typesystems exist anymore.
2015-03-04fixed a bug in Stack.cpp which lead to wrong annotation handling if the ↵Benjamin Paassen
annotation has no content.
2015-03-04improved some error messages regarding field names once again.Benjamin Paassen