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

Issue 7317: showFirstLength (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 6 months ago by Valentin Villenave
Modified:
13 years, 5 months ago
Reviewers:
hanwenn
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

showFirstLength * new showFirstLength feature This commit implements a showFirstLength property, that does the opposite of showLastLength (both properties may be set, in this case the beginning and the end of the piece are printed, with a double barline as a separator). When only showFirstLength is set, the 'length property is overriden (except if already shorter than the specified first length) and therefore the compilation will be much faster. This new feature may be very convenient, e.g. to print the index of a book containing only the beginning of each \score.

Patch Set 1 #

Patch Set 2 : showFirstLength (corrected) #

Patch Set 3 : final patch set (as pushed) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -40 lines) Patch
M Documentation/topdocs/NEWS.tely View 1 chunk +10 lines, -0 lines 0 comments Download
M Documentation/user/input.itely View 2 chunks +4 lines, -1 line 0 comments Download
M Documentation/user/working.itely View 1 chunk +2 lines, -2 lines 0 comments Download
A input/regression/skiptypesetting-show-first.ly View 1 chunk +16 lines, -0 lines 0 comments Download
A input/regression/skiptypesetting-show-first-and-last.ly View 1 chunk +18 lines, -0 lines 0 comments Download
M input/regression/skiptypesetting-show-last.ly View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M scm/music-functions.scm View 1 2 2 chunks +87 lines, -34 lines 0 comments Download

Messages

Total messages: 4
hanwenn
http://codereview.appspot.com/7317/diff/1/4 File scm/music-functions.scm (right): http://codereview.appspot.com/7317/diff/1/4#newcode827 Line 827: "set skipTypesetting, make SkipMusic of the given MUS ...
15 years, 6 months ago (2008-10-20 12:17:00 UTC) #1
Valentin Villenave
I don't know what to do next; should I open a new issue with the ...
15 years, 6 months ago (2008-10-20 17:57:44 UTC) #2
hanwenn
Looks good to me. http://codereview.appspot.com/7317/diff/7/8 File input/regression/skiptypesetting-show-last-or-first.ly (right): http://codereview.appspot.com/7317/diff/7/8#newcode25 Line 25: showFirstLength = R1 can ...
15 years, 6 months ago (2008-10-21 00:37:54 UTC) #3
Valentin Villenave
15 years, 6 months ago (2008-10-21 08:10:05 UTC) #4
OK. I have eventually left the skiptypesetting-show-last regtest, and added two
more regtests (skiptypesetting-show-first, skiptypesetting-show-first-and-last).

Since I have your LGTM, I pushed the commit.

http://codereview.appspot.com/7317/diff/7/8
File input/regression/skiptypesetting-show-last-or-first.ly (right):

http://codereview.appspot.com/7317/diff/7/8#newcode25
Line 25: showFirstLength = R1
On 2008/10/21 00:37:54, hanwenn wrote:
> can you double check that this will actually compare the way you think it will
> in the regtest? (ie. changes in all three scores will hit the regtest?)
> 
> You could also split this into three files.

Done.

http://codereview.appspot.com/7317/diff/7/10
File scm/music-functions.scm (right):

http://codereview.appspot.com/7317/diff/7/10#newcode830
Line 830: (ly:moment-main-numerator moment)
On 2008/10/21 00:37:54, hanwenn wrote:
> this indent also looks off. 
> 

Done.
Sign in to reply to this message.

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