summaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)Author
2015-01-30Finished implementing constant importingAndreas Stöckel
2015-01-30stuffAndreas Stöckel
2015-01-29Unified signature of resolve functions, passing the "owner" to the callback ↵Andreas Stöckel
functions in ParserScope::resolve
2015-01-29changed precedence in FileLocator. This has to be tested still.Benjamin Paassen
2015-01-29further attempts on making the main program work. Had to add a method for ↵Benjamin Paassen
handling absolute paths in FileLocator for that.
2015-01-29ParserScope now stores the nodes for which the resolution was triggered and ↵Andreas Stöckel
first executes those resolutions that depend on not currently resolving nodes (this behaviour is needed for the resolution of constants).
2015-01-28Implemented constantsAndreas Stöckel
2015-01-28Parsing a bit more stuffAndreas Stöckel
2015-01-27Parsers do no longer return the node they have parsed (as this may be ↵Andreas Stöckel
ill-defined -- if a parser only parses a partial document via include, there may be many to no nodes that are returned). Parsers should just use the ParserScope.push funciton. All nodes pushed onto the top-level of the ParserScope are added treated as the nodes the parser has parsed. Adapted all code and all tests accordingly.
2015-01-27Merge branch 'master' of somweyr.de:ousiaAndreas Stöckel
2015-01-27Removed dependency between "Project" model class and parser/resources. This ↵Andreas Stöckel
reduces coupling and was stupid beforehand.
2015-01-26Renamed CSS to Style (finally)Benjamin Paassen
2015-01-26Moving code for deferred Resolution and validation to "LINK" mode of Parser ↵Andreas Stöckel
-> this causes these operations whenever the top-level scope instance is destroyed, which is the last possible point at which deferred resolution can take place. Validation must come after deferred resolution.
2015-01-25Use context source id, not reader source idAndreas Stöckel
2015-01-25Restructures 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-25more removal of the model namespaceAndreas Stöckel
2015-01-23Adapted XMLParser to new SourceLocationAndreas Stöckel
2015-01-23replaced nonexistant is_file with is_regular_fileAndreas Stöckel
2015-01-22Improved FileLocatorAndreas Stöckel
2015-01-21Do only perform relative file lookups if a relative path is given (to allow ↵Andreas Stöckel
users to include files without accidently including a global resource)
2015-01-21Some 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-20some cosmetic changed to FileLocator.cppAndreas Stöckel
2015-01-20Adapted FileLocator unit tests, searching in the "UNKNOWN" ResourceType ↵Andreas Stöckel
search paths directly in ResoruceLocator instead of Registry
2015-01-20Implemented automatic generation of default search pathsAndreas Stöckel
2015-01-20Moved some files aroundAndreas Stöckel
2015-01-20Refactored 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-19XML-Parsing for Typesystem structs works so farAndreas Stöckel
2015-01-18Parsing struct attributes, added ability to reference other typesystems from ↵Andreas Stöckel
a typesystem
2015-01-18Implemented storing locations in the ParserStack, improved parsing typesystemsAndreas Stöckel
2015-01-16wip copyAndreas Stöckel
2015-01-16Allowing deferred resolution of NodesAndreas Stöckel
2015-01-16Working on XMLParser (still lot work in progress)Andreas Stöckel
2015-01-15Further simplified document buildup by doing the addition to parents of ↵Benjamin Paassen
StructureNodes in the constructor and refactored Anchor as standalone class instead of AnnotationEntity child. This made some changes in the test bench necessary as well.
2015-01-15Synchronizing logger with current XML parser line numberAndreas Stöckel
2015-01-13put entity escaping in XML serialization instead of DemoOutput. Also had to ↵Benjamin Paassen
comment out graphviz visualization in DemoOutputTest because it did not work for me.
2015-01-12Tried to introduce another StructureNode class as common superclass for ↵Benjamin Paassen
StructuredEntity, Anchor and DocumentPrimitive. Nearly seems to work, but not entirely so. There are still issues with the Manager it seems.
2015-01-09added non-pretty output of XML serialization, changed DemoOutput accordingly ↵Benjamin Paassen
and changed DemoOutputTest to have some kind of automatic inspection instead of visual inspection.
2015-01-09debugged DemoOutput.cppBenjamin Paassen
2015-01-09changed XML prolog handling.Benjamin Paassen
2015-01-09used new addChild methodBenjamin Paassen
2015-01-09added XML escaping of special entities.Benjamin Paassen
2015-01-09first version of annotation handling in DemoOutput. Tests do not work yet, ↵Benjamin Paassen
though.
2015-01-08first attempts on implementing annotation support for DemoHTML output.Benjamin Paassen
2015-01-08further extended example to include annotations (emphasized and strong). The ↵Benjamin Paassen
DemoOutput for that is still missing, though. convenience build functions have also been implemented in Document.cpp.
2015-01-08further extended advanced document (now list domain is supported as well) ↵Benjamin Paassen
and extended DemoOutput accordingly.
2015-01-08further extended the advanced document example, slightly improved XML ↵Benjamin Paassen
serialization and fixed a bug in DemoOutput leading to errors if a section/paragraph had no heading.
2015-01-08Changed the DemoOutput algorithm as suggested by Andreas: We first transform ↵Benjamin Paassen
the document graph to an XML tree and the XML tree in turn has the methods to serialize to XML text, or, in this case, XHTML text.
2015-01-04corrected first draft of DemoOutput. Still some TODOs remain, but for the ↵Benjamin Paassen
easy test document everything works.
2015-01-04first draft for HTML Demo Output (still a lot of todos).Benjamin Paassen
2015-01-04improved documentation.Benjamin Paassen