Sébastien Helleu
9a8ec36cbd
core: add cut of string in evaluation of expressions
...
The syntax is: ${cut:max,suffix,string}.
The string is cut after max chars. If the string is cut, the optional suffix is
added after.
2017-03-25 14:19:48 +01:00
Sébastien Helleu
db0ecc07fe
buflist: use hotlist pointer in buffer hdata
2017-03-25 14:19:48 +01:00
Sébastien Helleu
a8bf5eb7ba
core: add hotlist pointer in buffer structure
2017-03-25 14:19:48 +01:00
Sébastien Helleu
4ef8e61ca5
buflist: add option buflist.look.sort
2017-03-25 14:18:19 +01:00
Sébastien Helleu
77af4e0a87
api: add arraylist functions
...
New functions:
- arraylist_new
- arraylist_size
- arraylist_get
- arraylist_search
- arraylist_insert
- arraylist_add
- arraylist_remove
- arraylist_clear
- arraylist_free
2017-03-25 14:18:19 +01:00
Sébastien Helleu
da0fea8a60
buflist: add hotlist format options (for color according to hotlist priority)
2017-03-25 14:18:19 +01:00
Sébastien Helleu
c18be9da21
buflist: load plugin after some other plugins by shifting plugins priority
2017-03-25 14:18:19 +01:00
Sébastien Helleu
edfeb60e32
buflist: new plugin "buflist" (bar with list of buffers)
2017-03-25 14:18:19 +01:00
Sébastien Helleu
83117f8d2a
core: add ternary operator (condition) in evaluation of expressions
2017-03-25 14:18:19 +01:00
Sébastien Helleu
07d16903f3
api: add dynamic string functions (string_dyn_*)
...
New functions:
- string_dyn_alloc
- string_dyn_copy
- string_dyn_concat
- string_dyn_free
2017-03-25 14:18:19 +01:00
Sébastien Helleu
a5b00ec979
trigger: check that regex pointers are not NULL in function "trigger_regex_free"
2017-03-25 14:09:01 +01:00
Sébastien Helleu
97ca653a43
script: check that script pointer is not NULL in function "script_repo_free"
2017-03-25 14:08:38 +01:00
Sébastien Helleu
9e0d103ff7
relay: check that pointers received in arguments are not NULL in "free" functions
...
Functions:
- relay_irc_free
- relay_client_outqueue_free
- relay_raw_message_free
- relay_weechat_msg_free
- relay_weechat_nicklist_item_free
- relay_weechat_nicklist_free
- relay_weechat_free
2017-03-25 14:07:46 +01:00
Sébastien Helleu
d4c27aa7e2
logger: check that logger buffer pointer is not NULL in function "logger_buffer_free"
2017-03-25 14:06:46 +01:00
Sébastien Helleu
f15ea72da3
irc: check that pointers received in arguments are not NULL in "free" functions
...
Functions:
- irc_channel_nick_speaking_time_free
- irc_ignore_free
- irc_notify_free
- irc_raw_message_free
- irc_server_outqueue_free
2017-03-25 14:05:55 +01:00
Sébastien Helleu
70d110026c
alias: check that alias pointer is not NULL in function "alias_free"
2017-03-25 14:05:03 +01:00
Sébastien Helleu
0d059add9a
core: check that pointers received in arguments are not NULL in "free" functions
...
Functions:
- hdata_free
- infolist_var_free
- infolist_item_free
- infolist_free
- string_shared_free
- gui_window_objects_free
- gui_color_free
- gui_completion_free
- gui_filter_free
- gui_history_buffer_free
- gui_hotlist_free
- gui_key_free
- gui_lines_free
- gui_line_tags_free
- gui_line_free
- gui_window_tree_free
- gui_window_scroll_free
2017-03-25 14:01:50 +01:00
Sébastien Helleu
5661b4da74
core: fix typo: refreshs -> refreshes
2017-03-12 18:33:53 +01:00
Sébastien Helleu
f4c2328abf
core: send signal "signal_sigwinch" after refreshs (issue #902 )
...
Sending the signal after the refreshs will let scripts receive the good
size for windows/bars/terminal, ie the size computed with the new
terminal size.
2017-02-22 07:40:55 +01:00
Sébastien Helleu
e6d5d791cd
irc: fix parsing of message 324 (modes) when there is a colon before the modes ( closes #913 )
2017-02-19 08:12:25 +01:00
Sébastien Helleu
12e2d9995c
irc: add function irc_server_get_max_modes
2017-02-18 17:34:06 +01:00
Sébastien Helleu
e1eeb22945
irc: update error message, update translations
2017-02-18 14:48:02 +01:00
Sébastien Helleu
51b2352786
irc: send current modes/masks if next mask doesn't fit in the string
2017-02-18 14:41:52 +01:00
Sébastien Helleu
06d73e4b96
Merge remote-tracking branch 'origin/pr/579'
2017-02-18 14:31:49 +01:00
Sébastien Helleu
1adb6075fa
irc: compact some code
2017-02-18 13:14:50 +01:00
Sébastien Helleu
cf1010e177
irc: move initialization of variables "inclusive"
2017-02-18 13:09:27 +01:00
Sébastien Helleu
ac007a1efd
Merge remote-tracking branch 'origin/pr/572'
2017-02-18 13:04:00 +01:00
Sébastien Helleu
d6977490d0
core: fix delayed refresh when the signal SIGWINCH is received (terminal resized) ( closes #902 )
...
This fixes a regression introduced in version 1.7 by changes on signal
handlers, commit 018b969381 .
2017-02-04 08:06:59 +01:00
Sébastien Helleu
2437107e35
core: add last start date in output of command /version after at least one /upgrade ( closes #903 )
2017-02-03 22:19:20 +01:00
Sébastien Helleu
24a15e8b95
irc: reorder conditions for mode smart filtering, add a comment
2017-01-29 14:08:25 +01:00
arza
27e949d974
irc: don't smart filter modes given to you ( closes #530 )
2017-01-29 11:13:59 +02:00
Sébastien Helleu
3c29cff2a5
core, alias: add xgettext comment on some command help strings
...
The help on commands /window and /alias contain percent chars, so we
have to force xgettext to NOT use "c-format", using the string
"xgettext:no-c-format".
2017-01-22 13:50:05 +01:00
Sébastien Helleu
459f58f6aa
core: add new resize prefix (h/v) and examples of resize in /help window
2017-01-22 09:27:34 +01:00
raspbeguy
1b23cd3a47
core: add resize of window parents ( closes #893 )
2017-01-22 09:27:16 +01:00
Romero B. de S. Malaquias
761ac58aa2
fifo: remove conditional directive breaking condition ( closes #875 )
2017-01-15 14:45:18 +01:00
Sébastien Helleu
c51aa7960c
core: fix compilation on FreeBSD with autotools (issue #276 )
2017-01-15 10:44:11 +01:00
Sébastien Helleu
1361602ea5
tests: fix compilation of tests on FreeBSD 11
...
Some includes were missing in .h files, and the tests must be linked
with intl and execinfo on FreeBSD.
2017-01-13 20:57:59 +01:00
Sébastien Helleu
b547bf6bbb
relay: make HTTP headers case-insensitive for WebSocket connections ( closes #888 )
2017-01-11 07:11:01 +01:00
AYANOKOUZI, Ryuunosuke
add0be28d9
exec: update help descriptions for command /exec to keep compatibility between options
...
Related-Bug: #877
2017-01-07 07:56:30 +01:00
Sébastien Helleu
fe7f92c4d8
irc: fix option "-temp" in command /server ( closes #880 )
2017-01-06 22:44:13 +01:00
Sébastien Helleu
5429381cb6
irc: fix name of option "-temp" in /help server
2017-01-06 22:13:43 +01:00
Sébastien Helleu
990c0bc121
exec: add option "-oc" in command /exec to execute commands in process output ( closes #877 )
...
The behavior of existing option "-o" is changed: now commands are NOT
executed (which is more secure by default).
2017-01-06 19:22:24 +01:00
Sébastien Helleu
501437af07
exec: fix memory leak in display of process output
2017-01-06 07:26:43 +01:00
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
2087ec28e3
Merge pull request #876 from sim642/switch-join-forwarded
...
irc: fix buffer switching on manual join for forwarded channels
2017-01-01 15:05:33 +01:00
Sébastien Helleu
c9fbb917e0
irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276 )
2017-01-01 14:53:41 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Simmo Saan
b30c6786b4
irc: fix buffer switching on manual join for forwarded channels
...
Previously using option values
irc.look.buffer_open_before_join off
irc.look.buffer_switch_join on
and manually joining a channel which gets forwarded
(e.g. #linux -> ##linux-overflow on freenode) the channel buffer for
##linux-overflow was not switched to even though the option says it should
have.
This patch copies manual join and noswitch information for channels which
get forwarded.
2016-12-31 19:44:47 +02:00
Sébastien Helleu
668bb3a4ad
api: add info "uptime" (WeeChat uptime)
2016-12-31 18:28:55 +01:00
Sébastien Helleu
06a15b8762
script: fix auto-load of new scripts with /script install
...
Regression was introduced by commit
4c6d9e14d1 .
2016-12-31 12:46:52 +01:00