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

Issue 7304068: Includes empty skylines in minimum translation calculations (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by MikeSol
Modified:
11 years, 1 month ago
Reviewers:
Keith, dak, mike7
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Includes empty skylines in minimum translation calculations

Patch Set 1 #

Patch Set 2 : Fixes StanzaNumber #

Patch Set 3 : Avoids over-estimating pure heights of systems with removable vertical axis groups. #

Patch Set 4 : Restores previous translates for empty elements #

Total comments: 2

Patch Set 5 : Responses to Keith's suggestions. #

Patch Set 6 : Rebase against current master #

Total comments: 2

Patch Set 7 : Issues programming error for dead axis groups used in unpure alignment #

Total comments: 2

Patch Set 8 : Decruftify stanza number #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -19 lines) Patch
M lily/align-interface.cc View 1 2 3 4 5 6 8 chunks +36 lines, -19 lines 2 comments Download

Messages

Total messages: 14
MikeSol
Fixes StanzaNumber
11 years, 2 months ago (2013-02-10 10:43:41 UTC) #1
Keith
Doesn't this have the same problem as my attempted patch for issue 1669 ?
11 years, 2 months ago (2013-02-10 19:45:46 UTC) #2
mike7
On 10 févr. 2013, at 20:45, k-ohara5a5a@oco.net wrote: > Doesn't this have the same problem ...
11 years, 2 months ago (2013-02-10 19:58:42 UTC) #3
MikeSol
Avoids over-estimating pure heights of systems with removable vertical axis groups.
11 years, 2 months ago (2013-02-12 06:50:30 UTC) #4
MikeSol
Restores previous translates for empty elements
11 years, 2 months ago (2013-02-12 07:01:17 UTC) #5
Keith
https://codereview.appspot.com/7304068/diff/5/lily/align-interface.cc File lily/align-interface.cc (right): https://codereview.appspot.com/7304068/diff/5/lily/align-interface.cc#newcode65 lily/align-interface.cc:65: an empty extent, delete it from the list instead. ...
11 years, 2 months ago (2013-02-12 19:15:47 UTC) #6
MikeSol
Responses to Keith's suggestions.
11 years, 2 months ago (2013-02-20 12:10:18 UTC) #7
MikeSol
Rebase against current master
11 years, 2 months ago (2013-02-21 09:48:13 UTC) #8
Keith
There's some book-keeping error that I can't find. The example at issue 3160 comes out ...
11 years, 2 months ago (2013-02-24 08:18:39 UTC) #9
MikeSol
Issues programming error for dead axis groups used in unpure alignment
11 years, 2 months ago (2013-02-24 10:14:06 UTC) #10
Keith
Also needs some decruftification. https://codereview.appspot.com/7304068/diff/22001/lily/align-interface.cc File lily/align-interface.cc (right): https://codereview.appspot.com/7304068/diff/22001/lily/align-interface.cc#newcode299 lily/align-interface.cc:299: vector<Grob *> non_empty_elems; The disassembly ...
11 years, 2 months ago (2013-02-27 06:06:43 UTC) #11
MikeSol
Decruftify stanza number
11 years, 2 months ago (2013-02-27 10:53:22 UTC) #12
mike7
On 27 févr. 2013, at 07:06, k-ohara5a5a@oco.net wrote: > Also needs some decruftification. > > ...
11 years, 2 months ago (2013-02-27 11:14:21 UTC) #13
dak
11 years, 1 month ago (2013-03-05 10:56:40 UTC) #14
https://codereview.appspot.com/7304068/diff/27001/lily/align-interface.cc
File lily/align-interface.cc (right):

https://codereview.appspot.com/7304068/diff/27001/lily/align-interface.cc#new...
lily/align-interface.cc:74: vector<Skyline_pair> *const ret,
Usage of const here is "dear compiler, I promise that ret will not point to
anything else in this function".  Which is usually not very interesting.  You
probably mean that the pointer is not going to be used for changing the passed
vector.  That, however, would rather be
vector<Skyline_pair> const *ret

https://codereview.appspot.com/7304068/diff/27001/lily/align-interface.cc#new...
lily/align-interface.cc:75: vector<bool> *const skip_elt)
Same here.  Admittedly, this was wrong before, and you changed the const
association of "elements" probably without much thinking (it was wrong
previously, too), but at any rate this should be fixed.  No need to restart the
countdown for that, but it should get retested to make sure that the changed
"const" qualifier actually is accepted by the compiler.
Sign in to reply to this message.

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