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

47 Commits

Author SHA1 Message Date
Sébastien Helleu 914bda1a74 irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873) 2017-01-01 16:35:02 +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 df66b2e6fe irc: fix type of value returned by function irc_buffer_build_name 2015-07-04 16:36:42 +02:00
Sébastien Helleu 499f36a7cf irc: optimize search of a nick in nicklist (up to 3x faster) 2015-04-29 21:20:08 +02:00
Sébastien Helleu 99d20e97c6 irc: send QUIT to server and no PART for channels when the server buffer is closed (closes #294) 2015-01-17 15:18:50 +01: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 b045a35c44 irc: fix name of server buffer after /server rename (set name "server.name" instead of "name") 2013-05-18 23:50:40 +02:00
Sebastien Helleu bbd080e680 irc: add option irc.look.pv_buffer: automatically merge private buffers (optionally by server) (task #11924) 2013-03-17 22:18:11 +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 452229cf32 irc: fix cancel of auto-reconnection to server with /disconnect
This bug was introduced by commit 5931eed85d
2012-10-14 11:17:54 +02:00
Sebastien Helleu 00a9028f42 irc: set callback "nickcmp" in channel buffers 2012-06-14 20:07:06 +02: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 d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 6e89c47bf1 Switch to next server address when IRC error is received after TCP connection but before message 001 (bug #30884) 2010-10-08 18:31:17 +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 485e884751 Add new option irc.look.part_closes_buffer to close buffer when /part is issued on channel (task #10295) 2010-03-26 20:02:17 +01:00
Sebastien Helleu bc3fa9fd4c Move /away command from irc plugin to core 2010-03-19 19:28:19 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 8d58b81d83 Add buffer merging feature, with /buffer merge/unmerge (task #7404) 2009-06-10 12:40:05 +02:00
Sebastien Helleu 8ac00cdac6 Some improvements on key bindings
List of changes:
- do not automatically create default keys if they do not exist, when reading
  weechat.conf (let user do that if needed)
- add "/key missing": add missing keys using default keys (do not update or
  remove user keys),
- key "meta-s" moved from irc/jabber plugins to core
- improved output of /key (display number of keys)
2009-04-07 18:22:09 +02:00
Sebastien Helleu 7b17a62e59 Fix bug when closing IRC channel buffers (pointer to current server is lost) 2009-03-21 18:23:08 +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
Sebastien Helleu 18a62f1dac Add Jabber plugin (alpha version, many Jabber features are missing)
This commit introduces Jabber/XMPP protocol for WeeChat. It uses iksemel lib.
Please note many major Jabber features are missing:
- roster management (add/remove/.. buddies),
- MUC,
- transports.
It is possible to define servers (with /jabber), connect to them (with
/jconnect), disconnect (/jdisconnect) and chat with buddies (with /jchat).
2009-01-15 15:29:05 +01:00
Sebastien Helleu 7fc3ca76c0 Update highlight words for server and channel buffers when local nick is changed 2009-01-04 14:53:22 +01:00
Sebastien Helleu 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
Sebastien Helleu 13e3f3c7f0 Fix charset problem with IRC plugin: use server charset if channel charset is not set 2008-12-19 17:43:37 +01:00
Sebastien Helleu b1b0c759fc Display server, port and IP on IRC server buffer when connection to server is ok 2008-12-17 18:10:56 +01:00
Sebastien Helleu 3c51c0e7c4 Remove argument "switch_to_another" for function gui_buffer_close() 2008-11-27 17:05:59 +01:00
Sebastien Helleu 8724fc18af Use of const for some functions returning "char *" 2008-11-15 22:35:12 +01:00
Sebastien Helleu 50e3eb142d Fix name/short name and local variables of IRC server buffer(s) when merging/splitting servers 2008-11-11 18:57:58 +01:00
Sebastien Helleu 12421a67da Set unread marker for IRC server/channels/pv buffers when using /away command 2008-09-30 15:39:25 +02:00
Sebastien Helleu 0fd3f8b6eb Option irc.look.one_server_buffer reintroduced (all IRC servers in one buffer) 2008-09-24 18:59:24 +02:00
Sebastien Helleu a8b12f2597 Add IRC bar items (buffer name, lag indicator), use bar items from plugins with callback to core items if not found 2008-09-21 19:32:41 +02:00
Sebastien Helleu c572e393e7 Remove "category" for buffers (keep only name). 2008-09-18 18:44:03 +02:00
Sebastien Helleu 6d37f185c0 Fix crash after closing channels/pv (internal channel structure was not deleted) (bug #23178) 2008-05-06 17:39:44 +02:00
Sebastien Helleu d9a4bdf629 Check plugin version when loading it, to prevent crash when loading old plugins 2008-03-23 11:41:09 +01:00
Sebastien Helleu d7cc27f713 Fixed bugs/crashs when closing buffers 2008-02-01 22:50:03 +01:00
Sebastien Helleu 184700e597 New "close callback" for buffers, use of this callback in IRC plugin to leave channel or disconnect from server when buffer is closed 2008-02-01 18:56:12 +01:00
Sebastien Helleu e3b52115c7 Update of year in some copyrights 2008-01-02 12:47:09 +01:00
Sebastien Helleu 652a6fa47e Added/renamed some files, many changes in IRC sources for running as plugin (still under development) 2007-10-31 18:22:38 +01:00