1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00
Commit Graph

45 Commits

Author SHA1 Message Date
Sébastien Helleu 33bba784c3 core: update copyright dates 2023-01-01 14:54:35 +01:00
Sébastien Helleu 6619c421aa irc: escape backslashes in raw buffer (closes #1838) 2022-10-12 21:43:03 +02:00
Sébastien Helleu 4d3a3c67ac irc: set local variable "filter" when doing /server raw xxx with raw buffer already opened (closes #1448) 2022-10-01 17:06:31 +02:00
Sébastien Helleu c44b79dce7 core: update copyright dates 2022-01-17 18:41:06 +01:00
Sébastien Helleu c4b4d80936 irc: parse and return command parameters in message parser 2021-10-17 21:28:30 +02:00
Sébastien Helleu efc7a588d6 core: update copyright dates 2021-01-02 21:34:16 +01:00
Sébastien Helleu 2efad93220 irc: remove empty lines 2020-03-28 10:36:10 +01: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 ed4837b2f6 core: update copyright dates 2018-01-05 00:54:18 +01:00
Sébastien Helleu 54bf589d7d core, plugins: fix conditions to insert elements in linked lists
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-06-10 16:21:11 +02:00
Sébastien Helleu f15ea72da3 irc: check that pointers received in arguments are not NULL in "free" functions
Functions:
- irc_channel_nick_speaking_time_free
- irc_ignore_free
- irc_notify_free
- irc_raw_message_free
- irc_server_outqueue_free
2017-03-25 14:05:55 +01:00
Sébastien Helleu 705d86e684 core: update copyright dates 2017-01-01 11:32:04 +01: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 8319332a78 irc: display the arrow before server name in raw buffer
This prevents the arrow to be truncated if the option
weechat.look.prefix_align_max is set to a non-zero value.
2015-08-23 09:55:28 +02:00
Sébastien Helleu d05ebd18c1 irc: add hex dump of messages in raw buffer
The dump of messages is displyed when the debug is enabled for irc
plugin (level 2 or more), for example: /debug set irc 2
2015-08-22 09:47:01 +02:00
Sébastien Helleu 2c4b0e32ec irc: fix display of invalid UTF-8 chars in raw buffer
Invalid UTF-8 chars are now displayed as hexadecimal codes, for example:
"test\xE9" instead of "test?" (the real word being "testé").
2015-08-22 08:53:33 +02:00
Sébastien Helleu a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu 571e6c0d5a irc: use syntax \xNN instead of \NN for control chars in raw buffer 2013-12-22 18:31:30 +01: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 dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 5073cd3476 core: add buffer property "short_name_is_set", return name if short name is not set (in buffer infolist or property) 2011-08-14 16:04:12 +02:00
Sebastien Helleu 2c20426577 irc: set short name on buffers only if it was not set by another plugin/script 2011-08-14 13:20:47 +02:00
Sebastien Helleu 478c6f73a4 irc, relay: check that prefix and message are not NULL before adding a message to raw buffer 2011-06-14 14:34:45 +02:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu c311090722 Fix bug with flags on irc raw buffer 2010-11-12 18:53:07 +01:00
Sebastien Helleu 868df21122 Add IRC command redirection (task #6703) 2010-10-23 09:54:31 +02:00
Sebastien Helleu d2d60d4711 Beta version of IRC proxy feature in Relay plugin
Major changes in Relay plugin:
- IRC proxy feature (beta),
- raw buffer.

Changes in IRC plugin:
- add tags for messages sent to servers,
- add signal "irc_input_send" to simulate text/command on an IRC buffer,
- add prefix in infolist "irc_nick".
2010-09-17 14:47:36 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 915d4801f6 Change buffer properties only when buffer is created by IRC plugin (channels and raw buffer), do not change them after /upgrade 2010-04-03 16:52:37 +02:00
Sebastien Helleu 94764208e4 Allow input "q" to close IRC raw buffer 2010-02-20 16:54:58 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 4d60c48f5f Switch to irc raw buffer if it is aleady opened, with /server raw or alt-j + alt-r 2009-06-24 15:04:43 +02:00
Sebastien Helleu 433f5e86fa Fix bug with upgrade and irc raw buffer, save irc raw messages during upgrade 2009-04-14 19:16:47 +02:00
Sebastien Helleu 2a2f019cd8 Fix typo in irc-raw.c and jabber-debug.c 2009-03-23 13:14:57 +01:00
Sebastien Helleu 16c2d5fe7e Add missing include of time.h in irc-raw.C 2009-03-19 20:19:15 +01:00
Sebastien Helleu a0f6b6eda6 Many improvements on IRC raw buffer
New features:
- key alt-j alt-r is reintroduced to open IRC raw buffer
- command "/server raw" opens IRC raw buffer
- new option irc.look.raw_messages, which is number of lines to keep in memory
to display when user will open raw buffer (to see last messages received before
opening raw buffer)
2009-03-19 17:25:36 +01:00