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

Issue 324310043: Let Merge_rests_engraver deal with dotted rests (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 7 months ago by thomasmorley651
Modified:
6 years, 7 months ago
Reviewers:
dak
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Let Merge_rests_engraver deal with dotted rests Compare simple rests by their duration-length, duration-log does not take possible dots into account. Superfluous dots are killed with ly:grob-suicide!

Patch Set 1 #

Total comments: 1

Patch Set 2 : register the engraver #

Patch Set 3 : improve coding, change docs, regtest to use \consists \... #

Total comments: 5

Patch Set 4 : splitting into two patches: registering and dot-merging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -13 lines) Patch
M Documentation/notation/simultaneous.itely View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/merge-rests-engraver.ly View 1 2 3 3 chunks +15 lines, -2 lines 0 comments Download
M scm/scheme-engravers.scm View 1 2 2 chunks +44 lines, -9 lines 0 comments Download

Messages

Total messages: 11
thomasmorley651
Please review. Does this engraver needs an entry via ly:register-translator like the Measure_counter_engraver in the ...
6 years, 7 months ago (2017-08-28 14:26:51 UTC) #1
dak
https://codereview.appspot.com/324310043/diff/1/scm/scheme-engravers.scm File scm/scheme-engravers.scm (right): https://codereview.appspot.com/324310043/diff/1/scm/scheme-engravers.scm#newcode121 scm/scheme-engravers.scm:121: (define-public (Merge_rests_engraver context) Stupid question: is there a reason ...
6 years, 7 months ago (2017-08-28 15:18:06 UTC) #2
thomasmorley651
On 2017/08/28 15:18:06, dak wrote: > https://codereview.appspot.com/324310043/diff/1/scm/scheme-engravers.scm > File scm/scheme-engravers.scm (right): > > https://codereview.appspot.com/324310043/diff/1/scm/scheme-engravers.scm#newcode121 > ...
6 years, 7 months ago (2017-08-28 16:01:36 UTC) #3
dak
On 2017/08/28 16:01:36, thomasmorley651 wrote: > On 2017/08/28 15:18:06, dak wrote: > > https://codereview.appspot.com/324310043/diff/1/scm/scheme-engravers.scm > ...
6 years, 7 months ago (2017-08-28 16:29:52 UTC) #4
thomasmorley651
register the engraver
6 years, 7 months ago (2017-08-28 20:42:33 UTC) #5
thomasmorley651
improve coding, change docs, regtest to use \consists \...
6 years, 7 months ago (2017-08-29 07:24:45 UTC) #6
dak
https://codereview.appspot.com/324310043/diff/40001/Documentation/notation/simultaneous.itely File Documentation/notation/simultaneous.itely (right): https://codereview.appspot.com/324310043/diff/40001/Documentation/notation/simultaneous.itely#newcode10 Documentation/notation/simultaneous.itely:10: @c \version "2.19.29" Version warrants changing to the version ...
6 years, 7 months ago (2017-08-29 07:31:20 UTC) #7
thomasmorley651
https://codereview.appspot.com/324310043/diff/40001/Documentation/notation/simultaneous.itely File Documentation/notation/simultaneous.itely (right): https://codereview.appspot.com/324310043/diff/40001/Documentation/notation/simultaneous.itely#newcode10 Documentation/notation/simultaneous.itely:10: @c \version "2.19.29" On 2017/08/29 07:31:20, dak wrote: > ...
6 years, 7 months ago (2017-08-29 07:39:45 UTC) #8
dak
https://codereview.appspot.com/324310043/diff/40001/Documentation/notation/simultaneous.itely File Documentation/notation/simultaneous.itely (right): https://codereview.appspot.com/324310043/diff/40001/Documentation/notation/simultaneous.itely#newcode10 Documentation/notation/simultaneous.itely:10: @c \version "2.19.29" On 2017/08/29 07:39:45, thomasmorley651 wrote: > ...
6 years, 7 months ago (2017-08-29 07:55:06 UTC) #9
thomasmorley651
splitting into two patches: registering and dot-merging
6 years, 7 months ago (2017-08-29 08:47:37 UTC) #10
thomasmorley651
6 years, 7 months ago (2017-08-29 08:51:54 UTC) #11
On 2017/08/29 07:55:06, dak wrote:
>
https://codereview.appspot.com/324310043/diff/40001/Documentation/notation/si...
> File Documentation/notation/simultaneous.itely (right):
> 
>
https://codereview.appspot.com/324310043/diff/40001/Documentation/notation/si...
> Documentation/notation/simultaneous.itely:10: @c \version "2.19.29"
> On 2017/08/29 07:39:45, thomasmorley651 wrote:
> > On 2017/08/29 07:31:20, dak wrote:
> > > Version warrants changing to the version where the engraver got register. 
> At
> > > least once you actually make use of the registration...
> > 
> > Not sure to which version I should change it, 2.21.0?
> 
> Excellent question, actually.  I think that the dot merge functionality is too
> new and untested for 2.20.0 but the Merge_rest_engraver itself has been around
> unregistered for months and that seems like a bad idea for 2.20.  So I'd
propose
> that you split the registration (and its use in docs and old(!) regtest) into
a
> separate commit and use version 2.20.0 on that.  I can cherry-pick that into
the
> stable branch then.
> 
> The rest is for 2.21 then.  It's either that or back out (namely revert) all
of
> the Merge_rest_engraver for 2.20.  But that would necessitate tampering with
> both documentation and translation a lot more, so it's not my preferred
option.
> 
> Holler if you need Git assistance.

I now splitted the patch.
Obviously Rietveld merges the two patches for review, though.
Is it possible to see them separated somewhere?
Sign in to reply to this message.

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