]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.60
authorfred <fred>
Sun, 24 Mar 2002 19:42:21 +0000 (19:42 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:42:21 +0000 (19:42 +0000)
lily/bar.cc
lily/include/register-group.hh
lily/include/register.hh
lily/include/tie-reg.hh
lily/paper-def.cc
lily/register-group.cc
lily/staff-regs.cc
make/lilypond.lsm
make/lilypond.spec

index f0afa9b402307142c43d8e9ff417908a8885f0cc..96071ad385b8a7001f9bf75db1ff2b2e72767040 100644 (file)
@@ -1,3 +1,11 @@
+/*
+  bar.cc -- implement Bar
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
 #include "bar.hh"
 #include "string.hh"
 #include "molecule.hh"
@@ -5,8 +13,6 @@
 #include "lookup.hh"
 #include "debug.hh"
 
-
-
 Bar::Bar( String t)
 {
     type = t;
index fc93216de0b6e272a55743125a415ac646266b9e..fcfc4ba5c6dc4e8ed9efc60c5a091445b67494f6 100644 (file)
@@ -41,6 +41,7 @@ public:
     virtual Request_register * get_register_p(Request_register*reg_l);
     virtual void set_feature(Feature i);
     virtual bool acceptable_request_b(Request*)const;
+    virtual void sync_features() ;
     virtual void pre_move_processing();
     virtual void post_move_processing();
     virtual void acknowledge_element(Staff_elem_info info);
index b86af3d918a5f89359204108fb792ff12669b522..5ba28600ad2061741a9e5179385d231409bd9ceb 100644 (file)
@@ -86,16 +86,23 @@ protected:
       Set Feature of the register(s). Default: ignore Feature.
      */
     virtual void set_feature(Feature){}
+    /**
+      ask daddy for a feature
+     */
+    virtual Scalar get_feature(String type_str);
     /**
       Does this equal or contain a certain register?
      */
+
+    virtual void sync_features() {}
+    
     virtual bool contains_b(Request_register*reg_l)const;
     /**
       Get information on the staff. Default: ask daddy.
       */
     virtual Staff_info get_staff_info();
-    
-    
+
+
     virtual void do_print()const;  
 public:
     /** Every Request_register (except for the 'top' which is directly
index 34387c964d4dc0f5ed156786ccb64b56b7cc1416..082de4e70cd0f4b5ea59a8b9c6cf8bd5acc31697 100644 (file)
@@ -17,15 +17,19 @@ class Tie_register : public Request_register {
     Tie * tie_p_;
     Moment end_mom_;
     Tie_req * req_l_;
+    int dir_i_;
     Tie_req *end_req_l_;
+    
 protected:
     virtual ~Tie_register();
     virtual void acknowledge_element(Staff_elem_info);
     virtual bool try_request(Request*);
     virtual bool acceptable_request_b(Request*);
+    virtual void sync_features();
     virtual void process_requests();
     virtual void post_move_processing();
     virtual void pre_move_processing();
+    virtual void set_feature(Feature);
 public:
     Tie_register();
     NAME_MEMBERS(Tie_register);
index b2602dd355a0e6c8add89ed4a4de5b34b9be14ae..256f3b88050e6a52262b34e49f7145ca7ca05adb 100644 (file)
@@ -40,7 +40,7 @@ Paper_def::Paper_def(Lookup *l)
     linewidth = 15 *CM_TO_PT;          // in cm for now
     whole_width = 8 * note_width();
     geometric_ = sqrt(2);
-    outfile = "lelie.out";
+    outfile = "lelie.tex";
 }
 
 Paper_def::~Paper_def()
index 2180a1bf15f1aa0fa91e35fd987bf0de3718bd8c..6e516df21b3afc5d1642db0d1edfe5202cf5e7ce 100644 (file)
@@ -32,6 +32,17 @@ Register_group_register::set_feature(Feature d)
     }
 }
 
+void
+Register_group_register::sync_features()
+{
+    iter_top(reg_list_, i);
+    while (i.ok()) {
+
+       Request_register *reg_l = i++; 
+       reg_l->sync_features();
+    }
+}
+
 void
 Register_group_register::pre_move_processing()
 {
index 9f5cc9cd81daf4788f40327c47c31d1e8e65f3f2..b6dc1165b7e7bbd970bcdfe775669b5efff32831 100644 (file)
@@ -62,7 +62,7 @@ Staff_registers::change_group(Group_change_req * greq_l,
     }
     Voice_group_registers * new_group_l = get_group(new_str);
     new_group_l->add(regs_p);
-    
+    regs_p->sync_features(); 
     mtor << "processed change_group " << get_staff_info().when()<<"\n";
     print();
 }
index 7c675336f25b8a37f570b82ba9ee8dbef1cfb572..789c602b6de8a555651c8c41834f6369f5b271e8 100644 (file)
@@ -2,7 +2,7 @@
 
 Begin3
 Title: LilyPond
-Version: 0.0.59
+Version: 0.0.60
 Entered-date: 05/05/97
 Description: LilyPond is a program which converts a music-script (mudela) into
 TeX output, or MIDI to produce multi-staff scores. Features include multiple
@@ -13,7 +13,7 @@ Author: hanwen@stack.nl (Han-Wen Nienhuys)
        jan@digicash.com (Jan Nieuwenhuizen)
 Maintained-by: hanwen@stack.nl (Han-Wen Nienhuys)
 Primary-site: pcnov095.win.tue.nl /pub/lilypond/  
-       300k lilypond-0.0.59.tar.gz
+       300k lilypond-0.0.60.tar.gz
 Alternate-site: 
 Original-site: 
 Platform: unix/win32, GNU C++
index 4fa3667bc0b38d293fdd7aff8cf30b940b656d05..fb892b56f9fa98c7cc94dc03bf268ab420f07cfd 100644 (file)
@@ -1,9 +1,9 @@
 Name: lilypond
-Version: 0.0.59
+Version: 0.0.60
 Release: 1
 Copyright: GPL
 Group: Applications/Publishing
-Source0: pcnov095.win.tue.nl:/pub/lilypond/lilypond-0.0.59.tar.gz
+Source0: pcnov095.win.tue.nl:/pub/lilypond/lilypond-0.0.60.tar.gz
 Summary: A preprocessor to make TeX typeset music.
 URL: http://www.stack.nl/~hanwen/lilypond
 Packager: Han-Wen Nienhuys <hanwen@stack.nl>