ide/Project: Fixes to prevent ever saving empty arrays/objects [ Comprehensive fix...
authorJerome St-Louis <jerome@ecere.com>
Sun, 16 Oct 2011 04:43:25 +0000 (00:43 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sun, 16 Oct 2011 04:43:25 +0000 (00:43 -0400)
commita422ab542cf7aeff6c567df0c94239f39e70cdbd
tree3991c6603ec010785876cb8127147790e1e992ea
parentf753340e3f9e8a862e8ffc7e82ec3b4084cd5186
ide/Project: Fixes to prevent ever saving empty arrays/objects [ Comprehensive fix for ecere.com/mantis/view.php?id=527 ]
e.g. to fix a .epj with arrays/objects already empty
Implemented as properties in ProjectNode: options, platforms and configurations; Smart handling of topNode mirroring project's
Implemented as properties in ProjectConfig: options and platforms
Implemented as properties in Project: options and platforms
When these properties are set, the ownership of the value is transferred to the object
Careful not to call delete on those properties, the assignment to null will crash! http://ecere.com/mantis/view.php?id=658
The Project's topNode's properties automatically map the Project's, so they should not be accessed within ProjectNode as data members
ide/src/ProjectSettings.ec
ide/src/dialogs/NewProjectDialog.ec
ide/src/project/Project.ec
ide/src/project/ProjectConfig.ec
ide/src/project/ProjectNode.ec