summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-16Inkscape::XML::Node::addChildAtPosThomas Holder1-10/+4
2019-09-16Improve casts from voids and fix a issue when fill/stroke is unset set ↵Jabier Arraiza1-2/+2
desktop styles with it
2019-06-06Refactoring: call setAttribute() directly.Shlomi Fish1-3/+3
Call this->setAttribute(...) directly instead of this->getRepr()->setAttribute(...). This avoids clutter and mental indirection. See http://wiki.inkscape.org/wiki/index.php?title=Refactoring_projects&oldid=112116 and https://en.wikipedia.org/wiki/Law_of_Demeter . --- I hereby disclaim any implicit or explicit ownership of my changes in this changeset, and put them under a multiple licence consisting of your choice of one of more of: - The CC0 / Public Domain - https://creativecommons.org/choose/zero/ . - The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License - The default licence of your project - The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version 2.1 or higher - The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or higher - Any licence in the 2018-Aug-27 popular licenses list of https://opensource.org/licenses - The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later - The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later - The https://en.wikipedia.org/wiki/ISC_license - The https://opensource.org/licenses/BSD-2-Clause Crediting me will be nice, but not mandatory, and you can change the licence of the project without needing my permission.
2019-03-18Keep generic attributes with "Simplify" et. alThomas Holder1-54/+118
Keep generic attributes and child nodes when doing path conversion like "Simplify", "Object To Path", "Combine", Inset/Outset or Boolean operations. Fixes https://bugs.launchpad.net/inkscape/+bug/373140
2019-01-02modernize loopsMarc Jeanmougin1-2/+1
2019-01-01Minor style fixesMarc Jeanmougin1-3/+2
2018-12-08Accelerate the break-apart operation for larger paths by disabling redrawing ↵Olli Parviainen1-3/+7
the canvas during the break-apart algorithm is running. Testing this change with a large pathset accelerated the break-apart operation duration from 24 seconds down to mere 4 seconds. Signed-off-by: Olli Parviainen <oparviai@iki.fi>
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-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-21/+21
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-06-02Fixes on convert to paths LPE shapesJabier Arraiza1-5/+13
2018-04-26Fix bug when converting to paths cliped and masked LPE elemetsJabiertxo Arraiza Cenoz1-13/+13
2018-03-27Minor cleanup of warnings. No functional change.Felipe Corrêa da Silva Sanches1-2/+2
2018-03-26Allow upadate shapen innside groups with LPEJabier Arraiza1-2/+2
2018-03-26Base LPE refactorJabier Arraiza1-3/+3
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-14/+21
A lot of header clean-up.
2018-01-08Misc. typosluz.paz1-3/+3
Found via `codespell`
2017-12-14Add break apart. Thanks MarenJabier Arraiza1-3/+0
2017-12-14Make optional convert clone to path by a prefs optionJabier Arraiza1-3/+12
2017-12-14This commit:Jabiertxo Arraiza Cenoz1-10/+5
*Allow boolops operation with non paths converting them to path first *Allow convert to stroke non paths converting previously to paths *Allow combine with use elements converting it to paths first *Allow convert to curves use/clone elements converting to curves
2017-10-31fix removing class when object to pathAurèle Duda1-0/+4
2017-10-29Fix a bug converting to paths nested LPE with powerstrokeJabier Arraiza1-2/+6
2017-10-14Fixing problems with nested LPE and convert to pathsJabier Arraiza1-2/+0
2017-10-01Removed all GSList occurences in .h filesMarc Jeanmougin1-5/+3
2017-09-30Fix bug #1719505 segfault on convert to pathJabier Arraiza1-1/+6
2017-05-18fix a brunch of memory leakschr1-1/+2
(bzr r15698.1.2)
2016-12-03Improvements and fixes for buds pointed by suv on measure line LPEJabiertxof1-1/+2
(bzr r15294)
2016-10-24CPPification: almost all sp_object_set_whatever and sp_selection_whatever ↵Marc Jeanmougin1-81/+90
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-4/+1
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+4
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-4/+0
(bzr r15025)
2016-07-13Propagate changes to object tree with changes in style elementTavmjong Bah1-3/+3
(bzr r14949.1.46)
2016-06-25Moved next functions, added namespace, renamed range functionsAdrian Boguszewski1-5/+5
(bzr r14954.1.10)
2016-04-08Bug #1552765 fixed Break Apart dont handle well stroke with in documents ↵Jabier Arraiza Cenoz1-10/+4
different than px Fixed bugs: - https://launchpad.net/bugs/1552765 (bzr r14765)
2016-03-04Fix for bug 415471 and 1553182 related to undo with eraser toolJabier Arraiza Cenoz1-8/+10
Fixed bugs: - https://launchpad.net/bugs/1553182 (bzr r14688)
2015-11-13static code analysisKris De Gussem1-6/+6
(bzr r14463)
2015-10-02Use different method to find text to save when converting text to path.Tavmjong Bah1-8/+8
(Also has advantage of preserving lines.) Fixed bugs: - https://launchpad.net/bugs/1502013 (bzr r14390)
2015-05-07fix for stl "remove"Marc Jeanmougin1-2/+2
(bzr r14123)
2015-05-07better fix, using std::remove instead of std::eraseMarc Jeanmougin1-6/+2
(bzr r14122)
2015-05-07fix crash when converting a group of objects to pathMarc Jeanmougin1-2/+6
(bzr r14121)
2015-04-28Save original text in 'aria-label' attribute for accessibilty reasons.Tavmjong Bah1-1/+11
(bzr r14066)
2015-04-26Just reread the entire diff against trunk. Given the diff size, i must have ↵Marc Jeanmougin1-1/+1
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-2/+2
(bzr r13922.1.11)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-32/+17
(bzr r13922.1.10)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-36/+37
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-62/+63
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-12-25Remove sp_style_write_string() and sp_style_write_difference().Tavmjong Bah1-15/+13
(bzr r13822.1.4)
2014-12-21Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White1-6/+6
(bzr r13820)
2014-12-21Purge sp_desktop_message_stackLiam P. White1-8/+8
(bzr r13817)
2014-12-21Deprecate and remove sp_desktop_selection in favor of SPDesktop::getSelectionLiam P. White1-4/+4
(bzr r13809)