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