Sebastien Helleu
4853a530b6
irc: improve split of privmsg, add split of some other messages (bug #29879 ), add new info_hashtable "irc_message_split", split irc messages in relay plugin
...
List of new features/bugs fixed:
- improve split of privmsg: keep CTCP in split
- add split of messages: ison, join, notice, wallops, 005, 353
- add new info_hashtable "irc_message_split" (for plugins/scripts)
- in relay plugin: split irc messages sent to clients of irc proxy
2011-08-26 10:31:37 +02:00
Sebastien Helleu
ebf72c7eda
core: use dynamic buffer size for calls to vsnprintf
2011-08-26 09:55:55 +02:00
Sebastien Helleu
6e9c14dd61
irc: fix short name of buffer when nick changes in pv buffer
2011-08-22 23:34:55 +02:00
Sebastien Helleu
8fd1d48723
irc: use color "default" for any invalid color in option weechat.color.chat_nick_colors
2011-08-21 13:55:06 +02:00
Sebastien Helleu
44f2b7caf4
core: add functions "key_bind" and "key_unbind" in plugin API
2011-08-20 10:52:27 +02:00
Sebastien Helleu
221fff960e
perl: replace calls to SvPV by SvPV_nolen (patch #7436 )
2011-08-18 18:31:17 +02:00
Sebastien Helleu
8f7f672946
irc: fix compilation warning under FreeBSD
2011-08-18 17:57:11 +02:00
Sebastien Helleu
aa948c76a3
core: remove some compilation warnings under Cygwin
2011-08-18 11:09:46 +02:00
Sebastien Helleu
4df0edbe34
irc: fix short name of server buffer after command /server rename
2011-08-17 13:10:54 +02:00
Sebastien Helleu
df69add970
scripts: fix crash with scripts not auto-loaded having a buffer opened after /upgrade (input/close callbacks for buffer not set properly)
2011-08-17 12:53:34 +02:00
Sebastien Helleu
832d30b665
core: add local variables of buffer in focus hashtable, remove irc_server/irc_channel from focus hashtable for nicklist
2011-08-16 09:41:02 +02:00
Sebastien Helleu
a234bc90ad
irc: rename host/server/channel to irc_host/irc_server/irc_channel in irc focus hashtable for nicklist
2011-08-16 09:15:00 +02:00
Sebastien Helleu
8f0e0307c5
core: change priority of hook_focus "buffer_nicklist" in core (2000) and irc (1000)
2011-08-16 08:15:02 +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
dd4863d67c
irc: add tag "nick_xxx" for messages join/part/quit and wallops
2011-08-14 14:13:21 +02:00
Sebastien Helleu
ae2c061350
xfer: set short name for xfer chat buffer (dcc chat) only if it was not set by another plugin/script
2011-08-14 13:27:05 +02:00
Sebastien Helleu
15d78a45a8
relay: set short name for relay raw buffer only if it was not set by another plugin/script
2011-08-14 13:26:26 +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
1cb7c6a6c5
core: return info about line/word for chat area in focus hashtable, add keys m/q/Q to quote line in cursor mode, sort mouse keys by priority
2011-08-14 11:30:08 +02:00
Sebastien Helleu
3398c9c65b
irc: fix too small buffer for encoded base64 string used by SASL authentication
2011-08-12 12:11:36 +02:00
Sebastien Helleu
0a6682314f
irc: fix message displayed by command /msg nickserv
2011-08-08 13:42:36 +02:00
Sebastien Helleu
38fd5bfa51
core: use arguments for infolist "window" to return only one window by number
2011-08-08 11:32:31 +02:00
Sebastien Helleu
370769f759
irc: send WHO command to check away nicks only if channel was not parted
2011-08-08 09:26:40 +02:00
Sebastien Helleu
8d2c23209f
core: save and restore layout for buffers and windows on /upgrade
2011-08-05 23:15:23 +02:00
Sebastien Helleu
d27c459c1d
core: fix bugs with automatic layout (bug #26110 ), add support of merged buffers in layout (task #10893 )
2011-08-05 13:18:03 +02:00
Sebastien Helleu
cbdf4a4ae1
core: remove "const" for first argument of function utf8_normalize
2011-08-02 13:24:53 +02:00
Sebastien Helleu
217e9683d2
core: add info about position where mouse button is released in hook_focus (for mouse gestures)
2011-08-01 18:33:13 +02:00
Sebastien Helleu
5059743dd2
irc: add "server" and "channel" in hook_focus of bar item "buffer_nicklist"
2011-07-30 10:20:19 +02:00
Sebastien Helleu
ec12579f47
irc: complete help of command /ban (explain what is does without argument)
2011-07-27 09:34:03 +02:00
Sebastien Helleu
e0781f0390
core: add mouse support (task #5435 ), free cursor movement, hook_focus, fix bugs with key "^" (bug #32072 , bug #21381 ), fix bugs with bar windows, completion and /buffer
...
New features and bugs fixed:
- mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse"
- free movement of cursor: new command /cursor, new key context "cursor"
- new hook_focus (used by cursor and mouse)
- info "cursor_mode"
- bugs fixed with key "^"
- allow plugin name in /buffer name
- fix bugs with bar windows: do not create bar windows for hidden bars
- fix completion bug when two words for completion are equal but with different case
- automatic scroll direction in /bar scroll (x/y is now optional)
2011-07-26 18:50:29 +02:00
Sebastien Helleu
5d5d2ce4d1
irc: fix crash when malformed IRC message 352 (WHO) is received (bug #33790 )
2011-07-18 19:08:24 +02:00
Sebastien Helleu
47822ce80e
irc: fix crash when command "/buffer close" is used in a server command to close server buffer during connection (bug #33763 )
2011-07-13 18:28:29 +02:00
Sebastien Helleu
db261576b4
rmodifier: add missing include of strings.h in rmodifier.c
2011-07-11 16:46:08 +02:00
Sebastien Helleu
201ee104e7
irc: fix crash when /join command is executed on a non-irc buffer (bug #33742 )
2011-07-10 23:21:04 +02:00
Sebastien Helleu
cb4e0d0076
core: allow empty argument for infolist "key" (return context "default")
2011-07-10 23:07:33 +02:00
Sebastien Helleu
cd5b216e0f
relay: fix bug with self nick when someone changes its nick on channel (bug #33739 )
2011-07-10 09:00:33 +02:00
Sebastien Helleu
2b821b8b06
irc: fix typo in help of options irc.look.new_channel_position and irc.look.new_pv_position
2011-07-05 15:40:07 +02:00
Sebastien Helleu
3bea55b2f0
core: add context "search" for keys (to define keys used during search in buffer with ctrl+"r")
2011-07-05 15:36:42 +02:00
Sebastien Helleu
56a39bc8c8
core: add missing include of stddef.h in plugin.c
2011-06-29 10:24:03 +02:00
Sebastien Helleu
a6873b725f
irc: fix bug with comma in irc color code: do not strip comma if it is not followed by a digit (bug #33662 )
2011-06-28 13:38:55 +02:00
Sebastien Helleu
19bc95b961
core: many improvements on hdata
...
New features:
- add optional hdata name for variables in hdata
- add plugin API functions: hdata_get_var_hdata
- use hashtable to store hdata (created by WeeChat and plugins)
- free hdata and infolists created by plugin on plugin unload
- free all hdata on exit
- add "free" option to command /debug hdata
- remove hdata for hooks
2011-06-26 18:15:42 +02:00
Sebastien Helleu
0a09a336dd
irc: add prefix "#" for all channels on join (if no prefix given)
2011-06-22 11:32:45 +02:00
Sebastien Helleu
589f57c409
irc: switch to buffer on /join #channel if channel buffer already exists
2011-06-16 18:54:05 +02:00
Sebastien Helleu
6015f51b33
irc: update host of nicks on manual /who
2011-06-16 18:31:56 +02:00
Sebastien Helleu
49f7b5d701
relay, xfer: display possible actions in buffer even if list is empty
2011-06-15 14:50:23 +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
8046d91f5c
core: update description for some hdata
2011-06-13 21:45:26 +02:00
Sebastien Helleu
c8b2a6a084
core: add "hdata" (direct access to WeeChat/plugin data)
2011-06-13 12:32:27 +02:00
Sebastien Helleu
92b88e6599
relay: fix memory leak on plugin load (free raw messages)
2011-05-26 16:34:54 +02:00
Sebastien Helleu
d99fe2babd
relay: fix memory leak (free some parsed messages) (bug #33387 )
2011-05-26 16:33:52 +02:00