summaryrefslogtreecommitdiffstats
path: root/src/selection.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix signalsMarc Jeanmougin2016-10-251-10/+0
| | | (bzr r15191)
* CPPification: almost all sp_object_set_whatever and sp_selection_whatever ↵Marc Jeanmougin2016-10-241-9/+1
| | | | | | | | | | | | global functions are now methods of ObjectSet*, with these additional benefits: - They can now act on any SelectionSet, not just the current selection; - Whenever possible, they don't need a desktop anymore and can run if called from GUI. I hope I did not break too many things in the process. *: So instead of callink sp_selection_move(desktop,x,y), you call myobjectset->move(x,y) (bzr r15189)
* Changed arguments and names of selection chemistry functionsAdrian Boguszewski2016-07-201-2/+3
| | | (bzr r14954.1.22)
* Added items as a range functionAdrian Boguszewski2016-07-031-6/+6
|\ | | | | (bzr r14954.1.13)
* | Moved next functions, added namespace, renamed range functionsAdrian Boguszewski2016-06-251-15/+3
| | | | | | (bzr r14954.1.10)
* | Moved most functions from Selection to ObjectSetAdrian Boguszewski2016-06-161-277/+23
|\| | | | | (bzr r14954.1.7)
* | Replaced old selection containersAdrian Boguszewski2016-06-121-132/+52
|/ | | (bzr r14954.1.6)
* Sync 2Geom to commit 5ee51c1c4f2066faa3e2c82021fc92671ad44ba4Krzysztof Kosi??ski2016-02-081-1/+1
| | | (bzr r14639)
* static code analysisKris De Gussem2015-11-071-25/+27
| | | (bzr r14450)
* forgot a line; had weird consequences on filtersMarc Jeanmougin2015-05-121-0/+1
| | | (bzr r14150)
* fixes a few of jenkins warningsMarc Jeanmougin2015-05-081-1/+2
| | | (bzr r14126)
* fix crash due to logic error in Selection::_removeObjectDescendantsMarc Jeanmougin2015-05-061-1/+5
| | | (bzr r14117)
* unsigned int -> size_tMarc Jeanmougin2015-04-291-2/+2
| | | (bzr r14076)
* uint -> unsigned intMarc Jeanmougin2015-04-291-1/+1
| | | (bzr r14075)
* removed a few useless SP_OBJECT() castsMarc Jeanmougin2015-04-271-2/+2
| | | (bzr r13922.1.17)
* Just reread the entire diff against trunk. Given the diff size, i must have ↵Marc Jeanmougin2015-04-261-15/+15
| | | | | | | | | | forgotten things, but hopefully, there are only very few changes of semantics: ->childList is now in the intuitive order (childList()[0] is now firstChild) -> sp_selection_paste_impl is now in the opposite order (change is local to selection-chemistry.cpp, and simplify a few things) -> selection.setReprList now takes the list in the opposite order. It was always the case (the list was always reversed before handing to it) -> a few comparison functions now work "the c++ way": the C way was to return -1 if a<b, 0 if a==b and 1 if a>b, now they return (bool)(a<b) (bzr r13922.1.15)
* more cast cleanupMarc Jeanmougin2015-02-271-1/+1
| | | (bzr r13922.1.11)
* corrected the casts (hopefully)Marc Jeanmougin2015-02-271-8/+8
| | | (bzr r13922.1.10)
* added a set to the SelectionMarc Jeanmougin2015-02-191-6/+17
| | | (bzr r13922.1.6)
* Put a few std::vector<SPitem*>Marc Jeanmougin2015-02-191-29/+27
| | | (bzr r13922.1.5)
* I can't really understand why, but i can now launch inkscape without it ↵mc2015-02-181-6/+4
| | | | | | | | segfaulting. That's an improvement. Next thing: code cleaning, replacing containers with vectors (bzr r13922.1.4)
* At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-86/+73
| | | | | | | | change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
* 5. Refactoring of Application class: make copy/assignment operators private, ↵Liam P. White2014-06-271-2/+2
| | | | | disallow pointers to Application (bzr r13341.5.9)
* 3. remove dead code, refactor existing code. Connect overlooked signals.Liam P. White2014-06-261-1/+1
| | | (bzr r13341.5.3)
* 1. make it compileLiam P. White2014-06-251-2/+2
| | | (bzr r13341.5.1)
* Change my mind on the solution to the bug, protect all selection additions.Martin Owens2014-01-081-0/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/168695 (bzr r12894)
* Remove warning on bbox and allow empty bound selection to clear existing ↵Martin Owens2013-10-311-8/+6
| | | | | | | | selection. Fixed bugs: - https://launchpad.net/bugs/1243408 (bzr r12755)
* Make sure selection->setList checks for dupes by routing to selection->addList.Martin Owens2013-09-241-11/+2
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1229678 (bzr r12586)
* reduce variable scopeJohan B. C. Engelen2013-08-031-3/+3
| | | (bzr r12464)
* Use Jon Cruz info about OptRect to correctly get area height and widthMartin Owens2013-07-121-5/+5
| | | (bzr r12417)
* Change small to sml to fix windows compile problemMartin Owens2013-07-111-3/+3
| | | (bzr r12415)
* Remove align point, not required any moreMartin Owens2013-07-111-1/+0
| | | (bzr r12414)
* Step 2 refactoring the align functions, added some functionality to selection.Martin Owens2013-07-111-0/+30
| | | (bzr r12413)
* Code readability improvements and licence changes for action-context.*Eric Greveson2013-07-041-7/+7
| | | | | based on merge request code review and feedback (bzr r12387.1.7)
* Factored layer model out into new Inkscape::LayerModel class. This allowsEric Greveson2013-07-011-8/+8
| | | | | | | | | | | | | Inkscape::Selection to use a LayerModel that is not associated with a UI. Changed the interface of verbs (SPAction) to use a new ActionContext rather than UI::View::View, again so that verbs may be used in a console mode. Modified boolean operation verbs to work in console-only mode. Fixed up DESKTOP_IS_ACTIVE macro to work in the case of no desktops. Modified main.cpp to process selections and verbs in no-GUI mode. Other changes are all consequences of the SPDesktop, Selection and LayerModel interface changes. (bzr r12387.1.1)
* cppcheckKris De Gussem2013-03-161-1/+0
| | | (bzr r12217)
* Selector tool: improve responsiveness for snapping a path's internal ↵Diederik van Lierop2012-12-081-33/+1
| | | | | intersections (was unbearable already for paths having 20+ segments) (bzr r11937)
* remove superfluous RectHullJohan B. C. Engelen2012-02-191-10/+6
| | | (bzr r11001)
* move helper/recthull.h to 2geom/rect-hull.hJohan B. C. Engelen2012-02-191-1/+1
| | | (bzr r10996)
* cppcheckKris De Gussem2012-02-151-1/+1
| | | (bzr r10987)
* implement some switches between visual bbox and geometric bbox, depending on ↵Alvin Penner2012-02-041-1/+6
| | | | | | | | prefs (Bug 906952) Fixed bugs: - https://launchpad.net/bugs/906952 (bzr r10935)
* Fixing more broken and split doc comments.Jon A. Cruz2011-10-271-5/+2
| | | (bzr r10697)
* 1) Fix absolute scaling in transform dialogDiederik van Lierop2011-09-041-0/+10
| | | | | 2) Transform dialog now follows the user prefs for geometric vs. visual bounding box (bzr r10615)
* Refactor SPItem bounding box methods: remove NRRect usage and make codeKrzysztof Kosi??ski2011-08-271-24/+22
| | | | | using them more obvious. Fix filter region computation. (bzr r10582.1.1)
* Refactoring of the snapping preferences; mainly about storing all toggles in ↵Diederik van Lierop2011-08-221-6/+6
| | | | | a single array, instead of each having its own member variable (bzr r10569)
* Remove more of libnrKrzysztof Kosi??ski2011-06-231-1/+1
| | | (bzr r10347.1.2)
* Update 2Geom to pull in integer rectangle classKrzysztof Kosi??ski2011-06-231-1/+1
| | | (bzr r10347.1.1)
* Finished cleanup of outdated SP_OBJECT_PARENT C macro.Jon A. Cruz2011-02-211-7/+7
| | | (bzr r10064)
* update to latest 2geom !Johan B. C. Engelen2011-02-021-1/+1
| | | (bzr r10025)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-5/+6
|\ | | | | (bzr r9945.1.1)