]> git.donarmstrong.com Git - lilypond.git/blobdiff - TODO
partial: 1.0.1.jcn
[lilypond.git] / TODO
diff --git a/TODO b/TODO
index 5af191f9f2e8aa5f77b86f8e9f78aebe4bf6540a..7f9b738c65c41f91cae4624ce14c54f3e80c1091 100644 (file)
--- a/TODO
+++ b/TODO
-Features you cannot find in the doco as working, should be mentioned her.
+Features you cannot find in the doco as working, should be mentioned here.
 
 This is an assorted collection of stuff that will be done, might be
 done, or is an idea that I want to think about
 
 Most of the items are marked in the code as well, with full explanation. 
-grep for TODO and ugh/ugr
+grep for TODO and ugh/ugr/urg
 
+0.2:
+       * junk My_lily_parser::abbrev_beam_type_i_ 
 
-IMPORTANT
-       * add mi2mu example output (.midi.ly and .gif) to website
+       * w32 blurb
 
-       * piano staff
+       * make sure all ex's have a mudela-version
 
-       * decent spacing
-       
-       * implement better breaking algorithm
+       * notes almost touch barline: whitespace at the begin of the bar 
+        should be at fixed at at least (about) one interline.
+        hack at spring-spacer.cc:662 doesn't work anymore
+
+       * do rest-collisions for Multi_measure_rests as well.
+
+       * split error/warning in error/warning/non_fatal_error
+
+       * add a Duration_convert member to Duration_iter to set parameters.
+       Junk global duration settings. 
+       * deps for ly2dvi
+
+       * fix .txt rules / make dist from freshly configured tar-ball
+
+       * document use of ly2dvi more prominently
+
+       * clean up abbrev/plet/beam/abbrevbeam/duration mess in parser.
+
+       * minimum length second part broken tie
+       * en-,discouraged linebreaking: 
+         - handle DISALLOW < penalty > FORCE
+         - discourage breaking of slurs
+
+       * multibar rest
+         - symbol(s)
+
+       * fix variable define/lookup parser global<->paper
+
+       * fix position of bar number
+
+       * fix position of brace in conjunction with bracket
+
+       * fix title/instrument placements; see input/test/title.ly
+
+       * <\voiceone c4. \voicetwo c4>
+
+       * add full cello suites to web site (kom op, Maarten!)
+
+       * rename
+         - plet -> tuplet
+         - grav -> engraver
+         - measure -> bar
+         - abbreviation-beam -> (measured/unmeasured) tremolo
+
+       * libtoolize flowerlib
+       * shared lib
+
+       * robustify Beam (in case of no stems, 32nd notes)
+
+       * check for groff / troff/ nroff et
 
-       * update 20 pt table
+       * use kpsepath to find all TeX dirs
+       - configure.in 
+       - clean-fonts.sh
+
+       * nicen examples:
+       - remove all \multi
+       - break-up heavily-nested score blocks
+
+       * disable spaces in TeX stuff
        
-       * use Hungarian throughout code
+       * handle ^C for tmp/file creation.
+
+       * dots & rest collisions.
+
+       * add a screenshot to the website. :)
+
+       * documentation
+       - introduction?
+       - info?
+       - LaTeX?
+       - more manpages?
+
+       * naming Mozarella, Madeira, Muella?
+
+       * versioning for Feta
+
+       * the warning about the negative slur/tie length appears twice
+       which is irritating.
+
+       * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
+       in the middle:
+
+       * the tenuto script is too long and too thin
+
+       * the bracket is ugly (wings are too parabolic, should be more circular)
+       * better hshift (dots, distance, head dependent)
+
+       * stem len adjustable
+
+STUFF
+       * convert-mudela:
+       - automatically add  a \version if not present.
+       - better parsing
+       - make smarter
+       - fix convert-mudela -e *.ly ;
+       - convert-mudela -e empty.ly
+       - redo in python.
+
+        * clefs (AG): The "8" should appear closer to the actual clef,
+          touching it.
+
+       * give Items/Spanners access to unbroken originals      
+
+       * generalised scopes for Parser/identifiers.
+
+       * speed up PS code.
+
+       * scoping for properties
+
+       {       c4
+               \multi 2  < { \stemup .. } { \stemdown .. } >
+               c2 
+       }
 
