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

Issue 250270043: Issue 4485: Refactor \partcombine and \autochange iterators (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 10 months ago by Dan Eble
Modified:
8 years, 9 months ago
Reviewers:
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Move the \partcombine context state machine from C++ to Scheme and move the part-specific work into a new Part_combine_part_iterator. What remains in Part_combine_iterator is multi-measure rest handling. The part-specific work is now nothing more than changing context at specified times, which is basically what \autochange does. There are still some differences, but most of the implementation of both is now in the common base Change_sequence_iterator.

Patch Set 1 #

Total comments: 1

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -304 lines) Patch
M lily/auto-change-iterator.cc View 1 chunk +8 lines, -45 lines 0 comments Download
A lily/change-sequence-iterator.cc View 1 chunk +67 lines, -0 lines 0 comments Download
A + lily/include/change-sequence-iterator.hh View 1 2 chunks +19 lines, -16 lines 0 comments Download
M lily/part-combine-iterator.cc View 6 chunks +2 lines, -189 lines 0 comments Download
A lily/part-combine-part-iterator.cc View 1 chunk +60 lines, -0 lines 0 comments Download
M ly/music-functions-init.ly View 2 chunks +32 lines, -3 lines 0 comments Download
M scm/autochange.scm View 2 chunks +5 lines, -6 lines 0 comments Download
M scm/define-music-display-methods.scm View 2 chunks +15 lines, -26 lines 0 comments Download
M scm/define-music-properties.scm View 2 chunks +1 line, -1 line 0 comments Download
M scm/define-music-types.scm View 1 chunk +8 lines, -0 lines 0 comments Download
M scm/part-combiner.scm View 2 chunks +79 lines, -18 lines 0 comments Download

Messages

Total messages: 3
Dan Eble
8 years, 10 months ago (2015-07-07 02:32:20 UTC) #1
Dan Eble
https://codereview.appspot.com/250270043/diff/1/lily/include/change-sequence-iterator.hh File lily/include/change-sequence-iterator.hh (right): https://codereview.appspot.com/250270043/diff/1/lily/include/change-sequence-iterator.hh#newcode20 lily/include/change-sequence-iterator.hh:20: #ifndef CHANGE_SEQUENCE_ITERATOR_HH This is a new file. I don't ...
8 years, 10 months ago (2015-07-07 02:37:17 UTC) #2
Dan Eble
8 years, 10 months ago (2015-07-07 02:41:58 UTC) #3
comment
Sign in to reply to this message.

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