Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(9262)

Issue 201140043: Allow independent adjustment of minimum length for spanner siblings

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 2 months ago by david.nalesnik
Modified:
9 years, 2 months ago
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Allow independent adjustment of minimum length for spanner siblings The property minimum-length affects both unbroken and broken spanners, making independent adjustment impossible. This patch adds a property, minimum-length-after-break, which, if set, behaves similarly to minimum-length, but only affects siblings starting a line. If minimum-length-after-break is unset, minimum-length still controls all lengths. A regtest demonstrates usage of the new property with a number of spanners.

Patch Set 1 #

Total comments: 8

Patch Set 2 : fix distance_ calculation #

Total comments: 3

Patch Set 3 : fix tabs, comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -2 lines) Patch
A input/regression/minimum-length-after-break.ly View 1 chunk +45 lines, -0 lines 0 comments Download
A input/regression/minimum-length-broken-ties.ly View 1 chunk +39 lines, -0 lines 0 comments Download
M lily/spanner.cc View 3 chunks +18 lines, -2 lines 0 comments Download
M scm/define-grob-properties.scm View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10
david.nalesnik
Please review.
9 years, 2 months ago (2015-02-05 21:55:45 UTC) #1
thomasmorley651
Can't review the C++ part. Some nitpicks in the regtest. Will it be possible to ...
9 years, 2 months ago (2015-02-05 22:31:34 UTC) #2
david.nalesnik
https://codereview.appspot.com/201140043/diff/1/input/regression/minimum-length-after-break.ly File input/regression/minimum-length-after-break.ly (right): https://codereview.appspot.com/201140043/diff/1/input/regression/minimum-length-after-break.ly#newcode15 input/regression/minimum-length-after-break.ly:15: \override Tie.minimum-length-after-break = 20 On 2015/02/05 22:31:33, thomasmorley651 wrote: ...
9 years, 2 months ago (2015-02-05 22:51:06 UTC) #3
thomasmorley651
https://codereview.appspot.com/201140043/diff/1/input/regression/minimum-length-after-break.ly File input/regression/minimum-length-after-break.ly (right): https://codereview.appspot.com/201140043/diff/1/input/regression/minimum-length-after-break.ly#newcode15 input/regression/minimum-length-after-break.ly:15: \override Tie.minimum-length-after-break = 20 On 2015/02/05 22:51:06, david.nalesnik wrote: ...
9 years, 2 months ago (2015-02-05 23:34:22 UTC) #4
lemzwerg
LGTM.
9 years, 2 months ago (2015-02-06 09:03:41 UTC) #5
david.nalesnik
https://codereview.appspot.com/201140043/diff/1/input/regression/minimum-length-after-break.ly File input/regression/minimum-length-after-break.ly (right): https://codereview.appspot.com/201140043/diff/1/input/regression/minimum-length-after-break.ly#newcode15 input/regression/minimum-length-after-break.ly:15: \override Tie.minimum-length-after-break = 20 On 2015/02/05 23:34:22, thomasmorley651 wrote: ...
9 years, 2 months ago (2015-02-06 19:17:27 UTC) #6
david.nalesnik
https://codereview.appspot.com/201140043/diff/20001/lily/spanner.cc File lily/spanner.cc (right): https://codereview.appspot.com/201140043/diff/20001/lily/spanner.cc#newcode404 lily/spanner.cc:404: Rod r; Perhaps we should call this rod something ...
9 years, 2 months ago (2015-02-06 20:08:21 UTC) #7
lemzwerg
https://codereview.appspot.com/201140043/diff/20001/lily/spanner.cc File lily/spanner.cc (right): https://codereview.appspot.com/201140043/diff/20001/lily/spanner.cc#newcode394 lily/spanner.cc:394: /* Minor nit: Please use spaces, not tabs.
9 years, 2 months ago (2015-02-06 21:47:11 UTC) #8
david.nalesnik
https://codereview.appspot.com/201140043/diff/20001/lily/spanner.cc File lily/spanner.cc (right): https://codereview.appspot.com/201140043/diff/20001/lily/spanner.cc#newcode394 lily/spanner.cc:394: /* On 2015/02/06 21:47:11, lemzwerg wrote: > Minor nit: ...
9 years, 2 months ago (2015-02-08 21:51:38 UTC) #9
thomasmorley651
9 years, 2 months ago (2015-02-09 23:37:56 UTC) #10
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b