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

Issue 4641097: Fix 750: No warning for non-found voice in lyrics combine when lyrics are empty (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by Reinhold
Modified:
12 years, 10 months ago
Reviewers:
carl.d.sorensen, Neil Puttock
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Fix 750: No warning for non-found voice in lyrics combine when lyrics are empty Use a bool flag to store whether the Lyrics context was ever really created (i.e. one moment was processed). If that's not the case, then the lyrics are empty, and we shouldn't print any warning about non-existing voices (since we never even tried to find an appropriate voice; and we also don't need one anyway). Fixes isse 750 (http://code.google.com/p/lilypond/issues/detail?id=750)

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -4 lines) Patch
A input/regression/lyric-combine-empty-warning.ly View 1 chunk +23 lines, -0 lines 5 comments Download
M lily/lyric-combine-music-iterator.cc View 4 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 2
Carl
LGTM. I think that this can be pushed any time. Carl
12 years, 10 months ago (2011-07-09 16:47:49 UTC) #1
Neil Puttock
12 years, 10 months ago (2011-07-10 21:14:02 UTC) #2
LGTM.

http://codereview.appspot.com/4641097/diff/1/input/regression/lyric-combine-e...
File input/regression/lyric-combine-empty-warning.ly (right):

http://codereview.appspot.com/4641097/diff/1/input/regression/lyric-combine-e...
input/regression/lyric-combine-empty-warning.ly:1: \version "2.15.4"
2.15.5

http://codereview.appspot.com/4641097/diff/1/input/regression/lyric-combine-e...
input/regression/lyric-combine-empty-warning.ly:3: \header{
\header {

http://codereview.appspot.com/4641097/diff/1/input/regression/lyric-combine-e...
input/regression/lyric-combine-empty-warning.ly:5: texidoc= "If lyrics are
assigned to a non-existing voice, a warning should
indent

texidoc =

http://codereview.appspot.com/4641097/diff/1/input/regression/lyric-combine-e...
input/regression/lyric-combine-empty-warning.ly:13: \new Staff
indent

http://codereview.appspot.com/4641097/diff/1/input/regression/lyric-combine-e...
input/regression/lyric-combine-empty-warning.ly:15: c1
indent
Sign in to reply to this message.

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