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

Issue 5504106: Implements DOM-id property for grobs. (Closed)

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

Description

Implements DOM-id property for grobs.

Patch Set 1 #

Total comments: 5

Patch Set 2 : Removes DOM from property and stencil names. #

Patch Set 3 : Adds regtest. #

Total comments: 15
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -0 lines) Patch
A input/regression/id.ly View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M lily/grob.cc View 1 2 chunks +12 lines, -0 lines 11 comments Download
M lily/stencil-interpret.cc View 1 1 chunk +10 lines, -0 lines 4 comments Download
M scm/define-grob-properties.scm View 1 1 chunk +7 lines, -0 lines 0 comments Download
M scm/define-stencil-commands.scm View 1 3 chunks +3 lines, -0 lines 0 comments Download
M scm/output-ps.scm View 1 1 chunk +6 lines, -0 lines 0 comments Download
M scm/output-svg.scm View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Patrick McCarty
LGTM https://codereview.appspot.com/5504106/diff/1/scm/output-ps.scm File scm/output-ps.scm (right): https://codereview.appspot.com/5504106/diff/1/scm/output-ps.scm#newcode258 scm/output-ps.scm:258: (define (open-node n) n) I don't see this ...
12 years, 3 months ago (2012-01-06 07:16:53 UTC) #1
dak
Is there a reason you have ignored Patrick's comments? The issue is missing a description, ...
12 years, 3 months ago (2012-01-06 13:35:03 UTC) #2
mike_apollinemike.com
On Jan 6, 2012, at 2:35 PM, dak@gnu.org wrote: > Is there a reason you ...
12 years, 3 months ago (2012-01-06 13:45:26 UTC) #3
dak
"mike@apollinemike.com" <mike@apollinemike.com> writes: > I also fixed this in the reverted patch. Unfortunately, I did ...
12 years, 3 months ago (2012-01-06 13:58:31 UTC) #4
janek
Hi Mike, could you add some comments to the code and/or commit message explaining what ...
12 years, 3 months ago (2012-01-11 11:53:40 UTC) #5
mike_apollinemike.com
On Jan 11, 2012, at 12:53 PM, janek.lilypond@gmail.com wrote: > Hi Mike, > > could ...
12 years, 3 months ago (2012-01-11 12:27:10 UTC) #6
janek
Hi Mike, i apologize for the delay; i focused on other things that seemed more ...
12 years, 3 months ago (2012-01-21 18:15:24 UTC) #7
MikeSol
http://codereview.appspot.com/5504106/diff/11013/lily/grob.cc File lily/grob.cc (right): http://codereview.appspot.com/5504106/diff/11013/lily/grob.cc#newcode177 lily/grob.cc:177: SCM expr = scm_list_3 (ly_symbol2scm ("id"), On 2012/01/21 18:15:25, ...
12 years, 3 months ago (2012-01-23 17:47:25 UTC) #8
janek
12 years, 2 months ago (2012-02-14 10:55:27 UTC) #9
Mike, 

again i was outrageously slow, i apologize.
Thanks for the explanations, i see now that the code is pretty clear when you're
accustomed to our code base a little.
I think the docstring you wrote is everything that's needed for this, so no need
to do anything more here.

Sorry for delay.  I really appreciate that you are willing to explain all this.

http://codereview.appspot.com/5504106/diff/11013/lily/grob.cc
File lily/grob.cc (right):

http://codereview.appspot.com/5504106/diff/11013/lily/grob.cc#newcode178
lily/grob.cc:178: id,
Ah, so expr will be something like
(a-scheme-symbol-saying-"id", the-actual-id-of-the-object, the-stencil)

I see now that i missed "".
Sign in to reply to this message.

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