Sebastien Helleu
d70532250b
api: fix connection to servers with hook_connect on OS X (bug #38496 )
2013-04-12 12:47:42 +02:00
Sebastien Helleu
fe6cb5c1b3
core: do not force weechat_quit to 0 in main loop, so that a /quit issued before main loop is working
2013-04-12 09:10:57 +02:00
Sebastien Helleu
67f6668d1b
irc: fix crash on command "/allchan /close"
2013-04-10 23:09:00 +02:00
Sebastien Helleu
33e7ad43d6
core: use layout saved when option weechat.look.save_layout_on_exit is enabled (so it is automatically restored when WeeChat restarts)
2013-03-29 07:59:23 +01:00
Sebastien Helleu
5dbda28263
core: fix uninitialized variable when saving layout for windows in upgrade
2013-03-29 07:35:39 +01:00
Andrew Potter
fe512fdd33
xfer: add option xfer.file.auto_accept_nicks (patch #7962 )
2013-03-25 09:05:36 +01:00
Sebastien Helleu
1871a774f3
fifo: remove #define MAX_PATH (now done in weechat-plugin.h)
2013-03-25 08:15:06 +01:00
Sebastien Helleu
adbfda00f5
script: fix compilation on GNU/Hurd (patch #7977 ) (thanks to Andrew Potter)
...
PATH_MAX is now defined in weechat-plugin.h (if not defined, for example on
GNU/Hurd), so that all plugins can use it.
2013-03-25 08:14:33 +01:00
Sebastien Helleu
2ffa199a7d
lua: remove use of functions for API constants
2013-03-24 20:01:57 +01:00
Sebastien Helleu
a08603c24c
irc: add option irc.look.display_join_message (task #10895 )
2013-03-24 13:02:26 +01:00
Sebastien Helleu
e03310cb0d
ruby: fix typo in comment
2013-03-24 10:42:38 +01:00
Sebastien Helleu
4fdbb83a07
ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option (bug #31050 )
2013-03-22 19:54:44 +01:00
Sebastien Helleu
55e58811b3
irc: fix default completion (like nicks) in commands /msg, /notice, /query and /topic
2013-03-22 09:40:44 +01:00
Sebastien Helleu
19acf8121f
irc: fix prefix color for nick when the prefix is not in irc.color.nick_prefixes: use default color (key "*")
...
Problem was happening on a server which has "PREFIX=(Yqaohv)!~&@%+".
Users with prefix "!" were displayed as lightred (color for "~") instead of
lightblue (default key "*").
When a prefix was not found, WeeChat was looping on other prefixes (in
order). Now if color is not found, WeeChat uses immediately the fallback color.
2013-03-21 20:16:49 +01: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
3e1d811761
core: fix refresh of item "completion" (bug #38214 ) (patch from Nils Görs)
...
The item is now cleared after any action that is changing content of command
line and after switch of buffer.
2013-03-17 19:44:39 +01:00
Sebastien Helleu
a290589f7c
scripts: create directories (language and language/autoload) on each action (install/remove/autoload), just in case they have been removed (bug #38473 )
2013-03-17 18:45:55 +01:00
Sebastien Helleu
cf2ad51f62
script: create "script" directory on each action (just in case it has been removed) (bug #38472 )
2013-03-17 18:32:04 +01:00
Sebastien Helleu
a9ff529d83
relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip) (thanks to Dominik Honnef)
2013-03-17 16:14:20 +01:00
Sebastien Helleu
e056f20643
rmodifier: add info about "groups" in /help rmodifier
2013-03-17 13:08:09 +01:00
Sebastien Helleu
149c77decd
core: fix typos in many comments and some strings
2013-03-17 12:55:20 +01:00
Sebastien Helleu
30e6acb00d
core: add support of multiple layouts (task #11274 )
2013-03-17 08:28:41 +01:00
Sebastien Helleu
3fb123510a
lua: fix crash on stack overflow: call lua_pop() for values returned by lua functions (bug #38510 )
2013-03-13 18:27:55 +01:00
Sebastien Helleu
d74041de25
relay: add missing "id" in raw messages sent to clients when compression is off (weechat protocol)
2013-03-13 12:12:48 +01:00
Sebastien Helleu
7672139d6b
relay: add negative numbers (integer: -123456 and long: -1234567890L) in command "test" (weechat protocol)
2013-03-13 11:50:32 +01:00
Sebastien Helleu
7cf9c8a656
irc: rename option irc.network.lag_disconnect to irc.network.lag_reconnect, value is now a number of seconds
2013-03-12 18:35:03 +01:00
Sebastien Helleu
afc1dd4f6b
api: fix bug in string_match when mask begins and ends with "*"
...
The bug was string_match returning 0 (instead of 1) if mask begins and ends with
"*" and if string and mask have same length (except both "*") with same content:
string_match("abc", "*abc*", 0) == 0 // BUG: it should return 1
string_match("abcd", "*abc*", 0) == 1 // OK
2013-03-11 18:09:33 +01:00
Sebastien Helleu
f27f91467a
script: fix typo in /help script.scripts.autoload
2013-03-10 08:56:12 +01:00
Sebastien Helleu
b63fca15fa
alias: mention local variables of buffer in /help alias
2013-03-10 08:27:55 +01:00
Sebastien Helleu
d2ff46fa69
relay: add message "_nicklist_diff" (differences between old and current nicklist)
...
This is an experimental feature, that must be explicitely enabled by clients
(for weechat protocol) in the init command with option "nicklistdiff", for example:
init password=mypasswd,nicklistdiff=1
This option will be removed when clients will handle nicklist diff.
2013-03-09 09:04:49 +01:00
Sebastien Helleu
9fdeef247e
core: add signals and hsignals for nicklist events
...
New signals: nicklist_group_removing and nicklist_nick_removing.
New hsignals: nicklist_group_added, nicklist_nick_added, nicklist_group_removing,
nicklist_nick_removing, nicklist_group_changed, nicklist_nick_changed.
2013-03-08 23:13:58 +01:00
Sebastien Helleu
b352891c2b
api: allow hashtable with keys that are not strings in function hashtable_add_to_infolist
2013-03-07 13:20:16 +01:00
Sebastien Helleu
8b925baa3c
core: add count for groups, nicks, and total in nicklist
2013-03-03 11:30:58 +01:00
Sebastien Helleu
844ba9e1c0
core: optimize function nicklist_remove_all (don't remove and create again "root" group)
2013-03-02 09:35:02 +01:00
Sebastien Helleu
d2550f89f4
xfer: fix typo in comment
2013-03-01 11:19:14 +01:00
Sebastien Helleu
6972b1aafa
xfer: fix freeze of DCC file received: use select() to read socket and if an ACK send fails, silently ignore and disable ACK (except the last)
2013-02-28 19:16:24 +01:00
Sebastien Helleu
e890ac0a81
xfer: fix freeze of DCC file received: use non-blocking socket after connection to sender and ensure the ACK is properly sent (bug #38340 )
2013-02-26 21:43:39 +01:00
Sebastien Helleu
0e641e0c45
irc: fix conversion of mask to regex in ignore
2013-02-26 21:15:14 +01:00
Sebastien Helleu
b84f6b5a1b
api: fix function string_mask_to_regex: escape all special chars used in regex (bug #38398 )
2013-02-26 21:12:25 +01:00
Sebastien Helleu
b60aec975b
script: add control of autoload (enable/disable/toggle) (task #12393 )
...
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload
for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
2013-02-25 08:46:41 +01:00
Sebastien Helleu
f5bc12e72c
rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier "irc_message_auth")
2013-02-23 14:55:28 +01:00
Sebastien Helleu
9beb263e4a
irc: hide passwords in commands or messages sent to nickserv with modifiers (bug #38346 )
...
New modifiers: "irc_command_auth" and "irc_message_auth".
Option removed: irc.look.hide_nickserv_pwd
New option: irc.look.nicks_hide_password
2013-02-23 14:54:07 +01:00
Sebastien Helleu
c17d3e155c
relay: add support of multiple servers on same port for irc protocol (the client must send the server in the "PASS" command)
2013-02-23 08:33:38 +01:00
Sebastien Helleu
9857b44e4e
guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), guile >= 2.0 is now required (bug #38350 )
...
Unfortunately this breaks compatibility with existing guile scripts, but this
change is needed to keep consistency with other scripting languages.
Now guile >= 2.0 is required, WeeChat can not compile any more with guile 1.8.
2013-02-19 22:49:59 +01:00
Sebastien Helleu
c43d48a9df
guile: fix crash on calls to callbacks during load of script (bug #38343 )
2013-02-19 19:49:12 +01:00
Sebastien Helleu
50eb1f51fd
irc: fix crash when unmasking a smart filtered join if a line without tags is displayed after the join
2013-02-18 22:23:03 +01:00
Sebastien Helleu
67838983ad
irc: fix display of malformed CTCP (without closing char) (bug #38347 )
2013-02-18 18:31:19 +01:00
Sebastien Helleu
4e4fd3f54d
core: remove Gtk interface (obsolete sources not working)
2013-02-17 15:47:52 +01:00
Sebastien Helleu
bc079b007d
irc: unmask smart filtered join if nick speaks in channel some minutes after the join, new option irc.look.smart_filter_join_unmask (task #12405 )
...
The nick changes are tracked and will be unmasked with the join.
Events triggering the unmask of join are: a message (can be CTCP), a notice or
an update of topic.
2013-02-17 13:27:36 +01:00
Sebastien Helleu
6e3f6270d1
core: allow read of array in hdata without using index
2013-02-17 12:16:00 +01:00