mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
all: move description of C files below the copyright and license
This commit is contained in:
@@ -579,8 +579,6 @@ Example in C:
|
||||
[source,c]
|
||||
----
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2025 Your Name <your@email.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -600,6 +598,8 @@ Example in C:
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Core functions for WeeChat */
|
||||
----
|
||||
|
||||
[[coding_c_style]]
|
||||
|
||||
@@ -580,8 +580,6 @@ Exemple en C :
|
||||
[source,c]
|
||||
----
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2025 Your Name <your@email.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -601,6 +599,8 @@ Exemple en C :
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Core functions for WeeChat */
|
||||
----
|
||||
|
||||
[[coding_c_style]]
|
||||
|
||||
@@ -700,8 +700,6 @@ WeeChat とプラグインの翻訳は gettext で行います、ファイルは
|
||||
[source,c]
|
||||
----
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2025 Your Name <your@email.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -721,6 +719,8 @@ WeeChat とプラグインの翻訳は gettext で行います、ファイルは
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Core functions for WeeChat */
|
||||
----
|
||||
|
||||
[[coding_c_style]]
|
||||
|
||||
@@ -575,8 +575,6 @@ WeeChat „језгро” се налази у следећим директо
|
||||
[source,c]
|
||||
----
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2025 Your Name <your@email.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -596,6 +594,8 @@ WeeChat „језгро” се налази у следећим директо
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Core functions for WeeChat */
|
||||
----
|
||||
|
||||
[[coding_c_style]]
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-arraylist.c - array lists management
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2014-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Array lists management */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-backtrace.c - backtrace after a segfault
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Backtrace after a segfault */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-calc.c - calculate result of an expression
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Calculate result of an expression */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-command.c - WeeChat core commands
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
* SPDX-FileCopyrightText: 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
*
|
||||
@@ -22,6 +20,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat core commands */
|
||||
|
||||
/* this define is needed for strptime() (not on OpenBSD/Sun) */
|
||||
#if !defined(__OpenBSD__) && !defined(__sun)
|
||||
#define _XOPEN_SOURCE 700
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-completion.c - completion for WeeChat commands
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
* SPDX-FileCopyrightText: 2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
*
|
||||
@@ -22,6 +20,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Completion for WeeChat commands */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-config-file.c - configuration files/sections/options management
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
* SPDX-FileCopyrightText: 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
*
|
||||
@@ -22,6 +20,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Configuration files/sections/options management */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-config.c - WeeChat configuration options (file weechat.conf)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
* SPDX-FileCopyrightText: 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
*
|
||||
@@ -22,6 +20,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat configuration options (file weechat.conf) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-crypto.c - cryptographic functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2018-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Cryptographic functions */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-debug.c - debug functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Debug functions */
|
||||
|
||||
/* for wcwidth in wchar.h */
|
||||
#define _XOPEN_SOURCE
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-dir.c - directory/file functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Directory/file functions */
|
||||
|
||||
/* for P_tmpdir in stdio.h */
|
||||
#ifndef __USE_XOPEN
|
||||
#define __USE_XOPEN
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-doc.c - documentation generator
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Documentation generator */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-eval.c - evaluate expressions with references to internal vars
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2012-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Evaluate expressions with references to internal vars */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-hashtable.c - implementation of hashtable
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2010-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Implementation of hashtable */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-hdata.c - direct access to WeeChat data using hashtables
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Direct access to WeeChat data using hashtables */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-hook.c - WeeChat hooks management
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat hooks management */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-infolist.c - info lists management
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Info lists management */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-input.c - default input callback for buffers
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Default input callback for buffers */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-list.c - sorted lists
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Sorted lists */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-log.c - WeeChat log file (weechat.log)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
* SPDX-FileCopyrightText: 2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
*
|
||||
@@ -22,6 +20,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat log file (weechat.log) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-network.c - network functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
* SPDX-FileCopyrightText: 2005-2010 Emmanuel Bouthenot <kolter@openics.org>
|
||||
* SPDX-FileCopyrightText: 2010 Gu1ll4um3r0m41n <aeroxteam@gmail.com>
|
||||
@@ -24,6 +22,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Network functions */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-proxy.c - proxy functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Proxy functions */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-secure-buffer.c - secured data buffer
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2013-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Secured data buffer */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-secure-config.c - secured data configuration options (file sec.conf)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2013-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Secured data configuration options (file sec.conf) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-secure.c - secured data
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2013-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Secured data */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-signal.c - signal functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2021-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Signal functions */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-string.c - string functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* String functions */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-sys.c - system actions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* System actions */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-upgrade-file.c - save/restore data for upgrading WeeChat
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Save/restore data for upgrading WeeChat */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-upgrade.c - save/restore session data of WeeChat core
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Save/restore session data of WeeChat core */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-url.c - URL transfer
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2012-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* URL transfer */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-utf8.c - UTF-8 string functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
* SPDX-FileCopyrightText: 2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
*
|
||||
@@ -22,6 +20,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* UTF-8 string functions */
|
||||
|
||||
/* for wcwidth in wchar.h */
|
||||
#define _XOPEN_SOURCE
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-util.c - some useful functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Some useful functions */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* core-version.c - functions for WeeChat version
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Functions for WeeChat version */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-command-run.c - WeeChat command_run hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat command_run hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-command.c - WeeChat command hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat command hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-completion.c - WeeChat completion hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat completion hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-config.c - WeeChat config hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat config hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-connect.c - WeeChat connect hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
* SPDX-FileCopyrightText: 2012 Simon Arlott
|
||||
*
|
||||
@@ -22,6 +20,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat connect hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-fd.c - WeeChat fd hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat fd hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-focus.c - WeeChat focus hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat focus hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-hdata.c - WeeChat hdata hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat hdata hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-hsignal.c - WeeChat hsignal hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat hsignal hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-info-hashtable.c - WeeChat info_hashtable hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat info_hashtable hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-info.c - WeeChat info hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat info hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-infolist.c - WeeChat infolist hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat infolist hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-line.c - WeeChat line hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat line hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-modifier.c - WeeChat modifier hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat modifier hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-print.c - WeeChat print hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat print hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-process.c - WeeChat process hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat process hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-signal.c - WeeChat signal hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat signal hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-timer.c - WeeChat timer hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat timer hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* hook-url.c - WeeChat URL hook
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat URL hook */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -15,8 +15,6 @@
|
||||
* ## ##
|
||||
* ##########################################################################
|
||||
*
|
||||
* weechat.c - WeeChat main functions
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -37,6 +35,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* WeeChat main functions */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-curses-bar-window.c - bar window functions for Curses GUI
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Bar window functions for Curses GUI */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-curses-chat.c - chat display functions for Curses GUI
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Chat display functions for Curses GUI */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-curses-color.c - color functions for Curses GUI
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Color functions for Curses GUI */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-curses-key.c - keyboard functions for Curses GUI
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Keyboard functions for Curses GUI */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-curses-main.c - main loop for Curses GUI
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Main loop for Curses GUI */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-curses-mouse.c - mouse functions for Curses GUI
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Mouse functions for Curses GUI */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-curses-term.c - terminal functions for Curses GUI
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Terminal functions for Curses GUI */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-curses-window.c - window display functions for Curses GUI
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Window display functions for Curses GUI */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* main.c - entry point for headless mode (no GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Entry point for headless mode (no GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* ncurses-fake.c - fake ncurses lib (for headless mode and tests)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2014-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Fake ncurses lib (for headless mode and tests) */
|
||||
|
||||
#include "ncurses-fake.h"
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* main.c - entry point for Curses GUI
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Entry point for Curses GUI */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-bar-item-custom.c - custom bar item functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2022-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Custom bar item functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-bar-item.c - bar item functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Bar item functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-bar-window.c - bar window functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Bar window functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-bar.c - bar functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Bar functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-buffer.c - buffer functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Buffer functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-chat.c - chat functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Chat functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-color.c - color functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Color functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-completion.c - word completion according to context (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Word completion according to context (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-cursor.c - functions for free movement of cursor (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Functions for free movement of cursor (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-filter.c - filter functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Filter functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-focus.c - functions about focus (cursor mode and mouse) (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Functions about focus (cursor mode and mouse) (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-history.c - memorize commands or text for buffers (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
* SPDX-FileCopyrightText: 2005 Emmanuel Bouthenot <kolter@openics.org>
|
||||
*
|
||||
@@ -22,6 +20,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Memorize commands or text for buffers (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-hotlist.c - hotlist management (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Hotlist management (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-input.c - input functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Input functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-key.c - keyboard functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Keyboard functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-layout.c - layout functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Layout functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-line.c - line functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Line functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-mouse.c - functions for mouse (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Functions for mouse (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-nick.c - nick functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Nick functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-nicklist.c - nicklist functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Nicklist functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* gui-window.c - window functions (used by all GUI)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Window functions (used by all GUI) */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* alias-command.c - alias commands
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Alias commands */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* alias-completion.c - completion for alias commands
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Completion for alias commands */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* alias-config.c - alias configuration options (file alias.conf)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Alias configuration options (file alias.conf) */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* alias-info.c - info and infolist hooks for alias plugin
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Info and infolist hooks for alias plugin */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../weechat-plugin.h"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* alias.c - alias plugin for WeeChat: command aliases
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Alias plugin for WeeChat: command aliases */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* buflist-bar-item.c - bar item for buflist plugin
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Bar item for buflist plugin */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* buflist-command.c - buflist command
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Buflist command */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../weechat-plugin.h"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* buflist-completion.c - completion for buflist command
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Completion for buflist command */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../weechat-plugin.h"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* buflist-config.c - buflist configuration options (file buflist.conf)
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Buflist configuration options (file buflist.conf) */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* buflist-info.c - infolist hook for buflist plugin
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2019 Simmo Saan <simmo.saan@gmail.com>
|
||||
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
@@ -22,6 +20,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Infolist hook for buflist plugin */
|
||||
|
||||
#include "../weechat-plugin.h"
|
||||
#include "buflist.h"
|
||||
#include "buflist-bar-item.h"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* buflist-mouse.c - mouse actions for buflist
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
@@ -21,6 +19,8 @@
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Mouse actions for buflist */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user