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

Issue 5843063: Axis group interface ignores column rank for pure-from-neighbor-interface (Closed)

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

Description

Axis group interface ignores column rank for pure-from-neighbor-interface

Patch Set 1 #

Patch Set 2 : Applies to current master #

Patch Set 3 : Fixes the pure-from-neighbor-engraver #

Total comments: 1

Patch Set 4 : Uses extra-spacing-height instead of pure-height #

Total comments: 11

Patch Set 5 : Implements Keith's suggestions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -5 lines) Patch
A input/regression/lyrics-spanbar.ly View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M lily/pure-from-neighbor-engraver.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M scm/define-grobs.scm View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M scm/output-lib.scm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8
Keith
\paper { #(set-paper-size "a3") } \new StaffGroup << \new Staff { \repeat unfold 8 {R1 ...
12 years, 1 month ago (2012-03-19 00:00:05 UTC) #1
Keith
http://codereview.appspot.com/5843063/diff/5001/lily/axis-group-interface.cc File lily/axis-group-interface.cc (right): http://codereview.appspot.com/5843063/diff/5001/lily/axis-group-interface.cc#newcode330 lily/axis-group-interface.cc:330: || Pure_from_neighbor_interface::has_interface (me)) Now that the engraver is working ...
12 years, 1 month ago (2012-03-20 02:36:06 UTC) #2
mike_apollinemike.com
On Mar 20, 2012, at 3:36 AM, k-ohara5a5a@oco.net wrote: > http://codereview.appspot.com/5843063/diff/5001/lily/axis-group-interface.cc#newcode330 > lily/axis-group-interface.cc:330: || > ...
12 years, 1 month ago (2012-03-20 06:51:08 UTC) #3
Keith
On Mon, 19 Mar 2012 23:51:04 -0700, mike@apollinemike.com <mike@apollinemike.com> wrote: > On Mar 20, 2012, ...
12 years, 1 month ago (2012-03-20 17:33:41 UTC) #4
mike_apollinemike.com
On Mar 20, 2012, at 6:33 PM, Keith OHara wrote: > On Mon, 19 Mar ...
12 years, 1 month ago (2012-03-20 18:54:29 UTC) #5
Keith
Yippee; no more grobs getting their pure_height from their neighbors! Don't forget to update the ...
12 years, 1 month ago (2012-03-21 05:58:42 UTC) #6
MikeSol
Running regtests. Will post new patch once it gets a clean bill of health. http://codereview.appspot.com/5843063/diff/7/input/regression/pure-from-neighbor-interface-pure-height.ly ...
12 years, 1 month ago (2012-03-21 07:05:50 UTC) #7
dak
12 years, 1 month ago (2012-03-21 08:22:25 UTC) #8
http://codereview.appspot.com/5843063/diff/7/scm/output-lib.scm
File scm/output-lib.scm (right):

http://codereview.appspot.com/5843063/diff/7/scm/output-lib.scm#newcode437
scm/output-lib.scm:437: (let* ((height (ly:grob-pure-height grob grob 0
10000000))
On 2012/03/21 07:05:50, MikeSol wrote:
> On 2012/03/21 05:58:42, Keith wrote:
> > The C code uses INT_MAX to represent the end of the whole score, so it would
> be
> > nice to use the same here, if possible.
> 
> There'd have to be a constant defined for INT_MAX in guile.  I believe that
> INT_MAX can change between computers (not sure if it's the compiler or system
> that does this).  Probably worth doing in a separate commit where INT-MAX is
> defined in the same place as all of the PI constants and then plugged anywhere
> where there's a large integer.

INT_MAX would be a stupid constant to use in Scheme since it rather certainly
does not fit in a single cell and thus does not have an efficient
representation.

If we need such a thing, we should pick an arbitrary large constant that is
large enough to do the job and small enough not to trigger multi-cell
representations in any Guile implementation.
Sign in to reply to this message.

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