summaryrefslogtreecommitdiffstats
path: root/src/object-set.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-392/+0
| | | | A lot of header clean-up.
* selection clear: First disconnect, then clearFriedrich Beckmann2017-10-041-5/+3
| | | | | | | As proposed by Marc, the objects are first disconnected and then all elements are removed from the container via container.clear. This also avoids the corruption of the iterator as the container is not modified during the iterations.
* Fix bug: crash - iterator corrupted by removing objects from containerFriedrich Beckmann2017-10-031-4/+10
| | | | | | | | | | | | | On MacOS El Capitan with XCode 7.3 inkscape crashes when a second item is drawn in the drawing area. The crash is triggered by clearing the selection from the previous drawing activity. The reason for the crash is that the iterator is corrupted because during iteration the objects are removed from the container. This patch uses a safe way to remove items from the container and going to the next iteration. Using this patch, inkscape does not crash anymore.
* Makes selection complexity linear in the number of selected objects instead ↵Marc Jeanmougin2017-02-281-3/+5
| | | | | | | | of quadratic due to too many signals sent Fixed bugs: - https://launchpad.net/bugs/1666714 (bzr r15556)
* Add some unit tests for object-set cppificationMarc Jeanmougin2016-11-021-2/+2
| | | (bzr r15203)
* Fix signalsMarc Jeanmougin2016-10-251-3/+19
| | | (bzr r15191)
* Changed coding styleAdrian Boguszewski2016-07-251-19/+28
| | | (bzr r14954.1.27)
* Renamed children list in SPObjectAdrian Boguszewski2016-07-141-3/+3
| | | (bzr r14954.1.21)
* First part of new SPObject children listAdrian Boguszewski2016-07-111-9/+9
| | | (bzr r14954.1.17)
* Added items as a range functionAdrian Boguszewski2016-07-031-16/+9
| | | (bzr r14954.1.13)
* Added xmlNodes as range functionAdrian Boguszewski2016-07-011-7/+2
| | | (bzr r14954.1.12)
* Added more testsAdrian Boguszewski2016-06-271-27/+1
| | | (bzr r14954.1.11)
* Moved next functions, added namespace, renamed range functionsAdrian Boguszewski2016-06-251-8/+23
| | | (bzr r14954.1.10)
* Added first range to ObjectSetAdrian Boguszewski2016-06-191-18/+14
| | | (bzr r14954.1.8)
* Moved most functions from Selection to ObjectSetAdrian Boguszewski2016-06-161-7/+252
| | | (bzr r14954.1.7)
* Replaced old selection containersAdrian Boguszewski2016-06-121-3/+12
| | | (bzr r14954.1.6)
* Added return value to removeAdrian Boguszewski2016-06-111-8/+6
| | | (bzr r14954.1.5)
* Replaced Object by SPObjectAdrian Boguszewski2016-06-061-32/+35
| | | (bzr r14954.1.2)
* Added object setAdrian Boguszewski2016-06-051-0/+133
(bzr r14954.1.1)