# HG changeset patch # User jwe # Date 1137187059 0 # Node ID e0e48ea2a93c665eb0dc43afcf974f8f43c2b4a4 # Parent 6c4e4bffa6225aa97bc2544157bce5c5ef9bae97 [project @ 2006-01-13 21:17:37 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-01-13 John W. Eaton + + * Makeconf.in (do-mkpkgadd): New macro. + 2005-12-14 David Bateman * Makeconf.in: Remove OCTAVE_PROG_RUNTEST. diff --git a/Makeconf.in b/Makeconf.in --- a/Makeconf.in +++ b/Makeconf.in @@ -538,6 +538,15 @@ $(top_srcdir)/move-if-change $@-t $@ endef +define do-mkpkgadd +$(top_srcdir)/mkpkgadd $(srcdir) > PKG_ADD.t +if [ -n "`cat PKG_ADD.t`" ]; then \ + mv PKG_ADD.t PKG_ADD ; \ +else \ + rm -f PKG_ADD.t ; \ +fi +endef + define do-script-install $(top_srcdir)/mkinstalldirs \ $(addprefix $(DESTDIR), $(fcnfiledir)/$(script_sub_dir)) diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,25 @@ +2006-01-13 John W. Eaton + + * audio/Makefile.in, control/base/Makefile.in, + control/hinf/Makefile.in, control/obsolete/Makefile.in, + control/system/Makefile.in, control/util/Makefile.in, + deprecated/Makefile.in, elfun/Makefile.in, finance/Makefile.in, + general/Makefile.in, image/Makefile.in, io/Makefile.in, + linear-algebra/Makefile.in, miscellaneous/Makefile.in, + optimization/Makefile.in, plot/Makefile.in, + polynomial/Makefile.in, quaternion/Makefile.in, set/Makefile.in, + signal/Makefile.in, sparse/Makefile.in, specfun/Makefile.in, + special-matrix/Makefile.in, startup/Makefile.in, + statistics/base/Makefile.in, statistics/distributions/Makefile.in, + statistics/models/Makefile.in, statistics/tests/Makefile.in, + strings/Makefile.in, time/Makefile.in, testfun/Makefile.in: + (all): Depend on PKG_ADD. + (PKG_ADD): New target. + +2006-01-13 Bill Denney + + * miscellaneous/dir.m: Add @seealso{} to docstring. + 2006-01-13 John W. Eaton * time/etime.m: Move here from miscellaneous/etime.m. diff --git a/scripts/audio/Makefile.in b/scripts/audio/Makefile.in --- a/scripts/audio/Makefile.in +++ b/scripts/audio/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/control/base/Makefile.in b/scripts/control/base/Makefile.in --- a/scripts/control/base/Makefile.in +++ b/scripts/control/base/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/control/hinf/Makefile.in b/scripts/control/hinf/Makefile.in --- a/scripts/control/hinf/Makefile.in +++ b/scripts/control/hinf/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/control/obsolete/Makefile.in b/scripts/control/obsolete/Makefile.in --- a/scripts/control/obsolete/Makefile.in +++ b/scripts/control/obsolete/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/control/system/Makefile.in b/scripts/control/system/Makefile.in --- a/scripts/control/system/Makefile.in +++ b/scripts/control/system/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/control/util/Makefile.in b/scripts/control/util/Makefile.in --- a/scripts/control/util/Makefile.in +++ b/scripts/control/util/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/deprecated/Makefile.in b/scripts/deprecated/Makefile.in --- a/scripts/deprecated/Makefile.in +++ b/scripts/deprecated/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/elfun/Makefile.in b/scripts/elfun/Makefile.in --- a/scripts/elfun/Makefile.in +++ b/scripts/elfun/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/finance/Makefile.in b/scripts/finance/Makefile.in --- a/scripts/finance/Makefile.in +++ b/scripts/finance/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/general/Makefile.in b/scripts/general/Makefile.in --- a/scripts/general/Makefile.in +++ b/scripts/general/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/image/Makefile.in b/scripts/image/Makefile.in --- a/scripts/image/Makefile.in +++ b/scripts/image/Makefile.in @@ -31,7 +31,7 @@ IMAGE_FILES = $(wildcard $(srcdir)/*.img) IMAGE_FILES_NO_DIR = $(notdir $(IMAGE_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -54,6 +54,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/io/Makefile.in b/scripts/io/Makefile.in --- a/scripts/io/Makefile.in +++ b/scripts/io/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/linear-algebra/Makefile.in b/scripts/linear-algebra/Makefile.in --- a/scripts/linear-algebra/Makefile.in +++ b/scripts/linear-algebra/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/miscellaneous/Makefile.in b/scripts/miscellaneous/Makefile.in --- a/scripts/miscellaneous/Makefile.in +++ b/scripts/miscellaneous/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/miscellaneous/dir.m b/scripts/miscellaneous/dir.m --- a/scripts/miscellaneous/dir.m +++ b/scripts/miscellaneous/dir.m @@ -39,9 +39,10 @@ ## If @var{directory} is not a directory, return information about the ## named file. ## @var{filename}. +## +## @seealso{ls, stat, readdir, glob, filesep} ## @end deftypefn ## -## @seealso{stat} ## Author: jwe diff --git a/scripts/optimization/Makefile.in b/scripts/optimization/Makefile.in --- a/scripts/optimization/Makefile.in +++ b/scripts/optimization/Makefile.in @@ -29,7 +29,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -43,6 +43,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/plot/Makefile.in b/scripts/plot/Makefile.in --- a/scripts/plot/Makefile.in +++ b/scripts/plot/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/plot/clf.m b/scripts/plot/clf.m new file mode 100644 --- /dev/null +++ b/scripts/plot/clf.m @@ -0,0 +1,30 @@ +## Copyright (C) 2005 John W. Eaton +## +## This file is part of Octave. +## +## Octave is free software; you can redistribute it and/or modify it +## under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## Octave is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with Octave; see the file COPYING. If not, write to the Free +## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +## 02110-1301, USA. + +## -*- texinfo -*- +## @deftypefn {Function File} {} clf +## Clear the plot window and any titles or axis labels. This function +## is equivalent to @code{clearplot}. +## @end deftypefn + +function clf () + + clearplot (); + +endfunction diff --git a/scripts/polynomial/Makefile.in b/scripts/polynomial/Makefile.in --- a/scripts/polynomial/Makefile.in +++ b/scripts/polynomial/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/quaternion/Makefile.in b/scripts/quaternion/Makefile.in --- a/scripts/quaternion/Makefile.in +++ b/scripts/quaternion/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/set/Makefile.in b/scripts/set/Makefile.in --- a/scripts/set/Makefile.in +++ b/scripts/set/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/signal/Makefile.in b/scripts/signal/Makefile.in --- a/scripts/signal/Makefile.in +++ b/scripts/signal/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/sparse/Makefile.in b/scripts/sparse/Makefile.in --- a/scripts/sparse/Makefile.in +++ b/scripts/sparse/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/specfun/Makefile.in b/scripts/specfun/Makefile.in --- a/scripts/specfun/Makefile.in +++ b/scripts/specfun/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/special-matrix/Makefile.in b/scripts/special-matrix/Makefile.in --- a/scripts/special-matrix/Makefile.in +++ b/scripts/special-matrix/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/startup/Makefile.in b/scripts/startup/Makefile.in --- a/scripts/startup/Makefile.in +++ b/scripts/startup/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = # $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = # $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -64,6 +64,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/statistics/base/Makefile.in b/scripts/statistics/base/Makefile.in --- a/scripts/statistics/base/Makefile.in +++ b/scripts/statistics/base/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/statistics/distributions/Makefile.in b/scripts/statistics/distributions/Makefile.in --- a/scripts/statistics/distributions/Makefile.in +++ b/scripts/statistics/distributions/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/statistics/models/Makefile.in b/scripts/statistics/models/Makefile.in --- a/scripts/statistics/models/Makefile.in +++ b/scripts/statistics/models/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/statistics/tests/Makefile.in b/scripts/statistics/tests/Makefile.in --- a/scripts/statistics/tests/Makefile.in +++ b/scripts/statistics/tests/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/strings/Makefile.in b/scripts/strings/Makefile.in --- a/scripts/strings/Makefile.in +++ b/scripts/strings/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/testfun/Makefile.in b/scripts/testfun/Makefile.in --- a/scripts/testfun/Makefile.in +++ b/scripts/testfun/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/scripts/time/Makefile.in b/scripts/time/Makefile.in --- a/scripts/time/Makefile.in +++ b/scripts/time/Makefile.in @@ -27,7 +27,7 @@ FCN_FILES = $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) -all: +all: PKG_ADD .PHONY: all install install-strip: @@ -41,6 +41,10 @@ clean: .PHONY: clean +PKG_ADD: $(FCN_FILES) + @echo "making PKG_ADD" + @$(do-mkpkgadd) + tags: $(SOURCES) ctags $(SOURCES) diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +2006-01-13 John W. Eaton + + * DLD-FUNCTIONS/__gnuplot_raw__.l (Fclearplot): For compatibility, + also turn off hold state for current figure. + +2006-01-13 Bill Denney + + * dirfns.cc: Add @seealso{} to docstrings. + 2006-01-13 John W. Eaton * help.cc (display_help_text): Use warning() to print raw Texinfo diff --git a/src/DLD-FUNCTIONS/__gnuplot_raw__.l b/src/DLD-FUNCTIONS/__gnuplot_raw__.l --- a/src/DLD-FUNCTIONS/__gnuplot_raw__.l +++ b/src/DLD-FUNCTIONS/__gnuplot_raw__.l @@ -1693,6 +1693,12 @@ { gnuplot::clear (); + octave_value_list args; + + args(0) = "off"; + + feval ("hold", args); + return octave_value_list (); } diff --git a/src/dirfns.cc b/src/dirfns.cc --- a/src/dirfns.cc +++ b/src/dirfns.cc @@ -101,6 +101,7 @@ Changes the current working directory to @file{~/octave}. If the\n\ directory does not exist, an error message is printed and the working\n\ directory is not changed.\n\ +@seealso{mkdir, rmdir, dir}\n\ @end deffn") { octave_value_list retval; @@ -158,6 +159,7 @@ The @code{dir} and @code{ls} commands are implemented by calling your\n\ system's directory listing command, so the available options may vary\n\ from system to system.\n\ +@seealso{dir, stat, readdir, glob, filesep}\n\ @end deffn") { octave_value retval; @@ -220,6 +222,7 @@ "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} pwd ()\n\ Return the current working directory.\n\ +@seealso{dir, ls}\n\ @end deftypefn") { octave_value retval; @@ -248,6 +251,7 @@ If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ system-dependent error message.\n\ +@seealso{dir, glob}\n\ @end deftypefn") { octave_value_list retval; @@ -296,6 +300,7 @@ character strings. Otherwise, @var{status} is 0, @var{msg} contains a\n\ system-dependent error message, and @var{msgid} contains a unique\n\ message identifier.\n\ +@seealso{rmdir}\n\ @end deftypefn") { octave_value_list retval; @@ -345,6 +350,7 @@ \n\ If the optional second parameter is suplied, recursively remove all\n\ subdirectories as well.\n\ +@seealso{mkdir}\n\ @end deftypefn") { octave_value_list retval; @@ -394,6 +400,7 @@ If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ system-dependent error message.\n\ +@seealso{symlink}\n\ @end deftypefn") { octave_value_list retval; @@ -440,6 +447,7 @@ If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ system-dependent error message.\n\ +@seealso{link, readlink}\n\ @end deftypefn") { octave_value_list retval; @@ -487,6 +495,7 @@ @var{symlink}, @var{err} is 0 and @var{msg} is an empty string.\n\ Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ system-dependent error message.\n\ +@seealso{link, symlink}\n\ @end deftypefn") { octave_value_list retval; @@ -530,6 +539,7 @@ If successful, @var{err} is 0 and @var{msg} is an empty string.\n\ Otherwise, @var{err} is nonzero and @var{msg} contains a\n\ system-dependent error message.\n\ +@seealso{ls, dir}\n\ @end deftypefn") { octave_value_list retval; @@ -583,8 +593,8 @@ @result{} \"/vmlinuz\"\n\ @end group\n\ @end example\n\ -@end deftypefn\n\ -@seealso{ls,dir}") +@seealso{dir, ls, stat, readdir}\n\ +@end deftypefn") { octave_value retval; @@ -661,6 +671,7 @@ @defvr {Built-in Variable} filesep\n\ The character used to separate directory names. The value\n\ of this variable is system dependent.\n\ +@seealso{dir, ls}\n\ @end defvr"); }