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