3 ;;;; source file of the GNU LilyPond music typesetter
5 ;;;; (c) 2004--2007 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
124 ly:stencil-aligned-to
125 ly:stencil-combine-at-edge
129 ly:stencil-translate-axis
132 ly:translator-description
135 ly:transpose-key-alist
141 ;; FIXME: cannot change staff size in --safe-mode
146 ly:accidental-interface::print
149 ly:arpeggio::brew-chord-bracket
151 ly:breathing-sign::offset-callback
154 ly:cluster-beacon::height
158 ly:hara-kiri-group-spanner::force-hara-kiri-callback
159 ly:hara-kiri-group-spanner::y-extent
160 ly:horizontal-bracket::print
161 ly:lyric-hyphen::print
162 ly:lyric-hyphen::set-spacing-rods
163 ly:key-signature-interface::print
164 ly:line-spanner::print
165 ly:lyric-extender::print
166 ly:measure-grouping::print
167 ly:mensural-ligature::brew-ligature-primitive
168 ly:mensural-ligature::print
169 ly:multi-measure-rest::percent
170 ly:multi-measure-rest::print
171 ly:multi-measure-rest::set-spacing-rods
173 ;; ly:note-head::brew-ez-stencil
174 ly:ottava-bracket::print
175 ly:paper-column::print
176 ly:percent-repeat-item-interface::beat-slash
177 ly:percent-repeat-item-interface::double-percent
178 ly:piano-pedal-bracket::print
180 ly:script-interface::print
183 ly:spacing-spanner::set-springs
185 ly:spanner::set-spacing-rods
186 ly:staff-symbol::print
187 ly:staff-symbol-referencer::callback
189 ly:stem::offset-callback
191 ly:stem-tremolo::height
192 ly:stem-tremolo::print
193 ly:sustain-pedal::print
194 ly:system-start-delimiter::print
195 ly:text-interface::print
197 ly:time-signature::print
198 ly:tuplet-bracket::print
199 ly:vaticana-ligature::brew-ligature-primitive
200 ly:vaticana-ligature::print
201 ly:volta-bracket-interface::print
204 (define-public (make-safe-lilypond-module)
205 (let* ((m (make-safe-module)))
206 (for-each (lambda (p) (module-define! m (car p) (cdr p))) safe-objects)