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

Issue 5464045: T2026: Use new (scm markup-facility-defs) scheme module for markup commands. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by Ian Hulin (gmail)
Modified:
11 years, 5 months ago
Reviewers:
Ian Hulin, dak, carl.d.sorensen
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

T2026: Use new (scm markup-facility-defs) scheme module for markup commands. This affects the following files. New file scm/markup-utility-defs.scm ly/music-functions-init.ly Add #(use-modules (scm markup-facility-defs)) statement. ly/titling-init.ly Add #(use-modules (scm markup-facility-defs)) statement. scm/lily.scm Add (use-modules (scm markup-facility-defs)) statement. Group I18n declarations together at the beginning. Add some comments. Add better --loglevel=DEBUG statement when running with Guile V2. scm/markup.scm Gutted. scm/markup-macros.scm (will be deleted) scm/define-markup-commands.scm Add (use-modules (scm markup-facility-defs)) statement. scm/chord-ignatzek-names Add (use-modules (scm markup-facility-defs)) statement. scm/define-event-classes.scm Ensure ly:is-listened-event-class is defined scm/define-woodwind-diagrams.scm Add (use-modules (scm markup-facility-defs)) statement. scm/display-woodwind-diagrams.scm Add (use-modules (scm markup-facility-defs)) statement. scm/font.scm Add (use-modules (oops goops)) statement. scm/fret-diagrams.scm Add (use-modules (scm markup-facility-defs)) statement. scm/harp-pedals.scm Add (use-modules (scm markup-facility-defs)) statement. scm/tablature.scm Add (use-modules (scm markup-facility-defs)) statement. Regression tests: input/regression/bookparts.ly Add #(use-modules (scm markup-facility-defs)) statement. input/regression/markup-cyclic-references.ly Add #(use-modules (scm markup-facility-defs)) statement. input/regression/profile-property-access.ly Needs to use fancy-format rather than format to avoid "use (ice-9 format)" diagnostics.  

Patch Set 1 #

Patch Set 2 : Reverted module push-pop out of define-markup, added more sophisticated validation #

Total comments: 17

Patch Set 3 : Action comments from review, also sort out display-lily regtest differences #

Total comments: 29

Patch Set 4 : Implementing feedback from patchset 2 - also handle conditions thrown in markup module code #

