]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/lily-guile.cc (type_check_assignment): if
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 17 Aug 2002 17:00:30 +0000 (17:00 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 17 Aug 2002 17:00:30 +0000 (17:00 +0000)
internal-type-checking set, abort if we find an unknown property.

* input/regression/GNUmakefile,input/test/GNUmakefile: be anal
with typechecks

* input/test/*.ly: remove or update files using deprecated
properties

* lily/beam.cc: add 'knee to interface

* lily/system.cc (spanner_count): new function

39 files changed:
ChangeLog
input/regression/GNUmakefile
input/regression/accidental-cautionary.ly
input/regression/accidental-octave.ly
input/regression/accidentals.ly
input/regression/beam-quanting.ly
input/regression/fingering.ly
input/test/GNUmakefile
input/test/add-staccato.ly
input/test/ancient-font.ly
input/test/beam-hss.ly
input/test/beam-slope.ly
input/test/beam-urg.ly
input/test/beams.ly
input/test/cautionaries.ly
input/test/collision-merge-dotted.ly
input/test/dynamic-dir.ly
input/test/force-hshift.ly
input/test/markup.ly
input/test/maximum-rest-count.ly
input/test/monstrous.ly
input/test/no-stem-extend.ly
input/test/part-combine-moments.ly
input/test/part-combine-staff.ly
input/test/perform-grace.ly
input/test/rests.ly
input/test/sleur.ly
input/test/staff-line-leading.ly
input/test/stem-centered.ly
input/test/stem-length.ly
input/test/text-spanner.ly
input/test/warnings.ly
lily/accidental.cc
lily/beam.cc
lily/key-engraver.cc
lily/lily-guile.cc
lily/stem.cc
scm/grob-property-description.scm
scm/translator-property-description.scm

index b422dcb87a85d461623beeaa703c206f374096f0..b77de701cd7d468b6fa4effb8155e4475f7aa06b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2002-08-17  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * lily/lily-guile.cc (type_check_assignment): if
+       internal-type-checking set, abort if we find an unknown property.
+
+       * input/regression/GNUmakefile,input/test/GNUmakefile: be anal
+       with typechecks
+
+       * lily/beam.cc: add 'knee to interface
+
+       * input/test/*.ly: remove or update files using deprecated
+       properties
+
        * lily/system.cc (spanner_count): new function
 
        * lily/break-substitution.cc (fast_fubstitute_grob_list): special
index 99c4d8d71d53d7262dbf5750e4cd6c7b97d43f2f..2528cf34b26aee194ef26548fdd4270b422a1410 100644 (file)
@@ -2,6 +2,7 @@ depth = ../..
 
 STEPMAKE_TEMPLATES=documentation texinfo tex
 LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc
+LILYPOND_BOOK_FLAGS=--extra-options '-e "(set-lily-option (quote internal-type-checking) \#t)"'
 
 include $(depth)/make/stepmake.make 
 TITLE=LilyPond Regression Tests
index 38feb90c578d7af4c698154d0f76c87cedf2f5b1..21eb95ad6d4a6796d2cb8ef8a1d7c6720ced75be 100644 (file)
@@ -9,6 +9,6 @@ smaller accidentals (default) or parentheses."
 \score { \notes {
     c''4
     cis''?4
-    \property Staff.Accidental \override #'cautionary-style = #'parentheses
+    \property Staff.Accidental \override #'style = #'parentheses
     cis''?4
     }}
index e0593b7e4fef66e9f9402eec8b4eb011706ca370..4b115eeee21c4568bab59559425f6820554e93d9 100644 (file)
@@ -4,7 +4,8 @@
 \header {
 texidoc="
 This shows how accidentals in different octaves are handled.
-Fixme: Shorten and docu
+FIXME: Shorten and docu
+
 "
 }
 
@@ -48,7 +49,11 @@ mel = \notes \transpose c'' {
 
 mus = \notes {
    \mel
-   \property Score.oneMeasureLazy = ##t
+
+%% FIXME.
+%   \property Score.oneMeasureLazy = ##t
+
+
    \property Score.autoAccidentals = #'(Staff (same-octave . 0))
    < s1^""^""^"$\\backslash$property Score.autoAccidentals = \\#'(Staff (same-octave . 0))" \mel >
    \property Score.autoAccidentals = #'(Staff (same-octave . 1))
index 27b172a310a8569abe6fed1e008f583607a87f8b..caf8774fd1041f4476a7bd321b6618988f955520 100644 (file)
@@ -44,7 +44,7 @@ mel = \notes { \key d \major \time 4/4
  <
   \context Staff \transpose c''' {
    \mel
-   \property Score.oneMeasureLazy = ##t
+%   \property Score.oneMeasureLazy = ##t
    \property Score.autoAccidentals = #'(Staff (same-octave . 0))
    < s1^"$\\backslash$property Score.autoAccidentals = \\#'((same-octave . 0))" \mel >
    \property Score.autoAccidentals = #'(Staff (same-octave . 1))
index 91ac74d8ab9391b51daa79f46d1309fd99c2cfe4..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1,30 +1 @@
-\header {
 
-texidoc = "Beam quanting can be twiddled using grob
-properties. The following example shows how Y and DY can be
-unquantised and quantised to 0 and 4 respectively."
-
-}
-
-\version "1.5.68"
-
-%{
-Have some fun beam quanting
-%}
-
-% no y quantising
-#(define (beam-vertical-position-quants m dy x y) '())
-
-% rediculous dy quanting
-#(define (beam-height-quants x y) '(0 4))
-
-\score {
-    \notes\relative c'{
-        \property Voice.Beam \override #'height-quant-function = #beam-height-quants
-        \property Voice.Beam \override #'vertical-position-quant-function =
-       #beam-vertical-position-quants
-        c8 c c c
-        c8 e g a
-        c,8 f b e
-    }
-}
index db5d5fa3865c24a536e1d07353ae58e2c5e19294..0614772ac4593d3d63863e8490fb5af54d209f65 100644 (file)
@@ -2,13 +2,8 @@
 \header {
 
 texidoc = "Automatic fingering tries to put fingering instructions
-next to noteheads.  scriptHorizontal puts the center fingerings horizontally next to
-the note heads.
-
-For this to function, you have to @code{\apply} pitchify-scripts to
-the music you're dealing with, and you have to do so outside of a
-@code{\relative} block.  "
-
+next to noteheads.
+"
 }
 
 \score {
@@ -17,11 +12,5 @@ the music you're dealing with, and you have to do so outside of a
  c4-4
   <c-1 f-4>
   < c-1 e-2 g-3  b-4 >
-\apply #pitchify-scripts \relative c'  { c4-4
-  <c-1 f-4>
- < c-1 e-2 g-3  b-4 >
- \property Voice.scriptHorizontal = ##t
-   <c-1 f-4>
-   <c-1 f-4 a-5>   
- < c-1 e-2 g-3  b-4 >   
- } } }
+}}
index b742267c7ba6edb6a683f93dc6eb27faec40988e..df34db779d5dd083b2a6182d43c4522d8b467169 100644 (file)
@@ -4,6 +4,8 @@ depth = ../..
 STEPMAKE_TEMPLATES=documentation texinfo tex
 LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc
 
+LILYPOND_BOOK_FLAGS=--extra-options '-e "(set-lily-option (quote internal-type-checking) \#t)"'
+
 ## Hmm, would this work?  No -- if we really want examples, move
 ## to other dir (input/) comes to mind.
 ## examples = font20 ancient-font
index 8384a70d02fb4dcf507f7421664fc6dfc53889d6..427a48464ea54f250441d9117b005b8e73e739e5 100644 (file)
@@ -10,7 +10,6 @@ one would not use scm constructs.  See separate-staccato.ly first."
 #(define (make-script x)
    (let ((m (ly-make-music "Articulation_req")))
      (ly-set-mus-property! m 'articulation-type x)
-     (ly-set-mus-property! m 'script x)
      m))
     
 #(define (add-script m x)
index 74ed5af99f63e296a66682caa6d135488a885061..abeb31b81dced823ebf7e64f9f777b89b9287833 100644 (file)
@@ -133,7 +133,7 @@ lowerVoice =  \context Staff = lowerNotes <
        \property Staff.KeySignature \set #'font-family = #'ancient
        \property Staff.KeySignature \override #'style = #'mensural
        \property Staff.Accidental \set #'font-family = #'ancient
-       \property Staff.Accidentalg \override #'style = #'mensural
+       \property Staff.Accidental \override #'style = #'mensural
        \property Staff.Custos \set #'font-family = #'ancient
        \property Staff.Custos \override #'style = #'mensural
        \property Staff.Custos \override #'neutral-position = #3
@@ -147,7 +147,6 @@ lowerVoice =  \context Staff = lowerNotes <
        \property Voice.Porrectus \override #'style = #'mensural
        \property Voice.Porrectus \override #'solid = ##f
        \property Voice.Porrectus \override #'add-stem = ##t
-       \property Voice.Porrectus \override #'stem-direction = #1
        \property Voice.Porrectus \override #'thickness = #0.7
 %      \property Voice.Porrectus \override #'auto-properties = ##t
 %      \property Voice.Porrectus \override #'width = #3.0
index dbdc36d174c98d98435cedc1876598e74a9fc783..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,34 +0,0 @@
-\header {
-
-texidoc = "Beams in hang, straddle sit positions, forced there using
-quanting."
-
-}
-
-\version "1.5.68"
-
-#(define ps-testing #t)
-\score {
-    \notes\relative c'{
-       \property Voice.Beam \override #'vertical-position-quant-function
-       = #(lambda (beam dy x staff-line)
-           (let* ((thick (ly-get-grob-property beam 'thickness))
-                  (hang (- 1 (/ (- thick staff-line) 2))))
-            (append (list hang) (list (+ hang 1)))))
-       [d8 d]
-       
-       \property Voice.Beam \override #'vertical-position-quant-function
-       = #(lambda (beam dy x staff-line) '(0 1))
-       [d8 d]
-
-       \property Voice.Beam \override #'vertical-position-quant-function
-       = #(lambda (beam dy x staff-line)
-           (let* ((thick (ly-get-grob-property beam 'thickness))
-                  (sit (/ (- thick staff-line) 2)))
-            (append (list sit) (list (+ sit 1)))))
-         [d8 d]
-    }
-    \paper{
-       linewidth = 0.0
-    }
-}
index 83aa3895ca6be018baff7d62f9848fc26b747bcb..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1,15 +1 @@
-\version "1.5.68"
 
-
-fragment = \notes {
-  \property Voice.Beam \set #'direction = #1
-  \property Voice.Beam \set #'height-hs = #0
-  [a''8 e' d c]
-}
-
-\paper { linewidth = -1. } 
-
-\score {
-  \notes\relative c \fragment
-  \paper { }  
-}
index 7f8f3ba037821b2ab4d2ffc9688fc2e06c303e9b..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1,13 +1 @@
-\version "1.5.68"
 
-\score{
-       \notes\relative c''{
-               \property Score.beamQuantisation = #'none
-               % \property Score.beamQuantisation = #'normal
-               % \property Score.beamQuantisation = #'traditional
-               [g16 e f g]
-       }
-       \paper{
-               linewidth = -1.
-       }
-}
index 31845f7b8ba307c83fd8a74e7d686e0f34137e2e..8d6d33ddf645ad4aabe716b5adc6b27455ab4f55 100644 (file)
@@ -11,7 +11,6 @@ TestedFeatures =       "beams and beamflags"
 
 \score{
        <
-%              \property Score.beamQuantisation = #'none
                \context GrandStaff < 
 \context Staff = SA            \notes\transpose c' { 
 
index 79344c0a9191ce9fb7ab1175cca8ea786fb9d948..6b06c73636b7c3d22946ef5a854957bbb12ec266 100644 (file)
@@ -1,13 +1,15 @@
 \version "1.5.68"
 
+%% FIXME
+
 \score { \notes \context Staff \transpose c''' {
   \key d \major
-  \property Staff.autoReminders = #'cautionary
+%  \property Staff.autoReminders = #'cautionary
   \property Staff.Accidental \override #'font-relative-size = #0
   <dis1 c> cis2 d
-  \property Staff.Accidental \override #'cautionary-size = #-1
+%  \property Staff.Accidental \override #'cautionary-size = #-1
   <dis1 c> cis2 d
-  \property Staff.Accidental \override #'paren-cautionaries = ##f
+%  \property Staff.Accidental \override #'paren-cautionaries = ##f
   <dis1 c> cis2 d
 
 }
index 5687381bbe3f397b27975028cbd5cd4353c3a48e..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1,20 +1 @@
-\version "1.5.68"
 
-\score { 
-  \context Voice \notes\relative c {
-    
-       \relative c'' \context Staff <
-       \context Voice = one {
-               \property Staff.collisionMergeDotted = ##t
-               \stemUp
-               [c8 f g a]
-       }
-       \context Voice = two {
-               \stemDown c,4. f8
-       
-       }>
-       
-  }
-  \paper { }  
-  \midi { }
-}
index 2377579e19d8bfbfe506a4de955d1f1da41fa1fc..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1,14 +1 @@
-\version "1.5.68"
 
-%non of the dynamics properties work anymore
-
-\score { 
-  \context Voice \notes\relative c {
-%        \stemDown\slurDown\tieDown
-
-        \property Voice.dynamicDirection = #1
-        \property Voice.dynamicPadding = #40
-        c \p c \<  \! c \ff\> c \!c-\p 
-
-  }
-}
index 0a8fd4efc4d27234c13d43d8f579b93df2249192..8c11d2ac13478d789e2879aadc1d27139f2a2d3b 100644 (file)
@@ -1,11 +1,14 @@
 \version "1.5.68"
+\header {
+    texidoc="Force hshift to override collisions"
+    }
 
 \score { 
   \context Voice \notes\relative c {
     
        \context Staff <
                \context Voice = VA {
-                       \property Voice.NoteColumn \override #'forced-hshift = #0.1
+                       \property Voice.NoteColumn \override #'force-hshift = #0.1
                        \stemUp
                        \property Voice.NoteColumn \override #'horizontal-shift = #1
                        <g' d'>
@@ -13,7 +16,7 @@
                \context Voice = VB {
                        \stemDown
                        \property Voice.NoteColumn \override #'horizontal-shift = #1
-                       \property Voice.NoteColumn \override #'forced-hshift = #-0.1
+                       \property Voice.NoteColumn \override #'force-hshift = #-0.1
                        <bes f'>
                }
        >
index 1d2e125accd8e1b9c7802221214dac4eba815267..d7c5961ba72fd4eb4053c8829b06debbae166a14 100644 (file)
@@ -2,9 +2,6 @@
 
 \header {
   texidoc ="Test font selection and scm text markup"
-%% Note that the font-encoding trick only works when uning latex,
-%% ie, you must use ly2dvi.
-
 }
 
 
@@ -74,7 +71,6 @@
       TextScript \override #'font-shape = #'upright
       TextScript \revert #'no-spacing-rods
       TextScript \override #'direction = #1
-      TextScript \override #'font-encoding = #'T1
     }
   }
 }
index 88447559536e81ba4216b6466f25fd23a5fdd2c1..ebfa771aa78f7748aa1d2fac68006b9310842ea4 100644 (file)
@@ -1,15 +1,18 @@
 \version "1.5.68"
+\header {
+    texidoc = "Control the number of rests in a collision   with maximum-rest-count."
+}
 
 \score{
 \context Staff \notes\relative c''<
        \context Voice = x {
                a4 
                r 
-               \property Voice.maximumRestCount = #3
+               \property Staff. RestCollision \set #'maximum-rest-count = #1
                r 
-               \property Staff.maximumRestCount = #2
+               \property Staff. RestCollision \set #'maximum-rest-count = #2
                r 
-               \property Staff.maximumRestCount = #1
+               \property Staff. RestCollision \set #'maximum-rest-count = #3
                r 
                r8 r8
                c
index c9984e3d904fe3063b504893abf15c001837fe07..8374aed36dcd02693ed3c9e0028fb8802f2fe546 100644 (file)
@@ -1,10 +1,14 @@
 \version "1.5.68"
 
-
+\header {
+    texidoc ="FIXME"
+    }
 %% Chord gurus, is this ok now??
 
 monstrous= \chords{
-    \property Score.chordInversion = ##t 
+
+%% fixme:
+%%    \property Score.chordInversion = ##t 
 
     % /c is/was missing:
     bes:6/+c
index 9494f33968781d7f90b116cc172eaf0feef8bcd4..3939e79112dc1255440e5d8d6e89bce9758b5bb9 100644 (file)
@@ -1,17 +1,19 @@
 \version "1.5.68"
+\header {
+ texidoc = "Don't extend stems to cetner line."
+}
 
 \score { 
   \context Voice \notes\relative c {
-    % test noStemExtend
        \context Staff <
                \context Voice = "a" { 
                        f2 f8 g a b 
-                       \property Voice.noStemExtend = ##t
+                       \property Voice.Stem \set #'no-stem-extend = ##t
                        f2 f8 g a b
                }
                \context Voice = "b" { 
                        c''2 c8 b a g
-                       \property Voice.noStemExtend = ##t
+                       \property Voice.Stem \set #'no-stem-extend = ##t
                        c2 c8 b a g
                }
        >
index 741e91339202a2f64c298270ca4a5fd0019cc4ec..b1d53fe7ed5100225ad77959d4ad9668b2ff6568 100644 (file)
@@ -92,7 +92,7 @@
                        %% URG: this changes dynamics too
                        %%textStyle = #"italic"
                        TimeSignature \override #'style = #'C
-                       maximumRestCount = #1
+                       RestCollision \set #'maximum-rest-count = #1
                }
        }
 }
index f277deaf2a25e1b81ef8c79855167365aa924346..8807466b90403c721041c638fb8574ecc0dafe3c 100644 (file)
                        %% URG: this changes dynamics too
                        %%textStyle = #"italic"
                        TimeSignature \override #'style = #'C
-                       maximumRestCount = #1
+
+                       RestCollision \set #'maximum-rest-count = #1
+
                }
        }
 }
index 812feab147eac92c5431032f427af2a7fecc8903..30cd484c5b467bf4dbed804ab52e168a8e34925a 100644 (file)
@@ -3,9 +3,7 @@
 \score { 
   \context Voice \notes\relative c {
     \context Voice=VoiceOne
-       \property Voice.graceFraction = #(make-moment 1 4) 
        \grace c8 d4 d d d d
-       \property Voice.graceFraction = #(make-moment 1 2)
        \grace { e16 f e f } d4 d d d d 
        
   }
index 19d7a9cb66070da674f46e10fa68af630392b15b..1ca7f50251067835f38dff1108f07d93028986ee 100644 (file)
@@ -1,9 +1,12 @@
 \version "1.5.68"
+\header {
+    texidoc ="mensural style rests."
+    }
 
 \score { 
   \context Voice \notes\relative c {
     r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 
-       \property Staff.restStyle = "mensural"
+       \property Staff.Rest \override #'style = #'mensural
        \emptyText
        r\longa^"restStyle = \"mensural\"" r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 
        
index 3dc630d311835976b4416551ff7ca7202db1bbc8..3379524c7afea7b057e675072d1e17013d05cb1f 100644 (file)
@@ -20,14 +20,6 @@ dirs =  \notes\transpose c' {
 
        c'1() g' () c () g () c |
 }
-
-complex =  \notes{
-\transpose c'{
-       c,16( e,( g,( b,( d( f( a( c'())))))))c4 c4 |}
-\transpose c'''{
-       c,16( a( f( d( b,( g,( e,( c,())))))))c4 c4 |}
-}
-
 over =  \notes\transpose c'{
 
 
@@ -175,7 +167,6 @@ clipping =  \notes\transpose c'{
 % {
                \shortlong
                \dirs
-               \complex
                \over
                \under
                \eccentric
index aaa893b32fe6cc318ef0e41e00b3273e21433952..0e6004b3d2fce9c170311e36878a97ec80ff2b87 100644 (file)
@@ -1,12 +1,19 @@
 \version "1.5.68"
+\header{
 
+    texidoc ="Setting staff space on a staff "
+    }
 \score { 
   \notes \relative c'' \context GrandStaff <
        \context Staff = up { c4 c4  }
-       \context Staff = down { \property Staff. staffSpace = #5.5 c4
+       \context Staff = down {  c4
          [<c8 d f g>
           e]
          [f c']
         }
 >
+\paper {  \translator  {
+      \StaffContext
+      StaffSymbol \set #'staff-space = #5.5
+      }}
 }
index dd418b1f35e0dc09440d605851b82216a78ee610..ec6f3051aef7d6c226cc6dc0739a50045df76668 100644 (file)
@@ -1,11 +1,12 @@
 \version "1.5.68"
-
+\header {
+    texidoc ="mensural note heads."
+    }
 
 \score {
 \notes {
 \relative c'' {
-\property Voice . noteHeadStyle = #'mensural
-\property Voice. stemCentered = ##t
+\property Voice . NoteHead \set #'style = #'mensural
 c\maxima*1/8
 c\longa*1/4 c\breve*1/2 c1 c2 c4 c8 
 }
index 109c60e4790b716e5c149d3f71aff012f22d52cf..7e77d809d524dbf45da1d9ba48352a9cfc184be6 100644 (file)
@@ -2,9 +2,8 @@
 
 \score { 
   \context Voice \notes\relative c {
-    
-       g''4 \property Voice.stemLength = #14  g4 \property Voice.stemLength = #3 g4  g,,4  
-       
+       g''4 \property Voice.Stem \set #'length = #14  g4
+       \property Voice.Stem \set #'length = #3 g4  g,,4  
   }
   \paper { }  
   \midi { }
index 16f821b69dd194392472397456af7826e7c6571f..fce5b92e2420239ea09416ca659d5000372207b9 100644 (file)
@@ -1,6 +1,8 @@
 \version "1.5.68"
 
-
+\header {
+texidoc = "ottava spanners."
+}
 
 \score{
     \notes\relative c''{
         a \spanrequest \stop "text"
 
 
-        \property Staff."c0-position" = #-13
+        \property Staff.centralCPosition = #-13
 
         \property Voice.TextSpanner \override #'dash-length = #5
-        \property Voice.TextSpanner \override #'line-thickness = #10
+        \property Voice.TextSpanner \override #'thickness = #10
         a \spanrequest \start "text"
        b c 
         a \spanrequest \stop "text"
-        \property Staff."c0-position" = #-6
+        \property Staff.centralCPosition = #-6
     }
 }
index 54d5bb267f8cc0ab98129cff4ac9ded294c31d70..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1,18 +1 @@
-\version "1.5.68"
 
-\header {
-texidoc="Various warnings
-"
-}
-
-linebreak = \penalty #-1000
-
-\score {
-  \notes {
-    c''
-    \property Voice.Stem \set #'length = #"foo"
-    \property Voice.Stem \set #'longth = #2
-    \property Staff.clefStyle = #"foo"
-    \property Staff.clefStyle = #2
- }
-}
index 9d1ad1a34ef1a6c740fcf6d9b2d09f28f1a74d4b..4200f3b88aca3c76a64a14205a32f133cf22c76d 100644 (file)
@@ -163,4 +163,4 @@ Accidental_interface::brew_molecule (SCM smob)
 
 ADD_INTERFACE (Accidental_interface, "accidental-interface",
              "a single accidental",
-              "cautionary-style style tie accidentals");
+              "cautionary cautionary-style style tie accidentals");
index 4fd696937b34f6b9fd0c42680f9a8544a37c9251..8e454d3e911bf7304f784e5408ef92437a03cc57 100644 (file)
@@ -1480,6 +1480,6 @@ the ideal slope, how close the result is to the ideal stems, etc.). We
 take the best scoring combination.
 
 ",
-  "french-beaming position-callbacks concaveness-gap concaveness-threshold dir-function quant-score auto-knee-gap gap chord-tremolo beamed-stem-shorten shorten least-squares-dy damping flag-width-function neutral-direction positions space-function thickness");
+  "knee french-beaming position-callbacks concaveness-gap concaveness-threshold dir-function quant-score auto-knee-gap gap chord-tremolo beamed-stem-shorten shorten least-squares-dy damping flag-width-function neutral-direction positions space-function thickness");
 
 
index 52cedb51361ca9acc488d73faa7cec6f4599fb45..7dc697312305d010544cc0a56048e543bcb4bf09 100644 (file)
@@ -63,7 +63,7 @@ Key_engraver::create_key (bool def)
       item_ = new Item (get_property ("KeySignature"));
 
       item_->set_grob_property ("c0-position",
-                                 get_property ("centralCPosition"));
+                               get_property ("centralCPosition"));
       
       // todo: put this in basic props.
       item_->set_grob_property ("old-accidentals", get_property ("lastKeySignature"));
index 6b96a31315177fbfdd1e1df303b93f019155c2a7..e911cb013e7981a19ec06f38626d6bdf96a37358 100644 (file)
@@ -584,6 +584,12 @@ type_check_assignment (SCM sym, SCM val,  SCM type_symbol)
                     ly_symbol2string (type_symbol).to_str0 ()
 
                     ));
+
+       /*
+         Be strict when being anal :)
+         */
+       if (internal_type_checking_global_b)
+         abort();
       }
   else
     {
index bbb7310fd4e2f74396913df05667adf01a508eeb..05bddd33561fbdc5fbdfea2cec5a1390c9da0ed4 100644 (file)
@@ -335,6 +335,10 @@ Stem::get_default_stem_end_position (Grob*me)
   Interval hp = head_positions (me);  
   Real st = hp[dir] + dir * length_f;
 
+
+  /*
+    TODO: change name  to extend-stems to staff/center/'()
+  */
   bool no_extend_b = to_boolean (me->get_grob_property ("no-stem-extend"));
   if (!grace_b && !no_extend_b && dir * st < 0) // junkme?
     st = 0.0;
index 02a50b8ff625eb26ceac48c3b6a5ef0d3f39e496..bf9637f67f52e2af57776dc16b4c0977ec9fbb76 100644 (file)
@@ -124,6 +124,8 @@ column as start/begin point. Only columns that have grobs or act as bounds are s
 (grob-property-description 'breakable boolean? "boolean indicating if this is a breakable item (clef, barline, key sig, etc.).")
 (grob-property-description 'c0-position integer? "integer indicating the position of central C.")
 (grob-property-description 'cautionary-style symbol? "style  of cautionary accidentals. Choices are 'smaller (one size smaller) or 'parentheses.")
+(grob-property-description 'cautionary boolean? "is this a cautionary accidentals.?")
+
 (grob-property-description 'center-element ly-grob? "grob which will
 be at the center of the group after aligning (when using
 Align_interface::center_on_element). .")
@@ -262,6 +264,7 @@ beaming style: stems stop at innermost beams.")
 For text,  this is `relative'(?) to the current alignment.
 
 For barline, space after a thick line.")
+(grob-property-description 'knee boolean? "Is this beam a knee?")
 (grob-property-description 'knee-spacing-correction number? "optical correction amount for knees. 0: no correction; 1: full correction.")
 (grob-property-description 'layer number? "The output layer [0..2].  The default is 1.")
 
index 4258266410d691042f8f6a86b12931ff8d646399..1e0a16018da410a1ba2a21ad1748710318881cbb 100644 (file)
@@ -272,6 +272,7 @@ not less than minimumFret")
 then beams are generated automatically.")
 (translator-property-description 'noDirection boolean? "Don't set directions by a2-engraver when part-combining.")
 (translator-property-description 'oneBeat moment? "  How long does one beat in the current time signature last?")
+(translator-property-description 'othersolo boolean? "FIXME")
 (translator-property-description 'pedalSustainStrings list? "List of   string to print for sustain-pedal. Format is
  (UP UPDOWN DOWN), where each of the three is the string to print when
 this is done with the pedal.")