-       * decent TeX page layout
+       this modifies \stem for the c2
 
-       * per staff item-widths [JCN]
+       * emacs mudela-mode
+       -  should handle block comments too.
+       -  handle lexer modes (\header, \melodic, \lyric) etc.
+       -  indentation
+       -  notenames?
+       -  fontlock: \melodic \melodic
 
-       * script priority
+       * use properties for:
+       - Text_style
+       - default_octave
+       - plet?
+       - default_duration?
+       - default abbreviation
+       - Staff_sym size
+       - default tempo.
+       - font size
+       - bartypes (get rid of derived Span_bar_engravers)
+       - cadenza mode? 
+       - MIDI instrument
+       - staff title
 
-       * a Hands on tutorial [HKN]
+       * page handling:
+       - PS output
+       - optimal pagebreaking.
+
+       * put errorlevel in Input class
+
+       * AFM for font input?
+
+
+3RD PARTY BUGS:
+
+       * tried egcs 1.0.2: failed on lily/stem.cc -> flower/include/interval.hh
+         should narrow down and send bug report
+
+       * gcc 2.8.1: see ice and RESIZE_ICE
+
+       * xdvi: PS in magnifying glass.
+
+       * GNU patch 2.1: hardcoded limit of 1024 to the linelength
+
+       * GNU diff 2.7: diff -rN does not see a new directory with empty file
+
+       * GNU patch 2.1: <must find simple example> if patch chokes on a
+         hunk, or on allegedly unsorted hunks in a diff, it may stop 
+         without a trace of failure (create .rej file, print error or 
+         dump core) and just ignore any further diffs.
 
 PROJECTS
+
+       * Unicode support?
+       - 16 bit Strings
+       - -u switch
+       - detect of 16/8 bit files
+       - examples to go with it.
+
+       * Spring_spacer:
+       - write a faster Spring_spacer (without matrices if possible)
+       - use straight LP to find minimal "fitting force"
+       - relate energybound to linelen unitspace fontsize etc.
+       - used fixed point fp
+
+       * \header
+       - output header info to MIDI too.
+
+       * Add mudela-output to Rosegarden.
+
+       * a musical dictionary. See Documentation/vocabulary-*, other
+languages:
+       - explanation
+       - italian
+       - german
+       - dutch
+       - swedish
+        .. ?
+
+       * chords
+       - guitar chords
+       - chord names
+       - basso continuo
+       - Syntax/parser
+       - MIDI output?
+       - typesetting
+
+       * integrate midi-elts from mi2mu and lily?
+
+       * Debug logs:
+       - derive lily_stream, Dstream, texstream from ostream?
+       - indentable stream as baseclass for TeX stream, lily stream, Dstream.
+       - use dstream feature in mi2mu
+       - integrate IO checking into stream class
+
+       * input converters
+       - NIFF?
+       - ABC? 
+       - SMDL?
+
+       * add to MIDI output:
+       - tempo change
+       - ornaments (and trills?)
+       - repeat
+       - slurs
+       - accents
+       - dynamics
+       - account for rhythmic position in measure
+       - etc.
+
+       * grace notes
+       - make separate class for Grace_*_engravers 
+       (which is at Voice_gravs level)
+       - make encapsulated spacing problems.
+
+       * accidentals per Voice_group
+
        * Output class, handles : (smallish)
        - help text /(c) notice?
        - version line
@@ -37,65 +255,52 @@ PROJECTS
        - quiet/ignore-version options
        - logfile output
 
