summaryrefslogtreecommitdiffstats
path: root/src/object-set.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-392/+0
A lot of header clean-up.
2017-10-04selection clear: First disconnect, then clearFriedrich Beckmann1-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.
2017-10-03Fix bug: crash - iterator corrupted by removing objects from containerFriedrich Beckmann1-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.
2017-02-28Makes selection complexity linear in the number of selected objects instead ↵Marc Jeanmougin1-3/+5
of quadratic due to too many signals sent Fixed bugs: - https://launchpad.net/bugs/1666714 (bzr r15556)
2016-11-02Add some unit tests for object-set cppificationMarc Jeanmougin1-2/+2
(bzr r15203)
2016-10-25Fix signalsMarc Jeanmougin1-3/+19
(bzr r15191)
2016-07-25Changed coding styleAdrian Boguszewski1-19/+28
(bzr r14954.1.27)
2016-07-14Renamed children list in SPObjectAdrian Boguszewski1-3/+3
(bzr r14954.1.21)
2016-07-11First part of new SPObject children listAdrian Boguszewski1-9/+9
(bzr r14954.1.17)
2016-07-01Added xmlNodes as range functionAdrian Boguszewski1-7/+2
(bzr r14954.1.12)
2016-06-27Added more testsAdrian Boguszewski1-27/+1
(bzr r14954.1.11)
2016-06-25Moved next functions, added namespace, renamed range functionsAdrian Boguszewski1-8/+23
(bzr r14954.1.10)
2016-06-05Added object setAdrian Boguszewski1-0/+133
(bzr r14954.1.1)