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