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