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

Issue 4875054: Fixes boolean/SCM confusions, part 1.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by Cécile Hauchemaille
Modified:
12 years, 8 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Fixes boolean/SCM confusions, part 1.

Patch Set 1 #

Total comments: 13

Patch Set 2 : Comments applied. #

Total comments: 6

Patch Set 3 : Update including side-axis type change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -27 lines) Patch
M lily/accidental-engraver.cc View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M lily/accidental-placement.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/ambitus-engraver.cc View 2 1 chunk +2 lines, -2 lines 0 comments Download
M lily/auto-beam-engraver.cc View 1 2 2 chunks +6 lines, -7 lines 0 comments Download
M lily/axis-group-interface.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/bar-check-iterator.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M lily/bar-engraver.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/beam.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M lily/lily-guile.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M scm/define-grob-properties.scm View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16
Cécile Hauchemaille
Hi everyone, I started working on this issue: http://lists.gnu.org/archive/html/lilypond-devel/2011-08/msg00646.html Could you tell me if this ...
12 years, 8 months ago (2011-08-18 13:19:10 UTC) #1
Bertrand Bordage
LGTM :) Bertrand
12 years, 8 months ago (2011-08-18 13:30:35 UTC) #2
Bertrand Bordage
(Two minor comments however). http://codereview.appspot.com/4875054/diff/1/lily/auto-beam-engraver.cc File lily/auto-beam-engraver.cc (right): http://codereview.appspot.com/4875054/diff/1/lily/auto-beam-engraver.cc#newcode172 lily/auto-beam-engraver.cc:172: return !scm_is_false (scm_call_4 (get_property ("autoBeamCheck"), ...
12 years, 8 months ago (2011-08-18 13:31:23 UTC) #3
Reinhold
LGTM. I haven't run the regtests, though, to make sure there are no differences. http://codereview.appspot.com/4875054/diff/1/lily/ambitus-engraver.cc ...
12 years, 8 months ago (2011-08-18 13:32:17 UTC) #4
Cécile Hauchemaille
Patch updated. http://codereview.appspot.com/4875054/diff/1/lily/ambitus-engraver.cc File lily/ambitus-engraver.cc (right): http://codereview.appspot.com/4875054/diff/1/lily/ambitus-engraver.cc#newcode177 lily/ambitus-engraver.cc:177: Rational sig_alter = !scm_is_false (handle) So, might ...
12 years, 8 months ago (2011-08-18 14:03:02 UTC) #5
dak
You'll find that I don't consider all advice given to you valid. Which shows that ...
12 years, 8 months ago (2011-08-18 14:08:03 UTC) #6
Reinhold
http://codereview.appspot.com/4875054/diff/1/lily/ambitus-engraver.cc File lily/ambitus-engraver.cc (right): http://codereview.appspot.com/4875054/diff/1/lily/ambitus-engraver.cc#newcode177 lily/ambitus-engraver.cc:177: Rational sig_alter = !scm_is_false (handle) On 2011/08/18 14:03:06, Cécile ...
12 years, 8 months ago (2011-08-18 14:18:39 UTC) #7
Neil Puttock
http://codereview.appspot.com/4875054/diff/8002/lily/accidental-engraver.cc File lily/accidental-engraver.cc (right): http://codereview.appspot.com/4875054/diff/8002/lily/accidental-engraver.cc#newcode319 lily/accidental-engraver.cc:319: if (scm_to_int (left_objects_[i]->get_property ("side-axis")) == X_AXIS) this is potentially ...
12 years, 8 months ago (2011-08-18 14:24:43 UTC) #8
c_sorensen
On 8/18/11 8:18 AM, "reinhold.kainhofer@gmail.com" <reinhold.kainhofer@gmail.com> wrote: >> Indent like this: > >> return !scm_is_false ...
12 years, 8 months ago (2011-08-18 14:25:13 UTC) #9
dak
http://codereview.appspot.com/4875054/diff/8002/lily/accidental-engraver.cc File lily/accidental-engraver.cc (right): http://codereview.appspot.com/4875054/diff/8002/lily/accidental-engraver.cc#newcode319 lily/accidental-engraver.cc:319: if (scm_to_int (left_objects_[i]->get_property ("side-axis")) == X_AXIS) On 2011/08/18 14:24:44, ...
12 years, 8 months ago (2011-08-18 15:32:20 UTC) #10
dak
http://codereview.appspot.com/4875054/diff/1/lily/ambitus-engraver.cc File lily/ambitus-engraver.cc (right): http://codereview.appspot.com/4875054/diff/1/lily/ambitus-engraver.cc#newcode177 lily/ambitus-engraver.cc:177: Rational sig_alter = !scm_is_false (handle) On 2011/08/18 14:18:45, Reinhold ...
12 years, 8 months ago (2011-08-18 15:46:43 UTC) #11
Carl
On 2011/08/18 15:46:43, dak wrote: > http://codereview.appspot.com/4875054/diff/8002/lily/bar-check-iterator.cc#newcode52 > lily/bar-check-iterator.cc:52: if (scm_is_true (tr->get_property > ("ignoreBarChecks"))) > ...
12 years, 8 months ago (2011-08-18 18:01:36 UTC) #12
Cécile Hauchemaille
Thanks for your prompt and detailed reviews! I applied the changes, especially dak's. I changed ...
12 years, 8 months ago (2011-08-18 20:46:37 UTC) #13
dak
On 2011/08/18 18:01:36, Carl wrote: > On 2011/08/18 15:46:43, dak wrote: > > > > ...
12 years, 8 months ago (2011-08-18 21:04:21 UTC) #14
Carl
On 2011/08/18 21:04:21, dak wrote: > On 2011/08/18 18:01:36, Carl wrote: > > On 2011/08/18 ...
12 years, 8 months ago (2011-08-18 21:43:38 UTC) #15
Graham Percival
12 years, 8 months ago (2011-08-18 23:30:57 UTC) #16
On Thu, Aug 18, 2011 at 09:43:38PM +0000, Carl.D.Sorensen@gmail.com wrote:
> I think we ought to have a comment somewhere that describes why we don't
> use scm_is_true.  But I can't figure out where to put it -- I guess it
> should be in the documentation that we hope will arise as a result of
> all this effort.

Yes, but let's not "hope" for this.

Bertrand: you're her mentor, so this is your job.  Add a section
to the CG chapter on "programming".  Make a new @section right
before "LilyPond miscellany".  You'll need to add it to the @menu
as well.  Check that the docs still compile by running "make", and
as long as that doesn't die, then push that change directly.  Just
write "stub" in the text for that @section.

Bertrand, second stage: write anything you want in there.  You
could copy portions of David's emails verbatim, or just copy bits
and pieces of emails and put them into an itemized list, or
whatever.  Or you could ask Cecile to write something.  Again,
push directly with no review as long as the documentation still
completes a plain old "make".

Everybody else: feel free to jump in and correct that part of the
CG if you notice anything that's incorrect or unclear.  No
reitveld reviews; just change something and push it if you're
certain, or send a question (in a new thread) to lilypond-devel if
you're uncertain.

Cheers,
- Graham

Sign in to reply to this message.

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