summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Inkscape::XML::Node::addChildAtPosThomas Holder2019-10-161-10/+4
|
* Improve casts from voids and fix a issue when fill/stroke is unset set ↵Jabier Arraiza2019-09-161-2/+2
| | | | desktop styles with it
* Refactoring: call setAttribute() directly.Shlomi Fish2019-06-061-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.
* Keep generic attributes with "Simplify" et. alThomas Holder2019-03-181-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
* modernize loopsMarc Jeanmougin2019-01-021-2/+1
|
* Minor style fixesMarc Jeanmougin2019-01-011-3/+2
|
* Accelerate the break-apart operation for larger paths by disabling redrawing ↵Olli Parviainen2018-12-081-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>
* 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
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-4/+0
|
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-21/+21
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Fixes on convert to paths LPE shapesJabier Arraiza2018-06-021-5/+13
|
* Fix bug when converting to paths cliped and masked LPE elemetsJabiertxo Arraiza Cenoz2018-04-261-13/+13
|
* Minor cleanup of warnings. No functional change.Felipe Corrêa da Silva Sanches2018-03-271-2/+2
|
* Allow upadate shapen innside groups with LPEJabier Arraiza2018-03-261-2/+2
|
* Base LPE refactorJabier Arraiza2018-03-261-3/+3
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-14/+21
| | | | A lot of header clean-up.
* Misc. typosluz.paz2018-01-081-3/+3
| | | Found via `codespell`
* Add break apart. Thanks MarenJabier Arraiza2017-12-141-3/+0
|
* Make optional convert clone to path by a prefs optionJabier Arraiza2017-12-141-3/+12
|
* This commit:Jabiertxo Arraiza Cenoz2017-12-141-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
* fix removing class when object to pathAurèle Duda2017-10-311-0/+4
|
* Fix a bug converting to paths nested LPE with powerstrokeJabier Arraiza2017-10-291-2/+6
|
* Fixing problems with nested LPE and convert to pathsJabier Arraiza2017-10-141-2/+0
|
* Merge branch 'master' of gitlab.com:inkscape/inkscapeMarc Jeanmougin2017-10-011-1/+6
|\
| * Fix bug #1719505 segfault on convert to pathJabier Arraiza2017-09-301-1/+6
| |
* | Removed all GSList occurences in .h filesMarc Jeanmougin2017-10-011-5/+3
|/
* fix a brunch of memory leakschr2017-05-181-1/+2
| | | (bzr r15698.1.2)
* Merge in GSoC style dialog. (Work in progress.)Tavmjong Bah2017-02-041-3/+3
|\ | | | | (bzr r15471)
| * Merge changes from trunkkamalpreetgrewal2016-08-151-6/+6
| |\ | | | | | | (bzr r14949.1.64)
| * \ Merge changes from trunkkamalpreetgrewal2016-08-041-4/+1
| |\ \ | | | | | | | | (bzr r14949.1.62)
| * | | Propagate changes to object tree with changes in style elementTavmjong Bah2016-07-131-3/+3
| | | | | | | | | | | | (bzr r14949.1.46)
* | | | Improvements and fixes for buds pointed by suv on measure line LPEJabiertxof2016-12-031-1/+2
| | | | | | | | | | | | (bzr r15294)
* | | | CPPification: almost all sp_object_set_whatever and sp_selection_whatever ↵Marc Jeanmougin2016-10-241-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)
* | | Merged trunkAdrian Boguszewski2016-08-031-4/+1
|\ \ \ | | |/ | |/| (bzr r14954.1.29)
| * | Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-4/+1
| | | | | | | | | (bzr r15034)
| * | Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-0/+4
| | | | | | | | | (bzr r15027)
| * | Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-4/+0
| |/ | | | | (bzr r15025)
* | 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-5/+5
|/ | | (bzr r14954.1.10)
* Bug #1552765 fixed Break Apart dont handle well stroke with in documents ↵Jabier Arraiza Cenoz2016-04-081-10/+4
| | | | | | | | different than px Fixed bugs: - https://launchpad.net/bugs/1552765 (bzr r14765)
* Fix for bug 415471 and 1553182 related to undo with eraser toolJabier Arraiza Cenoz2016-03-041-8/+10
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1553182 (bzr r14688)
* static code analysisKris De Gussem2015-11-131-6/+6
| | | (bzr r14463)
* Use different method to find text to save when converting text to path.Tavmjong Bah2015-10-021-8/+8
| | | | | | | | (Also has advantage of preserving lines.) Fixed bugs: - https://launchpad.net/bugs/1502013 (bzr r14390)
* fix for stl "remove"Marc Jeanmougin2015-05-071-2/+2
| | | (bzr r14123)
* better fix, using std::remove instead of std::eraseMarc Jeanmougin2015-05-071-6/+2
| | | (bzr r14122)
* fix crash when converting a group of objects to pathMarc Jeanmougin2015-05-071-2/+6
| | | (bzr r14121)
* updated with trunkMarc Jeanmougin2015-04-291-2/+10
|\ | | | | (bzr r13922.1.19)
| * Save original text in 'aria-label' attribute for accessibilty reasons.Tavmjong Bah2015-04-281-1/+11
| | | | | | (bzr r14066)
* | Just reread the entire diff against trunk. Given the diff size, i must have ↵Marc Jeanmougin2015-04-261-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)
* | more cast cleanupMarc Jeanmougin2015-02-271-2/+2
| | | | | | (bzr r13922.1.11)