]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/ : rename Request to Event
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 28 Sep 2002 22:19:11 +0000 (22:19 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 28 Sep 2002 22:19:11 +0000 (22:19 +0000)
83 files changed:
ChangeLog
lily/accidental-engraver.cc
lily/ambitus-engraver.cc
lily/arpeggio-engraver.cc
lily/auto-beam-engraver.cc
lily/auto-change-iterator.cc
lily/bar-check-iterator.cc
lily/bar-engraver.cc
lily/bar-line.cc
lily/beam-engraver.cc
lily/breathing-sign-engraver.cc
lily/chord-name-engraver.cc
lily/chord-tremolo-engraver.cc
lily/chord.cc
lily/completion-note-heads-engraver.cc
lily/custos-engraver.cc
lily/dynamic-engraver.cc
lily/dynamic-performer.cc
lily/extender-engraver.cc
lily/figured-bass-engraver.cc
lily/fingering-engraver.cc
lily/global-translator.cc
lily/grob-pitch-tuple.cc
lily/hyphen-engraver.cc
lily/include/engraver.hh
lily/include/lily-proto.hh
lily/include/music-list.hh
lily/include/music-sequence.hh
lily/include/performer.hh
lily/include/request-chord-iterator.hh [deleted file]
lily/include/request.hh [deleted file]
lily/include/translator-group.hh
lily/include/translator.hh
lily/include/type-swallow-translator.hh
lily/key-engraver.cc
lily/lexer.ll
lily/ligature-bracket-engraver.cc
lily/ligature-engraver.cc
lily/lyric-combine-music-iterator.cc
lily/lyric-engraver.cc
lily/lyric-performer.cc
lily/lyric-phrasing-engraver.cc
lily/melisma-engraver.cc
lily/mensural-ligature-engraver.cc
lily/multi-measure-rest-engraver.cc
lily/new-accidental-engraver.cc
lily/note-head-line-engraver.cc
lily/note-head.cc
lily/note-heads-engraver.cc
lily/note-name-engraver.cc
lily/note-performer.cc
lily/output-property-music-iterator.cc
lily/parser.yy
lily/part-combine-music-iterator.cc
lily/phrasing-slur-engraver.cc
lily/piano-pedal-engraver.cc
lily/piano-pedal-performer.cc
lily/porrectus-engraver.cc
lily/request-chord-iterator.cc [deleted file]
lily/request-chord.cc
lily/request.cc [deleted file]
lily/rest-engraver.cc
lily/rhythmic-column-engraver.cc
lily/script-engraver.cc
lily/sequential-iterator.cc
lily/simple-music-iterator.cc
lily/slur-engraver.cc
lily/spacing-engraver.cc
lily/span-dynamic-performer.cc
lily/stem-engraver.cc
lily/swallow-engraver.cc
lily/tab-note-heads-engraver.cc
lily/text-engraver.cc
lily/text-item.cc
lily/text-spanner-engraver.cc
lily/thread-devnull-engraver.cc
lily/tie-engraver.cc
lily/tie-performer.cc
lily/time-scaled-music-iterator.cc
lily/tuplet-engraver.cc
lily/type-swallow-translator.cc
lily/voice-devnull-engraver.cc
scm/music-types.scm

index 1fd875d5cc615ab7407f24d9b59c612ef7ff3201..353d98ebebb579e762ccc0675d7ca6e03779daf1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2002-09-28  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * lily/ : rename Request to Event
+
        * lily/parser.yy (command_element): move clef stuff into Scheme.
 
        * lily/:  rename length_mom () to get_length()
index 803fa1a5248ab04fe13e4c22991ad6a40e0f5172..44f162caac09a0f466076dc461df21b77aefde03 100644 (file)
@@ -5,7 +5,7 @@
   Modified 2001-2002 by Rune Zedeler <rz@daimi.au.dk>
 */
 
-#include "request.hh"
+#include "event.hh"
 
 #include "item.hh"
 #include "tie.hh"
index 5a664a8cc2bfab73fec6d1f41240d1473171fb5d..fb153cf5e572f9c681fcc48f35d1a8708993dff2 100644 (file)
@@ -10,7 +10,7 @@
 #include "item.hh"
 #include "note-head.hh"
 #include "staff-symbol-referencer.hh"
-#include "request.hh"
+#include "event.hh"
 #include "pitch.hh"
 
 /*
  *
  * - If a piece consists of several loosely coupled sections, should
  * there be multiple ambitus grobs allowed, one for each section?
- * Then there probably should be some "\ambitus" request added to
+ * Then there probably should be some "\ambitus" event added to
  * mudela, stating where an ambitus grob should be placed.  This
  * ambitus grob should then represent the ambitus in the range of time
- * between this "\ambitus" request and the next one (or the end of the
- * piece, if there is no more such request).  To be compliant with the
+ * between this "\ambitus" event and the next one (or the end of the
+ * piece, if there is no more such event).  To be compliant with the
  * current implementation, we might implicitly assume an "\ambitus"
- * request at the beginning of the piece, but then the question where
+ * event at the beginning of the piece, but then the question where
  * to put this first ambitus grob (before/after the clef?) becomes
  * even more urgent.
  *
index 008b8a00573cb9996c1207354473f45ffbde31aa..278f368543afdc25ef0e753eec5c255bcfff4043 100644 (file)
@@ -9,7 +9,7 @@
 #include "engraver.hh"
 #include "group-interface.hh"
 #include "item.hh"
-#include "request.hh"
+#include "event.hh"
 #include "arpeggio.hh"
 #include "stem.hh"
 #include "rhythmic-head.hh"
index 55e47bb13c319beb27a2fe1f53b5ad14429f02ce..9435bc82d5eb48b5d8a4c52fabb4e16dd22d88c2 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "beaming.hh"
-#include "request.hh"
+#include "event.hh"
 #include "beam.hh"
 #include "stem.hh"
 #include "warn.hh"
index 64f67ca43a90cb1e8b7cb097ef4b3f553d779470..5bd9bc064832e96402895af86369adc26ba14f26 100644 (file)
@@ -10,7 +10,7 @@
 #include "music.hh"
 #include "auto-change-iterator.hh"
 #include "translator-group.hh"
-#include "request.hh"
+#include "event.hh"
 
 
 
index 5dd0266768454543ef12cafc1a70229b03db4e3b..5870e7a5ef007c31772ff2e8098153f9693df13b 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include "simple-music-iterator.hh"
-#include "request.hh"
+#include "event.hh"
 #include "translator-group.hh"
 
 /*
index 8b4cc844e7f0eca36c6b95cedf8065d9931cf740..e3555f0bce6d549e548092e6fa57be39ee402ade 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "bar-line.hh"
 #include "score-engraver.hh"
-#include "request.hh"
+#include "event.hh"
 #include "engraver-group-engraver.hh"
 #include "warn.hh"
 #include "item.hh"
index 03d8f618998f261451bd21c2dd2d4d1dabc16a28..43137f1c4d444a984a96b77016f6b21c436612ce 100644 (file)
@@ -192,7 +192,7 @@ Bar_line::get_staff_bar_size (SCM smob)
 ADD_INTERFACE (Bar_line, "bar-line-interface",
   "Bar line.
 
-This is a request to print a special bar symbol. It replaces the 
+Print a special bar symbol. It replaces the 
 regular bar symbol with a special
 symbol.  The argument @var{bartype} is a string which specifies the
 kind of bar to print.  Options are @code{:|},
index a4ad77040023d4e22510f90744f6c3ef102ee83d..78848948d97d19a348e66ed11d22b6cb65b1e2ed 100644 (file)
@@ -8,7 +8,7 @@
  */
 #include "engraver-group-engraver.hh"
 #include "engraver.hh"
-#include "request.hh"
+#include "event.hh"
 #include "beam.hh"
 #include "stem.hh"
 #include "warn.hh"
@@ -296,7 +296,7 @@ Beam_engraver::acknowledge_grob (Grob_info info)
 
 
 ENTER_DESCRIPTION(Beam_engraver,
-/* descr */       "Handles Beam_requests by engraving Beams.    If omitted, then notes will be
+/* descr */       "Handles Beam events by engraving Beams.    If omitted, then notes will be
 printed with flags instead of beams.",
 /* creats*/       "Beam",
 /* accepts */     "beam-event abort-event",
@@ -337,7 +337,7 @@ Grace_beam_engraver::valid_end_moment ()
 
 
 ENTER_DESCRIPTION(Grace_beam_engraver,
-/* descr */       "Handles Beam_requests by engraving Beams.  If omitted, then notes will
+/* descr */       "Handles Beam events by engraving Beams.  If omitted, then notes will
 be printed with flags instead of beams. Only engraves beams when we
 are at grace points in time.
 ",
index 97c6cb4ecf41d5b76a9bdf4bce5f5cf67436f85d..0fce5f1700e3c32cbcbf7d8143f4e3948534c854 100644 (file)
@@ -15,7 +15,7 @@ TODO:
 
 #include "staff-symbol-referencer.hh"
 #include "breathing-sign.hh"
-#include "request.hh"
+#include "event.hh"
 
 #include "engraver-group-engraver.hh"
 #include "item.hh"
index 3985c2467b9a1fe6051c86e4aa036848f964118c..44e3fb84244ae39d7ca3c2ed8b22dd0855607ad4 100644 (file)
@@ -9,7 +9,7 @@
 #include "engraver.hh"
 #include "chord-name.hh"
 #include "chord.hh"
-#include "request.hh"
+#include "event.hh"
 #include "paper-def.hh"
 #include "font-interface.hh"
 #include "paper-def.hh"
index bf3859264f73afd4ba2220e14b806f9c862f1a58..78cfa5d25630cf9a1f36867b845b4b179685e35b 100644 (file)
@@ -13,7 +13,7 @@
 #include "stem.hh"
 #include "rhythmic-head.hh"
 #include "engraver-group-engraver.hh"
-#include "request.hh"
+#include "event.hh"
 #include "warn.hh"
 #include "misc.hh"
 #include "note-head.hh"
index adc23150485899d194d8f2635d07001e8e4ef244..4adb398599b51519827c99127967ed0b4c7627b8 100644 (file)
@@ -7,11 +7,11 @@
 */
 
 #include "chord.hh"
-#include "request.hh"
+#include "event.hh"
 #include "warn.hh"
 
 #include "music-list.hh"
-#include "request.hh"
+#include "event.hh"
 
 
 SCM
@@ -363,7 +363,7 @@ Chord::get_chord (SCM tonic, SCM add, SCM sub, SCM inversion, SCM bass, SCM dur)
       scm_gc_unprotect_object (n->self_scm ());
     }
 
-  Music * v = make_music_by_name(ly_symbol2scm ("RequestChord"));
+  Music * v = make_music_by_name(ly_symbol2scm ("EventChord"));
   v->set_mus_property ("elements", list);
 
   return v;
index 5b89b08a97130d04d107db9a24a9c64fb697cd27..10d6d6b6888064e82cb211d911efa2f85773abdb 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "rhythmic-head.hh"
 #include "paper-def.hh"
-#include "request.hh"
+#include "event.hh"
 #include "dots.hh"
 #include "dot-column.hh"
 #include "staff-symbol-referencer.hh"
@@ -21,9 +21,9 @@
   How does this work?
 
   When we catch the note, we predict the end of the note. We keep the
-  requests living until we reach the predicted end-time.
+  events living until we reach the predicted end-time.
 
-  Every time process_music() is called and there are note requests, we
+  Every time process_music() is called and there are note events, we
   figure out how long the note to typeset should be. It should be no
   longer than what's specified, than what is left to do and it should
   not cross barlines.
index 504b31567fd4ac6277527922ecc19ee398dd330b..d2b16c0afe49b64b7fe355fa68588bf69ed52377 100644 (file)
@@ -15,7 +15,7 @@
 #include "note-head.hh"
 #include "staff-symbol-referencer.hh"
 #include "warn.hh"
-#include "request.hh"
+#include "event.hh"
 
 /*
   This class implements an engraver for custos symbols.
index 95eea397feefb99c04b5d9bb93dcdf86c8b941af..1bad82b1f69657be1361da392c9498fe1968dc03 100644 (file)
@@ -8,7 +8,7 @@
 #include "warn.hh"
 #include "dimensions.hh"
 #include "hairpin.hh"
-#include "request.hh"
+#include "event.hh"
 #include "paper-column.hh"
 #include "note-column.hh"
 #include "item.hh"
@@ -23,7 +23,7 @@
 /*
   TODO:
 
-  * direction of text-dynamic-request if not equal to direction of
+  * direction of text-dynamic-event if not equal to direction of
   line-spanner
 
   - TODO: this engraver is too complicated. We should split it into
@@ -145,9 +145,9 @@ Dynamic_engraver::process_music ()
     }
   
   /*
-    During a (de)crescendo, pending request will not be cleared,
+    During a (de)crescendo, pending event will not be cleared,
     and a line-spanner will always be created, as \< \! are already
-    two requests.
+    two events.
 
     Note: line-spanner must always have at least same duration
     as (de)crecsendo, b.o. line-breaking.
index ed60b2165f844d4cfcae059f23357305b4ea48e5..cb405a599a238f652d3634154836c51617bfb9e6 100644 (file)
@@ -8,12 +8,12 @@
 
 #include "performer.hh"
 
-#include "request.hh"
+#include "event.hh"
 #include "audio-item.hh"
 
 /*
   TODO:
-    handle multiple requests
+    handle multiple events
  */
 
 /**
index 6bde55b284a63c6fc95564dc6a52eca4506585e6..d10c12c26d6223fa71d470742754373c87cf5c2c 100644 (file)
@@ -7,7 +7,7 @@
 */
 
 #include "flower-proto.hh"
-#include "request.hh"
+#include "event.hh"
 #include "lyric-extender.hh"
 #include "paper-column.hh"
 #include "item.hh"
@@ -23,7 +23,7 @@
   gap between syllables.
 
   We remember the last Item that come across. When we get a
-  request, we create the spanner, and attach the left point to the
+  event, we create the spanner, and attach the left point to the
   last lyrics, and the right point to any lyrics we receive by
   then.  */
 class Extender_engraver : public Engraver
@@ -101,7 +101,7 @@ Extender_engraver::process_music ()
     {
       if (!last_lyric_)
        {
-         req_->origin ()->warning (_ ("Nothing to connect extender to on the left.  Ignoring extender request."));
+         req_->origin ()->warning (_ ("Nothing to connect extender to on the left.  Ignoring extender event."));
          return;
        }
       
index 9020cf334e5429f6552c3fa1d20b006d9dd0dd78..b65a03dad8411856407231ef966bb075d9e443c2 100644 (file)
@@ -1,6 +1,6 @@
 #include "engraver.hh"
 #include "text-item.hh"
-#include "request.hh"
+#include "event.hh"
 #include "item.hh"
 
 class Figured_bass_engraver : public Engraver
index b571126763de148d6efd4292fa5c5e25a7f58bb8..d92719e893fe38f35c5f15d4435c2491aa8844dd 100644 (file)
@@ -11,7 +11,7 @@
 #include "engraver.hh"
 #include "side-position-interface.hh"
 #include "item.hh"
-#include "request.hh"
+#include "event.hh"
 #include "stem.hh"
 #include "rhythmic-head.hh"
 
index bbe997ce0b8355c2307b1ba4dee2fbb6d4e72339..56085db9e3582329684ffd58fe04d5981cc76ee5 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "warn.hh"
 #include "music.hh"
-#include "request.hh"
+#include "event.hh"
 #include "music-list.hh"
 #include "music-iterator.hh"
 #include "global-translator.hh"
index f55c4f4b7f5425e8e048074baf75173cf4fc5625..be8dd82e4d258f2f1f29c48159a28104ee0273ad 100644 (file)
@@ -8,7 +8,7 @@ source file of the GNU LilyPond music typesetter
  */
 #include "grob-pitch-tuple.hh"
 #include "pitch.hh"
-#include "request.hh"
+#include "event.hh"
 
 
 int compare (Grob_pitch_tuple const &a, Grob_pitch_tuple const &b)
index 0ba903ee8364652a91f4e76bb53851e50ab2f507..1eab3ad6baba1d96d8741c690661c5a9323eefe1 100644 (file)
@@ -5,7 +5,7 @@
 */
 
 #include "flower-proto.hh"
-#include "request.hh"
+#include "event.hh"
 #include "hyphen-spanner.hh"
 #include "paper-column.hh"
 #include "item.hh"
@@ -17,7 +17,7 @@
   gap between syllables.
 
   We remember the last Item that come across. When we get a
-  request, we create the spanner, and attach the left point to the
+  event, we create the spanner, and attach the left point to the
   last lyrics, and the right point to any lyrics we receive by
   then.  */
 class Hyphen_engraver : public Engraver
@@ -94,7 +94,7 @@ Hyphen_engraver::process_acknowledged_grobs ()
     {
       if (!last_lyric_)
        {
-         req_->origin ()->warning (_ ("Nothing to connect hyphen to on the left.  Ignoring hyphen request."));
+         req_->origin ()->warning (_ ("Nothing to connect hyphen to on the left.  Ignoring hyphen event."));
          return;
        }
       
index 6712a339bb19471f7ca190f39a0895de125a2d2d..e9cea4fc4c83485173e00098b86d4e8ba1e2a2d0 100644 (file)
 
 #include "lily-proto.hh"
 #include "array.hh"
-#include "request.hh"
+#include "event.hh"
 #include "grob-info.hh"
 #include "translator.hh"
 
 
 /**
-  a struct which processes requests, and creates the #Grob#s.
+  a struct which processes events, and creates the #Grob#s.
   It may use derived classes. 
   */
 class Engraver : public virtual Translator {
index 194398eecd9bc2437f8e5425d4209846c7eecf72..0caeb2bd22df83e7c4f1404ee7aee45c6020d4e1 100644 (file)
@@ -121,9 +121,9 @@ class Property_iterator;
 class Rational;
 class Relative_octave_music;
 class Repeated_music;
-class Request;
-class Request_chord;
-class Request_chord_iterator;
+class Event;
+class Event_chord;
+class Event_chord_iterator;
 class Scaled_font_metric;
 class Scheme_hash_table;
 class Score;
index c2895a1fdd6fdb4d637833904dc62ea93f472aa3..a2ca4196e460992adb0e71fe23ede6a635438d51 100644 (file)
@@ -27,16 +27,16 @@ public:
 };
 
 /**
-  The request is a collection of Requests. A note that you enter in lilypond is 
-  one Request_chord, one syllable of lyrics is one Request_chord
+  The event is a collection of Events. A note that you enter in lilypond is 
+  one Event_chord, one syllable of lyrics is one Event_chord
  */
-class Request_chord : public Simultaneous_music
+class Event_chord : public Simultaneous_music
 {
 public:
   VIRTUAL_COPY_CONS (Music);
   virtual Moment start_mom () const;
 
-  Request_chord ();
+  Event_chord ();
 };
 
 /**
index 724ac1689ce2575e4bd13892987b1bc6ee5c1f91..a25465d476099ace88ea09747ab3ce78963e8d7c 100644 (file)
@@ -1,7 +1,5 @@
-
-
 /*   
-  music-sequence.hh -- declare 
+  music-sequence.hh -- declare Music_sequence
   
   source file of the GNU LilyPond music typesetter
   
index 740aed658c0f508887eead7b41b7c5b3e96e166c..9b5d24ef32ac86eed7dc2504f19188f13d8a0715 100644 (file)
@@ -10,7 +10,7 @@
 
 #include "audio-element-info.hh"
 #include "array.hh"
-#include "request.hh"
+#include "event.hh"
 #include "grob-info.hh"
 #include "translator.hh"
 
diff --git a/lily/include/request-chord-iterator.hh b/lily/include/request-chord-iterator.hh
deleted file mode 100644 (file)
index b9eabca..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-  request-iter.hh -- declare Request_chord_iterator
-
-  source file of the GNU LilyPond music typesetter
-
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
-
-
-#ifndef REQUEST_ITER_HH
-#define REQUEST_ITER_HH
-
-#include "simple-music-iterator.hh"
-
-/**
-   Walk through a Request_chord
- */
-class Request_chord_iterator : public Simple_music_iterator
-{
-  Request_chord * get_elt () const;
-  /**
-     Find a bottom notation context to deliver requests to.
-   */
-  virtual Translator_group* get_req_translator ();
-
-
-  /*
-    Since Request_chord_iterator has no list-cursor internally, we
-    must use a status variable to adminstrate where we are */
-  
-  enum { NONE_DONE, START_DONE, END_DONE }  status_;
-public:
-  VIRTUAL_COPY_CONS (Music_iterator);
-  DECLARE_SCHEME_CALLBACK(constructor, ());
-  Request_chord_iterator ();
-  Request_chord_iterator (Request_chord_iterator const&);
-
-  virtual SCM get_pending_events (Moment) const;
-protected:
-  virtual void process (Moment);
-  virtual void construct_children ();
-};
-
-
-#endif // REQUEST_ITER_HH
diff --git a/lily/include/request.hh b/lily/include/request.hh
deleted file mode 100644 (file)
index 292028e..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
-  request.hh -- declare Request baseclasses.
-
-  source file of the GNU LilyPond music typesetter
-
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
-
-#ifndef REQUEST_HH
-#define REQUEST_HH
-
-
-#include "string.hh"
-#include "moment.hh"
-#include "virtual-methods.hh"
-#include "input.hh"
-#include "music.hh"
-#include "duration.hh"
-#include "pitch.hh"
-
-/** An atom of musical information.  This is an abstract class for any
-  piece of music that does not contain other Music.
-  
-
- */
-class Request : public Music {
-public:
-  Request ();
-  VIRTUAL_COPY_CONS (Music);
-  virtual void compress (Moment);
-  virtual void transpose (Pitch);
-  virtual Moment get_length () const;
-  virtual Pitch to_relative_octave (Pitch);
-};
-
-
-/**
-    Handle key changes.
-*/
-class Key_change_req  : public Request
-{
-public:
-  SCM pitch_alist ();
-  
-protected:
-  VIRTUAL_COPY_CONS (Music);
-  bool do_equal_b (Request const * ) const;
-  void transpose (Pitch  d);
-};
-
-SCM transpose_key_alist (SCM,SCM);
-
-
-
-#endif
index c4582238f002e3058e0887c869db1a9dee90869e..512d56cbc0660962edc30fb7f2a32c2b70fe010f 100644 (file)
@@ -24,7 +24,7 @@ typedef void (Translator::*Method_pointer) (void);
 class Scheme_hash_table;
 
 
-/** Make some kind of Elements from Requests. Elements are made by
+/** Make some kind of Elements from Events. Elements are made by
   hierarchically grouped Translators
   */
 class Translator_group : public virtual Translator {
index 1e88b13451877f14563c7e6b3ece51a7c133720d..912241ced5fc9e2f2cd5cda388d18e35454798db 100644 (file)
@@ -70,15 +70,6 @@ public:
 public:
   Global_translator * top_translator () const;
   TRANSLATOR_DECLARATIONS(Translator);
-    /**
-    try to fit the request in this engraver
-
-    @return
-    false: not noted,  not taken.
-
-    true: request swallowed. Don't try to put the request elsewhere.
-
-    */
   virtual bool try_music (Music *req);
   virtual void stop_translation_timestep ();
   virtual void start_translation_timestep ();
index 9bb4e68aeb313a5570b1894f3e1e157e6c223ef2..a97ab6ac06b9c92c72ac213577aa7b97b9b8a157 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "translator.hh"
 
-/** eat a certain type of request.
+/** eat a certain type of event
  (Duh, it's good for your skin)
  */
 class Type_swallow_translator : public virtual Translator
@@ -24,7 +24,7 @@ public:
   VIRTUAL_COPY_CONS (Translator);
 };
 
-#define DECLARE_REQUEST_SWALLOWER(TYPE)                                        \
+#define DECLARE_EVENT_SWALLOWER(TYPE)                                  \
 struct TYPE ## _swallow_translator : public Type_swallow_translator {  \
   TRANSLATOR_DECLARATIONS (TYPE ## _swallow_translator);  \
 };                                                                     \
@@ -32,7 +32,7 @@ struct TYPE ## _swallow_translator : public Type_swallow_translator { \
       swallow_string_ =  #TYPE;                                                \
   }                                                                    \
 ENTER_DESCRIPTION(TYPE ## _swallow_translator,                         \
-                 "Swallow requests of " #TYPE " type.",                \
+                 "Swallow events of " #TYPE " type.",          \
                  "",                                                   \
        "general-music",\
                  "",                                                   \
index aa6488e72ba16783d5fe50114a973055b27e0777..ae1dc5ddf01cca882c76cceb16707c4e9ee3c97e 100644 (file)
@@ -8,7 +8,7 @@
 
 
 
-#include "request.hh"
+#include "event.hh"
 #include "item.hh"
 #include "bar-line.hh"
 #include "staff-symbol-referencer.hh"
index a08b3bfab69c55220135c94057464fd06e3d8798..b8065c3788014b675742b8c5abce9aa7a5a6a950 100644 (file)
@@ -40,7 +40,7 @@
 #include "parser.hh"
 #include "warn.hh"
 #include "main.hh"
-#include "request.hh"
+#include "event.hh"
 #include "version.hh"
 #include "lilypond-input-version.hh"
 #include "translator-def.hh"
@@ -549,7 +549,7 @@ My_lily_lexer::identifier_type(SCM sid)
        } else if (Music * mus =unsmob_music (sid)) {
                yylval.scm = sid;
                
-               return dynamic_cast<Request*> (mus) ? REQUEST_IDENTIFIER : MUSIC_IDENTIFIER;
+               return dynamic_cast<Event*> (mus) ? EVENT_IDENTIFIER : MUSIC_IDENTIFIER;
        } else if (unsmob_duration (sid)) {
                yylval.scm = sid;
                return DURATION_IDENTIFIER;
index c729c232af74adb88a903fb4bf3b4504efc7d00d..9266ccce61c8cb60cee7de7219d310ab27c7f634 100644 (file)
@@ -33,7 +33,7 @@ Ligature_bracket_engraver::create_ligature_spanner ()
 }
 
 ENTER_DESCRIPTION(Ligature_bracket_engraver,
-/* descr */       "Handles Ligature_requests by engraving Ligature brackets.",
+/* descr */       "Handles Ligature_events by engraving Ligature brackets.",
 /* creats*/       "LigatureBracket",
 /* accepts */     "",
 /* acks  */      "ligature-head-interface rest-interface",
index de013610a6fdaeb77815596ec25957c6f620a5ab..bc96697c58acb1ddc1b2c624a90fea48b423700a 100644 (file)
@@ -184,7 +184,7 @@ Ligature_engraver::acknowledge_grob (Grob_info info)
 }
 
 ENTER_DESCRIPTION (Ligature_engraver,
-/* descr */       "Abstract class; a concrete subclass handles Ligature_requests by engraving Ligatures in a concrete style.",
+/* descr */       "Abstract class; a concrete subclass handles Ligature_events by engraving Ligatures in a concrete style.",
 /* creats*/       "Ligature",
 /* accepts */     "ligature-event abort-event",
 /* acks  */      "ligature-head-interface rest-interface",
index 5f3598186cc84fd0e31328479b0c1e3f0f547b35..77d12d4563c2252b161573849701de744596a3b3 100644 (file)
@@ -10,7 +10,7 @@
 #include "translator-group.hh"
 #include "lyric-combine-music-iterator.hh"
 #include "lyric-combine-music.hh"
-#include "request.hh"
+#include "event.hh"
 #include "note-head.hh"
 #include "grob.hh"
 
@@ -79,7 +79,7 @@ bool
 Lyric_combine_music_iterator::get_busy_status () const
 {
   /*
-    We have to use both the request and the busyGrobs queue.  The
+    We have to use both the event and the busyGrobs queue.  The
     busyGrobs queue doesn't contain any notes that have started this
     instant.  */
   if (try_music (busy_req))
index 3e04babe2a0aa8b9e0db5c3adc1631b58d102f46..5fa42bfdd4db44cd84bcb65b60ce9ae66f5897af 100644 (file)
@@ -8,7 +8,7 @@
 */
 
 #include "engraver.hh"
-#include "request.hh"
+#include "event.hh"
 #include "item.hh"
 #include "paper-def.hh"
 #include "font-metric.hh"
index 3403be404c0de631eb97562ab98f7959c1875489..d15a5071847e1bd83df0377215dce70f0b470fed 100644 (file)
@@ -6,7 +6,7 @@
   (c)  1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
-#include "request.hh"
+#include "event.hh"
 #include "audio-item.hh"
 #include "lily-proto.hh"
 #include "performer.hh"
index 1621d21d03a20a8e7572352ef8b335e49f68f387..14fbe9fc8bf282773f9bbe0527eb491baa7221b1 100644 (file)
@@ -237,7 +237,7 @@ Lyric_phrasing_engraver::acknowledge_grob (Grob_info i)
      This has the effect of finishing the extender under the last note
      of the melisma, instead of extending it to the next lyric.
      
-     Problem: the extender request is thrown at the same moment as the next lyric,
+     Problem: the extender event is thrown at the same moment as the next lyric,
      by which time we have already passed the last note of the melisma.
      However, the Lyric_phrasing_engraver remembers the last note, so just 
      attach it to that, provided it was melismatic. If it was not melismatic, 
index e01d83a9f8e8f83ee6280150c9c96fe2dd4e275e..4da8b4a5cfd323c4a6173c97526f75921c16eff9 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "engraver.hh"
-#include "request.hh"
+#include "event.hh"
 #include "grob.hh"
 #include "translator-group.hh"
 
index 3c5e9adb926dacd5be249b275907812c46c8da33..a2631238f1bb0b4312477f364a73f6d7c438fad3 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "mensural-ligature.hh"
 #include "ligature-engraver.hh"
-#include "request.hh"
+#include "event.hh"
 #include "warn.hh"
 #include "item.hh"
 #include "spanner.hh"
@@ -61,7 +61,7 @@
  * bounding box around all primitives of the ligature.
  *
  * TODO: enhance robustness: in case of an illegal ligature (e.g. the
- * user requests for a ligature that contains a minima or STATE_ERROR
+ * user events for a ligature that contains a minima or STATE_ERROR
  * is reached), automatically break the ligature into smaller, valid
  * pieces.
  *
@@ -153,8 +153,8 @@ Mensural_ligature_engraver::get_set_column (Item *item, Paper_column *column)
 /*
  * The following lines implement a finite state automat.  Given a
  * sequence of durations (Longa, Brevis, Semibrevis) or
- * end-of-ligature-request as input, the automat outputs a sequence of
- * requests for grobs that form a proper ligature.
+ * end-of-ligature-event as input, the automat outputs a sequence of
+ * events for grobs that form a proper ligature.
  */
 
 /*
@@ -565,7 +565,7 @@ Mensural_ligature_engraver::acknowledge_grob (Grob_info info)
 }
 
 ENTER_DESCRIPTION (Mensural_ligature_engraver,
-/* descr */       "Handles Mensural_ligature_requests by glueing special ligature heads together.",
+/* descr */       "Handles Mensural_ligature_events by glueing special ligature heads together.",
 /* creats*/       "MensuralLigature",
 /* accepts */     "",
 /* acks  */      "ligature-head-interface note-head-interface rest-interface",
index c44c0738e893f49c4872145f17b7a4d1ae4be637..ae355daed5656106236771cac7b5db21bad060df 100644 (file)
@@ -5,7 +5,7 @@
        Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-#include "request.hh"
+#include "event.hh"
 #include "multi-measure-rest.hh"
 #include "paper-column.hh"
 #include "engraver-group-engraver.hh"
index f7b108334a0a65c1c6019f1e1534be4212084dfb..d8ae2948aeeafc3ac35dc0100f346b0959110e1b 100644 (file)
@@ -9,7 +9,7 @@
   
 */
 
-#include "request.hh"
+#include "event.hh"
 
 #include "item.hh"
 #include "tie.hh"
index 25f4a7b850f59de593efa0d7d9e02b56cb9ef899..0e346e410f99f57f0ff0ffe20579a7e04a0a9049 100644 (file)
@@ -9,7 +9,7 @@
 #include "engraver.hh"
 #include "group-interface.hh"
 #include "item.hh"
-#include "request.hh"
+#include "event.hh"
 #include "spanner.hh"
 #include "stem.hh"
 #include "rhythmic-head.hh"
index 4e60f3c5fc4040ab5a23226f272820c13960cd02..e32c1a663f0e4172e85d74ac9234afc001ad80f9 100644 (file)
@@ -14,7 +14,7 @@
 #include "warn.hh"
 #include "font-interface.hh"
 #include "molecule.hh"
-#include "request.hh"
+#include "event.hh"
 #include "rhythmic-head.hh"
 #include "staff-symbol-referencer.hh"
 #include "lookup.hh"
index afb341178e3b4ce0d030446fe02183530b19745c..cec76bd2eed18c092a0cab2852ca1fde20cd5ace 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "rhythmic-head.hh"
 #include "paper-def.hh"
-#include "request.hh"
+#include "event.hh"
 #include "dots.hh"
 #include "dot-column.hh"
 #include "staff-symbol-referencer.hh"
index 3d4a1833bf332e40f46019a78ab962cfaac59161..7b0cf44407c27e9f30a1817f0cc265fa6743f1f9 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "engraver.hh"
-#include "request.hh"
+#include "event.hh"
 #include "item.hh"
 
 class Note_name_engraver : public Engraver
index 5390447402089e9b33aa00c1ab748ffc1c9689fe..da0ec82a6b06ae56ab7aa67896d96f18cd1912f5 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include "performer.hh"
-#include "request.hh"
+#include "event.hh"
 #include "audio-item.hh"
 #include "audio-column.hh"
 #include "global-translator.hh"
index a6e096d46e24e10e9c644ea8936b10e80d27d5b2..80432df3f594a543a6fa8186a451a3d5e2310457 100644 (file)
@@ -17,7 +17,7 @@ Output_property_music_iterator::process (Moment m)
     {
       bool accepted = try_music (get_music ());
       if (!accepted)
-       get_music ()->origin ()->warning (_f ("Junking request: `%s'",
+       get_music ()->origin ()->warning (_f ("Junking event: `%s'",
                                          classname (get_music ())));
     }
 
index 72bc32d8efb0adb7e2e6c2a7a954d2d8e1b1e94d..aef363d8e267421e3b29621cc7fc887df649e6f7 100644 (file)
@@ -28,7 +28,6 @@ this.
 
 #include "translator-def.hh"
 #include "lily-guile.hh"
-#include "change-iterator.hh"
 #include "misc.hh"
 #include "my-lily-lexer.hh"
 #include "paper-def.hh"
@@ -37,28 +36,16 @@ this.
 #include "file-path.hh"
 #include "warn.hh"
 #include "dimensions.hh"
-
-#include "request.hh"
 #include "my-lily-parser.hh"
 #include "score.hh"
-#include "music-list.hh"
-#include "output-property-music-iterator.hh"
-#include "property-iterator.hh"
 #include "input-file-results.hh"
 #include "input.hh"
-#include "relative-music.hh"
-#include "lyric-combine-music.hh"
-#include "transposed-music.hh"
-#include "time-scaled-music.hh"
-#include "repeated-music.hh"
-#include "untransposable-music.hh"
 #include "lilypond-input-version.hh"
-#include "grace-music.hh"
 #include "scm-hash.hh"
 #include "auto-change-iterator.hh"
-#include "un-relativable-music.hh"
 #include "chord.hh"
 #include "ly-modules.hh"
+#include "music-sequence.hh"
 
 bool
 regular_identifier_b (SCM id)
@@ -109,7 +96,7 @@ make_span_req (SCM name)
 {
   static SCM proc;
   if (!proc)
-    proc = scm_c_eval_string ("old-span-request->event");
+    proc = scm_c_eval_string ("old-span-event->event");
   SCM m = scm_call_1 (proc, name);
   scm_gc_protect_object (m);
   return unsmob_music (m);
@@ -264,7 +251,7 @@ yylex (YYSTYPE *s,  void * v)
 %token <scm>   MUSIC_OUTPUT_DEF_IDENTIFIER
 
 %token <scm>   NUMBER_IDENTIFIER
-%token <scm>   REQUEST_IDENTIFIER
+%token <scm>   EVENT_IDENTIFIER
 %token <scm>   MUSIC_IDENTIFIER TRANSLATOR_IDENTIFIER
 %token <scm>   STRING_IDENTIFIER SCM_IDENTIFIER 
 %token <scm>   RESTNAME
@@ -275,10 +262,10 @@ yylex (YYSTYPE *s,  void * v)
 
 %type <outputdef> output_def
 %type <scm>    lilypond_header lilypond_header_body
-%type <music>  open_request_parens close_request_parens open_request close_request
-%type <music> request_with_dir request_that_take_dir verbose_request
+%type <music>  open_event_parens close_event_parens open_event close_event
+%type <music> event_with_dir event_that_take_dir verbose_event
 %type <i>      sub_quotes sup_quotes
-%type <music>  simple_element  request_chord command_element Simple_music  Composite_music 
+%type <music>  simple_element  event_chord command_element Simple_music  Composite_music 
 %type <music>  Repeated_music
 %type <scm>     Alternative_music
 %type <i>      tremolo_type
@@ -289,7 +276,7 @@ yylex (YYSTYPE *s,  void * v)
 %type <scm> steno_duration optional_notemode_duration multiplied_duration
 %type <scm>  verbose_duration
        
-%type <reqvec>  pre_requests post_requests
+%type <reqvec>  pre_events post_events
 %type <music> gen_text_def
 %type <scm>   steno_pitch pitch absolute_pitch
 %type <scm>   explicit_pitch steno_tonic_pitch
@@ -306,17 +293,17 @@ yylex (YYSTYPE *s,  void * v)
 %type <scm> Music_list
 %type <outputdef>  music_output_def_body
 %type <music> shorthand_command_req
-%type <music>  post_reques
+%type <music>  post_even
 %type <music> command_req verbose_command_req
 %type <music>  extender_req
 %type <music> hyphen_req
-%type <music> string_request
+%type <music> string_event
 %type <scm>    string bare_number number_expression number_term number_factor 
 
 %type <score>  score_block score_body
 
 %type <scm>    translator_spec_block translator_spec_body
-%type <music>  tempo_request
+%type <music>  tempo_event
 %type <scm> notenames_body notenames_block chordmodifiers_block
 %type <scm>    script_abbreviation
 
@@ -463,7 +450,7 @@ identifier_init:
                $$ = $1->self_scm ();
                scm_gc_unprotect_object ($$);
        }
-       | post_request {
+       | post_event {
                $$ = $1->self_scm ();
                scm_gc_unprotect_object ($$);
        }
@@ -652,7 +639,7 @@ music_output_def_body:
        | music_output_def_body STYLESHEET embedded_scm {
                dynamic_cast<Paper_def*> ($$)-> style_sheet_ = $3;
        }
-       | music_output_def_body tempo_request  {
+       | music_output_def_body tempo_event  {
                /*
                        junk this ? there already is tempo stuff in
                        music.
@@ -668,7 +655,7 @@ music_output_def_body:
        }
        ;
 
-tempo_request:
+tempo_event:
        TEMPO steno_duration '=' bare_unsigned  {
                $$ = MY_MAKE_MUSIC("TempoEvent");
                $$->set_mus_property ("duration", $2);
@@ -790,7 +777,7 @@ Simultaneous_music:
        ;
 
 Simple_music:
-       request_chord           { $$ = $1; }
+       event_chord             { $$ = $1; }
        | OUTPUTPROPERTY embedded_scm embedded_scm '=' embedded_scm     {
                SCM pred = $2;
                if (!gh_symbol_p ($3))
@@ -1152,10 +1139,10 @@ scalar:
         ;
 
 
-request_chord:
-       pre_requests {
+event_chord:
+       pre_events {
                THIS->push_spot ();
-       } /*cont */ simple_element post_requests        {
+       } /*cont */ simple_element post_events  {
                Music_sequence *l = dynamic_cast<Music_sequence*> ($3);
                
                $1->concat (*$4);
@@ -1173,7 +1160,7 @@ request_chord:
 
 command_element:
        command_req {
-               $$ = MY_MAKE_MUSIC("RequestChord");
+               $$ = MY_MAKE_MUSIC("EventChord");
                $$->set_mus_property ("elements", scm_cons ($1->self_scm (), SCM_EOL));
          scm_gc_unprotect_object ($1->self_scm());
 
@@ -1185,7 +1172,7 @@ command_element:
                l->set_mus_property ("span-direction", gh_int2scm (START));
                l->set_spot (THIS->here_input ());
 
-               $$ = MY_MAKE_MUSIC("RequestChord");
+               $$ = MY_MAKE_MUSIC("EventChord");
                $$->set_mus_property ("elements", scm_cons (l->self_scm (), SCM_EOL));
          scm_gc_unprotect_object (l->self_scm());
                $$->set_spot (THIS->here_input ());
@@ -1195,7 +1182,7 @@ command_element:
                l->set_mus_property ("span-direction", gh_int2scm (STOP));
                l->set_spot (THIS->here_input ());
 
-               $$ = MY_MAKE_MUSIC("RequestChord");
+               $$ = MY_MAKE_MUSIC("EventChord");
                $$->set_mus_property ("elements", scm_cons (l->self_scm (), SCM_EOL));
                $$->set_spot (THIS->here_input ());
          scm_gc_unprotect_object (l->self_scm());
@@ -1343,7 +1330,7 @@ verbose_command_req:
 
                $$ = skip;
        }
-       | tempo_request {
+       | tempo_event {
                $$ = $1;
        }
        | KEY DEFAULT {
@@ -1359,25 +1346,25 @@ verbose_command_req:
        }
        ;
 
-post_requests:
+post_events:
        {
                $$ = new Link_array<Music>;
        }
-       | post_requests post_request {
+       | post_events post_event {
                $2->set_spot (THIS->here_input ());
                $$->push ($2);
        }
        ;
 
-post_request:
-       verbose_request
-       | request_with_dir
-       | close_request
-       | string_request
+post_event:
+       verbose_event
+       | event_with_dir
+       | close_event
+       | string_event
        ;
 
 
-string_request:
+string_event:
        E_UNSIGNED {
                Music * s = MY_MAKE_MUSIC("StringNumberEvent");
                s->set_mus_property ("string-number",  gh_int2scm($1));
@@ -1387,9 +1374,9 @@ string_request:
        ;
 
 
-request_that_take_dir:
+event_that_take_dir:
        gen_text_def
-       | verbose_request
+       | verbose_event
        | script_abbreviation {
                SCM s = THIS->lexer_->lookup_identifier ("dash" + ly_scm2string ($1));
                Music *a = MY_MAKE_MUSIC("ArticulationEvent");
@@ -1400,15 +1387,15 @@ request_that_take_dir:
        }
        ;
 
-request_with_dir:
-       script_dir request_that_take_dir        {
+event_with_dir:
+       script_dir event_that_take_dir  {
                $2->set_mus_property ("direction", gh_int2scm ($1));
                $$ = $2;
        }
        ;
        
-verbose_request:
-       REQUEST_IDENTIFIER      {
+verbose_event:
+       EVENT_IDENTIFIER        {
                $$ = unsmob_music ($1)->clone ();
                $$->set_spot (THIS->here_input ());
        }
@@ -1562,15 +1549,15 @@ hyphen_req:
        }
        ;
 
-close_request:
-       close_request_parens {
+close_event:
+       close_event_parens {
                $$ = $1;
                dynamic_cast<Music *> ($$)->set_mus_property ("span-direction", gh_int2scm (START))
 ;
        }
        ;
  
-close_request_parens:
+close_event_parens:
        '('     {
                Music * s= MY_MAKE_MUSIC("SlurEvent");
                $$ = s;
@@ -1594,15 +1581,15 @@ close_request_parens:
        ;
 
 
-open_request:
-       open_request_parens {
+open_event:
+       open_event_parens {
                $$ = $1;
                dynamic_cast<Music *> ($$)->set_mus_property ("span-direction", gh_int2scm (STOP))
 ;
        }
        ;
 
-open_request_parens:
+open_event_parens:
        E_EXCLAMATION   {
                Music *s =  MY_MAKE_MUSIC("CrescendoEvent");
                s->set_spot (THIS->here_input());
@@ -1677,11 +1664,11 @@ script_dir:
        | '-'   { $$ = CENTER; }
        ;
 
-pre_requests:
+pre_events:
        {
                $$ = new Link_array<Music>;
        }
-       | pre_requests open_request {
+       | pre_events open_event {
                $$->push ($2);
        }
        ;
@@ -1846,7 +1833,7 @@ figure_list:
 
 figure_spec:
        FIGURE_OPEN figure_list FIGURE_CLOSE {
-               Music * m = MY_MAKE_MUSIC("RequestChord");
+               Music * m = MY_MAKE_MUSIC("EventChord");
                $2 = scm_reverse_x ($2, SCM_EOL);
                m->set_mus_property ("elements",  $2);
                $$ = m->self_scm ();
@@ -1881,7 +1868,7 @@ simple_element:
                if ($2 % 2 || $3 % 2)
                        n->set_mus_property ("force-accidental", SCM_BOOL_T);
 
-               Music *v = MY_MAKE_MUSIC("RequestChord");
+               Music *v = MY_MAKE_MUSIC("EventChord");
                v->set_mus_property ("elements", scm_list_n (n->self_scm (), SCM_UNDEFINED));
                scm_gc_unprotect_object (n->self_scm());
 
@@ -1916,7 +1903,7 @@ simple_element:
                        rest_req->set_spot (i);
                        e = rest_req->self_scm ();
                    }
-               Music * velt = MY_MAKE_MUSIC("RequestChord");
+               Music * velt = MY_MAKE_MUSIC("EventChord");
                velt-> set_mus_property ("elements", scm_list_n (e,SCM_UNDEFINED));
                velt->set_spot (i);
 
@@ -1933,11 +1920,11 @@ simple_element:
 ;
                sp2-> set_mus_property ("span-direction", gh_int2scm (STOP))
 ;
-               Music *rqc1 = MY_MAKE_MUSIC("RequestChord");
+               Music *rqc1 = MY_MAKE_MUSIC("EventChord");
                rqc1->set_mus_property ("elements", scm_list_n (sp1->self_scm (), SCM_UNDEFINED));
-               Music *rqc2 = MY_MAKE_MUSIC("RequestChord");
+               Music *rqc2 = MY_MAKE_MUSIC("EventChord");
                rqc2->set_mus_property ("elements", scm_list_n (sk->self_scm (), SCM_UNDEFINED));;
-               Music *rqc3 = MY_MAKE_MUSIC("RequestChord");
+               Music *rqc3 = MY_MAKE_MUSIC("EventChord");
                rqc3->set_mus_property ("elements", scm_list_n (sp2->self_scm (), SCM_UNDEFINED));;
 
                SCM ms = scm_list_n (rqc1->self_scm (), rqc2->self_scm (), rqc3->self_scm (), SCM_UNDEFINED);
@@ -1952,7 +1939,7 @@ simple_element:
                 lreq->set_mus_property ("text", $1);
                lreq->set_mus_property ("duration",$2);
                lreq->set_spot (i);
-               Music * velt = MY_MAKE_MUSIC("RequestChord");
+               Music * velt = MY_MAKE_MUSIC("EventChord");
                velt->set_mus_property ("elements", scm_list_n (lreq->self_scm (), SCM_UNDEFINED));
 
                $$= velt;
index 9a4c25b52957a5e37cfc9204af802653fc31381a..89e20c52cd81a584febf531e5c223fad6bb4a2af 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "part-combine-music-iterator.hh"
 #include "translator-group.hh"
-#include "request.hh"
+#include "event.hh"
 #include "music-sequence.hh"
 #include "lily-guile.hh"
 #include "warn.hh"
index 609a707a076f4b402879dfc67efa99baaa412bea..6eb01c6d8d0c8ee85556fb98a84fe0ff4f053c45 100644 (file)
@@ -4,7 +4,7 @@
   (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-#include "request.hh"
+#include "event.hh"
 #include "slur.hh"
 #include "warn.hh"
 #include "note-column.hh"
@@ -14,7 +14,7 @@
 
 class Phrasing_slur_engraver : public Engraver
 {
-  Link_array<Music> requestses_;
+  Link_array<Music> eventses_;
   Link_array<Music> new_phrasing_slur_reqs_;
   Link_array<Grob> phrasing_slur_l_stack_;
   Link_array<Grob> end_phrasing_slurs_;
@@ -53,7 +53,7 @@ Phrasing_slur_engraver::try_music (Music *req)
              end_phrasing_slurs_[i]->suicide ();
            }
          end_phrasing_slurs_.clear ();
-         requestses_.clear ();
+         eventses_.clear ();
          new_phrasing_slur_reqs_.clear ();
     }
   else if (req->is_mus_type ("phrasing-slur-event"))
@@ -111,9 +111,9 @@ Phrasing_slur_engraver::finalize ()
     }
   phrasing_slur_l_stack_.clear ();
 
-    for (int i=0; i < requestses_.size (); i++)
+    for (int i=0; i < eventses_.size (); i++)
       {
-       requestses_[i]->origin ()->warning (_ ("unterminated phrasing slur"));
+       eventses_[i]->origin ()->warning (_ ("unterminated phrasing slur"));
       }
 }
 
@@ -136,7 +136,7 @@ Phrasing_slur_engraver::process_acknowledged_grobs ()
            {
              Grob* phrasing_slur = phrasing_slur_l_stack_.pop ();
              end_phrasing_slurs_.push (phrasing_slur);
-             requestses_.pop ();
+             eventses_.pop ();
            }
        }
       else if (d == START)
@@ -146,7 +146,7 @@ Phrasing_slur_engraver::process_acknowledged_grobs ()
          Grob* phrasing_slur = new Spanner (get_property ("PhrasingSlur"));
          Slur::set_interface (phrasing_slur); // can't remove.
          start_phrasing_slurs.push (phrasing_slur);
-         requestses_.push (phrasing_slur_req);
+         eventses_.push (phrasing_slur_req);
          announce_grob(phrasing_slur, phrasing_slur_req->self_scm());
        }
     }
index b68359a4d7fe154963485fab97f34bae4dc7a00f..4140c596e0be95ac17c8fef3328f7ac73f97b072 100644 (file)
@@ -10,7 +10,7 @@
 */
 
 #include "engraver.hh"
-#include "request.hh"
+#include "event.hh"
 #include "grob.hh"
 #include "item.hh"
 #include "lily-guile.hh"
index 707bac9733fcad374a04baeb00b80afa759e1e31..e989b9d192f1710a25f2fd657d064ec09057df98 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "performer.hh"
 
-#include "request.hh"
+#include "event.hh"
 #include "audio-item.hh"
 
 /**
index 2d9f6eef13500de8b2268e9a84a6732dbb9937be..094ea40f80761bb3b65954ac280b10bdd6993e6b 100644 (file)
@@ -22,7 +22,7 @@
  * ligature context that encloses use of this engraver, using syntax
  * like: \ligature { e \~ c }.
  *
- * TODO: Do not allow a series of adjacent porrectus requests, as in:
+ * TODO: Do not allow a series of adjacent porrectus events, as in:
  * e \~ d \~ c.
  *
  * TODO: Junk duplicate (or rather triple) implementation of
@@ -31,7 +31,7 @@
 
 #include "staff-symbol-referencer.hh"
 #include "porrectus.hh"
-#include "request.hh"
+#include "event.hh"
 
 #include "rhythmic-head.hh"
 #include "item.hh"
diff --git a/lily/request-chord-iterator.cc b/lily/request-chord-iterator.cc
deleted file mode 100644 (file)
index 009302d..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
-  request-chord-iterator.cc -- implement Request_chord_iterator
-
-  source file of the GNU LilyPond music typesetter
-
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
-
-#include "translator-group.hh"
-#include "warn.hh"
-#include "request-chord-iterator.hh"
-#include "music-list.hh"
-#include "request.hh"
-
-Request_chord_iterator::Request_chord_iterator ()
-{
-}
-
-Request_chord_iterator::Request_chord_iterator (Request_chord_iterator const &src)
-  : Simple_music_iterator (src)
-{
-}
-
-Translator_group*
-Request_chord_iterator::get_req_translator ()
-{
-  assert (report_to ());
-  if (report_to ()->is_bottom_translator_b ())
-    return report_to ();
-
-  set_translator (report_to ()->get_default_interpreter ());
-  return report_to ();
-}
-
-void
-Request_chord_iterator::construct_children ()
-{
-  Simple_music_iterator::construct_children ();
-  get_req_translator ();
-}
-
-Request_chord*
-Request_chord_iterator::get_elt () const
-{
-  return (Request_chord*) get_music ();
-}
-
-SCM
-Request_chord_iterator::get_pending_events (Moment) const
-{
-  SCM s = SCM_EOL;
-  if (last_processed_mom_ < Moment (0))
-    {
-      Music_sequence * ms = dynamic_cast<Music_sequence*> (get_music ());
-     
-      for (SCM m = ms->music_list (); gh_pair_p (m); m = ly_cdr (m))
-       {
-         s = gh_cons (ly_car (m) , s);
-       }
-    }
-  return s;
-}
-
-void
-Request_chord_iterator::process (Moment m)
-{
-  if (last_processed_mom_ < Moment (0))
-    {
-      for (SCM s = dynamic_cast<Music_sequence *> (get_music ())->music_list ();
-          gh_pair_p (s);  s = ly_cdr (s))
-       {
-         Music *mus = unsmob_music (ly_car (s));
-
-         bool gotcha = try_music (mus);
-         if (!gotcha)
-           mus->origin ()->warning (_f ("Junking request: `%s'", classname (mus)));
-       }
-    }
-  skip (m);
-}
-
-IMPLEMENT_CTOR_CALLBACK (Request_chord_iterator);
index 619c1bc40638c41703ec51e09575e7ec5fe85790..43836dfc7964c3b4b2ec540e4ed5b164525ac80c 100644 (file)
@@ -1,16 +1,16 @@
 #include "pitch.hh" 
-#include "request-chord-iterator.hh"
+#include "event-chord-iterator.hh"
 #include "music-list.hh"
-#include "request.hh"
+#include "event.hh"
 
-Request_chord::Request_chord ()
+Event_chord::Event_chord ()
 {
 }
 
 Moment
-Request_chord::start_mom () const
+Event_chord::start_mom () const
 {
   return Music::start_mom ();
 }
 
-ADD_MUSIC (Request_chord);
+ADD_MUSIC (Event_chord);
diff --git a/lily/request.cc b/lily/request.cc
deleted file mode 100644 (file)
index 0c569f9..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-/*
-  request.cc -- implement Request
-
-  source file of the GNU LilyPond music typesetter
-
-  (c) 1996--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
-
-#include "request.hh"
-#include "warn.hh"
-
-
-
-  
-Moment
-Request::get_length () const
-{
-  Duration *d = unsmob_duration (get_mus_property ("duration"));
-  if (!d)
-    {
-      Moment m ;
-      return m;
-    }
-  return d->get_length ();
-}
-
-void
-Request::compress (Moment m)
-{
-  Duration *d =  unsmob_duration (get_mus_property ("duration"));
-  if (d)
-    set_mus_property ("duration", d ->compressed (m.main_part_).smobbed_copy ());
-}
-
-void
-Request::transpose (Pitch delta)
-{
-  Pitch *p = unsmob_pitch (get_mus_property ("pitch"));
-  if (!p)
-    return ;
-
-  Pitch np = *p;
-  np.transpose (delta);
-  
-  if (abs (np.alteration_) > 2)
-    {
-       warning (_f ("Transposition by %s makes accidental larger than two",
-         delta.string ()));
-    }
-
-  set_mus_property ("pitch", np.smobbed_copy ());
-}
-
-Pitch
- Request::to_relative_octave (Pitch last)
-{
-  Pitch *old_pit = unsmob_pitch (get_mus_property ("pitch"));
-  if (old_pit)
-    {
-      Pitch new_pit = *old_pit;
-      new_pit.to_relative_octave (last);
-      set_mus_property ("pitch", new_pit.smobbed_copy ());
-  
-      return new_pit;
-    }
-  return last;
-}
-  
-Request::Request ()
-  : Music ()
-{
-}
-
-ADD_MUSIC(Request);
-LY_DEFINE(music_duration_length, "music-duration-length", 1, 0,0,
-         (SCM mus),
-         "Extract the duration field from @var{mus}, and return the length.")
-{
-  Music* m =   unsmob_music(mus);
-  SCM_ASSERT_TYPE(m, mus, SCM_ARG1, __FUNCTION__, "Music");
-  
-  Duration *d = unsmob_duration (m->get_mus_property ("duration"));
-
-  Moment l ;
-  
-  if (d)
-    {
-      l = d->get_length ();  
-    }
-  else
-    programming_error("Music has no duration");
-  return l.smobbed_copy();
-  
-}
-
-
-LY_DEFINE(music_duration_compress, "music-duration-compress", 2, 0,0,
-         (SCM mus, SCM factor),
-         "Extract the duration field from @var{mus}, and compress it.")
-{
-  Music* m =   unsmob_music(mus);
-  Moment * f = unsmob_moment (factor);
-  SCM_ASSERT_TYPE(m, mus, SCM_ARG1, __FUNCTION__, "Music");
-  SCM_ASSERT_TYPE(f, factor, SCM_ARG2, __FUNCTION__, "Moment");
-  
-  Duration *d = unsmob_duration (m->get_mus_property ("duration"));
-  if (d)
-    m->set_mus_property ("duration", d->compressed (f->main_part_).smobbed_copy());
-  return SCM_UNSPECIFIED;
-}
-
-
-
-
-
-
-
-#include "request.hh"
-
-
-
-LY_DEFINE(transpose_key_alist,"transpose-key-alist",
-         2, 0,0, (SCM l, SCM pitch),
-         "Make a new key alist of @var{l} transposed by pitch @var{pitch}")
-{
-  SCM newlist = SCM_EOL;
-  Pitch *p = unsmob_pitch (pitch);
-  
-  for (SCM s = l; gh_pair_p (s); s = ly_cdr (s))
-    {
-      SCM key = ly_caar (s);
-      SCM alter = ly_cdar (s);
-      if (gh_pair_p (key))
-       {
-         Pitch orig (gh_scm2int (ly_car (key)),
-                             gh_scm2int (ly_cdr (key)),
-                             gh_scm2int (alter));
-
-         orig.transpose (*p);
-
-         SCM key = gh_cons (scm_int2num (orig.get_octave ()),
-                            scm_int2num (orig.notename_));
-
-         newlist = gh_cons (gh_cons (key, scm_int2num (orig.alteration_)),
-                            newlist);
-       }
-      else if (gh_number_p (key))
-       {
-         Pitch orig (0, gh_scm2int (key), gh_scm2int (alter));
-         orig.transpose (*p);
-
-         key =scm_int2num (orig.notename_);
-         alter = scm_int2num (orig.alteration_);
-         newlist = gh_cons (gh_cons (key, alter), newlist);
-       }
-    }
-  return scm_reverse_x (newlist, SCM_EOL);
-}
-
-void
-Key_change_req::transpose (Pitch p)
-{
-  SCM pa = get_mus_property ("pitch-alist");
-
-  set_mus_property ("pitch-alist", transpose_key_alist (pa, p.smobbed_copy()));
-}
-
-
-bool
-alist_equal_p (SCM a, SCM b)
-{
-  for (SCM s = a;
-       gh_pair_p (s); s = ly_cdr (s))
-    {
-      SCM key = ly_caar (s);
-      SCM val = ly_cdar (s);
-      SCM l = scm_assoc (key, b);
-
-      if (l == SCM_BOOL_F
-         || !gh_equal_p ( ly_cdr (l), val))
-
-       return false;
-    }
-  return true;
-}
-
-bool
-Key_change_req::do_equal_b (Request const * m )const
-{
-  Key_change_req const * kc =dynamic_cast<Key_change_req const*> (m);
-
-  if(!kc)
-    return false;
-  return alist_equal_p (get_mus_property ("pitch-alist"),
-                       kc->get_mus_property ("pitch-alist"));
-}
-
-ADD_MUSIC (Key_change_req);
index 8f694da5ef79c5852b7eb91a983e097978d9c92a..a9af0ccd93bc875abcfb2bf34572d84ff49b3abe 100644 (file)
@@ -7,7 +7,7 @@
 */
 #include "item.hh"
 #include "staff-symbol-referencer.hh"
-#include "request.hh"
+#include "event.hh"
 #include "dots.hh"
 #include "rhythmic-head.hh"
 #include "engraver.hh"
index 2861bb9cc19925dc764cada4e5c38a1f19bc29a0..960a6e942a571f0295f8a31ed13426edd1e891b3 100644 (file)
@@ -13,7 +13,7 @@
 #include "stem.hh"
 #include "note-column.hh"
 #include "dot-column.hh"
-#include "request.hh"
+#include "event.hh"
 #include "item.hh"
 #include "group-interface.hh"
 
index e7511c557905ac8883b08e73c953707702fb5181..009ee8a978ab39dc567bc91182030712d6419db4 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "script.hh"
 #include "side-position-interface.hh"
-#include "request.hh"
+#include "event.hh"
 #include "stem.hh"
 #include "rhythmic-head.hh"
 #include "engraver.hh"
index e23b136784e60be929623f3ee6484c9469687411..9b609b1eda11b5590f28758a1e083f135374ed71 100644 (file)
@@ -174,7 +174,7 @@ Sequential_iterator::construct_children ()
   swoop.
 */
 void
-Sequential_iterator::next_element (bool side_effect)
+Sequential_iterator::next_element (bool)
 {
   Moment len =iter_->music_get_length () - iter_->music_start_mom ();
   assert (!grace_fixups_  || grace_fixups_->start_ >= here_mom_);
index 55fd9540c5a598b9cd3650f8b09d4e73e1142f00..2b8519fbf9b49d60ad8f3a8fb76e48a416a512b7 100644 (file)
@@ -33,7 +33,7 @@ Simple_music_iterator::ok ()const
   TODO: remove last_processed_mom_, and the complete shit.  We should
   only process a simple-music once, and that is at its start.
 
-  Engravers can detect and request the end-moments to be processed as
+  Engravers can detect and event the end-moments to be processed as
   well.
 
 */
index d5e9f673c1681ed55594a950f420672f9a30f5f0..77942bf6c8687b6f2569f88f494dc7d51ffbe4f9 100644 (file)
@@ -4,7 +4,7 @@
   (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-#include "request.hh"
+#include "event.hh"
 #include "slur.hh"
 #include "warn.hh"
 #include "note-column.hh"
@@ -17,7 +17,7 @@
  */
 class Slur_engraver : public Engraver
 {
-  Link_array<Music> requests_;
+  Link_array<Music> events_;
   Link_array<Music> new_slur_reqs_;
   Link_array<Grob> slur_stack_;
   Link_array<Grob> end_slurs_;
@@ -57,7 +57,7 @@ Slur_engraver::try_music (Music *req)
          end_slurs_[i]->suicide ();
        }
       end_slurs_.clear ();
-      requests_.clear ();
+      events_.clear ();
       new_slur_reqs_.clear ();
     }
   else if (req->is_mus_type ("slur-event"))
@@ -75,7 +75,7 @@ Slur_engraver::try_music (Music *req)
            }
 
          /*
-           But we swallow other slur requests.
+           But we swallow other slur events.
          */
              
          return true;
@@ -84,7 +84,7 @@ Slur_engraver::try_music (Music *req)
       else if (d == STOP)
        {
          /*
-           Swallow other requests.
+           Swallow other events.
          */
          for (int j = new_slur_reqs_.size(); j--;)
            {
@@ -136,9 +136,9 @@ Slur_engraver::finalize ()
     }
   slur_stack_.clear ();
 
-  for (int i=0; i < requests_.size (); i++)
+  for (int i=0; i < events_.size (); i++)
       {
-       requests_[i]->origin ()->warning (_ ("unterminated slur"));
+       events_[i]->origin ()->warning (_ ("unterminated slur"));
       }
 }
 
@@ -155,14 +155,14 @@ Slur_engraver::process_acknowledged_grobs ()
        {
          if (slur_stack_.empty ())
            /* How to shut up this warning, when Voice_devnull_engraver has
-              eaten start request? */
+              eaten start event? */
            slur_req->origin ()->warning (_f ("can't find start of slur"));
          else
            {
              Grob* slur = slur_stack_.pop ();
            
              end_slurs_.push (slur);
-             requests_.pop ();
+             events_.pop ();
            }
        }
       else  if (d == START)
@@ -172,7 +172,7 @@ Slur_engraver::process_acknowledged_grobs ()
          Grob* slur = new Spanner (get_property ("Slur"));
          Slur::set_interface (slur); // cannot remove yet!
          start_slurs.push (slur);
-         requests_.push (slur_req);
+         events_.push (slur_req);
          announce_grob (slur, slur_req->self_scm ());
        }
     }
index 0e4a4fe71749df3a51e486a167fcf68874c728c9..24e8ab969ae3f718707ad7a6abfe8c96785909f5 100644 (file)
@@ -7,7 +7,7 @@
   
  */
 
-#include "request.hh"
+#include "event.hh"
 #include "paper-column.hh"
 #include "engraver.hh"
 #include "pqueue.hh"
index e568cae2e47a3b6802c4bb982b354535bbe3457e..db2523d289fea07b0c3316b86a0b2b7cd169d6d6 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "performer.hh"
 
-#include "request.hh"
+#include "event.hh"
 #include "audio-item.hh"
 
 struct Audio_dynamic_tuple
index c9d1ab58ec47e7844c8d748229eb053da10a3e7f..86d66d237c5c0b83c3c40124e32bb537c7e4bb6c 100644 (file)
@@ -9,7 +9,7 @@
 #include "staff-symbol-referencer.hh"
 #include "rhythmic-head.hh"
 #include "stem.hh"
-#include "request.hh"
+#include "event.hh"
 #include "misc.hh"
 #include "stem-tremolo.hh"
 #include "item.hh"
@@ -72,21 +72,21 @@ Stem_engraver::acknowledge_grob (Grob_info i)
            {
              /*
                Stem tremolo is never applied to a note by default,
-               is must me requested.  But there is a default for the
+               is must me evented.  But there is a default for the
                tremolo value:
 
                   c4:8 c c:
 
                the first and last (quarter) note bothe get one tremolo flag.
               */
-             int requested_type = gh_scm2int (tremolo_req_->get_mus_property ("tremolo-type"));
+             int evented_type = gh_scm2int (tremolo_req_->get_mus_property ("tremolo-type"));
              SCM f = get_property ("tremoloFlags");
-             if (!requested_type && gh_number_p (f))
-               requested_type = gh_scm2int (f);
+             if (!evented_type && gh_number_p (f))
+               evented_type = gh_scm2int (f);
              else
-               daddy_trans_->set_property ("tremoloFlags", gh_int2scm (requested_type));
+               daddy_trans_->set_property ("tremoloFlags", gh_int2scm (evented_type));
 
-             int tremolo_flags = intlog2 (requested_type) - 2
+             int tremolo_flags = intlog2 (evented_type) - 2
                - (duration_log > 2 ? duration_log - 2 : 0);
              if (tremolo_flags <= 0)
                {
index bda9d59b145b5ac14254569dc2dedda85630e77d..3696bb6f269245debb3e47b042ec25e2ff241d89 100644 (file)
@@ -10,7 +10,7 @@
 
 /**
   This engraver swallows everything given to it silently. The purpose of
-  this is to prevent spurious "request junked" warnings.
+  this is to prevent spurious "event junked" warnings.
  */
 class Swallow_engraver : public Engraver
 {
index 60333dbc751cf27ddc16b81339818664c6f33353..ddf956b12629296550a80e9a32eff3ca949bb07b 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "rhythmic-head.hh"
 #include "paper-def.hh"
-#include "request.hh"
+#include "event.hh"
 #include "dots.hh"
 #include "dot-column.hh"
 #include "staff-symbol-referencer.hh"
index 57acc8c4c792a5c6b61e26b010faa00300a2fac6..714ed9004bf6b4572712f47f45396dabbd9d360b 100644 (file)
@@ -11,7 +11,7 @@
 #include "engraver.hh"
 #include "side-position-interface.hh"
 #include "item.hh"
-#include "request.hh"
+#include "event.hh"
 #include "stem.hh"
 #include "rhythmic-head.hh"
 
index 389129867042648d28140ea7b982a2b07831a9a2..6e70076a55ce955313b5bc36e8aa2c2f37bfea4c 100644 (file)
@@ -183,7 +183,7 @@ Text_item::markup_text2molecule (Grob *me, SCM markup_text,
     }
   
   
-  /* Set extend to markup requested value. */
+  /* Set extend to markup evented value. */
   if (extent_b)
     {
       Box b = mol.extent_box ();
index 294545aa454a1ca39bf7fcd0b6dd45440a873f78..1235bebe34abc2238e9fd399ace7e4d960ea5cca 100644 (file)
@@ -7,7 +7,7 @@
 */
 
 #include "dimensions.hh"
-#include "request.hh"
+#include "event.hh"
 #include "paper-column.hh"
 #include "note-column.hh"
 #include "item.hh"
index 2c1e13716baa09c9d71c11353a4344f7c6946f5b..4225b22399fa2138d0363038f25fa7b4416b3792 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "engraver.hh"
 #include "item.hh"
-#include "request.hh"
+#include "event.hh"
 #include "translator-group.hh"
 
 class Thread_devnull_engraver : public Engraver
index 31ef2079ba229f06a2cb40e488a303c13860e5b6..9c71a483b8aeea5e1d324819024d8ba34b83143f 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 
-#include "request.hh"
+#include "event.hh"
 #include "tie.hh"
 #include "translator-group.hh"
 #include "spanner.hh"
index 7e0c41114b9a78c7a1c195dae09c9cde1f475e44..b9bde30778b0ee0ba72120818ef3f2f0a3bf8d79 100644 (file)
@@ -9,7 +9,7 @@
 
 
 #include "audio-item.hh"
-#include "request.hh"
+#include "event.hh"
 #include "pqueue.hh"
 #include "performer.hh"
 
index 35f0eef493967388fa4fb239c944873d60e7bc2b..84282bc230c7f22483621d0b301574e5c77a79d5 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "time-scaled-music-iterator.hh"
 #include "time-scaled-music.hh"
-#include "request.hh"
+#include "event.hh"
 #include "translator-group.hh"
 
 
index 3488b06fa0124281725a3077939c1413d56b9280..88f000ead597d9deb9fb818329f7e843d9a87980 100644 (file)
@@ -45,7 +45,7 @@ Tuplet_engraver::try_music (Music *c)
   if (c->is_mus_type ("time-scaled-music"))
     {
       Music *el = unsmob_music (c->get_mus_property ("element"));
-      if (el && !el->is_mus_type ("request-chord"))
+      if (el && !el->is_mus_type ("event-chord"))
        {
          time_scaled_musics_.push (c);
          Rational m = now_mom ().main_part_ + c->get_length ().main_part_;
index dbdf93f488b916bba2a356ac511103fecfbf9ed8..21c4c2369dd73c08aaa4a6a64f75251e4bcc9aea 100644 (file)
@@ -7,7 +7,7 @@
 */
 
 #include "translator.hh"
-#include "request.hh"
+#include "event.hh"
 
 class Skip_req_swallow_translator : public virtual Translator
 {
index 084d6584470b7519aef2c130007ca22145fc2680..3d901a0b755d8a8139918d967ce46bc870e6bb81 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "engraver.hh"
 #include "item.hh"
-#include "request.hh"
+#include "event.hh"
 #include "translator-group.hh"
 
 class Voice_devnull_engraver : public Engraver
@@ -66,7 +66,7 @@ Voice_devnull_engraver::try_music (Music *m)
                return true;
            }
        }
-      /* Ugh.  Should eat other requests, script etc. too. */  
+      /* Ugh.  Should eat other events, script etc. too. */  
       else if (m->is_mus_type ("tie-event"))
        return true;
     }
index 55117bf81f67be02bf9703580cc6d0b783a459e8..03d2c604940843790fd319dcb6452f6aedb42dbf 100644 (file)
@@ -4,7 +4,7 @@
     (AbortEvent
      . (
        (description .  "Abort currently running spanners.")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (span-type . "abort")
        (types . (general-music event abort-event))
        ))
@@ -12,7 +12,7 @@
      . (
        (description .  "Make an arpeggio on this note. Syntax:
 @var{note}-@code{\\arpeggio}")
-       (internal-class-name .  "Request")
+       (internal-class-name .  "Event")
        (types . (general-music arpeggio-event event))
        ))
 
@@ -22,7 +22,7 @@
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event articulation-event script-event))
        )) 
     (AutoChangeMusic
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event rhythmic-event bass-figure-event))
        ))
     (BeamEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event beam-event span-event))
        ))
     (BreakEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music break-event event))
        ))
     (BreathingSignEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event breathing-event))
        )) 
     (BusyPlayingEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event busy-playing-event))
        )) 
     (ContextSpeccedMusic
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music dynamic-event crescendo-event event))
        )) 
     (DecrescendoEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music dynamic-event decrescendo-event event))
        )) 
     (ExtenderEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music extender-event event))
        ))   
     (GlissandoEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music glissando-event event))
        )) 
     (GraceMusic
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music hyphen-event event))
        ))   
     (KeyChangeEvent
        (description .  "A lyric syllable. Must be entered in lyrics mode, i.e.
 @code{\\lyrics @{ twinkle4 twinkle4 @} } .")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music rhythmic-event lyric-event event))
        ))
     (LigatureEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (span-type . ligature)
        (types . (general-music event span-event ligature-event))
        ))
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music mark-event event))
        ))  
     (MelismaEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music span-event melisma-playing-event event))
        )) 
     (MelismaPlayingEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event))
        ))
     (MultiMeasureRestEvent
      . (
        (description . "Rests that may be compressed into Multi rests. Syntax
 @code{R2.*4} for 4 measures in 3/4 time. Note the capital R.")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event multi-measure-rest-event))
        ))
     (Music
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event note-event rhythmic-event melodic-event))
        ))
     (OverrideProperty
     (PhrasingSlurEvent
      . (
        (description . "Start or end phrasing slur. Syntax NOTE \\(  and \\) NOTE")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music span-event phrasing-slur-event slur-event))
        ))
     (PropertySet
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music porrectus-event event))
        ))
     (RepeatedMusic
        (type .  repeated-music)
        (types . (general-music repeated-music))
        ))
-    (Request
+    (Event
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event))
        )) 
     (RestEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event rhythmic-event rest-event))
        )) 
     (SequentialMusic
     (SlurEvent
      . (
        (description . "Start or end slur. Syntax NOTE(  and )NOTE")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music span-event slur-event))
        ))
 
     (TextSpanEvent
      . (
        (description . "Start a text spanner like 8va.....|")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music span-event text-span-event))
        ))
     (TranslatorChange
        ))
 
     
-    (RequestChord
+    (EventChord
      . (
        (description .  "")
 
-       (internal-class-name . "Request_chord")
-       (iterator-ctor . ,Request_chord_iterator::constructor)
-       (types . (general-music request-chord simultaneous-music))
+       (internal-class-name . "Event_chord")
+       (iterator-ctor . ,Event_chord_iterator::constructor)
+       (types . (general-music event-chord simultaneous-music))
        )
      )
     
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event))
        )) 
     (SkipEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event rhythmic-event skip-event))
        )) 
     (SpanEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event))
        )) 
     (SustainPedalEvent
      . (
        (description . "")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music pedal-event sustain-pedal-event))
        ))
     (SostenutoEvent
      . (
        (description . "")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music pedal-event sostenuto-pedal-event))
        ))
     (UnaCordaEvent
      . (
        (description . "")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music pedal-event una-corda-pedal-event))
        ))
     (StringNumberEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music string-number-event event))
        )) 
     (TempoEvent
      . (
        (description .  "")
 
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music tempo-event event))
        )) 
     (TextScriptEvent
      . (
        (description .  "")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music script-event text-script-event event))
        )) 
     (TieEvent
      . (
        (description .  "A tie. Entered as ~.")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music tie-event event))
        ))
     (TremoloEvent
      . (
        (description . "Un measured tremolo.")
-       (internal-class-name . "Request")
+       (internal-class-name . "Event")
        (types . (general-music event tremolo-event))
        ))
     (VoiceSeparator
     ))
 
 
-(define-public (old-span-request->event name)
+(define-public (old-span-event->event name)
   (let
       (
        (entry   (assoc