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>
Thu, 28 Jul 2016 22:23:17 +0000 (18:23 -0400)
commitf5dd427b0d05557788a206b858ef7357cec98d35
tree1cb071604774cde1947705d12fe164eddda049f8
parente61aa66f20117fdc3df44d54b35d655d6fc433cf
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