Sébastien Helleu
64348fbd6e
relay: add host in sender for IRC backlog PRIVMSG messages sent to clients
2014-10-08 22:15:23 +02:00
Sébastien Helleu
f53baf628e
Merge branch 'arraylist'
2014-10-05 08:35:17 +02:00
Sébastien Helleu
b51edca846
core: use pkg-config to find Lua lib/headers with cmake, detection of Lua 5.2
2014-10-03 22:31:02 +02:00
Sébastien Helleu
4d0a9d5b4c
core: remove sort on configuration files and sections
...
The sort was causing bugs because some options were missing while reading
other options, so the order of sections is important, they must not be
sorted.
This is a partial revert of commit 56f099bec6 .
2014-09-29 20:35:25 +02:00
Sébastien Helleu
6e770b9625
trigger: fix typo in default conditions of "beep" trigger
2014-09-28 16:05:19 +02:00
Sébastien Helleu
89c2187024
trigger: add "${tg_displayed}" in conditions of default trigger "beep"
...
The command of "beep" trigger is now executed only if the message is
displayed (not filtered with /filter).
2014-09-28 15:34:42 +02:00
Sébastien Helleu
818476c2c4
core: move bar item "scroll" between buffer name and lag in default bar items of status bar
2014-09-28 15:16:20 +02:00
Sébastien Helleu
69a0b8ecf5
relay: add quotes in comment
2014-09-28 14:45:57 +02:00
Anders Bergh
85339f6083
relay: don't print ::ffff: in v4-mapped addresses.
2014-09-28 14:45:57 +02:00
Sébastien Helleu
08d2b9aaeb
core: check that data is not NULL in function string_iconv_fprintf
2014-09-28 08:20:08 +02:00
Sébastien Helleu
c99df96ebd
relay: fix send of signals "relay_client_xxx" ( closes #214 )
...
The signals about relay client status changes were sent only when the client
has ended. Now it is went on any status change.
2014-09-26 04:09:25 +02:00
Sébastien Helleu
c1aa51fa9c
core: fix crash on buffer close when option weechat.look.hotlist_remove is set to "merged" ( closes #199 )
2014-09-24 21:45:01 +02:00
Sébastien Helleu
f91f57f12c
irc: fix type of value stored in hashtable when joining a channel ( closes #211 )
2014-09-22 07:43:34 +02:00
Sébastien Helleu
1a20ef41c0
core: fix highlight of IRC action messages when option irc.look.nick_mode is set to "action" or "both" ( closes #206 )
2014-09-21 11:52:58 +02:00
Sébastien Helleu
03c0067272
core: fix compilation of plugin API functions (macros) when compiler optimizations are enabled ( closes #200 )
2014-09-20 17:38:46 +02:00
Sébastien Helleu
6a2bef6fb7
guile: fix compilation with Guile < 2.0.4 ( closes #198 )
2014-09-20 15:43:29 +02:00
Sébastien Helleu
d1b4281d20
trigger: do not allow any changes on a trigger when it is currently running ( closes #189 )
2014-09-20 14:51:09 +02:00
Sébastien Helleu
6860aa491f
aspell: fix compilation with enchant version older than 1.6.0 ( closes #192 )
2014-09-20 11:05:48 +02:00
Sébastien Helleu
5a5e05eae9
irc: display nick changes in server buffer ( closes #188 )
2014-09-06 08:48:43 +02:00
Sébastien Helleu
761ac5d0e9
irc: disable creation of temporary servers by default with command /connect, new option irc.look.temporary_servers
2014-09-04 07:39:05 +02:00
Sébastien Helleu
7f4d9de255
core: use a sorted arraylist for partial completions
...
With a sorted list, the partial completion is about 50x faster
(like other completions).
2014-09-01 23:38:53 +02:00
Sébastien Helleu
f0aa0a21b2
core: optimize completion by using arraylists
...
With arraylist (vs weelist), the completion is about 50x faster.
It is visible on "/help [+tab]".
2014-09-01 11:51:04 +02:00
Sébastien Helleu
8430708fad
core: add comment about argument "index" of function arraylist_search
2014-09-01 11:51:03 +02:00
Sébastien Helleu
41fd4cb254
core: reset data contents in function arraylist_clear if size_alloc_min > 0
2014-09-01 11:51:03 +02:00
Sébastien Helleu
e0f2184987
core: add extra check on arraylist pointer in arraylist functions
2014-09-01 11:51:03 +02:00
Sébastien Helleu
a4dfda9304
core: add functions to manage array lists
2014-09-01 11:51:03 +02:00
Sébastien Helleu
0845911c6b
core: change comment about linker and circular references problems with static libs
2014-08-31 17:00:47 +02:00
Sébastien Helleu
0a641bdf0b
core: add debug functions to measure time spent in code/functions
2014-08-30 16:07:37 +02:00
Max Teufel
e32801d9fc
irc: use irc_protocol_nick_address for ban/quiet/invex/exception lists
2014-08-29 21:12:51 +02:00
Sébastien Helleu
421c0752d8
core: fix window/buffer pointers used in command /eval
2014-08-29 19:11:07 +02:00
Sébastien Helleu
dda2170d94
core: add another example of buffer name in /help filter
2014-08-29 18:21:48 +02:00
Sébastien Helleu
7b546bea2e
api: use microseconds instead of milliseconds in functions util_timeval_diff and util_timeval_add
2014-08-29 18:17:27 +02:00
Sébastien Helleu
ddd829a1c7
core: remove some spaces
2014-08-29 15:40:50 +02:00
Sébastien Helleu
9fe6ce1cdc
api: fix bug in function hdata_move when absolute value of count is greater than 1
2014-08-27 07:34:54 +02:00
Sébastien Helleu
56f099bec6
core: sort linked lists with configuration files and sections by name
2014-08-24 19:18:09 +02:00
Sébastien Helleu
fa4436b262
irc: remove a trailing comma in help of server capabilities option
2014-08-23 21:05:38 +02:00
Sébastien Helleu
224b27de88
core: add a constant for color buffer name
2014-08-23 16:37:50 +02:00
Sébastien Helleu
23ea7cd67d
core: add missing return code in comment of function hook_command_exec
2014-08-23 12:39:02 +02:00
Sébastien Helleu
eac426f625
core: fix error message in case of ambiguous incomplete command
2014-08-23 12:37:01 +02:00
Sébastien Helleu
bde38c87ea
core: fix typo: too much calls -> too many calls
2014-08-23 12:34:04 +02:00
Sébastien Helleu
e887592b78
core: fix typo: unambigous -> unambiguous
2014-08-23 12:30:54 +02:00
Sébastien Helleu
8c586eb49a
core: allow incomplete commands if unambiguous (task #5419 )
2014-08-23 12:13:11 +02:00
Sébastien Helleu
2ae5660cc3
trigger: add option "restore" in command /trigger
2014-08-23 09:11:13 +02:00
Sébastien Helleu
067f310be6
script: fix crash on "/script update" if a script detail is displayed in buffer ( closes #177 )
2014-08-22 20:48:51 +02:00
Sébastien Helleu
333253e5b9
trigger: fix regex used in default triggers to hide passwords ( closes #172 )
...
"\S" is not supported on *BSD, so it is replaced by "[^ ]" (which should be
enough, since there should be no tabs or other whitespace different from
spaces in command line).
2014-08-22 07:39:15 +02:00
Andrew Potter
5284646df1
xfer: bind to wildcard address when sending
...
When #5 was fixed, we started to always bind to the local address
connected to the irc server because the xfer.network.own_ip address
may not be able to be bound to when NATed. But this means when the
own_ip address is a different family (IPv4 vs IPv6) from the irc
server connection, we were listening for connections on the wrong
interface.
This patch lets us figure out which family is being used,
(xfer.network.own_ip's family, or the irc connection's family
otherwise) and bind() into the correct family via that family's
wildcard address.
2014-08-20 09:12:08 -07:00
Andrew Potter
e5cd0eb247
xfer: Use hook_connect() for receiving chats
...
fixes #160
2014-08-19 22:09:37 -07:00
Sébastien Helleu
7310a7e398
core: fix modifier "weechat_print": discard only one line when several lines are displayed in same message ( closes #171 )
...
When several lines are displayed in a message (separated by "\n"), the
modifier "weechat_print" will now discard just one line (if return value is
an empty string), instead of discarding the whole message.
2014-08-19 19:56:12 +02:00
Sébastien Helleu
83ffdb9ecd
irc: add "server-time" in help of server option "capabilities"
2014-08-17 09:58:19 +02:00
Sébastien Helleu
d918c3d1b0
core: fix translation of message displayed after /upgrade
2014-08-16 11:50:15 +02:00