]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.49
authorfred <fred>
Sun, 24 Mar 2002 19:38:39 +0000 (19:38 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:38:39 +0000 (19:38 +0000)
NEWS
TODO
flower/TODO
flower/configure.in
flower/lgetopt.cc
lily/clef-reg.cc
lily/include/clef-reg.hh

diff --git a/NEWS b/NEWS
index e456d8d44e13cd9954c0e3e5b5e8cb4e8ee7ffcf..7176a07fcbb9012cb21ddc736f1098d35cc9ea93 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,16 @@
+pl 48.hwn1
+       - lsm template
+       - clef in cadenza mode.
+       - notename clear
+       - \command bla; for \meter, \clef, \octave etc.
+
+pl 48
+       - notenames init
+       - Duration order -> grouping
+       - broken key s
+       - default octave
+******
+april 3
 pl 47
        - dynamic flowerlib
        - Input mods: now use Source_file iso Sources
diff --git a/TODO b/TODO
index 6e3d3f5c938662d12320551c4b34b29479f40e8e..2d56c054f3cbe8ce097a7026b46c2c1925793cfd 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,5 +1,4 @@
 before 0.1
-       * fix mi2mu
 
        * update 20 pt table
 
@@ -9,6 +8,8 @@ before 0.1
        
        * remove unnecessary or confusing constructs from .ly
 
+       * key undo
+
 This is an assorted collection of stuff that will be done, might be
 done, or is an idea that I want to think about
 
@@ -17,23 +18,17 @@ PARSER
 
 MAKE-STUFF
 
-       * flower config: separate optiflags.
-
        * do platform stuff: configure, header(s), targets, build (out?)
        
 BUGS
 
-       * key at clef change.
-
-       * key undo
-
-       * key at broken :||:
+       * help-lines
 
        * [c8. c32 c32]
 
        * cis ( | ) cis
 
-       * parser error handling (can you say Segfault?)
+       * lilypond - -> 
 
 SEVERELY LACKING:
 
@@ -49,8 +44,6 @@ FURTHER FOR ORCHESTRAL SCORE:
 
 INPUTLANGUAGE
 
-       * unix style paths for LILYINCLUDE ENV
-
        * configure pitch_byte
 
        * special key.
@@ -63,9 +56,6 @@ INPUTLANGUAGE
 
        * Raw request syntax
 
-       * uniformate: \clef\violin, \clef"violin", \geometric 1.4, 
-         \meter{ 2/4 }, etc.
-
        * subtime with Subtle_reqs
 
 SMALLISH PROJECTS
@@ -73,6 +63,10 @@ SMALLISH PROJECTS
        * bugreport to doc++ devel: struct not in class hier; public
        virtual baseclasses
 
+       * half-sharps, half-flats
+       
+       * unix style paths for LILYINCLUDE EN
+
        * rpm package buildroot
 
        * indentable stream for TeX stream, lily stream, Dstream.
@@ -81,12 +75,12 @@ SMALLISH PROJECTS
        
        * caching breakpoints / saving them. 
 
-       * key { C } 
-       
        * use dstream feature in mi2mu
 
         * qtor, btor, mtor-> tor( QUIET_ver ), tor( DEBUG_ver ), etc.
 
+       - declare notenametab?
+
        * use tors feature in lily
 
        * do conventional keys (C G A, F B E, a e fis, d as des, etc ), 
@@ -141,8 +135,6 @@ DOC
 
        * all errors
 
-       * a decent webpage
-
        * a test suite
 
 FUTURE
@@ -151,7 +143,7 @@ FUTURE
        
        * multiple scripst.
 
-       * mixed  fontsizes
+       * mixed fontsizes
 
        * put scripts on bars
 
@@ -173,7 +165,7 @@ FUTURE
 
        * revise calcideal
 
-       * eentje/tweetje
+       * volta
 
        * piano staff
 
index a0188c47f8fa59a777db5f666655c6a7ceed4d2f..3e10b2b3af89a4d474951cd0926c165cba44f844 100644 (file)
@@ -1,10 +1,6 @@
-       * Autoconf configure script.
-
        * fix/junk ambiguous String constructor overloads, e.g.:
          String( int ) and String( char )
 
-       * shared lib.
-
        * LGPL?
 
        * disable this auto conv: const pointer -> bool -> string
@@ -24,3 +20,4 @@
                parsestream.h
                vector.h
 
+       * lgetopt: cmd -, or cmd --
index d35ff32bdd2319b182886779907502f73b48e3c7..e58f93f485336f7552a29e939e76d4df7acc382f 100644 (file)
@@ -4,7 +4,7 @@ AC_INIT(choleski.cc)
 AC_LANG_CPLUSPLUS
 
 optimise_b=yes
-shared_b=yes
+shared_b=no
 LIB_SUFFIX=.a
 
 AC_ARG_ENABLE(shared,
@@ -25,7 +25,6 @@ if test $optimise_b = yes; then
     MODULE_CXXFLAGS="$MODULE_CXXFLAGS -O2 -DSTRING_UTILS_INLINED"
 fi
 
-dnl should enable flower specific compile flags.
 AC_SUBST(MODULE_CXXFLAGS)
 AC_SUBST(MODULE_LDFLAGS)
 AC_SUBST(LIB_SUFFIX)
@@ -39,3 +38,4 @@ AC_CONFIG_HEADER(out/config.hh:config.hh.in)
 CXX="$ac_cv_prog_CXX" ../bin/make_version > out/version.hh
 
 AC_OUTPUT(out/Flower-flags.make:Flower-flags.make.in)
+
index 37e8a00d8c3d48dc644a24098112668d7da965ec..c2e5a3b7902ed9685eb6a2a927c4921eba291262 100644 (file)
@@ -155,7 +155,8 @@ Getopt_long::parseshort()
 }
 
 Long_option_init *
-Getopt_long::operator()() {
+Getopt_long::operator()() 
+{
     if (!next())
        return 0;
     
index f0bff0374c347e5816e0c3aa7e03cf714fa02bba..fc1aef825b00ad80e76e6d03eed287d6822a6a78 100644 (file)
@@ -6,7 +6,7 @@
   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>,
   Mats Bengtsson <matsb@s3.kth.se>
 */
-
+#include "bar.hh"
 #include "clef-reg.hh"
 #include "clef-item.hh"
 #include "debug.hh"
@@ -47,7 +47,16 @@ Clef_register::read_req(Clef_change_req*c_l)
     if (!set_type(c_l->clef_str_))
        c_l->error("unknown clef type ");
 }
-
+void
+Clef_register::acknowledge_element(Staff_elem_info info)
+{
+    if (info.elem_p_->name() == Bar::static_name()) {
+       if (!clef_p_){
+           create_clef();
+           clef_p_->change = false;
+       }
+    }
+}
 bool
 Clef_register::try_request(Request * r_l)
 {
@@ -62,22 +71,22 @@ Clef_register::try_request(Request * r_l)
     return true;
 }
 
+void 
+Clef_register::create_clef()
+{
+    clef_p_ = new Clef_item;
+    clef_p_->read(*this);
+    announce_element(Staff_elem_info(clef_p_,
+                                        clef_req_l_));
+}
+
 void
 Clef_register::process_requests()
 {
-    Time_description const *time_l = get_staff_info().time_C_;
-    if (!clef_req_l_ && (!time_l->whole_in_measure_|| !time_l->when_)) {
-       clef_p_ = new Clef_item;
-       clef_p_->change = false;
-    } else if (clef_req_l_) {
-       clef_p_ = new Clef_item;
+    if (clef_req_l_) {
+       create_clef();
        clef_p_->change = true;
     }
-    if (clef_p_) {
-       clef_p_->read(*this);
-       announce_element(Staff_elem_info(clef_p_,
-                                        clef_req_l_));
-    }
 }
 
 void
index cc3a8a90e9911feb4784146a4f15a867e02e3f30..434ffcd95862aa6855a9fe2abe547852afde85c2 100644 (file)
 class Clef_register : public  Request_register {
     Clef_item *clef_p_;
     Clef_change_req * clef_req_l_;
-
+    void create_clef();
+    void read_req(Clef_change_req*);
+    bool set_type(String);
+protected:
+     virtual void process_requests();
+    virtual void pre_move_processing();
+    virtual void post_move_processing();
+    virtual bool try_request(Request*);
+    virtual void acknowledge_element(Staff_elem_info);
 public:
     int c0_position_i_;
     String clef_type_str_;
 
     /* ************** */
-    virtual void process_requests();
-    virtual void pre_move_processing();
-    virtual void post_move_processing();
-    virtual bool try_request(Request*);
+   
     Clef_register();
     NAME_MEMBERS(Clef_register);
-    void read_req(Clef_change_req*);
-    bool set_type(String);
+   
 };
 #endif // CLEF_HH