Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change the license boiler plates of all LGPL files removing the special ↵ | Hugo Parente Lima | 2010-09-09 | 1 | -20/+8 |
| | | | | | | | exception. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org> | ||||
* | Added method to take care of the details of ownership transfer to C++. | Marcelo Lira | 2009-11-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | Simple ownership transference, i.e. without parenting, is now performed by the new BindingManager::transferOwnershipToCpp method. It remove the parent of the transfered object and proceeds transfer or invalidation if needed. The generated code for simple ownership transfer from Python to C++ now reflects this change. Fixed the method BlackBox::keepObjectType that steals an ObjectType ownership to C++ to remove it from its parent also. The BlackBox class does not take care of the stolen object as a proper parent would, but its destructor deletes the object, so the "unparenting" is needed to avoid freeing the same memory twice. Created an unit test that adds children to a parent ObjectType and then steal the children to C++ with BlackBox.keepObjectType. Reviewed by Hugo Lima <hugo.lima@openbossa.org> | ||||
* | Fix objects/points methods to return a list + fix example using them. | Luciano Wolf | 2009-11-27 | 1 | -0/+25 |
| | | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> | ||||
* | Use map instead of list inside BlackBox class. | Luciano Wolf | 2009-11-27 | 1 | -27/+35 |
| | | | | | | Now keepObjectType/keepPoint and retrieveObjectType/retrievePoint uses a ticket to get the object from a map. It's a way better than lists. | ||||
* | Renaming -> KinderGarten to BlackBox | Luciano Wolf | 2009-11-27 | 1 | -0/+101 |