annotate scripts/@ftp/disp.m @ 30564:796f54d4ddbf stable

update Octave Project Developers copyright for the new year In files that have the "Octave Project Developers" copyright notice, update for 2021. In all .txi and .texi files except gpl.txi and gpl.texi in the doc/liboctave and doc/interpreter directories, change the copyright to "Octave Project Developers", the same as used for other source files. Update copyright notices for 2022 (not done since 2019). For gpl.txi and gpl.texi, change the copyright notice to be "Free Software Foundation, Inc." and leave the date at 2007 only because this file only contains the text of the GPL, not anything created by the Octave Project Developers. Add Paul Thomas to contributors.in.
author John W. Eaton <jwe@octave.org>
date Tue, 28 Dec 2021 18:22:40 -0500
parents 7854d5752dd2
children 78c3dcadf130
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
1 ########################################################################
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
2 ##
30564
796f54d4ddbf update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
3 ## Copyright (C) 2017-2022 The Octave Project Developers
27918
b442ec6dda5c use centralized file for copyright info for individual contributors
John W. Eaton <jwe@octave.org>
parents: 26376
diff changeset
4 ##
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
5 ## See the file COPYRIGHT.md in the top-level directory of this
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
6 ## distribution or <https://octave.org/copyright/>.
23335
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 ##
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 ## This file is part of Octave.
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 ##
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 23351
diff changeset
10 ## Octave is free software: you can redistribute it and/or modify it
23335
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 ## under the terms of the GNU General Public License as published by
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 23351
diff changeset
12 ## the Free Software Foundation, either version 3 of the License, or
23335
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 ## (at your option) any later version.
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 ##
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 ## Octave is distributed in the hope that it will be useful, but
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 ## GNU General Public License for more details.
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 ##
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 ## You should have received a copy of the GNU General Public License
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 ## along with Octave; see the file COPYING. If not, see
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 23351
diff changeset
22 ## <https://www.gnu.org/licenses/>.
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
23 ##
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
24 ########################################################################
23335
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 function disp (obj)
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27
28891
de5f2f9a64ff maint: Use same coding style when checking for a minimum of 1 input.
Rik <rik@octave.org>
parents: 27923
diff changeset
28 if (nargin < 1)
23335
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 print_usage ();
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 endif
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31
23337
f04f32f08590 Override disp rather than display for class objects (bug #50640).
Rik <rik@octave.org>
parents: 23335
diff changeset
32 printf (" FTP object\n");
23335
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 printf (" host: %s\n", obj.host);
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 printf (" user: %s\n", obj.username);
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 printf (" dir: %s\n", __ftp_pwd__ (obj.curlhandle));
23351
5ea6c6d0c2db Use octave_base_value::print_name_tag for old style classes (bug #50640).
Rik <rik@octave.org>
parents: 23337
diff changeset
36 printf (" mode: %s\n", __ftp_mode__ (obj.curlhandle));
23335
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37
c052a29c1f1f improve display of ftp and audio objects (bug #50640)
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 endfunction