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