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