4626 Commits

Author SHA1 Message Date
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
Nils Görs
cc3fb26024 doc: update german translations, FAQ and user guide 2013-03-11 12:49:52 +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
0b0238a188 doc: fix typo in relay protocol 2013-03-09 09:22:03 +01:00
Sebastien Helleu
ad842577c5 doc: add example of messages and message "_nicklist_diff" in relay protocol 2013-03-09 09:06:22 +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
fced67b459 doc: update hdata "buffer" in plugin API reference 2013-03-07 19:55:24 +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
11396b3266 doc: add missing signals in plugin API reference (nicklist_group_changed and nicklist_nick_changed) 2013-03-01 11:39:48 +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
cecb546c24 core: update header in ChangeLog and NEWS 2013-02-26 20:42:56 +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
Nils Görs
87b5096972 core: update german translations 2013-02-23 18:32:52 +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
6394a3d1e1 core: reformat NEWS file, add subsections 2013-02-20 22:37:19 +01:00
Sebastien Helleu
62aa07b00f core: fix typos in ChangeLog 2013-02-20 22:36:41 +01:00
Sebastien Helleu
6faa1a0db8 doc; fix typos in plugin API reference 2013-02-20 22:36:13 +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
e4529079a8 doc: fix typo on functions "weechat_infolist_new_var_*" in plugin API reference 2013-02-19 18:43:48 +01:00
Sebastien Helleu
9f0a16e586 doc: fix link to function weechat_config_write in plugin API reference 2013-02-19 13:40:20 +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
Sebastien Helleu
8b875cd412 irc: fix type of values in hashtables join_manual/join_noswitch, fix delay for purge 2013-02-16 18:38:39 +01:00
Sebastien Helleu
c1bc23b052 irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list) 2013-02-16 10:00:28 +01:00
Sebastien Helleu
47e1caa91f doc: update auto-generated files for commands 2013-02-16 09:57:40 +01:00
Sebastien Helleu
9da086b827 core: rename cmake targets xx.po/weechat.pot to update-xx.po/update-weechat.pot (for build with old cmake versions) 2013-02-15 08:32:38 +01:00
Sebastien Helleu
01153cd478 core: add option "dirs" for command /debug 2013-02-14 20:45:12 +01:00
Sebastien Helleu
eed0878231 core: fix header in weechat.pot (copyright, license and some default values in first string) 2013-02-14 18:31:21 +01:00
Sebastien Helleu
11bbf0a062 core: add cmake targets to update .po and .pot files (new targets: update-po, weechat.pot, xx.po) 2013-02-14 18:30:40 +01:00
Sebastien Helleu
c37016e5ea core: fix detection of iconv with cmake on OS X (bug #38321) 2013-02-14 14:41:43 +01:00
Sebastien Helleu
49043bf1b0 doc: fix prototype of function weechat_config_section_free in plugin API reference 2013-02-13 14:11:17 +01:00
Sebastien Helleu
f7811b0ae2 relay: fix crash when decoding a websocket frame 2013-02-12 14:14:40 +01:00
Sebastien Helleu
8d5dee9aa0 relay: add gcrypt include and link arguments to compile relay plugin 2013-02-12 12:51:26 +01:00
Sebastien Helleu
62ff697772 script: remove unneeded test on ZLIB_FOUND in CMakeLists.txt (zlib is mandatory) 2013-02-12 12:50:32 +01:00
Sebastien Helleu
10820c7336 core: add signal "window_opened" (task #12464) 2013-02-12 12:14:22 +01:00
Sebastien Helleu
0cb84638dc doc: fix typos in french translations and plugin API reference 2013-02-10 22:20:10 +01:00