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