lilypond-1.0.14
[lilypond.git] / TODO
blob275774c4633a9509f402d67056d89198458dd281
1 Features you cannot find in the doco as working, should be mentioned here.
4 This is an assorted collection of stuff that will be done, might be
5 done, or is an idea that I want to think about
7 Most of the items are marked in the code as well, with full explanation. 
8 grep for TODO and ugh/ugr/urg
11 BUGS:
13         +
14         >      \notes{ a \< b \cr }
15         > 
16         > work but
17         >    
18         >      \notes{ a \< b \! }
19         > 
20         > give a parse error?  
23         * if possible, it might be nice for a warning to appear if someone does
24         > \translator with no name and without assigning it to an
25 identifier.  possible, it might be nice for a warning to appear if
26 someone does
27         > \translator with no name and without assigning it to an
28 identifier.
30         * space after bars?
32         * [/3 c8 c16 c c c]/1
33   
34         * I see that  \prallprall and \prallmordent are identical. I think this is a 
35         mistake, that \prallprall should not have the vertical line.
36         This can be fixex by removing  the line
37         > draw_mordent(twidth-0.5toverlap);
38         from the definition of \prallprall in mf/feta-slag.mf (see below)
40         * fix singleStaffBracket
41   
42         * repeat bars: need distance after ":|" and before "|:"
44         - The time signature warnings still remain, will be fixed later.
46         * fix \n after proccing
48  Summary of minor spelling irregularities:
49 >   capitalization/use of underscores in property names
50 >   \lyric vs \notes  \lyric vs \type Lyrics  (\lyric should have an -s)
52         * fix Score.skipBars
54         * repeat bars: need distance after ":|" and before "|:"
56         * \shape 1st dim skipped? 
58         * fix marks/barnumbers/marginal notes
60 ****
62  > lbheel = \script { "bheel" 0 0 -1  0 0 }
63 > rbheel = \script { "bheel" 0 0 1 0 0 }
64 > lbtoe = \script { "btoe" 0 0 -1 0 0 }
65 > rbtoe = \script { "btoe" 0 0 1 0 0 }
66 > lfheel = \script { "fheel" 0 0 -1  0 0 }
67 > rfheel = \script { "fheel" 0 0 1 0 0 }
68 > lftoe = \script { "ftoe" 0 0 -1 0 0 }
69 > rftoe = \script { "ftoe" 0 0 1 0 0 }
70
71 > and also
72
73 > portato= \script { "portato" 0 -1 0 1 0 }
75         * MIDI spelling.
77         * foo = 1
79          \score{
80            \notes { a }
81            \paper{ foo = \translator{ \StaffContext}; }
82          }
84         * Align_element::padding  ?
86         * uniformise property names.
88         * ydirection <-> yDirection
90         * typo checks on property names?
92         * egcs-1.1 support
94         * make engraver hacking robust.
96         * use streambufs and iostream
97         to provide IO handling for TeX stream, mudela stream, data-file.
99         * seriously buffer TeX output (do profile of writing .5 mb TeX file.)
101         * strip EXEs before installing
103         * zip target for binary windows dist (JBR)
105         * text continuationss
107         * revise documentation
109         * abbrev -> tremolo
111         * junking \skip req in lyrics
113         * Language:
114         - general plet mechanism.
116                 \plet 2/3 { c8 c8 c8 }
118         ie.
120                 Music: PLET int '/' int Music
122         - \type -> \context ?
123         - \translator -> ?
124         - fix \partial 
125         - \bla {} vs \bla ; 
126         - mix engraver hacking with music ?
127         - \once\property  KEY = VAL
128         - \addtranslator, \removetranslator
129         - junk ^ and _ for scripts
130         - junk _ for lyrics.
131         - abstract grammar.
133         * install TeX stuff into tex/generic directory.
135         * /etc/profile.d support for RPM.
137         * percussion note heads
139         * mi2mu empty staffs.
141         * include MIDI list 
143         * make GNU style webpages.
145         * There seems to be an install error in lilypond-1.0.0.  Most of the
146         files in the "init" directory don't get installed in the
147         /usr/local/share/lilypond directory.  The files installed are of
148         the form feta*.ly.  In particular init.ly doesn't get installed.
149         I installed the files by hand and then the system seems to work.
151         * midi_instrument -> midiInstrument
153         * horizontal centering of dynamics 
155         * \font\fontA=feta20.afm (.afm?)
157         * gzip RH manpage
159         * stable make/config stuff
161         * stemup/stemdown; see test/updown.fly
162           - check examples; add \type Staff hither and thether
164         * $DEPENDENCIES_OUTPUT support
166         * use a fake-yodl.sh to mimick yodl when yodl is not installed
168         * fix BUGs
170         * fix weird behaviour when .AFMs not found.
172         * Xdvi zooming ?!
173                 gs: Error: /undefined in draw_beam
174                 gs: Operand stack:
176         * run texhash after installing .tex
178         * fix vertical alignment and stafflines
180         * GrandStaff needs more work -- I want a single word
181         `harpsichord' to the left of the grandstaff, not one on each
182         stave.  (Organ staff -- with separate pedal -- but common
183         properties may be something to think about.  Of course for
184         organ you want to be able to give stop indications on the way
185         through, so the \property Voice.Instrument would be a stop,
186         and \property GrandStaff.instrument would be PipeOrgan...)
188         * make Tie_req a "command" { <c g> ~ <c g> }
190         * bib ep1988
192         * revise the Score_priority_align_engraver concept.  It sucks. 
194         * ly2xdvi, ly2ps
196         * make new VoiceOne, VoiceTwo, VoiceThree contexts with
197 ydirection and hshift preset
199         * *.yo: fix pod manpage layout legacy
201         * text-items clash with stems/beams
203         * --include, -I option for ly2dvi (pass on to lily)
205         * fix placement of beam-less abbrev
207         * \meter 3/4;
208         <{\voiceone cis4. cis8 cis4 | cis4 cis cis | r1 }
209          {\voicetwo cis,4 r r | r2. | r1 }> |
210         }
212         * try to use template<Type> iso MACRO(Type)
214         - NEWS: ... Musical_pitch (analogous to Duration and Rhythmic_req)
215           think about, analogous to pitch: 
216            * { a4 a16 } c <-- duration of c?
217            * <a4 b8> c <-- duration of c?
219         * \tempo 4. = 90;
221         * fix audio-items (don't use (input) requests, but copy data)
223         * junk My_lily_parser::abbrev_beam_type_i_ 
225         * make sure all ex's have a mudela-version
227         * do rest-collisions for Multi_measure_rests as well.
229         * split error/warning in error/warning/non_fatal_error
231         * add a Duration_convert member to Duration_iter to set parameters.
232         Junk global duration settings. 
234         * deps for ly2dvi
236         * clean up abbrev/plet/beam/abbrevbeam/duration mess in parser.
238         * minimum length second part broken tie
240         * en-,discouraged linebreaking: 
241           - handle DISALLOW < penalty > FORCE
242           - discourage breaking of slurs
244         * multibar rest
245           - symbol(s)
247         * fix variable define/lookup parser global<->paper
249         * fix title/instrument placements; see input/test/title.ly
251         * <\voiceone c4. \voicetwo c4>
253         * add full cello suites to web site (kom op, Maarten!)
255         * Rethink Time_description
256           * \cadenza , \meter, \grouping should all be \properties
258         * rename
259           - plet -> tuplet
260           - measure -> bar
261           - abbreviation-beam -> (measured/unmeasured) tremolo
262           - partial -> anacrouse
264         * libtoolize flowerlib
266         * shared lib
268         * robustify Beam (in case of no stems, 32nd notes)
270         * decentralised spring factory
272         * move paper vars into engraver properties
274         * check for groff / troff/ nroff et
276         * more intelligent file searching
277         - use kpsepath
278         - make LilyPond fully relocatable
280         * use kpsepath to find all TeX dirs
281         - configure.in 
282         - clean-fonts.sh
284         * nicen examples:
285         - break-up heavily-nested score blocks
287         * disable spaces in TeX stuff
288         
289         * handle ^C for tmp/file creation.
291         * dots & rest collisions.
293         * documentation
294         - introduction?
295         - info?
296         - LaTeX?
297         - more manpages?
299         * versioning for Feta
301         * the warning about the negative slur/tie length appears twice
302         which is irritating.
304         * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
305         in the middle:
307         * the bracket is ugly (wings are too parabolic, should be more circular)
309         * better hshift (dots, distance, head dependent)
311         * clefs (AG): The "8" should appear closer to the actual clef,
312           touching it.
314         * scoping for properties?
316         {       c4
317                 \multi 2  < { \stemup .. } { \stemdown .. } >
318                 c2 
319         }
321         this modifies \stem for the c2
323         * put errorlevel in Input class
325         * junk nesting slurs
327         * integrate midi-elts from mi2mu and lily?
329         * cautionary accidental
331         * score-bar-scripts
332         FMR: Free memory read:
333           * This is occurring while in:
334                 Bar_column::do_substitute_dependency(Score_element*,Score_element*) [bar
335         -column.cc:29]
336                 Score_element::unlink() [score-elem.cc:383]
337                 Paper_score::set_breaking(const Array<Column_x_positions>&) [p-score.cc:
338         150]
339                 Paper_score::calc_breaking() [p-score.cc:189]
340                 Paper_score::process() [p-score.cc:203]
341                 Score::run_translator(Music_output_def*) [score.cc:117]
342           * Reading 4 bytes from 0x65d3a0 in the heap.
343           * Address 0x65d3a0 is 160 bytes into a freed  block at 0x65d300 of 208 bytes.
344           * This block was allocated from:
345                 malloc         [rtlib.o]
346                 __builtin_new  [libgcc.a]
347                 Span_score_bar::clone()const [span-score-bar.hh:20]
348                 Item::copy_breakable_items() [item.cc:69]
349                 Item::do_breakable_col_processing() [item.cc:89]
350                 Score_element::calcalute_dependencies(int,int,void(Score_element::*)()*)
351          [score-elem.cc:171]
352           * There have been 22 frees since this block was freed from:
353                 free           [rtlib.o]
354                 __builtin_delete [libgcc.a]
355                 Span_score_bar::~Span_score_bar() [span-score-bar.hh:18]
356                 Paper_score::set_breaking(const Array<Column_x_positions>&) [p-score.cc:
357         156]
358                 Paper_score::calc_breaking() [p-score.cc:189]
359                 Paper_score::process() [p-score.cc:203]
360         Postprocessing elements... 
361         TeX output to score-bar-scripts.tex...
364 3RD PARTY BUGS:
366         * redhat (v?) graphical install bomb-out?
368         * egcs-1.03 ice: stem.cc:327; should localize bug (mine's still 10K)
370         * gcc 2.8.1: see ice and RESIZE_ICE
372         * xdvi: PS in magnifying glass.
374         * GNU diff 2.7: diff -rN does not see a new directory with empty file
376         * GNU patch 2.1: <must find simple example> if patch chokes on a
377           hunk, or on allegedly unsorted hunks in a diff, it may stop 
378           without a trace of failure (create .rej file, print error or 
379           dump core) and just ignore any further diffs.
381         * glibc 2.0:
383           f = fopen ("/dev/null", "r")
384           assert (feof (f))
386 3RD PARTY PROJECTS:
388         * GNU indent: handle C++
390         * GNU make: move hardcoded builtin rules to runtime ?
392         * GNU patch 
393           - 'double-fix' mode: ignore identical fix, rather than suggest 
394             to revert patch direction when (more or less? exactly) the same 
395             thing is fixed
397 PROJECTS
399         * Scripts:
400         - fix position of bar number
401         - stack scripts in chords:
402           % fingering:        footing:
403             < a-4 c-2 g-1 >   < c-\ltoe e-\lheel >
404         - script-spacing
405         - slur parts as a script
406         - stack parameterised scripts for fingering and footing:
408         * convert-mudela:
409         - automatically add  a \version if not present.
410         - better parsing
411         - make smarter
412         - convert-mudela -e empty.ly
414         * emacs mudela-mode
415         -  should handle block comments too.
416         -  handle lexer modes (\header, \melodic, \lyric) etc.
417         -  indentation
418         -  notenames?
419         -  fontlock: \melodic \melodic
422         * use properties for:
423         - plet?
424         - Staff_sym size
425         - default tempo.
426         - font size
427         - bartypes (get rid of derived Span_bar_engravers)
428         - cadenza mode? 
430         * page handling:
431         - PS output
432         - optimal pagebreaking.
434         * Unicode support? -> man 7 unicode
435         - 16 bit Strings
436         - -u switch
437         - detect of 16/8 bit files
438         - examples to go with it.
440         * Spring_spacer:
441         - write a faster Spring_spacer (without matrices if possible)
442         - use straight LP to find minimal "fitting force"
443         - relate energybound to linelen unitspace fontsize etc.
444         - used fixed point fp
446         * \header
447         - output header info to MIDI too.
449         * a musical dictionary. See Documentation/vocabulary-*, other
450         languages:
451         - explanations
452         - italian
453         - german
454         - dutch
455         - swedish
456          .. ?
458         * chords
459         - guitar chords
460         - chord names
461         - basso continuo
462         - Syntax/parser
463         - MIDI output?
464         - typesetting
466         * Debug logs:
467         - derive lily_stream, Dstream, texstream from ostream?
468         - indentable stream as baseclass for TeX stream, lily stream, Dstream.
469         - use dstream feature in mi2mu
470         - integrate IO checking into stream class
472         * input converters
473         - NIFF?
474         - ABC? 
475         - SMDL?
477         * add to MIDI output:
478         - tempo change
479         - ornaments (and trills?)
480         - repeat
481         - slurs
482         - accents
483         - dynamics
484         - account for rhythmic position in measure
485         - etc.
487         * grace notes
488         - make separate class for Grace_*_engravers 
489         (which is at Voice_gravs level)
490         - make encapsulated spacing problems.
492         * accidentals per Voice_group
494         * Output class, handles : (smallish)
495         - help text /(c) notice?
496         - version line
497         - warning /errors/progress
498         - abort on error/warning; exit status
499         - quiet/ignore-version options
500         - logfile output
502         * piano staff
504         * elaborate Staff_side baseclass:
505         - scripts
506         - text
507         - slur start/end
509         * PS 
510         - speed up PS code.
511         - PS lines to .eps files
512         - write custom prolog
515         * Output an output format independent (ofi) typeset file; and 
516           make ofi2 TeX, MusiXTex, Display PostScript, PostScript,
517           Ascii... interpreters. (difficult)
519         - NIFF ?
520         - Common Music Notation
521         - PostScript output (esp. Beams, Slurs, etc)
522         - Move all Score_elems, into libmutype.a
523         - SGML
526         * Documentation
527         - Doc (C) stuff of sheet music
528         - a better format?  SGML?  TeX?  Info?
529         - a tutorial
531         * more spanners (smallish)
532         - Glissando
533         - trill
535         * Rewrite Stem, Beam and Rhythmic_grouping (hairy)
536         - [c8. c32 c32]
537         - doc on Rhythmic_grouping
538         - general shaving on Beam and Stem
539         - use plet grouping
540         - separate visual from rhythmic info even more
541         - beams over bars
542         - endbeam req should be *after* the duration, so you can do
543         < { [c4]    }
544           { c8. c16 } >
547         * lines:
548         - Ledger lines, should be separate item: Ledger_lines, Ledger_lines
549         - set different line sizes / thicknesses
550         - beam stem showthrough, inter beam sizes (french vs german style)
552         * Collisions
553         - left/right note balls should be handled by Collision:
554         < \multi 2; { \stem 1; <b c> } { <f as b> } >
556         * Keys:
557         - merge key{item} & localkey{item}?
558         - Major/Minor
559         - spacing, national styles?
561         * Support for TAB
562         - redo Notehead to allow digits as heads
563         - add a \tablature {} lexer mode for easy entering
565         * should adjust stemlength for flag number.
567         * breaking:
568         - caching breakpoints
569         - saving them
570         - specify number of lines
572         * markers
574 INPUTLANGUAGE
576         * c4 4 4 4 for c4 c4 c4 c4?
578         * neatly (and readably) expressing concurrent
579         voices
581         * <c f a>4 ?
583         * Viola mode?
585                 @c c g e g 
586         for
587                 c g es g, 
589                 @A c g e g
590         for
591                 cis gis e gis
593         * relative mode for pitch entering
595         * bracket: volta 1,2
597         * configure pitch_byte
599         * rest name configurable
601 SMALLISH PROJECTS
603         * limit memory usage; the full coriolan takes up too much resources.
605         * fix confusing naming in Engraver vs Engraver_group_engraver (context)
607         * progress when creating MIDI elts.
609         * A range for context errors (eg. mark both { and }. )
611         * lyric in staff  (sharpsharp in staff, text below)
613         * half sharps/flats
615         * write Dynamic_line (to group dynamics horizontally)
617         * use Real for all y positions.
618         - use translate_axis( .. ,Y_AXIS)  iso separate variables.
620         * half-sharps, half-flats
622         * adaptive accidental spacing.
624         * handle EOF graciously in error messages.
626         * centered whole rest
628         * declare notenametab?
630         * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
632         * Flower types:
633         - A decent scalar type
634         - String hash
635         - Pointer hash
637         * binsearch/hash for identifiers
639         * stafftypes: voice names/ instrument names.
641         * lily \tempo
643         * C meter iso 4/4, idem for alla breve, etc.
645         * textspanner: center position
647         *   % toe to bheel   four to five
648             %   ^_u            4_5  
649             %     -                           
650             %  --|x--         --|x--
651             %  --|---         --|---
652             %  --|---         --|---
653           (where "to" is a tiny bow)
655         * auxilliary file for caching info.
657         * Text_crescendo
659         * clean solution for staffsize in items.
661         * revise calcideal
663         * volta
665 IDEAS
668         * Output data structures of Mudela in XML/SGML.
670         * create libmudela, or liblily_frontend
672         * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
674         * use an embedded language: Python, Scheme
675         for: 
676                 - Score_elems
677                 - Translators
679         * y -dims in internote? Staff-space? X-dimensions?
681         * Spacing_request for manually adjusting spacing
683         * caching breakpoints
685         * breath marks 
687         * used fixedpoint arithmetic for min. energy.
689         * move towards incremental algorithms.
691         * far fetched language ideas
692         - design meta-language like TeX and Metafont
693         - programming/macros input
695         * versioning stuff (cvt mudela, mudela, etc.)
697         * Klavarskribo?
699         * lyrics in chords still fuck up.
701         * Use hooks/dependency graphs for properties