Mercurial > octave
changeset 23085:dffa2b8c9482
maint: strip trailing whitespace from source files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 23 Jan 2017 14:29:35 -0500 |
parents | ef4d915df748 |
children | 12956e50e508 |
files | Makefile.am NEWS libinterp/corefcn/graphics.cc libinterp/corefcn/help.cc libinterp/dldfcn/__ode15__.cc liboctave/numeric/EIG.cc liboctave/numeric/eigs-base.cc m4/octave_blas_f77_func.m4 scripts/mk-pkg-add scripts/optimization/fminsearch.m scripts/specfun/expint.m |
diffstat | 11 files changed, 30 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.am Mon Jan 23 14:27:48 2017 -0500 +++ b/Makefile.am Mon Jan 23 14:29:35 2017 -0500 @@ -3,17 +3,17 @@ # Copyright (C) 1993-2016 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 3 of the License, 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, see # <http://www.gnu.org/licenses/>.
--- a/NEWS Mon Jan 23 14:27:48 2017 -0500 +++ b/NEWS Mon Jan 23 14:29:35 2017 -0500 @@ -36,25 +36,25 @@ removed from Octave 4.4. allow_noninteger_range_as_index - bicubic - delaunay3 + bicubic + delaunay3 do_braindead_shortcircuit_evaluation - dump_prefs - find_dir_in_path - finite - fmod - fnmatch - gmap40 - loadaudio - luinc - mouse_wheel_zoom - nfields - octave_tmp_file_name - playaudio - saveaudio + dump_prefs + find_dir_in_path + finite + fmod + fnmatch + gmap40 + loadaudio + luinc + mouse_wheel_zoom + nfields + octave_tmp_file_name + playaudio + saveaudio setaudio - syl - usage + syl + usage ** The header file oct-alloc.h has been removed along with the macros that it defined (DECLARE_OCTAVE_ALLOCATOR, DEFINE_OCTAVE_ALLOCATOR,
--- a/libinterp/corefcn/graphics.cc Mon Jan 23 14:27:48 2017 -0500 +++ b/libinterp/corefcn/graphics.cc Mon Jan 23 14:29:35 2017 -0500 @@ -4603,7 +4603,7 @@ xset (zlabel.handle_value (), "__autopos_tag__", "zlabel"); xset (title.handle_value (), "__autopos_tag__", "title"); - double fs = labelfontsizemultiplier.double_value () * + double fs = labelfontsizemultiplier.double_value () * fontsize.double_value (); xset (xlabel.handle_value (), "fontsize", octave_value (fs)); xset (ylabel.handle_value (), "fontsize", octave_value (fs));
--- a/libinterp/corefcn/help.cc Mon Jan 23 14:27:48 2017 -0500 +++ b/libinterp/corefcn/help.cc Mon Jan 23 14:29:35 2017 -0500 @@ -181,7 +181,7 @@ make_name_list (void) { const static string_vector keywords = Fiskeyword ()(0).string_vector_value (); - const static int key_len = keywords.numel (); + const static int key_len = keywords.numel (); const string_vector bif = symbol_table::built_in_function_names (); const int bif_len = bif.numel ();
--- a/libinterp/dldfcn/__ode15__.cc Mon Jan 23 14:27:48 2017 -0500 +++ b/libinterp/dldfcn/__ode15__.cc Mon Jan 23 14:29:35 2017 -0500 @@ -65,7 +65,7 @@ #endif return NV_DATA_S (v); - + #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC) // Restore prevailing warning state for remainder of the file. #pragma GCC diagnostic pop
--- a/liboctave/numeric/EIG.cc Mon Jan 23 14:27:48 2017 -0500 +++ b/liboctave/numeric/EIG.cc Mon Jan 23 14:29:35 2017 -0500 @@ -395,7 +395,7 @@ F77_INT a_nc = octave::to_f77_int (a.cols ()); F77_INT b_nc = octave::to_f77_int (b.cols ()); - + if (n != a_nc || nb != b_nc) (*current_liboctave_error_handler) ("EIG requires square matrix");
--- a/liboctave/numeric/eigs-base.cc Mon Jan 23 14:27:48 2017 -0500 +++ b/liboctave/numeric/eigs-base.cc Mon Jan 23 14:29:35 2017 -0500 @@ -1359,7 +1359,6 @@ k, tol, presid, p, v, n, iparam, ipntr, workd, workl, lwork, info2 F77_CHAR_ARG_LEN(1) F77_CHAR_ARG_LEN(1) F77_CHAR_ARG_LEN(2)); - if (f77_exception_encountered) (*current_liboctave_error_handler) ("eigs: unrecoverable exception encountered in dseupd");
--- a/m4/octave_blas_f77_func.m4 Mon Jan 23 14:27:48 2017 -0500 +++ b/m4/octave_blas_f77_func.m4 Mon Jan 23 14:29:35 2017 -0500 @@ -61,7 +61,7 @@ #serial 8 -## Derived from +## Derived from AC_DEFUN([OCTAVE_BLAS_F77_FUNC], [ AC_PREREQ(2.50) AC_REQUIRE([AX_BLAS])
--- a/scripts/mk-pkg-add Mon Jan 23 14:27:48 2017 -0500 +++ b/scripts/mk-pkg-add Mon Jan 23 14:29:35 2017 -0500 @@ -3,17 +3,17 @@ # Copyright (C) 2002-2016 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 3 of the License, 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, see # <http://www.gnu.org/licenses/>.
--- a/scripts/optimization/fminsearch.m Mon Jan 23 14:27:48 2017 -0500 +++ b/scripts/optimization/fminsearch.m Mon Jan 23 14:29:35 2017 -0500 @@ -77,7 +77,7 @@ if (nargin < 2) print_usage (); endif - + if (nargin < 3 || isempty (options)) options = struct (); endif
--- a/scripts/specfun/expint.m Mon Jan 23 14:27:48 2017 -0500 +++ b/scripts/specfun/expint.m Mon Jan 23 14:29:35 2017 -0500 @@ -113,7 +113,7 @@ ## FIXME: The performance of these routines need improvement. ## There are numerous temporary variables created, some of which could - ## probably be eliminated. + ## probably be eliminated. ## Series expansion ## Abramowitz, Stegun, "Handbook of Mathematical Functions",