Merge lp://qastaging/~inkscape.dev/inkscape/bspline+spirolive into lp://qastaging/~inkscape.dev/inkscape/trunk

Proposed by Jabiertxof
Status: Merged
Merged at revision: 13342
Proposed branch: lp://qastaging/~inkscape.dev/inkscape/bspline+spirolive
Merge into: lp://qastaging/~inkscape.dev/inkscape/trunk
Diff against target: 60496 lines (+10641/-48461)
28 files modified
po/POTFILES.in (+2/-0)
share/icons/icons.svg (+18/-42)
share/icons/symbolic_icons.svg (+104/-100)
share/icons/tango_icons.svg (+8284/-48237)
src/live_effects/CMakeLists.txt (+2/-0)
src/live_effects/Makefile_insert (+2/-0)
src/live_effects/effect-enum.h (+1/-0)
src/live_effects/effect.cpp (+5/-0)
src/live_effects/effect.h (+1/-0)
src/live_effects/lpe-bspline.cpp (+719/-0)
src/live_effects/lpe-bspline.h (+58/-0)
src/sp-lpe-item.cpp (+16/-0)
src/sp-lpe-item.h (+1/-0)
src/ui/tool/curve-drag-point.cpp (+11/-6)
src/ui/tool/multi-path-manipulator.cpp (+12/-1)
src/ui/tool/node.cpp (+186/-15)
src/ui/tool/node.h (+11/-1)
src/ui/tool/path-manipulator.cpp (+97/-4)
src/ui/tool/path-manipulator.h (+9/-0)
src/ui/tools/freehand-base.cpp (+69/-5)
src/ui/tools/freehand-base.h (+9/-0)
src/ui/tools/node-tool.h (+3/-0)
src/ui/tools/pen-tool.cpp (+949/-45)
src/ui/tools/pen-tool.h (+31/-0)
src/ui/tools/pencil-tool.cpp (+33/-4)
src/widgets/icon.cpp (+1/-0)
src/widgets/mappings.xml (+1/-0)
src/widgets/pencil-toolbar.cpp (+6/-1)
To merge this branch: bzr merge lp://qastaging/~inkscape.dev/inkscape/bspline+spirolive
Reviewer Review Type Date Requested Status
Vinipsmaker Approve
Martin Owens Approve
Review via email: mp+159721@code.qastaging.launchpad.net

Description of the change

Added BSpline node editing by a live effect and Spiro preview while drawing.

To post a comment you must log in.
Revision history for this message
Martin Owens (doctormo) wrote :

The edited svg should be saved using the inkscape compact options like the previous revision.

review: Needs Fixing (code review)
Revision history for this message
Martin Owens (doctormo) wrote :

Actually I think this has already been merged, just a bit of fluff in the diff there.

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Im sorry Martin, dont undertand well. the last revision diff includes all po files i start translating. It make a big diff. Finaly i decide focus in code and take the translation work after. And reload in branch the original po folder.
Focusing, im not sure about what i need to do with "inkscape compact options" or it is removed by "a bit of fluff".

Hi, and thanks for the review.

Revision history for this message
Martin Owens (doctormo) wrote :

Look below. The only difference between your branch and trunk is one svg file. This svg file has been broken by opening it without the inkscape compact options and then saving it. Not a problem. But it suggests quite strongly that your code has already been merged.

Revision history for this message
su_v (suv-lp) wrote :

This branch has _not_ been merged yet - there is no option to create bspline curves in trunk (pen, pencil tool), or to see spiro-curves live when drawing paths with the pen or pencil tool?

@Martin, scroll down to the end of the page, there's message telling this:
«The diff has been truncated for viewing. »
or download the diff and check yourself:

Diffstat:
 share/icons/icons.svg |26094 ++++++++++++++++++++++++++++-----
 share/icons/symbolic_icons.svg |23875 +++++++++++++++++++++++++-----
 share/icons/tango_icons.svg | 97
 src/draw-context.cpp | 35
 src/draw-context.h | 2
 src/libavoid/makefile | 17
 src/live_effects/CMakeLists.txt | 2
 src/live_effects/Makefile_insert | 2
 src/live_effects/effect-enum.h | 3
 src/live_effects/effect.cpp | 11
 src/live_effects/lpe-bspline.cpp | 647
 src/live_effects/lpe-bspline.h | 59
 src/pen-context.cpp | 1066 +
 src/pen-context.h | 5
 src/pencil-context.cpp | 40
 src/ui/tool/curve-drag-point.cpp | 20
 src/ui/tool/multi-path-manipulator.cpp | 13
 src/ui/tool/multi-path-manipulator.h | 2
 src/ui/tool/node.cpp | 179
 src/ui/tool/node.h | 9
 src/ui/tool/path-manipulator.cpp | 118
 src/ui/tool/path-manipulator.h | 17
 src/widgets/icon.cpp | 1
 src/widgets/mappings.xml | 1
 src/widgets/pencil-toolbar.cpp | 9
 src/widgets/toolbox.cpp | 2
 26 files changed, 44789 insertions(+), 7537 deletions(-)

