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

Issue 4005046: Add new merge-function file for rests (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by pkx166h
Modified:
13 years, 3 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Add new merge-function files for rests Taken from Tracker issue 1228 Function to merge rests that occur, for example, in two voices at the same moment so that only a single rest is printed. This may not be the best way to implement this but I am hoping this is a start at least. --- This issue has been closed by myself as it has been suggested that having a separate engraver is a better way to implement this 'hack'. I have updated Tracker 1288 with the latest revision of this issue in case someone else with more programmings skills that I can use what I have already created. Thanks to Carl and Graham for their help.

Patch Set 1 #

Total comments: 12

Patch Set 2 : Changes to patch1 however this does not compile so I need some advice on what to do next #

Patch Set 3 : Still getting unbound variable errors on a make. Can someone make sure the edits are right? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -0 lines) Patch
M ly/engraver-init.ly View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ly/property-init.ly View 1 1 chunk +8 lines, -0 lines 0 comments Download
M scm/lily.scm View 1 1 chunk +1 line, -0 lines 0 comments Download
A scm/merge-rests.scm View 1 2 1 chunk +101 lines, -0 lines 0 comments Download

Messages

Total messages: 10
Carl
Great start, James! Getting this far is more than half the battle. Are you up ...
13 years, 3 months ago (2011-01-22 23:29:24 UTC) #1
Graham Percival (old account)
A few nitpicks. BTW, expect to produce 3-6 drafts. http://codereview.appspot.com/4005046/diff/1/ly/merge-function.ly File ly/merge-function.ly (right): http://codereview.appspot.com/4005046/diff/1/ly/merge-function.ly#newcode3 ly/merge-function.ly:3: ...
13 years, 3 months ago (2011-01-23 00:07:32 UTC) #2
Graham Percival (old account)
Correction. http://codereview.appspot.com/4005046/diff/1/ly/merge-function.ly File ly/merge-function.ly (right): http://codereview.appspot.com/4005046/diff/1/ly/merge-function.ly#newcode3 ly/merge-function.ly:3: On 2011/01/23 00:07:33, Graham Percival wrote: > Having ...
13 years, 3 months ago (2011-01-23 00:14:42 UTC) #3
pkx166h
I have done all the changes (except added a reg test) and uploaded them. However ...
13 years, 3 months ago (2011-01-23 21:10:05 UTC) #4
c_sorensen
On 1/23/11 2:10 PM, "pkx166h@gmail.com" <pkx166h@gmail.com> wrote: > Reviewers: carl.d.sorensen_gmail.com, Graham Percival, > > Message: ...
13 years, 3 months ago (2011-01-23 21:14:22 UTC) #5
Neil Puttock
This is a nice hack, but the way it's currently implemented makes it unsuitable to ...
13 years, 3 months ago (2011-01-23 23:14:13 UTC) #6
pkx166h
Patch v.3 is up. Still having compile issues even after Carl's suggestions - so I ...
13 years, 3 months ago (2011-01-24 16:14:49 UTC) #7
c_sorensen
On 1/24/11 9:14 AM, "pkx166h@gmail.com" <pkx166h@gmail.com> wrote: > Patch v.3 is up. Still having compile ...
13 years, 3 months ago (2011-01-24 16:20:20 UTC) #8
pkx166h
On 2011/01/24 16:20:20, c_sorensen_byu.edu wrote: snip... > But -- Neil's comment indicated that this approach ...
13 years, 3 months ago (2011-01-24 16:49:05 UTC) #9
c_sorensen
13 years, 3 months ago (2011-01-24 18:35:58 UTC) #10


On 1/24/11 9:49 AM, "pkx166h@gmail.com" <pkx166h@gmail.com> wrote:

> On 2011/01/24 16:20:20, c_sorensen_byu.edu wrote:
> 
> snip...
> 
>> But -- Neil's comment indicated that this approach wrong for getting
> this
>> functionality into the LilyPond distribution.  He suggests that a new
>> engraver will be needed.
> 
>> Therefore, putting this up as an LSR snippet in the original form is
>> probably the best thing to do right now, IMO.
> 
>> Thanks,
> 
>> Carl
> 
> 
> 
> No problem. What would be the best thing to do with this 'code' would
> putting the 'patch' I have on the tracker issue, with explanation and
> appropriate comments from this Rietveld thread, be the right thing if
> only to save re-doing more work for anyone who'd like to tackle this?

I think the right thing is to leave this Rietveld issue up and available,
and put a comment about its resolution, along with a link to the patch in
the bug issue thread.

Thanks,

Carl

Sign in to reply to this message.

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