Sébastien Helleu
64566629c5
irc: use "const char *" variables for result of string functions with const parameter
2026-06-15 07:52:12 +02:00
Sébastien Helleu
f53e7fb9ef
core, plugins: fix typos in comments on functions, use imperative
2026-03-23 20:45:36 +01:00
Sébastien Helleu
106fe6ca7c
core: update copyright dates
2026-03-08 10:37:15 +01:00
Sébastien Helleu
2475f20cb7
all: move description of C files below the copyright and license
2025-03-31 11:47:49 +02:00
Sébastien Helleu
3a6ac9ee76
all: add SPDX license tag
2025-03-31 07:49:26 +02:00
Sébastien Helleu
d8987a1678
all: replace Copyright lines by SPDX copyright tag
2025-03-30 14:47:12 +02:00
Aaron Jones
f5038bccbc
Fix function prototypes for list of arguments
...
At the moment, building WeeChat triggers several thousand -Wstrict-prototypes
diagnostics. This is due to its source code using an empty argument list for
functions and function pointers that take no arguments, instead of explicitly
declaring that they take no arguments by using a void list.
This commit replaces all empty argument lists with a void list.
Note that Ruby's headers also suffer the same problem, which WeeChat can't
do anything to fix. Thus, building WeeChat with the Ruby plugin enabled
will still issue approximately 30 such diagnostics.
2025-03-10 08:16:52 +01:00
Sébastien Helleu
9285afc3e2
irc: keep spaces at the end of /topic command arguments
2025-02-15 23:32:33 +01:00
Sébastien Helleu
547e2b934e
core: update copyright dates
2025-02-01 23:13:18 +01:00
Sébastien Helleu
45509e1cd1
irc: replace calls to malloc by weechat_asprintf
2024-12-21 15:12:33 +01:00
Sébastien Helleu
2bbf289635
irc: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
3ca4f2d3e5
irc: add count and mode filter in command /names ( closes #98 )
2023-08-27 12:26:10 +02:00
Sébastien Helleu
481e8f197d
core: use type "enum" in options
2023-07-08 13:29:45 +02:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
3f9c46468c
irc: add option "sort" in command /autojoin
2022-03-11 19:31:56 +01:00
Sébastien Helleu
9cfdb4a324
irc: add command /autojoin
2022-03-10 21:12:46 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
b54d06630d
irc: fix completion of channel topic with UTF-8 chars (issue #1739 )
2022-01-15 09:52:23 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
88bef0b1b1
core: rename functions hook_completion_{get_string|list_add} to completion_{get_string|list_add}
...
Old functions are kept for compatibility reasons.
2020-05-08 10:51:30 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
015ae4a94b
irc: add filters on raw buffer ( closes #1000 )
2019-11-03 09:01:44 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
126a825924
irc: add completion with modelist numbers for commands /unban and /unquiet
2018-03-25 08:38:42 +02:00
Sébastien Helleu
50d39969cb
irc: fix some styles
2018-03-24 17:08:56 +01:00
Simmo Saan
d77e1ea499
irc: add indexed ban list, add completion for /unban and /unquiet ( closes #597 , task #11374 , task #10876 )
2018-03-24 17:01:50 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
34ccf3fd81
irc: rename server options "default_msg_*" to "msg_*", evaluate them
2016-07-17 09:29:14 +02:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.
With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.
Following functions are affected in the C API:
* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Sébastien Helleu
c337e74e7a
irc: use current channel and current server channels first in completions "irc_channels" and "irc_server_channels" ( closes #392 )
2015-11-17 20:48:24 +01:00
Sébastien Helleu
17e1747a82
irc: use current channel first in completion "irc_channels" (task #12923 , issue #392 )
2015-11-16 20:24:45 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
de067ff6a0
irc: reformat some code to make it more readable
2014-11-01 17:59:02 +01:00
Sebastien Helleu
6ea8c2d83c
irc: fix some malloc sizes
2014-02-28 11:39:24 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
57cda6a331
irc: remove function irc_color_decode_for_user_entry
...
Since commits d03eb52d49 and
0c48b7ab8b , the IRC color codes are the
same in input line and messages, so the function
irc_color_decode_for_user_entry is not needed any more.
It was used only to decode colors when completing the command /topic
(with the channel topic).
2013-12-04 07:51:59 +01:00
Sebastien Helleu
d82f8c8165
irc: add server option "default_msg_kick" to customize default kick/kickban message (task #12777 ) (patch from Nils Görs)
2013-10-08 19:57:04 +02:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
e3b7c8fdb7
irc: add case insensitive string comparison based on casemapping of server (rfc1459, strict-rfc1459, ascii) (bug #34239 )
2011-11-12 10:56:52 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
7d79757d85
Fix crash when completing /part command on a non-irc buffer (bug #32402 )
2011-02-10 09:52:15 +01:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
d3492db093
Fix irc topic completion in command /topic when channel topic starts with channel name
2010-11-09 17:55:55 +01:00