Normalize ui/win32 indentation and switch to SPDX.

Switch ui/win32/console_win32.[ch] to 4-space indentation to match the
other files in that directory. Remove ui/.editorconfig. SPDX-abbreviate
the license blurb in all files in that directory.

Change-Id: I68aa5a3ae7ae184ea8d27d9dba06b968ac3d2472
Reviewed-on: https://code.wireshark.org/review/24636
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Gerald Combs 2017-11-28 17:48:59 -08:00 committed by Michael Mann
parent d1a79a6cac
commit 18b240d7d2
8 changed files with 143 additions and 225 deletions

View File

@ -1,8 +0,0 @@
#
# Editor configuration
#
# http://editorconfig.org/
#
[console_win32.[ch]]
indent_size = 2

View File

@ -5,21 +5,7 @@
* By Gerald Combs <gerald@wireshark.org> * By Gerald Combs <gerald@wireshark.org>
* Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com> * Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com>
* *
* This program is free software; you can redistribute it and/or * SPDX-License-Identifier: GPL-2.0+
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
*/ */
#ifdef _WIN32 #ifdef _WIN32
@ -256,14 +242,14 @@ get_stdin_capture(void)
#endif /* _WIN32 */ #endif /* _WIN32 */
/* /*
* Editor modelines * Editor modelines - https://www.wireshark.org/tools/modelines.html
* *
* Local Variables: * Local variables:
* c-basic-offset: 2 * c-basic-offset: 4
* tab-width: 8 * tab-width: 8
* indent-tabs-mode: nil * indent-tabs-mode: nil
* End: * End:
* *
* ex: set shiftwidth=2 tabstop=8 expandtab: * vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true: * :indentSize=4:tabSize=8:noTabs=true:
*/ */

View File

@ -5,19 +5,7 @@
* By Gerald Combs <gerald@wireshark.org> * By Gerald Combs <gerald@wireshark.org>
* Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com> * Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com>
* *
* This program is free software; you can redistribute it and/or * SPDX-License-Identifier: GPL-2.0+
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __CONSOLE_WIN32_H__ #ifndef __CONSOLE_WIN32_H__
@ -77,14 +65,14 @@ gboolean get_stdin_capture(void);
#endif /* __CONSOLE_WIN32_H__ */ #endif /* __CONSOLE_WIN32_H__ */
/* /*
* Editor modelines * Editor modelines - https://www.wireshark.org/tools/modelines.html
* *
* Local Variables: * Local variables:
* c-basic-offset: 2 * c-basic-offset: 4
* tab-width: 8 * tab-width: 8
* indent-tabs-mode: nil * indent-tabs-mode: nil
* End: * End:
* *
* ex: set shiftwidth=2 tabstop=8 expandtab: * vi: set shiftwidth=4 tabstop=8 expandtab:
* :indentSize=2:tabSize=8:noTabs=true: * :indentSize=4:tabSize=8:noTabs=true:
*/ */

View File

@ -5,19 +5,7 @@
* By Gerald Combs <gerald@wireshark.org> * By Gerald Combs <gerald@wireshark.org>
* Copyright 2004 Gerald Combs * Copyright 2004 Gerald Combs
* *
* This program is free software; you can redistribute it and/or * SPDX-License-Identifier: GPL-2.0+
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h" #include "config.h"

View File

@ -5,19 +5,7 @@
* By Gerald Combs <gerald@wireshark.org> * By Gerald Combs <gerald@wireshark.org>
* Copyright 2006 Gerald Combs * Copyright 2006 Gerald Combs
* *
* This program is free software; you can redistribute it and/or * SPDX-License-Identifier: GPL-2.0+
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __FILE_DLG_WIN32_H__ #ifndef __FILE_DLG_WIN32_H__

View File

@ -5,20 +5,7 @@
* By Gerald Combs <gerald@wireshark.org> * By Gerald Combs <gerald@wireshark.org>
* Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com> * Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com>
* *
* This program is free software; you can redistribute it and/or * SPDX-License-Identifier: GPL-2.0+
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* *
* This original code was from the Technet Article Q139652 : * This original code was from the Technet Article Q139652 :
* HOWTO: Print a Document * HOWTO: Print a Document

View File

@ -5,19 +5,7 @@
* By Gerald Combs <gerald@wireshark.org> * By Gerald Combs <gerald@wireshark.org>
* Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com> * Copyright 2002, Jeffrey C. Foster <jfoste@woodward.com>
* *
* This program is free software; you can redistribute it and/or * SPDX-License-Identifier: GPL-2.0+
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef __PRINT_MSWIN_H__ #ifndef __PRINT_MSWIN_H__

View File

@ -1,3 +1,4 @@
# Gtk+ only.
[Settings] [Settings]
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
# disable images in buttons. # disable images in buttons.