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