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