Commit Graph

3505 Commits

Author SHA1 Message Date
Alexander Bock
0a13d5430f Make DocumentationEngine into a singleton object
Add documentation to DocumentationEngine
Add unique identifier to Documentation class (and enforce in DocumentationEngine)
2016-09-19 09:31:34 +02:00
Alexander Bock
29c989ab82 Add documentation to the documentation and verifier classes
Add static const member variable to the DocumentationEntry class for Wildcards
2016-09-18 20:47:41 +02:00
Alexander Bock
4e7035a18d Renaming Offence to Offense
Renaming TestResult::offenders to TestResult::offenses
2016-09-18 15:31:12 +02:00
Alexander Bock
57701fb5a6 Adding information to the Result that specifies the offending reason in addition to the offending key 2016-09-18 15:13:34 +02:00
Alexander Bock
a25a9b4a2d Add the ability to the FactoryManager to write documentation about all registered classes
Enable this feature on default in openspace.cfg
Move all generated documentations into a documentation folder
Adapt gitignore accordingly
2016-09-16 17:37:02 +02:00
Alexander Bock
2c164a1098 Remove Documentation.html 2016-09-16 17:01:05 +02:00
Alexander Bock
2fa6471e98 Allow Documentations to be exhaustive to not allow extra dictionaries 2016-09-16 16:53:50 +02:00
Alexander Bock
24e5146a8e Updating HTML generation for general documentation 2016-09-16 12:24:47 +02:00
Alexander Bock
17a65e3816 Writing general Documentation as HTML
Add HTML to gitignore
Set default documentation to HTML
2016-09-16 11:56:15 +02:00
Alexander Bock
7f0e0aafcc Writing property documentation as html 2016-09-16 11:39:26 +02:00
Alexander Bock
76f1c7166a Add HTML output to keybindings 2016-09-16 11:27:59 +02:00
Alexander Bock
022bf46313 Outputting HTML for the LuaScripting 2016-09-16 11:16:08 +02:00
Alexander Bock
b03661b755 Fix spelling in verifier comments 2016-09-16 11:15:48 +02:00
Alexander Bock
6f5ef8d66c Add ability to generate JSON for general documentation 2016-09-16 09:57:07 +02:00
Alexander Bock
75651224a7 Move documentation generation to DocumentationEngine
Split Verifiers documentation method into documentation and type
2016-09-15 18:58:22 +02:00
Alexander Bock
f22f01ce95 More work on DocumentationEngine 2016-09-15 18:02:56 +02:00
Alexander Bock
6a2eda393c Make StaticScale be creatable without a Dictionary 2016-09-15 18:02:29 +02:00
Alexander Bock
7e35cf5823 Make InteractionHandler not crash if the Camera focus node is not found 2016-09-15 18:02:13 +02:00
Alexander Bock
408280a533 Rearrange and rename constants in ConfigurationManager
Make use of constants in ConfigurationManager documentation
2016-09-15 17:58:31 +02:00
Alexander Bock
a354f13ef3 Adding DocumentationEngine 2016-09-15 13:48:28 +02:00
Alexander Bock
746a76e436 Adding documentation to StaticScale 2016-09-15 13:47:52 +02:00
Alexander Bock
43db84f620 Add method to automatically test a dictionary and throw on error 2016-09-15 13:40:39 +02:00
Alexander Bock
1778a7cdb6 Add documentation to SceneGraphNode 2016-09-15 13:28:52 +02:00
Alexander Bock
1da148c8be Fix Interactionhandler output file 2016-09-15 13:27:44 +02:00
Alexander Bock
989e40395e Add documentation to scene description files
Check incoming scene files against the documentation/specification
2016-09-15 10:39:11 +02:00
Alexander Bock
2693b0102e Add VectorVerifiers to check against glm::ivecX, glm::dvecX, and glm::bvecX 2016-09-15 10:38:11 +02:00
Alexander Bock
9afae5c2f9 Remove extra includes 2016-09-15 09:19:46 +02:00
Alexander Bock
00efcb7f5f Changing Documentation to enable a name associated with DocumentationEntries 2016-09-15 09:19:21 +02:00
Alexander Bock
752b82c3fb Rearrange Verifiers into their own files
Make Documentation available for ConfigurationManager
2016-09-15 08:08:10 +02:00
Alexander Bock
0e4c70f467 Fix line endings 2016-09-14 17:50:35 +02:00
Alexander Bock
6b146a6683 Add missing DocumentationEngine file 2016-09-14 17:49:49 +02:00
Alexander Bock
3ddbb44524 Add documentation/specification for ConfigurationManager
Add documentation testing to ConfigurationManager
2016-09-14 17:49:17 +02:00
Alexander Bock
d84a0ee46a Add and and or verifiers that combine multiple verifiers 2016-09-14 17:35:06 +02:00
Alexander Bock
a02c5714c4 Use html instead of HTML for logging 2016-09-14 16:44:48 +02:00
Alexander Bock
6df5f616bb Change LogFactory and ScriptEngine to use html instead of HTML for even more consistency 2016-09-14 16:44:00 +02:00
Alexander Bock
a0efbfb190 ScriptEngine uses HTML instead of html for consistency 2016-09-14 16:40:03 +02:00
Alexander Bock
8bbf1c3d0d Change arrangement of optional and help text arguments 2016-09-14 16:39:43 +02:00
Alexander Bock
09c1b4be6d Add unit test to check nested optional/required combinations 2016-09-14 16:38:58 +02:00
Alexander Bock
26d2ca3d32 Support wildcards in documentation 2016-09-14 15:41:05 +02:00
Alexander Bock
dbc9b7ae4e Move documentation to their own folder 2016-09-14 14:44:51 +02:00
Alexander Bock
bb52c33b04 Ability for LuaDocumentationFile, PropertyDocumentationFile, and KeyboardMapping to write HTML output
Adding those html files to the gitignore
2016-09-14 13:34:45 +02:00
Alexander Bock
d606f90db9 Fix compilation error in unit test 2016-09-14 13:33:47 +02:00
Alexander Bock
03e7d18343 Start with the work on enabling the ScriptEngine to output an HTML output 2016-09-14 11:13:29 +02:00
Alexander Bock
b87e30d0d2 Correctly set argument description for setPropertyValueRegex 2016-09-14 11:12:55 +02:00
Alexander Bock
a4fa9c0788 Add Range checks to unit tests 2016-09-14 09:27:34 +02:00
Alexander Bock
45d034ad2a Enabling optional arguments
Adding tests to the OpenSpaceTest
2016-09-13 20:27:29 +02:00
Alexander Bock
a71cccd58f Adding unit tests file
Adding typedefs for all verifiers
2016-09-13 19:58:58 +02:00
Alexander Bock
2e355c57e7 Add external template instantiation 2016-09-13 19:35:33 +02:00
Alexander Bock
faf180ab7d Writing more Unit tests
Add InRangeVerifier and NotInRangeVerifier
Add static_asserts to prohibit nonsensical verifier combinations
2016-09-13 19:29:00 +02:00
Alexander Bock
9c7bd2af67 Restructuring documentation code 2016-09-13 16:27:42 +02:00