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

Issue 7574048: Eliminates side poisition calculations for system-start-text grobs. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by MikeSol
Modified:
11 years ago
Reviewers:
Keith, janek, dak, mike7
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Eliminates side poisition calculations for system-start-text grobs. The spacing of system-star-text-interface implementing grobs used side positioning against an support element list of zero, which just shifted them to the left by their width. Instead of using the side-position-interface with this (which required a special case for these grobs that is now deleted), we use their X-offset function. Also, we change the name of the list of elements used for alignment, as elements should only be used for axis groups.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixes StanzaNumber positioning #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -18 lines) Patch
M input/regression/instrument-name-x-align.ly View 2 chunks +2 lines, -2 lines 1 comment Download
M lily/instrument-name-engraver.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M lily/side-position-interface.cc View 1 1 chunk +0 lines, -10 lines 0 comments Download
M scm/define-grob-interfaces.scm View 1 chunk +2 lines, -1 line 0 comments Download
M scm/define-grob-properties.scm View 1 chunk +2 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 1 1 chunk +3 lines, -1 line 0 comments Download
M scm/output-lib.scm View 1 3 chunks +19 lines, -2 lines 0 comments Download

Messages

Total messages: 7
janek
Whoah, Mike! I've understood your patch in first reading! Nice commit message. > The spacing ...
11 years, 1 month ago (2013-03-18 08:18:10 UTC) #1
Keith
This will be nice. Notice that the Stanza number in 'input/regression/hara-kiri-stanza-number.ly' lost its alignment. https://codereview.appspot.com/7574048/diff/1/scm/define-grob-interfaces.scm ...
11 years, 1 month ago (2013-03-19 06:53:03 UTC) #2
MikeSol
Fixes StanzaNumber positioning
11 years, 1 month ago (2013-03-24 07:11:39 UTC) #3
dak
https://codereview.appspot.com/7574048/diff/5001/input/regression/instrument-name-x-align.ly File input/regression/instrument-name-x-align.ly (right): https://codereview.appspot.com/7574048/diff/5001/input/regression/instrument-name-x-align.ly#newcode33 input/regression/instrument-name-x-align.ly:33: \set Staff . instrumentName = \markup \right-column { Make ...
11 years, 1 month ago (2013-03-24 12:59:36 UTC) #4
mike7
On 24 mars 2013, at 14:59, dak@gnu.org wrote: > > https://codereview.appspot.com/7574048/diff/5001/input/regression/instrument-name-x-align.ly > File input/regression/instrument-name-x-align.ly (right): ...
11 years, 1 month ago (2013-03-24 19:06:49 UTC) #5
dak
On 2013/03/24 19:06:49, mike7 wrote: > On 24 mars 2013, at 14:59, mailto:dak@gnu.org wrote: > ...
11 years, 1 month ago (2013-03-24 19:59:38 UTC) #6
MikeSol
11 years, 1 month ago (2013-03-28 19:00:17 UTC) #7
On 2013/03/24 19:59:38, dak wrote:
> On 2013/03/24 19:06:49, mike7 wrote:
> > On 24 mars 2013, at 14:59, mailto:dak@gnu.org wrote:
> > 
> > > 
> > >
> >
>
https://codereview.appspot.com/7574048/diff/5001/input/regression/instrument-...
> > > File input/regression/instrument-name-x-align.ly (right):
> > > 
> > >
> >
>
https://codereview.appspot.com/7574048/diff/5001/input/regression/instrument-...
> > > input/regression/instrument-name-x-align.ly:33: \set Staff .
> > > instrumentName = \markup \right-column {
> > > Make no mistake: the previous code looked suspiciously asymmetric.  Is
> > > your change a cosmetic one, or is it related to other strange behaviors
> > > like the \left-column/\column mismatch we had noticed elsewhere?
> > > 
> > > https://codereview.appspot.com/7574048/
> > 
> > The latter - I noticed it clashed and have run into problems with right
column
> > in the past and decided to get rid of it.
> > I can put it in a different commit before pushing this one.
> 
> In general, separate issues should be separate commits even if you don't want
to
> start a tracker issue of its own for it.
> 
> Since one wants to be able to pinpoint stuff by bisection, the regtest change
> should be in a commit before the rest.

Will do - I'll push this as two separate commits.

Cheers,
MS
Sign in to reply to this message.

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