+       * piano staff
+
        * elaborate Staff_side baseclass:
        - scripts
        - text
        - slur start/end
 
+       * cautionary accidental
+
        * Output an output format independent (ofi) typeset file; and 
-         make ofi2 TeX, MusixTex, PostScript, Ascii... interpreters. (difficult)
-       - poor man's ascii output possible?
-       - MusixTeX output possible? (would have to be done before break calc.)
+         make ofi2 TeX, MusiXTex, Display PostScript, PostScript,
+         Ascii... interpreters. (difficult)
+
        - NIFF ?
+       - Common Music Notation
        - PostScript output (esp. Beams, Slurs, etc)
-       - Move PScore, Items, Spanners etc. into libmutype.a
-
-
-       * separate Score_elem settings in user-settable (properties
-       .. ) and non-user-settable part.
+       - Move all Score_elems, into libmutype.a
+       * Documentation
+       - Doc (C) stuff of sheet music
+       - a better format?  SGML?  TeX?  Info?
+       - a tutorial
 
        * TeX spanners , use texbeam.cc as an example (smallish)
        - Glissando
        - trill
-       - bracket
 
        * Rewrite Stem, Beam and Rhythmic_grouping (hairy)
        - [c8. c32 c32]
-       - interbeam height
-       - doc on Rhythmic_grouping
+       - doc on Rhythmic_grouping
        - general shaving on Beam and Stem
        - use plet grouping
-       - abbreviations [c2 c2]1/2
        - separate visual from rhythmic info even more
        - beams over bars
 
-       * Redo MIDI output to use Registers: (Difficult)
-       - remember more horizontal info than melodics:
-       - tempo change
-       - repeat
-       - slurs
-       - dynamics etc.
-
-
-       * Redo font support 
-       - use GSharp fonts?
-       - rename mf fonts to avoid conflicts with musixtex
-       - check (c) issues
-       - use own fonts/update musixtex fonts/find older (c)-less fonts
-       - hack up mf sources for decent spacing info (and then 
-       read AFM/TFM directly, for text too)
-
+       * Redo fonts
+       - adapt for multiple font sizes.
 
        * lines:
-       - Ledger lines, should be separate item: Ledger_lines, Ledger_lines_reg
+       - Ledger lines, should be separate item: Ledger_lines, Ledger_lines
        - set different line sizes / thicknesses
-       - stem down too far right
        - beam stem showthrough, inter beam sizes (french vs german style)
 
        * Collisions
-       - bring Collision::do_pre_processing to haircutter
        - left/right note balls should be handled by Collision:
-       < \multivoice { \stem 1; <b c> } { <f as b> } >
+       < \multi 2; { \stem 1; <b c> } { <f as b> } >
 
        * Keys:
        - merge key{item} & localkey{item}?
@@ -103,193 +308,123 @@ PROJECTS
          besides lists of flats/sharps, possibly via declaration
        - key transposition. 
        - key undo: \key bes; .. . \key; should print natural   
-       - special key: \key 'b bes bis';
+       - special key: \key bes 'b bis';
        - spacing, national styles?
 
-PARSER
-       * Duration -> Musical_duration, typedef Rational Duration?
-
-**********************
-HKN buglist:
-
-noten staan vaak te dicht aan de rechterkant van de maatstreep.
-
-tekst staat erg ver van notenbalken af
-
-waarom geen ; achter dingen in \paper? (\textwidth 180\mm)
-(sowieso: wanneer wel en geen ; ?)
-
-Onduidelijk wanneer wel en geen \ voor een woord. Maak liever
-verplichte regels
-
-****************
-
-
-BUGS
-       * RPM permissions -> redhat!
-
-       * spurious Weird stem size warnings
+       * Support for TAB
+       - redo Notehead to allow digits as heads
+       - add a \tablature {} lexer mode for easy entering
 
-       * staccato dot positions.
+       * should adjust stemlength for flag number.
 