Total comments: 18
Unified diffs Side-by-side diffs Delta from patch set Stats (+4387 lines, -2383 lines) Patch
M Documentation/snippets/three-sided-box.ly View 1 2 1 chunk +21 lines, -17 lines 0 comments Download
M input/regression/bookparts.ly View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ly/music-functions-init.ly View 1 1 chunk +2 lines, -0 lines 3 comments Download
M ly/titling-init.ly View 1 2 1 chunk +5 lines, -0 lines 2 comments Download
M scm/chord-ignatzek-names.scm View 1 chunk +1 line, -1 line 0 comments Download
M scm/define-event-classes.scm View 1 2 3 1 chunk +3 lines, -1 line 3 comments Download
M scm/define-markup-commands.scm View 1 2 3 5 chunks +2259 lines, -2201 lines 0 comments Download
M scm/define-woodwind-diagrams.scm View 3 chunks +13 lines, -11 lines 0 comments Download
M scm/display-lily.scm View 1 2 3 chunks +1176 lines, -3 lines 0 comments Download
M scm/display-woodwind-diagrams.scm View 1 1 chunk +1 line, -0 lines 0 comments Download
M scm/font.scm View 1 chunk +1 line, -1 line 0 comments Download
M scm/framework-ps.scm View 2 chunks +4 lines, -2 lines 4 comments Download
M scm/fret-diagrams.scm View 1 chunk +1 line, -1 line 0 comments Download
M scm/harp-pedals.scm View 1 chunk +1 line, -1 line 0 comments Download
M scm/lily.scm View 1 2 3 15 chunks +111 lines, -22 lines 2 comments Download
M scm/markup.scm View 1 chunk +139 lines, -118 lines 2 comments Download
A scm/markup-facility-defs.scm View 1 2 3 1 chunk +643 lines, -0 lines 2 comments Download
M scm/output-ps.scm View 1 chunk +2 lines, -1 line 0 comments Download
M scm/page.scm View 1 chunk +3 lines, -1 line 0 comments Download
M scm/tablature.scm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14
Carl
Hi Ian, I feel pretty much unqualified to comment on this, since the details are ...
12 years, 4 months ago (2011-12-19 19:38:04 UTC) #1
dak
On 2011/12/19 19:38:04, Carl wrote: > 1) How do we decide when we need to ...
12 years, 4 months ago (2011-12-19 19:43:27 UTC) #2
dak
http://codereview.appspot.com/5464045/diff/2001/Documentation/snippets/three-sided-box.ly File Documentation/snippets/three-sided-box.ly (right): http://codereview.appspot.com/5464045/diff/2001/Documentation/snippets/three-sided-box.ly#newcode20 Documentation/snippets/three-sided-box.ly:20: #(use-modules (scm markup-facility-defs)) I don't think we should require ...
12 years, 4 months ago (2011-12-19 20:52:56 UTC) #3
Ian Hulin (gmail)
http://codereview.appspot.com/5464045/diff/2001/Documentation/snippets/three-sided-box.ly File Documentation/snippets/three-sided-box.ly (right): http://codereview.appspot.com/5464045/diff/2001/Documentation/snippets/three-sided-box.ly#newcode20 Documentation/snippets/three-sided-box.ly:20: #(use-modules (scm markup-facility-defs)) On 2011/12/19 20:52:56, dak wrote: > ...
12 years, 4 months ago (2011-12-20 11:13:27 UTC) #4
dak
In general, people will view a patch like this as reference for what changes are ...
12 years, 4 months ago (2011-12-20 11:34:07 UTC) #5
dak
http://codereview.appspot.com/5464045/diff/8002/input/regression/markup-cyclic-reference.ly File input/regression/markup-cyclic-reference.ly (right): http://codereview.appspot.com/5464045/diff/8002/input/regression/markup-cyclic-reference.ly#newcode2 input/regression/markup-cyclic-reference.ly:2: #(use-modules (scm markup-facility-defs)) Is this required? http://codereview.appspot.com/5464045/diff/8002/ly/toc-init.ly File ly/toc-init.ly ...
12 years, 4 months ago (2011-12-21 18:32:50 UTC) #6
Ian Hulin (gmail)
Remove debugging cruft, also other changes in patch-set one not needed since patchset two. Add ...
12 years, 3 months ago (2011-12-27 00:46:40 UTC) #7
dak
One problem that I keep having is that I fail to see any documentation of ...
12 years, 3 months ago (2011-12-27 12:05:38 UTC) #8
Ian Hulin (gmail)
On 2011/12/27 12:05:38, dak wrote: > One problem that I keep having is that I ...
12 years, 3 months ago (2011-12-27 13:00:14 UTC) #9
Ian Hulin (gmail)
On 2011/12/27 13:00:14, Ian Hulin (gmail) wrote: > On 2011/12/27 12:05:38, dak wrote: > > ...
12 years, 3 months ago (2011-12-27 13:07:02 UTC) #10
dak
http://codereview.appspot.com/5464045/diff/10002/ly/music-functions-init.ly File ly/music-functions-init.ly (right): http://codereview.appspot.com/5464045/diff/10002/ly/music-functions-init.ly#newcode31 ly/music-functions-init.ly:31: %% need (scm markup-facility-defs)for markup? Wasn't this supposed to ...
12 years, 3 months ago (2012-01-02 14:04:39 UTC) #11
Ian Hulin (gmail)
I've had to do some major mangling with my local git rep, so the next ...
12 years, 3 months ago (2012-01-02 21:19:24 UTC) #12
dak
http://codereview.appspot.com/5464045/diff/10002/ly/music-functions-init.ly File ly/music-functions-init.ly (right): http://codereview.appspot.com/5464045/diff/10002/ly/music-functions-init.ly#newcode31 ly/music-functions-init.ly:31: %% need (scm markup-facility-defs)for markup? On 2012/01/02 21:19:24, Ian ...
12 years, 3 months ago (2012-01-02 21:33:07 UTC) #13
Ian Hulin
12 years, 3 months ago (2012-01-02 21:47:10 UTC) #14
Hi David,
On 02/01/12 21:33, dak@gnu.org wrote:
> 
> http://codereview.appspot.com/5464045/diff/10002/ly/music-functions-init.ly
>
> 
File ly/music-functions-init.ly (right):
> 
>
http://codereview.appspot.com/5464045/diff/10002/ly/music-functions-init.ly#n...
>
>  ly/music-functions-init.ly:31: %% need (scm
> markup-facility-defs)for markup? On 2012/01/02 21:19:24, Ian Hulin
> (gmail) wrote:
>> On 2012/01/02 14:04:39, dak wrote:
>>> Wasn't this supposed to get removed?  This was not supposed to
>>> be
> needed in
>>> user-level docs, right?
>> No.  This isn't a user-level document, it's part of the run-time
> initialization
>> we do for each user document.
> 
> Argl.  I just don't get along with Rietveld: I thought this was 
> input/regression/bookparts.ly.
> 
Don't worry, input/regression/bookparts.ly has gone from the patch
entirely.  A new stream-lined set of files has been uploaded.

They pass the reg-tests locally.

New patch-set is at http://codereview.appspot.com/5504107.

Cheers,

Ian
Sign in to reply to this message.

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