Revision history for this message
su_v (suv-lp) wrote :

@jabertox - trying to compile your branch 12091 fails for me (on OS X) with this error:

  CXX live_effects/lpe-bspline.o
In file included from ../../src/live_effects/lpe-bspline.cpp:20:
../../src/ui/tool/node-tool.h:78: error: ‘Inkscape::Selection’ has not been declared
make[3]: *** [live_effects/lpe-bspline.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Revision history for this message
su_v (suv-lp) wrote :

> @jabertox - <…>

@Jabiertxo - sorry for mistyping your name!

Revision history for this message
ScislaC (scislac) wrote :

Beat me to it ~suv (as usual though, you were much more thorough than I would have been)...

This definitely needs code review as well as UX review...

Krzysztof had mentioned a desire to implement B-Splines a while back but had some reservations about how to handle certain things. If I recall correctly he brought up issues such as what the controls for them look like, as well as how to handle connecting to adjacent segments of a path which aren't B-splines (straight segments, etc). Essentially, it wouldn't be an all or nothing approach, but B-Spline segments which could mix in with lines and regular curves on a path.

Revision history for this message
Jabiertxof (jabiertxof) wrote :

No problem ~suv!

El jue, 19-09-2013 a las 23:36 +0000, ~suv escribió:
> > @jabertox - <…>
>
> @Jabiertxo - sorry for mistyping your name!

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Thanks ~suv, soon is fixed

El jue, 19-09-2013 a las 23:33 +0000, ~suv escribió:
> @jabertox - trying to compile your branch 12091 fails for me (on OS X) with this error:
>
> CXX live_effects/lpe-bspline.o
> In file included from ../../src/live_effects/lpe-bspline.cpp:20:
> ../../src/ui/tool/node-tool.h:78: error: ‘Inkscape::Selection’ has not been declared
> make[3]: *** [live_effects/lpe-bspline.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Fixed

El vie, 20-09-2013 a las 00:06 +0000, Jabiertxo Arraiza Cenoz escribió:
> Thanks ~suv, soon is fixed
>
> El jue, 19-09-2013 a las 23:33 +0000, ~suv escribió:
> > @jabertox - trying to compile your branch 12091 fails for me (on OS X) with this error:
> >
> > CXX live_effects/lpe-bspline.o
> > In file included from ../../src/live_effects/lpe-bspline.cpp:20:
> > ../../src/ui/tool/node-tool.h:78: error: ‘Inkscape::Selection’ has not been declared
> > make[3]: *** [live_effects/lpe-bspline.o] Error 1
> > make[2]: *** [all] Error 2
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> >
> >
>
>
>

Revision history for this message
Jabiertxof (jabiertxof) wrote :

El jue, 19-09-2013 a las 23:39 +0000, ScislaC escribió:
> Beat me to it ~suv (as usual though, you were much more thorough than I would have been)...
>
> This definitely needs code review as well as UX review...
>
> Krzysztof had mentioned a desire to implement B-Splines a while back but had some reservations about how to

> handle certain things. If I recall correctly he brought up issues such as what the controls for them look like,

> as well as how to handle connecting to adjacent segments of a path which aren't B-splines (straight segments, etc).

> Essentially, it wouldn't be an all or nothing approach, but B-Spline segments which could mix in with lines and regular curves on a path.

Hello and yes ScislaC, it need a full review, i never touch C++ before.
I think is a problem have a path with mixed types, you always can make
straight lines pressing the shift key, but if is necesary two kinds of
curves in the same "line", maybe the live effect way isnt a solution and
we want to wait to SVG adopt BSplines. For me this isn`t a problem, is
like spiro ones, coulden`t be mixed with regular curves.

Another cuestion, whats UX review?

Hi and thanks for contribute.

Revision history for this message
ScislaC (scislac) wrote :

UX is User Experience design... and it may not be applicable in this case given the way you went about implementing it. I guess I should have realized that this was handled via a live effect (hence the spiro related changes too). Spiro seems usable enough for people, so given that this is a similar effect it's seemingly a non-issue.

It's definitely less of an "incomplete" implementation than I was assuming.

Revision history for this message
Martin Owens (doctormo) wrote :

Many apologies everyone.

Half my time is spent interpreting Launchpad and the other half committing to getting it wrong ;-)

Carry on everyone! ScislaC, let me know if you change your mind about the UX review.

Revision history for this message
Jabiertxof (jabiertxof) wrote :

El vie, 20-09-2013 a las 02:19 +0000, ScislaC escribió:
> UX is User Experience design... and it may not be applicable in this
> case given the way you went about implementing it. I guess I should
> have realized that this was handled via a live effect (hence the spiro
> related changes too). Spiro seems usable enough for people, so given
> that this is a similar effect it's seemingly a non-issue.
>
> It's definitely less of an "incomplete" implementation than I was
> assuming.

Ok, thanks for the new review.

12094. By Jabiertxof <email address hidden>

Martin Owens review: svg icons saved whith trunk instead 0.48.3

Revision history for this message
Jabiertxof (jabiertxof) wrote :

El jue, 19-09-2013 a las 13:37 +0000, Martin Owens escribió:
> Review: Needs Fixing code review
>
> The edited svg should be saved using the inkscape compact options like the previous revision.

Hi, icons.svg saved whith trunk instead 0.48.3. Martin, think it fix.

Revision history for this message
su_v (suv-lp) wrote :

On 2013-09-20 12:37 +0200, Jabiertxo Arraiza Cenoz wrote:
> El jue, 19-09-2013 a las 13:37 +0000, Martin Owens escribió:
>> Review: Needs Fixing code review
>>
>> The edited svg should be saved using the inkscape compact options like the previous revision.
>
> Hi, icons.svg saved whith trunk instead 0.48.3. Martin, think it fix.

@Jabiertxo - 'compact' refers to the Inkscape settings used to save the
icons.svg file (to keep the changes between revisions minimal, and the
size of the icons.svg file overall small):

<http://wiki.inkscape.org/wiki/index.php/HowToEditIcons>

12095. By Jabiertxof <email address hidden>

Compact of SVG icons whith the help of ~suv and Martin Owens

Revision history for this message
Jabiertxof (jabiertxof) wrote :

El vie, 20-09-2013 a las 11:03 +0000, ~suv escribió:
> On 2013-09-20 12:37 +0200, Jabiertxo Arraiza Cenoz wrote:
> > El jue, 19-09-2013 a las 13:37 +0000, Martin Owens escribió:
> >> Review: Needs Fixing code review
> >>
> >> The edited svg should be saved using the inkscape compact options like the previous revision.
> >
> > Hi, icons.svg saved whith trunk instead 0.48.3. Martin, think it fix.
>
> @Jabiertxo - 'compact' refers to the Inkscape settings used to save the
> icons.svg file (to keep the changes between revisions minimal, and the
> size of the icons.svg file overall small):
>
> <http://wiki.inkscape.org/wiki/index.php/HowToEditIcons>
>
>
@~suv and @doctormo thanks and done!

Revision history for this message
su_v (suv-lp) wrote :

On 2013-09-20 13:48 +0200, Jabiertxo Arraiza Cenoz wrote:
> El vie, 20-09-2013 a las 11:03 +0000, ~suv escribió:
>> On 2013-09-20 12:37 +0200, Jabiertxo Arraiza Cenoz wrote:
>>> El jue, 19-09-2013 a las 13:37 +0000, Martin Owens escribió:
>>>> Review: Needs Fixing code review
>>>>
>>>> The edited svg should be saved using the inkscape compact options like the previous revision.
>>>
>>> Hi, icons.svg saved whith trunk instead 0.48.3. Martin, think it fix.
>>
>> @Jabiertxo - 'compact' refers to the Inkscape settings used to save the
>> icons.svg file (to keep the changes between revisions minimal, and the
>> size of the icons.svg file overall small):
>>
>> <http://wiki.inkscape.org/wiki/index.php/HowToEditIcons>
>>
>>
> @~suv and @doctormo thanks and done!

hmm - looks like the last commit to 'share/icons/icons.svg' in trunk already broke with that rule and committed a version saved with different preferences:
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/12533>

(@Jabiertxo - that's not your fault, this need to be fixed in trunk first AFAIU)

Revision history for this message
Vinipsmaker (vinipsmaker) wrote :

> hmm - looks like the last commit to 'share/icons/icons.svg' in trunk already broke with that rule and committed a version saved with different preferences:
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/12533>

> (@Jabiertxo - that's not your fault, this need to be fixed in trunk first AFAIU)

Right, this is my fault.

Fixed in rev 12553.

12096. By Jabiertxof <email address hidden>

Update to trunk

12097. By Jabiertxof <email address hidden>

update to trunk

12098. By Jabiertxof <email address hidden>

Update to trunk

Revision history for this message
su_v (suv-lp) wrote :

r12098 fails to build:

  CXX ui/tool/path-manipulator.o
../../src/ui/tool/path-manipulator.cpp: In constructor ‘Inkscape::UI::PathManipulator::PathManipulator(Inkscape::UI::MultiPathManipulator&, SPPath*, const Geom::Affine&, guint32, Glib::ustring)’:
../../src/ui/tool/path-manipulator.cpp:155: error: ‘sp_lpe_item_has_path_effect’ was not declared in this scope
../../src/ui/tool/path-manipulator.cpp:156: error: ‘sp_lpe_item_has_path_effect_of_type’ was not declared in this scope
make[3]: *** [ui/tool/path-manipulator.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Revision history for this message
Jabiertxof (jabiertxof) wrote :

El jue, 26-09-2013 a las 10:30 +0000, ~suv escribió:
> r12098 fails to build:
>
> CXX ui/tool/path-manipulator.o
> ../../src/ui/tool/path-manipulator.cpp: In constructor ‘Inkscape::UI::PathManipulator::PathManipulator(Inkscape::UI::MultiPathManipulator&, SPPath*, const Geom::Affine&, guint32, Glib::ustring)’:
> ../../src/ui/tool/path-manipulator.cpp:155: error: ‘sp_lpe_item_has_path_effect’ was not declared in this scope
> ../../src/ui/tool/path-manipulator.cpp:156: error: ‘sp_lpe_item_has_path_effect_of_type’ was not declared in this scope
> make[3]: *** [ui/tool/path-manipulator.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
Thanks i know it im searching solutions, i think both functions
disappear from code.
Regards, Jabier.

Revision history for this message
su_v (suv-lp) wrote :

On 2013-09-26 12:48 +0200, Jabiertxo Arraiza Cenoz wrote:
> El jue, 26-09-2013 a las 10:30 +0000, ~suv escribió:
>> r12098 fails to build:
>>
>> CXX ui/tool/path-manipulator.o
>> ../../src/ui/tool/path-manipulator.cpp: In constructor ‘Inkscape::UI::PathManipulator::PathManipulator(Inkscape::UI::MultiPathManipulator&, SPPath*, const Geom::Affine&, guint32, Glib::ustring)’:
>> ../../src/ui/tool/path-manipulator.cpp:155: error: ‘sp_lpe_item_has_path_effect’ was not declared in this scope
>> ../../src/ui/tool/path-manipulator.cpp:156: error: ‘sp_lpe_item_has_path_effect_of_type’ was not declared in this scope
>> make[3]: *** [ui/tool/path-manipulator.o] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
> Thanks i know it im searching solutions, i think both functions
> disappear from code.

r12098 compiled for me successfully with attached diff, and in a quick
test bspline-node-editing seems to work ok, as with earlier builds.

Please review (I don't speak C++ ;-) ).

1=== modified file 'src/ui/tool/path-manipulator.cpp'
2--- src/ui/tool/path-manipulator.cpp 2013-09-25 22:56:32 +0000
3+++ src/ui/tool/path-manipulator.cpp 2013-09-26 11:13:45 +0000
4@@ -152,8 +152,8 @@
5 _createControlPointsFromGeometry();
6 //BSpline
7 lpe_bsp = NULL;
8- if (SP_IS_LPE_ITEM(_path) && sp_lpe_item_has_path_effect(SP_LPE_ITEM(_path))){
9- Inkscape::LivePathEffect::Effect* thisEffect = sp_lpe_item_has_path_effect_of_type(SP_LPE_ITEM(_path),Inkscape::LivePathEffect::BSPLINE);
10+ if (_path->hasPathEffect()){
11+ Inkscape::LivePathEffect::Effect* thisEffect = SP_LPE_ITEM(_path)->getPathEffectOfType(Inkscape::LivePathEffect::BSPLINE);
12 if(thisEffect){
13 lpe_bsp = dynamic_cast<LivePathEffect::LPEBSpline*>(thisEffect->getLPEObj()->get_lpe());
14 }
Revision history for this message
Jabiertxof (jabiertxof) wrote :

Thanks ~suv for the help! Think today fix with your work.
Regards, Jabier.

El jue, 26-09-2013 a las 12:09 +0000, ~suv escribió:
> On 2013-09-26 12:48 +0200, Jabiertxo Arraiza Cenoz wrote:
> > El jue, 26-09-2013 a las 10:30 +0000, ~suv escribió:
> >> r12098 fails to build:
> >>
> >> CXX ui/tool/path-manipulator.o
> >> ../../src/ui/tool/path-manipulator.cpp: In constructor ‘Inkscape::UI::PathManipulator::PathManipulator(Inkscape::UI::MultiPathManipulator&, SPPath*, const Geom::Affine&, guint32, Glib::ustring)’:
> >> ../../src/ui/tool/path-manipulator.cpp:155: error: ‘sp_lpe_item_has_path_effect’ was not declared in this scope
> >> ../../src/ui/tool/path-manipulator.cpp:156: error: ‘sp_lpe_item_has_path_effect_of_type’ was not declared in this scope
> >> make[3]: *** [ui/tool/path-manipulator.o] Error 1
> >> make[2]: *** [all] Error 2
> >> make[1]: *** [all-recursive] Error 1
> >> make: *** [all] Error 2
> >>
> > Thanks i know it im searching solutions, i think both functions
> > disappear from code.
>
> r12098 compiled for me successfully with attached diff, and in a quick
> test bspline-node-editing seems to work ok, as with earlier builds.
>
> Please review (I don't speak C++ ;-) ).
>
>
>

12099. By Jabiertxof <email address hidden>

Compiling problem solved thaks to ~suv

12100. By Jabiertxof <email address hidden>

update to trunk

12101. By Jabiertxof <email address hidden>

update to trunk

12102. By Jabiertxof <email address hidden>

update to trunk

12103. By Jabiertxof <email address hidden>

error bend lpe

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Martin i request a change status of "SVG icons" for fix. I think its fixed.

12104. By Jabiertxof <email address hidden>

Fix editing paths in live effect

12105. By Jabiertxof <email address hidden>

update to trunk

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Hi ~suv, I add to your code "if (SP_IS_LPE_ITEM(_path) && _path->hasPathEffect()){" Because a path editing crash in bend lpe.
Thanks again for your work.

Revision history for this message
Martin Owens (doctormo) :
review: Approve
Revision history for this message
Jabiertxof (jabiertxof) wrote :

El vie, 27-09-2013 a las 12:06 +0000, Martin Owens escribió:
> Review: Approve
>
>
Thanks.

12106. By Jabiertxof <email address hidden>

Update to trunk

12107. By Jabiertxof <email address hidden>

Fixed a bug editing paths in others LPE -envelope-

12108. By Jabiertxof <email address hidden>

update to trunk

Revision history for this message
Martin Owens (doctormo) wrote :

Hey Jabiertxof,

How are you doing with this merge? Is it read or complete?

Revision history for this message
Jabiertxof (jabiertxof) wrote :

El jue, 03-10-2013 a las 20:22 +0000, Martin Owens escribió:
> Hey Jabiertxof,
>
> How are you doing with this merge? Is it read or complete?

Hi Martin!

Its working but its pending for a full review -first code in c++-, im
updating but only to follow the trunk.

Regards, Jabier.

12109. By root <email address hidden>

update to trunk

12110. By Jabiertxof <email address hidden>

Fix moving handles

12111. By Jabiertxof <email address hidden>

update to trunk

12112. By Jabiertxof <email address hidden>

fix whith bspline handles

12113. By Jabiertxof <email address hidden>

Fix in BSpline

12114. By Jabiertxof <email address hidden>

update to trunk

12115. By root <email address hidden>

Fix in bsplines

12116. By Jabiertxof <email address hidden>

UX improvements

12117. By Jabiertxof <email address hidden>

Adding bspline file to POTFILES.IN

12118. By Jabiertxof <email address hidden>

Fix bspline and strip multi node bspline power editing whith node tool because UX

12119. By Jabiertxof <email address hidden>

update to trunk

12120. By Jabiertxof <email address hidden>

Fix scaling handles

12121. By Jabiertxof <email address hidden>

Fix scaling handles

12122. By Jabiertxof <email address hidden>

fix in nodes

12123. By Jabiertxof <email address hidden>

update to trunk

12124. By Jabiertxof <email address hidden>

Fixing BSplines

12125. By Jabiertxof <email address hidden>

fix bsplines

12126. By Jabiertxof <email address hidden>

fix bsplines

12127. By Jabiertxof <email address hidden>

fix bsplines

12128. By Jabiertxof <email address hidden>

fix bsplines

12129. By Jabiertxof <email address hidden>

fix bsplines

12130. By Jabiertxof <email address hidden>

Update to trunk

12131. By Jabiertxof <email address hidden>

Update to trunk

12132. By Jabiertxof <email address hidden>

Update to trunk

12133. By Jabiertxof <email address hidden>

Update motion redraw of bsplines

12134. By Jabiertxof <email address hidden>

Update to trunk

12135. By Jabiertxof <email address hidden>

Update to trunk

12136. By Jabiertxof <email address hidden>

Update to trunk

12137. By Jabiertxof <email address hidden>

Update to trunk

12138. By Jabiertxof <email address hidden>

Update to trunk

12139. By Jabiertxof <email address hidden>

Update to trunk

12140. By Jabiertxof <email address hidden>

Update to trunk

12141. By Jabiertxof <email address hidden>

Update to trunk

12142. By Jabiertxof <email address hidden>

Update to trunk

12143. By Jabiertxof <email address hidden>

Update to trunk

12144. By Jabiertxof <email address hidden>

Fixing bugs on update to trunk

12145. By Jabiertxof <email address hidden>

Update to trunk

12146. By Jabiertxof <email address hidden>

Update to trunk

12147. By Jabiertxof <email address hidden>

Update to trunk

12148. By Jabiertxof <email address hidden>

Update to trunk

12149. By Jabiertxof <email address hidden>

Update to trunk

12150. By Jabiertxof <email address hidden>

Update to trunk

12151. By Jabiertxof <email address hidden>

Update to trunk

12152. By Jabiertxof <email address hidden>

Update to trunk

12153. By Jabiertxof <email address hidden>

Update to trunk

12154. By Jabiertxof <email address hidden>

Update to trunk

12155. By Jabiertxof <email address hidden>

Update to trunk

12156. By Jabiertxof <email address hidden>

Fix a bug delete BSpline LPE from a path retain some BSpline properties

12157. By Jabiertxof <email address hidden>

Update to trunk

12158. By Jabiertxof <email address hidden>

Update to trunk

12159. By Jabiertxof <email address hidden>

Update to trunk

12160. By Jabiertxof <email address hidden>

Fix crash bug continuing empty paths

12161. By Jabiertxof <email address hidden>

Refactorizing

12162. By Jabiertxof <email address hidden>

Refactorizing

12163. By Jabiertxof <email address hidden>

Refactorizing

12164. By Jabiertxof <email address hidden>

Start refactor, simplify node.cpp operations,general cleanup, changed brehabiour to need 'Shift' Key to move handles because it handle better operations with small zoom

12165. By Jabiertxof <email address hidden>

Updated tip strings

12166. By Jabiertxof <email address hidden>

Refact

12167. By Jabiertxof <email address hidden>

Spanish comment of node.cpp

12168. By Jabiertxof <email address hidden>

Spanish comment of node.h

12169. By Jabiertxof <email address hidden>

refactor, fixing some diff diferences

12170. By Jabiertxof <email address hidden>

update to trunk

12171. By Jabiertxof <email address hidden>

Spanish comment of curve-drag-point-cpp

12172. By Jabiertxof <email address hidden>

Spanish comment of multi-path-manipulator-cpp

12173. By Jabiertxof <email address hidden>

Spanish comment of path-manipulator-cpp

12174. By Jabiertxof <email address hidden>

Spanish comment of freehand-base.cpp

12175. By Jabiertxof <email address hidden>

Spanish comment of node-tool.cpp

12176. By Jabiertxof <email address hidden>

Spanish comment of pencil-tool.cpp/.h

12177. By Jabiertxof <email address hidden>

Spanish comment of pencil-tool.cpp

12178. By Jabiertxof <email address hidden>

refactor, fixing some diff diferences

12179. By Jabiertxof <email address hidden>

fix a bug whith degenerate handles

12180. By Jabiertxof <email address hidden>

Fixed a boring bug sometimes curves be converted to lines, increasing a bit the distance from the handle to the line

12181. By Jabiertxof <email address hidden>

update to trunk

12182. By Jabiertxof <email address hidden>

Fix a bug whith oposite handles on node move,and a little cleanup

12183. By Jabiertxof <email address hidden>

update to trunk

12184. By Jabiertxof <email address hidden>

update to trunk

12185. By Jabiertxof <email address hidden>

update to trunk

12186. By Jabiertxof <email address hidden>

update to trunk

12187. By Jabiertxof <email address hidden>

update to trunk

12188. By Jabiertxof <email address hidden>

update to trunk

12189. By Jabiertxof <email address hidden>

show outline like normal paths, by good su_v suggestion

12190. By Jabiertxof <email address hidden>

update to trunk

12191. By Jabiertxof <email address hidden>

show outline by default in bspline, tnx to su_v suggestion

12192. By Jabiertxof <email address hidden>

fix bug compiling

12193. By Jabiertxof <email address hidden>

Hack to can show/hide bspline lines

12194. By Jabiertxof <email address hidden>

add comment to bspline red outline hack

12195. By Jabiertxof <email address hidden>

Add correct preview for coninuing paths whith pencil and draw modes

12196. By Jabiertxof <email address hidden>

update to trunk

12197. By Jabiertxof <email address hidden>

fixing su_v advertising memory bug

12198. By Jabiertxof <email address hidden>

update to trunk

12199. By Jabiertxof <email address hidden>

update to trunk

12200. By Jabiertxof <email address hidden>

update to trunk

12201. By Jabiertxof <email address hidden>

Removing hack for force show red lines in bspline mode

12202. By Jabiertxof <email address hidden>

update to trunk

12203. By Jabiertxof <email address hidden>

update to trunk

12204. By Jabiertxof <email address hidden>

update to trunk

12205. By Jabiertxof <email address hidden>

update to trunk

12206. By Jabiertxof <email address hidden>

update to trunk

12207. By Jabiertxof <email address hidden>

Fixed some/all bugs related to continuing bspline/spiro curves advertaising by suv

12208. By Jabiertxof <email address hidden>

update to trunk

12209. By Jabiertxof <email address hidden>

update to trunk

12210. By Jabiertxof <email address hidden>

adding some comments

12211. By Jabiertxof <email address hidden>

Substitute isBSpline property by a cached function isBSpline(bool)

12212. By Jabiertxof <email address hidden>

update to trunk

12213. By Jabiertxof <email address hidden>

update to trunk

12214. By Jabiertxof <email address hidden>

Resolving conflicts, maybe broken

12215. By Jabiertxof <email address hidden>

Fixed update to trunk, lot of changes vinícius

12216. By Jabiertxof <email address hidden>

Add new curve structure to show temporay item while draw on bspline and spiro, maybe the previous usage of the blue_curve give the strange errors in mac noticed by suv

12217. By Jabiertxof <email address hidden>

update to trunk

12218. By Jabiertxof <email address hidden>

update to trunk

12219. By Jabiertxof <email address hidden>

update to trunk

12220. By Jabiertxof <email address hidden>

update to trunk

12221. By Jabiertxof <email address hidden>

update to trunk

12222. By Jabiertxof <email address hidden>

update to trunk

12223. By Jabiertxof <email address hidden>

Reduce a half the spiro distance to redraw

12224. By Jabiertxof <email address hidden>

update to trunk

12225. By Jabiertxof <email address hidden>

Change tooltip to one more explicit to make cusp nodes

12226. By Jabiertxof <email address hidden>

update to trunk

12227. By Jabiertxof <email address hidden>

update to trunk

12228. By Jabiertxof <email address hidden>

Translations

12229. By Jabiertxof <email address hidden>

Translations

12230. By Jabiertxof <email address hidden>

Fixing branch problems

12231. By Jabiertxof <email address hidden>

Fixing branch problems

12232. By Jabiertxof <email address hidden>

Branch problem introduced by me fixed, thanks Guiu for the translations

12233. By Jabiertxof <email address hidden>

update to trunk

12234. By Jabiertxof <email address hidden>

update to trunk

12235. By root <email address hidden>

Fixed a bug when click over the previuos node in bspline/spiro mode

12236. By Jabiertxof <email address hidden>

update to trunk

12237. By Jabiertxof <email address hidden>

update to trunk

12238. By Jabiertxof <email address hidden>

Update to Vinipsmaker changes

12239. By Jabiertxof <email address hidden>

update to trunk

12240. By Jabiertxof <email address hidden>

update to trunk

12241. By Jabiertxof <email address hidden>

update to trunk

12242. By Jabiertxof <email address hidden>

update to trunk

12243. By Jabiertxof <email address hidden>

update to trunk

12244. By Jabiertxof <email address hidden>

commit Vinícius code

12245. By Jabiertxof <email address hidden>

update to trunk

12246. By Jabiertxof <email address hidden>

disabling cache approach for isBSpline function, pointed by Vinícius

12247. By Jabiertxof <email address hidden>

simplify the code in isBSpline

12248. By Jabiertxof <email address hidden>

Fix to solve static var in isBSpline function

12249. By Jabiertxof <email address hidden>

update to trunk

12250. By Jabiertxof <email address hidden>

update to trunk

12251. By Jabiertxof <email address hidden>

This think fix su_v related bug on continuous paths in BSpline or Spiro mode

12252. By Jabiertxof <email address hidden>

update to trunk

12253. By root <email address hidden>

Fixing suv mac bug continuing existing bsplines/spiro paths

12254. By Jabiertxof <email address hidden>

Fix a bug when starting path with change from bspline to spiro and inverse

12255. By Jabiertxof <email address hidden>

update to trunk

12256. By Jabiertxof <email address hidden>

Refactor of anchors

12257. By Jabiertxof <email address hidden>

update to trunk

12258. By Jabiertxof <email address hidden>

Full refactor of path continuations in bspline-spirolive mode, I think no more suv mac crashes, but need to be full tested again because a lot of things changed.

12259. By Jabiertxof <email address hidden>

Removed persistent blue line

12260. By Jabiertxof <email address hidden>

Fixed bug continuing cusp nodes

12261. By Jabiertxof <email address hidden>

update to trunk

12262. By Jabiertxof <email address hidden>

update to trunk

12263. By Jabiertxof <email address hidden>

update to trunk

12264. By Jabiertxof <email address hidden>

Adding cout << output to check bug in Geom::are_near

12265. By Jabiertxof <email address hidden>

update to trunk

12266. By Jabiertxof <email address hidden>

clang-format bspline lpe files

12267. By Jabiertxof <email address hidden>

update to trunk

12268. By Jabiertxof <email address hidden>

Fixed bug in LPE Bspline widget, on apply selected nodes, because a rounding problem. Thanks very much to Johan Engelen for point me to the correct direction. maybe is better round it previously to the are_near function, not sure

12269. By Jabiertxof <email address hidden>

update to trunk

12270. By Jabiertxof <email address hidden>

clarify the 'sc' and 'ec' SPCurve, by point of Vinícius, whith the result of one curve less in the header

12271. By Jabiertxof <email address hidden>

use <cmath> instead <math.h> by point of Vinícius

12272. By Jabiertxof <email address hidden>

Some node.cpp/h work moved to path_manipulator.
Header variable bsplineWeight removed from all.
Simplification of code with less functions in path_manipulator.

To fix: tips stop working because is handled by two static functions and
couldent call to path_manipulator from here. Vinícius, any work arround? lines
480,481,1426,1427,1462 of node.cpp.

gez: ¿Puedes probar si notas algun bug o problema? principalmente con
la herramienta nodo, gracias.

12273. By Jabiertxof <email address hidden>

A refactor for fixing some issues. Pending how to handle static functions
Vinícius for handle tips in his static functions i know two ways:
A: A bool property in node class of node.h to handle if curve is bspline
B: Call another non static function from the static tips one -not tested-

12274. By Jabiertxof <email address hidden>

update to trunk

12275. By Jabiertxof <email address hidden>

Refactor of end anchors.

12276. By Jabiertxof <email address hidden>

update to trunk

12277. By Jabiertxof <email address hidden>

update to trunk

12278. By Jabiertxof <email address hidden>

update to trunk

12279. By Jabiertxof <email address hidden>

update to trunk

12280. By Jabiertxof <email address hidden>

update to trunk

12281. By Jabiertxof <email address hidden>

update to trunk

12282. By Jabiertxof <email address hidden>

update to trunk

12283. By Jabiertxof <email address hidden>

update to trunk

12284. By Jabiertxof <email address hidden>

align two buttons in LPE widget

12285. By Jabiertxof <email address hidden>

Redesign of the BSpline LPE widgets

12286. By Jabiertxof <email address hidden>

update to trunk

12287. By Jabiertxof <email address hidden>

update to trunk

12288. By Jabiertxof <email address hidden>

update to trunk

Revision history for this message
Vinipsmaker (vinipsmaker) wrote :

There are a few things that could be improved, like the use of enum to represent widget mode (instead of plain and magical int numbers) and the use of new and delete (that we still need to keep, but hopefully will go away when we migrate to C++11), but none of this has anything to do with Jabier's changes. I think the branch can be merged already.

I discussed changes I thought worth through private emails with Jabier and they were already done.

Possibly some devs would like to see the use of SPCurve migrated to Geom::PathVector, but (1) I don't think it's important here and (2) looks like Geom::PathVector will receive breaking changes from KK soon.

Possibly other devs would like to see some asserts after some unchecked dynamic_cast, but I don't think this is important.

Any bugs related to this branch or has it become stable already?

Anyway, I'll move to another task within the Inkscape project.

It was a lot of code to review and took me some time.
=)

review: Approve
Revision history for this message
Jabiertxof (jabiertxof) wrote :

> It was a lot of code to review and took me some time.
> =)

Thanks very much for the review!

Revision history for this message
Jabiertxof (jabiertxof) wrote :

> It was a lot of code to review and took me some time.
> =)

Thanks very much for the review!

12289. By Jabiertxof <email address hidden>

adding Vinícius work whith node tips

12290. By Jabiertxof <email address hidden>

update to trunk

12291. By Jabiertxof <email address hidden>

adding const _pathmanipulatos staff to handles (handles also have tips)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.