summaryrefslogtreecommitdiffstats
path: root/src/selection.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Strip trailing whitespaceOndřej Čertík2019-03-271-5/+5
|
* modernize loopsMarc Jeanmougin2019-01-021-6/+6
|
* Clarify licensesMax Gaukler2018-11-081-1/+2
| | | | | | - add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
* SP_ACTIVE_DESKTOP: check for NULL or eliminateThomas Holder2018-09-271-2/+2
|
* Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot2018-06-181-3/+3
| | | | | This reduces the boilerplate required to add a new element to a container.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-15/+15
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Apply fixedJabier Arraiza2018-05-091-3/+127
|
* Reset code to reaplyJabier Arraiza2018-05-091-1/+0
|
* Reset old code to reaply fixedJabier Arraiza2018-05-091-121/+2
|
* Add patch to branch https://inkscape.org/en/paste/10993/Jabier Arraiza2018-05-091-76/+77
|
* fix compiling problems on selectionJabiertxo Arraiza Cenoz2018-05-091-4/+5
|
* Start migrating 0.92 patch to masterJabier Arraiza2018-05-091-2/+120
|
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-2/+2
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-2/+2
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-4/+5
| | | | A lot of header clean-up.
* 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)