3 ;;;; source file of the GNU LilyPond music typesetter
5 ;;;; (c) 2004--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 (set! safe-objects (cons (cons sym (primitive-eval sym))
13 ly:all-grob-interfaces
14 ly:all-output-backend-commands
15 ly:all-stencil-expressions
22 ly:context-property-where-defined
23 ly:context-pushpop-property
24 ly:context-set-property!
25 ly:context-unset-property
44 ly:get-all-function-documentation
45 ly:get-all-translators
55 ly:grob-script-priority-less
57 ly:grob-staff-position
60 ly:grob-translate-axis!
62 ly:input-file-line-char-column
72 ly:make-music-function
80 ly:music-duration-compress
81 ly:music-duration-length
84 ly:music-mutable-properties
87 ly:music-set-property!
104 ly:parser-parse-string
109 ly:pitch-quartertones
119 ly:set-point-and-click
120 ly:spanner-broken-into
123 ly:staff-symbol-line-thickness
125 ly:stencil-aligned-to
126 ly:stencil-combine-at-edge
130 ly:stencil-translate-axis
133 ly:translator-description
136 ly:transpose-key-alist
142 ;; FIXME: cannot change staff size in --safe-mode
147 ly:accidental-interface::print
150 ly:arpeggio::brew-chord-bracket
152 ly:breathing-sign::offset-callback
155 ly:cluster-beacon::height
159 ly:hara-kiri-group-spanner::force-hara-kiri-callback
160 ly:hara-kiri-group-spanner::y-extent
161 ly:horizontal-bracket::print
162 ly:lyric-hyphen::print
163 ly:lyric-hyphen::set-spacing-rods
164 ly:key-signature-interface::print
165 ly:line-spanner::print
166 ly:lyric-extender::print
167 ly:measure-grouping::print
168 ly:mensural-ligature::brew-ligature-primitive
169 ly:mensural-ligature::print
170 ly:multi-measure-rest::percent
171 ly:multi-measure-rest::print
172 ly:multi-measure-rest::set-spacing-rods
174 ;; ly:note-head::brew-ez-stencil
175 ly:ottava-bracket::print
176 ly:paper-column::print
177 ly:percent-repeat-item-interface::beat-slash
178 ly:percent-repeat-item-interface::double-percent
179 ly:piano-pedal-bracket::print
181 ly:script-interface::print
184 ly:spacing-spanner::set-springs
186 ly:spanner::set-spacing-rods
187 ly:staff-symbol::print
188 ly:staff-symbol-referencer::callback
190 ly:stem::offset-callback
192 ly:stem-tremolo::height
193 ly:stem-tremolo::print
194 ly:sustain-pedal::print
195 ly:system-start-delimiter::print
196 ly:text-interface::print
198 ly:time-signature::print
199 ly:tuplet-bracket::print
200 ly:vaticana-ligature::brew-ligature-primitive
201 ly:vaticana-ligature::print
202 ly:volta-bracket-interface::print
205 (define-public (make-safe-lilypond-module)
206 (let* ((m (make-safe-module)))
207 (for-each (lambda (p) (module-define! m (car p) (cdr p))) safe-objects)