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

Issue 3319041: Fix #1427. (Closed)

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

Description

Fix #1427. The copy constructor for Book assumes the list of objects to clone are scores, which is unsafe since a \book(part) block can also contain markup and page markers. * lily/book.cc (copy constructor): treat entries in scores_ separately, cloning Score and Page_marker objects * lily/include/page-marker.hh, lily/page-marker.cc: add copy constructor

Patch Set 1 #

Patch Set 2 : Add regression test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -4 lines) Patch
A input/regression/book-identifier-markup.ly View 1 chunk +14 lines, -0 lines 0 comments Download
M lily/book.cc View 1 chunk +11 lines, -4 lines 0 comments Download
M lily/include/page-marker.hh View 2 chunks +3 lines, -0 lines 0 comments Download
M lily/page-marker.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Reinhold
I can't comment on the code itself (from a first look it makes sense, but ...
13 years, 5 months ago (2010-11-25 00:16:22 UTC) #1
Neil Puttock
On 2010/11/25 00:16:22, Reinhold wrote: > I can't comment on the code itself (from a ...
13 years, 5 months ago (2010-11-25 00:21:21 UTC) #2
Neil Puttock
On 2010/11/25 00:21:21, Neil Puttock wrote: > I've held off doing a regtest until somebody ...
13 years, 5 months ago (2010-11-25 00:32:58 UTC) #3
Carl
On 2010/11/25 00:32:58, Neil Puttock wrote: > OK, regtest's on hold while I work out ...
13 years, 4 months ago (2010-12-04 00:48:09 UTC) #4
Carl
LGTM. Do you think it's ready to go now?
13 years, 4 months ago (2010-12-07 03:43:01 UTC) #5
Neil Puttock
13 years, 4 months ago (2010-12-07 23:25:47 UTC) #6
On 2010/12/07 03:43:01, Carl wrote:
> LGTM.
> 
> Do you think it's ready to go now?

Sure.

Cheers,
Neil
Sign in to reply to this message.

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