documentor, ecere/sys/json: Addressed various issues with new eCON docs
authorJerome St-Louis <jerome@ecere.com>
Thu, 25 Feb 2016 21:04:57 +0000 (16:04 -0500)
committerJerome St-Louis <jerome@ecere.com>
Fri, 29 Apr 2016 16:27:05 +0000 (12:27 -0400)
commit76ed24e2cda3115827d7e585335f9d5c1df7ec5a
tree48b71780d5e2cb8a476c4cb5c575532ca8050168
parent8bd130b59ef2d9f97055e0931fa40ab0e11cbae1
documentor, ecere/sys/json: Addressed various issues with new eCON docs
- Was using uninitialized local char array as index into cache!!
- Fix use of freed memory:
   - Updating time stamp on doc access (getDoc() could previously delete the 'doc' it returns in the pruning at the end)
   - Making use of instance reference count so as to keep one reference for the cache, and one for the returned doc
   - Freeing returned foc in ReadDoc()
- Fixed 'clearing' of descriptions (Was refusing to save 'empty' changes)
- Clearing empty MethodDoc and FunctionDoc
- Avoiding to save empty class doc and namespace doc
- Fixed bad access of '_class' member on non 'class' types
documentor/src/Documentor.ec
ecere/src/sys/JSON.ec