-       * stacked scripts.
+       * breaking:
+       - caching breakpoints
+       - saving them
+       - penalties
+       - specify number of lines
 
-       * lilypond - -> crash
+       * Rhythmic staff.
 
-       * standchen triool beam up/down
+       * markers
 
-SEVERELY LACKING:
-
-       * SPEED!
-
-       * grace notes
-
-
-FURTHER FOR ORCHESTRAL SCORE:
+INPUTLANGUAGE
 
-       * multibar rests
+       * c4 4 4 4 for c4 c4 c4 c4?
 
-       * barnumbers, markers
+       * neatly (and readably) expressing concurrent
+       voices
 
-       * abbreviations c4=16
+       * <c f a>4 ?
 
-       * doublebar "||", finishbar "|||" (or "||." ?)
+       * Viola mode?
 
-INPUTLANGUAGE
+               @c c g e g 
+       for
+               c g es g, 
 
-       * should have \require{package.ly} to read req'd packages.
+               @A c g e g
+       for
+               cis gis e gis
 
        * relative mode for pitch entering
 
        * bracket (bracketplets)
 
-       * \duration 8; e*2/3
-
        * configure pitch_byte
 
-       * figured bass?
-
        * rest name configurable
 
        * Raw request syntax
 
-       * subtime with Subtle_reqs
-
-PROJECTS
-
-       * Do RTTI i.s.o. static_name(), name() and request-junk.
-
-       * add remove() methods to all items/spanners.
-
 SMALLISH PROJECTS
 
-       * replace Score_elem member access by get()/set() methods, to enable
-       future embedded code.
-
-       * --fast/--draft: leave out constraints
+       * progress when creating MIDI elts.
 
-       * write Dynamic_line (to group dynamics horizontally)
-
-       * write Rest_collision
-
-       * use Real for y positions.
+       * A range for context errors (eg. mark both { and }. )
 
-       * shared lib on Solaris too.
+       * lyric in staff  (sharpsharp in staff, text below)
 
-       * bugreport to doc++ devel: struct not in class hier; public
-       virtual baseclasses
+       * write Dynamic_line (to group dynamics horizontally)
 
-       * cleanup lily-proto.hh and proto.hh
+       * use Real for all y positions.
+       - use translate_axis( .. ,Y_AXIS) 
 
        * half-sharps, half-flats
 
        * adaptive accidental spacing.
 
-       * Score_elem invisible_b_ flag
-       
-       * unix style paths for LILYINCLUDE env
-
-       * indentable stream as baseclass for TeX stream, lily stream, Dstream.
-
        * handle EOF graciously in error messages.
-
+oo
        * caching Item/spanner dimensions.
 
        * centered whole rest
 
-       * caching breakpoints / saving them. 
-
-       * use dstream feature in mi2mu
-
         * qtor, btor, mtor-> tor( QUIET_ver ), tor( DEBUG_ver ), etc.
        - use tors feature in lily (?)
 
-       * declare symtab
-
        * declare notenametab?
 
        * midi esp.: use I32 iso int where 32 bits are needed (or assumed...)
 
-       * parshape
-
-       * read from mmap directly: bugreport to flex developers->
-       yy_scan_buffer in C++..
+       * Flower types:
+       - A decent scalar type
+       - String hash
+       - Pointer hash
 
        * binsearch/hash for identifiers
 
        * stafftypes: voice names/ instrument names.
 
-       * Decent TeX titledefs (\tempo, \metron, etc. )
+       * TeX stuff:    
+       - Decent TeX titledefs (\tempo, \metron, etc. )
+       - decent TeX page layout
+
+       * lily \tempo
 
        * C meter iso 4/4, idem for alla breve, etc.
 
        * textspanner: center position
 
-       * script-spacing
-
        * Brackets
