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

Issue 4667055: Fix segfault with ambitus and ligature (Issue 1715) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by Carl
Modified:
12 years, 9 months ago
Reviewers:
pkx166h, colinpkcampbell, Neil Puttock, c_sorensen
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Fix segfault with ambitus and ligature (Issue 1715) Check for an event-cause before acknowledging note_head. This prevents trying to make a ligature from the AmbitusNoteHeads. Also includes regression test.

Patch Set 1 #

Patch Set 2 : Add comment on logic #

Total comments: 2

Patch Set 3 : Respond to Neil's comments #

Patch Set 4 : Use ligature-interface to identify note-heads that become part of ligature #

Patch Set 5 : Add ligature-head-interface #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -11 lines) Patch
A input/regression/ambitus-with-ligature.ly View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M lily/include/ligature-engraver.hh View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M lily/ligature-engraver.cc View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
M lily/mensural-ligature-engraver.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M lily/vaticana-ligature-engraver.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M scm/define-grob-interfaces.scm View 1 2 3 4 1 chunk +5 lines, -0 lines 1 comment Download
M scm/define-grobs.scm View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21
Carl
Here is a proposed patch for fixing issue 1715. It works by checking for event-cause ...
12 years, 10 months ago (2011-07-03 21:13:22 UTC) #1
Neil Puttock
Hi Carl, This LGTM, though the regtest could do with a bit of tidying. A ...
12 years, 10 months ago (2011-07-03 21:25:58 UTC) #2
Carl
On 2011/07/03 21:25:58, Neil Puttock wrote: > Hi Carl, > > This LGTM, though the ...
12 years, 10 months ago (2011-07-03 21:32:45 UTC) #3
Neil Puttock
On 2011/07/03 21:32:45, Carl wrote: > On 2011/07/03 21:25:58, Neil Puttock wrote: > > Hi ...
12 years, 10 months ago (2011-07-03 21:39:16 UTC) #4
Neil Puttock
On 2011/07/03 21:39:16, Neil Puttock wrote: > On 2011/07/03 21:32:45, Carl wrote: > > On ...
12 years, 10 months ago (2011-07-03 21:39:49 UTC) #5
pkx166h
Passes make and reg test James
12 years, 10 months ago (2011-07-04 00:13:02 UTC) #6
Carl
Instead of filtering out bad events, I chose to filter in only events with ligature ...
12 years, 10 months ago (2011-07-04 01:54:40 UTC) #7
Neil Puttock
On 2011/07/04 01:54:40, Carl wrote: > Instead of filtering out bad events, I chose to ...
12 years, 10 months ago (2011-07-04 20:30:10 UTC) #8
Carl
On 2011/07/04 20:30:10, Neil Puttock wrote: > On 2011/07/04 01:54:40, Carl wrote: > > Instead ...
12 years, 10 months ago (2011-07-04 20:57:52 UTC) #9
Neil Puttock
On 4 July 2011 21:57, <Carl.D.Sorensen@gmail.com> wrote: > The original way you suggested was to ...
12 years, 10 months ago (2011-07-04 21:22:58 UTC) #10
Carl
On 2011/07/04 21:22:58, Neil Puttock wrote: > On 4 July 2011 21:57, <mailto:Carl.D.Sorensen@gmail.com> wrote: > ...
12 years, 10 months ago (2011-07-04 22:31:18 UTC) #11
Neil Puttock
On 2011/07/04 22:31:18, Carl wrote: > OK, so I've added ligature-interface to NoteHead, and everything ...
12 years, 10 months ago (2011-07-05 19:58:38 UTC) #12
Carl
On 2011/07/05 19:58:38, Neil Puttock wrote: >> Erm, can I take back what I said ...
12 years, 10 months ago (2011-07-06 17:49:40 UTC) #13
Neil Puttock
LGTM, though the regtest is still a bit messy. http://codereview.appspot.com/4667055/diff/14001/scm/define-grob-interfaces.scm File scm/define-grob-interfaces.scm (right): http://codereview.appspot.com/4667055/diff/14001/scm/define-grob-interfaces.scm#newcode128 scm/define-grob-interfaces.scm:128: ...
12 years, 10 months ago (2011-07-07 16:12:08 UTC) #14
Carl
On 2011/07/07 16:12:08, Neil Puttock wrote: > LGTM, though the regtest is still a bit ...
12 years, 9 months ago (2011-07-07 22:22:17 UTC) #15
Colin Campbell
This has had a 48-hour countdown, and can be pushed and closed, please. Colin
12 years, 9 months ago (2011-07-10 01:55:28 UTC) #16
c_sorensen
On 7/9/11 7:55 PM, "ColinPKCampbell@gmail.com" <ColinPKCampbell@gmail.com> wrote: > This has had a 48-hour countdown, and ...
12 years, 9 months ago (2011-07-10 02:14:15 UTC) #17
Neil Puttock
On 7 July 2011 23:22, <Carl.D.Sorensen@gmail.com> wrote: > On 2011/07/07 16:12:08, Neil Puttock wrote: >> ...
12 years, 9 months ago (2011-07-10 21:09:03 UTC) #18
c_sorensen
On 7/10/11 3:09 PM, "Neil Puttock" <n.puttock@gmail.com> wrote: > On 7 July 2011 23:22, <Carl.D.Sorensen@gmail.com> ...
12 years, 9 months ago (2011-07-10 22:34:52 UTC) #19
Neil Puttock
On 10 July 2011 23:34, Carl Sorensen <c_sorensen@byu.edu> wrote: > Ahh, thanks. Fixed now: > ...
12 years, 9 months ago (2011-07-10 22:41:20 UTC) #20
c_sorensen
12 years, 9 months ago (2011-07-10 22:50:07 UTC) #21


On 7/10/11 4:41 PM, "Neil Puttock" <n.puttock@gmail.com> wrote:

> On 10 July 2011 23:34, Carl Sorensen <c_sorensen@byu.edu> wrote:
> 
>> Ahh, thanks.  Fixed now:
>> 
>> {
>>  \new Voice \with  {
>>    \consists Ambitus_engraver
>>    \consists Mensural_ligature_engraver
> 
> Heh, you didn't have to do this; I meant the missing quotation marks
> around the engraver names. :)

Ahh -- oh, well.  The new version *is* shorter.
> 
> (and now you've added a spurious sequential block ;)

And removed it.....

Thanks,

Carl

Sign in to reply to this message.

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