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