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