1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00
Commit Graph

2482 Commits

Author SHA1 Message Date
Sébastien Helleu 2a5eb1564f fset: add fset (Fast Set) plugin skeleton (WIP) 2017-06-25 16:35:27 +02:00
Sébastien Helleu b3dd47edd8 buflist: add variable ${format_name} in bar item evaluation and option buflist.format.name (issue #1020) 2017-06-23 12:00:34 +02:00
Sébastien Helleu 4827ede798 buflist: display the warning about script buffers.pl only if buflist is enabled 2017-06-20 22:02:06 +02:00
Sébastien Helleu c15c30770e irc: fix update of nick prefixes when the names are received in message 353 (closes #1022)
This regression was introduced by commit
fadee50664 (issue #1019)
2017-06-20 07:21:08 +02:00
Sébastien Helleu fadee50664 irc: don't reset nick properties (prefixes/away/account/realname) on /names when the nick already exists (closes #1019) 2017-06-17 15:22:01 +02:00
Sébastien Helleu 383652aa2a irc: remove unused functions irc_server_get_number_connected and irc_server_get_number_buffer (issue #1012) 2017-06-14 07:29:11 +02:00
Sébastien Helleu fbbb72c44d buflist: add variable ${merged} in /help buflist 2017-06-13 21:17:54 +02:00
Sébastien Helleu 92a40052af buflist: add variable ${merged} in bar item evaluation 2017-06-13 20:29:38 +02:00
Sébastien Helleu fbf7156b1b alias: fix message in case of error in command /alias addcompletion 2017-06-12 20:07:44 +02:00
Sébastien Helleu ee2f09fb13 relay: add option "start" in command /relay 2017-06-12 20:06:58 +02: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 be47805597 Merge pull request #1015 from Neui/remove-unused-irc-stores
irc: Remove unnecessary stores
2017-06-10 14:54:41 +02:00
Neui f962ba1c6c trigger: if hashmap creation failed, don't use tags
If hashmap creation fails (eg. not enough memory), it jumps to the label
"end", where it checks the pointer tags, that hadn't been initialized
before.

The simple fix is to initialize it before creating the hashmap.
2017-06-10 08:24:34 +02:00
Neui d924eff930 irc: Remove unnecessary stores 2017-06-09 21:00:25 +02:00
Sébastien Helleu f140a9198e buflist: add option buflist.look.auto_scroll (issue #332) 2017-06-08 06:56:42 +02:00
Sébastien Helleu e09dc5f63b buflist: return 0 if buffers are equal in sort function
This is better for symmetry of comparison callback (comparing buffer1 and
buffer2 will give same as comparing buffer2 and bufer1).

Thanks to Simmo Saan for reporting the problem.
2017-06-06 19:50:47 +02:00
Sébastien Helleu fa3a4355ce buflist: display a warning when the script "buffers.pl" is loaded 2017-06-05 14:56:14 +02:00
Simmo Saan 43451e8481 relay: remove callback unused after d2ff46fa69 2017-06-03 16:26:09 +03:00
Simmo Saan 2508f0acea core, irc: remove unused structs 2017-06-03 15:59:12 +03:00
Simmo Saan 7ab6731efe relay: fix relay.network.bind_address change callback not being called 2017-06-03 15:59:12 +03:00
Simmo Saan dab0792029 core, script: remove unused config section variables 2017-06-03 15:59:12 +03:00
Simmo Saan e5f67894be gui, buflist: remove declared but undefined functions 2017-06-03 15:59:12 +03:00
Simmo Saan 824610d28b exec, fifo, irc: remove unused #define-s 2017-06-03 15:58:07 +03:00
Simmo Saan 7a0bbd802b core: forward declare structs to avoid implicit declarations 2017-06-03 15:58:07 +03:00
Simmo Saan 996aaf0613 relay: remove local variables used only for sizeof 2017-06-03 15:56:26 +03:00
Simmo Saan ec13a66af3 core: fix fifo_fd_cb declared without arguments 2017-06-03 15:56:26 +03:00
Simmo Saan 832316df0c irc: fix irc_server_autojoin_channels declared without arguments 2017-06-03 15:56:26 +03:00
Sébastien Helleu 345c46133d buflist: fix typo in /help buflist 2017-06-02 20:02:04 +02:00
Sébastien Helleu 6e33f286f1 buflist: fix type of IRC server/channel pointers 2017-06-02 07:50:42 +02:00
Sébastien Helleu 2da9b35acb buflist: replace IRC struct by "void *" for IRC server/channel pointers 2017-06-02 07:46:46 +02:00
Sébastien Helleu 593eee869f trigger: add "irc_server" and "irc_channel" pointers in data for IRC signal/modifier hooks 2017-06-02 07:46:17 +02:00
Sébastien Helleu d320b72d89 buflist: fix long mouse gestures 2017-06-01 07:21:10 +02:00
Sébastien Helleu 8a25ac7875 buflist: add missing ${hotlist_priority} in /help buflist 2017-05-31 22:42:57 +02:00
Sébastien Helleu cdbf83c764 buflist: add missing ${number_displayed} in /help buflist 2017-05-31 22:37:00 +02:00
Sébastien Helleu d0b47b5c47 buflist: add support of char "~" in option buflist.look.sort for case insensitive comparison 2017-05-30 21:23:09 +02:00
Sébastien Helleu e6a6cc971e buflist: replace function buflist_compare_hdata_var by a call to weechat_hdata_compare 2017-05-30 20:32:40 +02:00
Sébastien Helleu 7621939a7a api: add function hdata_compare 2017-05-30 20:29:17 +02:00
Sébastien Helleu f6a8c28d2d api: add function config_option_get_string in plugin API 2017-05-30 20:28:01 +02:00
Sébastien Helleu f131b9f7de irc: fix crash on SASL authentication with mechanism ""ecdsa-nist256p-challenge" 2017-05-30 19:46:17 +02:00
Sébastien Helleu a603c5e476 irc: fix memory leak in case of error in "ecdsa-nist256p-challenge" SASL mechanism 2017-05-27 08:37:05 +02:00
Sébastien Helleu 323a19d73a buflist: increase size of hashtables used for string evaluation (issue #998)
This should make refresh of buflist bar item a bit faster.
2017-05-24 15:04:24 +02:00
Sébastien Helleu 02b1fe9926 buflist: fix slow switch of buffer when there are a lot of buffers opened (closes #998)
The function hdata_search (which evaluates a condition for each item in a list)
is too slow to search server and channel on each buffer. It is replaced by a
manual search in the list (using weechat_hdata_string to get the name), much
faster.
2017-05-24 14:59:50 +02:00
Sébastien Helleu 28e5018835 irc: remove unused variable in function irc_message_parse 2017-05-24 07:36:07 +02:00
Sébastien Helleu a87e3908cf buflist: add keys F1/F2, alt+F1/alt+F2 to scroll the buflist bar 2017-05-23 09:49:46 +02:00
Sébastien Helleu 1bace336bc relay: fix parsing of CAP command arguments in irc protocol (closes #995) 2017-05-19 21:21:30 +02:00
Sébastien Helleu b522060cef buflist: add variable ${current_buffer} in bar item evaluation 2017-05-19 07:39:23 +02:00
Sébastien Helleu 138af6e7dd buflist: add missing indentation in /help buflist 2017-05-18 22:00:15 +02:00
Sébastien Helleu 2eebde035a buflist: add option "bar" in command /buflist, do not automatically add the bar when buflist is disabled (closes #994) 2017-05-18 20:34:25 +02:00
Sébastien Helleu f56b38c34e script: fix typo in a comment 2017-05-15 20:34:56 +02:00
Sébastien Helleu 03a8fbc834 buflist: add a variable to store the size of arraylist 2017-05-15 20:23:42 +02:00