summaryrefslogtreecommitdiffstats
path: root/src/selection.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-27Strip trailing whitespaceOndřej Čertík1-5/+5
2019-01-02modernize loopsMarc Jeanmougin1-6/+6
2018-11-08Clarify licensesMax Gaukler1-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
2018-09-27SP_ACTIVE_DESKTOP: check for NULL or eliminateThomas Holder1-2/+2
2018-06-18Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot1-3/+3
This reduces the boilerplate required to add a new element to a container.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-15/+15
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-09Apply fixedJabier Arraiza1-3/+127
2018-05-09Reset code to reaplyJabier Arraiza1-1/+0
2018-05-09Reset old code to reaply fixedJabier Arraiza1-121/+2
2018-05-09Add patch to branch https://inkscape.org/en/paste/10993/Jabier Arraiza1-76/+77
2018-05-09fix compiling problems on selectionJabiertxo Arraiza Cenoz1-4/+5
2018-05-09Start migrating 0.92 patch to masterJabier Arraiza1-2/+120
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-2/+2
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-2/+2
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-4/+5
A lot of header clean-up.
2016-10-25Fix signalsMarc Jeanmougin1-10/+0
(bzr r15191)
2016-10-24CPPification: almost all sp_object_set_whatever and sp_selection_whatever ↵Marc Jeanmougin1-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)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-8/+2
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-2/+8
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-8/+2
(bzr r15025)
2016-07-24Add Text tag and update widgets codeJabier Arraiza Cenoz1-0/+5
(bzr r15017.1.2)
2016-07-20Changed arguments and names of selection chemistry functionsAdrian Boguszewski1-2/+3
(bzr r14954.1.22)
2016-06-25Moved next functions, added namespace, renamed range functionsAdrian Boguszewski1-15/+3
(bzr r14954.1.10)
2016-02-08Sync 2Geom to commit 5ee51c1c4f2066faa3e2c82021fc92671ad44ba4Krzysztof Kosi??ski1-1/+1
(bzr r14639)
2015-11-07static code analysisKris De Gussem1-25/+27
(bzr r14450)
2015-05-12forgot a line; had weird consequences on filtersMarc Jeanmougin1-0/+1
(bzr r14150)
2015-05-08fixes a few of jenkins warningsMarc Jeanmougin1-1/+2
(bzr r14126)
2015-05-06fix crash due to logic error in Selection::_removeObjectDescendantsMarc Jeanmougin1-1/+5
(bzr r14117)
2015-04-29unsigned int -> size_tMarc Jeanmougin1-2/+2
(bzr r14076)
2015-04-29uint -> unsigned intMarc Jeanmougin1-1/+1
(bzr r14075)
2015-04-27removed a few useless SP_OBJECT() castsMarc Jeanmougin1-2/+2
(bzr r13922.1.17)
2015-04-26Just reread the entire diff against trunk. Given the diff size, i must have ↵Marc Jeanmougin1-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)
2015-02-27more cast cleanupMarc Jeanmougin1-1/+1
(bzr r13922.1.11)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-8/+8
(bzr r13922.1.10)
2015-02-19added a set to the SelectionMarc Jeanmougin1-6/+17
(bzr r13922.1.6)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-29/+27
(bzr r13922.1.5)
2015-02-18I can't really understand why, but i can now launch inkscape without it ↵mc1-6/+4
segfaulting. That's an improvement. Next thing: code cleaning, replacing containers with vectors (bzr r13922.1.4)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-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)
2014-06-275. Refactoring of Application class: make copy/assignment operators private, ↵Liam P. White1-2/+2
disallow pointers to Application (bzr r13341.5.9)
2014-06-263. remove dead code, refactor existing code. Connect overlooked signals.Liam P. White1-1/+1
(bzr r13341.5.3)
2014-06-251. make it compileLiam P. White1-2/+2
(bzr r13341.5.1)
2014-01-08Change my mind on the solution to the bug, protect all selection additions.Martin Owens1-0/+1
Fixed bugs: - https://launchpad.net/bugs/168695 (bzr r12894)
2013-10-31Remove warning on bbox and allow empty bound selection to clear existing ↵Martin Owens1-8/+6
selection. Fixed bugs: - https://launchpad.net/bugs/1243408 (bzr r12755)
2013-09-24Make sure selection->setList checks for dupes by routing to selection->addList.Martin Owens1-11/+2
Fixed bugs: - https://launchpad.net/bugs/1229678 (bzr r12586)
2013-08-03reduce variable scopeJohan B. C. Engelen1-3/+3
(bzr r12464)
2013-07-12Use Jon Cruz info about OptRect to correctly get area height and widthMartin Owens1-5/+5
(bzr r12417)
2013-07-11Change small to sml to fix windows compile problemMartin Owens1-3/+3
(bzr r12415)
2013-07-11Remove align point, not required any moreMartin Owens1-1/+0
(bzr r12414)
2013-07-11Step 2 refactoring the align functions, added some functionality to selection.Martin Owens1-0/+30
(bzr r12413)
2013-07-04Code readability improvements and licence changes for action-context.*Eric Greveson1-7/+7
based on merge request code review and feedback (bzr r12387.1.7)