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

Issue 3928041: Fixing issue 37 with extra position callback (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by Carl
Modified:
13 years, 2 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Fixing issue 37 with extra position callback Adds beam collision engraver Goodbye whitespace

Patch Set 1 #

Total comments: 13

Patch Set 2 : Respond to comments #

Patch Set 3 : Keith's latest changes #

Total comments: 2

Patch Set 4 : New copyright and indentation #

Patch Set 5 : Latest changes #

Total comments: 48

Patch Set 6 : Respond to latest comments #

Patch Set 7 : Collision before quanting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -5 lines) Patch
A input/regression/beam-collision.ly View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M lily/beam.cc View 1 2 3 4 5 6 3 chunks +149 lines, -0 lines 0 comments Download
A lily/beam-collision-engraver.cc View 1 2 3 4 5 1 chunk +167 lines, -0 lines 0 comments Download
M lily/beam-quanting.cc View 1 2 3 4 5 6 7 chunks +18 lines, -4 lines 0 comments Download
M lily/include/beam.hh View 1 2 3 4 5 6 3 chunks +3 lines, -1 line 0 comments Download
M ly/engraver-init.ly View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M scm/define-grob-properties.scm View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 35
Carl
Looks great, Mike! You have some code indentation issues that don't match our style. Other ...
13 years, 3 months ago (2011-01-08 18:38:55 UTC) #1
mike_apollinemike.com
Carl, Thanks for the comments! I've integrated all but one of them - when you ...
13 years, 3 months ago (2011-01-08 19:15:06 UTC) #2
mikesol_ufl.edu
Carl, Thanks for the comments! I've integrated all but one of them - when you ...
13 years, 3 months ago (2011-01-08 19:15:09 UTC) #3
mikesol_ufl.edu
All is fixed. Attached is the original patch plus one with Carl's suggested formatting changes. ...
13 years, 3 months ago (2011-01-08 19:48:11 UTC) #4
Neil Puttock
On 8 January 2011 19:48, Mike Solomon <mikesol@ufl.edu> wrote: > I ran all of the ...
13 years, 3 months ago (2011-01-08 19:52:19 UTC) #5
c_sorensen
On 1/8/11 12:48 PM, "Mike Solomon" <mikesol@ufl.edu> wrote: > All is fixed. Attached is the ...
13 years, 3 months ago (2011-01-08 19:55:26 UTC) #6
c_sorensen
On 1/8/11 12:52 PM, "Neil Puttock" <n.puttock@gmail.com> wrote: > On 8 January 2011 19:48, Mike ...
13 years, 3 months ago (2011-01-08 19:59:43 UTC) #7
c_sorensen
On 1/8/11 12:48 PM, "Mike Solomon" <mikesol@ufl.edu> wrote: > All is fixed. Attached is the ...
13 years, 3 months ago (2011-01-08 20:05:13 UTC) #8
Carl
Latest patch set uploaded with full side-by-side-diffs. Thanks, Carl
13 years, 3 months ago (2011-01-09 02:35:22 UTC) #9
Carl
LGTM. Don't forget to fix your copyright on beam-collision-engraver. One set of braces to be ...
13 years, 3 months ago (2011-01-09 02:40:12 UTC) #10
mikesol_ufl.edu
Done - attached is a fresh patch set. The first three are what's already on ...
13 years, 3 months ago (2011-01-09 03:13:46 UTC) #11
Carl
New patches pushed. Thanks, Carl
13 years, 3 months ago (2011-01-09 05:25:43 UTC) #12
Keith
I only re-checked that one score, after the patch to overcome the autobeam confusion. Only ...
13 years, 3 months ago (2011-01-09 07:13:23 UTC) #13
Carl
New patch set uploaded.
13 years, 3 months ago (2011-01-12 04:39:13 UTC) #14
Graham Percival (old account)
Regtest comparison looks fine, builds the docs from scratch. Let's push it in 24 hours ...
13 years, 3 months ago (2011-01-22 21:28:08 UTC) #15
Carl
LGTM. Carl
13 years, 3 months ago (2011-01-23 05:20:04 UTC) #16
Neil Puttock
Looks good, but there's still some excessive beam translation in slur-scoring.ly. http://codereview.appspot.com/3928041/diff/30001/input/regression/beam-collision.ly File input/regression/beam-collision.ly (right): ...
13 years, 3 months ago (2011-01-23 17:46:58 UTC) #17
Graham Percival (old account)
I noticed another nitpick. http://codereview.appspot.com/3928041/diff/30001/input/regression/beam-collision.ly File input/regression/beam-collision.ly (right): http://codereview.appspot.com/3928041/diff/30001/input/regression/beam-collision.ly#newcode1 input/regression/beam-collision.ly:1: \version "2.13.46" 2.13.47
13 years, 3 months ago (2011-01-23 17:53:45 UTC) #18
hanwenn
Hi Carl, thanks for diving into this! I love the idea of handling beam collisions, ...
13 years, 3 months ago (2011-01-23 18:05:39 UTC) #19
hanwenn
Sorry, I got the author incorrect. Thanks for looking into this, Mike!
13 years, 3 months ago (2011-01-23 18:06:21 UTC) #20
hanwenn
http://codereview.appspot.com/3928041/diff/30001/lily/beam.cc File lily/beam.cc (right): http://codereview.appspot.com/3928041/diff/30001/lily/beam.cc#newcode1014 lily/beam.cc:1014: pos[RIGHT] += offset; also, these offsets disregard carefully computed ...
13 years, 3 months ago (2011-01-23 18:11:08 UTC) #21
hanwenn
http://codereview.appspot.com/3928041/diff/30001/lily/beam.cc File lily/beam.cc (right): http://codereview.appspot.com/3928041/diff/30001/lily/beam.cc#newcode1015 lily/beam.cc:1015: return ly_interval2scm (pos); On 2011/01/23 18:05:39, hanwenn wrote: > ...
13 years, 3 months ago (2011-01-23 18:12:57 UTC) #22
MikeSol
I made a lot of changes to get things looking more lilypond-y. I also now ...
13 years, 3 months ago (2011-01-24 02:58:41 UTC) #23
Carl
New patch set uploaded.
13 years, 3 months ago (2011-01-24 03:47:45 UTC) #24
hanwenn
On Mon, Jan 24, 2011 at 12:58 AM, <mtsolo@gmail.com> wrote: >> acknowledge manual beams only ...
13 years, 3 months ago (2011-01-24 04:46:15 UTC) #25
hanwenn
On Mon, Jan 24, 2011 at 2:46 AM, Han-Wen Nienhuys <hanwenn@gmail.com> wrote: >> I hope ...
13 years, 3 months ago (2011-01-24 05:05:45 UTC) #26
Keith
Mike, I tried Chopin preludes Opus 28 No. 1 (where I thought there might be ...
13 years, 3 months ago (2011-01-24 07:03:54 UTC) #27
mikesol_ufl.edu
Fixed, although I have no idea what the "desired output" is in this case (I ...
13 years, 3 months ago (2011-01-24 11:42:17 UTC) #28
hanwenn
On Mon, Jan 24, 2011 at 9:42 AM, Mike Solomon <mikesol@ufl.edu> wrote: > Fixed, although ...
13 years, 3 months ago (2011-01-24 12:46:55 UTC) #29
mikesol_ufl.edu
I had just reverted it to the old behavior (I think...). The question is: when ...
13 years, 3 months ago (2011-01-24 12:49:52 UTC) #30
hanwenn
On Mon, Jan 24, 2011 at 10:49 AM, Mike Solomon <mikesol@ufl.edu> wrote: > I had ...
13 years, 3 months ago (2011-01-24 13:22:56 UTC) #31
hanwenn
On Mon, Jan 24, 2011 at 11:22 AM, Han-Wen Nienhuys <hanwenn@gmail.com> wrote: > Let me ...
13 years, 3 months ago (2011-01-24 14:28:06 UTC) #32
Neil Puttock
On 24 January 2011 02:58, <mtsolo@gmail.com> wrote: > Key signatures, time signatures, and clefs that ...
13 years, 3 months ago (2011-01-24 23:32:18 UTC) #33
Neil Puttock
On 24 January 2011 14:28, Han-Wen Nienhuys <hanwenn@gmail.com> wrote: > See attached (it applies on ...
13 years, 3 months ago (2011-01-24 23:40:05 UTC) #34
hanwenn
13 years, 3 months ago (2011-01-25 00:59:39 UTC) #35
On Mon, Jan 24, 2011 at 9:40 PM, Neil Puttock <n.puttock@gmail.com> wrote:
> +      common[a] = common_refpoint_of_array (covered_grobs, me, Axis (a));
>
> I suspect this line needs changing, otherwise it junks the calculated
> refpoint for the stems (which means we no longer get the correct
> refpoint for cross-staff beams).
>
> +      common[a] = common_refpoint_of_array (covered_grobs, common[a],
> Axis (a));

Yes, you are correct.

-- 
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
Sign in to reply to this message.

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