summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-25clang compatibility: do not use anonymous structAndreas Stöckel
2016-04-25Remove unneeded constantAndreas Stöckel
2016-04-25clang compatibility: fix illegal constructor inheritanceAndreas Stöckel
2016-04-25Remove unneeded variableAndreas Stöckel
2016-04-25Typo in commentAndreas Stöckel
2016-04-25clang compatibility: disambiguate template parameterAndreas Stöckel
2016-04-25Make "State" a class to avoid some warningsAndreas Stöckel
2016-04-25remove unneeded ".second"Andreas Stöckel
2016-04-25clang compatibility: add missing default constructorAndreas Stöckel
2016-04-25Add another test for the test math environment, remove old testsAndreas Stöckel
2016-04-25Cosmetic change: Rename lowerLimits and upperLimits to lowerLimit and upperLimitAndreas Stöckel
2016-04-25Add (not at all finished) XSLT transformations to the contrib folderAndreas Stöckel
2016-04-25Remove ignored import from integration test outputAndreas Stöckel
2016-04-25Test underscore tokenAndreas Stöckel
* Move test math environment to integration folder * Add math_limits integration test
2016-04-25Identifiers may not end with an underscoreAndreas Stöckel
2016-04-25Run integration tests as last testAndreas Stöckel
2016-04-25Update gtksourceview (gedit) highlighterAndreas Stöckel
2016-04-25Update poem integration test to incorporate indent/dedent for indentation of ↵Andreas Stöckel
poems. Move \end{poem} to previous line to make sure closing special tokens are treated correctly.
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