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