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

Issue 7061062: Eliminates the Hara_kiri_engraver. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by MikeSol
Modified:
11 years, 1 month ago
Reviewers:
Keith, dak, mike7
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Eliminates the Hara_kiri_engraver. Uses a haraKiri context property in the Axis_group_engraver to acheive the same functionality.

Patch Set 1 #

Total comments: 8

Patch Set 2 : Gets rid of duplicate property. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -166 lines) Patch
M lily/axis-group-engraver.cc View 1 5 chunks +48 lines, -2 lines 2 comments Download
D lily/hara-kiri-engraver.cc View 1 chunk +0 lines, -105 lines 0 comments Download
D lily/include/axis-group-engraver.hh View 1 chunk +0 lines, -45 lines 0 comments Download
M lily/include/lily-proto.hh View 1 chunk +0 lines, -1 line 0 comments Download
M ly/context-mods-init.ly View 1 1 chunk +0 lines, -8 lines 0 comments Download
M ly/engraver-init.ly View 1 4 chunks +5 lines, -4 lines 0 comments Download
M scm/define-context-properties.scm View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17
MikeSol
This doesn't crash in the test case Keith proposed: \new StaffGroup \with { \RemoveEmptyStaves } ...
11 years, 3 months ago (2013-01-10 19:49:51 UTC) #1
dak
What happened to "I'll have a look later" in <URL:https://codereview.appspot.com/7069044#msg5>? Have you even _tried_ using ...
11 years, 3 months ago (2013-01-14 08:46:23 UTC) #2
mike7
On 14 janv. 2013, at 09:46, dak@gnu.org wrote: > What happened to "I'll have a ...
11 years, 3 months ago (2013-01-14 09:02:04 UTC) #3
Keith
https://codereview.appspot.com/7061062/diff/1/lily/axis-group-engraver.cc File lily/axis-group-engraver.cc (right): https://codereview.appspot.com/7061062/diff/1/lily/axis-group-engraver.cc#newcode122 lily/axis-group-engraver.cc:122: { The property haraKiri is misleadingly named (because it ...
11 years, 3 months ago (2013-01-14 17:50:47 UTC) #4
Keith
https://codereview.appspot.com/7061062/diff/1/lily/axis-group-engraver.cc File lily/axis-group-engraver.cc (right): https://codereview.appspot.com/7061062/diff/1/lily/axis-group-engraver.cc#newcode122 lily/axis-group-engraver.cc:122: { On 2013/01/14 17:50:47, Keith wrote: > The property ...
11 years, 3 months ago (2013-01-14 18:20:44 UTC) #5
dak
https://codereview.appspot.com/7061062/diff/1/lily/axis-group-engraver.cc File lily/axis-group-engraver.cc (right): https://codereview.appspot.com/7061062/diff/1/lily/axis-group-engraver.cc#newcode122 lily/axis-group-engraver.cc:122: { On 2013/01/14 18:20:44, Keith wrote: > On 2013/01/14 ...
11 years, 3 months ago (2013-01-14 18:25:24 UTC) #6
Keith
On Mon, 14 Jan 2013 10:25:24 -0800, <dak@gnu.org> wrote: >> If you can access the ...
11 years, 3 months ago (2013-01-14 19:22:09 UTC) #7
dak
Comment #7 from Keith has not been addressed as far as I can see, but ...
11 years, 3 months ago (2013-01-20 12:51:06 UTC) #8
MikeSol
"sneaky callback" is not a real concern...it's a pedantic concern. If we're following the model ...
11 years, 3 months ago (2013-01-20 16:11:48 UTC) #9
Keith
On 2013/01/14 18:25:24, dak wrote: > On 2013/01/14 18:20:44, Keith wrote: > > > > ...
11 years, 3 months ago (2013-01-21 18:23:33 UTC) #10
Keith
LGTM
11 years, 3 months ago (2013-01-21 18:24:23 UTC) #11
Keith
But don't forget to run scripts/auxiliar/fixcc.py before pushing.
11 years, 3 months ago (2013-01-22 04:30:25 UTC) #12
Keith
https://codereview.appspot.com/7061062/diff/9001/lily/axis-group-engraver.cc File lily/axis-group-engraver.cc (right): https://codereview.appspot.com/7061062/diff/9001/lily/axis-group-engraver.cc#newcode120 lily/axis-group-engraver.cc:120: // mess everything up...but at least this avoids a ...
11 years, 3 months ago (2013-01-25 08:05:28 UTC) #13
dak
On 2013/01/25 08:05:28, Keith wrote: > https://codereview.appspot.com/7061062/diff/9001/lily/axis-group-engraver.cc > File lily/axis-group-engraver.cc (right): > > https://codereview.appspot.com/7061062/diff/9001/lily/axis-group-engraver.cc#newcode120 > ...
11 years, 3 months ago (2013-01-25 09:29:28 UTC) #14
mike7
On 25 janv. 2013, at 10:29, dak@gnu.org wrote: > On 2013/01/25 08:05:28, Keith wrote: > ...
11 years, 3 months ago (2013-01-25 13:02:39 UTC) #15
dak
On 2013/01/25 13:02:39, mike7 wrote: > To be fair, the callback in question would be ...
11 years, 3 months ago (2013-01-25 13:29:19 UTC) #16
Keith
11 years, 3 months ago (2013-01-26 06:04:44 UTC) #17
> On 25 janv. 2013, at 10:29, mailto:dak@gnu.org wrote:
> 
> > On 2013/01/25 08:05:28, Keith wrote:
> >> Please demonstrate a sneaky callback messing things up.
> > 
> Something to the effect of:
> 
> \override Staff.VerticalAxisGroup #'remove-empty = #(lambda (grob)
> (iterate-through-all-elements-and-get-Y-extent grob))
> 
> would do the trick.  

That doesn't help; that just gives me
"Unbound variable: iterate-through-all-elements-and-get-Y-extent"

I vaguely understand the principle that you want to stick to, but if I could
create an example myself, to demonstrate why the principle is valuable, I would
not have needed to ask you to demonstrate.

The comment has the effect of saying: "Maintenance programmers, stay away; Here
be dragons."
Sign in to reply to this message.

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