Re: Fixes issue 40. (issue4801083)

2011-08-09 Thread n . puttock

LGTM.


http://codereview.appspot.com/4801083/diff/14002/scm/define-grobs.scm
File scm/define-grobs.scm (right):

http://codereview.appspot.com/4801083/diff/14002/scm/define-grobs.scm#newcode933
scm/define-grobs.scm:933: (end-on-accidental . #t)
trailing whitespace

http://codereview.appspot.com/4801083/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-09 Thread m...@apollinemike.com

On Aug 9, 2011, at 10:04 PM, n.putt...@gmail.com wrote:

> On 2011/08/09 18:23:42, mike_apollinemike.com wrote:
> 
>> Good call - I've uploaded a new patch that uses "accidental-grob"
> (don't know
>> why I didn't think of that before...too much code on the brain!).
> 
> The latest patch set needs rebasing against master.
> 
> Cheers,
> Neil
> 
> http://codereview.appspot.com/4801083/

Done.

Cheers,
MS

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-09 Thread n . puttock

On 2011/08/09 18:23:42, mike_apollinemike.com wrote:


Good call - I've uploaded a new patch that uses "accidental-grob"

(don't know

why I didn't think of that before...too much code on the brain!).


The latest patch set needs rebasing against master.

Cheers,
Neil

http://codereview.appspot.com/4801083/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-09 Thread m...@apollinemike.com
On Aug 9, 2011, at 7:15 PM, n.putt...@gmail.com wrote:

> http://codereview.appspot.com/4801083/diff/8001/lily/line-spanner.cc#newcode113
> lily/line-spanner.cc:113: Grob *acc = Note_column::accidentals
> (bound_grob->get_parent (X_AXIS));
> acc is an AccidentalPlacement, so should be renamed to avoid confusion.
> 
> As an AccidentalPlacement, it won't work very well with chords that have
> accidentals far enough away from the head the glissando ends on, or
> chord glissandos where some heads don't have accidentals:
> 
> \relative c, {
>  \clef bass
>  \override Glissando #'minimum-length = #6
>  \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
>  8[\glissando ]
> }
> 

Good call - I've uploaded a new patch that uses "accidental-grob" (don't know 
why I didn't think of that before...too much code on the brain!).
I've taken out all of that minimum-distance stuff.  The way the regtest is 
designed, it does not reproduce the snippet in Issue 40 to the letter but it 
reproduces it in spirit (I think) - it uses whole notes so that the glissando 
is visible.

Cheers,
MS


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-09 Thread n . puttock


http://codereview.appspot.com/4801083/diff/8001/input/regression/glissando-accidental.ly
File input/regression/glissando-accidental.ly (right):

http://codereview.appspot.com/4801083/diff/8001/input/regression/glissando-accidental.ly#newcode8
input/regression/glissando-accidental.ly:8: a1 \glissando cis
a1\glissando

http://codereview.appspot.com/4801083/diff/8001/lily/line-spanner.cc
File lily/line-spanner.cc (right):

http://codereview.appspot.com/4801083/diff/8001/lily/line-spanner.cc#newcode113
lily/line-spanner.cc:113: Grob *acc = Note_column::accidentals
(bound_grob->get_parent (X_AXIS));
acc is an AccidentalPlacement, so should be renamed to avoid confusion.

As an AccidentalPlacement, it won't work very well with chords that have
accidentals far enough away from the head the glissando ends on, or
chord glissandos where some heads don't have accidentals:

\relative c, {
  \clef bass
  \override Glissando #'minimum-length = #6
  \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
  8[\glissando ]
}

http://codereview.appspot.com/4801083/diff/8001/lily/line-spanner.cc#newcode380
lily/line-spanner.cc:380: "minimum-distance "
The docstring for this will need changing.

http://codereview.appspot.com/4801083/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-09 Thread Neil Puttock
On 9 August 2011 07:41,   wrote:
> On 2011/08/09 05:08:56, hanwenn wrote:
>>
>> LGTM
>
>> note that image of the issue will also require a minimum distance
>
> setting,
>>
>> otherwise, the glissando will be shortened into a dot?
>
> Done.  New patchset uploaded.

This doesn't ensure the glissando's visible (and messes up two
tablature regtests).  Han-Wen probably means minimum-length (which
requires a springs-and-rods setting); alternatively, you could set
ragged-right = ##f.

Cheers,
Neil

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-08 Thread mtsolo

On 2011/08/09 05:08:56, hanwenn wrote:

LGTM



note that image of the issue will also require a minimum distance

setting,

otherwise, the glissando will be shortened into a dot?


Done.  New patchset uploaded.

Cheers,
MS

http://codereview.appspot.com/4801083/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-08 Thread hanwenn

LGTM

note that image of the issue will also require a minimum distance
setting, otherwise, the glissando will be shortened into a dot?

http://codereview.appspot.com/4801083/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-08 Thread Carl . D . Sorensen

LGTM.

Thanks,

Carl


http://codereview.appspot.com/4801083/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-08 Thread mtsolo

On 2011/08/08 15:19:06, Carl wrote:

Can we have a regtest, please?


Regtest added.

Cheers,
MS

http://codereview.appspot.com/4801083/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-08 Thread Carl . D . Sorensen

Can we have a regtest, please?

http://codereview.appspot.com/4801083/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fixes issue 40. (issue4801083)

2011-08-06 Thread pkx166h

Pass make and reg tests

http://codereview.appspot.com/4801083/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel