[gsharp-cvs] CVS update: gsharp/Doc/buffer.tex gsharp/Doc/commands.tex gsharp/Doc/release-notes.tex

Robert Strandh rstrandh at common-lisp.net
Mon Jul 19 06:23:54 UTC 2004


Update of /project/gsharp/cvsroot/gsharp/Doc
In directory common-lisp.net:/tmp/cvs-serv3761/Doc

Modified Files:
	buffer.tex commands.tex release-notes.tex 
Log Message:
Staff types, staves, and clef types are now presentation types. 

Add staff commands prompt for existing staff and name, type, clef
types, etc. for staff to insert.  We still do not verify that staff
name is unique.  We also need to add completion for staff names. 

Updated documentation and release notes to reflect changes. 

Date: Sun Jul 18 23:23:53 2004
Author: rstrandh

Index: gsharp/Doc/buffer.tex
diff -u gsharp/Doc/buffer.tex:1.1 gsharp/Doc/buffer.tex:1.2
--- gsharp/Doc/buffer.tex:1.1	Fri Apr  2 09:13:35 2004
+++ gsharp/Doc/buffer.tex	Sun Jul 18 23:23:53 2004
@@ -83,10 +83,19 @@
 
 \Defclass {staff}
 
+The protocol class for all staves. 
+
 \Definitarg {:name}
 
 The default value for this initarg is \lispobj{"default"}. 
 
+\Defgeneric {name} {staff}
+
+Return the name of the staff.  With \lispobj{setf}, change the name of
+the staff.
+
+\Defclass {fiveline-staff}
+
 \Definitarg {:clef}
 
 This value must always be supplied. 
@@ -96,19 +105,14 @@
 The default value for this initarg is a vector with seven elements,
 each begin the object \lispobj{:natural}.
 
-\Defun {make-staff} {\optional (clef \texttt(make-clef :treble))}
-
-\Defgeneric {name} {staff}
-
-Return the name of the staff.  With \lispobj{setf}, change the name of
-the staff.
+\Defun {make-fiveline-staff} {name \optional (clef \texttt(make-clef :treble))}
 
-\Defgeneric {clef} {staff}
+\Defgeneric {clef} {fiveline-staff}
 
 Return the clef of the staff.  With \lispobj{setf}, change the clef of
 the staff.
 
-\Defgeneric {keysig} {staff}
+\Defgeneric {keysig} {fiveline-staff}
 
 Return the key signature of the staff.  With \lispobj{setf}, change
 the key signature of the staff. 
@@ -116,8 +120,8 @@
 %-------------------------------------------------------------------
 \subsection{External representation}
 
-A staff is printed (by \lispobj{print-object}) like this in version 3
-of the external representation:
+A fiveline staff is printed (by \lispobj{print-object}) like this in
+version 3 of the external representation:
 
 \texttt{[= :name \textit{name} :clef \textit{clef} :keysig \textit{keysig} ]}
 


Index: gsharp/Doc/commands.tex
diff -u gsharp/Doc/commands.tex:1.2 gsharp/Doc/commands.tex:1.3
--- gsharp/Doc/commands.tex:1.2	Wed Feb 18 22:48:08 2004
+++ gsharp/Doc/commands.tex	Sun Jul 18 23:23:53 2004
@@ -94,7 +94,7 @@
 \kbd{x]}     & Fewer Rbeams & Remove a beam to the right\\
 \kbd{[}      & More Lbeams & Add another beam to the left\\
 \kbd{x[}     & Fewer Lbeams & Remove a beam to the left\\
-\kbd{Meta-u} & Up           & Move rest to a highter staff line\\
+\kbd{Meta-u} & Up           & Move rest to a higher staff line\\
 \kbd{Meta-d} & Down         & Move rest to a lower staff line\\
 \hline
 \end{tabular}
@@ -138,8 +138,17 @@
 \hline
 Key          & Command name & Description\\
 \hline
-             & Add Staff    & Add a new staff (promts for a name)\\
-             & Delete Staff & Delete a staff (promts for a name)\\
+             & Add Staff After  & Add a new staff after an existing one\\
+             &                  & (prompts for the existing staff, \\
+             &                  & for the name and the type of the new staff, \\
+             &                  & and a clef and a line for the clef\\
+             &                  & if type is \texttt{fiveline})\\
+             & Add Staff Before  & Add a new before after an existing one\\
+             &                  & (prompts for the existing staff, \\
+             &                  & for the name and the type of the new staff, \\
+             &                  & and a clef and a line for the clef\\
+             &                  & if type is \texttt{fiveline})\\
+             & Delete Staff & Delete a staff (promts for staff to delete)\\
              & Rename Staff & Rename current staff (prompts for a new name)\\
              & Set clef & Set the clef of the current staff\\
              &          & (promts for name of clef and line number)\\


Index: gsharp/Doc/release-notes.tex
diff -u gsharp/Doc/release-notes.tex:1.4 gsharp/Doc/release-notes.tex:1.5
--- gsharp/Doc/release-notes.tex:1.4	Wed Feb 25 14:24:56 2004
+++ gsharp/Doc/release-notes.tex	Sun Jul 18 23:23:53 2004
@@ -19,6 +19,12 @@
   Christophe Rhodes).
 \item {\gs} now runs on SBCL as well as on CMUCL (thanks to Christophe
   Rhodes).
+\item Fixed problem with flickering introduced by new version of McCLIM.
+\item More menu commands that need arguments now work correctly.
+\item Staves are now clickable.  Commands that take staves as
+  arguments now prompt for existing staves as opposed to just names of
+  staves. 
+\item Added completion for clef types and staff types. 
 \end{itemize}
 
 \subsection{Bug fixes from 0.2}





More information about the Gsharp-cvs mailing list