-
-       * caching of Register_group_register hierarchies.
-
-       * use (char *) iso. String for communication between lexer and
-       parser.
-
-       * configure idealspacing: arithmetic spacing
-
-       * LilyPond .deb. Other packaging methods?
-
-       * detect -pipe
-
-DOC
-       * Score_elem structure.
-
-       * all errors
        
-       * config of TeX macros
-
-       * a test suite
-
-       * hacking-HOWTO
+       * Scripts:
+       - stack scripts in chords:
+         % fingering:        footing:
+           < a-4 c-2 g-1 >   < c-\ltoe e-\lheel >
+       - script-spacing
+       - slur parts as a script
+       - stack parameterised scripts for fingering and footing:
 
-FUTURE
+            % toe to bheel   four to five
+           %   ^_u            4_5  
+           %     -                           
+           %  --|x--         --|x--
+           %  --|---         --|---
+           %  --|---         --|---
+          (where "to" is a tiny bow)
 
        * auxilliary file for caching info.
 
-       * Reg_configure_request
-
-       * slur parts as a script
-       
-       * mixed fontsizes
-
-       * put scripts on bars
-
-       * guitar chord
-
-       * Junk Staff_column, and find the requests while walking the
-       Voices.?
-
-       * better beamslope calculation: QLP for beams?
-
        * Text_crescendo
 
        * clean solution for staffsize in items.
@@ -299,39 +434,24 @@ FUTURE
        * volta
 
 IDEAS
-       * check out CORBA for Score_elems?
 
-       * derive PCol from Score_elem? More in Score_elems? Spacing?
-
-       * scoping in Lexer: do general id- assignments in mudela.
-
-       ID '=' EXPR;
+       * Output data structures of Mudela in XML/SGML.
 
        * create libmudela, or liblily_frontend
 
        * move MIDI stuff (including Quantization) to a ANSI C libmidi library.
 
-       * use an embedded language: Python
+       * use an embedded language: Python, Scheme
        for: 
                - Score_elems
-               - Registers
+               - Engraver
+               - Translators
                - Complex mudela?
 
-       * y -dims in internote?
-
-       * merge Atom and Symbol?
-
-       * merge common code of Item, Atom/Molecule
+       * y -dims in internote? Staff-space? X-dimensions?
 
        * Spacing_request for manually adjusting spacing
 
-       * Staff_group, Score_request_register.
-
-       * Meters/bars should be aligned, which is difficult if
-       we get different keychanges in different staffs.
-
-       * Horizontal_align item for meter,bar etc.
-
        * caching breakpoints
 
        * #c <-> cis
@@ -340,25 +460,30 @@ IDEAS
 
        * used fixedpoint arithmetic for min. energy.
 
-       * default convert mudela-file.ly -> mudela-file.tex
-         - rename {standchen,scsii-menuetto,...}.tex
+       * move towards incremental algorithms.
 
-       * (related with above) --simple-mudela option for lily,
-         to lily input files with one-voice simple mudela 
-         (no red tape)
+       * far fetched language ideas
+       - design meta-language like TeX and Metafont
+       - programming/macros input
 
-       * stack scripts in chords:
-         % fingering:        footing:
-           < a-4 c-2 g-1 >   < c-\ltoe e-\lheel >
+       * Global type registration.
 
-       * parameterised scripts for fingering and footing:
+               My_class * p = create_object( My_class )
+               Type t = get_type ( *p );
+               if ( t <= get_type( q ))
+                       ..
 
-            % toe to bheel   four to five
-           %   ^_u            4_5  
-           %     -                           
-           %  --|x--         --|x--
-           %  --|---         --|---
-           %  --|---         --|---
-          (where "to" is a tiny bow)
+       * versioning stuff (cvt mudela, mudela, etc.)
 
-       * move towards incremental algorithms.
+
+       * dots into separate item.
+
+       * use String iso Text_def for lyrics.
+
+       * Klavarskribo?
+
+       * lyrics in chords still fuck up.
+
+       * pushgroup/popgroup
+
+       * Use hooks/dependency graphs for properties