1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 22:24:47 +02:00

Compare commits

...

6605 Commits

Author SHA1 Message Date
Sébastien Helleu 0e6497612c Version 3.5 2022-03-27 15:13:48 +02:00
Sébastien Helleu a794bf39bb debian: update changelog 2022-03-27 09:49:50 +02:00
Sébastien Helleu 5f543f26cc core: update .mailmap 2022-03-24 21:04:21 +01:00
Sébastien Helleu 0d8ced6c32 doc: use unicode symbol for greater-than or equal to 2022-03-23 21:12:02 +01:00
Sébastien Helleu db28e2133d doc: update Serbian auto-generated files 2022-03-22 21:18:32 +01:00
Ivan Pešić bab175f5b4 core: update Serbian translation 2022-03-22 21:18:03 +01:00
Ivan Pešić d3b42fae83 doc: update Serbian translations 2022-03-22 21:18:03 +01:00
Sébastien Helleu ef41998179 core: use unicode symbol for greater-than or equal to in ChangeLog 2022-03-21 23:02:35 +01:00
Sébastien Helleu 05e65cdd31 Version 3.5-rc1 2022-03-20 18:11:25 +01:00
Sébastien Helleu 872ff1cc6d irc: fix memory leak in command /autojoin addraw when channels are missing 2022-03-19 10:17:32 +01:00
Sébastien Helleu 8123cb3e0b irc: ensure old_autojoin and ptr_autojoin are not NULL before comparing them 2022-03-19 10:15:16 +01:00
Sébastien Helleu 15e11ecc0c core: fix line too long 2022-03-17 21:17:34 +01:00
Trygve Aaberge 827db6dc31 core: Fix regex for constants in the Python stub generator
In Python raw strings, newlines can't be escaped with a backslash. If
you do that, both the backslash and the newline become part of the
string. This meant that the regex for constants both started and ended
with a newline which caused every other constant to be skipped.
2022-03-17 21:16:45 +01:00
Sébastien Helleu 44e0414970 core: add version 3.4.1 2022-03-14 08:39:24 +01:00
Sébastien Helleu 9a19cc5d59 core: update latest stable version to 3.4.1 2022-03-14 08:35:24 +01:00
Nils Görs 3289bd2882 doc: update German documentation 2022-03-13 22:41:26 +01:00
Sébastien Helleu 6e75f93e1f doc/user: translate FreeBSD installation instructions (issue #1760) 2022-03-13 20:40:32 +01:00
Mateusz Piotrowski 13482b38d0 Add FreeBSD installation instructions 2022-03-13 20:38:57 +01:00
Sébastien Helleu 6004139098 core: set again TLS verification functions after GnuTLS options are changed (closes #1763)
When changing the options weechat.network.gnutls_ca_system or
weechat.network.gnutls_ca_user, the GnuTLS credentials are freed then allocated
again, but the verification function used to check the certificate on
connection is not set again.

As a consequence, any TLS connection is made without checking the certificate.

This regression was introduced in version 3.2, when the options were changed to
automatically load system certificates without having to give the path, and to
let user give an extra custom path with certificates.
2022-03-13 18:04:07 +01:00
Sébastien Helleu 116f533e0d doc: update German auto-generated files 2022-03-13 14:07:56 +01:00
Sébastien Helleu c943d3507f python: add function buffer_new_props in Python stub file 2022-03-13 14:07:22 +01:00
Sébastien Helleu 869279e9b6 tests: add tests on function gui_buffer_match_list 2022-03-13 14:03:23 +01:00
Sébastien Helleu 947ca33c14 tests: add tests on function gui_buffer_valid 2022-03-13 14:03:14 +01:00
Sébastien Helleu 44ec7e8cfa tests: add tests on functions gui_buffer_search_type and gui_buffer_search_notify 2022-03-13 13:49:18 +01:00
Sébastien Helleu 4629b17173 tests: add tests on functions gui_buffer_new and gui_buffer_new_props 2022-03-13 13:29:50 +01:00
Sébastien Helleu e5e3a9d2da api: add function buffer_new_props (closes #1759) 2022-03-13 10:35:29 +01:00
Sébastien Helleu fbbed9fbf7 core: add function gui_buffer_new_props (issue #1759)
This function allows to create a buffer and set properties via a hashtable,
before the signal "buffer_opened" is sent.
2022-03-13 10:35:29 +01:00
Sébastien Helleu 310b4dd2a0 tests: close xfer buffer after receiving some files 2022-03-13 10:34:56 +01:00
Sébastien Helleu 55f1655064 dev/scripting: fix typo 2022-03-12 20:50:25 +01:00
Sébastien Helleu 55aa40e087 doc/dev: add file test-irc-tag.cpp 2022-03-12 16:47:14 +01:00
Sébastien Helleu 68f395d433 doc/dev: add file irc-typing.c 2022-03-12 16:41:52 +01:00
Sébastien Helleu 22a36665e3 doc/dev: add file test-logger-backlog.cpp 2022-03-12 16:38:58 +01:00
Sébastien Helleu 65e08ffe07 core: update ChangeLog (issue #1761) 2022-03-12 16:11:08 +01:00
Sébastien Helleu 8781187771 doc/scripting: translate note about Tcl constant $::weechat::WEECHAT_NULL 2022-03-12 16:08:19 +01:00
Trygve Aaberge 197a7a01e4 scripts: allow null values in config_new_option
The plugin API function config_new_option accepts null as the
default_value and/or value however the scripting APIs (except for lua)
didn't allow sending null as a parameter value, so it was impossible to
use it this way. This allows sending a null value for these parameters.

Lua already supported sending in nil for these parameters and it works
as expected, so nothing is changed for this plugin.

For Guile you can now send in #nil, for JavaScript null or undefined,
for Perl undef, for PHP NULL, for Python None, for Ruby nil and for Tcl
$::weechat::WEECHAT_NULL.

In all of these languages except Tcl this is the special value
indicating a missing value. However Tcl only has one type, string, so it
doesn't have a null value. Therefore I created a constant with the value
`\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF` which is used
instead. This is very unlikely to appear unintentionally. Using the
unicode code point \uFFFF was suggested on
https://wiki.tcl-lang.org/page/null.

I tested this with these scripts:
https://gist.github.com/trygveaa/f91977dde5d2876d502bf55fbf9b50cc
2022-03-12 16:00:38 +01:00
Sébastien Helleu 47e71a1bbd tests: close buffers of channels created for tests on irc_join_save_channels_to_autojoin 2022-03-12 15:20:45 +01:00
Emir SARI 3a4a9459e7 Update Turkish translations 2022-03-12 10:36:12 +01:00
Nils Görs cd6b83470e core: update German translations 2022-03-11 20:39:51 +01:00
Sébastien Helleu 3f9c46468c irc: add option "sort" in command /autojoin 2022-03-11 19:31:56 +01:00
Sébastien Helleu 9a286c65c6 tests: add missing include of string.h 2022-03-10 21:37:13 +01:00
Sébastien Helleu aadd0772fe irc: update translations 2022-03-10 21:26:26 +01:00
Sébastien Helleu bb03e18425 irc: display only one message in /autojoin command output 2022-03-10 21:12:46 +01:00
Sébastien Helleu 5d809df6ed tests: move include of tests/tests.h outside of extern "C" 2022-03-10 21:12:46 +01:00
Sébastien Helleu 74ba21a8c4 tests: add tests on verbose argument of irc join functions 2022-03-10 21:12:46 +01:00
Sébastien Helleu 02bdf854bc irc: fix add of same channel with and without key in the array list 2022-03-10 21:12:46 +01:00
Sébastien Helleu 8c66070136 irc: rename server option "autojoin_record" to "autojoin_dynamic" 2022-03-10 21:12:46 +01:00
Sébastien Helleu 9cfdb4a324 irc: add command /autojoin 2022-03-10 21:12:46 +01:00
Sébastien Helleu c1e65e8edd irc: add server option "autojoin_record" 2022-03-10 21:12:46 +01:00
Sébastien Helleu f81a0dc4d9 doc: fix syntax highlighting in Serbian docs 2022-03-07 21:46:33 +01:00
Sébastien Helleu d06f1e8486 guile: remove disabling of guile gmp allocator with Guile ≥ 3.0.8
This fixes the compilation warning:

weechat-guile.c: In function ‘weechat_plugin_init’:
weechat-guile.c:1270:5: warning: ‘scm_install_gmp_memory_functions’ is deprecated [-Wdeprecated-declarations]
2022-03-06 16:42:54 +01:00
Sébastien Helleu ffb6cc3208 tests: add tests on function irc_server_valid 2022-03-05 20:53:01 +01:00
Sébastien Helleu dc779b5179 tests: add tests on functions irc_server_search and irc_server_casesearch 2022-03-04 21:44:46 +01:00
Sébastien Helleu 7228262591 irc: fix display of message 901 (you are now logged out) (closes #1758) 2022-02-28 22:12:22 +01:00
Ivan Pešić e4f93a7f30 doc: Update Serbian documentation 2022-02-22 19:03:51 +01:00
Sébastien Helleu fd27faf899 tests: add tests on function logger_backlog_display_line 2022-02-21 20:17:01 +01:00
Sébastien Helleu 7486ea6dc1 logger: split function logger_backlog into two functions 2022-02-21 20:16:43 +01:00
Sébastien Helleu 9e9e252ff3 doc/relay: fix columns sizes in tables 2022-02-21 18:27:22 +01:00
Sébastien Helleu db368b5824 doc/scripting: fix column size in tables 2022-02-21 18:26:39 +01:00
Sébastien Helleu 214e3cb1c2 doc/user: fix style in tables 2022-02-21 18:26:11 +01:00
Nils Görs b4a14ef1dd doc: update German documentation 2022-02-21 08:58:00 +01:00
Sébastien Helleu 40ff9beb10 doc/dev: add table with list of components for git commit message 2022-02-20 17:31:25 +01:00
Trygve Aaberge d359e8135e doc/api: Add missing parameter to python prototype for config_new_section 2022-02-20 16:49:04 +01:00
Sébastien Helleu 8700e0bb36 scripts: auto-load scripts with supported extensions only (closes #1698) 2022-02-20 16:29:31 +01:00
Sébastien Helleu 601bd7e0b8 doc/user: update dependencies using versions from Debian Bullseye 2022-02-20 16:12:21 +01:00
Sébastien Helleu d3a9ce29fc doc/user: add missing dependency on ruby-pygments.rb to build doc 2022-02-20 09:09:54 +01:00
Sébastien Helleu f39c6a58d0 irc: replace calls to strndup by weechat_strndup 2022-02-19 16:34:36 +01:00
Sébastien Helleu 4068dc8da5 core: replace calls to strndup by string_strndup 2022-02-19 16:34:19 +01:00
Sébastien Helleu 7051c0fc2b tests: add tests on function string_strndup 2022-02-19 16:33:49 +01:00
Sébastien Helleu 7f8e5b892d core: call strdup in string_strndup if bytes equals strlen of string 2022-02-19 16:32:59 +01:00
Sébastien Helleu e0db08c782 debian: change dependency libargon2-0-dev to libargon2-dev (debian bug #1005703) 2022-02-19 10:18:38 +01:00
Sébastien Helleu 6fbfb2f476 core: update sentence about XDG directories in release notes 2022-02-15 07:12:38 +01:00
Sébastien Helleu a2bb57bf82 doc/api: add missing type for argument "count" in Python prototype of function ngettext 2022-02-14 07:25:22 +01:00
Sébastien Helleu ba7ff87d19 irc: fix parsing of message 223 (m_filter) sent by InspIRCd server (closes #1751) 2022-02-10 20:50:16 +01:00
Ivan Pešić d7c8b16c4f doc: Update Serbian documentation 2022-02-08 13:22:24 +01:00
Sébastien Helleu d0c857934b ruby: add detection of Ruby 3.1 2022-02-08 12:41:32 +01:00
Sébastien Helleu e8c59e1f5b core: fix style in ChangeLog 2022-02-05 10:04:25 +01:00
Sébastien Helleu ec86c33789 doc/user: add supported C++ compilers in dependencies 2022-02-01 20:33:17 +01:00
Sébastien Helleu 608f56020d core: search in message tags when tags are displayed with /debug tags 2022-01-30 13:33:21 +01:00
Sébastien Helleu 9259442dbf core: add support of date and tags in messages displayed in buffers with free content, add function printf_y_date_tags (closes #1746) 2022-01-30 11:41:06 +01:00
Sébastien Helleu bf3241208b doc/api: fix type of parameter "date" in script prototype of function prnt_date_tags 2022-01-30 11:01:17 +01:00
Sébastien Helleu 28d6b71d9e tests: add tests on gui_chat_printf_date_tags with past date and tags 2022-01-30 10:01:32 +01:00
Sébastien Helleu 083662cb34 tests: add tests on GUI chat functions
Functions tested:

- gui_chat_utf_char_valid
- gui_chat_char_size_screen
- gui_chat_strlen
- gui_chat_strlen_screen
- gui_chat_string_add_offset
- gui_chat_string_add_offset_screen
- gui_chat_string_real_pos
- gui_chat_string_pos
- gui_chat_get_word_info
- gui_chat_printf_date_tags_internal
- gui_chat_printf_date_tags
- gui_chat_printf_y
2022-01-29 10:24:21 +01:00
Sébastien Helleu bf9cf3875f doc/dev: update format of commit messages for docs 2022-01-29 10:12:32 +01:00
Sébastien Helleu fc2f564950 doc: update auto-generated files with options 2022-01-28 09:36:03 +01:00
Sébastien Helleu efaf88d857 tests: add tests on functions gui_line_build_string_prefix_message and gui_line_build_string_message_tags 2022-01-28 07:45:35 +01:00
Sébastien Helleu 05a9457504 core: move functions from gui-chat.c to gui-line.c
Functions moved and renamed:

- gui_chat_build_string_prefix_message -> gui_line_build_string_prefix_message
- gui_chat_build_string_message_tags -> gui_line_build_string_message_tags
2022-01-28 07:26:11 +01:00
Sébastien Helleu 3110740777 core: use dynamic string in function gui_chat_build_string_message_tags 2022-01-28 07:12:01 +01:00
Sébastien Helleu a62f8f6f75 core: use dynamic string in function gui_chat_build_string_prefix_message 2022-01-28 07:03:44 +01:00
Sébastien Helleu 05eb897771 doc/api: merge examples and results in same column (function string_eval_expression) 2022-01-27 21:15:34 +01:00
Sébastien Helleu 113f93e5db doc/api: add column "Min WeeChat" in string_eval_expression tables 2022-01-27 20:01:46 +01:00
Sébastien Helleu f2aef8c13c core: check that utf_char is not NULL in gui chat functions 2022-01-26 20:24:31 +01:00
Sébastien Helleu 3983f01ee7 core: set prefix to NULL when clearing a line on a buffer with free content 2022-01-26 20:23:16 +01:00
Sébastien Helleu 0ebf3dbede core: fix memory leak when removing a line on a buffer with free content 2022-01-26 20:22:56 +01:00
Sébastien Helleu 13fb3649dd core: update ChangeLog 2022-01-23 15:42:16 +01:00
Trygve Aaberge 6a88bbb4cc Remove old and unused config option weechat.plugin.debug
As far as I can see, this option is not used anywhere and should have
been removed in commit 6e69f7f3c.
2022-01-23 15:41:10 +01:00
Emir SARI b018f8d5c8 core: update Turkish translations 2022-01-23 10:18:59 +01:00
Sébastien Helleu 574f1837f9 python: fix crash in hook callbacks after script loading failure (closes #1740) 2022-01-22 21:34:04 +01:00
Sébastien Helleu 5172f20217 doc: update Serbian auto-generated file 2022-01-21 22:33:35 +01:00
Ivan Pešić ab7c4c0147 doc: Update Serbian translation 2022-01-21 14:49:50 +01:00
Nils Görs 28fc2e7cbf doc: update German documentation 2022-01-18 08:51:55 +01:00
Sébastien Helleu 2d6ab2ec0a core: fix install of PHP 8.0 in CI 2022-01-17 21:27:04 +01:00
Sébastien Helleu c44b79dce7 core: update copyright dates 2022-01-17 18:41:06 +01:00
Sébastien Helleu ab12d384ea doc: add example of hook_process with a script function (scripting guide) 2022-01-16 10:16:27 +01:00
Sébastien Helleu c775242a4c doc: remove useless comparison with empty string in Python examples (plugin API reference) 2022-01-16 10:15:55 +01:00
Sébastien Helleu 619f09f2d6 xfer: fix auto-accept of server/nick when the server name contains UTF-8 chars (issue #1739) 2022-01-15 10:04:43 +01:00
Sébastien Helleu e6f65122a9 spell: fix comparison of URL prefix with UTF-8 chars (issue #1739)
There is no problem in practice because the possible URL prefixes are hardcoded
in the spell plugin and don't contain any UTF-8 char on more than one byte.
2022-01-15 10:04:12 +01:00
Sébastien Helleu 50167ca96f relay: fix comparison of server nonce with UTF-8 chars (issue #1739)
There is no problem in practice because this server nonce is generated by
WeeChat itself and encoded to base64, so it never contains any UTF-8 char on
more than one byte.
2022-01-15 10:03:54 +01:00
Sébastien Helleu b54d06630d irc: fix completion of channel topic with UTF-8 chars (issue #1739) 2022-01-15 09:52:23 +01:00
Sébastien Helleu c13aa86c79 api: fix add of infolist items in hashtable when prefix contains UTF-8 chars in function hashtable_add_from_infolist (issue #1739) 2022-01-15 09:48:50 +01:00
Sébastien Helleu bda7bb64d2 core: fix search of commands with UTF-8 chars in name when option weechat.look.command_incomplete is on (issue #1739) 2022-01-15 09:48:50 +01:00
Sébastien Helleu dee7313fcc trigger: fix search of triggers with UTF-8 chars in name (issue #1739) 2022-01-15 09:36:02 +01:00
Sébastien Helleu 305608ce89 tests: split tests on functions string_tolower and string_toupper 2022-01-14 21:43:06 +01:00
Sébastien Helleu f8915129bf core: rename argument "length" to "bytes" in function string_strndup 2022-01-14 21:41:25 +01:00
Nils Görs 0e57d01076 doc: update German documentation 2022-01-12 12:37:00 +01:00
Sébastien Helleu 286338f627 doc: add missing macro WEECHAT_PLUGIN_AUTHOR (plugin API reference) 2022-01-08 17:05:51 +01:00
Sébastien Helleu 9bbab7ff02 irc: use default callback in case of missing parameters in messages 311/312/327 (whois) and 314 (whowas) 2022-01-06 08:14:11 +01:00
Sébastien Helleu 6670fd2a87 irc: add macro to run another protocol callback 2022-01-06 08:10:44 +01:00
Sébastien Helleu 0d6b18bc54 irc: fix parsing of message 338 (whois, host) sent by Rizon server (closes #1737) 2022-01-05 08:24:04 +01:00
Sébastien Helleu 8c49475f75 irc: fix display of message 344 received as whois geo info (closes #1736) 2022-01-04 19:53:48 +01:00
Sébastien Helleu 08e0d3912a doc: add note about chars replaced in IRC tag key/value (user's guide) 2021-12-30 21:49:51 +01:00
Sébastien Helleu 532d46bb93 trigger: add variables ${tg_tag_irc_xxx} containing IRC message tags (issue #1680) 2021-12-30 21:22:37 +01:00
Sébastien Helleu b66298d369 irc: add IRC message tags in messages displayed (closes #1680) 2021-12-30 21:11:22 +01:00
Sébastien Helleu 5c6fc8c4bd doc: update OS examples in contributing guide 2021-12-30 07:25:23 +01:00
Sébastien Helleu ee96b9b867 doc: change pygments pre-processor color from red to green/cyan 2021-12-28 23:34:38 +01:00
Sébastien Helleu 1c022d3bda doc: move section "Fset" in "Configuration" (user's guide) 2021-12-28 22:22:14 +01:00
Sébastien Helleu dd2b19ec42 core: fix display of hotlist in buflist after changing value of option weechat.look.hotlist_sort (closes #1733)
The "hotlist" pointer in buffers was lost, it is now set again after switching
to the newly sorted hotlist.
2021-12-28 13:52:58 +01:00
Sébastien Helleu df0506dbdf doc: update German auto-generated file 2021-12-28 13:34:15 +01:00
Nils Görs 93eafae2fe core: update German translations 2021-12-27 10:42:54 +01:00
Sébastien Helleu 7fb1dd94cc core: add build of Debian packages in CI 2021-12-25 16:26:43 +01:00
Sébastien Helleu c8a8680d60 relay: improve help on option relay.network.compression 2021-12-25 10:44:00 +01:00
Sébastien Helleu af067f18e2 doc: update auto-generated files with options 2021-12-25 10:31:44 +01:00
Sébastien Helleu 454c0acbcf doc: fix color of preformatted text in docs 2021-12-25 10:30:18 +01:00
Sébastien Helleu 498194f6fc relay: add zstd compression in weechat protocol
Option relay.network.compression_level is renamed to relay.network.compression
and is now a percentage between 0 (no compression) to 100 (best compression,
slowest).

Compression is now disabled by default in weechat protocol and must be enabled
via the `handshake` command (option `compression` has been removed from `init`
command).
2021-12-24 16:45:57 +01:00
Sébastien Helleu d5c391b1ee irc: fix display of IRC numeric messages with no parameters
For example this MOTD message is properly displayed (empty line):

  :server.example.com 372 nick :
2021-12-23 18:43:12 +01:00
Nils Görs 20e219a2c9 doc: update German documentation 2021-12-20 10:23:22 +01:00
Sébastien Helleu abb7d3642a core: use shortcuts for URLs pointing to documentation 2021-12-19 12:31:45 +01:00
Sébastien Helleu 7f2cce2970 core: fix link to doc on IRC plugin in README 2021-12-19 12:31:09 +01:00
Sébastien Helleu 7a0fdd1966 core: remove tests on Travis CI
Travis CI has been replaced by GitHub Actions since May 2020.
2021-12-19 12:22:50 +01:00
Sébastien Helleu fae6bbb40e core: fix styles in ChangeLog and release notes 2021-12-19 10:51:29 +01:00
Sébastien Helleu 5bb56e0f57 doc: mention IRC server buffer in default key binding ctrl-x (user's guide) 2021-12-18 13:41:09 +01:00
Sébastien Helleu 5de21ddfc0 Version 3.5-dev 2021-12-18 09:22:12 +01:00
Sébastien Helleu 778594d68f Version 3.4 2021-12-18 08:57:32 +01:00
Sébastien Helleu 37d4d2ac65 debian: update changelog 2021-12-18 08:41:05 +01:00
Krzysztof Korościk 2376b6aa5e doc: update polish translation 2021-12-17 23:28:35 +01:00
Nils Görs 5a24ffd951 doc: update German documentation 2021-12-17 09:19:32 +01:00
Sébastien Helleu a1cc70b752 core: fix broken links in README (closes #1729) 2021-12-16 20:41:12 +01:00
Sébastien Helleu 1cedb78348 doc: add workaround for download of plugins.xml.gz on macOS (FAQ) 2021-12-15 21:05:06 +01:00
Ivan Pešić 0123abb83e doc: Update Serbian translation 2021-12-13 22:16:57 +01:00
Sébastien Helleu 463517bd1e core: fix tests on PHP plugin in CI 2021-12-13 21:39:25 +01:00
Sébastien Helleu 46f3bee2ff core: add build of zst archive in make dist 2021-12-13 21:10:06 +01:00
Krzysztof Korościk d80b27af64 doc: updated polish cmdline options 2021-12-12 20:47:42 +01:00
Krzysztof Korościk e2d44181d7 doc: updated polish user guide 2021-12-12 20:37:02 +01:00
Krzysztof Korościk ba4f762964 po: updated polish translation 2021-12-12 00:44:04 +01:00
Sébastien Helleu dad3e6099c doc: use unbreakable spaces in example of missing translation tag (developer's guide)
This allows to search this tag in docs with grep and ignore the example in the
developer's guide.
2021-12-11 09:40:07 +01:00
Sébastien Helleu 5208552a98 doc: remove missing translation comments in French docs 2021-12-11 09:35:01 +01:00
Sébastien Helleu 07721d3dc1 Version 3.4-rc1 2021-12-10 18:49:11 +01:00
Nils Görs d236171035 core: update German translations 2021-12-10 11:21:47 +01:00
Sébastien Helleu a4d560e0aa doc: fix color codes attributes in developer's guide 2021-12-08 20:54:40 +01:00
Sébastien Helleu 7bf0a5c734 doc: remove list of remote interfaces, redirect to web site (user's guide) 2021-12-05 22:00:24 +01:00
Sébastien Helleu 10a8732d41 doc: rename section "WeeChat extension" to "Extending WeeChat" (user's guide) 2021-12-05 21:39:28 +01:00
Sébastien Helleu fd017ce474 doc: add section "Script manager" (user's guide) 2021-12-05 21:39:28 +01:00
Sébastien Helleu 1c0d8f5fd3 doc: add section "WeeChat extension" above "Plugins" (user's guide) 2021-12-05 21:39:28 +01:00
Sébastien Helleu 160ffe8e11 doc: move sections "Exec", "Fifo" and "Trigger" at top level after "Relay" (user's guide) 2021-12-05 21:39:28 +01:00
Sébastien Helleu 4c7b898666 doc: move section "Xfer" at top level after "IRC" (user's guide) 2021-12-05 20:59:19 +01:00
Sébastien Helleu 391d0a18a1 doc: move section "Typing" at top level after "IRC" (user's guide) 2021-12-05 20:59:19 +01:00
Sébastien Helleu a5db952842 doc: move section "Spell" in "Configuration" (user's guide) 2021-12-05 20:59:19 +01:00
Sébastien Helleu 7cb5147e74 doc: move section "Relay" at top level after "IRC" (user's guide) 2021-12-05 20:59:19 +01:00
Sébastien Helleu a5ffd8b800 doc: move section "Logger" in "Configuration" (user's guide) 2021-12-05 20:59:19 +01:00
Sébastien Helleu 66384544b5 doc: move section "IRC" at top level after "Configuration" (user's guide) 2021-12-05 20:59:19 +01:00
Sébastien Helleu c88428fb41 doc: move section "Bare display" in "Buffers and windows" (user's guide) 2021-12-05 14:15:52 +01:00
Sébastien Helleu 71991fcc73 doc: add fset buffer example (user's guide) 2021-12-05 14:11:25 +01:00
Sébastien Helleu b82a9c44fd doc: fix typo in French user's guide 2021-12-05 13:56:59 +01:00
Sébastien Helleu 637c7bb3d4 doc: move section "Fset" in "Interface" (user's guide) 2021-12-05 13:15:35 +01:00
Sébastien Helleu 268cb53238 doc: move section "Charset" in "Configuration" (user's guide) 2021-12-05 12:43:54 +01:00
Sébastien Helleu 9e721d0ad5 doc: move section "Buflist" in "Interface" (user's guide) 2021-12-05 12:36:39 +01:00
Sébastien Helleu 287d5146b4 doc: move section "Alias" in "Configuration" (user's guide) 2021-12-05 12:25:41 +01:00
Sébastien Helleu 1cfb5e5d1e doc: change section title for debug build and address sanitizer (user's guide) 2021-12-05 11:55:02 +01:00
Sébastien Helleu 866fef2595 doc: fix cross-reference to mouse actions (user's guide) 2021-12-05 11:47:04 +01:00
Sébastien Helleu 2dabce9ac8 doc: move section "Key bindings" at top level, add section title "Configuration" (user's guide) 2021-12-04 20:12:06 +01:00
Sébastien Helleu f33e9b6737 doc: move section "Running WeeChat" at top level, add section title "Interface" (user's guide) 2021-12-04 15:59:55 +01:00
Sébastien Helleu 50cea48b51 doc: move section "Upgrade" at top level after "Installation" (user's guide) 2021-12-04 15:59:46 +01:00
Sébastien Helleu ae891ab322 doc: reduce font size in table of contents 2021-12-04 15:38:47 +01:00
Sébastien Helleu 0a14441d35 doc: remove section title for extra debug options on command line (user's guide) 2021-12-04 15:31:38 +01:00
Sébastien Helleu f2310dae42 doc: add more categories for key bindings (user's guide) 2021-12-04 15:15:58 +01:00
Sébastien Helleu 67a364550f core: fix typo in weechat --help 2021-12-03 12:03:08 +01:00
Sébastien Helleu 64592951b5 doc: use only a link to user's guide in Installation chapter (README) 2021-12-01 18:54:28 +01:00
Sébastien Helleu 3a38879590 doc: remove tester's guide 2021-12-01 18:48:14 +01:00
Sébastien Helleu d447755b1f core: update ChangeLog 2021-11-28 22:21:55 +01:00
Sébastien Helleu 2564fa2882 doc: disable web fonts in docs generated by asciidoctor 2021-11-27 16:53:12 +01:00
Sébastien Helleu 928ed152ed doc: make reproducible build of docs with asciidoctor 2021-11-27 16:09:11 +01:00
Sébastien Helleu 7014322b2e doc: add dark theme in docs generated by asciidoctor 2021-11-27 16:05:28 +01:00
Sébastien Helleu 9b6606394c doc: fix column size in table with color codes (developer's guide) 2021-11-27 16:05:28 +01:00
Sébastien Helleu 198872c027 doc: escape example of link in developer's guide 2021-11-27 16:05:28 +01:00
Sébastien Helleu c8776b14f6 doc: switch from prettify to pygments for syntax highlighting 2021-11-27 16:05:28 +01:00
Nils Görs 35c26fb001 doc: update German documentation 2021-11-24 12:30:41 +01:00
Thomas Faughnan eca9c89747 doc: fix typo in link for '/layout' in user guide 2021-11-23 09:34:19 +01:00
Sébastien Helleu aed64f5020 ruby: add detection of Ruby 3.0 in autotools (issue #1721) 2021-11-21 16:57:17 +01:00
Sébastien Helleu 266233636d core: add issue #1605 in ChangeLog 2021-11-21 16:48:39 +01:00
Sébastien Helleu be753046b7 core: fix detection of Ruby 3.0 on macOS (issue #1721) 2021-11-21 16:38:22 +01:00
Sébastien Helleu 15f5bc7944 tests: add missing include of stdio.h 2021-11-21 16:37:23 +01:00
Sébastien Helleu 27a480c7d7 core: fix compilation with Ruby 3.0 on macOS (issue #1721, closes #1605) 2021-11-21 16:29:40 +01:00
Sébastien Helleu fe9768f484 ruby: add detection of Ruby 3.0.0, remove old way to detect Ruby (closes #1721) 2021-11-21 11:39:56 +01:00
Sébastien Helleu aace0a1a58 core: fix links to docs in release notes 2021-11-20 20:34:21 +01:00
Sébastien Helleu 792739ee42 core: add build with CMake and Ninja in CI 2021-11-20 19:02:53 +01:00
Sébastien Helleu 8b11fa86cd core: add build on macOS 11 in CI 2021-11-20 17:34:33 +01:00
Sébastien Helleu 28d013b704 build: add targets "changelog" and "rn" to build HTML version of ChangeLog and release notes (CMake build only) 2021-11-20 17:23:59 +01:00
Sébastien Helleu 5fffaf89e4 build: improve error management in build of tarballs 2021-11-20 15:32:06 +01:00
Sébastien Helleu 006964c4dc irc: fix memory leak in case of realloc error 2021-11-20 13:21:51 +01:00
Sébastien Helleu 05d31b476b trigger: hide key and password in command "/msg nickserv setpass nick key password" 2021-11-13 15:41:31 +01:00
Sébastien Helleu 50edb33f1c core: speed up eval by storing length of prefix/suffix in eval structure 2021-11-13 15:18:49 +01:00
Sébastien Helleu c82358c17c core: free strings with XDG directories in case of error 2021-11-13 14:59:14 +01:00
Sébastien Helleu d64050bafb relay: remove dead assignment in websocket decoding 2021-11-13 13:32:02 +01:00
Sébastien Helleu 1556e4ac5a core: fix memory leak in evaluated expression "split:number,seps,flags,xxx" when multiple "strip_items" are given 2021-11-13 13:29:32 +01:00
Sébastien Helleu a3924a27a0 tests: add tests on some IRC SASL functions 2021-11-13 09:06:34 +01:00
Sébastien Helleu cbadaecc4f core: add note about default trigger "cmd_pass_register" in release notes 2021-11-13 08:48:04 +01:00
Sébastien Helleu 7cad1230e6 trigger: add comments with list of all commands in default triggers 2021-11-12 21:20:14 +01:00
Sébastien Helleu 997559e55b trigger: split default triggers on multiple lines 2021-11-12 21:08:39 +01:00
Sébastien Helleu d98940fecb tests: add tests on default triggers 2021-11-12 20:58:30 +01:00
Sébastien Helleu f2ad57ceb9 trigger: add support of option "-server" when hiding passwords in command /msg nickserv register 2021-11-12 20:52:14 +01:00
Sébastien Helleu d4650183ba doc: fix typos in user's guide 2021-11-11 21:33:16 +01:00
Sébastien Helleu a6c40d2190 doc: fix sentences in French user's guide 2021-11-11 21:18:10 +01:00
Sébastien Helleu 563a6db02d core: fix typos in docs 2021-11-11 09:28:24 +01:00
Sébastien Helleu 5ddd72c0e9 tests: add extra tests on functions string_strcmp_ignore_chars and string_convert_escaped_chars 2021-11-09 20:41:23 +01:00
Ivan Pešić 80b86ea647 core: update Serbian translations 2021-11-08 20:48:59 +01:00
Santiago Forero bbcdb90fbb core: update Spanish translations 2021-11-08 20:25:41 +01:00
Sébastien Helleu 253b25db03 core: fix random integer number with large range in evaluation of expressions on GNU/Hurd 2021-11-07 20:16:26 +01:00
Sébastien Helleu 4c9e7ed09e tests: fix allocation of test_ptr_1_hashtable_dyn in hdata tests 2021-11-07 18:13:03 +01:00
Sébastien Helleu 12043622e6 tests: add tests on UTF-8 string functions 2021-11-07 14:39:48 +01:00
Sébastien Helleu f4a1baaed3 irc: extend size of some internal buffers 2021-11-07 08:57:07 +01:00
Sébastien Helleu 9303f5abd9 core: update ChangeLog 2021-11-06 18:57:49 +01:00
Sébastien Helleu 1b8ad40b81 irc: do not display a message parsing error when a channel buffer can not be created 2021-11-06 18:19:12 +01:00
Sébastien Helleu 2f177dd188 irc: fix join of channels with name longer than 127 chars (closes #1717) 2021-11-06 18:17:39 +01:00
Sébastien Helleu edfc415e9e irc: fix memory leak in main IRC message callback 2021-11-06 17:58:48 +01:00
Sébastien Helleu 8bb5e33348 irc: fix memory leak in callback of IRC message 353 2021-11-06 17:55:31 +01:00
Sébastien Helleu b3cf7658f7 doc: replace ${name} by ${server_name} in example of function hdata_search (plugin API reference) 2021-11-06 16:03:40 +01:00
Sébastien Helleu 2081fa54af core: reverse diff arguments in CI 2021-11-06 15:59:28 +01:00
Sébastien Helleu 2da2172593 api: add parameters pointers, extra_vars and options in function hdata_search 2021-11-06 15:59:18 +01:00
Sébastien Helleu 018a4bda53 core: add hdata changes in release notes 2021-11-05 20:21:39 +01:00
Sébastien Helleu 14c6ef3d83 tests: add missing include of string.h 2021-11-05 20:21:17 +01:00
Sébastien Helleu 9c5837d143 core: add unit tests on hdata 2021-11-05 20:04:10 +01:00
Sébastien Helleu 5e08f9876a core: fix access to integer/long/time arrays in hdata, add support of static arrays in hdata 2021-11-04 23:55:02 +01:00
Sébastien Helleu ee66fc3a85 core: fix crash in function hdata_set when pointer value is NULL in hashtable 2021-11-03 23:54:12 +01:00
Sébastien Helleu 13472adfff core: check that time is valid in function hdata_set 2021-11-03 23:23:09 +01:00
Sébastien Helleu 60b374901f core: remove useless test in function hdata_update 2021-11-03 23:02:01 +01:00
Sébastien Helleu d8a3a0137c core: check that hdata and name are not NULL in function hdata_compare 2021-11-02 21:08:24 +01:00
Sébastien Helleu f66e55564e core: check that name is not NULL in function hdata_get_var 2021-11-01 22:16:50 +01:00
Sébastien Helleu 6e83225e6f core: use a "free value" callback in hashtable weechat_hdata 2021-10-29 22:13:53 +02:00
Sébastien Helleu f03622d141 doc: update Polish auto-generated files 2021-10-24 09:23:01 +02:00
Krzysztof Korościk 4f20417cb2 po: updated polish translation 2021-10-24 00:38:46 +02:00
Krzysztof Korościk f15337ea9a doc: updated polish translation 2021-10-23 23:29:34 +02:00
Sébastien Helleu 49221b56b9 doc: update German auto-generated file 2021-10-23 20:58:16 +02:00
Nils Görs 75f71cd311 core: update German translations 2021-10-23 17:58:01 +02:00
Sébastien Helleu 505a9f937a core: fix typo in ChangeLog 2021-10-23 15:13:53 +02:00
Sébastien Helleu 08d3e3b2b7 core: update ChangeLog (closes #1666) 2021-10-23 14:44:20 +02:00
Sébastien Helleu fb4d947a8c core: update translations 2021-10-23 14:44:11 +02:00
Sébastien Helleu 2ca6420e17 irc: do not display first parameter in numeric command when it is "*" 2021-10-17 21:28:31 +02:00
Sébastien Helleu cde0d5f7a5 irc: do not display "*" when received as nick in command 900 2021-10-17 21:28:31 +02:00
Sébastien Helleu ba5b744397 irc: add URL to extended-join extension 2021-10-17 21:28:31 +02:00
Sébastien Helleu 1447c7ad83 irc: fix URL to invite-notify extension 2021-10-17 21:28:31 +02:00
Sébastien Helleu b57d19c893 irc: add more CAP command examples 2021-10-17 21:28:31 +02:00
Sébastien Helleu 9063546acc irc: remove parameters argc/argv/argv_eol from command callbacks 2021-10-17 21:28:31 +02:00
Sébastien Helleu f1cb767001 irc: keep trailing spaces in received message 322 2021-10-17 21:28:31 +02:00
Sébastien Helleu 634eac455d tests: ensure trailing spaces are preserved in some incoming IRC commands 2021-10-17 21:28:31 +02:00
Sébastien Helleu 2f90fc0299 irc: don't keep trailing spaces in received message TAGMSG 2021-10-17 21:28:31 +02:00
Sébastien Helleu d2bd952210 tests: protect IRC message with quotes in command /server fakerecv 2021-10-17 21:28:31 +02:00
Sébastien Helleu 9fbe18eb27 irc: remove quotes around message in command /server fakerecv
This preserves trailing spaces at the end of the message.
2021-10-17 21:28:31 +02:00
Sébastien Helleu 2ca37a9128 irc: remove server in "903" and "904" command callbacks examples 2021-10-17 21:28:31 +02:00
Sébastien Helleu a73e9eb8ca irc: use parsed command parameters in "901" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu a3ddeba9f9 irc: use parsed command parameters in "900" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu baa91a45a8 irc: use parsed command parameters in "730", "731", "732", "733" and "734" command callbacks 2021-10-17 21:28:31 +02:00
Sébastien Helleu 6124bf3c92 irc: use parsed command parameters in "729" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 6a8ec55118 irc: use parsed command parameters in "728" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 4b6038975c irc: use parsed command parameters in "470" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 5e63161b5b irc: use parsed command parameters in "438" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 32c99047f4 irc: use parsed command parameters in "437" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 2ef9509dbe irc: remove server in "432" and "433" command callbacks examples 2021-10-17 21:28:31 +02:00
Sébastien Helleu c7cb025582 irc: use parsed command parameters in "368" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 96288d69e2 irc: use parsed command parameters in "367" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu aad86a1955 irc: use parsed command parameters in "366" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu dcbf534d53 irc: use parsed command parameters in "353" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu c8329da6e0 irc: use parsed command parameters in "352" and "354" command callbacks 2021-10-17 21:28:31 +02:00
Sébastien Helleu 3e1b621f52 tests: add extra tests on notice message received with just a server address 2021-10-17 21:28:31 +02:00
Sébastien Helleu 56cb9e50af irc: fix display of address in notice messages received 2021-10-17 21:28:31 +02:00
Sébastien Helleu 9b17f1fee4 irc: use parsed command parameters in "351" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu cee4bf7e3c irc: use parsed command parameters in "349" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 027ecc6b0e irc: use parsed command parameters in "348" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 22ecfda777 irc: use parsed command parameters in "347" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 2ae974f5c3 irc: use parsed command parameters in "346" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 99d565f6df irc: use parsed command parameters in "345" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 5546b0af0e irc: use parsed command parameters in "344" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 741343e9aa irc: use parsed command parameters in "341" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 0e9710de81 irc: use parsed command parameters in "338" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 32ae101096 irc: use parsed command parameters in "333" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 3a5a2abeea irc: use parsed command parameters in "332" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu de567aa1d3 irc: use parsed command parameters in "331" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu a5e470a16a irc: use parsed command parameters in "330" and "343" command callbacks 2021-10-17 21:28:31 +02:00
Sébastien Helleu b3ce8b5282 irc: use parsed command parameters in "329" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 31b15c1423 irc: use parsed command parameters in "328" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 60c9beab2b irc: rename some variables "str_params" to a more meaningful name 2021-10-17 21:28:31 +02:00
Sébastien Helleu 10a1c9bda4 irc: use parsed command parameters in "327" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 6f8f547242 irc: use parsed command parameters in "324" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 2509486c6a irc: use parsed command parameters in "323" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu df9c32b0c3 irc: use parsed command parameters in "322" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu c577da0375 irc: use parsed command parameters in "321" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 4e1d40034e irc: use parsed command parameters in "317" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu a1a4f337ff irc: use parsed command parameters in "315" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu e412a34668 irc: use parsed command parameters in "314" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 3c7d4b0516 irc: use parsed command parameters in "312" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 572bcc2c59 irc: use parsed command parameters in "311" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 3360cadd55 irc: use parsed command parameters in "whois" and "whowas" command callbacks 2021-10-17 21:28:31 +02:00
Sébastien Helleu f51f3dbe29 irc: use parsed command parameters in "305" and "306" command callbacks 2021-10-17 21:28:31 +02:00
Sébastien Helleu efecdf5d45 irc: use parsed command parameters in "303" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 76b75ad5cd irc: use parsed command parameters in "numeric" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 74ceaa1a68 irc: use parsed command parameters in "301" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 12a4519448 irc: use parsed command parameters in "221" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 033fbf63b0 irc: use parsed command parameters in "008" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 1029780ce2 irc: use parsed command parameters in "005" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 0ea0b24563 irc: use parsed command parameters in "001" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu ec816b4be5 irc: use parsed command parameters in "wallops" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 7c1ea1cb32 irc: use parsed command parameters in "topic" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 27f554659e irc: use parsed command parameters in "973", "974" and "975" command callbacks 2021-10-17 21:28:31 +02:00
Sébastien Helleu 5389ceb237 irc: use parsed command parameters in "tagmsg" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 03e0122155 irc: use parsed command parameters in "setname" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 8d12187f3d irc: require nick in "away" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu bf8c85f422 irc: use parsed command parameters in "quit" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 179822fb91 irc: use parsed command parameters in "privmsg" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 5e712d7145 irc: use parsed command parameters in "pong" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 8ea41d91c9 irc: use parsed command parameters in "ping" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 7a88e007a5 tests: check missing nick in IRC commands invite/join/kick/kill/mode/nick/part 2021-10-17 21:28:31 +02:00
Sébastien Helleu 257fe7362a tests: fix comments 2021-10-17 21:28:31 +02:00
Sébastien Helleu 52cc1165c4 irc: ensure the nick is not empty when the nick is required in a command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 0be96b7c66 irc: fix messages displayed when prefix/nick is missing 2021-10-17 21:28:31 +02:00
Sébastien Helleu 9d4119232f irc: remove check of address/host in command callbacks 2021-10-17 21:28:31 +02:00
Sébastien Helleu adcc04cc5a irc: fix extraction of address from prefix
Do not return the nick when the address is missing.
2021-10-17 21:28:31 +02:00
Sébastien Helleu e5996f626b irc: use parsed command parameters in "part" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu d8c7cf41b5 irc: use parsed command parameters in "notice" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 5123483c33 tests: fix IRC protocol tests 2021-10-17 21:28:31 +02:00
Sébastien Helleu 33a3c485be irc: shorten error in case of missing parameters in command received 2021-10-17 21:28:31 +02:00
Sébastien Helleu 7b4d48c46d irc: fix number of required parameters in generic error command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 4ee82d1c70 irc: use parsed command parameters in "nick" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu a1a4d627e1 irc: use parsed command parameters in "mode" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 5a5c2cbd1a irc: rename macro IRC_PROTOCOL_CHECK_HOST to IRC_PROTOCOL_CHECK_PREFIX 2021-10-17 21:28:31 +02:00
Sébastien Helleu 2bd3681eef irc: use parsed command parameters in "kill" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 604415e19e irc: use parsed command parameters in "kick" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu e653ee04d2 irc: use parsed command parameters in "join" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 3c737ca304 irc: use parsed command parameters in "invite" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 1f83df7a18 irc: use parsed command parameters in "fail", "warn" and "note" command callbacks 2021-10-17 21:28:31 +02:00
Sébastien Helleu eda8ad9de5 irc: use parsed command parameters in "generic_error" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu df6f32a7bb irc: use parsed command parameters in "error" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu a2a733fc36 irc: use parsed command parameters in "chghost" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 56edeba7fc irc: use parsed command parameters in "cap" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 15392e4a81 irc: use parsed command parameters in "away" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu cb856a7f3a irc: use parsed command parameters in "authenticate" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 69c457287d irc: use parsed command parameters in "account" command callback 2021-10-17 21:28:31 +02:00
Sébastien Helleu 5458382bb8 irc: fix typo in a comment 2021-10-17 21:28:31 +02:00
Sébastien Helleu 849105ebd6 irc: replace "message" by "command" in description of functions 2021-10-17 21:28:31 +02:00
Sébastien Helleu cbc4073815 irc: send parsed parameters to IRC command callbacks 2021-10-17 21:28:30 +02:00
Sébastien Helleu c4b4d80936 irc: parse and return command parameters in message parser 2021-10-17 21:28:30 +02:00
Sébastien Helleu f0898eae64 doc: update Serbian auto-generated file 2021-10-17 21:27:41 +02:00
Ivan Pešić 9378a7572b core: Update Serbian translation 2021-10-17 21:26:20 +02:00
Sébastien Helleu 3cd97b5131 tests: add missing include of string.h 2021-10-14 21:08:28 +02:00
Sébastien Helleu d8b8bf5a84 tests: check displayed message/error for all simulated IRC commands received 2021-10-14 21:00:47 +02:00
Sébastien Helleu 238c17bd0e irc: display command in lower case when there is a parsing error 2021-10-14 20:39:23 +02:00
Sébastien Helleu 1206e9e5c3 tests: fix typo in comment 2021-10-14 20:38:16 +02:00
Sébastien Helleu f3b4336bc4 irc: do not display message with "(null)" for 973/974/975 command received if pos_mode is NULL 2021-10-14 20:37:32 +02:00
Sébastien Helleu 55df7805c2 irc: display a single error message when parsing of a command failed 2021-10-13 18:45:36 +02:00
Sébastien Helleu 9102e4f552 irc: display a single error message when a command is not found 2021-10-13 18:45:14 +02:00
Sébastien Helleu 57ad90c3c0 irc: do not display message with "(null)" for numeric command received if pos_args is NULL 2021-10-13 18:42:47 +02:00
Sébastien Helleu ed9104fbea irc: fix parsing of CAP message when there is no prefix (closes #1707) 2021-10-09 11:27:51 +02:00
Sébastien Helleu 68a3aca643 plugins: use a different plugin priority for each scripting language 2021-10-02 20:50:35 +02:00
Sébastien Helleu 6fe354439c doc: update German auto-generated file 2021-10-02 20:41:09 +02:00
Nils Görs 63b93a8147 core: update German translations 2021-10-02 19:49:38 +02:00
Sébastien Helleu ad5fa7c99f core: add command /toggle 2021-10-01 22:55:38 +02:00
Sébastien Helleu 9548a4cf74 core: check that option is not NULL in function config_file_option_value_to_string 2021-09-27 23:23:01 +02:00
Sébastien Helleu 301f0942c6 core: fix search of option when the section is not given 2021-09-27 22:35:14 +02:00
Sébastien Helleu fb57ad147e core: check that option_name is not NULL in config file functions 2021-09-27 22:02:22 +02:00
Nils Görs 3ee2f40fb3 core: update German translations 2021-09-26 20:25:20 +02:00
Sébastien Helleu edd1971ae8 irc: fix parsing of TAGMSG message when there is a colon before the channel
This fixes the display of typing notifications on some IRC servers like
inspircd.
2021-09-21 20:41:18 +02:00
Sébastien Helleu a6826af796 core: add creation of user variables in evaluated expressions with ${define:name,value} 2021-09-20 21:15:28 +02:00
Jan Palus bd21b25bad typing: correct typo in CMake option description 2021-09-19 14:58:07 +02:00
Sébastien Helleu 48a4a043b7 Version 3.4-dev 2021-09-19 12:23:06 +02:00
Sébastien Helleu 3b9217e460 Version 3.3 2021-09-19 10:14:18 +02:00
Sébastien Helleu eaacd805ae php: add missing header files in autotools build 2021-09-19 09:54:01 +02:00
Sébastien Helleu e9d303c4fa debian: update changelog 2021-09-18 10:33:04 +02:00
Sébastien Helleu fb1bf569a9 debian: bump Standards-Version to 4.6.0.1 2021-09-18 10:32:39 +02:00
Sébastien Helleu e00937875d Version 3.3-rc1 2021-09-11 09:20:58 +02:00
a1346054 5dbf24d179 docs: trim excess whitespace 2021-09-11 00:17:36 +02:00
a1346054 9d7cac2396 build: fix shellcheck warnings 2021-09-11 00:17:36 +02:00
a1346054 04977fa9da legal: use license file from gnu.org
Downloaded from:
https://www.gnu.org/licenses/gpl-3.0.txt
2021-09-11 00:17:36 +02:00
Sébastien Helleu 4aa2b86ee2 doc: update German auto-generated file 2021-09-10 23:07:23 +02:00
Sébastien Helleu f3fc1f5f85 core: remove empty line displayed in output of /plugin list <name> 2021-09-10 23:06:05 +02:00
Nils Görs a7d3f9d4e8 core: update German translations 2021-09-10 09:59:14 +02:00
Sébastien Helleu 91d32be93c core: add options "-o", "-ol", "-i" and "-il" in command "/plugin list" 2021-09-09 21:32:58 +02:00
Sébastien Helleu a76eedcd1f core: replace deprecated cmake command "exec_program" by "execute_process"
This fixes a compilation issue on Debian Sid with the latest version of
debianutils (5.4-3), where the "which" command is now deprecated.
2021-09-08 20:46:44 +02:00
Sébastien Helleu 7742b48098 doc: update German auto-generated file 2021-09-07 21:40:01 +02:00
Nils Görs 4d0245711d core: update German translations 2021-09-07 09:42:30 +02:00
Sébastien Helleu 7d1b557627 core: fix indentation in examples of /help eval 2021-09-06 22:39:29 +02:00
Sébastien Helleu 5b3929b321 api: add split of string and shell arguments in evaluation of expressions
Split of string: ${split:number,separators,flags,xxx}
Split of shell arguments: ${split_shell:number,xxx}
2021-09-06 13:32:04 +02:00
Sébastien Helleu 8852e9fd0c core: add CVE id in ChangeLog 2021-09-05 20:54:14 +02:00
Sébastien Helleu d5b68e6b75 core: update ChangeLog (closes #1599) 2021-09-05 09:31:43 +02:00
Ivan Pešić 2446e5814f core: update Serbian translations 2021-09-04 22:01:41 +02:00
Sébastien Helleu 885b470d51 lua: add detection of Lua 5.4 2021-09-04 19:46:14 +02:00
Sébastien Helleu 97b809d164 core: add version 3.2.1 2021-09-04 16:28:04 +02:00
Sébastien Helleu 97bdd51112 relay: fix crash when decoding a malformed websocket frame 2021-09-04 15:55:37 +02:00
Nils Görs 75b9ba03a1 core: update German translations 2021-09-03 15:00:09 +02:00
Sébastien Helleu 5fb7ebdfce irc: fix send of empty JOIN when connecting to a server with only parted channels (closes #1638) 2021-09-03 13:43:07 +02:00
Sébastien Helleu 6fc6166cfe core: update translations 2021-08-31 22:39:17 +02:00
Sébastien Helleu 12be3b8c33 core: add options in command /input and new keys to remove/restore buffers in hotlist
New options in command /input:

- hotlist_remove_buffer
- hotlist_restore_buffer
- hotlist_restore_all

New keys:

- alt+h, alt+c: clear the whole hotlist (former key: alt+h)
- alt+h, alt+m: mark the current buffer as read by removing it from the hotlist
- alt+h, alt+r: restore latest hotlist removed in the current buffer
- alt+h, alt+shift+R: restore latest hotlist removed in all buffers
2021-08-31 22:32:38 +02:00
Sébastien Helleu 5b5626a82b doc: fix typo in French plugin API reference 2021-08-30 13:54:28 +02:00
Sébastien Helleu 968d17b806 core: update ChangeLog (closes #1689) 2021-08-29 10:54:51 +02:00
Sébastien Helleu 2de272ee6c api: add "${re:repl_index}" to get the index of replacement in function string_eval_expression 2021-08-29 10:40:52 +02:00
Sébastien Helleu 009a2889e3 core: ensure python stub is up-to-date in CI 2021-08-16 22:59:32 +02:00
Sébastien Helleu 86e3c672bb doc: write python stub on standard output 2021-08-16 22:59:07 +02:00
Sébastien Helleu 254c1a3e8b doc: update German auto-generated file 2021-08-13 21:08:40 +02:00
Nils Görs fa3cd3dd08 core: update German translations 2021-08-13 09:14:50 +02:00
Sébastien Helleu 89b28e362c irc: add option "-parted" in command /allchan (closes #1685) 2021-08-12 18:15:16 +02:00
Sébastien Helleu cf27302dac core: add terminal and color info in output of /debug color 2021-08-11 18:49:22 +02:00
Sébastien Helleu da8b7a85bb doc: update German auto-generated file 2021-08-10 20:37:50 +02:00
Nils Görs 964d3e54d1 core: update German translations 2021-08-10 14:55:21 +02:00
Sébastien Helleu 960b633517 core: switch to PHP 8.0 in CI 2021-08-08 18:56:16 +02:00
Sébastien Helleu addd80e7b7 doc: update auto-generated files with hdata 2021-08-08 18:44:05 +02:00
Sébastien Helleu 8e676edd1a irc: save CLIENTTAGDENY from message 005 in server, do not send typing messages if "typing" client tag is denied 2021-08-08 18:37:15 +02:00
Sébastien Helleu 415ea95eb4 core: update ChangeLog (issue #1668) 2021-08-08 09:03:22 +02:00
Adam Saponara ede09a843c php: add ifdef for zend_file_handle.filename 2021-08-08 09:00:24 +02:00
Adam Saponara 5442612bc9 php: fix PHP 8+ build 2021-08-08 09:00:24 +02:00
Sébastien Helleu 2b12b4077a php: add detection of PHP 8.0, fix compilation errors 2021-08-08 09:00:24 +02:00
Sébastien Helleu 61c3169068 core: add contributor (issue #1656) 2021-08-07 11:20:08 +02:00
Sébastien Helleu 5b48eef4fe core: update ChangeLog (issue #1656) 2021-08-07 11:19:51 +02:00
Sébastien Helleu 9b75118b83 debian: add Spanish FAQ in Debian packaging 2021-08-07 11:15:28 +02:00
Sébastien Helleu def564c5af doc: add build of Spanish FAQ 2021-08-07 11:15:28 +02:00
Victorhck 57ea636fd6 doc: add Spanish version of the FAQ 2021-08-07 11:15:28 +02:00
Victorhck 84d8120060 doc: fix typo in FAQ 2021-08-07 10:56:56 +02:00
Sébastien Helleu 20866a0457 core: fix decoding of attributes in basic ANSI colors (closes #1678) 2021-08-06 20:33:31 +02:00
Sébastien Helleu 79d50837c9 irc: fix read out of bounds in case of malformed AUTHENTICATE message (issue #1679) 2021-08-03 20:01:15 +02:00
Sébastien Helleu 791b910a77 irc: fix SASL authentication when AUTHENTICATE message is received with a server name (closes #1679) 2021-08-03 19:58:13 +02:00
Sébastien Helleu d89c4f559c api: add random integer number in evaluation of expressions with "random:min,max" 2021-08-03 19:46:41 +02:00
Nils Görs 0be4020b68 core: update German translations 2021-08-03 18:30:47 +02:00
Sébastien Helleu 72a9b87c1c irc: display a different message for setname applied on self and other nicks (closes #1676) 2021-08-01 10:30:06 +02:00
Nils Görs 88d59de940 doc: update German documentation 2021-07-12 09:51:27 +02:00
Sébastien Helleu 6ff46776a4 doc: rename secured data name in IRC server example (user's guide) 2021-07-11 21:56:28 +02:00
Sébastien Helleu 77d96fec23 doc: fix columns width in user's guide 2021-07-10 20:08:36 +02:00
Sébastien Helleu 9404097756 doc: add chapters on IRC servers, channels, private messages (user's guide) 2021-07-10 18:35:57 +02:00
Sébastien Helleu a16616637a irc: remove unneeded message about Diffie-Hellman shared secret exchange during SSL connection to server (closes #857) 2021-07-10 16:02:19 +02:00
Sébastien Helleu 2b1582c816 core: add lint with bandit in CI 2021-07-09 23:56:24 +02:00
Sébastien Helleu efea27bb24 relay: remove dead assignment 2021-07-08 23:02:50 +02:00
Sébastien Helleu 6052c1a5c0 doc: update German auto-generated file 2021-07-04 20:50:41 +02:00
Sébastien Helleu 3199877bc0 core: add bar item "typing" in status bar by default 2021-07-04 20:49:58 +02:00
Sébastien Helleu b0d4b9aaba typing: remove trailing space in translated message 2021-07-04 19:42:30 +02:00
Nils Görs 6a1425d5ba core: update German translations 2021-07-04 19:18:35 +02:00
Sébastien Helleu 64b52da406 typing: add option typing.look.input_min_chars 2021-07-04 14:02:15 +02:00
Sébastien Helleu 5ae4af1549 core: update ChangeLog 2021-07-04 13:37:52 +02:00
Sébastien Helleu f79929b382 core: update translations 2021-07-04 13:36:32 +02:00
Sébastien Helleu a4507539fb typing: add option typing.look.item_max_length 2021-07-04 13:27:33 +02:00
Sébastien Helleu 5b87e0c544 api: add function string_cut 2021-07-04 13:27:33 +02:00
Sébastien Helleu 1746e832ec typing: remove hashtables when typing is turned off 2021-07-04 13:27:33 +02:00
Sébastien Helleu ed24930547 typing: add note for translators 2021-07-04 13:27:33 +02:00
Sébastien Helleu 7c83ee02f2 tests: add tests on typing plugin functions 2021-07-04 13:27:33 +02:00
Sébastien Helleu 8dc75564c2 doc: add typing plugin files in developer's guide 2021-07-04 13:27:33 +02:00
Sébastien Helleu 5b7f55090b build: add typing plugin in Cygwin packaging 2021-07-04 13:27:33 +02:00
Sébastien Helleu de61048cd2 debian: add typing plugin in Debian packaging 2021-07-04 13:27:33 +02:00
Sébastien Helleu 252d1bbc9d doc: add file typing.conf in man page 2021-07-04 13:27:33 +02:00
Sébastien Helleu 0355f3fc1a doc: add chapter on typing extension in user's guide 2021-07-04 13:27:33 +02:00
Sébastien Helleu 09d871deb4 doc: add column for min WeeChat version in function buffer_set (plugin API reference) 2021-07-04 13:27:33 +02:00
Sébastien Helleu 503a3cb755 doc: add column for min WeeChat version in function hook_set (plugin API reference) 2021-07-04 13:27:33 +02:00
Sébastien Helleu c127d1693a doc: add column for min WeeChat version in function hook_modifier_exec (plugin API reference) 2021-07-04 13:27:33 +02:00
Sébastien Helleu 134f4374f8 doc: add column for min WeeChat version in function hook_modifier (plugin API reference) 2021-07-04 13:27:33 +02:00
Sébastien Helleu ab916d3d90 doc: add column for min WeeChat version in function hook_hsignal (plugin API reference) 2021-07-04 13:27:33 +02:00
Sébastien Helleu 3d54365d67 doc: add column for min WeeChat version in function hook_process_hashtable (plugin API reference) 2021-07-04 13:27:33 +02:00
Sébastien Helleu 3c920f9a80 doc: add typing signals in plugin API reference 2021-07-04 13:27:33 +02:00
Sébastien Helleu 954f943e8e irc, typing: display typing status for IRC nicks 2021-07-04 13:27:33 +02:00
Sébastien Helleu bba300e191 typing: translate strings in typing plugin sources 2021-07-04 13:27:33 +02:00
Sébastien Helleu 7954dbc1f4 typing: replace linked list with a hashtable to store typing status on buffers 2021-07-04 13:27:33 +02:00
Sébastien Helleu b108e97085 irc: send typing status as TAGMSG to other users 2021-07-04 13:27:33 +02:00
Sébastien Helleu dccf605e66 typing: add typing plugin 2021-07-04 13:27:32 +02:00
Sébastien Helleu b585ec09f8 core: fix number of bytes read in function dir_file_copy 2021-07-03 16:50:30 +02:00
Sébastien Helleu 5253478279 script: fix move of installed script on another filesystem (closes #1667) 2021-07-03 16:06:02 +02:00
Sébastien Helleu 8a11a18dc5 api: add function file_copy (issue #1667) 2021-07-03 16:04:50 +02:00
Sébastien Helleu 9432b44a2b irc: remove dead assignments in SASL functions 2021-07-02 21:58:50 +02:00
Sébastien Helleu 1ac800906b doc: update Polish auto-generated files 2021-06-29 00:17:18 +02:00
Krzysztof Korościk 5d4adf8010 doc: updated polish translation 2021-06-28 21:43:37 +02:00
Krzysztof Korościk 689a2c1705 po: updated polish translation 2021-06-28 21:12:17 +02:00
Sébastien Helleu 9bd737ae1a doc: update German auto-generated file 2021-06-28 20:35:06 +02:00
Nils Görs f1761b66c6 core: update German translations 2021-06-28 08:58:28 +02:00
Sébastien Helleu 2205bb6b45 core: add capability message-tags in release notes 2021-06-27 10:41:24 +02:00
Sébastien Helleu e84a3676f6 core: add note about buffers that are not opened in /help layout 2021-06-27 10:35:04 +02:00
Sébastien Helleu 253598d83c doc: mention WeeChat version for WEECHAT_RC_OK_EAT in signals "irc_raw_in" and "irc_in" (plugin API reference) (issue #1657) 2021-06-27 09:56:45 +02:00
Sébastien Helleu ff6bc95429 doc: remove tag "translation missing" in French user's guide (issue #1642) 2021-06-27 09:53:47 +02:00
Sébastien Helleu 61a6b0c705 core: add contributor (issue #1657) 2021-06-27 09:49:36 +02:00
Simon Ser ff8beb1918 irc: allow signals "irc_raw_in" and "irc_in" to eat messages (issue #1657)
This is useful to implement IRC protocol extensions which introduce
new commands.
2021-06-27 09:48:16 +02:00
Ivan Pešić 59853d9b30 doc: update Serbian translations 2021-06-27 09:26:50 +02:00
Sébastien Helleu a48a615613 api: remember insertion order in hashtables 2021-06-26 21:37:02 +02:00
Sébastien Helleu 5a59482cc8 doc: update German auto-generated file 2021-06-25 13:35:16 +02:00
Nils Görs 2478a4187a core: update German translations 2021-06-25 13:27:20 +02:00
Sébastien Helleu 0fb88527ce irc: implement IRCv3.2 SASL authentication, add command /auth (closes #413) 2021-06-25 11:15:22 +02:00
Sébastien Helleu 7a0020f067 irc: fix comment on TAGMSG callback function (issue #1654) 2021-06-25 10:41:27 +02:00
Sébastien Helleu f662ca9398 doc: update German auto-generated files 2021-06-25 10:37:32 +02:00
Nils Görs 8f19798834 core: update German translations 2021-06-25 09:30:14 +02:00
Sébastien Helleu 22a7e18842 irc: add support of capability "message-tags" (closes #1654) 2021-06-24 21:04:52 +02:00
Sébastien Helleu 51123b755d core: add missing source files for gettext 2021-06-24 21:02:13 +02:00
Sébastien Helleu b1cf12700d irc: add keys/values with tags in output of irc_message_parse_to_hashtable (issue #1654)
Key is "tag_xxx" (where "xxx" is the name of tag) and value is the unescaped
tag value.
2021-06-24 21:02:03 +02:00
Sébastien Helleu 8ea1ee06e5 irc: add support of TAGMSG messages (issue #1654) 2021-06-24 21:01:22 +02:00
Sébastien Helleu 23c46c3f2b irc: escape/unescape IRC message tags values (issue #1654)
Spec: https://ircv3.net/specs/extensions/message-tags#escaping-values
2021-06-24 20:59:21 +02:00
Sébastien Helleu b3b4ef648b core: fix use of uninitialized hash when call to weecrypto_hmac fails 2021-06-23 20:46:53 +02:00
Sébastien Helleu 60b9e36ae2 core: fix function string_match with joker in the string if multiple words matched in input string
Before fix:

  string_match("script.color.text_description", "*script*color*", 0) => 0

After fix:

  string_match("script.color.text_description", "*script*color*", 0) => 1
2021-06-22 21:54:16 +02:00
Sébastien Helleu 3d3cdf3884 tests: fix modifier name in comment 2021-06-21 19:58:53 +02:00
Sébastien Helleu e04cc87f60 irc: set notify level to "private" for received WALLOPS 2021-06-21 19:57:54 +02:00
Sébastien Helleu f2d1acb899 core: fix chapter name in release notes 2021-06-20 08:53:45 +02:00
Sébastien Helleu 1fb2fcbbd4 doc: update German auto-generated file 2021-06-19 18:46:45 +02:00
Nils Görs 296f795ff3 core: update German translations 2021-06-19 18:43:06 +02:00
Sébastien Helleu ef318cb70c irc: enable all capabilities by default (supported by both server and WeeChat) (closes #320)
Capabilities can be excluded with the format: "*,!account-*,!extended-join".
2021-06-19 18:22:49 +02:00
Sébastien Helleu 947f73bd50 irc: add option irc.look.display_account_message (issue #320) 2021-06-19 18:14:38 +02:00
Sébastien Helleu 5a89825669 irc: add option irc.look.display_extended_join (issue #320) 2021-06-19 18:12:22 +02:00
Sébastien Helleu eb2a42c99e doc: update German auto-generated file 2021-06-19 18:10:15 +02:00
Nils Görs 60d4489b5e core: update German translations 2021-06-18 08:36:21 +02:00
Sébastien Helleu 2225ac4e56 core: add option "certs" in command /debug 2021-06-17 21:51:18 +02:00
Sébastien Helleu fa785e8668 doc: update German auto-generated files 2021-06-17 21:48:39 +02:00
Sébastien Helleu 0ceccb9798 tests: fix tests on signal_search_number 2021-06-16 12:34:30 +02:00
Sébastien Helleu 0b7e4977be core: fix build on macOS (closes #1662) 2021-06-16 12:34:14 +02:00
Sébastien Helleu bfa0b4376c core: add build on macOS in CI 2021-06-16 12:32:06 +02:00
Nils Görs 70c1a002e3 doc: update German documentation 2021-06-16 10:50:21 +02:00
Nils Görs e4b6db5de2 core: update German translations 2021-06-16 10:42:27 +02:00
Sébastien Helleu e8cdda318f irc: drop support of DH-BLOWFISH and DH-AES SASL mechanisms (closes #175) 2021-06-15 21:49:45 +02:00
Sébastien Helleu 51740eb21e doc: keep previous msgids of translated messages in .po files 2021-06-15 20:34:25 +02:00
Sébastien Helleu 936e2fddaf core: update ChangeLog 2021-06-15 18:56:46 +02:00
Sébastien Helleu 70b66c4f6b irc: add command /setname, add support of message and capability "setname" (closes #1653) 2021-06-15 18:56:41 +02:00
Sébastien Helleu 0525922ee4 irc: always set realname in nicks even when extended-join capability is not enabled (issue #1653) 2021-06-15 18:50:22 +02:00
Sébastien Helleu b8baee1c06 irc: add support of FAIL/WARN/NOTE messages (issue #1653)
Spec: https://ircv3.net/specs/extensions/standard-replies
2021-06-15 18:49:49 +02:00
Sébastien Helleu 88edc19149 doc: update user's guide translations (issue #1642) 2021-06-14 21:39:27 +02:00
Giuseppe Bilotta f6a4841dab doc: ref the layout, buffer and window sections and commands
Add some references between the Screen layout and Buffers and windows
sections, linking also to the appropriate commands.

This should make it easier to discover the `/layout` command and its
relevance to the windows and buffer management.

(Small contribution to GitHub issue #1641)
2021-06-14 21:38:45 +02:00
Sébastien Helleu 19e41eb28a core: add contributor (issue #1655) 2021-06-13 16:30:24 +02:00
eevan78 31b22fec09 doc: add Serbian translations 2021-06-13 16:28:33 +02:00
Krzysztof Korościk 1624b0ba97 doc: updated polish translation 2021-06-13 14:59:07 +02:00
Krzysztof Korościk 9fe937a7fd po: updated polish translation 2021-06-13 14:41:02 +02:00
Sébastien Helleu f6d1991833 Version 3.3-dev 2021-06-13 09:51:42 +02:00
Sébastien Helleu 70c09f1f5a Version 3.2 2021-06-13 09:28:25 +02:00
Sébastien Helleu 1adf6927e5 irc: fix translation of SASL errors 2021-06-13 09:16:09 +02:00
Sébastien Helleu de6575dd32 doc: update Polish auto-generated files 2021-06-10 21:28:15 +02:00
Krzysztof Korościk 4b3785ad1e po: updated polish translation 2021-06-10 00:18:03 +02:00
Sébastien Helleu 2a71d79b37 doc: update German auto-generated file 2021-06-07 07:13:54 +02:00
Nils Görs 5775e9cd10 core: update German translations 2021-06-05 23:09:34 +02:00
Sébastien Helleu 7dd3b0016c Version 3.2-rc1 2021-06-04 21:30:54 +02:00
Sébastien Helleu f8872c415b doc: add IRC SASL SCRAM mechanisms in user's guide (issue #1628) 2021-06-01 21:29:55 +02:00
Sébastien Helleu 8c57e8abd3 irc: add comments about parameter sasl_error (issue #1628) 2021-06-01 21:17:13 +02:00
Sébastien Helleu e365e66eeb irc: add support of SASL mechanisms SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA-512 (closes #1628) 2021-06-01 20:45:11 +02:00
Sébastien Helleu 5cffb7179f api: add function crypto_hmac (issue #1628) 2021-06-01 20:39:04 +02:00
Sébastien Helleu 6ac6cf7293 tests: add test of base64 encode/decode with NUL char in string 2021-06-01 20:39:04 +02:00
Sébastien Helleu 576406888c doc: update German auto-generated files 2021-06-01 20:39:04 +02:00
Nils Görs ae60c3ec66 core: update German translations 2021-05-30 19:06:05 +02:00
Sébastien Helleu 466fed4f5b irc: add ${target} in help of server msg_kick option 2021-05-30 15:22:30 +02:00
Sébastien Helleu b21589944e core, irc, script: fix typos 2021-05-29 14:33:13 +02:00
Sébastien Helleu 4a41625989 irc: add variable "${target}" (target nick) in commands /kick and /kickban 2021-05-29 14:26:30 +02:00
Nils Görs a9b976274e doc: update German documentation 2021-05-28 13:46:02 +02:00
Sébastien Helleu 1181ab454e doc: use secured data in relay examples (user's guide) 2021-05-28 13:37:31 +02:00
Nils Görs c676148a63 core: update German translations 2021-05-28 09:30:29 +02:00
Victorhck f3428d48f3 doc: update Spanish quickstart guide 2021-05-27 20:59:53 +02:00
Sébastien Helleu 557dd8f4a5 core: update translations (issue #1647) 2021-05-27 18:28:52 +02:00
Filip H.F. "FiXato" Slagter d4f3bc596d clarify (max) bar size to be in chars/lines
(max) bar size was described to be in chars, though this only applies to the left/right bars. This change clarifies that top/bottom bars would have their size defined in lines.
2021-05-27 18:14:18 +02:00
Filip H.F. "FiXato" Slagter ddc5d56a65 Typo fix
Zomming -> Zooming
2021-05-26 19:53:11 +02:00
Sébastien Helleu b94907c249 doc: replace freenode-tor by a generic TOR example in user's guide 2021-05-26 10:07:59 +02:00
Sébastien Helleu dfdd5b1c50 core: add signals "cursor_start" and "cursor_end" 2021-05-26 08:53:31 +02:00
Sébastien Helleu 7cc61cdbb3 core: replace freenode by libera in command examples 2021-05-25 18:44:10 +02:00
Sébastien Helleu e5f58b77c1 core, buflist, irc, relay: replace freenode by libera in comments 2021-05-25 13:39:55 +02:00
Sébastien Helleu 18c82fc5c7 tests: replace freenode by libera in tests 2021-05-25 13:38:12 +02:00
Sébastien Helleu f55dcde4ff doc: replace freenode by libera in release notes 2021-05-25 13:37:43 +02:00
Sébastien Helleu a25f0f1928 doc: replace freenode by libera in contributing guide 2021-05-25 13:37:24 +02:00
Sébastien Helleu c20d3778d6 doc: replace freenode by libera in man page 2021-05-25 07:59:21 +02:00
Sébastien Helleu 1a7e49ac3f doc: replace freenode by libera in user's guide 2021-05-25 07:56:07 +02:00
Sébastien Helleu 8bd0df9b70 doc: replace freenode by libera in tester's guide 2021-05-25 07:34:01 +02:00
Sébastien Helleu afaff533c8 doc: replace freenode by libera in scripting guide 2021-05-25 07:27:13 +02:00
Sébastien Helleu 08ab8bef83 doc: replace freenode by libera in replay protocol 2021-05-25 07:22:32 +02:00
Sébastien Helleu 14c5e656f2 doc: replace freenode by libera in plugin API reference 2021-05-25 07:13:44 +02:00
Sébastien Helleu dc46bbf63d doc: replace freenode by libera in FAQ 2021-05-25 07:07:12 +02:00
Sébastien Helleu 0577fd1c99 doc: replace freenode by libera in quickstart guide 2021-05-25 07:02:55 +02:00
Krzysztof Korościk 6915f4e4c0 doc: updated polish translation 2021-05-24 22:52:51 +02:00
Sébastien Helleu f7dd2dbd55 doc: update Polish auto-generated files 2021-05-24 13:00:09 +02:00
Krzysztof Korościk d436ab6b0d po: updated polish translation 2021-05-23 18:25:01 +02:00
Sébastien Helleu 0886b38725 doc: update German auto-generated file 2021-05-23 08:15:33 +02:00
Nils Görs e3f4c4811f core: update German translations 2021-05-22 23:42:16 +02:00
Sébastien Helleu 35b35f6923 core: fix typo 2021-05-22 09:47:30 +02:00
Sébastien Helleu f8419c6aa6 doc: update auto-generated files 2021-05-22 09:17:36 +02:00
Sébastien Helleu 9ac3f887a5 core: add split of commands before evaluation in release notes (issue #1643) 2021-05-22 09:16:32 +02:00
Sébastien Helleu 15b001b011 core: update translations (issue #1643) 2021-05-22 08:58:36 +02:00
Sébastien Helleu d949ebb088 core: split signal command before evaluating it (issue #1643) 2021-05-22 08:52:46 +02:00
Sébastien Helleu b74af1d2da core: split startup command before evaluating it (issue #1643) 2021-05-22 08:51:38 +02:00
Sébastien Helleu e350437c81 irc: split server command before evaluating it (issue #1643) 2021-05-22 08:48:24 +02:00
Sébastien Helleu 4065972000 core: fix tests when NLS is disabled 2021-05-21 13:51:47 +02:00
Giuseppe Bilotta 916f57f31d core: fix build error if ENABLE_NLS is OFF
wee-eval.c calls gettext directly, but gettext is not a function if
ENABLE_NLS is off. Fix by defining a gettext macro (that expands to its
first argument) if NLS support is disabled.
2021-05-21 13:22:05 +02:00
Sébastien Helleu badd231b82 core: add build without NLS in CI 2021-05-21 13:19:16 +02:00
Sébastien Helleu 2f2cf55f74 doc: format script with black 2021-05-20 20:07:36 +02:00
Nils Görs 5d4ee9e471 core: update German translations 2021-05-20 14:19:01 +02:00
Sébastien Helleu d09fe80fd1 core: merge two entries into one about GnuTLS options 2021-05-18 21:34:24 +02:00
Sébastien Helleu 447abad79e core: display old default values for options affected by XDG directories in release notes 2021-05-18 21:30:34 +02:00
Sébastien Helleu b43958ac92 irc: use constant GNUTLS_TLS1_3 only with GnuTLS >= 3.6.3
This constant was introduced in GnuTLS 3.6.3.

This fixes a build error on these old distributions:

- Debian Stretch
- Debian Jessie
- Ubuntu Bionic
- Ubuntu Xenial
2021-05-17 12:59:41 +02:00
Sébastien Helleu a071ee5012 tests: remove dependency on French locale in eval tests 2021-05-16 20:17:07 +02:00
Sébastien Helleu cf7ac76de9 tests: add missing include of locale.h in eval tests 2021-05-16 19:09:18 +02:00
Sébastien Helleu 215f12d859 tests: remove commented includes 2021-05-16 19:08:35 +02:00
Nils Görs 59d1811987 core: update German translations 2021-05-16 16:29:54 +02:00
Sébastien Helleu 89e43eaf40 core: set server name when connecting to server with TLS (SNI extension) only if it's not an IPV4/IPv6 (closes #1635) 2021-05-16 14:52:11 +02:00
Sébastien Helleu e03642e9df tests: add tests on translation in evaluated expressions 2021-05-16 14:09:07 +02:00
Sébastien Helleu 58c66474ce core: add contributor (issue #1609) 2021-05-16 13:50:19 +02:00
Emir Sarı 431b799b01 core: update Turkish translations (issue #1609) 2021-05-16 13:39:44 +02:00
Sébastien Helleu 4c25151f31 core: move build option CA_FILE in build section 2021-05-16 10:11:23 +02:00
Sébastien Helleu dd916d5e52 doc: update auto-generated files 2021-05-16 10:08:04 +02:00
Sébastien Helleu d18680e442 core: update ChangeLog (issue #1622) 2021-05-16 10:01:17 +02:00
Sébastien Helleu 92410e9949 irc: sort config options alphabetically (issue #1622) 2021-05-16 10:01:14 +02:00
Sébastien Helleu e6a3d08704 buflist, irc, xfer: do not translate "cleartext" in buffer local variable "tls_version" (issue #1622)
The text "cleartext" is translated for display only: directly with gettext in
IRC plugin and with "${translate:${tls_version}}" in the buflist evaluated
format.
2021-05-16 10:01:07 +02:00
Sébastien Helleu 5bce484c01 api: add translated string in evaluation of expressions with "translate:xxx" (issue #1622) 2021-05-16 10:01:03 +02:00
Sébastien Helleu 7e10038f4b core: update translations (issue #1622) 2021-05-16 10:00:57 +02:00
Andrew Potter 94c902adfc irc, buflist: add bar item "tls_version" with options for colors, add buflist format "${format_tls_version}" (issue #1622) 2021-05-16 10:00:30 +02:00
Nils Görs 670c5cd745 core: update German translations 2021-05-15 23:45:36 +02:00
Sébastien Helleu a7db77e253 core: remove obsolete translations 2021-05-15 16:53:14 +02:00
Sébastien Helleu 3102eccda2 core: fix French translation of /help fifo 2021-05-15 16:52:43 +02:00
Sébastien Helleu b714d3dc91 core: fix punctuation in German translation 2021-05-15 14:40:01 +02:00
Nils Görs 0d8aeee738 core: update German translations 2021-05-15 13:58:01 +02:00
Sébastien Helleu 9d96d5d450 doc: add missing names for anchors in scripting guide 2021-05-14 19:19:49 +02:00
Sébastien Helleu 168dbaf020 doc: add link to Python stub in scripting guide (issue #1377) 2021-05-14 19:19:45 +02:00
Sébastien Helleu 13cb870b9a core: add generator and Python stub file for WeeChat API (issue #1377) 2021-05-14 19:19:45 +02:00
Sébastien Helleu a5903e8020 doc: add type annotations in Python prototype (scripting guide) (issue #1377) 2021-05-13 20:24:59 +02:00
Sébastien Helleu fafe2c9d2e doc: add type annotations in Python prototypes (plugin API reference) (issue #1377) 2021-05-13 20:24:59 +02:00
Sébastien Helleu 3e122ed900 doc: add types of constants in scripting guide (issue #1377) 2021-05-13 15:47:21 +02:00
Sébastien Helleu 33767b22f3 doc: fix translations in Italian and Japanese plugin API reference 2021-05-13 09:57:50 +02:00
Sébastien Helleu 11b311ce2f core: add GnuTLS CA changes in release notes 2021-05-12 21:00:21 +02:00
Sébastien Helleu bbdeb51bc1 doc: add missing French translations in user's guide 2021-05-12 20:44:07 +02:00
Sébastien Helleu c588ee21bc core: improve options to load GnuTLS system/user CAs (closes #972)
Changes:

* new option: weechat.network.gnutls_ca_system
* option weechat.network.gnutls_ca_file renamed to
  weechat.network.gnutls_ca_user
* reload certificates when options are changed
* remove build option CA_FILE
2021-05-12 20:39:40 +02:00
Sébastien Helleu b7112e4090 core: add slack.py version in release notes 2021-05-11 22:41:13 +02:00
Sébastien Helleu be575e5400 core: update translations (issue #1285) 2021-05-11 21:39:46 +02:00
Sébastien Helleu 7f8f5f94e3 core: update ChangeLog (issue #1285) 2021-05-11 21:07:43 +02:00
Sébastien Helleu 6e528a1d62 core: add XDG directories in release notes (issue #1285) 2021-05-11 21:07:41 +02:00
Sébastien Helleu a9e210121b fifo: add PID in default FIFO pipe filename (issue #1285)
This is to prevent two WeeChat using the same runtime directory to use the same
FIFO pipe.
2021-05-11 21:07:39 +02:00
Sébastien Helleu 6925ea3ccb doc: add missing names for anchors in user's guide (issue #1285) 2021-05-11 21:07:36 +02:00
Sébastien Helleu 70cdf21681 doc: add XDG directories support in docs (issue #1285) 2021-05-11 21:07:30 +02:00
Sébastien Helleu 87d4ea9286 doc: remove tag "translation missing" in French user's guide (issue #1285) 2021-05-11 21:07:28 +02:00
Sébastien Helleu d9f5bce6ee doc: add file wee-dir.c in developer's guide (issue #1285) 2021-05-11 21:07:26 +02:00
Sébastien Helleu f71b4f78fd doc: add link to CMake option in environment variable WEECHAT_HOME (user's guide) (issue #1285) 2021-05-11 21:07:24 +02:00
Sébastien Helleu a3f8647a72 doc: change default value of WEECHAT_HOME CMake option to empty string (user's guide) (issue #1285) 2021-05-11 21:07:21 +02:00
Sébastien Helleu 664fb12db7 doc: remove wrong default value of option weechat.network.gnutls_ca_file (user's guide) (issue #1285) 2021-05-11 21:07:19 +02:00
Sébastien Helleu cb4c3b0226 doc: use XDG config directory in Relay SSL chapter (user's guide) (issue #1285) 2021-05-11 21:07:17 +02:00
Sébastien Helleu 7d75d82f6a doc: use XDG config directory in chapter on IRC server certificate (user's guide) (issue #1285) 2021-05-11 21:07:15 +02:00
Sébastien Helleu 49844a71f0 doc: use XDG config directory in SASL ECDSA-NIST256P-CHALLENGE chapter (user's guide) (issue #1285) 2021-05-11 21:07:11 +02:00
Sébastien Helleu 5210d501d4 doc: replace "%h" by "${weechat_config_dir}" in examples of values for IRC server option "ssl_cert" (user's guide) (issue #1285) 2021-05-11 21:07:09 +02:00
Sébastien Helleu 3833b965e4 doc: replace "%h" by "${weechat_config_dir}" in examples of values for IRC server option "sasl_key" (user's guide) (issue #1285) 2021-05-11 21:07:07 +02:00
Sébastien Helleu 703106a31f core: mention evaluation with string_eval_path_home for CMake/autotools option CA_FILE (issue #1285) 2021-05-11 21:07:04 +02:00
Sébastien Helleu 43ba8d3b73 xfer: remove "%h" from /help xfer.file.upload_path (issue #1285) 2021-05-11 21:07:02 +02:00
Sébastien Helleu 6170f97cd6 xfer: change default value of option xfer.file.download_path to "${weechat_data_dir}/xfer" (issue #1285) 2021-05-11 21:07:00 +02:00
Sébastien Helleu 19bf10647c script: change default value of option script.scripts.path to "${weechat_cache_dir}/script" (issue #1285) 2021-05-11 21:06:58 +02:00
Sébastien Helleu 4459119409 relay: change default value of option relay.network.ssl_cert_key to "${weechat_config_dir}/ssl/relay.pem" (issue #1285) 2021-05-11 21:06:56 +02:00
Sébastien Helleu 047a668275 relay: remove "%h" from help on UNIX socket path option (issue #1285) 2021-05-11 21:06:54 +02:00
Sébastien Helleu 36847bd305 relay: remove "%h" from /help relay (issue #1285) 2021-05-11 21:06:51 +02:00
Sébastien Helleu 005ef8a4a9 logger: change default value of option logger.file.path to "${weechat_data_dir}/logs" (issue #1285) 2021-05-11 21:06:49 +02:00
Sébastien Helleu 7e79145d46 fifo: change default value of option fifo.file.path to "${weechat_runtime_dir}/weechat_fifo" (issue #1285) 2021-05-11 21:06:46 +02:00
Sébastien Helleu d2c5bba356 core: change default value of option weechat.plugin.path to "${weechat_data_dir}/plugins" (issue #1285) 2021-05-11 21:06:42 +02:00
Sébastien Helleu 0f9640a5f3 core: split WeeChat home in 4 directories, use XDG directories by default (issue #1285)
The 4 directories (which can be the same):

- config: configuration files, certificates
- data: log/upgrade files, local plugins, scripts, xfer files
- cache: script repository, scripts downloaded (temporary location)
- runtime: FIFO pipe, relay UNIX sockets
2021-05-11 21:06:34 +02:00
Sébastien Helleu 4c5fcb743b core: move home directory functions from weechat.c to wee-dir.c (issue #1285) 2021-05-11 21:06:32 +02:00
Sébastien Helleu 269576eea2 core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285) 2021-05-11 21:06:29 +02:00
Sébastien Helleu 9eecad496d logger: remove unused variable weechat_dir (issue #1285) 2021-05-11 21:06:27 +02:00
Sébastien Helleu 5361722699 core: set WeeChat home to empty string by default in CMake and autotools (issue #1285) 2021-05-11 21:06:24 +02:00
Sébastien Helleu e07221d7c5 relay: evaluate option relay.network.ssl_cert_key (issue #1285) 2021-05-11 21:06:22 +02:00
Sébastien Helleu 39b629550b irc: evaluate options irc.server_default.ssl_cert and irc.server.xxx.ssl_cert (issue #1285) 2021-05-11 21:06:19 +02:00
Sébastien Helleu d7d594873b irc: evaluate options irc.server_default.sasl_key and irc.server.xxx.sasl_key (issue #1285) 2021-05-11 21:06:17 +02:00
Sébastien Helleu f923524a21 core: evaluate option weechat.plugin.path (issue #1285) 2021-05-11 21:06:13 +02:00
Sébastien Helleu e5d18e1221 core: evaluate option weechat.network.gnutls_ca_file (issue #1285) 2021-05-11 21:05:42 +02:00
Sébastien Helleu 9e7d052517 core: update ChangeLog (issue #1636) 2021-05-08 07:33:17 +02:00
Sébastien Helleu f3f3c54372 core: add detection of function mallinfo2 in autotools (issue #1636) 2021-05-08 07:33:12 +02:00
Andrew Potter b222e75019 core: Use mallinfo2() when available
mallinfo() is deprecated in glibc 2.33
2021-05-08 07:25:44 +02:00
Sébastien Helleu aa7860c942 doc: update German auto-generated file 2021-05-05 13:59:04 +02:00
Sébastien Helleu ed560a785a doc: fix list of supported OS in FAQ 2021-05-05 13:57:11 +02:00
Sébastien Helleu e95fdc3a0a core: display a warning when the file with certificate authorities is not found (option weechat.network.gnutls_ca_file) 2021-05-04 20:37:15 +02:00
Sébastien Helleu 9f0e7fb47e xfer: make file transfer fail when option xfer.file.auto_rename is off and file already exists (closes #1633) 2021-04-26 20:51:17 +02:00
Nils Görs bcd889cf90 doc: update German documentation 2021-04-21 07:53:47 +02:00
Sébastien Helleu 65ea67204c doc: translate changes in chapter on bar conditions (user's guide) 2021-04-18 12:08:11 +02:00
Tobias Rehbein 2c674a54d4 doc: Update weechat.bar.*.condition to use info:term_width
In cf93e953b the `weechat.bar.*.condition` examples have been changed to use
`${info:term_width}` instead of `${window.win_width}`. The user guide still
shows the old example. This commit syncs the user guide with the on-line help.
2021-04-18 12:00:29 +02:00
Nils Görs 2fbedfec1a doc: update German documentation 2021-04-18 09:58:09 +02:00
Sébastien Helleu 1181ac069e doc: add link to Archlinux wiki page about core dump files (user's guide) 2021-04-17 14:21:50 +02:00
Nils Görs 950c2bb898 core: update German translations 2021-04-13 11:44:40 +02:00
Sébastien Helleu 6b62456119 Revert "core: add option "-save" in command /upgrade (closes #1630)"
This reverts commit 1df1903d23.

This is not so easy to implement: it requires saving state of plugins, and
plugins like irc can not save the connected state (except in a real upgrade
case where the sockets are still valid after exec of the new binary).
2021-04-13 00:11:11 +02:00
Sébastien Helleu 1df1903d23 core: add option "-save" in command /upgrade (closes #1630) 2021-04-12 20:48:32 +02:00
Sébastien Helleu ae39b7ce61 tests: fix if/else blocks in trigger tests 2021-04-11 10:42:24 +02:00
Sébastien Helleu 044bcd0751 doc: improve display of WeeChat version in info_hashtable "irc_message_parse" (scripting guide) 2021-04-11 09:47:13 +02:00
Sébastien Helleu 5d30e0faac doc: mark info "python2_bin" as deprecated since version 2.6 (plugin API reference) 2021-04-11 09:31:49 +02:00
Sébastien Helleu e58c827c91 trigger: add tests on main trigger functions 2021-04-11 09:20:49 +02:00
Sébastien Helleu 1f0636bab6 irc: remove unused variable ptr_address and dead code 2021-04-10 14:11:11 +02:00
Sébastien Helleu 7bd23700de irc: remove dead assignment on variable pos_message 2021-04-10 13:26:46 +02:00
Sébastien Helleu 937ecb62c4 trigger: remove useless test 2021-04-10 12:21:16 +02:00
Sébastien Helleu 2e67b13edd trigger: check that option is not NULL in function trigger_search_with_option 2021-04-09 21:36:12 +02:00
Sébastien Helleu 7c5cbefd51 trigger: fix description of function trigger_name_valid 2021-04-08 20:56:37 +02:00
Sébastien Helleu b6b78df3d2 trigger: check that trigger is not NULL in functions trigger_rename and trigger_copy 2021-04-08 20:55:37 +02:00
Nils Görs 4da5647e9f doc: update German documentation 2021-04-07 12:38:35 +02:00
Sébastien Helleu fae9bdf8f8 trigger: add variables "${tg_shell_argc}" and "${tg_shell_argvN}" in command trigger evaluated strings (closes #1624) 2021-04-06 18:37:22 +02:00
Sébastien Helleu 3bf585ba04 core: evaluate left/right part of comparison after split on the comparison operator in ${if:xxx} (closes #1627)
To force evaluation of the expression before doing the comparison (less safe),
the "${eval_cond:xxx}" can be used.

With the old behavior we had:

    >> ${if:a==b}
    == [0]
    >> ${if:${raw:a==b}}
    == [0]
    >> ${if:${eval_cond:${raw:a==b}}}
    == [0]

And with the new behavior, we have:

    >> ${if:a==b}
    == [0]
    >> ${if:${raw:a==b}}
    == [1]
    >> ${if:${eval_cond:${raw:a==b}}}
    == [0]
2021-04-04 14:44:18 +02:00
Sébastien Helleu 1aefb0a546 doc: update German auto-generated file 2021-03-29 22:32:56 +02:00
Nils Görs efd5a8bd14 core: update German translations 2021-03-29 09:22:07 +02:00
Sébastien Helleu 4f606ceb64 buflist: improve help on option buflist.look.sort 2021-03-21 09:34:40 +01:00
Sébastien Helleu 027966e5e9 core: update ChangeLog (issue #1621) 2021-03-21 09:01:08 +01:00
Trygve Aaberge 6b23d855d8 buflist: Fix wrong pointers being used in hdata_compare
This used pointer1 and pointer2 which are pointers to the buffers, but
it should use ptr_hotlist1 and ptr_hotlist1 which are pointers to the
hotlists it is trying to compare.
2021-03-21 08:59:37 +01:00
Sébastien Helleu e8a58a27cd core: update ChangeLog (issue #1591, issue #1592) 2021-03-20 13:08:35 +01:00
Trygve Aaberge 472eab38e5 core: Prevent switching to start of visited buffers when jumping to next
If you run /input jump_next_visited_buffer right after switching to a
buffer, weechat changes to the first buffer in the visited buffers list.
That is, it wraps around and goes to the buffer you visited the longest
ago. This patch fixes that.

The reason it happens is that when you switch to a buffer (normally,
i.e. in another way than using jump_previously_visited_buffer/
jump_next_visited_buffer) gui_buffers_visited_index is set to -1 (in
gui_buffer_visited_add). This makes gui_buffer_visited_get_index_next
return 0 because it returns gui_buffers_visited_index + 1, which makes
gui_input_jump_next_visited_buffer jump to the first buffer in the list
of visited buffers.

Fixes #1591
2021-03-20 13:07:20 +01:00
Sébastien Helleu aa4beb99e8 doc: update German auto-generated file 2021-03-20 09:20:51 +01:00
Nils Görs 741c1b4e87 doc: update German documentation 2021-03-20 07:52:35 +01:00
Nils Görs a715403d60 core: update German translations 2021-03-20 06:36:19 +01:00
Sébastien Helleu 40ab0bb11e core: update ChangeLog 2021-03-19 23:27:00 +01:00
Sébastien Helleu 3b76a8dd82 core: add repository ppa:ondrej/php in CI 2021-03-19 07:12:23 +01:00
Sébastien Helleu bcddb06094 core: do not force build of JavaScript plugin in CI 2021-03-19 09:14:59 +01:00
Sébastien Helleu 611ea27edc tests: disable pylint error useless-object-inheritance 2021-03-19 09:14:59 +01:00
Sébastien Helleu bacd50c7a7 core: replace pylint3 by pylint in CI on Ubuntu 20.04 2021-03-19 09:14:59 +01:00
Sébastien Helleu da91ddef98 core: first remove package php7.4-common in CI on Ubuntu 20.04
See: https://github.com/actions/virtual-environments/issues/2859
2021-03-19 09:14:59 +01:00
Sébastien Helleu 692d313fe3 core: switch from Ubuntu 18.04 to 20.04 in CI 2021-03-19 09:14:59 +01:00
Sébastien Helleu 4d96a3a84d core: add pointer name in description of function eval_replace_vars_cb 2021-03-18 07:35:12 +01:00
Sébastien Helleu 0d5b7ae9d0 doc: update German auto-generated files 2021-03-17 21:58:18 +01:00
Sébastien Helleu 8ee7d46605 api: add support of pointer names in function string_eval_expression (direct and in hdata)
These two formats are now supported, if "pointer_name" is present in the
"pointers" hashtable:

* "${pointer_name}": value of pointer (example: "0x1234abcd")
* ${buffer[pointer_name].full_name}: use of a pointer name instead of pointer
  value or list name
2021-03-17 21:57:16 +01:00
Sébastien Helleu c54cadace5 tests: use macros UINT32_C and UINT64_C for integer constants of type uint32_t and uint64_t
This fixes the following compiler warnings: "integer constant is so large that
it is unsigned".
2021-03-17 21:56:43 +01:00
Nils Görs 84d9de798a core: update German translations 2021-03-17 14:16:16 +01:00
Sébastien Helleu e4ff17e162 doc: add section "plugin" in weechat.conf (user's guide) 2021-03-16 19:03:45 +01:00
Sébastien Helleu 0dc7fbcb0c core: add options to customize commands on system signals, quit by default on SIGHUP when not running headless (closes #1595)
New options to customize behavior on signals received, with the default
behavior:

- weechat.signal.sighup: quit in normal mode, reload config in headless
- weechat.signal.sigquit: quit
- weechat.signal.sigterm: quit
- weechat.signal.sigusr1: no command executed by default
- weechat.signal.sigusr2: no command executed by default

The signals SIGUSR1 and SIGUSR2 are introduced by this commit, so it's now
possible to run commands when they are received.

The SIGHUP signal makes now WeeChat quit, it was the behavior before version
2.9 of WeeChat (see commit de1e61f7cd).
2021-03-16 18:47:31 +01:00
Sébastien Helleu bb41de8c02 api: add info "weechat_daemon" 2021-03-14 14:11:06 +01:00
Sébastien Helleu a02a2fbaae doc: use full path /usr/bin/pass in example for option sec.crypt.passphrase_command 2021-03-14 13:38:50 +01:00
Sébastien Helleu e37f2569f9 core: mention /fset command in header comment of configuration files 2021-03-14 11:36:07 +01:00
Sébastien Helleu ab282db3a6 core: update ChangeLog (closes #1618) 2021-03-14 10:56:51 +01:00
Sébastien Helleu 8c793fe7cc fset: add fset bar on configuration reload (issue #1618) 2021-03-14 10:56:24 +01:00
Sébastien Helleu 35b5adbc4c buflist: always add buflist bar when plugin is loaded, hide bar by default if buflist is disabled (issue #1618) 2021-03-14 10:55:48 +01:00
Sébastien Helleu a4440ba8e5 buflist: add buflist bar on configuration reload (issue #1618) 2021-03-14 10:55:24 +01:00
Nils Görs 3bdae5b464 doc: update German documentation 2021-03-13 23:56:16 +01:00
Sébastien Helleu d2c56084f8 doc: add upgrade chapter in user's guide 2021-03-13 15:17:01 +01:00
Sébastien Helleu 5311c103d5 debian: update debian/ubuntu patches with new Standards-Version 2021-03-08 20:48:06 +01:00
Sébastien Helleu 39bd4e2099 debian: fix watch according to download page changes 2021-03-08 20:38:25 +01:00
Sébastien Helleu 35ca5cde9c debian: bump Standards-Version to 4.5.1 2021-03-08 20:37:43 +01:00
Sébastien Helleu c49255a851 core: add missing include of sys/time.h in C headers 2021-03-07 13:21:24 +01:00
Sébastien Helleu 2b1c2d6d05 Version 3.2-dev 2021-03-07 12:11:55 +01:00
Sébastien Helleu ae2f25109c Version 3.1 2021-03-07 11:54:55 +01:00
Sébastien Helleu 7dd7da1d7b core: reorder release notes for version 3.1 2021-03-07 09:45:06 +01:00
Sébastien Helleu 3983e9fa1e core: fix compilation of tests on FreeBSD 2021-03-07 09:33:06 +01:00
Sébastien Helleu 4307733853 debian: update changelog 2021-03-07 08:57:53 +01:00
Sébastien Helleu 4014c1140a doc: update Polish auto-generated files 2021-03-06 19:02:53 +01:00
Krzysztof Korościk 65a732449e doc: updated polish user guide 2021-03-06 18:49:12 +01:00
Krzysztof Korościk 4fd3c5e1d6 po: updated polish translation 2021-03-06 18:10:42 +01:00
Sébastien Helleu e9c8b8bf0f core: add contributor in AUTHORS.adoc (issue #1615) 2021-03-05 21:00:17 +01:00
Sébastien Helleu ca4d7b37c6 core: fix pt_BR translations 2021-03-05 20:51:43 +01:00
Érico Rolim 23a3096e1d core: update pt_BR translations. 2021-03-05 20:50:50 +01:00
Sébastien Helleu c17aeeba29 core: force Ubuntu 18.04 for CI 2021-03-05 20:45:31 +01:00
Sébastien Helleu c3cc06ff27 core: fix quoted line in cursor mode (closes #1602)
Regression was introduced in version 2.7 by commit
93d2dbf3e1.
2021-02-28 17:13:52 +01:00
Sébastien Helleu 3ca58c2fd9 Version 3.1-rc1 2021-02-28 12:06:49 +01:00
Sébastien Helleu 1862f4b3d2 core: add missing "xxx" in format of evaluated expressions (ChangeLog) 2021-02-28 12:03:47 +01:00
Nils Görs f06d434a0c Merge branch 'master' of https://github.com/weechat/weechat 2021-02-27 13:58:11 +01:00
Nils Görs 00d6183cd8 doc: update German documentation 2021-02-27 13:57:49 +01:00
Sébastien Helleu ceaf480ba7 core: fix paragraph in release notes 2021-02-27 13:49:55 +01:00
Sébastien Helleu 0f71b4ccc8 irc: add bar item "irc_nick_prefix" 2021-02-27 13:44:24 +01:00
Sébastien Helleu a811da3a42 doc: add missing available bar items (user's guide) 2021-02-27 12:56:09 +01:00
Sébastien Helleu 83379469aa irc: fix separator between nick and host in bar item "irc_nick_host"
Use "!" instead of "@" to separate nick from host, like it is done in IRC
protocol.

The nick and host is now displayed as "nick!user@host" instead of
"nick@user@host".
2021-02-27 09:02:09 +01:00
Sébastien Helleu 6a7da6d473 fset: fix description of function fset_bar_item_fset_cb 2021-02-27 08:57:32 +01:00
Sébastien Helleu 7b15742a11 doc: fix example of value for bar item "irc_nick_modes" (user's guide) 2021-02-26 18:45:21 +01:00
Sébastien Helleu 5339e6aa17 doc: update German auto-generated file 2021-02-26 18:41:14 +01:00
Nils Görs 2a31544242 core: update German translations 2021-02-26 14:02:42 +01:00
Sébastien Helleu 3d587ad37d core: add info_hashtable "secured_data" 2021-02-25 19:06:47 +01:00
Sébastien Helleu 5725c8561c doc: remove references to Savannah in developer's guide 2021-02-20 11:12:14 +01:00
Sébastien Helleu 49ac7dd9f5 doc: split dependencies in two tables: required and optional (user's guide) 2021-02-19 20:12:18 +01:00
Sébastien Helleu d10e8342d3 core: convert "totp" to upper case in ChangeLog 2021-02-16 07:47:42 +01:00
Sébastien Helleu 1a86036edb doc: update German auto-generated file 2021-02-11 07:16:11 +01:00
Sébastien Helleu ab47c1abf7 core: move line from "New features" to "Bug fixes" (issue #1612) 2021-02-11 07:12:55 +01:00
Nils Görs 69af1ac0ae core: update German translations 2021-02-10 08:10:06 +01:00
Sébastien Helleu b6a935b1c3 core: move line to appropriate version in ChangeLog 2021-02-10 07:56:43 +01:00
Sébastien Helleu 45c372ebc8 core: move line from "New features" to "Bug fixes" (issue #1613) 2021-02-09 20:42:58 +01:00
Sébastien Helleu 840551dcfa doc: update German auto-generated files 2021-02-09 20:37:35 +01:00
Sébastien Helleu 630fe0581f buflist: add option buflist.look.use_items to speed up display of buflist (closes #1613) 2021-02-09 20:34:56 +01:00
Sébastien Helleu d74f2e3183 core: add fixed behavior of command /window splitv in release notes 2021-02-09 20:19:22 +01:00
Sébastien Helleu 00409cba6a core: fix wrong size of the new window after vertical split (closes #1612) 2021-02-08 18:47:44 +01:00
Nils Görs 8a6a135b45 core: update German translations 2021-02-08 13:41:59 +01:00
Sébastien Helleu 47112a113e core: update help on option sec.crypt.passphrase_command, update translations 2021-02-08 13:12:54 +01:00
Sébastien Helleu d08e9aed1c core: update translations 2021-02-07 11:00:12 +01:00
Sébastien Helleu 1c3c8c92c7 core: update ChangeLog (closes #992, closes #993) 2021-02-07 09:52:15 +01:00
Kevin Pulo df12f8de34 core: add options weechat.look.hotlist_update_on_buffer_switch and weechat.look.read_marker_update_on_buffer_switch
Both default to "on" (no change to previous behavior).

If hotlist_update_on_buffer_switch is "off", then when switching away from a
buffer, the hotlist is not cleared.

If read_marker_update_on_buffer_switch is "off", then when switching away from
a buffer, the read marker is not set to the end of the buffer.

This allows users to choose to have fully manual control over when hotlist
counts and buffer read markers are reset.

Fixes #992.
2021-02-07 09:48:19 +01:00
Sébastien Helleu 84d4be1bee core: update ChangeLog (remove option sec.crypt.passphrase_file) 2021-02-06 16:20:11 +01:00
Sébastien Helleu f1c681c832 core: replace option sec.crypt.passphrase_file by sec.crypt.passphrase_command (closes #141)
The command is used to read the passphrase on startup, for example using your
favorite password manager.

Note: only the passphrase is read from the program, the secured data is still
stored encrypted in sec.conf and handled by WeeChat itself.
2021-02-06 16:07:14 +01:00
Sébastien Helleu fe9ec8fbda doc: update German auto-generated files 2021-02-05 20:08:18 +01:00
Sébastien Helleu a93e598c35 core: add raw string in evaluation of expressions with "raw:xxx" (closes #1611) 2021-02-05 20:07:16 +01:00
Nils Görs 64fe602aae core: update German translations 2021-02-05 10:56:49 +01:00
Sébastien Helleu a34959a619 irc: add info "irc_is_message_ignored" 2021-02-03 18:30:32 +01:00
Sébastien Helleu 42a86f0a36 core: add version 3.0.1 in ChangeLog, release notes and weechat.spec 2021-01-31 10:38:57 +01:00
Nils Görs a250a50ca5 core: update German translations 2021-01-31 10:32:26 +01:00
Nils Görs 8bdc58f32d core: update German translations 2021-01-31 09:32:26 +01:00
Sébastien Helleu 691c9a0a0f irc: add function irc_server_get_chantypes 2021-01-30 10:34:23 +01:00
Sébastien Helleu 0c98b0cfa4 irc: use server option "default_chantypes" as fallback in function irc_nick_is_nick 2021-01-30 09:59:04 +01:00
Sébastien Helleu ba892ee5a0 core: update translations 2021-01-30 09:55:02 +01:00
Sébastien Helleu a11c90ab70 core: add contributor in AUTHORS.adoc (issue #1610) 2021-01-30 09:34:30 +01:00
Sébastien Helleu 201979fa8d doc: update auto-generated files with options 2021-01-30 09:32:59 +01:00
Sébastien Helleu dd589cd141 irc: use server option "default_chantypes" as fallback when automatically adding channel type on join 2021-01-30 09:31:31 +01:00
Sébastien Helleu e305b4e960 core: update ChangeLog 2021-01-30 09:25:55 +01:00
Sébastien Helleu ec2ffedab6 irc: improve help on server option "default_chantypes" 2021-01-30 09:25:06 +01:00
Sébastien Helleu 293402143b irc: fix name of option "default_chantypes" in list of server options 2021-01-30 09:24:34 +01:00
Sébastien Helleu e74dd22707 irc: simplify code in function irc_channel_is_channel 2021-01-30 09:05:49 +01:00
Matti Virkkunen bad6dc8a57 irc: make default chantypes configurable 2021-01-30 01:01:51 +02:00
Nils Görs dc8df133ea doc: update German documentation 2021-01-27 07:48:05 +01:00
Sébastien Helleu d465ec2a39 doc: update Polish auto-generated files 2021-01-27 00:06:34 +01:00
Sébastien Helleu fd672a0fa4 doc: add a second note on default configuration files in user's guide 2021-01-27 00:04:30 +01:00
Sébastien Helleu 7b1b482cc7 core: add command "/buffer listvar" in release notes 2021-01-26 23:39:49 +01:00
Sébastien Helleu 7255fac60b core: add contributor in AUTHORS.adoc (issue #1607) 2021-01-16 13:35:54 +01:00
Sébastien Helleu bb6152d8a3 core: update ChangeLog 2021-01-16 13:20:14 +01:00
Jan Palus b142617cca doc: don't build headless man page if headless is disabled 2021-01-16 13:15:45 +01:00
Krzysztof Korościk 1c3cb4364d po: updated polish translation 2021-01-15 21:35:27 +01:00
Krzysztof Korościk c81eac325d doc: updated polish translation 2021-01-15 21:17:37 +01:00
Sébastien Helleu 25ed384418 doc: add missing non-breaking spaces before punctuation in French docs 2021-01-09 20:22:22 +01:00
Nils Görs 84b02c1296 core: update German translations 2021-01-05 09:15:43 +01:00
Sébastien Helleu efc7a588d6 core: update copyright dates 2021-01-02 21:34:16 +01:00
Sébastien Helleu df4b9170f1 irc: remove obsolete comment on translation 2021-01-02 15:22:02 +01:00
Sébastien Helleu b8acaf8a14 irc: fix ambiguity on translation of word "server"
This fixes the following warning:

/usr/bin/xgettext: warning: msgid 'server' is used without plural and with plural.
                            ./src/plugins/irc/irc-bar-item.c:136: Here is the occurrence without plural.
                            ./src/plugins/irc/irc.c:154: Here is the occurrence with plural.
                            Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation.
2021-01-02 15:18:26 +01:00
Sébastien Helleu 470e3ef9cf core: move debug_id assignation in macro EVAL_DEBUG_MSG 2021-01-02 14:43:40 +01:00
Sébastien Helleu 943374f789 doc: add note about call to "regfree" after call to "string_regcomp" (plugin API reference) 2021-01-01 18:10:47 +01:00
Sébastien Helleu d413ccdf4f core: add indentation and colors in /eval debug output 2021-01-01 17:08:59 +01:00
Sébastien Helleu 63ead3da49 doc: update German auto-generated file 2021-01-01 15:47:35 +01:00
Nils Görs 565837f75a core: update German translations 2021-01-01 11:21:57 +01:00
Sébastien Helleu 2ad3da03a2 core: display more verbose debug with two "-d" in command /eval
Now a single -d in command /eval shows less debug messages than previous
versions.

To get the same debug messages than previous versions, two -d must be used.
2020-12-31 20:37:43 +01:00
Sébastien Helleu 33c7b96146 core: fix typo in comment 2020-12-30 23:02:37 +01:00
Nils Görs 7b13bb5cf9 doc: update German documentation 2020-12-28 10:14:42 +01:00
Sébastien Helleu 9bc194c898 doc: update question about config files sharing (FAQ) 2020-12-28 00:17:05 +01:00
Sébastien Helleu 0942b04c52 doc: add info about sensitive data in relay.conf (user's guide) 2020-12-28 00:08:45 +01:00
Sébastien Helleu 2e3cef4c41 doc: update Polish auto-generated files 2020-12-27 21:56:10 +01:00
Krzysztof Korościk 05a9a7904c po: updated polish translation 2020-12-27 19:05:51 +01:00
Sébastien Helleu ee9aa28a8c core: do not remove quotes in arguments of command /eval (closes #1601)
Now, /eval -n -c "a" == "a" returns True instead of False.

When quotes were removed, the condition evaluated was: a" == "a (which is
False).
2020-12-25 00:21:03 +01:00
Sébastien Helleu a8abfcd7b4 doc: update German auto-generated files 2020-12-21 18:33:48 +01:00
Sébastien Helleu cc5c34d4dc doc: add missing parenthesis in user's guide 2020-12-21 18:31:08 +01:00
Nils Görs f9b4f4e7e6 doc: update German documentation 2020-12-21 13:40:39 +01:00
Nils Görs 18f9ba3c0c core: update German translations 2020-12-21 13:07:23 +01:00
Sébastien Helleu 09f57476d2 doc: add a chapter on buffer local variables (user's guide) 2020-12-19 21:23:16 +01:00
Sébastien Helleu 7e2396ade8 core: add options "setvar" and "delvar" in command /buffer, rename option "localvar" to "listvar"
The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still
recognized by WeeChat, to stay compatible with any extension/script calling
it (or referencing it in the documentation).

It is deprecated and will be removed in a future release.
2020-12-19 20:59:38 +01:00
Sébastien Helleu 1526f58d7a doc: replace "core" by "weechat" in table with extra info for bar item "buffer_nicklist" (plugin API reference) 2020-12-19 15:00:02 +01:00
Sébastien Helleu 0294b246f6 core: add buffer local variable "completion_default_template" (evaluated) (closes #1600)
When this local variable is set, it overrides the value of option
"weechat.completion.default_template".

It is evaluated, that means the global default template can be used to append
some custom completion. For example:

  /buffer set localvar_set_completion_default_template ${weechat.completion.default_template}|%(my_completion)
2020-12-19 14:25:13 +01:00
Sébastien Helleu e4152c3535 core: remove unneeded return of WEECHAT_RC_OK in filter command 2020-12-18 20:28:41 +01:00
Sébastien Helleu dc5277fe89 core: add option "recreate" in command /filter 2020-12-18 20:28:16 +01:00
Sébastien Helleu 73eabdbe80 doc: update German auto-generated file 2020-12-18 19:55:44 +01:00
Nils Görs 5e17f0039b core: update German translations 2020-12-17 11:05:15 +01:00
Sébastien Helleu 13e4af7b46 script: add status of scripts in output of command /script list in /help script 2020-12-15 20:41:13 +01:00
Nils Görs 1efcaa9752 doc: update German documentation 2020-12-13 11:55:38 +01:00
Sébastien Helleu b95e91e1a2 doc: add command to run WeeChat with address sanitizer (user's guide) 2020-12-13 11:01:04 +01:00
Nils Görs 3dea65aa05 doc: update German documentation 2020-12-07 08:59:07 +01:00
Sébastien Helleu a69cfbdb19 core: add contributor in AUTHORS.adoc (issue #1597) 2020-12-06 15:54:44 +01:00
Sébastien Helleu d01a98950a doc: update auto-generated files with commands 2020-12-06 15:51:12 +01:00
Sébastien Helleu ee25c74903 irc: fix completion of commands /halfop and /dehalfop 2020-12-06 15:48:55 +01:00
Sébastien Helleu cd7947d8fc irc: add missing parameter "-yes" in /help dehalfop 2020-12-06 15:47:52 +01:00
dotflac 4974c2f0a2 add -yes to output of /help voice
currently /help voice does not tell you that you need -yes if you are using *. i have changed it to match /help op, /help deop and /help devoice
2020-12-06 15:43:36 +01:00
Sébastien Helleu 33cdf3eb90 doc: add question about buflist customization 2020-12-06 15:13:55 +01:00
Sébastien Helleu 58a94df61d core: update ChangeLog 2020-12-05 19:57:53 +01:00
Sébastien Helleu 08ebc99dea Revert "exec: return NULL immediately if the task id is invalid"
This reverts commit dff1bf6f0f.
2020-12-05 19:57:24 +01:00
Sébastien Helleu 03f4afe65e Revert "core: add extra compiler options to check overflow of destination buffer and output truncation"
This reverts commit 4ff4a64209.

These compiler flags are not supported on old compiler version, for example on
Debian Stretch/Jessie and Ubuntu Xenial (16.04).
2020-11-29 11:05:38 +01:00
Tim Gates 08db4407ed docs: fix simple typo, confiuration -> configuration
There is a small typo in src/core/weechat.c.

Should read `configuration` rather than `confiuration`.
2020-11-28 09:46:23 +01:00
Sébastien Helleu 4ff4a64209 core: add extra compiler options to check overflow of destination buffer and output truncation 2020-11-28 09:43:57 +01:00
Sébastien Helleu 21aef706cd core: allocate dynamic string size for colors 2020-11-23 21:25:41 +01:00
Sébastien Helleu 345bdddf62 script: increase buffer size in function script_buffer_detail_label
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 15:00:19 +01:00
Sébastien Helleu d1cad18f01 core: increase buffer size in function plugin_api_info_uptime_cb
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 14:59:06 +01:00
Sébastien Helleu a8dd0e1337 core: increase buffer size in function gui_bar_item_time_cb
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 14:56:55 +01:00
Sébastien Helleu 070eb3f7b0 core: increase buffer size in HTTP proxy connection
In case of long address/username/password, the HTTP CONNECT message could be
truncated.
2020-11-21 21:13:13 +01:00
Sébastien Helleu 194f8b5b74 core: increase command buffer size in /color command
In case of long alias name, the command to set color alias could be truncated.
2020-11-21 21:13:05 +01:00
Sébastien Helleu ee24fac586 spell: fix crash with IRC color codes in command line (closes #1589) 2020-11-20 21:50:05 +01:00
Sébastien Helleu a2266e4e3f core: add missing cast to unsigned char on first argument to function isdigit 2020-11-19 22:20:48 +01:00
Sébastien Helleu 214f4f66d9 doc: update German auto-generated file 2020-11-18 22:58:32 +01:00
Nils Görs 14e66962c8 core: update German translations 2020-11-18 09:44:17 +01:00
Sébastien Helleu 5cbda03fca core: fix and normalize error messages 2020-11-17 21:54:24 +01:00
Sébastien Helleu 21eadc9488 core: display an error when the buffer is not found with command /command -buffer 2020-11-17 13:43:20 +01:00
Sébastien Helleu 6fda5a7e5f core: remove option to open a blank issue 2020-11-16 22:58:17 +01:00
Sébastien Helleu b9c8569422 trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings (closes #1580)
${tg_trigger_name} is replaced by the trigger name in these command strings:

- description
- arguments
- description of arguments
- completion
2020-11-14 09:32:24 +01:00
Sébastien Helleu b626df72fb core: add evaluation of conditions in evaluation of expressions with "eval_cond:" (closes #1582) 2020-11-14 09:28:46 +01:00
Sébastien Helleu eb90a73fe8 spell: fix refresh of bar item "spell_suggest" when the input becomes empty (closes #1586)
When the input is empty, length of string is zero: when sending zero to
function weechat_string_dyn_alloc, the function returns NULL and therefore we
return immediately instead of handling the empty input, which is a valid value.

The regression was introduced by the use of dynamic strings, commit:
299f74bfef
2020-11-13 21:30:06 +01:00
Sébastien Helleu 4065d32e68 Version 3.1-dev 2020-11-11 09:30:24 +01:00
Sébastien Helleu 72936fd3be Version 3.0 2020-11-11 08:46:53 +01:00
Sébastien Helleu 3da91d702e debian: update changelog 2020-11-10 18:32:26 +01:00
Sébastien Helleu 43d9b3a723 Version 3.0-rc1 2020-11-01 10:09:17 +01:00
Nils Görs 5beb5d7052 doc: update German documentation 2020-10-30 12:55:53 +01:00
Sébastien Helleu 0ff08e54f5 trigger: add variable "tg_argc" in data set by command trigger (closes #1576) 2020-10-21 19:10:37 +02:00
Sébastien Helleu 30e48336f4 irc: remove SASL timeout message displayed by error after successful SASL authentication (closes #1515)
The SASL timer is removed immediately when the SASL authentication is
successful or has failed.
2020-10-18 09:35:04 +02:00
Sébastien Helleu 2807a8374b doc: update German auto-generated file 2020-10-16 21:15:43 +02:00
Nils Görs da934d9818 core: update German translations 2020-10-16 16:38:50 +02:00
Sébastien Helleu 939b16230c script: allow command /script list when option script.scripts.download_enabled is set to off (closes #1574) 2020-10-15 20:38:43 +02:00
Trygve Aaberge c3707bb6e1 doc: Update hotlist example to match hotlist_prefix
hotlist_prefix defaults to "H: ", so the example should show the same to
make it easier to understand what it is.
2020-10-15 13:46:27 +02:00
Sébastien Helleu fa46a2fe2d exec: add option "-oerr" to send stderr to buffer (now disabled by default) (closes #1566) 2020-10-11 16:33:50 +02:00
Sébastien Helleu 4d696d7cc8 exec: add missing option "-oc" in /help exec 2020-10-11 15:55:40 +02:00
Sébastien Helleu c8f2ebcea3 core: add terminal and terminal multiplexer in GitHub issue template 2020-10-11 08:52:54 +02:00
Sébastien Helleu 72fdd689a2 core: update ChangeLog (issue #1567) 2020-10-10 13:36:26 +02:00
Sébastien Helleu 2384dbe193 trigger: add a function to set variables common to all triggers (issue #1567) 2020-10-10 13:32:36 +02:00
Sébastien Helleu fd72226a71 doc: translate tg_trigger_name variable under triggers (issue #1567) 2020-10-10 13:22:49 +02:00
Simmo Saan 765d2dd277 doc: add tg_trigger_name variable under triggers (issue #1567) 2020-10-10 10:13:42 +03:00
Simmo Saan 8c87b7a1f0 trigger: add tg_trigger_name variable to all triggers (closes #1567) 2020-10-10 10:13:42 +03:00
Sébastien Helleu 07565a4aa6 doc: update German auto-generated file 2020-10-07 20:32:51 +02:00
Nils Görs 79f71a0e1a core: update German translations 2020-10-05 12:22:21 +02:00
Sébastien Helleu c016e7ea87 core: use apt-get option --no-install-recommends instead of modifying config file /etc/apt/apt.conf 2020-10-04 19:11:39 +02:00
Sébastien Helleu bb82dbc0ec tests: add missing braces around if/else in macro WEE_NICK_STRDUP_FOR_COLOR (issue #1565) 2020-10-04 08:53:08 +02:00
Sébastien Helleu f8403c76db api: add optional list of colors in infos "nick_color" and "nick_color_name" (closes #1565) 2020-10-04 08:46:36 +02:00
Sébastien Helleu 657e659c42 core: add argument "num_colors" in function gui_nick_hash_color, add tests on nick functions (issue #1565)
Functions tested:

- gui_nick_hash_djb2_64
- gui_nick_hash_djb2_32
- gui_nick_hash_sum_64
- gui_nick_hash_sum_32
- gui_nick_get_forced_color
- gui_nick_strdup_for_color
- gui_nick_find_color
- gui_nick_find_color_name
2020-10-04 08:46:25 +02:00
Sébastien Helleu 1c5e5824e7 tests: run callback when resetting options in tests 2020-10-03 14:40:59 +02:00
Sébastien Helleu b32f561f77 irc: fix again typo in English plural form of "normal" 2020-09-12 18:49:42 +02:00
Sébastien Helleu 1745b78b57 irc: fix typo in English plural form of "normal" (normals -> normal) 2020-09-12 18:08:13 +02:00
Sébastien Helleu 7ce5dce8f9 doc: update German auto-generated file 2020-09-12 17:22:19 +02:00
Nils Görs 8544d9ef0b core: update German translations 2020-09-08 13:15:31 +02:00
Sébastien Helleu 3c987f3a1c script: add option script.scripts.download_enabled (closes #1548) 2020-09-06 19:15:15 +02:00
Sébastien Helleu 9ccf62979f script: do not automatically download list of scripts on startup if the file is too old (closes #1548)
The repository file is downloaded anyway if too old on any /script action.
2020-09-02 19:22:56 +02:00
Sébastien Helleu 579af1b265 tests: fix compilation with CppUTest ≥ 4.0
MemoryLeakWarningPlugin::turnOnNewDeleteOverloads is replaced by
MemoryLeakWarningPlugin::turnOnThreadSafeNewDeleteOverloads, which is available
in both CppUTest 3.x and 4.0.
2020-08-29 10:18:50 +02:00
Sébastien Helleu 54b7c88553 spell: also skip IRC color attributes codes when checking words in input (issue #1547) 2020-08-28 18:32:50 +02:00
Sébastien Helleu aac14f28dd irc: add comments in functions irc_color_decode and irc_color_encode 2020-08-25 19:37:47 +02:00
Sébastien Helleu e25c364790 spell: skip IRC color codes when checking words in input (closes #1547) 2020-08-25 19:37:42 +02:00
Sébastien Helleu 299f74bfef spell: use dynamic string functions to return modified string 2020-08-24 22:12:45 +02:00
Sébastien Helleu cfd221014c api: add argument "bytes" in function string_dyn_concat 2020-08-23 23:27:57 +02:00
Sébastien Helleu b459dab84b spell: properly skip WeeChat color codes when checking words in input (closes #1547) 2020-08-22 08:56:21 +02:00
Sébastien Helleu 268aa631c6 api: add function string_color_code_size (issue #1547) 2020-08-22 08:55:16 +02:00
Sébastien Helleu 7dd5abd625 fset: fix refresh of option values in fset buffer (issue #1553) 2020-08-20 20:31:07 +02:00
Sébastien Helleu d53fb92a30 irc: replace calls to malloc by calloc
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
2020-08-17 20:06:17 +02:00
Sébastien Helleu fbc2438c1c core: replace calls to malloc by calloc
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
2020-08-17 19:57:10 +02:00
Sébastien Helleu fca5a4b42c core: set notify_level to 3 if highlight is forced in gui_line_hook_update (only if tag "notify_none" is not in the line) (issue #1529) 2020-08-16 12:40:41 +02:00
Sébastien Helleu 330d7d50d2 core: set notify_level to 3 in case of highlight in gui_line_hook_update only if tag "notify_none" is not in the line (issue #1529) 2020-08-16 12:40:01 +02:00
Sébastien Helleu 786072806b core: set notify_level to 3 in case of highlight only if tag "notify_none" is not in the line (issue #1529) 2020-08-16 08:27:00 +02:00
Sébastien Helleu d15db0ecbb core: set "notify_level" to 3 if there is a highlight in the line (closes #1529) 2020-08-15 14:02:40 +02:00
Sébastien Helleu 45ce1d7604 doc: update German auto-generated file 2020-08-13 08:38:45 +02:00
Nils Görs 0e1a59cbef core: update German translations 2020-08-11 18:47:46 +02:00
Sébastien Helleu 1054cdf1e9 fset: add option fset.look.auto_refresh (closes #1553) 2020-08-09 10:56:03 +02:00
Sébastien Helleu 0cc5df6649 irc: send all channels in a single JOIN command when reconnecting to the server (closes #1551) 2020-08-05 20:05:36 +02:00
Sébastien Helleu 36c55f6973 tests: fix name of some unit tests 2020-08-05 07:28:30 +02:00
Sébastien Helleu 00c34b0ba8 core: replace "unit" by module for changes in unit tests 2020-08-05 07:22:38 +02:00
Sébastien Helleu 8cf56dfdf9 tests: add tests on GUI line functions
Functions tested:

- gui_line_lines_alloc
- gui_line_lines_free
- gui_line_tags_alloc
- gui_line_tags_free
- gui_line_is_displayed
- gui_line_has_tag_no_filter
- gui_line_search_tag_starting_with
- gui_line_get_nick_tag
2020-08-04 23:42:20 +02:00
Sébastien Helleu 0ab44c02a4 core: check that line is not NULL in functions gui_line_is_displayed and gui_line_get_nick_tag 2020-08-04 23:12:18 +02:00
Sébastien Helleu 6704825d7b core: check that line_data is not NULL in functions gui_line_tags_alloc and gui_line_has_tag_no_filter 2020-08-04 22:56:02 +02:00
Sébastien Helleu ec898732a1 core: rename functions to allocate/free lines 2020-08-04 22:42:59 +02:00
Sébastien Helleu 9262720a65 doc: add instructions to build WeeChat with address sanitizer (user's guide) 2020-08-01 09:53:47 +02:00
Sébastien Helleu 26085575d5 core: disable debug by default in autotools build 2020-08-01 01:41:40 +02:00
Sébastien Helleu 7412f5815c trigger: fix recursive calls to triggers using regex (closes #1546) 2020-07-31 20:50:33 +02:00
Sébastien Helleu 00e25af470 doc: update German auto-generated file 2020-07-21 18:28:38 +02:00
Nils Görs 6fc40fb8d4 core: update German translations 2020-07-21 11:36:35 +02:00
Sébastien Helleu 3e6c8b6a88 core: update ChangeLog (issue #1535, issue #1538) 2020-07-21 08:29:03 +02:00
Sébastien Helleu c002c5f77f doc: add "irc_nick" in hashtable sent to hook_focus callback (plugin API reference) (issue #1538) 2020-07-21 08:28:01 +02:00
Simmo Saan b69e47d0a2 irc: add pointer "irc_nick" in hashtable sent to hook focus callback (closes #1535) 2020-07-21 08:18:43 +02:00
Sébastien Helleu 84e30438d4 irc: allow to send text on buffers with commands /allchan, /allpv and /allserv 2020-07-20 22:39:28 +02:00
Sébastien Helleu ee3a4a1fc0 irc: evaluate command executed by commands /allchan, /allpv and /allserv (closes #1536)
The extra variables are now replaced (in addition to `$server`, `$channel` and
`$nick`):

- `${irc_server.xxx}`: variable xxx in server
- `${irc_channel.xxx}`: variable xxx in channel
2020-07-20 22:20:22 +02:00
Sébastien Helleu 5bf571c60f doc: improve description of tags "notify_xxx" in chapter on lines tags (user's guide) (issue #1529) 2020-07-20 21:48:20 +02:00
Sébastien Helleu e0e905ca7f trigger: check that tag "notify_none" is not present in message to run command of default trigger beep (issue #1529) 2020-07-20 21:08:59 +02:00
Sébastien Helleu 2b16036f08 core: do not add line with highlight and tag "notify_none" to hotlist (closes #1529) 2020-07-20 09:26:36 +02:00
Sébastien Helleu 9ef793fd65 Version 3.0-dev 2020-07-18 14:27:37 +02:00
Sébastien Helleu c096750e96 Version 2.9 2020-07-18 13:59:02 +02:00
Sébastien Helleu 0ebed7e7b0 doc: replace wildcard command by list of included files in Makefile.am files
This fixes the `make distcheck` command.
2020-07-11 12:23:14 +02:00
Sébastien Helleu cef0a77ace core: add contributor in AUTHORS.adoc (issue #1537) 2020-07-07 20:29:03 +02:00
Sébastien Helleu 19e98e7599 core: update ChangeLog (issue #1537) 2020-07-07 20:27:57 +02:00
Marco Sirabella ab7104e34c Add $weechat_sharedir/python for global python package import
Related: #1461

Some scripts (eg weechat-matrix) ship directories that need to be
imported from the script.

Rather than globally installing the python packages to python's
`site-packages` the directories can be installed alongside the script in
`WEECHAT_SHAREDIR/python`.

This change adds that directory to the `$PYTHONPATH` to import
successfully.
2020-07-07 20:26:17 +02:00
Sébastien Helleu af03f8ab50 Version 2.9-rc1 2020-07-05 23:27:57 +02:00
Sébastien Helleu dfcf1f0398 doc: update German auto-generated file 2020-07-04 17:32:55 +02:00
Nils Görs d75e747dff core: update German translations 2020-07-04 14:10:30 +02:00
Sébastien Helleu bde4b30021 doc: fix description of "_chat_bol" and "_chat_eol" in function hook_focus (plugin API reference) 2020-06-30 21:01:11 +02:00
Sébastien Helleu 9510301f46 doc: harmonize example of pointers in plugin API reference and relay protocol 2020-06-30 20:54:31 +02:00
Sébastien Helleu b17e1bcf89 api: add pointer "_bar_window" in hashtable sent to hook focus callback (closes #1450) 2020-06-30 20:16:19 +02:00
Sébastien Helleu c868a4d3f8 doc: fix typo (relay protocol) 2020-06-29 22:08:00 +02:00
Sébastien Helleu ee91d38965 doc: fix flake8 errors in docgen.py 2020-06-28 10:26:04 +02:00
Sébastien Helleu acfb5a7638 relay: add missing field "notify_level" in message "_buffer_line_added" (issue #1529) 2020-06-26 08:03:15 +02:00
Sébastien Helleu b0ecbdbf1d core: add bar option "color_bg_inactive" (issue #732) 2020-06-21 18:59:54 +02:00
Sébastien Helleu 5b151d1639 irc: check that the first nick char is not a prefix char or chantype in function irc_nick_is_nick 2020-06-21 10:22:37 +02:00
Sébastien Helleu 4a42cda3a5 irc: change default chantypes from "#&+!" to "#&"
The default chantypes was conflicting with
irc_server_prefix_chars_default ("@+").
2020-06-21 10:22:04 +02:00
Sébastien Helleu 9446610452 tests: add test of function irc_nick_is_nick with invalid UTF-8 string 2020-06-20 17:44:48 +02:00
Sébastien Helleu 12051a506d irc: add support of UTF8MAPPING, add support of optional server in info "irc_is_nick" (closes #1528) 2020-06-20 17:28:28 +02:00
Sébastien Helleu bf964de939 tests: add tests on IRC function irc_channel_is_channel 2020-06-20 12:04:40 +02:00
Sébastien Helleu 2a60a25443 irc: return NULL in info "irc_is_channel" if arguments is NULL or empty string 2020-06-20 10:04:40 +02:00
Sébastien Helleu 86cb2d4256 doc: update German auto-generated file 2020-06-17 23:35:05 +02:00
Nils Görs 2dc3676af5 core: update German translations 2020-06-16 18:34:40 +02:00
Sébastien Helleu e41eeaf203 tests: add tests on IRC command ACCOUNT with colon before the account name 2020-06-16 08:07:55 +02:00
Sébastien Helleu eba9c31da0 irc: fix display of ACCOUNT message when the account name is ":*" (closes #1526) 2020-06-15 23:03:58 +02:00
Sébastien Helleu d0ae0fea49 irc: skip semicolon before account name in ACCOUNT message 2020-06-15 07:12:06 +02:00
Sébastien Helleu 340d6646a6 javascript: disable build by default and remove Debian packaging of JavaScript plugin (issue #360) 2020-06-13 14:34:13 +02:00
Sébastien Helleu 99a324b76f buflist: add "window" pointer in bar item evaluation only if it's not NULL (if bar type is "window") 2020-06-10 20:39:07 +02:00
Sébastien Helleu fad07d1ff2 core: update ChangeLog (issue #1514) 2020-06-07 11:10:06 +02:00
Sébastien Helleu 5034798e7a core: add contributor in AUTHORS.adoc (issue #1514) 2020-06-07 11:08:33 +02:00
Sébastien Helleu 08a00739f2 guile: fix compiler warning (issue #1514) 2020-06-07 11:07:48 +02:00
Joram Schrijver 297a140bea guile: fix memory leak in output port 2020-06-07 11:07:03 +02:00
Joram Schrijver cb5d90dcc7 guile: re-enable "/guile eval" (issue #1098)
With the output port now properly implemented for Guile >= 2.2, this
command works again.
2020-06-07 11:07:03 +02:00
Joram Schrijver cac45aab46 guile: fix printing of output to buffer (issue #1098)
The support for Guile 2.2 did not implement the custom port correctly,
and did not configure it to be the default output port. This caused
output from Guile to be printed straight to the TTY, breaking the
WeeChat interface.

Note that the port is unbuffered, so that code like

    (display "test")

immediately results in output, without an explicit call to force-output.
2020-06-07 11:07:03 +02:00
Sébastien Helleu e784a994b5 api: fix use of pointer after free in function key_unbind 2020-06-07 09:11:24 +02:00
Sébastien Helleu f52c706ee0 doc: remove tag "translation missing" in French plugin API reference 2020-06-06 08:59:25 +02:00
Sébastien Helleu 52b4f07414 doc: add URL to the Debian download page in user's guide 2020-06-06 08:54:15 +02:00
Sébastien Helleu 196a4e28aa irc: fix add of ignore with flags in regex, display full ignore mask in list of ignores (closes #1518) 2020-06-04 08:05:57 +02:00
Sébastien Helleu f41b17563f doc: update auto-generated files (issue #1250) 2020-06-03 08:00:24 +02:00
Sébastien Helleu 207642a3ec core: update translations (issue #1250) 2020-06-03 07:59:04 +02:00
Sébastien Helleu e80bf16d4a core: update ChangeLog (issue #1250) 2020-06-03 07:59:04 +02:00
Max Teufel 0027c23b7e irc: display account messages in buffers 2020-06-03 07:59:04 +02:00
Sébastien Helleu 1f2d90b643 core: update ChangeLog (issue #1517) 2020-06-02 23:33:27 +02:00
Sébastien Helleu 41cd8a438f core: add contributor in AUTHORS.adoc (issue #1517) 2020-06-02 23:32:19 +02:00
Christian Duerr c35e31cad2 Add Alacritty title escape sequence support 2020-06-02 23:27:51 +02:00
Sébastien Helleu 1dacb2de7f doc: add missing p-path pointer in hdata example (relay protocol) 2020-06-01 23:18:44 +02:00
Sébastien Helleu 03724423da doc: fix example of NULL pointer (relay protocol) 2020-06-01 23:18:16 +02:00
Sébastien Helleu 8818fbb233 tests: fix memory leak in test of function string_hex_dump 2020-05-31 14:51:41 +02:00
Sébastien Helleu 527aa3c563 doc: use a single line for some object examples (relay protocol) 2020-05-30 09:46:48 +02:00
Nils Görs e6e7339a69 doc: update German documentation 2020-05-29 15:41:24 +02:00
Sébastien Helleu b56843de87 doc: mention callback argument "callback_pointer" in differences with C API (scripting guide) 2020-05-27 22:26:31 +02:00
Sébastien Helleu c4832737e9 core: add CI with GitHub Actions, move codecov.io upload to GitHub Actions 2020-05-22 19:04:12 +02:00
Sébastien Helleu a43b0f074c doc: update German auto-generated files 2020-05-22 18:17:51 +02:00
Nils Görs a86c447972 core: update German translations 2020-05-22 17:34:12 +02:00
Sébastien Helleu 7f02e1804b doc: add missing "id" in commands input, sync, desync, ping and quit (relay protocol) 2020-05-21 10:49:41 +02:00
Sébastien Helleu aaa49d3188 tests: add tests on function string_input_for_buffer with custom command chars 2020-05-21 10:06:51 +02:00
Sébastien Helleu f4913d0a6b tests: add tests on function string_is_command_char with custom command chars 2020-05-21 10:06:42 +02:00
Sébastien Helleu 99b13aa671 tests: add test on function string_base64_decode with truncated base64 string 2020-05-21 09:56:35 +02:00
Sébastien Helleu a997893cfe tests: add test on function string_base16_decode with a char >= 0xA0 2020-05-21 09:55:40 +02:00
Sébastien Helleu 66d4590dab core: add base 16/32/64 encoding/decoding in evaluation of expressions 2020-05-21 09:36:35 +02:00
Sébastien Helleu 1994d5641d core: move functions string_base_encode and string_base_decode from plugin-api.c to wee-string.c 2020-05-21 00:02:24 +02:00
Sébastien Helleu 0ac936a5cf core: return -1 in case of error in functions string_base16_decode and string_base64_decode 2020-05-21 00:01:35 +02:00
Sébastien Helleu 8f308ea918 core: split function eval_replace_vars_cb into multiple functions 2020-05-20 00:04:45 +02:00
Sébastien Helleu 4a67c4a1ab irc: do not remove spaces at the end of users messages received (closes #1513)
The regression was introduced in version 2.5 by commit
2b70d71aa1.
2020-05-19 20:12:27 +02:00
Sébastien Helleu d1d3be6fd5 doc: add missing non-breaking spaces before colons and semicolons in French docs 2020-05-18 23:50:03 +02:00
Sébastien Helleu 62ccee9505 tests: run tests on plugins only if the plugins are enabled and compiled 2020-05-17 15:29:06 +02:00
Sébastien Helleu a489fa6eb4 core: update ChangeLog (issue #592) 2020-05-17 09:49:43 +02:00
Sébastien Helleu 0aa9f7de64 trigger: add (void) before calls to trigger_callback_execute when the returned value is ignored 2020-05-17 09:48:07 +02:00
Simmo Saan b14cf0ac3d trigger: only return trigger's return code when condition evaluates to true 2020-05-17 09:46:10 +02:00
Sébastien Helleu 8f6cc60a3f core: update ChangeLog (issue #1509) 2020-05-16 19:58:48 +02:00
Trygve Aaberge 40b5cf7ab0 Fix /window scroll_beyond_end when buffer has fewer lines than terminal height 2020-05-16 19:56:27 +02:00
Sébastien Helleu f500c972dd core: update translations (closes #1245, closes #1257) 2020-05-16 14:40:19 +02:00
Sébastien Helleu aa86d82796 core: rename info_hashtable "gui_focus_info" to "focus_info" (issue #1257) 2020-05-16 14:23:18 +02:00
Sébastien Helleu a3747fefcd core: move creation of info_hashtable from gui-focus.c to plugin-api-info.c (issue #1257) 2020-05-16 14:23:09 +02:00
Simmo Saan a5b851826e gui: make key optional in gui_focus_to_hashtable 2020-05-16 14:23:09 +02:00
Simmo Saan 3f0c6ac96b gui: add gui_focus_info hashtable info (#1245) 2020-05-16 14:23:09 +02:00
Sébastien Helleu 5e5e1c0cd7 core: update ChangeLog (issue #1505) 2020-05-16 13:41:11 +02:00
Sébastien Helleu dba94f0c5d core: add color in /buffer output for notification level, update translations (issue #1505) 2020-05-16 13:40:08 +02:00
Trygve Aaberge d2f49755c7 core: Allow displaying notify level with /buffer notify 2020-05-16 13:35:36 +02:00
Sébastien Helleu 1d357533b9 core: add bar items with nicklist groups and nicks/groups (closes #1506)
The bar item "buffer_nicklist_count" is now the number of displayed nicks
only (not groups).

New bar items:

- "buffer_nicklist_count_groups": number of groups displayed
- "buffer_nicklist_count_all": number of nicks and groups displayed
2020-05-16 11:27:41 +02:00
Sébastien Helleu 45a9ba3e9e doc: add missing arguments in "info" command (English and Japanese relay protocol) 2020-05-16 10:55:38 +02:00
Sébastien Helleu 40a14b4574 core: force buffer property "time_for_each_line" to 0 for buffers with free content (closes #1485) 2020-05-14 18:21:42 +02:00
Sébastien Helleu 4f4f32b9ed relay: increase default limits for IRC backlog options
Default value is changed for the following options:

* relay.irc.backlog_max_minutes: from 1440 to 0 (unlimited)
* relay.irc.backlog_max_number: from 256 to 1024
2020-05-12 18:56:40 +02:00
Nils Görs 2c303d1698 doc: update German documentation 2020-05-10 15:02:35 +02:00
Sébastien Helleu ec1b381521 core: set default size for input bar to 0 (automatic) (issue #1498) 2020-05-10 10:43:07 +02:00
Sébastien Helleu b2d1f37782 core: add default key alt-enter to insert a newline (issue #1498) 2020-05-10 10:39:57 +02:00
Sébastien Helleu 1c269e9a81 core: don't collapse consecutive newlines in lines displayed before the first buffer is created 2020-05-10 10:29:01 +02:00
Sébastien Helleu 8712e557d6 core: update ChangeLog ((issue #1500) 2020-05-10 10:08:57 +02:00
Trygve Aaberge d5e7cb2487 core: Don't remove consecutive newlines when pasting
Relates to #1498
2020-05-10 10:07:53 +02:00
Trygve Aaberge 1e2a8c4682 core: Don't collapse consecutive newlines in bar content
This allows blank lines to be displayed in the input bar when you input
multiple consecutive newlines.

Relates to #1498
2020-05-10 10:07:53 +02:00
Trygve Aaberge 867e07aa18 core: properly display newlines in input for all buffers
Supporting multiple lines in the input bar is useful even for buffers
without input_multiline set, because it enables you to compose multiple
lines at once, even if it is sent as multiple messages. It is
particularly useful when you paste multiple lines and want to edit some
of it before you send the message.
2020-05-10 00:10:38 +02:00
Sébastien Helleu 09f4f98ad9 core: update ChangeLog (issue #1497) 2020-05-09 19:43:24 +02:00
Simmo Saan 517c4c2903 irc: fix realname delimiter color in WHO/WHOX response 2020-05-09 19:31:34 +02:00
Sébastien Helleu f987e445ec core: properly display newlines in input when multiline is enabled in buffer (issue #984, issue #1063) 2020-05-09 18:23:33 +02:00
Trygve Aaberge 63714855d3 core: add an option for multiline input in a buffer (closes #984)
This allows the input callback function for a buffer to receive multiple
lines at once, instead of the message being split on newline before
being sent to the callback. It adds a new flag, input_multiline, to
control this. This flag defaults to 0 which is the current behavior.
2020-05-09 18:07:36 +02:00
Sébastien Helleu 30afb3debe core: add contributor in AUTHORS.adoc (issue #1456) 2020-05-09 15:29:47 +02:00
Sébastien Helleu 2c5a26b882 core: update ChangeLog (issue #1454, issue #1456) 2020-05-09 15:28:50 +02:00
Sébastien Helleu 1ed82fb93f core: remove top/left shadow in WeeChat logo (issue #1454, issue #1456) 2020-05-09 15:28:27 +02:00
Shun Sakai 702cc21810 Regenerate icons
- Inkscape SVG icon -> plain SVG icon
- regenerate PNG icons from SVG icon
2020-05-09 15:16:18 +02:00
Shun Sakai 4c71d4903e Add Inkscape SVG format icon 2020-05-09 15:16:18 +02:00
Sébastien Helleu 72dbae0d43 core: add note about triggers and argument "modifier_data" of weechat_print modifier callback 2020-05-09 10:22:33 +02:00
Sébastien Helleu 3505324096 api: use buffer pointer in argument "modifier_data" sent to weechat_print modifier callback (closes #42) 2020-05-09 10:08:18 +02:00
Sébastien Helleu 7f1aeae5fb core: update GnuTLS section in release notes 2020-05-08 20:01:15 +02:00
Sébastien Helleu 7aed668468 doc: update German auto-generated file 2020-05-08 19:59:07 +02:00
Nils Görs f3d5b06e48 core: update German translations 2020-05-08 19:38:00 +02:00
Sébastien Helleu 4c050b343d irc: reuse a buffer with wrong type "channel" when a private message is received (closes #869) 2020-05-08 13:27:20 +02:00
Sébastien Helleu 88bef0b1b1 core: rename functions hook_completion_{get_string|list_add} to completion_{get_string|list_add}
Old functions are kept for compatibility reasons.
2020-05-08 10:51:30 +02:00
Sébastien Helleu b7765ed960 trigger: fix truncated trigger command with commands /trigger input|output|recreate 2020-05-07 08:19:31 +02:00
Sébastien Helleu b1c3a29ac7 core: add include comparison operators in evaluation of expressions
New comparison operators:

- "==*": is matching mask, case sensitive (wildcard "*" is allowed)
- "!!*": is NOT matching mask, case sensitive (wildcard "*" is allowed)
- "==-": is included, case sensitive
- "!!-": is NOT included, case sensitive
- "=-": is included, case insensitive
- "!-": is NOT included, case insensitive
2020-05-05 20:43:45 +02:00
Sébastien Helleu 8df8d20f81 tests: replace compiler by different env lines (Travis CI) 2020-05-03 23:24:39 +02:00
Sébastien Helleu 162efe1f1b tests: switch to Ubuntu Bionic, use pylint3 to lint Python scripts (Travis CI) 2020-05-03 23:24:39 +02:00
Sébastien Helleu 2b05b64cc1 tests: fix pylint errors 2020-05-03 20:22:21 +02:00
Sébastien Helleu dff1bf6f0f exec: return NULL immediately if the task id is invalid 2020-05-03 16:33:02 +02:00
Sébastien Helleu 5438f62f74 exec: fix use of same task id for different tasks (closes #1491) 2020-05-03 16:07:11 +02:00
Sébastien Helleu df26301d03 doc: fix pylint errors 2020-05-03 14:48:25 +02:00
Sébastien Helleu 0cc76fbe72 core: update ChangeLog 2020-05-03 14:14:16 +02:00
Sébastien Helleu 6e3ffab2ef doc: remove extra separator lines in auto-generated files 2020-05-03 14:12:21 +02:00
Sébastien Helleu 505a91c600 doc: merge 53 autogen files into 11 files, move them to includes directory 2020-05-03 14:05:18 +02:00
Sébastien Helleu 7bcb8ff0d8 core: disable pylint of script docgen.py (Travis CI) 2020-05-03 11:55:13 +02:00
Sébastien Helleu c910b431f8 Revert "core: use pylint3 to lint Python scripts (Travis CI)"
This reverts commit 03ec80f7d3.
2020-05-03 11:54:25 +02:00
Sébastien Helleu 03ec80f7d3 core: use pylint3 to lint Python scripts (Travis CI) 2020-05-03 11:46:13 +02:00
Sébastien Helleu 15735b6cba doc: drop Python 2 support in script docgen.py
The script now requires Python 3.6+.
2020-05-02 17:23:31 +02:00
Sébastien Helleu 2c76343bda doc: fix path of cmdline_options.XX.adoc and man.XX.adoc (developer's guide) 2020-05-02 15:20:40 +02:00
Sébastien Helleu 6c93d1d711 doc: move files cmdline_options.xx.adoc and man.xx.adoc into "includes" directory 2020-05-02 15:13:13 +02:00
Sébastien Helleu 2ff18a8d46 doc: merge files man_*.xx.adoc into a single file man.xx.adoc 2020-05-02 14:48:10 +02:00
Sébastien Helleu 9e8cdd5e40 doc: merge files cmdline_options_debug.xx.adoc into cmdline_options.xx.adoc 2020-05-02 14:18:43 +02:00
Sébastien Helleu 71aa3dd451 doc: add missing key "compression" in handshake responses (relay protocol) 2020-05-02 12:50:49 +02:00
Sébastien Helleu 7699c0b757 relay: add "compression" in response to handshake command (weechat protocol)
The value can be "zlib" (default in relay) or "off".
2020-05-02 12:45:47 +02:00
Sébastien Helleu 46a2979aa1 doc: add examples of command responses in relay protocol 2020-05-02 12:28:14 +02:00
Sébastien Helleu 5b4d690ed7 relay: fix slow send of data to clients when SSL is enabled 2020-05-01 18:52:08 +02:00
Sébastien Helleu b3478fa712 doc: improve indenting in examples (relay protocol) 2020-04-29 19:12:58 +02:00
Sébastien Helleu 8353959e9a doc: update German auto-generated files 2020-04-29 19:12:40 +02:00
Nils Görs b3dc2a662f core: update German translations 2020-04-29 09:24:05 +02:00
Sébastien Helleu 909a976cee core: update translations 2020-04-28 16:40:41 +02:00
Sébastien Helleu 8c9eeb7fd4 core: update ChangeLog (issue #713) 2020-04-28 16:38:32 +02:00
Quentin Glidic f697a5b295 fifo: Open the fifo for writing too
That will make it survive, avoiding the need to reopen it.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-04-28 16:37:39 +02:00
Sébastien Helleu b6cc42cbf7 relay: add command "completion" in weechat relay protocol (closes #1484) 2020-04-28 11:15:30 +02:00
Sébastien Helleu f2507a68a7 core: remove obsolete comment
The completion context can be "GUI_COMPLETION_NULL" if there's no base word
found (for example empty input).
2020-04-28 10:53:49 +02:00
Sébastien Helleu d1a427b67f api: return integer in function gui_completion_search (issue #1484) 2020-04-28 10:46:49 +02:00
Sébastien Helleu 2bd8e91b54 api: add hdata "completion_word" (issue #1484) 2020-04-27 22:18:03 +02:00
Sébastien Helleu d3020976d5 api: add functions completion_new, completion_search and completion_free (issue #1484) 2020-04-27 22:15:42 +02:00
Sébastien Helleu 0f1cee08bf relay: fix error message for an invalid buffer received in a command (weechat protocol) 2020-04-26 23:41:31 +02:00
Sébastien Helleu 6f22b82a7c debian: add patch to build on Ubuntu Groovy 2020-04-26 23:16:53 +02:00
Sébastien Helleu f3b9eb979d doc: protect monospace text with plus characters (relay protocol) 2020-04-25 00:29:31 +02:00
Sébastien Helleu fbb188d323 doc: protect monospace text with plus characters (plugin API reference) 2020-04-25 00:27:33 +02:00
Sébastien Helleu bac0af7494 doc: protect monospace text with plus characters (FAQ) 2020-04-25 00:20:09 +02:00
Sébastien Helleu e12925dc58 doc: protect monospace text with plus characters (scripting guide) 2020-04-25 00:12:51 +02:00
Sébastien Helleu 01eedd4565 doc: protect monospace text with plus characters (user's guide) 2020-04-24 23:53:13 +02:00
Sébastien Helleu 442f6a3bff doc: fix markup error in function hdata_update (plugin API reference) 2020-04-24 22:49:34 +02:00
Sébastien Helleu 33ea747040 core: add default key alt-shift-N to toggle nicklist bar 2020-04-24 22:45:07 +02:00
Sébastien Helleu 0abd0292da buflist: add default key alt-shift-B to toggle buflist 2020-04-24 22:44:13 +02:00
Sébastien Helleu 916c22a3d0 buflist: add options enable/disable/toggle in command /buflist 2020-04-24 22:39:44 +02:00
Sébastien Helleu 6e18f31cb2 core: translate log message when the signal SIGHUP is received 2020-04-21 22:39:51 +02:00
Sébastien Helleu 100440c8a1 core: restore signal "signal_sighup", and if eaten do not reload configuration 2020-04-21 22:34:42 +02:00
Tom Fitzhenry de1e61f7cd core: reload config on SIGHUP
fixes https://github.com/weechat/weechat/issues/1476
2020-04-22 01:25:08 +10:00
Sébastien Helleu 60b75f4677 tests: add tests on functions relay_auth_password_hash_algo_search and relay_auth_generate_nonce 2020-04-20 07:16:08 +02:00
Nils Görs 8ac9336d2a core: update German translations 2020-04-19 12:06:31 +02:00
Sébastien Helleu 5a16a2b49c core: add contributor in AUTHORS.adoc (issue #1477) 2020-04-19 11:34:42 +02:00
Sébastien Helleu 0b994d718d core: add command line option "--stdout" in weechat-headless binary (closes #1475, closes #1477) 2020-04-19 11:28:39 +02:00
Tom Fitzhenry 18a837c55b core: log to stdout, if headless
Fixes https://github.com/weechat/weechat/issues/1475 .
2020-04-19 11:05:22 +02:00
Sébastien Helleu d38701f99f tests: reduce number of iterations in PBKDF2 tests from 100000 to 1000
This speeds up tests by about 30%.
2020-04-19 10:56:25 +02:00
Sébastien Helleu bfe22fc66a tests: remove obsolete file test-relay-weechat-protocol.cpp 2020-04-19 10:56:11 +02:00
Sébastien Helleu 3d8607e34c core: disable build with obsolete autotools option "--disable-gnutls" (Travis CI) 2020-04-19 10:31:09 +02:00
Sébastien Helleu 862cf34ba7 doc: fix asciidoctor options in autotools build 2020-04-18 21:52:50 +02:00
Sébastien Helleu 350227419e doc: fix table sizes on small screens 2020-04-18 20:38:52 +02:00
Sébastien Helleu 3133ea9e79 doc: prevent lines from wrapping in <pre> elements 2020-04-18 20:37:54 +02:00
Sébastien Helleu b847a052c8 doc: update default trigger cmd_pass in user's guide 2020-04-18 15:43:38 +02:00
Sébastien Helleu 0d126c44dd trigger: do not hide values of options with /set command in cmd_pass trigger 2020-04-18 15:38:45 +02:00
Sébastien Helleu 5394ca6e10 doc: update auto-generated files with relay options 2020-04-18 11:35:27 +02:00
Sébastien Helleu e130ee7358 core: make GnuTLS a required dependency 2020-04-18 11:34:59 +02:00
Sébastien Helleu 80693dcea9 relay: move variable nonce in relay client structure 2020-04-18 09:30:51 +02:00
Sébastien Helleu 95b2d686a2 relay: allow only one handshake in weechat protocol 2020-04-18 00:33:15 +02:00
Sébastien Helleu 970c99961c relay: immediately close connection if the handshake failed (weechat protocol) 2020-04-18 00:08:11 +02:00
Sébastien Helleu 242c378290 doc: fix examples of handshake command (relay protocol) 2020-04-17 23:41:12 +02:00
Sébastien Helleu 95c908e83c relay: rename configuration options and keywords in handshake command (weechat protocol)
Configuration options renamed:

* relay.network.auth_password -> relay.network.password_hash_algo
* relay.network.hash_iterations -> relay.network.password_hash_iterations

Handshake command options renamed:

* password -> password_hash_algo

Handshake reply keys renamed:

* auth_password -> password_hash_algo
* hash_iterations -> password_hash_iterations
2020-04-17 23:34:27 +02:00
Sébastien Helleu 86a941e28e doc: use real nonce values in handshake/init examples (relay protocol) 2020-04-17 22:02:43 +02:00
Sébastien Helleu 94c6233100 doc: add missing "(id)" in commands handshake and init (relay protocol) 2020-04-17 21:25:37 +02:00
Sébastien Helleu 853a91d870 doc: replace "safest" by "most secure" (relay protocol) 2020-04-17 21:21:25 +02:00
Sébastien Helleu a5770a224a doc: add example of option "compression" in command "handshake" (relay protocol) 2020-04-17 21:06:21 +02:00
Sébastien Helleu 4f2b2700bc doc: update German auto-generated files 2020-04-17 20:59:36 +02:00
Sébastien Helleu de2c91609c doc: fix examples of password hashes in commands handshake and init (relay protocol) 2020-04-17 10:01:00 +02:00
Nils Görs c9f540e229 core: update German translations 2020-04-17 00:45:34 +02:00
Sébastien Helleu 4cc557f421 relay: fix "id" sent in response to handshake command (weechat protocol) 2020-04-16 10:27:37 +02:00
Sébastien Helleu 8560b09dad relay: add missing gcrypt lib in CMake and autotools files
This fixes build on Cygwin.
2020-04-15 22:50:27 +02:00
Sébastien Helleu 0c7d7c3fdc doc: revert arrows chars in relay protocol 2020-04-14 22:16:48 +02:00
Sébastien Helleu 9fa3609c85 relay: add command "handshake" in weechat relay protocol and nonce to prevent replay attacks (closes #1474)
This introduces a new command called "handshake" in the weechat relay protocol.
It should be sent by the client before the "init" command, to negotiate the way
to authenticate with a password.

3 new options are added:

* relay.network.auth_password
* relay.network.hash_iterations
* relay.network.nonce_size
2020-04-14 21:38:12 +02:00
Sébastien Helleu ccd45e4921 relay: update message displayed when the client is connected/authenticated 2020-04-12 20:24:39 +02:00
Sébastien Helleu 6d99f5da45 core: move line from "Bug fixes" to "New features" (issue #1358) 2020-04-12 19:42:58 +02:00
Sébastien Helleu b947512c9a relay: add option relay.network.auth_timeout 2020-04-12 19:36:12 +02:00
Sébastien Helleu fb6fc22c74 relay: add a function to send outqueue to the client 2020-04-12 19:25:21 +02:00
Sébastien Helleu 9f55f90bbf relay: update default colors for client status
Colors changed:

* relay.color.status_active: lightblue -> green
* relay.color.status_auth_failed: lightred -> lightmagenta
* relay.color.status_connecting: yellow -> white
* relay.color.status_waiting_auth: brown -> yellow

The color relay.color.status_disconnected remains lightred by default.
2020-04-12 18:02:27 +02:00
Sébastien Helleu 7ddc815726 relay: actually use the client status "waiting_auth" in irc and weechat protocols (closes #1358)
Now the status "waiting_auth" is used and displayed in the relay buffer.

When a client connects, there are now 2 messages (except for irc protocol if
there's no password required):

relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth)
relay: client 1/weechat/1.2.3.4 authenticated

If the authentication fails, the messages are:

relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth)
=!= relay: authentication failed with client 1/weechat/1.2.3.4
2020-04-12 17:46:46 +02:00
Sébastien Helleu 07505bb53c relay: add comments in truct t_relay_weechat_data 2020-04-12 15:35:03 +02:00
Sébastien Helleu b781dd92fb core: update ChangeLog (issue #1461) 2020-04-12 10:19:01 +02:00
Sébastien Helleu b907f6b643 core: fix indentation 2020-04-12 10:17:03 +02:00
Eli Schwartz 973a4b2e77 cmake: fix bugged WEECHAT_SHAREDIR definition exposed by DATAROOTDIR rename
configure.ac defines this to /usr/share/weechat, which means scripts can
load from this directory as a fallback for $HOME/.weechat/, but cmake
defines this instead as /usr/share, which means system-installed
fallback scripts would need to be installed to /usr/share/python/foo.py
instead, and that's completely insane!

Fix this discrepancy by creating a cmake define specifically for
WEECHAT_SHAREDIR based on the datarootdir, just like autotools does it.
2020-04-12 10:16:41 +02:00
Eli Schwartz 683464626d cmake: rename internal variable SHAREDIR to DATAROOTDIR
This is how other build systems (e.g. autotools) see the variable, and
cmake's own GNUInstallDirs defines the same. It more clearly describes
what this setting does vs. the ambiguous "sharedir".
2020-04-12 10:16:41 +02:00
Sébastien Helleu 8bdd540df7 trigger: evaluate arguments of command when the trigger is created (closes #1472) 2020-04-12 09:30:56 +02:00
Sébastien Helleu c9329f6fb1 core: add contributor in AUTHORS.adoc (issue #1460) 2020-04-11 09:51:10 +02:00
Sébastien Helleu 28ef93905b core: update ChangeLog (issue #1460) 2020-04-11 09:50:38 +02:00
Sébastien Helleu aa4a0bb272 core: remove file cmake/FindPackageHandleStandardArgs.cmake from top Makefile.am (issue #1460) 2020-04-11 09:50:33 +02:00
Danilo Spinella 62b61cef07 cmake: removed vendored FindPackageHandleStandardArgs 2020-04-11 09:48:20 +02:00
Sébastien Helleu 7fbd4c1079 tests: add missing include of locale.h
This fixes build of tests on FreeBSD.
2020-04-11 00:01:31 +02:00
Sébastien Helleu 9afe63b77a tests: fix name of tests 2020-04-10 23:43:27 +02:00
Sébastien Helleu 007fd03bc8 tests: add tests on calc functions
Functions tested:

- calc_operator_precedence
- calc_pop_value
- calc_list_free_cb
- calc_operation
- calc_operation_stacks
2020-04-08 21:38:51 +02:00
Sébastien Helleu a693125c81 tests: add missing include of stdio.h (issue #1469) 2020-04-07 22:20:11 +02:00
Sébastien Helleu d78ac827e9 core: fix memory leak in calculation of expression on FreeBSD (closes #1469)
The memory leak was caused by a bug in function setlocale on FreeBSD:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243195

The fix is the following:

* Remove the calls to setlocale when formatting the result.
* The function snprintf is still called, and then is now locale dependent,
  for example in French the decimal separator is a comma instead of a dot.
* A new function calc_sanitize_decimal_number is introduced to "sanitize" a
  decimal number: keep only the decimal separator (replace it by a dot) and
  remove any other separator found.

Unit tests are added on these functions:

* calc_sanitize_decimal_number
* calc_format_result
2020-04-07 21:37:48 +02:00
Sébastien Helleu e998417f5c core: fix resize of a bar when its size is 0 (automatic) (closes #1470) 2020-04-07 19:00:33 +02:00
Sébastien Helleu fdd39c6b97 buflist: evaluate option buflist.look.sort (closes #1465)
The evaluation allows to use different sort for the bar items, for example with
such value:

    ${if:${bar_item.name}==buflist?number:short_name}

This sorts by number on the first bar item and by short name on the two other
bar items.
2020-04-06 20:49:17 +02:00
Sébastien Helleu a072d769fd doc: update Polish auto-generated files 2020-04-05 19:59:22 +02:00
Krzysztof Korościk b50f100dbb doc: update polish translation 2020-04-05 19:34:41 +02:00
Krzysztof Korościk e4892ff6f4 po: update polish translation 2020-04-05 13:45:24 +02:00
Sébastien Helleu 62fc851d81 doc: fix broken literal blocks in Japanese docs with Firefox (closes #1466) 2020-04-05 12:25:39 +02:00
Sébastien Helleu fae149b361 python: fix crash when invalid UTF-8 string is in a WeeChat hashtable converted to a Python dict (closes #1463) 2020-04-04 18:10:02 +02:00
Sébastien Helleu e4bd582a97 doc: update German auto-generated file 2020-04-03 20:56:07 +02:00
Nils Görs 7322561ccc core: update German translations 2020-04-03 20:04:48 +02:00
Sébastien Helleu 2f8fd4c0ef fset: fix help on options fset.format.option1 and fset.format.option2 2020-04-02 20:38:37 +02:00
Sébastien Helleu c59f812c74 tests: add tests on function irc_protocol_cb_353 with option irc.look.color_nicks_in_names set to on 2020-03-31 21:16:09 +02:00
Sébastien Helleu eb7b12f0da tests: add tests on IRC color functions
Functions tested:

- irc_color_convert_rgb2irc
- irc_color_convert_term2irc
- irc_color_for_tags
- irc_color_modifier_cb
- irc_color_weechat_add_to_infolist
2020-03-30 20:58:16 +02:00
Sébastien Helleu 052d4d1fc0 tests: add test with remapped color in function irc_color_decode 2020-03-30 20:55:43 +02:00
Sébastien Helleu 4481b93d35 irc: add missing modifier "irc_color_decode_ansi" in comment on function irc_color_modifier_cb 2020-03-30 07:31:11 +02:00
Sébastien Helleu 1098e157c9 core: remove directory usr/share/applications/ from cygport file 2020-03-29 11:55:20 +02:00
Sébastien Helleu 1ec6fd1116 Version 2.9-dev 2020-03-29 09:58:29 +02:00
Sébastien Helleu 7d5dc53cd9 Version 2.8 2020-03-29 09:39:36 +02:00
Sébastien Helleu e086bc44f5 core: add version 2.7.1 in weechat.spec 2020-03-29 09:30:35 +02:00
Sébastien Helleu 8738196b68 tests: add tests on remaining IRC protocol functions and callbacks 2020-03-28 16:06:45 +01:00
Sébastien Helleu f072eb8d78 tests: add tests on function irc_protocol_get_message_tags 2020-03-28 13:40:39 +01:00
Sébastien Helleu 03ffd396a4 irc: move functions irc_protocol_get_message_tags and irc_protocol_parse_time before protocol callbacks 2020-03-28 13:39:48 +01:00
Sébastien Helleu 2efad93220 irc: remove empty lines 2020-03-28 10:36:10 +01:00
Sébastien Helleu 349251feb1 irc: fix typo in description of message 001 2020-03-27 22:51:15 +01:00
Sébastien Helleu 0834286843 irc: add examples of NOTICE and PRIVMSG messages to channel ops 2020-03-27 22:50:52 +01:00
Sébastien Helleu 4245641767 tests: add tests on function irc_protocol_cb_ping 2020-03-26 23:05:34 +01:00
Nils Görs 359253f610 doc: update German documentation 2020-03-26 11:09:12 +01:00
Sébastien Helleu b82a887f2a tests: add tests on function irc_protocol_cb_part 2020-03-25 20:48:54 +01:00
Sébastien Helleu cecbad1803 tests: add test with no arguments for AWAY command 2020-03-24 16:58:11 +01:00
Sébastien Helleu 9fac350b3f tests: add tests on IRC protocol functions with not enough arguments 2020-03-24 16:56:57 +01:00
Sébastien Helleu fa931b46eb core: fix compiler warnings on Cygwin 2020-03-23 07:23:08 +01:00
Sébastien Helleu e6723bb5a8 doc: add question about configuration for a small terminal size in FAQ 2020-03-22 19:23:37 +01:00
Sébastien Helleu dcebdd6a55 doc: fix font size in literal blocks 2020-03-22 19:10:25 +01:00
Sébastien Helleu 186a465575 doc: update German auto-generated file 2020-03-22 14:25:44 +01:00
Nils Görs c6c485df43 core: update German translations 2020-03-22 14:09:43 +01:00
Sébastien Helleu d8f57628b7 Version 2.8-rc1 2020-03-22 11:10:15 +01:00
Sébastien Helleu d2f3e98f37 core: fix C++ compiler flags with autotools 2020-03-22 11:09:27 +01:00
Sébastien Helleu 8a9b6c1554 php: add detection of PHP 7.4 in autotools
Support of PHP 7.4 was added for CMake (in commit
72b107a970) but was still missing in autotools.
2020-03-22 10:58:09 +01:00
Sébastien Helleu 5ca64fc389 ruby: fix compiler warning on third argument of function weechat_ruby_hash_foreach_cb 2020-03-22 10:29:53 +01:00
Sébastien Helleu c14d5ba004 irc: use larger buffer for message in function irc_message_split_authenticate, just in case 2020-03-21 14:31:53 +01:00
Sébastien Helleu 4480c7b7cc irc: split AUTHENTICATE message in 400-byte chunks (closes #1459) 2020-03-21 14:28:53 +01:00
Sébastien Helleu bf42a1ebc5 irc: replace "char *" by "const char *" in arguments of split functions 2020-03-21 14:27:47 +01:00
Sébastien Helleu c29b45a0f2 api: add info "auto_connect" (closes #1453) 2020-03-20 20:42:05 +01:00
Sébastien Helleu c05cb595dc doc: add note about call to "free" on result of info_get (plugin API reference) 2020-03-20 07:08:14 +01:00
Sébastien Helleu 5c1dfcbe5b tests: add tests on functions irc_protocol_cb_mode and irc_protocol_cb_nick 2020-03-19 23:01:59 +01:00
Sébastien Helleu b45d461c3a tests: add tests on functions irc_protocol_cb_kick and irc_protocol_cb_kill 2020-03-18 22:27:15 +01:00
Sébastien Helleu a709dd05a6 tests: add tests on function irc_protocol_cb_join 2020-03-17 20:54:07 +01:00
Sébastien Helleu 332a4adc26 tests: add tests on function irc_protocol_cb_chghost 2020-03-16 20:49:50 +01:00
Sébastien Helleu f33cfc89a0 doc: update German auto-generated file 2020-03-15 07:20:57 +01:00
Sébastien Helleu e3ffe8c785 irc: set channel modes to NULL instead of "+" when no modes are remaining 2020-03-15 07:19:16 +01:00
Sébastien Helleu 851d1fb00a tests: rename function run_cmd_server to server_recv 2020-03-15 07:19:16 +01:00
Sébastien Helleu 4033c55fa2 irc: add another example of MODE message 2020-03-15 07:19:16 +01:00
Sébastien Helleu 00913de02f irc: remove unused variable "modes" from function irc_bar_item_buffer_name_content 2020-03-15 07:19:16 +01:00
Nils Görs 042c8fb02f core: update German translations 2020-03-14 21:20:12 +01:00
Sébastien Helleu aa3941fee2 tests: always run callback in calls to function config_file_option_set 2020-03-13 23:12:22 +01:00
Sébastien Helleu ba70173a2e irc: fix variable name in function irc_server_connect when GnuTLS is disabled 2020-03-12 07:35:04 +01:00
Sébastien Helleu 9545d37ab0 tests: add tests on IRC protocol functions and some callbacks
Functions tested:

* irc_protocol_is_numeric_command
* irc_protocol_log_level_for_command
* irc_protocol_tags
* irc_protocol_nick_address
* irc_protocol_cb_account
* irc_protocol_cb_away
* irc_protocol_cb_001
* irc_protocol_cb_005
2020-03-11 20:53:49 +01:00
Sébastien Helleu 5f94636b91 irc: rename argument in function irc_protocol_is_numeric_command 2020-03-10 19:19:38 +01:00
Sébastien Helleu 2fe27584ff irc: return 0 in function irc_protocol_is_numeric_command if the command is NULL or empty 2020-03-10 19:15:59 +01:00
Sébastien Helleu 8a5046f0a1 irc: add support of fake servers (no I/O, for testing purposes) 2020-03-09 21:09:55 +01:00
Sébastien Helleu 3590302183 irc: copy temporary server flag in command /server copy 2020-03-08 13:56:30 +01:00
Sébastien Helleu dcd10657b1 tests: add tests on functions weecrypto_totp_generate and weecrypto_totp_validate 2020-03-05 22:21:48 +01:00
Sébastien Helleu dabf32f213 tests: add tests on functions weecrypto_hash and weecrypto_hash_pbkdf2 with NULL hash 2020-03-04 08:24:46 +01:00
Sébastien Helleu c48815673d core: update ChangeLog (issue #1455) 2020-03-03 21:51:03 +01:00
Sébastien Helleu 91fe8da039 core: add detection of Ruby 2.7 in autotools 2020-03-03 21:50:17 +01:00
Lucas Kanashiro 60e86f929d core: add detection for Ruby 2.7 2020-03-03 21:49:32 +01:00
Sébastien Helleu 4afaacd34e tests: add tests on function weecrypto_get_hash_algo 2020-03-03 21:29:44 +01:00
Sébastien Helleu 7af8e6c652 core: add minimum libgcypt version 1.7.0 for SHA3 algorithms in comment of function weecrypto_hash 2020-03-02 22:57:44 +01:00
Sébastien Helleu 8ffe9be8a7 core: fix ChangeLog entry 2020-03-02 22:57:44 +01:00
Sébastien Helleu 3604abba7d core: fix copyright date in wee-crypto sources 2020-03-02 22:57:39 +01:00
Sébastien Helleu 2d7829b2d5 core: require libgcrypt >= 1.7.0 for SHA3 algorithms 2020-03-02 21:49:30 +01:00
Sébastien Helleu c6757f642f tests: fix generation of test scripts with Python 3.8 2020-03-02 21:39:27 +01:00
Sébastien Helleu dc7f1e81fb core: add CVE ids in ChangeLog 2020-03-02 20:42:26 +01:00
Sébastien Helleu 2d2b49bfaa relay: accept hash of password in init command with option "password_hash"
Allowed algorithms are:

* PBKDF2 (SHA256 or SHA512, salt, iterations)
* SHA256
* SHA512
2020-03-02 00:46:10 +01:00
Sébastien Helleu 1882686f8a script: rename variable length_hash to hash_size 2020-03-01 23:14:55 +01:00
Sébastien Helleu 0271eacbe5 relay: rename variable length_hash to hash_size 2020-03-01 23:14:55 +01:00
Sébastien Helleu 3157d1f06e api: add function crypto_hash_pbkdf2 2020-03-01 23:14:55 +01:00
Sébastien Helleu 9a6a27ef58 core: move crypto functions to wee-crypto.c, rename API function string_hash to crypto_hash 2020-03-01 21:24:27 +01:00
Sébastien Helleu c4ef3d6c2e core: merge functions string_hash_binary and string_hash into a single function string_hash 2020-03-01 16:41:28 +01:00
Sébastien Helleu 1ae2591458 core: add function secure_hash_pbkdf2 2020-03-01 14:26:24 +01:00
Sébastien Helleu 3472793d24 script: call function string_hash in script_repo_sha512sum_file to compute SHA512 hash
This removes dependency on libgcrypt in script plugin.
2020-03-01 09:08:48 +01:00
Sébastien Helleu bb363ab27f relay: call function string_hash_binary in relay_websocket_build_handshake to compute SHA1 hash
This removes dependency on libgcrypt in relay plugin.
2020-03-01 09:03:49 +01:00
Sébastien Helleu 7449bc8827 core: add support of CRC32 algorithm in hash functions 2020-02-29 21:12:13 +01:00
Sébastien Helleu 410a5b341f api: add functions string_hash_binary and string_hash 2020-02-29 21:02:42 +01:00
Sébastien Helleu 7e808e2ef7 core: call function secure_hash_binary in secure_derive_key to compute SHA512 hash 2020-02-29 15:46:25 +01:00
Sébastien Helleu 600c43dcf5 tests: add tests on function secure_derive_key 2020-02-29 15:46:25 +01:00
Sébastien Helleu 45fd04ee72 core: return 0 in case of invalid parameters received in function secure_derive_key 2020-02-29 15:46:25 +01:00
Sébastien Helleu e2135fc3eb core: add functions to compute binary/hex hash of data 2020-02-29 15:46:25 +01:00
Sébastien Helleu 91701cbdb4 php: fix crash when loading script with PHP 7.4 (closes #1452) 2020-02-28 21:28:29 +01:00
Nils Görs 3f67cfecc8 django.po: Update German translations 2020-02-26 15:38:23 +01:00
Sébastien Helleu 5655778afa core: update stable version in version.sh 2020-02-21 16:09:22 +01:00
Sébastien Helleu ff4e9d6e69 core: add version 2.7.1 in release notes 2020-02-20 22:17:05 +01:00
Sébastien Helleu a4fcd5570f core: add version 2.7.1 in ChangeLog 2020-02-20 22:14:28 +01:00
Sébastien Helleu 7352ddfcf0 build: ignore file usr/share/applications/weechat.desktop in Cygwin build 2020-02-20 22:09:12 +01:00
Sébastien Helleu 6daa09b0b8 script: fix memory leak in read of script repository file if it has invalid content 2020-02-18 21:04:21 +01:00
Sébastien Helleu c6e9e18aaa script: fix unexpected display of scripts list in buffer with command /script list -i 2020-02-16 08:04:58 +01:00
Sébastien Helleu 3fc0f1957e script: remove dead assignment of variable length in function script_action_list_input 2020-02-16 07:59:02 +01:00
Sébastien Helleu 4cb0e2dc55 doc: update auto-generated files 2020-02-15 07:39:41 +01:00
Nils Görs 774345cea9 core: update German translations 2020-02-14 18:54:36 +01:00
Sébastien Helleu 09aa6dbf06 core: add CVE-2020-8955 in ChangeLog 2020-02-14 07:41:56 +01:00
Sébastien Helleu 230f648584 irc: use irc_server_prefix_chars_default if server->prefix_chars is NULL 2020-02-10 21:18:47 +01:00
Sébastien Helleu 9904cb6d2e irc: fix crash when receiving a malformed message 352 (who)
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-10 07:37:11 +01:00
Sébastien Helleu 40ccacb433 irc: fix crash when a new message 005 is received with longer nick prefixes
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-09 20:04:45 +01:00
Sébastien Helleu 5edbeea338 core: fix unlikely memory leak in completion 2020-02-09 06:56:53 +01:00
Sébastien Helleu 7fde75797c doc: remove reference to obsolete script shell.py in FAQ 2020-02-08 21:59:14 +01:00
Sébastien Helleu 40e8e928cd doc: add question about timezone in FAQ 2020-02-08 21:59:14 +01:00
Sébastien Helleu 6f4f147d8e irc: fix crash when receiving a malformed message 324 (channel mode)
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-08 20:24:50 +01:00
Sébastien Helleu 39f2591cf5 tests: add tests on ANSI default text/background colors 2020-02-08 10:29:07 +01:00
Sébastien Helleu 2769989751 irc: remove nested switches in function irc_color_decode_ansi_cb 2020-02-07 21:29:46 +01:00
Sébastien Helleu b8d7af54e3 doc: add keys and actions on fset and script buffers in user's guide 2020-02-06 21:17:54 +01:00
Sébastien Helleu 60f2734184 irc: use dynamic string in function irc_color_encode 2020-02-05 21:51:11 +01:00
Sébastien Helleu 5b902eb804 irc: replace realloc by dynamic string in function irc_color_decode 2020-02-05 21:50:39 +01:00
Sébastien Helleu 6f69d98ee9 core: fix typo in French translation of /help fset 2020-02-04 22:04:18 +01:00
Sébastien Helleu 84648a5cd8 tests: add eval tests with debug enabled 2020-02-04 20:56:59 +01:00
Sébastien Helleu 15f7d7aeb1 core: update ChangeLog 2020-02-03 21:41:25 +01:00
Sébastien Helleu f76a5a8b57 tests: add unit tests on function util_file_get_content 2020-02-03 21:39:06 +01:00
Sébastien Helleu 3edae5af86 tests: add unit tests on function util_get_time_diff 2020-02-02 13:58:35 +01:00
Sébastien Helleu 27266ccd02 core: rename function util_get_uptime to util_get_time_diff
The two times must be sent as parameters, which makes the function not specific
to uptime. It is now easier to test the function in unit tests.
2020-02-02 13:57:39 +01:00
Sébastien Helleu 4e2718d234 irc: add nick changes in the hotlist (except self nick change) 2020-02-01 23:02:55 +01:00
Sébastien Helleu 95e34c71d6 core: update ChangeLog (issue #1442) 2020-01-30 22:07:32 +01:00
orbea 6d2d304136 Fix the build with guile-3.0.0.
v2: Update configure.ac too.

Signed-off-by: orbea <orbea@riseup.net>
2020-01-30 22:05:43 +01:00
Sébastien Helleu d2dda92daf tests: add eval tests with hdata variables of different types 2020-01-27 23:04:24 +01:00
Sébastien Helleu b7c09ed084 tests: add eval tests on conditions with text after closing parenthesis 2020-01-27 23:04:24 +01:00
Sébastien Helleu a6a6fb74c2 tests: add eval tests on conditions with leading and trailing spaces (ignored) 2020-01-27 23:04:24 +01:00
Sébastien Helleu 2839dc7ddf tests: add eval tests on "regex not matching" comparison 2020-01-27 23:04:24 +01:00
Sébastien Helleu 0975c407e0 tests: add eval tests with hdata list name and pointer 2020-01-27 23:04:24 +01:00
Sébastien Helleu 201b4da169 tests: add eval tests with buffer local variables 2020-01-27 23:04:24 +01:00
Sébastien Helleu 8107b5d162 tests: add eval tests on options with different types 2020-01-27 23:04:24 +01:00
Sébastien Helleu dd13393896 tests: add eval test with empty value for "date:" 2020-01-27 23:04:24 +01:00
Sébastien Helleu 70f0c81a2c tests: add eval tests with invalid values for "modifier:" 2020-01-27 23:04:24 +01:00
Sébastien Helleu 6d9a247df3 tests: add eval tests with invalid values for "repeat:" 2020-01-27 23:04:24 +01:00
Sébastien Helleu 1914ceb74f tests: add eval tests with invalid values for "cut:" and "cutscr:" 2020-01-27 23:04:22 +01:00
Sébastien Helleu 34bb43379a tests: add eval test with invalid value for "hide:" 2020-01-27 21:21:01 +01:00
Sébastien Helleu 070e86bd6e tests: add eval test with invalid regex group 2020-01-27 21:17:17 +01:00
Sébastien Helleu 1d77b9742e tests: add evaluation tests with ternary operator and escape of prefix ("$") 2020-01-27 21:09:54 +01:00
Sébastien Helleu d91d1ebb8c tests: add other calc tests with multiple operators
The order of operators are different from the initial test, so this increases
the code coverage in wee-calc.c.
2020-01-27 20:54:23 +01:00
Sébastien Helleu f980820395 logger: fix crash when disabling logging on a buffer (closes #1444)
Crash happens if the log file was deleted before disabling logging and if the
option logger.file.info_lines is on.
2020-01-25 13:42:12 +01:00
Sébastien Helleu 4d67af399d core: flush stdout/stderr before forking in hook_process function (closes #1441) 2020-01-20 21:15:15 +01:00
Sébastien Helleu 7cd566e8d3 core: reset variable "old_full_name" after send of signal "buffer_renamed" (issue #1428) 2020-01-12 17:09:47 +01:00
Sébastien Helleu b79cd6d546 relay: update buffers synchronization when buffers are renamed (closes #1428) 2020-01-12 17:03:16 +01:00
Sébastien Helleu 1fac6fd404 core: add variable "old_full_name" in buffer, set before the buffer is renamed (issue #1428) 2020-01-12 16:57:08 +01:00
Sébastien Helleu 4f9c4fecd3 irc: case-insensitive comparison on incoming CTCP command, force upper case on CTCP replies (closes #1439) 2020-01-11 11:02:41 +01:00
Sébastien Helleu 4f42f407c1 doc: remove space in example of hsignal irc_redirect_command (plugin API reference) 2020-01-05 09:15:40 +01:00
Sébastien Helleu 9ac4639c8c xfer: send signal "xfer_ended" after the received file has been renamed (closes #1438) 2020-01-04 11:19:47 +01:00
Sébastien Helleu feb6258910 core: update copyright dates 2020-01-04 10:41:26 +01:00
Sébastien Helleu 481da803cb buflist: add pointer "window" in bar item evaluation 2019-12-26 22:44:19 +01:00
Sébastien Helleu e11075e2cd doc: update German auto-generated file 2019-12-23 22:14:33 +01:00
Nils Görs cc7ac1284d core: update German translations 2019-12-23 20:00:02 +01:00
Sébastien Helleu 330149b9b6 relay: reject client with weechat protocol if password or totp is received in init command but not set in WeeChat (closes #1435) 2019-12-21 10:47:35 +01:00
Sébastien Helleu e612e63140 core: fix evaluation of condition with nested "if" (closes #1434) 2019-12-18 21:22:36 +01:00
Sébastien Helleu a13099aa63 core: add debug option "-d" in command /eval (issue #1434) 2019-12-18 21:18:59 +01:00
Sébastien Helleu 7e833ee60b core: add missing variable "proxy" in function hook_connect_print_log 2019-12-18 07:55:39 +01:00
Sébastien Helleu 72da71880c doc: update German auto-generated files 2019-12-15 21:22:51 +01:00
Nils Görs b341432887 core: update German translations 2019-12-15 21:17:33 +01:00
Sébastien Helleu bb62485aa9 irc: fix memory leak when the channel topic is changed 2019-12-15 07:27:45 +01:00
Sébastien Helleu 72b107a970 php: add detection of PHP 7.4 2019-12-14 11:25:07 +01:00
Sébastien Helleu 019bc79b0f core: update ChangeLog (issue #1433) 2019-12-13 21:34:01 +01:00
Sébastien Helleu 517bdaa4a8 core: update translations (issue #1433) 2019-12-13 21:33:48 +01:00
Sébastien Helleu 00485af7c9 core: add contributor in AUTHORS.adoc (issue #1433) 2019-12-13 21:31:30 +01:00
Matthew Horan f966329862 api: add info "weechat_headless" 2019-12-13 21:30:54 +01:00
Sébastien Helleu 5ae0485404 core: fix version in ChangeLog 2019-12-13 21:27:02 +01:00
Sébastien Helleu 60fa5a7555 core: update ChangeLog (issue #1431) 2019-12-13 21:22:45 +01:00
Sébastien Helleu 8d107912d6 core: update translations 2019-12-13 21:21:02 +01:00
Simmo Saan c487965e8b irc: add GnuTLS >= 3.1.0 requirement to ssl_password option help (issue #115) 2019-12-13 21:18:22 +01:00
Simmo Saan 139a7053e4 irc: fix compilation with GnuTLS < 3.1.0 (issue #115)
Due to this ssl_password will be partially unused with GnuTLS < 3.1.0.
In that case an encrypted SSL client cert import will simply fail.
2019-12-13 21:18:22 +01:00
Sébastien Helleu 9c227de6bf core: add directory /usr/share/applications/ in cygwin package "weechat" 2019-12-08 15:56:23 +01:00
Sébastien Helleu da28c392ea Version 2.8-dev 2019-12-08 10:18:33 +01:00
Sébastien Helleu 236dbe3f62 Version 2.7 2019-12-08 09:48:53 +01:00
Sébastien Helleu 632755d51d core: remove obsolete file FindTCL.cmake from root Makefile.am 2019-12-08 09:23:35 +01:00
Sébastien Helleu ee52c8ceae debian: fix debian/wheezy and ubuntu/trusty patches 2019-12-08 09:13:46 +01:00
Sébastien Helleu dda3ac7963 debian: update changelog 2019-12-08 08:23:07 +01:00
Sébastien Helleu e81d0787e4 debian: bump Standards-Version to 4.4.0 2019-12-08 08:22:45 +01:00
Sébastien Helleu 54aa8b82b3 doc: update Polish auto-generated files 2019-12-01 18:03:07 +01:00
Krzysztof Korościk 39ae55322d doc: updated polish traslation 2019-12-01 17:14:12 +01:00
Krzysztof Korościk 10f4e16695 po: update polish translation 2019-12-01 16:24:32 +01:00
Sébastien Helleu cfd7d31f95 doc: update German auto-generated files 2019-12-01 11:42:49 +01:00
Nils Görs 621b87ea8a core: update German translations 2019-11-29 09:17:37 +01:00
Sébastien Helleu c947d1575f core: exit makedist.sh script if command "cd" failed 2019-11-28 21:28:07 +01:00
Sébastien Helleu d876ec49fc core: replace "! -z" by "-n" in build-debian.sh 2019-11-28 21:27:43 +01:00
Sébastien Helleu d2300e62af core: replace "-o" by "||" in tools scripts 2019-11-28 21:26:45 +01:00
Sébastien Helleu a727516e0d core: run command and check return code on same line in tools scripts 2019-11-28 21:25:47 +01:00
Sébastien Helleu c0e48b0370 core: double quote variables in tools scripts 2019-11-28 21:23:59 +01:00
Sébastien Helleu 45509c3560 core: double quote variables in script autogen.sh 2019-11-27 20:17:48 +01:00
Sébastien Helleu fb8f0590b0 Version 2.7-rc1 2019-11-26 20:10:18 +01:00
Sébastien Helleu 3dab07d659 tests: add unit tests on hash algorithms with salt (issue #635) 2019-11-25 23:02:05 +01:00
Sébastien Helleu cd53fc61cf core: fix typo in French translation (issue #635) 2019-11-25 22:43:55 +01:00
Sébastien Helleu d66a02ca9d core: move each hash algorithm in a separate function (issue #635) 2019-11-25 22:31:36 +01:00
Sébastien Helleu 771b932dec doc: update auto-generated files with WeeChat options (issue #635) 2019-11-25 21:44:27 +01:00
Sébastien Helleu 41911babd3 core: remove obsolete translations 2019-11-25 21:42:57 +01:00
Sébastien Helleu f69079e3d0 core: update ChangeLog (issue #635) 2019-11-25 21:39:02 +01:00
Sébastien Helleu b43ab911fd core: add more info in /help weechat.look.nick_color_hash_salt (issue #635) 2019-11-25 21:38:58 +01:00
Sébastien Helleu 0044fa1902 core: remove allocation of string when salt is used (issue #635) 2019-11-25 21:38:55 +01:00
Simmo Saan 1a00368888 core: add option weechat.look.nick_color_hash_salt to allow for reshuffling of colors (issue #635) 2019-11-25 21:38:20 +01:00
Sébastien Helleu c634d6c56e doc: list the things removed by WeeChat on /plugin unload (user's guide) 2019-11-24 09:40:53 +01:00
Sébastien Helleu 661ef1e653 doc: fix translations in French plugin API reference 2019-11-24 09:32:35 +01:00
Sébastien Helleu 8223263e0e doc: remove flags "translation missing" in French docs 2019-11-24 09:29:02 +01:00
Sébastien Helleu a843e8fb14 doc: bump version of documentation generator 2019-11-22 21:01:14 +01:00
Sébastien Helleu e1692ab7e9 doc: add function to print counters, add separator lines (documentation generator) 2019-11-22 21:00:58 +01:00
Sébastien Helleu 73b3ff1491 doc: simplify function to compute SHA256 checksum, move function outside class AutogenDoc (documentation generator) 2019-11-22 20:59:58 +01:00
Sébastien Helleu 178b3eb8a6 doc: sort locales in documentation generator 2019-11-22 20:59:06 +01:00
Sébastien Helleu 2f99033384 doc: remove path option in documentation generator 2019-11-22 20:57:59 +01:00
Sébastien Helleu f1641604b0 doc: remove obsolete ignored options/completions in documentation generator 2019-11-22 20:57:52 +01:00
Sébastien Helleu e743e731ec irc: do not automatically open a channel with name "0" (closes #1429)
"0" is a special channel name which causes a client to leave all the channels
it is presently on.

Note that when option irc.look.buffer_open_before_join is on, WeeChat may still
open channel buffers with an invalid channel name like "1".  The server should
reply something like that, displayed on the server buffer:

  1: No such channel
2019-11-21 20:35:32 +01:00
Sébastien Helleu 64aae8b959 core: update build directories in .gitignore 2019-11-19 07:40:11 +01:00
Sébastien Helleu e4a9f95e38 core: remove arguments for endforeach() in CMake files 2019-11-18 20:18:54 +01:00
Sébastien Helleu 7aa24ecd88 core: add different icons sizes (16x16 to 512x512) (closes #1347) 2019-11-18 20:05:43 +01:00
Sébastien Helleu 8cde654c6f core: set buffer name, short name and title only if the value has changed
This fix reduces the number of messages "_buffer_title_changed" sent to the
weechat relay clients in IRC private buffers (this message was sent for every
new message received in the private buffer).
2019-11-17 21:48:17 +01:00
Sébastien Helleu 9a40aa04f8 core: rename label "enhancement" to "feature" 2019-11-15 21:06:15 +01:00
Sébastien Helleu 3a03184d7a irc: mention /filter command in /help irc.look.smart_filter 2019-11-15 08:38:40 +01:00
Sébastien Helleu b5804bd64d core: add labels in GitHub issue templates 2019-11-14 07:24:54 +01:00
Sébastien Helleu 005e5fd8f5 core: fix French translation of "uptime" 2019-11-13 21:17:14 +01:00
Sébastien Helleu fe7a05cb1f core: update ChangeLog 2019-11-12 21:20:43 +01:00
Eli Schwartz 76c6f52e8c build: support python 3.8
In python 3.8, in order to link to -lpython3.8, you need to use the
exported pkg-config interface 'python3-embed' (or 'python3-config --libs
--embed'), see https://bugs.python.org/issue36721 for details.
2019-11-12 21:19:47 +01:00
Eli Schwartz 5c8ac69f73 python: use more idiomatic cmake pkg-config linking
cmake documentation is absolutely atrocious, and I don't know why they
mention all the wrong things to use, and the cargo cult of successfully
writing a cmake build definition (copy-pasting what works from other
projects) also uses all the wrong things. But it turns out it is
possible to correctly link a PkgConfig target despite all that, at
least, *iff* you use cmake >= 3.13. I've chosen option 2, which is to
vendor in cmake >= 3.13's FindPkgConfig module in the previous commit.

Using IMPORTED_TARGET GLOBAL in a pkg-config check will result in a
proper linker target being created. For comparison, this is like using
meson's dependency() target, except meson forces you to do this by
default. The result is that the build system's internal representation
of how to link something, is used instead of manually passing build
flags defined in variables.

This is an important distinction to make, because cmake does not have a
list datatype, and instead turns lists into strings separated by ';'
which are indistinguishable from, like, strings which contain ';'
characters. When you pass the resulting list-which-isn't-really-a-list
to link an executable/library, you either need to preprocess the
variable to replace ';' with ' ' (just in case there are multiple
elements) or use cmake functions which magically know to do this
themselves -- or at least, I assume there are cmake functions that
correctly handle so-called "lists", or there would be no need for
"lists" to exist.

The IMPORTED_TARGET will define a bunch of INTERFACE_* properties which
do seem to do exactly this. The resulting build definition should
actually, correctly, link python, thereby fixing #1398 in a better way.
2019-11-12 21:19:47 +01:00
Eli Schwartz 682e558f76 cmake: vendor in a new version of FindPkgConfig
The current one is anciently ancient, and dates back to commit
4d2925ef1c which vendored this "for old
versions of cmake". Well, currently it just stops using new versions of
FindPkgConfig, so we're stuck on the 2006 version from cmake 2.5.0.

Instead of deleting it entirely (the minimum version of cmake is
currently 3.0) make this vendored file continue to be useful by using it
to vendor in the latest version of FindPkgConfig from cmake 3.16.0-rc3
with a bunch of useful improvements.
2019-11-12 21:19:47 +01:00
Sébastien Helleu a36e17abf9 debian: disable javascript plugin on Debian Sid and Ubuntu Eoan 2019-11-11 08:38:05 +01:00
Sébastien Helleu 38bb297d91 core: update ChangeLog (issue #1420) 2019-11-10 11:06:49 +01:00
Sébastien Helleu 421d6481da core: link with libnetwork and not libpthread on Haiku (autotools) (issue #1420) 2019-11-10 11:06:39 +01:00
Jerome Duval 8d991f1284 Haiku: link libnetwork, not libpthread. 2019-11-10 11:04:47 +01:00
Sébastien Helleu 9f8162651f irc: set option irc.look.display_pv_warning_address to off by default (issue #892)
This is because the bitlbee server causes the warning to be displayed when it
is not expected (the address of remote nick changes multiple times on login).
2019-11-08 21:27:12 +01:00
Sébastien Helleu 17d3032b73 core: move line from "New features" to "Bug fixes" 2019-11-07 19:46:55 +01:00
Sébastien Helleu 90aec7bec7 core: update URL of WeeChat blog 2019-11-05 07:50:30 +01:00
Sébastien Helleu 07577194c5 doc: add examples of division in ${calc:...} (plugin API reference) 2019-11-04 19:01:31 +01:00
Sébastien Helleu 9264de9ce0 doc: fix list of "updated in" versions in function string_eval_expression (plugin API reference) 2019-11-04 18:59:32 +01:00
Sébastien Helleu 4f7a51f72b core: fix sentence in release notes 2019-11-03 21:10:48 +01:00
Sébastien Helleu 6507544947 irc: fix typo and examples in /help server 2019-11-03 14:54:45 +01:00
Nils Görs cdcbdc94e0 core: update German translations 2019-11-03 14:48:43 +01:00
Sébastien Helleu 10f85df867 irc: set raw filter to "*" if local variable "filter" was not set after /upgrade on raw buffer 2019-11-03 09:55:09 +01:00
Sébastien Helleu 7e07954fbf irc: restore irc raw filter after /upgrade (issue #1000) 2019-11-03 09:28:16 +01:00
Sébastien Helleu 015ae4a94b irc: add filters on raw buffer (closes #1000) 2019-11-03 09:01:44 +01:00
Sébastien Helleu 4a86ab55d8 fset: add comment on filter by evaluated expression 2019-10-30 19:41:56 +01:00
Sébastien Helleu 7cac32fc1f fset: fix filter variable used to match filter string 2019-10-30 19:41:31 +01:00
Sébastien Helleu c6161d0e4a plugins: sort options added in configuration sections 2019-10-23 19:45:06 +02:00
Sébastien Helleu ecc7edda9e core: optimize search of options in configuration sections
Since options are sorted in sections, it is faster to search from the last
option to the first one.

For configuration files with many options in a single section (like
plugins.conf), the load of configuration file is about 2 to 3x faster.
2019-10-23 19:45:06 +02:00
Sébastien Helleu fbc9faed42 doc: add keys to type for the example message with color codes (user's guide) 2019-10-22 07:54:50 +02:00
Sébastien Helleu c99889cb15 core: fix typo in French translation of /help fset 2019-10-21 19:14:31 +02:00
Sébastien Helleu f85f097c25 debian: disable javascript plugin on Ubuntu Focal 2019-10-20 21:27:21 +02:00
Sébastien Helleu 5d4220a91f core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (closes #899, issue #978) 2019-10-14 20:44:15 +02:00
Sébastien Helleu 7e6d933d74 doc: update German auto-generated file 2019-10-13 21:05:32 +02:00
Nils Görs 92853e1b47 core: update German translations 2019-10-13 18:54:48 +02:00
Sébastien Helleu 577a932201 core: add info about Python 3 and strings in release notes 2019-10-13 08:18:38 +02:00
Sébastien Helleu 899550ca94 doc: fix typo in scripting guide 2019-10-13 08:18:30 +02:00
Sébastien Helleu ab6a991de2 doc: fix language in links to plugin API reference (scripting guide) 2019-10-12 23:26:16 +02:00
Sébastien Helleu 2dbc283023 doc: add links on signals and hsignals (plugin API reference) 2019-10-12 23:17:33 +02:00
Sébastien Helleu 513f5a1ee7 python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1220, closes #1389) 2019-10-12 22:21:48 +02:00
Sébastien Helleu 8fc8f728d4 core: add reverse of string for screen in evaluation of expressions with "revscr:" 2019-10-12 20:14:36 +02:00
Sébastien Helleu 9535f4a70b doc: update German auto-generated file 2019-10-11 22:45:08 +02:00
Nils Görs f85adf5cf1 core: update German translations 2019-10-11 22:41:19 +02:00
Sébastien Helleu 876a0a1609 irc: add option irc.look.display_pv_warning_address (closes #892)
If the address of remote nick changes in a private buffer, a warning is
displayed.
2019-10-11 20:26:34 +02:00
Sébastien Helleu 1dda5ffd02 doc: add value -1 for notify level in function hook_line (plugin API reference) 2019-10-10 18:39:31 +02:00
Sébastien Helleu dc9964ccc6 irc: add server option "ssl_password" (issue #115, issue #1416) 2019-10-09 21:40:43 +02:00
Sébastien Helleu 37415e61d5 core: update translations (issue #115, issue #1416) 2019-10-09 21:39:25 +02:00
Simmo Saan 116150c2fc irc: add server option ssl_password for SSL certificate private key password (closes #115) 2019-10-09 21:37:41 +02:00
Sébastien Helleu 5398f5d566 irc: fix compiler warning on uninitialized variable 2019-10-09 07:17:32 +02:00
Nils Görs 02c63beef9 core: add German translations in weechat.desktop 2019-10-08 20:54:25 +02:00
Sébastien Helleu 6619219297 doc: add value -1 for notify level in trigger of type line (user's guide) 2019-10-08 20:30:59 +02:00
Sébastien Helleu 6fa0f49a28 core: update ChangeLog (issue #982, issue #408) 2019-10-07 21:06:55 +02:00
Sébastien Helleu afe64aefbf core: add keywords in weechat.desktop (issue #982, issue #408) 2019-10-07 21:06:55 +02:00
Sébastien Helleu 85f9ead7b8 core: add French translations in weechat.desktop (issue #982, issue #408) 2019-10-07 21:06:55 +02:00
Sébastien Helleu b35c94cc91 core: install weechat.desktop with autotools (issue #982, issue #408) 2019-10-07 21:06:50 +02:00
Lucas Hoffmann 8054cb0ee1 core: add a desktop file (closes #982, closes #408) 2019-10-07 20:47:43 +02:00
Sébastien Helleu cbeecc0cde core: ensure completion_item is not NULL before using it 2019-10-06 21:47:56 +02:00
Sébastien Helleu 528c769e71 core: fix crash in completion of filenames 2019-10-06 21:45:27 +02:00
Sébastien Helleu d2a63b2b44 doc: update German auto-generated files 2019-10-06 19:17:15 +02:00
Sébastien Helleu 86e623a554 doc: fix chapter on IRC server connection in quickstart guide 2019-10-06 19:12:47 +02:00
Sébastien Helleu c391fe5fa5 core: update ChangeLog (closes #630) 2019-10-06 19:11:15 +02:00
Sébastien Helleu c3b33859ae core: fix long lines 2019-10-06 19:09:29 +02:00
Sébastien Helleu f2551b8403 Merge remote-tracking branch 'origin/pr/630' 2019-10-06 19:07:25 +02:00
Sébastien Helleu 98d9dc1a03 core: update ChangeLog (closes #610, closes #617, closes #619) 2019-10-06 18:14:50 +02:00
Sébastien Helleu e6570d6e3a core: fix line too long, add comment on argument "with_suffix" 2019-10-06 18:11:58 +02:00
Sébastien Helleu e47002884a core: count suffix in alignment computed for context info 2019-10-06 18:08:52 +02:00
Sébastien Helleu c77bccba87 Merge remote-tracking branch 'origin/pr/619' 2019-10-06 18:08:17 +02:00
Sébastien Helleu af5951c123 Merge pull request #1415 from ingank/doc-de-improve-pr
doc: update German documentation
2019-10-06 17:25:00 +02:00
Ingolf Ankert 1eb54f4065 doc: update German documentation
Reviewed: from @flashcode
2019-10-06 17:14:07 +02:00
Sébastien Helleu de0209e6d6 Merge pull request #1414 from ingank/improve-po-de
core: update German translations
2019-10-06 17:03:27 +02:00
Ingolf Ankert 903cb0baf3 doc: update German documentation
fix: typos in doc/de/weechat_faq.de.adoc
fix: typos, spelling, grammar in doc/de/weechat_quickstart.de.adoc
2019-10-06 16:55:26 +02:00
Ingolf Ankert 5518b56561 core: update German translations 2019-10-06 15:53:57 +02:00
Sébastien Helleu 53360a7909 logger: fix write in log file if it has been deleted or renamed (closes #123) 2019-10-06 13:36:35 +02:00
Sébastien Helleu 529af39612 doc: translate description of logger masks in user's guide 2019-10-06 10:19:01 +02:00
Sébastien Helleu 79e124d6e4 Merge pull request #1413 from FiXato/patch-2
Added introductory description of Logger masks
2019-10-06 10:18:32 +02:00
Sébastien Helleu d3254262ac doc: fix styles in plugin API reference 2019-10-06 10:01:49 +02:00
Sébastien Helleu 587f5bf15b irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (closes #60) 2019-10-06 09:38:52 +02:00
Sébastien Helleu 6e382d26a9 core: add optional default path (evaluated) in completion "filename" (issue #60) 2019-10-06 09:38:20 +02:00
Sébastien Helleu 88aa82d672 core: add support of modifiers in evaluation of expressions with "modifier:name,data,string" (issue #60) 2019-10-06 09:13:35 +02:00
Sébastien Helleu 1a0ba4a9dc api: add modifier "eval_path_home" (issue #60) 2019-10-06 09:06:55 +02:00
Sébastien Helleu e921b9f432 core: fix comments on modifier callback functions in plugin API 2019-10-06 08:56:12 +02:00
Filip H.F. "FiXato" Slagter 86dcbc09c0 Added introductory description of Logger masks
While the documentation for Logger filename masks contained examples, it didn't actually describe it would try to match in order of descending specificity.
2019-10-05 20:43:29 +02:00
Sébastien Helleu 587ddf7222 core: add reference to issue #66 for hook_line function in ChangeLog 2019-10-05 18:55:27 +02:00
Sébastien Helleu c521392207 core: add quotes around commands with arguments in ChangeLog 2019-10-05 18:18:07 +02:00
Sébastien Helleu 1da5b9126e core: fix typo in ChangeLog 2019-10-05 18:17:49 +02:00
Sébastien Helleu 3c0bdc18f3 xfer: add option xfer.file.download_temporary_suffix with default value ".part" (closes #1237) 2019-10-05 18:11:39 +02:00
Sébastien Helleu 6c23f632b1 xfer: fix memory leak when a xfer is freed and when the plugin is unloaded 2019-10-05 17:49:07 +02:00
Sébastien Helleu 3e189fa60d irc: fix typo in /help links 2019-10-04 20:44:09 +02:00
Sébastien Helleu f9dcb573ca doc: update German auto-generated files 2019-10-03 20:39:48 +02:00
Sébastien Helleu 8c31306f30 Merge pull request #1410 from ingank/ingank/german-translation
core: update German translations
2019-10-03 20:32:37 +02:00
Sébastien Helleu d2be0e8e1d Merge pull request #1409 from ingank/master
doc: update German documentation
2019-10-03 20:32:10 +02:00
Ingolf Ankert b03a4e192c core: update German translations 2019-10-03 15:25:42 +02:00
Sébastien Helleu 70fd722278 logger: add option logger.file.color_lines (closes #528, closes #621) 2019-10-02 20:44:12 +02:00
Ingolf Ankert f3376f4264 doc: update German documentation 2019-10-01 21:48:44 +02:00
Sébastien Helleu e386965aba api: add modifier "color_encode_ansi" (issue #528) 2019-10-01 18:31:41 +02:00
Sébastien Helleu 90f711a965 core: add function to convert WeeChat colors to ANSI colors (issue #528) 2019-10-01 18:31:41 +02:00
Sébastien Helleu 177fa6c528 core: add support of reverse video in ANSI color codes 2019-10-01 18:31:41 +02:00
Sébastien Helleu a8ca4b5b3a tests: add tests on GUI color functions 2019-10-01 18:31:41 +02:00
Sébastien Helleu daad558291 core: fix typos in comments 2019-10-01 18:31:41 +02:00
Sébastien Helleu baf8f635ff core: fix style in CMake files 2019-10-01 18:31:41 +02:00
Sébastien Helleu 779420d50d core: fix typo in ChangeLog 2019-10-01 18:29:59 +02:00
Sébastien Helleu 92cad366a2 core: fix typos in French translations 2019-09-30 21:46:56 +02:00
Sébastien Helleu cddb314a10 doc: update German auto-generated files 2019-09-28 15:06:11 +02:00
Ingolf Ankert 45a55895fb core: update German translations 2019-09-28 14:42:32 +02:00
Sébastien Helleu 2067136506 core: add contributor in AUTHORS.adoc (issue #1406) 2019-09-27 20:56:17 +02:00
Sébastien Helleu 41cf758864 core: update ChangeLog (issue #1406) 2019-09-27 20:56:17 +02:00
Kyle Sabo 0678e0c9b3 core: fix build on Alpine (closes #1406) 2019-09-27 20:56:09 +02:00
Sébastien Helleu ae38b11407 irc: add "user" in output of irc_message_parse (closes #136) 2019-09-27 20:52:00 +02:00
Sébastien Helleu 3f33b327b1 logger: move logger backlog functions to logger-backlog.c 2019-09-26 21:26:23 +02:00
Sébastien Helleu 8ab6422520 debian: switch to Guile 2.2 in Debian build
Guile 2.2 is now used by default in Debian/Ubuntu builds, except on these old
distribution versions where only Guile 2.0 is available:

- Debian Stretch
- Debian Jessie
- Debian Wheezy
- Ubuntu Xenial
- Ubuntu Trusty
2019-09-25 20:58:22 +02:00
Nils Görs 4b0e6d5da2 core: update German translations 2019-09-24 21:43:30 +02:00
Sébastien Helleu 3a356f109f core: add power operator "**" in calc expressions (issue #997) 2019-09-24 21:03:56 +02:00
Sébastien Helleu 7d795c4d53 core: fix wrong results with the unary minus in calc expressions 2019-09-24 20:49:48 +02:00
Sébastien Helleu dc5e334f5c doc: update German auto-generated file 2019-09-23 23:10:40 +02:00
Nils Görs aa45748bff core: update German translations 2019-09-23 22:07:41 +02:00
Sébastien Helleu fe193a350b core: update translations (issue #683) 2019-09-23 21:31:09 +02:00
Simmo Saan e437613acb irc: add separate options for kick/kill message coloring (closes #683)
Add new options irc.color.message_kick and irc.color.reason_kick to be used
for coloring KICK and KILL messages.
2019-09-23 21:22:49 +02:00
Sébastien Helleu c5ffc3917f doc: update German auto-generated files 2019-09-22 21:37:23 +02:00
Nils Görs 6942444a2b core: update German translations 2019-09-22 21:32:46 +02:00
Sébastien Helleu 39b6fb6137 irc: remove option irc.network.channel_encode, add server option "charset_message" (closes #832)
This new option controls which part of the IRC message is decoded/encoded to
the target charset, and the new default behavior is to decode/encode the whole
IRC message (behavior in WeeChat >= 1.3 was to decode/encode only the text by
default).
2019-09-22 20:41:00 +02:00
Sébastien Helleu 12ee9cb75c core: build with Guile 2.2 on Cygwin (issue #1098) 2019-09-21 15:54:12 +02:00
Sébastien Helleu bed26f42a1 core: remove detection of Ruby 1.8, since Ruby >= 1.9.1 is now required (issue #1404) 2019-09-21 15:42:23 +02:00
Sébastien Helleu fbb0e85525 core: update ChangeLog (closes #1098) 2019-09-21 14:53:52 +02:00
Sébastien Helleu afce4804f5 guile: disable "/guile eval" as this does not (yet) work with Guile >= 2.2 (issue #1098) 2019-09-21 14:48:09 +02:00
Sébastien Helleu 387a44f5ec guile: add support of Guile 2.2 (issue #1098) 2019-09-21 14:48:05 +02:00
Sébastien Helleu e1a4612797 core: ignore color codes in ${length:xxx} and ${lengthscr:xxx} 2019-09-21 13:54:36 +02:00
Nils Görs de45636388 core: update German translations 2019-09-21 08:31:40 +02:00
Sébastien Helleu dcfc4e8ed5 core: add "length:xxx" and "lengthscr:xxx" in evaluation of expressions 2019-09-21 07:56:21 +02:00
Nils Görs 1919f23c2d core: update German translations 2019-09-20 23:13:03 +02:00
Sébastien Helleu bd3f1b5f00 doc: add file test-core-calc.cpp in developer's guide 2019-09-20 21:42:44 +02:00
Sébastien Helleu 92ecbe29ae core: move bugs below new features in ChangeLog 2019-09-20 21:37:21 +02:00
Sébastien Helleu 997894edc0 core: add calculation of expression in evaluation of expressions with "calc:..." (issue #997) 2019-09-20 21:37:01 +02:00
Sébastien Helleu 0109c51937 core: add chapter about CMake fatal errors on missing dependencies in release notes 2019-09-20 09:25:26 +02:00
Sébastien Helleu a81d266b31 doc: update auto-generated files 2019-09-20 09:25:03 +02:00
Nils Görs 4fca523b17 core: update German translations 2019-09-19 21:56:38 +02:00
Sébastien Helleu 5cf419dd63 core: remove extra spaces in arguments of /help uptime and /help version 2019-09-19 21:25:27 +02:00
Sébastien Helleu 85f6c5eeda script: add options "-ol" and "-il" in command /script, display "No scripts loaded" if no scripts are loaded 2019-09-19 21:20:55 +02:00
Sébastien Helleu 8a3ffda0a2 doc: set minimum Ruby version to 1.9.1 in user's guide (closes #1404)
This is now required after the changes introduced by commit
156d855787 in version 2.6.
2019-09-18 21:18:40 +02:00
Sébastien Helleu e04c30f00b doc: update German auto-generated files 2019-09-18 13:58:56 +02:00
Nils Görs 4324ff7c4b Merge branch 'master' of github.com:weechat/weechat 2019-09-18 13:52:31 +02:00
Nils Görs 29cd012627 core: update German translations 2019-09-18 13:51:46 +02:00
Sébastien Helleu d26893a70d core: update ChangeLog (closes #1400) 2019-09-17 21:29:28 +02:00
Tobias Stoeckmann f7b84fcc67 Fixed segfault during excessive evaluation.
It is possible to trigger a segmentation fault while processing
an evaluation of repeating string. On a Linux 64 bit system,
enter this (or adjust arguments for 32 bit accordingly):

/eval -n ${repeat:1073741824,----}

It will overflow an integer calculation because int instead of
size_t is used. Proper check of int limitations fixes this issue.

I haven't changed this specific piece of code to size_t because it
would crash in other parts of the code tree instead. For now, int
is a limitating factor when it comes to strings (and should be
enough for sane use cases).

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2019-09-17 21:26:52 +02:00
Sébastien Helleu 63a05d72d9 buflist: fix extra spaces between buffers when conditions are used to hide buffers (closes #1403)
This is a regression introduced in version 2.6 by commit
bf21ca072d.
2019-09-17 21:21:28 +02:00
Sébastien Helleu 40eb257d0d doc: update German auto-generated file 2019-09-17 09:02:45 +02:00
Nils Görs 8e267ad9f3 core: update German translations 2019-09-17 08:41:54 +02:00
Sébastien Helleu e8be4f62af core: mention possible background color in /help weechat.look.nick_color_force 2019-09-16 20:58:12 +02:00
Sébastien Helleu ea0bdbab1b debian: fix build of packages on Debian Jessie (issue #916, issue #956)
With the new errors on missing libraries in CMake, the PHP plugin must be
explicitly disabled.
2019-09-16 08:46:00 +02:00
Sébastien Helleu d690544499 core: update ChangeLog 2019-09-15 14:53:02 +02:00
Sébastien Helleu ab768ce902 core: remove obsolete file FindTCL.cmake (issue #916, issue #956)
This is file is provided by CMake and is not needed any more.  Moreover, it
causes an error on FreeBSD (TCL not found), even if TCL was properly detected
and used during the build.
2019-09-15 14:48:52 +02:00
Sébastien Helleu bff40e4c26 core: display an error on missing dependency in CMake (closes #916, closes #956) 2019-09-15 07:49:03 +02:00
Sébastien Helleu 9cb6857672 Version 2.7-dev 2019-09-08 08:33:06 +02:00
Sébastien Helleu 7477845205 Version 2.6 2019-09-08 08:13:58 +02:00
Sébastien Helleu ea139e7fdb doc: update Polish auto-generated files 2019-09-07 16:04:57 +02:00
Krzysztof Korościk 2d2d349d3c update polish translation 2019-09-07 15:54:13 +02:00
Sébastien Helleu 948caf0857 Version 2.6-rc2 2019-09-01 11:27:07 +02:00
Sébastien Helleu f24538646f core: update python dependency from python2-devel to python3-devel in cygport file 2019-08-31 20:49:42 +02:00
Sébastien Helleu 1beebdf01e core: fix compilation with autotools on FreeBSD 12.0 2019-08-31 14:18:55 +02:00
Sébastien Helleu 8bb4549494 core: fix compilation of Python plugin on FreeBSD 12.0 (closes #1398) 2019-08-31 14:13:58 +02:00
Sébastien Helleu 63902ef52d debian: add Python version in description of python plugin package 2019-08-30 18:34:31 +02:00
Sébastien Helleu 93775de7ff Version 2.6-rc1 2019-08-27 22:31:43 +02:00
Sébastien Helleu 62944b7168 core: disable option "-Werror-implicit-function-declaration" for C++ compiler
This option is valid for C compiler only.
2019-08-27 22:26:57 +02:00
Sébastien Helleu f0001ed670 doc: update German auto-generated file 2019-08-25 21:01:46 +02:00
Nils Görs e11f6e3046 core: update German translations 2019-08-25 20:05:18 +02:00
Sébastien Helleu 68d6f1b415 api: add infos "term_colors" and "term_color_pairs" 2019-08-25 19:10:32 +02:00
Sébastien Helleu f0685dd1b1 ruby: remove unused variable "ruby_hide_errors" 2019-08-25 07:14:42 +02:00
Sébastien Helleu 0884c9b33c core: move "Python 3 by default" as first item in the release notes 2019-08-24 17:43:49 +02:00
Sébastien Helleu 3938328375 doc: update German auto-generated file 2019-08-24 08:36:52 +02:00
Nils Görs 16592fdbbb core: update German translations 2019-08-24 08:06:44 +02:00
Sébastien Helleu bad8db720e irc: fix parsing of message 346, 348 and 728 when there is a colon before the timestamp (issue #1396)
IRC Messages:
- 346: invite list
- 348: exception list
- 728: quiet list
2019-08-24 07:19:01 +02:00
Sébastien Helleu 61c5d08320 fset: add filters "h=xxx" and "he=xxx" to filter options by description (translated or in English) 2019-08-24 07:13:34 +02:00
Sébastien Helleu 04162214d4 doc: update German auto-generated file 2019-08-22 07:45:10 +02:00
Nils Görs 2fa33b102b core: update German translations 2019-08-21 21:58:47 +02:00
iwalkalone 1e7232b8c2 irc: fix parsing of message 367 (banlist) when there is a colon before the timestamp (closes #1396) 2019-08-21 08:21:07 +02:00
Sébastien Helleu 608ec9f483 core: add values djb2_32 and sum_32 for option weechat.look.nick_color_hash (issue #1394) 2019-08-20 21:20:33 +02:00
Sébastien Helleu 21dca71ee0 ruby: fix compilation with Ruby < 2.3 2019-08-20 07:57:01 +02:00
Sébastien Helleu 7f62985f89 core: use fixed-width integer for computing hashtable DJB2 key hash (closes #1394) 2019-08-19 23:29:22 +02:00
Sébastien Helleu 80f103b68a core: use fixed-width integer for computing nick hash (issue #1394) 2019-08-19 23:27:11 +02:00
Sébastien Helleu 156d855787 ruby: fix conversion of big integers on 32bit architecture (closes #1395) 2019-08-19 23:21:12 +02:00
Sébastien Helleu bf21ca072d buflist: use extra variables in option buflist.look.display_conditions (closes #1393) 2019-08-17 08:57:40 +02:00
Sébastien Helleu a3e8163f37 Revert "buflist: mention variables available for option buflist.look.display_conditions in its help and in /help buflist (closes #1393)"
This reverts commit 39e5b0574c.
2019-08-17 08:43:22 +02:00
Nils Görs ceb579653f doc: update German documentation 2019-08-17 08:28:27 +02:00
Sébastien Helleu 39e5b0574c buflist: mention variables available for option buflist.look.display_conditions in its help and in /help buflist (closes #1393) 2019-08-17 08:17:11 +02:00
Sébastien Helleu 05744f3b61 doc: translate new Freenode Tor Hidden Service (user's guide) 2019-08-15 23:09:39 +02:00
Alfredo Ramos 783aebfd53 doc: use the new Freenode Tor Hidden Service (user's guide)
And add a note for users using an old version of Tor
2019-08-15 23:09:35 +02:00
Sébastien Helleu c411ee475a core: create or update option weechat.notify.xxx when function buffer_set is called with "notify" property (closes #1390) 2019-08-10 17:48:34 +02:00
Sébastien Helleu a409080d8b doc: update German auto-generated file 2019-08-10 17:33:59 +02:00
weechatter b1ae6ad1c6 core: update German translations 2019-08-10 17:22:00 +02:00
Andrew Potter 0957231d30 api: add function list_user_data (issue #666) 2019-08-10 12:55:43 +02:00
Sébastien Helleu 464d31155a core: update ChangeLog (issue #615) 2019-08-10 11:23:51 +02:00
Sébastien Helleu 5f1b895f27 irc: replace calls to strcpy and strcat with a call to snprintf 2019-08-10 11:20:43 +02:00
Sébastien Helleu dfcbb6b058 irc: rename variable vars_replaced to command2, remove fallback on *ptr_command 2019-08-10 11:16:21 +02:00
Sébastien Helleu dd133af522 Merge remote-tracking branch 'origin/pr/615' 2019-08-10 11:12:13 +02:00
Sébastien Helleu befa97ea81 core: mention there's no fallback on the other Python version in release notes 2019-08-10 10:42:53 +02:00
Sébastien Helleu a906afc3d7 core: replace python-dev by python3-dev in dependencies (user's guide) 2019-08-06 22:48:59 +02:00
Sébastien Helleu b4215ee466 tests: add tests on IRC function irc_nick_is_nick 2019-08-06 22:13:10 +02:00
Sébastien Helleu 210e864899 irc: fix memory leak when removing a server 2019-08-05 20:58:24 +02:00
Sébastien Helleu 47010dd9c6 doc: update auto-generated files with hdata 2019-08-04 16:43:48 +02:00
Sébastien Helleu b6cc5ef70f irc: fix length of user/nick/host in split of messages (closes #1387) 2019-08-04 16:39:18 +02:00
Sébastien Helleu 59ba378eec tests: add missing space after name of function 2019-08-04 14:39:58 +02:00
Sébastien Helleu 0bf5a5ae9c irc: add variables "user_max_length" and "host_max_length" in server structure (issue #1387) 2019-08-04 14:39:58 +02:00
Sébastien Helleu 4fa62a83f1 tests: add unit tests on IRC functions irc_message_split* (issue #1387) 2019-08-04 14:39:58 +02:00
Sébastien Helleu 067f237ec3 tests: add unit tests on IRC function irc_message_convert_charset 2019-08-04 14:04:45 +02:00
Sébastien Helleu fbc022a77a core: return NULL immediately if string is NULL in function hook_modifier_exec 2019-08-04 13:30:53 +02:00
Sébastien Helleu c46255b1d0 tests: add unit tests on IRC functions irc_message_parse and irc_message_parse_to_hashtable 2019-08-03 13:57:50 +02:00
Sébastien Helleu d79e0cbd31 tests: add unit tests on IRC function irc_message_replace_vars 2019-08-03 11:34:42 +02:00
Sébastien Helleu 28d79d0c93 tests: add unit tests on IRC functions irc_message_get_{nick,address}_from_host 2019-08-03 11:30:35 +02:00
Sébastien Helleu 478ca22054 irc: return NULL in function irc_message_get_address_from_host if the received host is NULL 2019-08-03 10:53:17 +02:00
Sébastien Helleu 1f52101a41 doc: update German auto-generated files 2019-08-03 10:52:58 +02:00
Sébastien Helleu 9be225b201 core: fix description of changes on Python build in release notes
There's no fallback on the other Python version:
- with no option: build with Python 3 only
- with option ENABLE_PYTHON2: build with Python 2 only.
2019-08-03 08:31:57 +02:00
weechatter 07878046d2 doc: update German documentation 2019-08-01 18:45:49 +02:00
Sébastien Helleu 2e07121457 core: update ChangeLog (issue #1384) 2019-07-31 22:55:40 +02:00
Sébastien Helleu f8b8669d2e Merge pull request #1384 from l2dy/memory
core: fix memory leak in case of error
2019-07-31 22:51:12 +02:00
Sébastien Helleu f3426f4388 doc: update note on Python recommended version in user's guide 2019-07-31 22:42:38 +02:00
Sébastien Helleu ad64fd16e1 core: update ChangeLog (issue #1382) 2019-07-31 22:17:28 +02:00
Sébastien Helleu 99bb662bc5 core: add contributor in AUTHORS.adoc 2019-07-31 22:16:42 +02:00
Sébastien Helleu 8bc5725278 core: remove obsolete checks of old Python version in configure, properly set Python version (issue #1382) 2019-07-31 21:53:16 +02:00
Sébastien Helleu 8897e04c0d core: fix help on python to build with Python 2 (issue #1382) 2019-07-31 21:24:36 +02:00
Eli Schwartz 4744c3fa41 work around broken travis environment variables
See: https://github.com/travis-ci/travis-ci/issues/5301
2019-07-31 20:46:02 +02:00
Eli Schwartz ad7d16a5b3 build: use pkg-config to properly link python
fixes incorrect (non)detection of libpython3.Ym.so due to PEP 3149 since
python's officially exported build flags know how to correctly link to
python.
2019-07-31 20:45:59 +02:00
weechatter b8d69307ee core: update German translations 2019-07-30 22:56:52 +02:00
Sébastien Helleu 015ec85f10 core: add some missing default keys in /help cursor 2019-07-29 22:49:29 +02:00
Zero King acbf021330 core: fix memory leak in case of error 2019-07-27 18:51:29 +00:00
Sébastien Helleu 93cd05bdd8 core: fix French translations on IRC ignores 2019-07-24 18:46:25 +02:00
Sébastien Helleu 5eeb98e40c buflist: use existing variable buflist_hdata_buffer to check buffer pointers in infolist "buflist" 2019-07-13 22:16:25 +02:00
Sébastien Helleu f6bc6fec2e doc: add function "register" in the plugin API reference 2019-07-11 21:12:33 +02:00
Sébastien Helleu c463b84421 doc: add Python prototype for function window_get_string (plugin API reference) 2019-07-11 20:51:52 +02:00
Sébastien Helleu 6461aefcae doc: fix return value of function window_get_string (plugin API reference) 2019-07-11 20:51:48 +02:00
Sébastien Helleu 643376fc1d core: update translations (issue #1375) 2019-07-11 07:30:01 +02:00
Sébastien Helleu 26c0b1270f core: update ChangeLog (issue #1375) 2019-07-11 07:29:56 +02:00
Sébastien Helleu ccaf99ff40 buflist: check validity of buffer pointers in info "buflist" (issue #1375) 2019-07-11 07:29:54 +02:00
Simmo Saan 0fdf2c13a5 buflist: add infolist "buflist" (issue #1375) 2019-07-11 07:29:46 +02:00
Sébastien Helleu fd592c2323 irc: quote NICK command argument sent to the server only if there's a ":" in the nick (closes #1376, issue #1319) 2019-07-11 07:08:36 +02:00
Sébastien Helleu 82a92bd4e9 irc: add unit tests on ignore functions 2019-07-10 19:20:09 +02:00
Sébastien Helleu 162ca1fade irc: split function irc_ignore_check into three functions 2019-07-10 19:19:35 +02:00
Sébastien Helleu e56c7e8c9b debian: disable Javascript plugin on Debian Buster/Bullseye (closes #1374) 2019-07-08 18:29:50 +02:00
Sébastien Helleu 5e9efeb2e3 debian: switch from Lua 5.1 to 5.3 in Debian build 2019-07-07 14:14:37 +02:00
Sébastien Helleu 965173ded5 doc: fix typos in examples of function hook_process_hashtable (plugin API reference) 2019-07-06 20:39:02 +02:00
Sébastien Helleu 768c0d9acc core: move line from "New features" to "Bug fixes" in ChangeLog 2019-07-05 08:43:29 +02:00
Sébastien Helleu 15ce4b2be5 irc: return all arguments in the PONG response to a PING (closes #1369) 2019-07-04 18:48:46 +02:00
Sébastien Helleu 789fa972f8 core: add Python 3 in release notes 2019-07-01 22:16:23 +02:00
Sébastien Helleu 179b00b4a3 doc: update auto-generated files with hdata 2019-07-01 22:09:58 +02:00
Sébastien Helleu 45fc8f1012 doc: rename option ENABLE_PYTHON3 to ENABLE_PYTHON2 in user's guide 2019-07-01 22:04:02 +02:00
Sébastien Helleu c99dd0f611 core: remove pyenv in Travis CI 2019-07-01 21:28:33 +02:00
Sébastien Helleu ab81128a7a core: compile with Python 3 by default
The CMake option ENABLE_PYTHON3 is renamed to ENABLE_PYTHON2, to use Python 2
first then fallback on Python 3.

In the same way, the configure option --enable-python3 is renamed to
--enable-python2, to use Python 2 first then fallback on Python 3.
2019-07-01 21:28:33 +02:00
Sébastien Helleu f9b6f359dd doc: update chapter on colors in user's guide (issue #1343, issue #1345) 2019-06-28 20:58:00 +02:00
Sébastien Helleu a9a1066e63 core: update ChangeLog (closes #1343, closes #1345) 2019-06-28 20:47:07 +02:00
Sébastien Helleu d540ea91ae Merge remote-tracking branch 'origin/pr/1345' 2019-06-28 20:43:21 +02:00
Sébastien Helleu b1ab2a0c50 doc: add description of arguments sent to the weechat_plugin_init plugin function (plugin API reference) 2019-06-26 21:20:01 +02:00
Sébastien Helleu 33ee803609 core: send command line parameter to plugins only if the name starts with the plugin name followed by a colon 2019-06-26 21:13:36 +02:00
Sébastien Helleu 1d6714e428 core: auto disable upgrade process (command line option "--upgrade") if the file weechat.upgrade is not found 2019-06-24 21:35:37 +02:00
Sébastien Helleu 98b5e90469 doc: update German auto-generated file 2019-06-22 08:43:24 +02:00
Sébastien Helleu b0ad684f6b irc: fix help of /connect command: the server is optional 2019-06-22 08:42:38 +02:00
weechatter ca73fabc72 core: update German translations 2019-06-18 19:15:15 +02:00
Sébastien Helleu f15a24b2ec core: add option "close" in command /window (closes #853) 2019-06-17 21:08:07 +02:00
Sébastien Helleu e5f963f78a doc: update auto-generated files with URL options 2019-06-16 23:03:48 +02:00
Sébastien Helleu 087d4c7af3 core: add Curl options for versions 7.53.0 to 7.63.0 2019-06-16 22:28:08 +02:00
Sébastien Helleu 07a8c4a0ec doc: update German auto-generated file 2019-06-16 16:13:17 +02:00
weechatter eb2535982c core: update German translations 2019-06-16 14:10:11 +02:00
Sébastien Helleu fe90a5ed4e core: replace newlines by spaces in argument "completion" of function hook_command (closes #538) 2019-06-16 08:14:24 +02:00
Sébastien Helleu 60c61c3962 irc: disable server reconnection when the server buffer is closed (closes #236) 2019-06-15 22:46:14 +02:00
Sébastien Helleu 0d9b7ec954 irc: strip spaces at beginning/end of addresses in server option "addresses" (closes #195) 2019-06-15 20:50:48 +02:00
Sébastien Helleu 9178156354 api: add argument "strip_items" in function string_split 2019-06-15 20:47:14 +02:00
Sébastien Helleu 866a29c7e6 core: check that string pointer is not NULL in function "string_shared_get" 2019-06-15 17:21:06 +02:00
Sébastien Helleu 95cbf3a48b irc: remove capability from cap_list when a client capability is disabled (issue #151) 2019-06-15 08:56:48 +02:00
Sébastien Helleu b6c304ac87 irc: fix display of enabled/disabled client capabilities received in command CAP ACK (closes #151) 2019-06-15 08:14:22 +02:00
Sébastien Helleu 31d0742aed doc: remove obsolete options for "brew install" command (user's guide) 2019-06-12 23:37:17 +02:00
Sébastien Helleu 7d24dd5a6c core: add contributor in AUTHORS.adoc 2019-06-12 23:34:36 +02:00
Johan Rylander 6c114bbba7 doc: remove obsolete options for "brew install" command (FAQ) 2019-06-12 23:33:33 +02:00
Sébastien Helleu 4b90549b86 doc: improve tree with log files in user's guide 2019-06-12 23:07:32 +02:00
Sébastien Helleu 04fd587fff exec: evaluate option exec.command.shell, change default value to "${env:SHELL}" (closes #1356) 2019-06-12 18:29:07 +02:00
Sébastien Helleu eb216de9b8 core: add contributor in AUTHORS.adoc 2019-06-07 21:36:58 +02:00
Sébastien Helleu 4d8785289d core: update ChangeLog 2019-06-07 21:36:28 +02:00
jesopo 4ea193c981 alias: remove default aliases /AME and /AMSG 2019-06-07 21:35:15 +02:00
Sébastien Helleu 7aa82db471 core: replace char "," by "~" in color codes to separate foreground from background (closes #1264) 2019-06-07 21:29:05 +02:00
Sébastien Helleu f065b43b71 doc: replace "cmake" by "CMake" 2019-06-07 21:14:17 +02:00
Sébastien Helleu 96d1276446 Version 2.6-dev 2019-06-06 21:03:56 +02:00
Sébastien Helleu 2904a2e811 Version 2.5 2019-06-06 20:43:20 +02:00
Sébastien Helleu c64cbe1a84 doc: update French auto-generated file 2019-06-06 20:09:08 +02:00
Sébastien Helleu 40f12ec20f core: add FUNDING.yml 2019-06-05 21:32:54 +02:00
Sébastien Helleu 4c9b61755b Version 2.5-rc2 2019-06-04 23:12:40 +02:00
Sébastien Helleu 22895f3f5e relay: set socket option SO_KEEPALIVE only for TCP sockets when creating the socket (issue #733) 2019-06-04 22:59:42 +02:00
Sébastien Helleu 479d234ced relay: set socket option SO_REUSEADDR only for TCP sockets when creating the socket (issue #733) 2019-06-04 22:54:00 +02:00
Sébastien Helleu 86d9cb1e41 relay: set socket option SO_REUSEADDR only for TCP sockets (issue #733) 2019-06-04 22:45:54 +02:00
Sébastien Helleu b4dadd6d98 relay: add UNIX domain socket completion for command /relay add (issue #733) 2019-06-04 22:29:18 +02:00
Sébastien Helleu bfbb511169 relay: fix typo in French translation of /help relay (issue #733) 2019-06-04 22:27:03 +02:00
Sébastien Helleu 22e6777aed relay: fix crash when deleting a relay (issue #733) 2019-06-04 22:19:39 +02:00
Sébastien Helleu 66011b4bee relay: fix truncated path when the unix socket path is longer than the authorized one (issue #733) 2019-06-04 22:19:31 +02:00
Sébastien Helleu 917b2ddf69 spell: add a warning if aspell.conf is still present (on first spell load) 2019-06-04 20:56:05 +02:00
Sébastien Helleu c4a482e067 core: sort changes by importance instead of commit date in release notes 2019-06-04 07:52:42 +02:00
Sébastien Helleu 5edf6ff1c5 doc: update Polish auto-generated files 2019-06-02 06:01:05 +02:00
Krzysztof Korościk a6f44be396 po: upated polish translation 2019-06-01 00:15:12 +02:00
Krzysztof Korościk 5e1174d135 doc: updated polish translation 2019-05-31 23:18:12 +02:00
weechatter 2ab08885be doc: update German documentation 2019-05-27 22:49:17 +02:00
Sébastien Helleu 99bb53f693 doc: add example of WeeChat command to setup the password in a WeeChat IRC relay client (user's guide) 2019-05-27 21:40:01 +02:00
Sébastien Helleu a599e0328b doc: disambiguate key binding "l", which is lower "L" (not "1") 2019-05-27 21:38:39 +02:00
weechatter f3f5bf1d31 core: update German translations 2019-05-26 15:00:15 +02:00
Sébastien Helleu 92a4948666 doc: add extra left/right margins on key sequences 2019-05-26 14:52:00 +02:00
Sébastien Helleu c0bb243541 doc: add links to WeeChat directories and files (user's guide) 2019-05-26 14:51:14 +02:00
Sébastien Helleu f1f1474fda doc: update Japanese auto-generated file 2019-05-26 13:22:17 +02:00
Sébastien Helleu b0554c7415 Merge pull request #1349 from l/master/translation/ja_JP
core: update Japanese translations
2019-05-26 13:21:35 +02:00
AYANOKOUZI, Ryuunosuke 26c844cd25 core: update Japanese translations 2019-05-26 09:00:00 +09:00
Sébastien Helleu ad40118469 doc: increase font size for key bindings 2019-05-25 16:10:23 +02:00
Sébastien Helleu bea63c7b60 doc: remove extra spaces before colons 2019-05-24 21:53:41 +02:00
Sébastien Helleu d3c3e97a0d doc: remove extra space in python dict (scripting guide) 2019-05-24 21:53:17 +02:00
Sébastien Helleu 7cf4585690 doc: fix styles in user's guide 2019-05-24 21:52:35 +02:00
Sébastien Helleu c9762c84e1 doc: fix style in bar items chapter (user's guide) 2019-05-23 21:12:40 +02:00
Sébastien Helleu c716ec1398 doc: update German auto-generated file 2019-05-16 22:02:52 +02:00
weechatter 403555d1be core: update German translations 2019-05-16 20:55:13 +02:00
Sébastien Helleu b6d56d4972 Version 2.5-rc1 2019-05-14 20:31:36 +02:00
Sébastien Helleu 34adcde2ff irc: add extra check on argument "nick" in functions "irc_nick_set_*" 2019-05-14 07:26:48 +02:00
Sébastien Helleu f6d6f7bac5 irc: fix crash when the nick in incoming message is not found in channel 2019-05-14 07:25:04 +02:00
Sébastien Helleu 90610c55c8 relay: remove useless condition
This fixes a compilation warning on FreeBSD.
2019-05-13 22:08:35 +02:00
Sébastien Helleu 828710737a core: update ChangeLog (closes #733, closes #1333) 2019-05-13 21:57:42 +02:00
Sébastien Helleu ec5aca81e7 relay: set address to "local" if not known 2019-05-13 21:57:23 +02:00
Sébastien Helleu 9ed89beaa0 core: update translations 2019-05-13 21:43:11 +02:00
Sébastien Helleu 8121747e7b relay: rename variables in function relay_config_check_path_length 2019-05-13 20:50:13 +02:00
Simmo Saan 5988d17d2d gui: simplify and revert FindNcurses using PATH_SUFFIXES for system default search 2019-05-13 14:18:02 +00:00
Simmo Saan 980d26956f gui: fix wide ncurses header on FreeBSD (issue #1343) 2019-05-13 13:48:39 +00:00
Sébastien Helleu 6f3e563f8b relay: fix comment 2019-05-12 22:57:25 +02:00
Sébastien Helleu 4d156ed8d7 doc: update chapter on relay unix domain sockets; add translations (user's guide) 2019-05-12 22:52:33 +02:00
Sébastien Helleu d1577b34da relay: set mode 700 on the unix socket file (only the owner can use it) 2019-05-12 22:27:43 +02:00
Sébastien Helleu ef1fcbd183 relay: do not overwrite a file if it's not a socket, display an error when the socket can not be created 2019-05-12 22:18:42 +02:00
Sébastien Helleu 585eb337e8 relay: evaluate path of unix socket relay 2019-05-12 21:53:23 +02:00
Sébastien Helleu b228ccdfc3 relay: rename function relay_config_check_path_len to relay_config_check_path_length 2019-05-12 21:39:22 +02:00
Sébastien Helleu ade52cdc7d relay: fix update of port/path variables in relay server when options relay.port.* and relay.path.* are changed with /set 2019-05-12 21:39:22 +02:00
Sébastien Helleu eacc08f2e1 relay: fix section used when the unix relay does not start with "unix." 2019-05-12 21:39:22 +02:00
Sébastien Helleu f273487688 relay: add unix relay format in /help relay 2019-05-12 21:39:22 +02:00
Sébastien Helleu 170c523c84 relay: remove extra newline at the end of /help relay 2019-05-12 21:39:22 +02:00
Sébastien Helleu c4230ecece relay: remove local variable ptr_server from function relay_config_check_path_cb (not needed) 2019-05-12 21:39:22 +02:00
Sébastien Helleu c1af2702b8 relay: improve message displayed on a new client 2019-05-12 21:39:22 +02:00
Sébastien Helleu 78fda01dd5 relay: improve message displayed when the relay is removed 2019-05-12 21:39:22 +02:00
Sébastien Helleu 9d04bc5801 relay: improve message displayed when the relay is added 2019-05-12 21:39:22 +02:00
Sébastien Helleu abe85999d8 relay: rename function relay_config_create_option_port to relay_config_create_option_port_path 2019-05-12 21:39:22 +02:00
Sébastien Helleu df3848e1f0 relay: fix code style 2019-05-12 21:39:22 +02:00
Sébastien Helleu c78fb8dc7c relay: rename variable "un" to "unix_socket" 2019-05-12 18:52:22 +02:00
Ryan Farley ffefd1b785 relay: add UNIX socket support (closes #733) 2019-05-12 18:51:13 +02:00
Nils Görs 5f87112ec5 doc: update German documentation 2019-05-12 14:28:40 +02:00
Sébastien Helleu 01795251f9 doc: fix typo in French scripting guide 2019-05-12 09:27:43 +02:00
Sébastien Helleu 1d3d0aa66e doc: add chapter about WeeChat architecture in scripting guide 2019-05-12 09:25:45 +02:00
Sébastien Helleu a24817b141 irc: rename server variable "nick_host" to "host" 2019-05-12 07:46:01 +02:00
Sébastien Helleu e1fb8433ce core: update ChangeLog (issue #1346) 2019-05-11 20:33:37 +02:00
Sébastien Helleu e3c38d7163 core: add detection of Ruby 2.6 in autotools 2019-05-11 20:32:45 +02:00
Sébastien Helleu b66655b1de Merge pull request #1346 from J0WI/patch-1
core: add detection for Ruby 2.6
2019-05-11 20:31:30 +02:00
J0WI 38b195214b core: add detection for Ruby 2.6 2019-05-11 13:31:34 +02:00
Sébastien Helleu 26ba04b454 irc: set buffer local variable "nick_host" when a channel buffer is opened 2019-05-10 22:25:56 +02:00
Sébastien Helleu 35237c8088 irc: add bar items "irc_nick", "irc_host" and "irc_nick_host" 2019-05-10 22:00:33 +02:00
Sébastien Helleu 06aa7034fb irc: add variable "nick_host" in server structure 2019-05-10 21:59:31 +02:00
Sébastien Helleu 2073408b86 irc: fix parsing of MODE command when there are colons after the first mode argument (closes #1296) 2019-05-10 19:29:58 +02:00
Simmo Saan 5910bcf3c8 gui: fix wbkgrndset for non-wide ncurses by fallback to wbkgdset (issue #1343)
cchar_t, setcchar and wbkgrndset are actually widec ncurses features,
not ext-colors features, but NCURSES_WIDECHAR doesn't accurately reflect
their existence so NCURSES_EXT_COLORS is used instead.
2019-05-04 14:31:11 +03:00
Simmo Saan c7b242ffd9 gui: readd color buffer table zero padding and dashes (issue #1343) 2019-05-02 21:16:57 +03:00
Simmo Saan bf1462d7a1 gui: change command line option "-c" color pairs table to match (issue #1343) 2019-05-02 21:06:42 +03:00
Simmo Saan f5f6cf028c gui: change color buffer pairs table to only show allocated pairs (issue #1343) 2019-05-02 19:30:22 +03:00
Simmo Saan d392b406c5 gui: increase ncurses color pair limit from 255 to 32767 (issue #1343) 2019-05-02 19:30:22 +03:00
Simmo Saan 08719963de gui: replace ncurses COLOR_PAIR attribute usage with special functions (issue #1343) 2019-05-02 19:30:22 +03:00
Sébastien Helleu 141b42817f core: update ChangeLog (issue #1341, issue #1342) 2019-05-01 08:35:07 +02:00
Sébastien Helleu 4ddfbc9714 core: add contributor in AUTHORS.adoc 2019-05-01 08:33:47 +02:00
Sébastien Helleu 2712f0991b core: replace CMAKE_INSTALL_PREFIX by ${prefix} in libdir (weechat.pc) 2019-05-01 08:32:36 +02:00
Sébastien Helleu 1102f8ccf0 Merge pull request #1342 from ryan-farley/libdir_fix
cmake: allow custom libdir (fix #1341)
2019-05-01 08:29:59 +02:00
Ryan Farley 8df3ad3d26 cmake: allow custom libdir (fix #1341)
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR
is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR
used to be set).
2019-04-25 16:53:55 -05:00
Sébastien Helleu 38535686f8 core: update ChangeLog 2019-04-20 11:00:29 +02:00
Sébastien Helleu ece92efd81 tests: add link with iconv library (if found)
This fixes a compilation error on FreeBSD.
2019-04-20 10:15:01 +02:00
Nils Görs 4718112c1c doc: update German documentation 2019-04-19 23:07:36 +02:00
Sébastien Helleu d9d1fa7210 doc: translate quickstart changes in other languages 2019-04-19 21:25:33 +02:00
Sébastien Helleu 7f00a51e19 Merge remote-tracking branch 'origin/pr/1340' 2019-04-19 20:55:23 +02:00
Michael Siegel 0b330762fa quick start guide: make two separate sections out of section 2 2019-04-19 18:18:47 +00:00
Nils Görs 88404452e0 doc: update German documentation 2019-04-19 07:12:45 +02:00
Sébastien Helleu ebff142511 core: add contributor in AUTHORS.adoc 2019-04-17 07:45:00 +02:00
Sébastien Helleu a706ee976c doc: translate quickstart changes in other languages 2019-04-17 07:44:03 +02:00
Sébastien Helleu 1e63cdcd9f Merge remote-tracking branch 'origin/pr/1339' 2019-04-17 07:32:03 +02:00
Michael Siegel ec337a7601 quick start guide: rearrange content in section 2
Put everything help-related first, then explain how to set options.
2019-04-16 22:02:19 +00:00
Sébastien Helleu 1582d923e6 core: use getopt to parse command line arguments
Multiple options can now be given in a single flag, for example:

  weechat -ast

Following formats were allowed for command line argument with a value:

  weechat -d /tmp/weechat
  weechat --dir /tmp/weechat

Now these extra formats are supported as well:

  weechat -d/tmp/weechat
  weechat --dir=/tmp/weechat
2019-04-14 13:35:47 +02:00
Sébastien Helleu cc2a6db335 doc: update Japanese auto-generated files 2019-04-14 13:21:09 +02:00
Sébastien Helleu cb28372dd7 Merge pull request #1337 from l/master/translation/ja_JP
core: update Japanese translations
2019-04-14 13:20:03 +02:00
Sébastien Helleu b376f9f013 Merge pull request #1336 from msiism/master
quick start guide: insert “the” where missing
2019-04-14 09:11:33 +02:00
Sébastien Helleu 0e2baa56cf doc: update German auto-generated files 2019-04-14 08:55:19 +02:00
AYANOKOUZI, Ryuunosuke 1876e84c82 core: update Japanese translations 2019-04-14 09:00:00 +09:00
Michael Siegel b4ecfa0159 quick start guide: insert “the” where missing 2019-04-13 20:22:17 +00:00
Nils Görs 2b65c351a8 core: update German translations 2019-04-13 21:18:56 +02:00
Sébastien Helleu 4063abc86b core: bump API version
This is required after changes on functions hook_info and info_get.
2019-04-13 20:48:42 +02:00
Sébastien Helleu dbf6691243 core: add contributor in AUTHORS.adoc (issue #931) 2019-04-13 20:48:11 +02:00
Sébastien Helleu ebf38f142e core: merge functions gui_line_prefix_is_same_nick_as_{previous|next} (issue #931) 2019-04-13 20:46:05 +02:00
Sébastien Helleu 573377e2d9 core: fix /help weechat.look.buffer_time_same 2019-04-13 20:38:19 +02:00
Adrian Bjugård 0b5bff9ef5 core: add option weechat.look.prefix_same_nick_middle (closes #930, closes #931) 2019-04-13 20:36:41 +02:00
Nils Görs 36fc3fdc3b core: update German translations 2019-04-13 18:48:08 +02:00
Nils Görs 92e3217cf5 core: update German translations 2019-04-13 17:40:47 +02:00
Simmo Saan 97e9046918 core: add option weechat.look.buffer_time_same (closes #1127) 2019-04-13 14:45:53 +02:00
Sébastien Helleu 63c992922c Merge pull request #1334 from msiism/master
Improve intro of “Start WeeChat” section
2019-04-13 13:54:27 +02:00
Sébastien Helleu 30768d4d24 trigger: add hook "info_hashtable" 2019-04-13 13:53:16 +02:00
Sébastien Helleu 8bc06ea101 trigger: add hook "info" 2019-04-13 08:52:40 +02:00
Sébastien Helleu 299c308f00 irc: fix memory leak in infos "irc_server_isupport" and "irc_server_isupport_value" 2019-04-13 08:42:45 +02:00
Sébastien Helleu 3d95217745 api: return allocated string in hook_info callback and function info_get 2019-04-13 08:42:45 +02:00
Michael Siegel beb04085d8 Improve intro of “Start WeeChat” section 2019-04-11 21:58:09 +00:00
Sébastien Helleu c80dc2a5ca Merge pull request #1332 from msiism/master
Two grammar fixes for WeeChat user’s guide
2019-04-11 22:40:56 +02:00
Michael Siegel 20c4cb5ae4 Improve grammar in “Screen layout” section 2019-04-11 19:46:57 +00:00
Michael Siegel 734d17993c Add missing “the” to footnote in “Files and directories” 2019-04-11 19:34:27 +00:00
Sébastien Helleu f701caf5bb doc: fix styles in user guide and plugin API reference 2019-04-11 20:56:35 +02:00
Sébastien Helleu 5440c9d91c doc: update German auto-generated file 2019-04-07 10:22:31 +02:00
Nils Görs 1f170bd7f3 core: update German translations 2019-04-06 22:15:58 +02:00
Sébastien Helleu a84c32cf30 xfer: add option xfer.network.speed_limit_recv (closes #269)
For consistency, the option xfer.network.speed_limit has been renamed to
xfer.network.speed_limit_send.
2019-04-06 14:11:07 +02:00
Sébastien Helleu 6ebd97cc63 core: fix typos in README 2019-04-04 20:50:49 +02:00
Sébastien Helleu f8d5776ec9 core: add links to Mastodon and Twitter in README 2019-04-04 20:49:23 +02:00
Sébastien Helleu a34233d54b core: remove link to Google+ in README 2019-04-04 20:49:06 +02:00
Nils Görs 544d006fb7 core: update German translations 2019-04-02 22:08:58 +02:00
Sébastien Helleu 6fa4494aae tests: add test with multiple wildcards in call to function string_match 2019-04-01 00:18:21 +02:00
Sébastien Helleu 5d02ff9a6d tests: add tests on function util_signal_search 2019-04-01 00:15:25 +02:00
Sébastien Helleu d2571ab53b tests: add tests on util_timeval functions 2019-04-01 00:07:32 +02:00
Sébastien Helleu 709334eede tests: add tests on function util_parse_delay with unit "ms" (milliseconds) 2019-04-01 00:02:49 +02:00
Sébastien Helleu 5f1b2722c8 doc: update Japanese auto-generated files 2019-03-31 23:54:50 +02:00
Sébastien Helleu 413aa499cc core: add documentation on command line debug options (in --help and man pages)
Command line debug options are now documented:

* --no-dlclose: do not call the function dlclose after plugins are unloaded
* --no-gnutls: do not call the init and deinit functions of GnuTLS library
* --no-gcrypt: do not call the init and deinit functions of Gcrypt library

These options must not be used in production, they're for debug only and can be
used with tools like Valgrind or electric-fence.
2019-03-31 23:53:54 +02:00
Sébastien Helleu c469f30be5 doc: fix generation of man page weechat-headless with autotools 2019-03-31 23:51:28 +02:00
Sébastien Helleu 5980a4deb8 Merge pull request #1328 from l/master/translation/ja_JP
core: update Japanese translations
2019-03-31 23:46:27 +02:00
AYANOKOUZI, Ryuunosuke 80becc9a29 core: update Japanese translations 2019-04-01 09:00:00 +09:00
Sébastien Helleu c77bffaa52 doc: update German auto-generated file 2019-03-29 23:27:45 +01:00
Sébastien Helleu dad451af34 core: send code coverage only with gcc, not with clang 2019-03-29 23:17:27 +01:00
Sébastien Helleu 3f80ae0ee8 core: add codecov badge 2019-03-29 23:17:09 +01:00
Sébastien Helleu d91954490f core: move coverage.info in parent directory 2019-03-29 23:01:27 +01:00
Sébastien Helleu 56d6b510e6 core: move upload of code coverage from build-test.sh to .travis.yml 2019-03-29 22:53:26 +01:00
Sébastien Helleu 33cefb7daa core: fix upload of code coverage to codecov.io 2019-03-29 22:46:13 +01:00
Sébastien Helleu 3e22bc116b core: upload code coverage on codecov.io in Travis CI 2019-03-29 22:37:03 +01:00
Nils Görs 4df26f391d core: update German translations 2019-03-29 22:34:33 +01:00
Sébastien Helleu b97fc2bd0f core: don't execute command scheduled by /repeat if the buffer does not exist any more 2019-03-29 20:42:00 +01:00
Sébastien Helleu 2571d17cb9 core: don't execute command scheduled by /wait if the buffer does not exist any more 2019-03-29 20:37:18 +01:00
Sébastien Helleu f1d18f4c26 core: use seconds by default in /repeat interval, allow unit for the interval 2019-03-29 20:31:19 +01:00
Sébastien Helleu fa5b1eed77 core: move parsing of /wait delay in a separate function, with unit tests 2019-03-29 20:17:26 +01:00
Sébastien Helleu b3cf270d1d core: allow text in addition to a command in command /repeat 2019-03-29 08:37:57 +01:00
Sébastien Helleu 8251f1fd13 core: update ChangeLog 2019-03-28 22:18:16 +01:00
Sébastien Helleu da43e95c75 relay: use option "delay" in call to command_options (closes #1327)
This fixes a crash when sending "/plugin reload relay" from a relay client.
2019-03-28 22:07:25 +01:00
Sébastien Helleu 4e9e5f2652 api: add option "delay" in hashtable options of function command_options (issue #1327) 2019-03-28 22:07:04 +01:00
Sébastien Helleu 2f37de9148 core: make "input_commands_allowed" work with /wait and /repeat commands (issue #928) 2019-03-28 18:45:22 +01:00
Sébastien Helleu 9b4fa10923 core: set CMake minimum version required to 3.0
This is required for add_library() with INTERFACE library type.
2019-03-25 08:52:53 +01:00
Sébastien Helleu c713a0e475 tests: fix scripting API tests on 32-bit arch
The problem is that on 32-bit arch (like GNU/Hurd), the number 42000000000000
is converted to 42000000000000L in Python, which is causing troubles in other
languages like Perl.

The fix is to use a smaller number. Such large size for function
string_format_size is tested in the C++ test suite anyway.
2019-03-25 00:18:55 +01:00
Sébastien Helleu b04d8934ee tests: fix style in CMake file 2019-03-24 13:43:19 +01:00
Sébastien Helleu 96d3a3834c doc: improve description of CMake option ENABLE_PYTHON3 in user's guide 2019-03-24 09:38:43 +01:00
Sébastien Helleu 429fafd42f doc: fix typo Gnutls -> GnuTLS in user's guide 2019-03-24 09:38:43 +01:00
Sébastien Helleu 6c41e627cd doc: fix description of man/doc CMake options in user's guide 2019-03-24 09:38:43 +01:00
Sébastien Helleu 2612adf899 core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
This option is OFF by default and should be enabled only for tests, to measure
test coverage.
2019-03-24 09:38:43 +01:00
Sébastien Helleu 47c4329404 debian: update changelog 2019-03-23 22:15:18 +01:00
Sébastien Helleu ecfe6756f8 core: switch from Ubuntu Trusty to Xenial in Travis CI 2019-03-23 22:00:26 +01:00
Sébastien Helleu e68754aafe lua: add detection of Lua 5.3 with autotools 2019-03-23 22:00:03 +01:00
Sébastien Helleu 34bf68d38e tests: remove extra output before/after tests 2019-03-23 20:08:17 +01:00
Sébastien Helleu ff32112396 irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ssl_fingerprint option 2019-03-21 23:36:24 +01:00
Sébastien Helleu 2da148eb55 core: add Haiku as supported platform in README 2019-03-21 22:02:31 +01:00
Nils Görs 21e227020f core: update German translations 2019-03-19 23:18:33 +01:00
Sébastien Helleu bb017b2613 irc: display an error with /allchan -current or /allpv -current if the current buffer is not an irc buffer (closes #1325) 2019-03-19 20:37:06 +01:00
Sébastien Helleu 766bea3f9e tests: remove value for first #define in headers 2019-03-19 20:33:30 +01:00
Sébastien Helleu c4bf528b4e php: remove value for first #define in headers 2019-03-19 20:33:16 +01:00
Sébastien Helleu 8f79b1c0fc doc: add missing keys Ctrl+F1 and Ctrl+F2 for buflist (FAQ) 2019-03-19 20:32:27 +01:00
Sébastien Helleu f6c5061590 irc: fix update of channels modes with arguments when joining a channel (closes #1324) 2019-03-18 20:39:42 +01:00
Sébastien Helleu 1ef7a55e72 core: fix typo: Weechat -> WeeChat 2019-03-17 18:34:21 +01:00
Sébastien Helleu 3ee87bcfce core: fix description of Cygwin "weechat" package 2019-03-17 18:12:54 +01:00
Sébastien Helleu 58f4c37a63 core: fix version numbering scheme in cygport file 2019-03-17 14:40:36 +01:00
Sébastien Helleu 413221bc9e doc: update German auto-generated file 2019-03-12 22:58:54 +01:00
Nils Görs 840c815bb0 Merge branch 'master' of github.com:weechat/weechat 2019-03-12 22:43:03 +01:00
Nils Görs 27f33624bd core: update German translations 2019-03-12 22:42:39 +01:00
Sébastien Helleu 78cabc2e06 relay: fix compilation warning when gnutls is not found 2019-03-12 22:26:55 +01:00
Sébastien Helleu 5c2c19c0cd irc: fix compilation warning when gnutls is not found 2019-03-12 22:26:28 +01:00
Sébastien Helleu 99e48d7fa3 core: set max length to 4096 for /secure passphrase (closes #1323) 2019-03-12 21:30:01 +01:00
Sébastien Helleu bc6c1f274c core: improve message displayed when a command is not allowed (issue #928)
The whole command with arguments and the full buffer name are now displayed in
the warning message (in debug mode only).
2019-03-11 21:12:40 +01:00
Sébastien Helleu 92e176ab89 relay: use empty value by default for option relay.weechat.commands (issue #928)
The relay client is supposed to be safe by default, and the relay connection
should be protected by the different ways (restriction on IP address, SSL,
strong password, Time-based One-Time Password, local bind address and use of
SSH tunnel…).

So this option lets the user add extra security by allowing only some
commands (whitelist), or allowing any commands except a list of given
commands (blacklist).
2019-03-11 21:12:23 +01:00
Sébastien Helleu e44c4904c3 relay: add forbidden commands /key and /trigger in weechat protocol (issue #928) 2019-03-10 22:58:50 +01:00
Sébastien Helleu 508f224af9 relay: add forbidden commands /wait and /repeat in weechat protocol (issue #928) 2019-03-10 18:29:22 +01:00
Sébastien Helleu 2b70d71aa1 core: replace argument "keep_eol" by "flags" in function string_split (closes #1322) 2019-03-10 18:29:16 +01:00
Sébastien Helleu 8aa5f5375e core: add value -1 for keep_eol in function string_strip (issue #1322)
The value -1 means it's a standard split, but empty items are kept, and
separators are not removed at beginning/end of string.
2019-03-09 21:56:05 +01:00
Sébastien Helleu 79d0910c08 doc: update German auto-generated file 2019-03-09 20:51:31 +01:00
Nils Görs b925ed5950 core: update German translations 2019-03-09 19:34:40 +01:00
Sébastien Helleu dd44c1db16 relay: add extra forbidden commands in weechat protocol (issue #928)
Commands were already forbidden (option relay.weechat.commands):

- /exec
- /upgrade
- /quit

These extra commands are now forbidden by default:

- /fset
- /set
- /unset
- /plugin
- /script
- /python
- /perl
- /ruby
- /lua
- /tcl
- /guile
- /javascript
- /php
- /secure
2019-03-09 17:54:06 +01:00
Sébastien Helleu 2f5aa3b509 core: use bitwise shift operator to define flag constants 2019-03-02 11:09:52 +01:00
Sébastien Helleu 76290729b7 core: add contributor in AUTHORS.adoc (issue #1319) 2019-03-01 07:42:32 +01:00
Sébastien Helleu b9044f5ca1 core: update ChangeLog (issue #1319) 2019-03-01 07:41:24 +01:00
Sébastien Helleu 7b43d2fe43 Merge pull request #1319 from phy1729/quote-nick
irc: quote argument to NICK
2019-03-01 07:40:42 +01:00
Matthew Martin 77a9322bbf irc: quote argument to NICK 2019-02-28 18:55:26 -06:00
Nils Görs 6a0e9818a9 core: update German translations 2019-02-28 21:41:09 +01:00
Sébastien Helleu 791406f26f doc: fix typo in FAQ 2019-02-28 21:38:05 +01:00
Sébastien Helleu c91e47c414 script: use SHA-512 instead of MD5 for script checksum
Related to weechat/weechat.org@66a8b72ab1
2019-02-28 20:55:10 +01:00
Sébastien Helleu d290de2cba relay: add option relay.weechat.commands (closes #928) 2019-02-28 20:24:25 +01:00
Sébastien Helleu 80b980b2af api: add function command_options (issue #928) 2019-02-28 20:19:18 +01:00
Sébastien Helleu 64043d5a6c php: fix memory leak in functions using hashtable parameters
Functions fixed in PHP plugin:

- string_eval_expression
- string_eval_path_home
- key_bind
- hook_process_hashtable
- hook_hsignal_send
- info_get_hashtable
- hdata_update
2019-02-27 07:51:02 +01:00
Sébastien Helleu c079cc124e doc: fix typo in plugin API reference 2019-02-27 07:46:33 +01:00
Sébastien Helleu 55501b84d6 core: remove function gui_buffer_match_list_split, use function string_match_list 2019-02-27 07:46:29 +01:00
Sébastien Helleu 17a218e6b6 core: use function string_match_list for the autoload of plugins 2019-02-27 07:46:26 +01:00
Sébastien Helleu c2859096cb api: add function string_match_list 2019-02-27 07:46:22 +01:00
Sébastien Helleu e473161c9f core: remove parentheses after function names in ChangeLog 2019-02-26 20:02:21 +01:00
Sébastien Helleu e6850dcf9e Merge pull request #1318 from arza-zara/typos
fset: fix typo in /help fset.format.option2
2019-02-26 19:55:16 +01:00
arza 2af3157dc2 fset: fix typo in /help fset.format.option2 2019-02-26 19:33:03 +02:00
Sébastien Helleu a10769f0f8 doc: move spell chapter after scripts in user's guide 2019-02-26 08:01:42 +01:00
Sébastien Helleu 4ef149b591 core: clarify changes on option weechat.completion.nick_completer in release notes 2019-02-25 18:49:46 +01:00
Sébastien Helleu f1d30dc0b1 core: fix alignment of images in README 2019-02-24 17:03:01 +01:00
Sébastien Helleu a817327b0e core: add WeeChat logo in README 2019-02-24 16:14:57 +01:00
Sébastien Helleu 471f9c61da relay: remove obsolete comment 2019-02-24 16:13:04 +01:00
Sébastien Helleu 466268d5ef doc: update German auto-generated files 2019-02-24 10:03:30 +01:00
Nils Görs 485f5d3e87 core: update German translations 2019-02-23 23:25:22 +01:00
Sébastien Helleu 8eb24f4338 core: update ChangeLog (issue #1055, issue #1312) 2019-02-23 13:41:49 +01:00
Sébastien Helleu 4a13e1ac7e core: update translations (issue #1055, issue #1312) 2019-02-23 13:40:23 +01:00
Simmo Saan c84ac65954 core: add /filter addreplace (closes #1055) 2019-02-23 13:37:46 +01:00
Sébastien Helleu 525417c2c6 core: update ChangeLog (issue #1309, issue #1311) 2019-02-23 11:23:14 +01:00
Sébastien Helleu 68b56291f9 core: merge two comments in a single one (issue #1309, issue #1311) 2019-02-23 11:22:58 +01:00
Sébastien Helleu 7b79fbbd09 Merge remote-tracking branch 'origin/pr/1311' 2019-02-23 11:17:02 +01:00
Sébastien Helleu bdc905df16 core: replace "Desired behavior" by "Expected behavior" in bug report template 2019-02-22 21:46:24 +01:00
Sébastien Helleu baa598276c fset: fix slow refresh of fset buffer during /reload (closes #1313) 2019-02-22 21:33:39 +01:00
Sébastien Helleu 355843b27a core: move "Current behavior" after "Steps to reproduce" in bug report template 2019-02-22 21:00:55 +01:00
Simmo Saan 8ac4a75969 gui: fix use after free bug in /filter del (issue #1309)
Deleting (freeing) a filter also frees its buffers, so refilter must
happen before freeing. Disabling the filter temporarily fixes the bug.

This fix disables the filter before filter_removing signal, though.
2019-02-21 16:15:58 +02:00
Simmo Saan 91936ff583 gui: only refilter affected buffers on filter change (closes #1309) 2019-02-21 16:03:15 +02:00
Sébastien Helleu 33581dd1a7 doc: update German auto-generated files 2019-02-20 08:40:34 +01:00
Nils Görs d2ac854bfa core: update German translations 2019-02-20 08:36:58 +01:00
Nils Görs dd8969413d core: update German translations 2019-02-20 08:25:50 +01:00
Sébastien Helleu 21c02a0378 core: add command to change key alt+s in release notes 2019-02-19 22:42:11 +01:00
Sébastien Helleu 8344f0addc core: add command /spell and default key alt+s in release notes 2019-02-19 22:40:11 +01:00
Sébastien Helleu 7b0507bb47 core: add reason of aspell renaming in release notes 2019-02-19 22:35:08 +01:00
Sébastien Helleu cccd4f07e5 core: add extra instructions about spell plugin in release notes 2019-02-19 22:04:17 +01:00
Sébastien Helleu 3368557cc7 core: update translations (issue #1299) 2019-02-19 21:38:53 +01:00
Sébastien Helleu 27481df277 core: force new API version to prevent the old aspell plugin to load (issue #1299) 2019-02-19 21:21:20 +01:00
Sébastien Helleu 57aa9e060e spell: rename "aspell" plugin to "spell" (issue #1299)
The following things have been renamed:

- file aspell.conf -> spell.conf
- options aspell.* -> spell.*
- bar item aspell_dict -> spell_dict
- bar item and local variable aspell_suggest -> spell_suggest
- info aspell_dict -> spell_dict
2019-02-19 21:15:56 +01:00
Sébastien Helleu e8159298ad core: update ChangeLog (issue #1306, issue #1307) 2019-02-19 20:41:34 +01:00
Sébastien Helleu 9985af8b5d Merge remote-tracking branch 'origin/pr/1307' 2019-02-19 20:38:14 +01:00
Sébastien Helleu 6a9937f08a core: fix compilation on Mac OS (closes #1308)
This adds the missing include "unistd.h" for function "mkdtemp" (required on
Mac OS only).
2019-02-18 19:28:20 +01:00
Simmo Saan 62dfe2ac63 aspell: optimize stripping of nick_completer (issue #1306) 2019-02-18 11:48:48 +02:00
Simmo Saan d512cc324a aspell: strip trailing spaces from nick_completer (closes #1306) 2019-02-18 11:19:42 +02:00
Sébastien Helleu 0a6172c128 Version 2.5-dev 2019-02-17 08:46:20 +01:00
Sébastien Helleu ff6ae69c3f Version 2.4 2019-02-17 08:20:07 +01:00
Sébastien Helleu c76b6c024e core: add contributor in AUTHORS.adoc (issue #1304) 2019-02-16 08:27:30 +01:00
Sébastien Helleu 46a5e1d291 Merge pull request #1304 from ZethJack/patch-1
Fix czech translation kick message
2019-02-16 08:24:23 +01:00
ZethJack 4d4b254d7a Fix czech translation kick message
original: <op> byl vykopnut <user> results in confusing message caused by mistranslation: op was kicked user
proposed fix: <op> vykopnul <user> should result in more understandeable message: op has kicked user
2019-02-15 11:09:01 +01:00
Sébastien Helleu 7d4da3f9e4 doc: update Polish auto-generated files 2019-02-09 21:38:34 +01:00
Krzysztof Korościk 7caaf255b4 updated polish translation 2019-02-09 21:00:59 +01:00
Krzysztof Korościk c2a94d93c5 doc: updated polish translation 2019-02-09 19:50:01 +01:00
Sébastien Helleu 5adf94ffbe Version 2.4-rc1 2019-02-04 20:48:41 +01:00
Sébastien Helleu 87932bcb57 irc: fix parsing of whois messages in notify 2019-02-04 20:47:59 +01:00
Sébastien Helleu a511771802 core: update translations 2019-02-03 19:02:40 +01:00
Sébastien Helleu 4c05648faf Merge pull request #1301 from arza-zara/typos
Fix typo "part or words" -> "part of words"
2019-02-03 19:00:11 +01:00
arza 54c7afa6e2 Fix typo "part or words" -> "part of words" 2019-02-03 19:32:09 +02:00
Sébastien Helleu 82da8a79c4 Merge pull request #1300 from l/master/translation/ja_JP
core: update Japanese translations
2019-02-03 13:42:08 +01:00
AYANOKOUZI, Ryuunosuke c4c4f4d1ef core: update Japanese translations 2019-02-03 09:00:00 +09:00
Sébastien Helleu 5d43b5b80f core: add "travis_retry" on commands that can fail due to network error (Travis CI) 2019-01-31 21:42:07 +01:00
Sébastien Helleu 6932810c70 doc: remove obsolete note about gcrypt in chapter on IRC SASL authentication (user's guide) 2019-01-31 21:34:02 +01:00
Sébastien Helleu 6e09499163 irc: fix crash in parsing of IRC channel modes (issue #1296, closes #1297)
Regression was introduced by commit b38b2abe3b.
2019-01-31 21:13:58 +01:00
Sébastien Helleu b38b2abe3b irc: fix parsing of MODE, 341 (invite) and CHGHOST commands when there are colons (closes #1296) 2019-01-29 21:10:49 +01:00
Sébastien Helleu c869aa3809 relay: fix crash on /upgrade when the real IP is not set (closes #1294) 2019-01-28 20:37:38 +01:00
Nils Görs 50415dfbb7 doc: update German documentation 2019-01-27 15:00:29 +01:00
Sébastien Helleu b955b19388 doc: add example with command "/input set_unread" in question about terminal focus (issue #1295) 2019-01-27 13:23:20 +01:00
Sébastien Helleu 7e547ee70b aspell: look for suggestions only if the misspelled word has changed (closes #1175) 2019-01-27 10:33:12 +01:00
Nils Görs 68bdc5fb09 aspell: set a misspelled word without suggestions in local variable "aspell_suggest" (closes #1288) 2019-01-26 22:38:22 +01:00
Sébastien Helleu 5a681f3c5e core: fix sentence in release notes 2019-01-26 15:34:56 +01:00
Sébastien Helleu 1a34f87163 core: do not automatically add a space when completing "nick:" at the beginning of command line
The space can be added in option weechat.completion.nick_completer
(this is now the default value of the option):

  /set weechat.completion.nick_completer ": "
2019-01-26 14:54:57 +01:00
Sébastien Helleu 4d9fd4c4aa core: fix compilation of empty regular expression (not allowed on FreeBSD) 2019-01-26 10:21:39 +01:00
Sébastien Helleu 6d217ca8c5 doc: fix regex examples to be compatible with FreeBSD
The following special sequences are not supported in regular expressions on
FreeBSD:

- "\w": replaced with "[a-zA-Z0-9_]"
- "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice
  only spaces could be a problem when we use this sequence).
2019-01-26 10:15:35 +01:00
Sébastien Helleu 73a4901fe1 tests: fix evaluation tests on FreeBSD
The following special sequences are not supported in regular expressions on
FreeBSD:

- "\w": replaced with "[a-zA-Z0-9_]"
- "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice
  only spaces could be a problem when we use this sequence).
2019-01-26 10:00:47 +01:00
Sébastien Helleu 507dfec781 tests: fix UTF-8 tests on FreeBSD
Tests for size on screen are made on U+2EE9 (CJK Radical Simplified Yellow)
instead of U+24B62 (CJK Unified Ideograph-24B62) which returns a length of 1 on
FreeBSD and 2 on Linux.
2019-01-26 09:57:30 +01:00
Sébastien Helleu 7e0da4b68a script: add missing input actions "A" and "v" in /help script 2019-01-20 20:13:54 +01:00
Sébastien Helleu eb0828ec6c tests: fix link of tests on GNU Hurd and FreeBSD 2019-01-20 16:53:00 +01:00
Sébastien Helleu 142d312ad7 tests: add missing include of stdio.h 2019-01-20 15:59:04 +01:00
Sébastien Helleu 98249ada86 tests: add tests on IRC color functions
Functions tested:

- irc_color_decode
- irc_color_encode
- irc_color_decode_ansi
2019-01-20 15:17:21 +01:00
Sébastien Helleu fec7d38e3d irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence 2019-01-20 15:07:21 +01:00
Sébastien Helleu 85ee15d4e2 irc: fix encoding of italic attribute when colors are removed 2019-01-20 15:04:52 +01:00
Sébastien Helleu ada2994062 buflist: add alternate key codes for alt-F1/alt-F2 (xterm) 2019-01-20 01:33:47 +01:00
Sébastien Helleu a199d243ca buflist: fix typo on key code for ctrl-F2 2019-01-20 01:32:09 +01:00
Sébastien Helleu e847068a3c buflist: add default keys ctrl-F1/F2 to scroll up/down one page in buflist (same action as F1/F2) 2019-01-20 01:29:33 +01:00
Sébastien Helleu 9d6ebeda0d core: add default keys ctrl-F11/F12 to scroll up/down one page in nicklist (same action as F11/F12) 2019-01-20 01:29:28 +01:00
Sébastien Helleu 09a124c226 buflist: add alternate key codes for F1/F2 and alt-F1/alt-F2 (compatibility with terminals) 2019-01-20 01:09:26 +01:00
Sébastien Helleu 7d442f8492 irc: fix compiler warning on GNU Hurd
This fixes the following warning:

irc-ctcp.c:411:46: warning: '%s' directive output may be truncated writing up
to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
2019-01-13 20:14:11 +01:00
Sébastien Helleu a294b791a8 doc: add missing file test-irc-protocol.cpp in developer's guide 2019-01-13 20:13:30 +01:00
Sébastien Helleu 4fab6dcd05 irc: do not use strptime to parse a time as float number (issue #1289) 2019-01-13 15:25:22 +01:00
Sébastien Helleu 1b26d0608f core: update ChangeLog 2019-01-13 14:48:16 +01:00
Sébastien Helleu 34a6fce134 tests: add tests on function irc_protocol_parse_time 2019-01-13 14:47:35 +01:00
Sébastien Helleu 6343924c16 irc: check return code of calls to strptime (issue #1289) 2019-01-13 14:46:43 +01:00
Nils Görs 1dae5827c6 doc: update German documentation 2019-01-12 22:36:57 +01:00
Sébastien Helleu 0fe6adb269 doc: add question about autojoin option in FAQ (closes #1287) 2019-01-12 21:49:57 +01:00
Sébastien Helleu 8009094717 irc: fix parsing of "time" message tag on FreeBSD (issue #1289) 2019-01-11 22:40:06 +01:00
Sébastien Helleu c96e2f3593 tests: add tests on function irc_config_check_autojoin 2019-01-11 22:27:28 +01:00
Sébastien Helleu 8629bf4b06 debian: switch debhelper compatibility to 12 2019-01-08 22:07:10 +01:00
Sébastien Helleu f8df26f57f debian: bump Standards-Version to 4.3.0 2019-01-08 21:57:31 +01:00
Sébastien Helleu 2b0057239b core: update copyright dates 2019-01-01 15:40:51 +01:00
Sébastien Helleu 169a84384c core: remove obsolete directory from .gitattributes 2018-12-24 15:57:29 +01:00
Sébastien Helleu 4912c46593 doc: update German auto-generated file 2018-12-22 11:03:55 +01:00
Nils Görs b3b58f89a4 core: update German translations 2018-12-22 10:19:49 +01:00
Sébastien Helleu f3db256ce4 core: add note about option sec.crypt.passphrase_file in /help secure (issue #1286) 2018-12-22 09:37:25 +01:00
Sébastien Helleu 237bf80920 doc: update German auto-generated files 2018-12-14 07:31:57 +01:00
Nils Görs cf5aaec3be core: update German translations 2018-12-13 22:38:26 +01:00
Sébastien Helleu d9849b4efe doc: add example of aspell dict for all channels of an IRC server (user's guide) (closes #1284) 2018-12-13 21:24:12 +01:00
Sébastien Helleu c214ca603f doc: update Japanese auto-generated files 2018-12-09 17:06:04 +01:00
Sébastien Helleu 1cd0fb4882 Merge pull request #1283 from l/master/translation/ja_JP
core: update Japanese translations
2018-12-09 17:04:51 +01:00
AYANOKOUZI, Ryuunosuke 8964e994c6 core: update Japanese translations 2018-12-09 09:00:00 +09:00
Sébastien Helleu 4034d07d5a core: use https for links in comments 2018-12-01 08:21:49 +01:00
Nils Görs 89f1f61458 doc: update German documentation 2018-11-30 07:42:25 +01:00
Sébastien Helleu d6e4bbf244 doc: add "WeeChat" term for core command /filter (FAQ) 2018-11-29 23:19:16 +01:00
Sébastien Helleu 342261d35b core: use https for all links where secured http is supported 2018-11-29 23:18:55 +01:00
Sébastien Helleu 4712d0bb06 core: use https for links to GNU GPL license 2018-11-29 23:16:07 +01:00
Sébastien Helleu d9fbf59c6b core: remove obsolete links to wiki in release notes 2018-11-29 23:15:23 +01:00
Nils Görs f6498c14a0 doc: update German documentation 2018-11-24 18:36:27 +01:00
Sébastien Helleu 4803cd62af doc: translate FAQ changes in other languages (issue #1280) 2018-11-19 21:00:21 +01:00
Filip H.F. "FiXato" Slagter fc0a3ef10a doc: add question "How can I disable highlights for specific nicks?" in FAQ (closes #1280) 2018-11-19 20:59:31 +01:00
Sébastien Helleu d8b2be8f91 doc: update German auto-generated file 2018-11-19 20:11:07 +01:00
Nils Görs 968d4ce2af doc: update German documentation 2018-11-18 14:43:16 +01:00
Nils Görs b08155410d Merge branch 'master' of github.com:weechat/weechat 2018-11-18 12:37:46 +01:00
Sébastien Helleu d26380a9bb core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272) 2018-11-18 11:04:29 +01:00
Sébastien Helleu 3c0f72d48b doc: translate FAQ changes in other languages (issue #1272) 2018-11-18 10:55:39 +01:00
Filip H.F. "FiXato" Slagter d8fe89f7e9 doc: spelling/grammar fixes & documentation links added (FAQ) (closes #1272)
A number of spelling/grammar fixes, some restructured sentences to improve
readability and replacement of previous names for Apple Macintosh's OS with the
current 'macOS' name.

Also added some more references to User's guide documentation sections.

Also clarified that a window can not only display 1 buffer, but also a set of
merged buffers.

Finally, added a version note about the /script command.
2018-11-18 10:52:08 +01:00
Nils Görs 4e9203bb7d core: update German translations 2018-11-17 11:58:28 +01:00
Sébastien Helleu 916d99ad40 exec: add option exec.command.shell to customize the shell used with /exec -sh 2018-11-17 11:39:28 +01:00
Sébastien Helleu c94a8f4c68 exec: fix command displayed in debug message 2018-11-17 11:17:37 +01:00
Nils Görs ba9b087ca3 core: update German translations 2018-11-17 11:05:31 +01:00
Sébastien Helleu af382ffb91 core: add test on some WeeChat command line options on Travis CI 2018-11-17 10:46:12 +01:00
Sébastien Helleu 85d7c9b6c5 core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit) 2018-11-17 10:36:58 +01:00
Sébastien Helleu b480c7e7c0 core: add missing include of time.h in wee-secure.h
This fixes a compilation issue on FreeBSD 11.0.
2018-11-17 00:40:34 +01:00
Sébastien Helleu 1355a26920 doc: update German auto-generated file 2018-11-16 23:04:26 +01:00
Nils Görs ecd26fb678 core: update German translations 2018-11-16 16:26:30 +01:00
Sébastien Helleu 34fd37fa50 core: fix forced highlight on messages sent to other buffers (closes #1277)
The C compiler flag "-fsigned--char" is used to force "char" data type to be
always signed (which is what WeeChat expects).

On ARM systems, char is unsigned by default, which is causing problems when
WeeChat stores -1 in the notify_level (type: char).
2018-11-14 22:23:34 +01:00
Sébastien Helleu 638ed2ecf5 core: fix C++ compiler flags (cmake) 2018-11-14 22:06:35 +01:00
Sébastien Helleu 88adc5d703 doc: add missing variable "pointer" to make C compiler really happy (plugin API reference) 2018-11-13 20:48:04 +01:00
Sébastien Helleu b2d9b2f0ba doc: fix name of compiled plugin example (plugin API reference) 2018-11-13 20:43:26 +01:00
Sébastien Helleu 3766beb13e doc: update German auto-generated files 2018-11-12 22:54:56 +01:00
Nils Görs c78f322c9e core: update German translations 2018-11-12 22:44:30 +01:00
Sébastien Helleu 37a0cd0017 core: improve help on option irc.look.server_buffer (closes #1269) 2018-11-12 21:02:25 +01:00
Sébastien Helleu 39abe2fcd9 core: improve help on option weechat.look.nick_color_stop_chars (closes #1268) 2018-11-12 20:57:55 +01:00
Sébastien Helleu de8d640958 relay: add support of close frame in websocket connection (closes #1281) 2018-11-12 20:43:48 +01:00
Sébastien Helleu 594917bff4 core: add fix of memory leak in ChangeLog 2018-11-08 08:42:00 +01:00
Sébastien Helleu 6cdcebed8c buflist: add variable ${number2}, always set with the indented buffer number 2018-11-05 22:21:03 +01:00
Filip H.F. "FiXato" Slagter 5d338fee4e Added documentation links to README 2018-11-04 22:04:39 +01:00
Sébastien Helleu 0285ea785e Merge pull request #1270 from FiXato/patch-1
Make WeeChat screenshots link more descriptive.
2018-11-04 21:57:43 +01:00
Sébastien Helleu 5a132f06fd core: replace ellipses by "etc." (in English) and "etc..." by "etc." in French 2018-11-04 21:53:11 +01:00
Sébastien Helleu dd0b3c5692 core: replace "web site" by "website" 2018-11-04 21:32:35 +01:00
Sébastien Helleu fe586ae662 core: add contributor in AUTHORS.adoc (issue #1273) 2018-11-04 16:55:34 +01:00
Sébastien Helleu ba3d805167 Merge pull request #1273 from half-duplex/master
Fix regex in relay.network.allowed_ips doc
2018-11-04 16:46:11 +01:00
Sébastien Helleu d8ad7e6a8d tests: add missing file test-secure.cpp in autotools 2018-11-04 15:03:54 +01:00
Sébastien Helleu cb73c168b5 core: update translations 2018-11-04 14:50:53 +01:00
Sébastien Helleu dc7d99fa73 core: improve description of infos "totp_generate" and ""totp_validate" 2018-11-04 14:50:53 +01:00
Sébastien Helleu 738535e7f6 relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol 2018-11-04 14:50:53 +01:00
Sébastien Helleu f02fc06dd0 doc: fix styles in relay protocol 2018-11-04 14:50:53 +01:00
Sébastien Helleu ed3f281ba9 api: add functions string_base_{encode,decode}, remove functions string_{encode,decode}_base64 2018-11-04 14:49:11 +01:00
Sébastien Helleu a8b6fa08b7 core: split plugin-api.c into 2 files (API wrappers and infos/infolists) 2018-11-03 23:01:46 +01:00
Sébastien Helleu 6d72868e15 api: return integer in function string_encode_base16 2018-11-02 14:20:16 +01:00
Sébastien Helleu 8848b0e22a api: return integer in function string_encode_base64 2018-11-02 14:09:23 +01:00
Sébastien Helleu 74a17d821f tests: add tests on functions secure_encrypt_data and secure_decrypt_data 2018-11-02 14:06:14 +01:00
Sébastien Helleu d0ea801724 core: add support of TOTP generation/validation (Time-based One-Time Password) 2018-11-02 14:06:14 +01:00
Sébastien Helleu 172736989a doc: add missing source files for tests (developer's guide) 2018-10-27 10:55:57 +02:00
Sébastien Helleu 70c2e27110 core: split wee-secure.c into 3 files (secured data functions, buffer and config) 2018-10-27 08:54:10 +02:00
Sébastien Helleu 3f067f2065 buflist: fix warning displayed when script buffers.pl is loaded (closes #1274) 2018-10-27 08:52:20 +02:00
Sébastien Helleu a6a90aebff doc: add commands to update .po files (developer's guide) 2018-10-25 08:00:14 +02:00
Trevor Bergeron 9121e5812c Fix regex in relay allowed_ips doc 2018-10-23 00:33:01 -04:00
Filip H.F. "FiXato" Slagter c2a2146ad8 Make WeeChat screenshots link more descriptive.
Restructured sentence to avoid using self-non-descriptive 'this page' anchors.
2018-10-23 02:34:56 +02:00
Sébastien Helleu 99ae73066c Version 2.4-dev 2018-10-21 12:53:37 +02:00
Sébastien Helleu 6620f40efa Version 2.3 2018-10-21 11:12:41 +02:00
Sébastien Helleu 438313d331 core: replace call to strncpy by memcpy
This fixes a gcc warning: "warning: ‘strncpy’ output truncated before
terminating nul copying as many bytes from a string as its length
[-Wstringop-truncation]".
2018-10-21 08:54:04 +02:00
Sébastien Helleu eb77c78dad irc: fix uninitialized variables in function irc_protocol_cap_sync 2018-10-21 08:53:22 +02:00
Sébastien Helleu 1a3bd49a46 debian: update changelog 2018-10-21 08:30:35 +02:00
Sébastien Helleu e3e4c89b5e debian: fix copyright Format URI 2018-10-21 08:28:50 +02:00
Sébastien Helleu 5bc37eeee3 debian: bump Standards-Version to 4.1.5 2018-10-21 08:22:31 +02:00
Sébastien Helleu 4939e9659f doc: update Polish auto-generated files 2018-10-19 20:24:35 +02:00
Krzysztof Korościk e9be61b133 po: updated polish translation 2018-10-19 20:17:56 +02:00
Krzysztof Korościk 585257196d doc: updated polish translation 2018-10-19 19:46:23 +02:00
Sébastien Helleu e7cb025e68 php: add detection of PHP 7.3 2018-10-16 23:02:13 +02:00
Sébastien Helleu 9bc9b4c86b core: add contributor in AUTHORS.adoc (issue #1267) 2018-10-14 21:05:09 +02:00
Sébastien Helleu f17cee75dc core: update ChangeLog (issue #1267) 2018-10-14 21:03:56 +02:00
Sébastien Helleu c5ccac9e22 Merge pull request #1267 from emkw/master
lua: mkdir API functions should return ERROR on error.
2018-10-14 21:03:24 +02:00
Sébastien Helleu 37da24ca22 doc: update auto-generated files with IRC options 2018-10-14 21:02:03 +02:00
Nils Görs 21b4294f4e core: update German translations 2018-10-14 20:50:03 +02:00
emk 63e2a3dab9 lua: mkdir API functions should return ERROR on error. 2018-10-14 20:39:00 +02:00
Sébastien Helleu d07701dae6 irc: fix colors 14 and 15 in /help irc.color.mirc_remap (closes #1266) 2018-10-14 20:38:14 +02:00
Sébastien Helleu 8d1dcb666a doc: update Japanese auto-generated file 2018-10-14 09:14:48 +02:00
Sébastien Helleu b348479e4c Merge pull request #1265 from l/master/translation/ja_JP
core: update Japanese translations
2018-10-14 09:13:48 +02:00
AYANOKOUZI, Ryuunosuke 85544ca6dd core: update Japanese translations 2018-10-14 09:00:00 +09:00
Sébastien Helleu a3e0c3f0e4 Version 2.3-rc1 2018-10-13 15:57:20 +02:00
Sébastien Helleu 96938d47f1 doc: update German auto-generated file 2018-10-11 21:09:01 +02:00
Nils Görs 72d5274d54 core: update German translations 2018-10-10 19:27:15 +02:00
Sébastien Helleu 8da3458f4c core: add repeat of string in evaluation of expressions with "repeat:count,string" (closes #958) 2018-10-09 21:12:02 +02:00
Sébastien Helleu 82697714e1 core: fix evaluation of nested ternary operators (closes #1263) 2018-10-08 22:51:08 +02:00
Sébastien Helleu a774ffd4e8 doc: update German auto-generated file 2018-10-08 21:35:39 +02:00
Nils Görs 7f69fff41e core: update German translations 2018-10-08 21:06:18 +02:00
Sébastien Helleu 102fc6662b code: fix issue in docgen.py with hashlib and Python 3 2018-10-06 09:58:22 +02:00
Sébastien Helleu e6e46bcae6 core: update ChangeLog (issue #1259) 2018-10-06 07:13:23 +02:00
Sébastien Helleu 40a87970e1 core: update translations 2018-10-06 07:12:21 +02:00
Sébastien Helleu 5173e19ff3 core: fix style 2018-10-06 07:10:36 +02:00
Sébastien Helleu e688fa4daa Merge remote-tracking branch 'origin/pr/1259' 2018-10-06 07:07:35 +02:00
Sébastien Helleu 5c766317df core: update WeeChat URL in debian NEWS file 2018-10-03 21:39:29 +02:00
Sébastien Helleu 30121ff9df aspell: remove useless test on max_suggestions 2018-10-01 23:00:05 +02:00
Sébastien Helleu ecdbaef288 relay: remove useless test on length 2018-10-01 22:59:05 +02:00
Sébastien Helleu 4b58ea37c0 relay: remove useless test on num_sent 2018-10-01 22:58:25 +02:00
Sébastien Helleu fc63620f1e irc: remove useless test on argc 2018-10-01 22:58:13 +02:00
Sébastien Helleu fb3ca3caae core: fix format of variables in printf-like functions (from int to long and long long) 2018-10-01 22:57:13 +02:00
Sébastien Helleu d6d8b9094f irc: replace call to gmtime by gmtime_r 2018-10-01 22:22:06 +02:00
Sébastien Helleu 56daba869e core: replace call to gmtime by gmtime_r 2018-10-01 22:21:56 +02:00
Sébastien Helleu 50567b0f64 core: add missing argument in call to log_printf 2018-10-01 22:21:43 +02:00
Sébastien Helleu 8abd05fe3d core: replace "long unsigned int" by "unsigned long" 2018-10-01 22:21:25 +02:00
Sébastien Helleu b7f3ba69e1 doc: update Japanese auto-generated file 2018-09-30 10:01:41 +02:00
Sébastien Helleu e28cb00106 relay: add real IP in client description (closes #1256) 2018-09-30 09:59:45 +02:00
Sébastien Helleu 0f782166e2 Merge pull request #1255 from l/master/translation/ja_JP
core: update Japanese translations
2018-09-30 09:01:19 +02:00
AYANOKOUZI, Ryuunosuke 9c96ce825b core: update Japanese translations 2018-09-30 09:00:00 +09:00
Sébastien Helleu eec2e37d20 doc: update German auto-generated file 2018-09-24 23:55:03 +02:00
Nils Görs 6bb0130e7b core: update German translations 2018-09-24 22:28:24 +02:00
Sébastien Helleu ff66a8a161 logger: add more info about log levels in /help logger (closes #1254) 2018-09-24 19:05:46 +02:00
Sébastien Helleu 7b3ec510ca logger: move logger command into a separate source file 2018-09-24 19:05:21 +02:00
Sébastien Helleu 4f0a64cc8b Merge pull request #1251 from l/master/translation/ja_JP
core: update Japanese translations
2018-09-22 08:48:34 +02:00
AYANOKOUZI, Ryuunosuke 4cf86af506 core: update Japanese translations 2018-09-22 09:00:00 +09:00
Sébastien Helleu ce9bcadaa8 doc: update German auto-generated file 2018-09-20 22:32:08 +02:00
Nils Görs a7a04783d4 doc: update German documentation 2018-09-20 21:20:01 +02:00
Sébastien Helleu 126b7d4433 core: update translations 2018-09-20 21:05:26 +02:00
Sébastien Helleu 93b5e60441 irc: display a warning when the value of option irc.server.xxx.autojoin is set to an invalid value 2018-09-20 20:32:47 +02:00
Sébastien Helleu 65f1c82a87 core: allow multiple arguments in command /buffer close 2018-09-18 21:27:44 +02:00
Simmo Saan 54cd82e4a4 core: allow specifying buffer number/name for /buffer localvar 2018-09-09 19:42:31 +03:00
Sébastien Helleu 7b8faf6d97 relay: fix URL to the page with remote interfaces in /help relay 2018-09-09 10:07:16 +02:00
Sébastien Helleu 1ff9d1f52a core: add missing slash at the end of weechat.org URLs 2018-09-09 10:00:53 +02:00
Nils Görs 952640e88c core: update German translations 2018-09-06 22:26:38 +02:00
Sébastien Helleu fcf7469d76 core: allow multiple options "-r" ("--run-command") in command line arguments (closes #1248) 2018-09-06 21:52:02 +02:00
Sébastien Helleu 8945e70f81 doc: add question about aspell dictionaries in FAQ 2018-09-06 21:22:50 +02:00
Sébastien Helleu f0d0612a33 doc: add missing comma in example of function config_new_option (plugin API reference) 2018-09-01 08:14:42 +02:00
Sébastien Helleu 796859b873 core: fix copyright dates 2018-09-01 08:13:12 +02:00
Sébastien Helleu 533dbf972d core: rename variable "plugin_blacklisted" to "plugin_forbidden" 2018-08-30 22:10:46 +02:00
Sébastien Helleu 1d85ff0f8d doc: fix hdata example (relay protocol) (closes #1242) 2018-08-30 22:08:55 +02:00
Nils Görs a9e84bfc52 core: update German translations 2018-08-20 20:40:40 +02:00
Sébastien Helleu b53045281e doc: update Japanese auto-generated file 2018-08-19 19:58:24 +02:00
Sébastien Helleu f4dbc060b8 Merge pull request #1234 from l/master/translation/ja_JP
core: update Japanese translations
2018-08-19 19:57:45 +02:00
AYANOKOUZI, Ryuunosuke 1495ecf6d0 core: update Japanese translations 2018-08-19 09:00:00 +09:00
Sébastien Helleu 6bf0dfddd6 core: fix evaluation of condition when the left operand is an empty string 2018-08-18 15:30:16 +02:00
Sébastien Helleu 97ad48e317 core: fix typo in release notes 2018-08-18 11:05:26 +02:00
Sébastien Helleu 41d5cdd14b core: move "new" info in release notes 2018-08-18 11:01:25 +02:00
Sébastien Helleu 5c9608f05c doc: update German auto-generated file 2018-08-17 21:52:54 +02:00
Nils Görs b4842dd707 Merge branch 'master' of github.com:weechat/weechat 2018-08-17 21:49:00 +02:00
Nils Görs cd5d48fc87 core: update German translations 2018-08-17 21:48:28 +02:00
Sébastien Helleu f4ea802322 doc: fix typo in German user guide 2018-08-17 21:46:39 +02:00
Nils Görs 79f204eeb9 core: update German translations 2018-08-17 20:49:31 +02:00
Sébastien Helleu 466dbbe75b core: add option "-P" (or "--plugins") to customize the plugins to load at startup
If given, the option replaces the option weechat.plugin.autoload.
2018-08-17 19:44:41 +02:00
Sébastien Helleu 822270ccca core: update translations 2018-08-17 19:37:31 +02:00
Sébastien Helleu fad6768318 doc: split list of modifiers into two tables (plugin API reference) 2018-08-17 19:33:46 +02:00
Sébastien Helleu 85681772f0 core: add "line" trigger in ChangeLog 2018-08-17 08:48:09 +02:00
Sébastien Helleu 669aa2741a doc: rename variable "tg_tags" to "tags" in line trigger (user guide) 2018-08-17 08:16:14 +02:00
Sébastien Helleu 968d7ede29 trigger: add variables "tg_prefix_nocolor" and "tg_message_nocolor" in line trigger 2018-08-17 07:59:20 +02:00
Sébastien Helleu e7096810c4 trigger: rename variable "tg_tags" to "tags" in line trigger 2018-08-17 07:43:56 +02:00
Sébastien Helleu 9105c3ba1f trigger: allow creation of temporary variables with the regex 2018-08-16 22:47:47 +02:00
Sébastien Helleu 1a0087a7d7 core: fix string evaluation with regex replacement when the string is empty 2018-08-16 22:45:42 +02:00
Sébastien Helleu ca90f28beb tests: add tests on modifier hook 2018-08-16 18:27:04 +02:00
Sébastien Helleu 6ca2408c99 core: fix weechat_print modifier
All changes:
- always send the Tab char in the weechat_print modifier string
- handle special cases in weechat_print modifier: no prefix (" \t...") or no
  date ("\t\t...")
2018-08-16 18:19:07 +02:00
Sébastien Helleu ec5a5fd73f core: fix use of NULL pointer in command /buffer when the GUI is not yet initialized 2018-08-15 16:24:07 +02:00
Sébastien Helleu f10578b18b core: remove use of pointer "buffer" once the line has been initialized 2018-08-15 16:16:31 +02:00
Sébastien Helleu cfc491f7d1 core: remove unneeded initialization of variable "highlight" 2018-08-15 16:11:27 +02:00
Sébastien Helleu eb64c8d65c irc: add missing initialization of variable "chghost" 2018-08-15 16:02:43 +02:00
Sébastien Helleu 053d432eec doc: update auto-generated files with hdata 2018-08-15 12:36:20 +02:00
Sébastien Helleu 50bedd10b6 core: update translations 2018-08-15 12:36:01 +02:00
Sébastien Helleu cb8b60028b trigger: fix /help trigger 2018-08-15 12:35:42 +02:00
Sébastien Helleu ba820a0172 doc: fix list of variables that can be updated in a hook_line trigger (user guide) 2018-08-15 12:28:15 +02:00
Sébastien Helleu 8c47ca6926 core: add comments in function to print a line 2018-08-15 12:17:42 +02:00
Sébastien Helleu 7b0cced319 core: fix destruction of line prefix in weechat_print modifier 2018-08-15 12:16:52 +02:00
Sébastien Helleu 8e939b089d core: fix comparison of strings in weechat_print modifier 2018-08-15 12:16:06 +02:00
Sébastien Helleu 2f2263afa6 trigger: add missing initialization of variable "tags" in hook line callback 2018-08-15 11:59:26 +02:00
Sébastien Helleu b8ec088fd9 doc: fix typos in plugin API reference 2018-08-15 09:56:18 +02:00
Sébastien Helleu 057f2c3396 tests: properly initialize variable argc before tests on function string_split 2018-08-15 09:43:35 +02:00
Sébastien Helleu cdc7faf93f tests: add test on function string_split with a string having only delimiters 2018-08-15 09:42:59 +02:00
Sébastien Helleu 6d061a9ac0 api: fix memory leak in function string_split 2018-08-15 09:42:43 +02:00
Sébastien Helleu aff752c50b trigger: fix memory leak in hook_line trigger callback 2018-08-15 09:33:25 +02:00
Sébastien Helleu bb8ac59c32 core: fix memory leak when removing a line hook 2018-08-15 09:32:56 +02:00
Sébastien Helleu 51bda896c8 doc: add list of variables that can be updated by type of trigger (user guide) 2018-08-15 09:07:01 +02:00
Sébastien Helleu 66d11b7e46 trigger: add missing values for line trigger 2018-08-15 09:02:58 +02:00
Sébastien Helleu d8c7b3fd5e doc: add more info about line, print and modifier functions for new lines (plugin API reference) 2018-08-15 09:01:55 +02:00
Sébastien Helleu 3bdab1c538 core: fix type of variables "buffer_name" and "buffer_type" sent to the hook_line callback 2018-08-14 14:51:18 +02:00
Sébastien Helleu 49c3e62106 core: split wee-hook.c into multiple sources 2018-08-14 07:15:39 +02:00
Sébastien Helleu 42be1a74a0 api: add function hook_line 2018-08-12 21:45:00 +02:00
Sébastien Helleu 12a6f74ec0 core: fix check of tags in lines
All changes:
- fix check of tags in lines: check lines without tags, fix check of tags with
  negation ("!tag")
- add string functions string_split_tags and string_free_split_tags
- add tests on function gui_line_match_tags
2018-08-12 20:30:13 +02:00
Sébastien Helleu d699ae89aa doc: fix style (relay protocol) 2018-08-12 20:29:26 +02:00
Sébastien Helleu e85bf426c1 doc: add length of field "id" in binary message (relay protocol) (closes #1233) 2018-08-12 20:23:24 +02:00
Sébastien Helleu 48cbf3ad37 doc: add "/msg nickserv set password" in list of commands handled by default trigger "cmd_pass" (user guide) 2018-08-11 09:48:32 +02:00
Sébastien Helleu 737a16b7de doc: fix default conditions of beep trigger (user guide) 2018-08-11 09:38:54 +02:00
Nils Görs 6140aac57f doc: update German documentation 2018-07-29 20:41:17 +02:00
Sébastien Helleu b3fc7c1b1a core: update weechat.org URLs to match latest version of the site 2018-07-29 11:03:24 +02:00
Sébastien Helleu 2047d4f1f7 doc: replace features page with remote interfaces (FAQ) 2018-07-29 10:57:39 +02:00
Sébastien Helleu ac5f26367a core: add contributor in AUTHORS.adoc (issue #1228) 2018-07-28 22:29:19 +02:00
Sébastien Helleu 9b3ec88559 Merge pull request #1228 from Redfoxmoon3/master
don't overwrite user installed GNU auto* files
2018-07-28 22:21:53 +02:00
Ørjan Malde ea4aad0b1d don't overwrite user installed GNU auto* files
autoreconf -f overwrites user installed GNU auto* files like config.sub and config.guess
2018-07-27 21:32:27 +02:00
Sébastien Helleu 9fb8ca649e core: update ChangeLog (issue #1162) 2018-07-27 07:53:17 +02:00
Sébastien Helleu a14973816b Merge pull request #1225 from weechatter/partial_completion
gui: fix uncleared completion item (#1162)
2018-07-27 07:51:36 +02:00
Sébastien Helleu 7d7ca34a41 core: allow partial buffer name in command /buffer close (closes #1226) 2018-07-27 07:48:02 +02:00
Sébastien Helleu b7d6be5936 scripts: fix duplicated lines in output of script eval (python, perl, ruby, lua and guile)
When there was a call to a hook callback during the eval, the output buffer was
cleared too late, and displayed multiple times in the buffer.

This commit clears the buffer even before we display it (this display can
trigger a hook callback).
2018-07-25 20:19:26 +02:00
Nils Görs b934e874d0 gui: fix uncleared completion item (#1162) 2018-07-21 12:50:39 +02:00
Sébastien Helleu df27a3b76a core: send signal "key_pressed" for mouse code only if the string is UTF-8 valid (closes #1220) 2018-07-15 15:09:31 +02:00
Jos Ahrens 738585d9e2 doc: mention there is an option to enable crash core files (user's guide)
For people skimming the section, it will not be immediately clear to
them, especially since everything seems to suggest this option is
enabled by default.
2018-07-15 14:18:07 +02:00
Jos Ahrens 62ad65ef45 core: improve instructions to report the crash 2018-07-15 14:09:34 +02:00
Sébastien Helleu 20a23484ed Merge pull request #1223 from l/master/translation/ja_JP
doc: update Japanese translations
2018-07-14 20:42:39 +02:00
Sébastien Helleu a3179c8c0d Version 2.3-dev 2018-07-14 13:36:04 +02:00
Sébastien Helleu c47916ac8e Version 2.2 2018-07-14 12:35:10 +02:00
AYANOKOUZI, Ryuunosuke dd0b04d057 doc: update Japanese translations 2018-07-14 09:00:00 +09:00
Sébastien Helleu e0cecefb0f tests: fix compiler warnings on calls to snprintf 2018-07-13 22:35:39 +02:00
Sébastien Helleu 2682fb450d lua: fix macros used to return values 2018-07-13 21:25:51 +02:00
Sébastien Helleu bf48efffec relay: fix compiler warnings on calls to snprintf 2018-07-13 21:25:07 +02:00
Sébastien Helleu a205886d7a core: fix compiler warnings on calls to snprintf 2018-07-13 21:24:40 +02:00
Sébastien Helleu a8faa69610 Version 2.2-rc2 2018-07-12 21:37:48 +02:00
Nils Görs 32c698fe21 doc: update German documentation 2018-07-12 20:22:43 +02:00
Krzysztof Korościk 30db245b77 doc: updated polish translation 2018-07-12 19:53:03 +02:00
Sébastien Helleu 184395eeb5 doc: update Japanese auto-generated files 2018-07-12 19:34:44 +02:00
Sébastien Helleu 503f07de8d Merge pull request #1222 from l/master/translation/ja_JP
core: update Japanese translations
2018-07-12 19:33:07 +02:00
Sébastien Helleu de1ade02c3 python: fix crash when loading a script with Python >= 3.7 (closes #1219) 2018-07-12 19:27:37 +02:00
Sébastien Helleu 7554febf7e python: add detection of Python 3.7 2018-07-12 19:24:56 +02:00
Sébastien Helleu 426405c997 doc: add a trigger to jump to buffer number ≥ 100 in FAQ 2018-07-12 07:54:42 +02:00
AYANOKOUZI, Ryuunosuke 72548cb401 core: update Japanese translations 2018-07-12 09:00:00 +09:00
Sébastien Helleu 5b3f2ad466 irc: add nick, host and log tags in message displayed in private buffer when the nick comes back on the server (closes #1221) 2018-07-11 07:36:11 +02:00
Sébastien Helleu 7bd8fb4686 buflist: fix crash when setting the option buflist.look.signals_refresh with a list of signals 2018-07-10 20:30:10 +02:00
Sébastien Helleu 3d0e26ce39 doc: update Polish auto-generated files 2018-07-09 07:04:40 +02:00
Krzysztof Korościk 007a40cb5b po: updated polish translation 2018-07-09 00:51:38 +02:00
Krzysztof Korościk 0834c9c966 doc: updated polish translation 2018-07-08 17:49:28 +02:00
Sébastien Helleu 833d1ebd7d core: add contributor in AUTHORS.adoc (issue #1216) 2018-07-08 15:44:35 +02:00
Jos Ahrens e84d742709 core: split issue template into 3 files (bug report, feature request, question) 2018-07-08 15:43:21 +02:00
Sébastien Helleu d4e9d81a48 Version 2.2-rc1 2018-07-08 14:50:33 +02:00
Sébastien Helleu 14a929341e fset: fix memory leak when switching the format with ctrl-X 2018-07-08 14:48:06 +02:00
Sébastien Helleu c17ab6aa00 fset: fix truncation of option values when the length is greater than 4096 (closes #1218) 2018-07-08 14:46:19 +02:00
Nils Görs 5f17516d59 doc: update German documentation 2018-07-07 22:55:04 +02:00
Sébastien Helleu 7d97b1b85b doc: use /unset command instead of /set xxx null (quickstart guide) 2018-07-07 17:43:50 +02:00
Sébastien Helleu 4aa0e570d0 doc: add default triggers in user's guide 2018-07-07 07:54:11 +02:00
Sébastien Helleu 5decae145f relay: fix socket creation for relay server on OpenBSD (closes #1213)
The socket option IPV6_V6ONLY is not needed on OpenBSD and must not be set (it
is read-only).
2018-07-01 15:39:34 +02:00
Sébastien Helleu 6292896021 irc: add channel color in message 354 with missing parameters (issue #1212) 2018-06-24 09:46:29 +02:00
Sébastien Helleu db690fbf91 irc: do not display message 354 with missing parameters if there's an automatic check of WHOX on the channel (issue #1212) 2018-06-24 08:29:10 +02:00
Sébastien Helleu a5962cf7f5 irc: display message 354 (WHOX) received with missing parameters (closes #1212) 2018-06-23 22:17:18 +02:00
Sébastien Helleu 24d2413fdc core: add default value of option weechat.look.hotlist_add_conditions in release notes 2018-06-22 20:59:35 +02:00
Sébastien Helleu 3319832787 core: update ChangeLog (issue #1208) 2018-06-17 08:17:53 +02:00
Sébastien Helleu b5022d15ad core: add contributor in AUTHORS.adoc (issue #1208) 2018-06-17 08:14:03 +02:00
Chris Hills 664d5e6c59 Update configure.ac for v8 plugin
Explicitly link with -lpthread to fix detection and compilation on some Linux distributions.
2018-06-15 18:31:09 +01:00
Nils Görs 415d7bc0a0 doc: update German documentation 2018-06-15 19:03:33 +02:00
Sébastien Helleu 0f694f57b3 doc: update auto-generated files 2018-06-15 07:05:02 +02:00
Nils Görs 6ab72b0314 core: update German translations 2018-06-14 23:06:16 +02:00
Sébastien Helleu 261cbdae0d core: change default value of option weechat.look.hotlist_add_conditions (closes #1206)
Now if there are at least one relay client connected via weechat protocol,
the buffer is always added to the hotlist.
2018-06-14 22:22:06 +02:00
Sébastien Helleu 744ded04bd relay: add filtering on protocol in info "relay_client_count" (issue #1206) 2018-06-14 21:57:27 +02:00
Sébastien Helleu da507ca85f core: add key alt+"-" in /help filter 2018-06-14 21:44:34 +02:00
Sébastien Helleu 19f37cee6a core: update ChangeLog 2018-06-13 22:22:06 +02:00
Sébastien Helleu 641180caf1 Merge remote-tracking branch 'origin/pr/1196' 2018-06-13 22:19:15 +02:00
Sébastien Helleu dc12f6bef0 fset: fix crash when applying filters after closing the fset buffer (closes #1204) 2018-06-11 23:03:02 +02:00
Sébastien Helleu c1f125cc6f doc: add gnome-terminal option in question about weird chars on screen (FAQ) 2018-06-11 19:51:02 +02:00
Sébastien Helleu c7e2cda249 doc: update Japanese auto-generated files 2018-06-10 21:43:28 +02:00
Sébastien Helleu c8a2330f49 Merge pull request #1203 from l/master/translation/ja_JP
core: update Japanese translations
2018-06-10 21:41:46 +02:00
AYANOKOUZI, Ryuunosuke f64c92ba1a core: update Japanese translations 2018-06-11 09:00:00 +09:00
Sébastien Helleu 91f5035945 doc: update German auto-generated file 2018-06-02 20:30:18 +02:00
Nils Görs e36dfa6a75 core: update German translations 2018-06-02 19:46:31 +02:00
Sébastien Helleu 1abf4040f1 core: add reverse of string in evaluation of expressions with "rev:" (closes #1200) 2018-06-02 16:01:14 +02:00
Sébastien Helleu ab9a0ec2e6 tests: add missing tests on function string_cut 2018-06-02 15:19:16 +02:00
Sébastien Helleu ba19fa9963 core: count number of chars instead of bytes for suffix in function string_cut 2018-06-02 15:18:29 +02:00
Sébastien Helleu 39a291bc53 core: return NULL in function string_cut if string is NULL 2018-06-02 15:14:21 +02:00
Sébastien Helleu 49253bd4d9 tests: fix test of function utf8_strlen_screen on Han char (U+24B62) 2018-06-02 14:42:29 +02:00
Sébastien Helleu 53fedfe4e6 trigger: hide password in display of command "/msg nickserv set password", support the option "-server xxx" 2018-05-31 22:51:23 +02:00
Sébastien Helleu 1587674e9b trigger: hide password in command "/msg nickserv set password" 2018-05-31 21:14:57 +02:00
Sébastien Helleu 4592c9438f core: send buffer pointer (when possible) in signal "hotlist_changed" (closes #1133)
When a buffer is added or updated in the hotlist, the buffer pointer is sent.
When the hotlist is cleared or resorted, the buffer pointer is NULL.
2018-05-31 20:25:10 +02:00
Sébastien Helleu d327e3e75a doc: update Japanese auto-generated files 2018-05-26 10:47:15 +02:00
Sébastien Helleu a2d156774d Merge pull request #1199 from l/master/translation/ja_JP
core: update Japanese translations
2018-05-26 10:45:35 +02:00
AYANOKOUZI, Ryuunosuke 294a3e6a1e core: update Japanese translations 2018-05-26 09:00:00 +09:00
Sébastien Helleu 2026545aaa core: fix delete of previous/next word (keys Ctrl+w and Alt+d) (closes #1195) 2018-05-22 22:26:00 +02:00
Simon Arlott 9aaea09b02 core: unhook TLS handshake fd before calling connect callback
When there are multiple addresses for a server and a TLS handshake failure
occurs, the next server in the list will connect and then timeout without
performing any TLS handshake.

This is because irc_server_close_connection closes server->sock so the next
pipe to be created reuses that fd, but the hook for the handshake fd still
exists when the next connection attempt is started.

The hook for network_connect_child_read_cb is never added because a hook
for the reused fd number still exists.

Resolve this by removing the handshake hook before calling the connect
callback.
2018-05-22 12:27:41 +01:00
Sébastien Helleu 530f73ec71 irc: update ircv3 URLs in comments 2018-05-21 15:48:59 +02:00
Sébastien Helleu aee5ee6f42 core: add issue #219 in ChangeLog 2018-05-21 14:49:45 +02:00
Sébastien Helleu 4885329f7a doc: update German auto-generated files 2018-05-21 14:45:39 +02:00
Sébastien Helleu 555807bc42 core: add contributor in AUTHORS.adoc (issue #826) 2018-05-21 14:44:21 +02:00
Sébastien Helleu 2a229a1b6b core: update ChangeLog 2018-05-21 14:44:21 +02:00
Sébastien Helleu 271e395201 doc: add note about "list" options for curl in function hook_process_hashtable (plugin API reference) 2018-05-21 14:44:21 +02:00
Sébastien Helleu 4f5c7c8b68 doc: add example of URL with custom HTTP headers in function hook_process_hashtable (plugin API reference) 2018-05-21 14:26:20 +02:00
Sébastien Helleu 3b82e8ef1e doc: update auto-generated files with URL options 2018-05-21 11:20:23 +02:00
Sébastien Helleu 2fbd708b47 build: fix path to auto-generated plugin API files in CMakeLists 2018-05-21 11:19:32 +02:00
Sébastien Helleu 9f25d7d347 core: use function string_split to split list items 2018-05-21 10:24:57 +02:00
Sébastien Helleu e4a69406ba core: uncomment CURL option PROXY_SSL_CIPHER_LIST 2018-05-21 10:24:57 +02:00
Joseph Kichline 2542250a21 core: handle lists in hook_process_hashtable for urls (closes #219) 2018-05-21 10:24:57 +02:00
Nils Görs f1308719aa core: update German translations 2018-05-21 09:59:51 +02:00
Sébastien Helleu 275a765de6 core: update ChangeLog 2018-05-21 08:52:34 +02:00
Sébastien Helleu 5d860079d9 core: update translations 2018-05-21 08:50:49 +02:00
Sébastien Helleu 37d870092b irc: display an error if memory can not be allocated in chghost callback 2018-05-21 08:47:19 +02:00
Sébastien Helleu c0cb3a6178 Merge remote-tracking branch 'origin/pr/640' 2018-05-21 08:05:04 +02:00
Sébastien Helleu 7b15ffdb71 irc: add space before capability only if the string is not empty 2018-05-20 22:44:09 +02:00
Sébastien Helleu fe66886398 irc: add missing space between capabilities in display of supported/enabled capabilities 2018-05-20 22:33:58 +02:00
Sébastien Helleu 6b1f3de4b2 core: update ChangeLog 2018-05-20 22:30:13 +02:00
Sébastien Helleu eceb7ec540 core: update translations 2018-05-20 22:29:39 +02:00
Sébastien Helleu 3c29f92e9b Merge remote-tracking branch 'origin/pr/639' 2018-05-20 22:22:20 +02:00
Sébastien Helleu 6b8f45f3bb irc: replace calls to sprintf by snprintf 2018-05-20 21:41:17 +02:00
Sébastien Helleu 393203b13c core: update ChangeLog 2018-05-20 21:36:46 +02:00
Sébastien Helleu c62cc5f497 core: update translations 2018-05-20 21:20:52 +02:00
Sébastien Helleu d033b63d80 doc: update auto-generated files with hdata 2018-05-20 21:20:30 +02:00
Sébastien Helleu eb3eb4fdf3 irc: use dynamic string functions to display supported/enabled capabilities 2018-05-20 21:19:00 +02:00
Sébastien Helleu a6e175f3e9 irc: add missing "cap_extended_join" in comment 2018-05-20 17:29:01 +02:00
Sébastien Helleu c8da268df1 irc: fix code style 2018-05-20 17:29:01 +02:00
Sébastien Helleu 108004be95 irc: do a case-sensitive comparison of CAP command 2018-05-20 16:29:36 +02:00
Sébastien Helleu a3193320a9 core: remove unneeded comment 2018-05-20 16:25:43 +02:00
Sébastien Helleu 8a929c8668 core: fix code style in function hashtable_add_from_infolist 2018-05-20 16:25:43 +02:00
Sébastien Helleu ef1ed1535c core: return an error if the infolist has no pointer to current item in function hashtable_add_from_infolist 2018-05-20 16:19:26 +02:00
Sébastien Helleu dc6ad7b501 doc: add translations for function hashtable_add_from_infolist (plugin API reference) 2018-05-20 16:13:54 +02:00
Sébastien Helleu c1fc590e0a doc: fix styles in plugin API reference 2018-05-20 15:55:37 +02:00
Sébastien Helleu 6356646c25 irc: replace version x.y.z by 2.2 in comment 2018-05-20 15:25:57 +02:00
Sébastien Helleu 498072734f doc: replace version x.y.z by 2.2 in plugin API reference 2018-05-20 15:25:23 +02:00
Sébastien Helleu afb1d03053 Merge remote-tracking branch 'origin/pr/623' into irc-3.2-cap 2018-05-20 15:21:07 +02:00
Sébastien Helleu 0329a9c7cd doc: update German auto-generated files 2018-05-19 15:36:17 +02:00
Nils Görs 7c32942abc core: update German translations 2018-05-19 15:13:35 +02:00
Sébastien Helleu 0f8485f54e buflist: add example of format for two bar items using a ternary operator in /help buflist.format.buffer 2018-05-19 14:47:59 +02:00
Sébastien Helleu 60254ff48d irc: display current nick on connected servers in output of /server list|listfull (closes #1193) 2018-05-19 09:07:08 +02:00
Sébastien Helleu 762e1e6b1e irc: remove unneeded check on variable pos 2018-05-19 08:15:00 +02:00
Sébastien Helleu eb8043f2b4 relay: remove unneeded check on variable irc_argv
The variable "irc_argv" is always set if irc_argc > 0.
2018-05-19 08:14:56 +02:00
Sébastien Helleu 5756892203 exec: fix minimal length of unquoted string 2018-05-19 08:14:52 +02:00
Sébastien Helleu 4b784a631c core: remove unneeded test on variable argv 2018-05-19 08:14:52 +02:00
Sébastien Helleu 25951cf56d core: remove unused variable 2018-05-19 08:13:12 +02:00
Sébastien Helleu 26d972dd57 script: fix memory leak in case of invalid XML content in list of scripts 2018-05-18 23:01:57 +02:00
Sébastien Helleu 4aeed262f8 php: add comments about C compiler happiness 2018-05-17 22:04:19 +02:00
Sébastien Helleu 8b876bd668 scripts: remove double return in info eval callback functions not yet implemented 2018-05-17 22:02:10 +02:00
Sébastien Helleu f3a31f609a php: ensure vbuffer is not NULL before using it 2018-05-17 21:59:20 +02:00
Sébastien Helleu b0fc579955 fset: ensure option_name is not NULL before comparing it 2018-05-17 21:51:09 +02:00
Sébastien Helleu a62fb0dd36 doc: update Japanese auto-generated files 2018-05-03 19:43:47 +02:00
Sébastien Helleu faba5e3958 Merge pull request #1185 from l/master/translation/ja_JP
core: update Japanese translations
2018-05-03 19:30:27 +02:00
AYANOKOUZI, Ryuunosuke 05acadb690 core: update Japanese translations 2018-04-21 09:00:00 +09:00
Sébastien Helleu 3122021167 doc: update German auto-generated file 2018-04-20 19:17:52 +02:00
Nils Görs 6e39a36c3f core: update German translations 2018-04-20 16:11:06 +02:00
Sébastien Helleu 76f3be5260 core: fix infinite loop in evaluation of strings (closes #1183) 2018-04-17 20:27:48 +02:00
Sébastien Helleu 7877e1b8c2 core: add an eval context structure
A pointer to this structure is given as parameter in each eval function called:

- eval_replace_vars
- eval_expression_condition
- eval_replace_regex
2018-04-17 20:27:12 +02:00
Sébastien Helleu ba13d764e6 tests: add tests on eval_expression() with different prefix/suffix 2018-04-17 20:26:45 +02:00
Sébastien Helleu 1a5527cf2e core: do not set terminal title by default (option weechat.look.window_title) (closes #1182) 2018-04-16 21:25:40 +02:00
Sébastien Helleu 648b6374bd doc: update German auto-generated file 2018-04-15 21:29:06 +02:00
Nils Görs 8ce61c25ab core: update German translations 2018-04-15 20:51:55 +02:00
Sébastien Helleu d9425f3765 core: add example of secured data in /help eval 2018-04-15 10:15:17 +02:00
Sébastien Helleu c1dee726d5 tests: turn off memory leak detection only when testing javascript API 2018-04-13 20:57:34 +02:00
Sébastien Helleu 3c97a1abae tests: fix typo in language name 2018-04-13 20:53:34 +02:00
Sébastien Helleu 9265acf879 scripts: fix memory leak in hook_info callback 2018-04-13 19:55:20 +02:00
Sébastien Helleu cc06b95ba7 tests: add tests on infolists 2018-04-12 19:47:42 +02:00
Sébastien Helleu 41d63511b4 scripts: fix return value of hook_infolist callback (pointer instead of string) 2018-04-12 00:12:20 +02:00
Sébastien Helleu 5ae557fa52 tests: fix AST return in TCL 2018-04-11 23:20:12 +02:00
Sébastien Helleu b2344fe5d6 tests: fix AST return in PHP 2018-04-11 23:10:46 +02:00
Sébastien Helleu cb4348df61 tests: fix AST return in Perl 2018-04-11 23:02:02 +02:00
Sébastien Helleu da960e9176 core: initialize size to 0 when it is not used in the infolist variable 2018-04-11 22:44:23 +02:00
Sébastien Helleu 3467d6eb43 scripts: return long integer instead of string in function infolist_time 2018-04-10 21:26:15 +02:00
Sébastien Helleu 9a969c41db core: update ChangeLog 2018-04-10 19:58:03 +02:00
Sébastien Helleu 4001ed956f php: return long instead of int in function hdata_time 2018-04-10 19:34:43 +02:00
Sébastien Helleu 9d83cefdbf php: fix return code of functions config_write_option and config_write_line 2018-04-10 19:34:31 +02:00
Sébastien Helleu ab61ddd4ab scripts: do not allocate memory when converting pointers to strings 2018-04-10 19:33:14 +02:00
Sébastien Helleu c89035327c ruby: fix memory leak in 7 functions returning allocated strings
Fixed functions:

- list_new
- list_add
- list_search
- list_casesearch
- list_get
- list_next
- list_prev
2018-04-10 19:31:39 +02:00
Sébastien Helleu e7b2e3cb02 guile: fix memory leak in 7 functions returning allocated strings
Fixed functions:

- list_new
- list_add
- list_search
- list_casesearch
- list_get
- list_next
- list_prev
2018-04-10 19:31:14 +02:00
Sébastien Helleu c3d1c9734b php: fix memory leak in 72 functions returning allocated strings
Fixed functions:

- iconv_to_internal
- iconv_from_internal
- string_mask_to_regex
- string_format_size
- string_remove_color
- string_eval_expression
- string_eval_path_home
- list_new
- list_add
- list_search
- list_casesearch
- list_get
- list_next
- list_prev
- config_new
- config_new_section
- config_search_section
- config_new_option
- config_search_option
- config_get
- hook_command
- hook_completion
- hook_command_run
- hook_timer
- hook_fd
- hook_process
- hook_process_hashtable
- hook_connect
- hook_print
- hook_signal
- hook_hsignal
- hook_config
- hook_modifier
- hook_modifier_exec
- hook_info
- hook_info_hashtable
- hook_infolist
- hook_focus
- buffer_new
- buffer_search
- buffer_search_main
- current_buffer
- buffer_get_pointer
- buffer_string_replace_local_var
- current_window
- window_search_with_buffer
- window_get_pointer
- nicklist_add_group
- nicklist_search_group
- nicklist_add_nick
- nicklist_search_nick
- nicklist_group_get_pointer
- nicklist_nick_get_pointer
- bar_item_search
- bar_item_new
- bar_search
- bar_new
- infolist_new
- infolist_new_item
- infolist_new_var_integer
- infolist_new_var_string
- infolist_new_var_pointer
- infolist_new_var_time
- infolist_search_var
- infolist_get
- infolist_pointer
- hdata_get
- hdata_get_list
- hdata_move
- hdata_search
- hdata_pointer
- upgrade_new
2018-04-07 21:52:49 +02:00
Sébastien Helleu 64738bcee9 doc: add version 2.2 in Python example for function string_format_size (plugin API reference) 2018-04-07 15:19:13 +02:00
Sébastien Helleu 6de98179bc api: add function string_format_size in scripting API 2018-04-07 13:20:58 +02:00
Sébastien Helleu ea365cccbf doc: update German auto-generated file 2018-04-06 23:56:11 +02:00
Nils Görs c437e271b4 core: update German translations 2018-04-06 22:26:21 +02:00
Sébastien Helleu 974c25df76 irc: replace "server" by "name" in /help server 2018-04-06 21:26:16 +02:00
Sébastien Helleu 8733f23c32 doc: update German auto-generated file 2018-04-06 21:24:49 +02:00
Sébastien Helleu 70892bf71c doc: add a sentence to explain the internal irc server name (quickstart guide) 2018-04-06 21:07:34 +02:00
Sébastien Helleu 7989e52381 core: merge improvements into new features in ChangeLog 2018-04-04 20:30:03 +02:00
Sébastien Helleu 70a930516d irc: always set nick away status on WHO response (sent manually or automatically with server option "away_check") 2018-04-02 10:36:36 +02:00
Sébastien Helleu 8fd2a909b4 core: update ChangeLog 2018-04-02 10:00:03 +02:00
Sébastien Helleu 3ce882daee irc: allocate the string "prefix" in nick
This fixes a crash when calling the function hdata_string on the "prefix"
variable in the nick.
2018-04-02 09:58:08 +02:00
Nils Görs a6d7179462 core: update German translations 2018-04-01 14:13:38 +02:00
Sébastien Helleu bbd6471197 irc: add missing parameter "-server" in /help list (issue #1165) 2018-04-01 08:43:50 +02:00
Sébastien Helleu 5314aa394a irc: add option "-server" in command /list (closes #1165) 2018-04-01 08:38:15 +02:00
Sébastien Helleu fc2395ca4f irc: replace "server" by "target" in help of commands when the argument is not an internal WeeChat server (issue #1165) 2018-04-01 08:00:59 +02:00
Sébastien Helleu dfc27c5eaf Add a template for GitHub issues 2018-03-31 16:46:21 +02:00
Nils Görs b23057f4b4 Merge branch 'master' of https://github.com/weechat/weechat 2018-03-31 16:37:47 +02:00
Nils Görs 6d8ce31901 doc: update German documentation 2018-03-31 16:37:24 +02:00
Sébastien Helleu 8400ec83c3 doc: update German auto-generated file 2018-03-31 16:33:35 +02:00
Nils Görs aeb53a9dc3 core: update German translations 2018-03-31 16:30:16 +02:00
Sébastien Helleu 230e827d24 core: fix help on option weechat.look.hotlist_count_max 2018-03-31 15:57:38 +02:00
Sébastien Helleu e3ff69d669 core: improve help on option weechat.look.hotlist_count_max 2018-03-31 15:37:25 +02:00
Sébastien Helleu 5e1c3b2a28 doc: update German auto-generated file 2018-03-31 15:33:51 +02:00
Nils Görs b0c872626e core: update German translations 2018-03-31 14:35:23 +02:00
Sébastien Helleu f961cc56b8 core: add contributor in AUTHORS.adoc (issue #1171) 2018-03-31 13:59:37 +02:00
Sébastien Helleu 27b89a0e96 core: update ChangeLog (issue #1171) 2018-03-31 13:58:13 +02:00
Sébastien Helleu 11b4186f54 core: update translations (issue #1171) 2018-03-31 13:56:49 +02:00
Sébastien Helleu 4306613536 xfer: improve help on option xfer.network.send_ack (issue #1171) 2018-03-31 13:39:20 +02:00
Sébastien Helleu 5a58b92044 xfer: fix code style and comments (issue #1171) 2018-03-31 13:39:16 +02:00
Sébastien Helleu b32ea2e373 xfer: move option "send_ack" (sort options by name) (issue #1171) 2018-03-31 13:39:04 +02:00
Sébastien Helleu 060ba763f2 Merge remote-tracking branch 'origin/pr/1171' 2018-03-31 13:30:21 +02:00
Sébastien Helleu 7e765d3d8e core: add contributor in AUTHORS.adoc 2018-03-31 12:08:03 +02:00
Sébastien Helleu ce682bb02a Merge pull request #1164 from wking/openssl-ecparam-out
doc: use '-out' instead of shell redirection for openssl ecparam
2018-03-31 12:06:02 +02:00
Sébastien Helleu 32159e68fe core: fix release dates in weechat.spec (issue #1169) 2018-03-31 12:02:41 +02:00
Sébastien Helleu 3d5ea005e0 irc: fix split of messages when server option "split_msg_max_length" is set to 0 (no split) (closes #1173) 2018-03-31 10:06:22 +02:00
Sébastien Helleu 424c1b99fd doc: add note about /fset completion in quickstart guide 2018-03-31 09:44:16 +02:00
Sébastien Helleu 9af0c04b88 doc: add fset plugin in quickstart guide 2018-03-31 09:18:26 +02:00
Sébastien Helleu b143bc6829 doc: add keys F1/F2 to scroll buflist bar in quickstart guide 2018-03-31 09:18:26 +02:00
Sébastien Helleu 25b6dc4bf7 doc: remove sentences about /help in quickstart guide 2018-03-31 09:18:26 +02:00
Sébastien Helleu 298d279754 doc: update Japanese auto-generated files 2018-03-31 09:18:11 +02:00
Sébastien Helleu de2d5fc4c3 Merge pull request #1172 from l/master/translation/ja_JP
core: update Japanese translations
2018-03-31 09:17:29 +02:00
AYANOKOUZI, Ryuunosuke b41ea696fa core: update Japanese translations 2018-03-30 09:00:00 +09:00
Dominique Martinet dd627f3a53 xfer: add xfer.network.send_ack option
This option disables sending acks during transfer, leaving only the final ack,
as would naturally happen if sending ack ever returns EWOULDBLOCK.
2018-03-28 09:35:35 +02:00
Dominique Martinet 57e8c99546 xfer: set TCP_NODELAY on recv side
This works around hangs where only a couple of bytes could be sent
to the socket and retrying to send the last bytes of the ack never
seem to work.

Closes #1167.
2018-03-28 09:32:18 +02:00
Sébastien Helleu 9490c6949b doc: update German auto-generated files 2018-03-27 22:37:28 +02:00
Nils Görs 9c9dcacc84 core: update German translations 2018-03-27 21:51:18 +02:00
Sébastien Helleu 3fc0ce7d3b core: add more info about IRC signals names in release notes 2018-03-26 21:26:42 +02:00
Sébastien Helleu 2802457c02 core: add a note about tags sent in IRC "in" signals in release notes (issue #787) 2018-03-25 22:10:37 +02:00
Sébastien Helleu 54bd959300 core: add missing completion with buffer names for command /buffer merge (issue #1108, issue #1159) 2018-03-25 21:43:20 +02:00
Sébastien Helleu 1be7502e15 core: add missing issue #1108 in ChangeLog 2018-03-25 21:42:03 +02:00
Sébastien Helleu c90572babe irc: send whole IRC message including IRCv3 tags in the signals irc_in, irc_in2, irc_raw_in and irc_raw_in2 (issue #787) 2018-03-25 20:05:12 +02:00
Sébastien Helleu aaad4ca6e5 irc: update URL with IRCv3.2 message tags specification 2018-03-25 17:46:25 +02:00
Sébastien Helleu 9dd8cc0d6a irc: fix memory leak when receiving a message with tags 2018-03-25 17:27:15 +02:00
Sébastien Helleu a38533cb41 core: update ChangeLog 2018-03-25 10:23:34 +02:00
Sébastien Helleu 10f5f6d3ae core: update translations 2018-03-25 10:23:19 +02:00
Sébastien Helleu 91bfd809e6 irc: fix help on commands /unban and /unquiet 2018-03-25 10:09:15 +02:00
Sébastien Helleu 0d74b03004 irc: rename functions to search modelist items 2018-03-25 10:05:58 +02:00
Sébastien Helleu 8f3c9a7378 irc: reorder modelist functions 2018-03-25 10:01:36 +02:00
Sébastien Helleu 126a825924 irc: add completion with modelist numbers for commands /unban and /unquiet 2018-03-25 08:38:42 +02:00
Sébastien Helleu 5793181ead irc: factorize code to set state of modelists in a channel 2018-03-25 08:18:54 +02:00
Sébastien Helleu 1dff661356 irc: clear the modelist if nothing was received before the end of list (invite/exception/ban/quiet) 2018-03-24 19:02:01 +01:00
Sébastien Helleu 4bdda6dd0a irc: fix indenting in debug print of modelist 2018-03-24 18:53:11 +01:00
Sébastien Helleu f457d779a4 irc: fix debug print of modelist item number and pointer 2018-03-24 18:37:06 +01:00
Sébastien Helleu afc1ecdaf9 irc: fix debug print of modelist item datetime value 2018-03-24 18:36:32 +01:00
Sébastien Helleu cbad99356f irc: fix messages on exception to make them easier to translate 2018-03-24 18:36:32 +01:00
Sébastien Helleu a75250b300 irc: mark setter as optional in modelist item 2018-03-24 18:36:32 +01:00
Sébastien Helleu 51b90cbd53 irc: first search the modelist item, then free it if found 2018-03-24 17:11:01 +01:00
Sébastien Helleu de825c9152 irc: check that the modelist item number is valid before using it 2018-03-24 17:10:08 +01:00
Sébastien Helleu 50d39969cb irc: fix some styles 2018-03-24 17:08:56 +01:00
Sébastien Helleu 837eb82edd core: add irc-modelist sources files to generate translations 2018-03-24 17:04:27 +01:00
Sébastien Helleu 6dd97638c3 doc: add irc-modelist.c in translated versions of developer's guide 2018-03-24 17:03:59 +01:00
Simmo Saan d77e1ea499 irc: add indexed ban list, add completion for /unban and /unquiet (closes #597, task #11374, task #10876) 2018-03-24 17:01:50 +01:00
Sébastien Helleu b2f971d4b0 doc: update Japanese auto-generated files 2018-03-24 07:33:24 +01:00
Sébastien Helleu 8216fb1be2 Merge pull request #1168 from l/master/translation/ja_JP
core: update Japanese translations
2018-03-24 07:32:26 +01:00
AYANOKOUZI, Ryuunosuke 71287c44d6 core: update Japanese translations 2018-03-24 09:00:00 +09:00
Sébastien Helleu ea31a950c0 doc: update German auto-generated files 2018-03-22 21:27:57 +01:00
Sébastien Helleu 330e13ac61 doc: update Ruby version in dependencies (user's guide) 2018-03-22 21:25:00 +01:00
Sébastien Helleu 8fd13eefb9 doc: update PHP packages in dependencies (user's guide) 2018-03-22 21:22:32 +01:00
Sébastien Helleu 55bb057319 debian: display the number of patches OK and in error in script build-debian.sh 2018-03-22 21:13:23 +01:00
Sébastien Helleu 3de28af6cd debian: update debian/ubuntu/raspbian patches 2018-03-22 20:46:16 +01:00
Sébastien Helleu 60ee461c43 debian: remove patches for old ubuntu versions: zesty, yakkety, precise 2018-03-22 20:46:16 +01:00
Sébastien Helleu 647b92f6a0 debian: do not build packages with debug symbols in script build-debian.sh 2018-03-22 20:46:15 +01:00
Sébastien Helleu 16d932a671 debian: sync debian files with debian git repository 2018-03-21 22:01:41 +01:00
Sébastien Helleu a72a1ccd51 core: add test of Debian/Ubuntu patches on Travis CI 2018-03-20 22:11:01 +01:00
Sébastien Helleu 846eb90e7d core: add option "test-patches" in script build-debian.sh 2018-03-20 22:09:20 +01:00
Sébastien Helleu 667c9364ed doc: add more info about the reload callback in function config_new (plugin API reference) 2018-03-20 21:51:13 +01:00
Sébastien Helleu 4238fe0e9c debian: update debian/ubuntu/raspbian patches 2018-03-20 20:32:40 +01:00
Nils Görs 66204dfcf2 core: update German translations 2018-03-20 20:11:08 +01:00
W. Trevor King 5d91765da7 doc: use '-out' instead of shell redirection for openssl ecparam
Generated with:

  $ sed -i 's|openssl ecparam -genkey -name prime256v1 >~/.weechat/ecdsa.pem|openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem|' $(git grep -l 'openssl ecparam')

There's no reason to involve shell redirection, which we've had since
88073243 (doc: add instructions for SASL "ecdsa-nist256p-challenge",
2015-01-21).  We already use -in or -out for our other openssl
invocations, as shown by:

  $ git grep 'openssl.*\(<\|>\|-in\|-out\)'
2018-03-19 15:55:34 -07:00
Sébastien Helleu 062051acb3 core: improve help of option weechat.completion.partial_completion_alert 2018-03-19 21:55:06 +01:00
Sébastien Helleu cd8a98fd1f core: add contributor in AUTHORS.adoc 2018-03-19 21:52:08 +01:00
Sébastien Helleu c9dd8140a4 core: update ChangeLog (closes #1159) 2018-03-19 21:51:32 +01:00
Sébastien Helleu 671ffbe352 core: update translations 2018-03-19 21:50:21 +01:00
Ruslan Bekenev 8582f281f2 core: merge buffer by name 2018-03-19 21:48:24 +01:00
Sébastien Helleu 86998ff358 core: add contributor in AUTHORS.adoc 2018-03-19 21:23:43 +01:00
Sébastien Helleu 402d9e8245 Merge pull request #1163 from fornwall/replace-getdtablesize
Replace getdtablesize() with sysconf(_SC_OPEN_MAX)
2018-03-19 21:22:48 +01:00
Sébastien Helleu 5f2ed55c97 debian: add package weechat-headless with the headless binary and its man page 2018-03-19 19:43:07 +01:00
Sébastien Helleu fc584316da core: split man pages weechat and weechat-headless 2018-03-19 19:38:44 +01:00
Fredrik Fornwall b29352eff6 Replace getdtablesize() with sysconf(_SC_OPEN_MAX)
From the getdtablesize(3) man page:
       It is not specified in POSIX.1; portable applications should
       employ sysconf(_SC_OPEN_MAX) instead of this call.

Specifically, this fixes a compilation problem on Android.
2018-03-18 21:15:12 +01:00
Sébastien Helleu 5e3b6d50bb core: ignore file etc/postinstall/weechat.sh in build with cygport on Cygwin 2018-03-18 12:14:38 +01:00
Sébastien Helleu 8e7f5ea6e8 core: fix build with CMake and Ninja 2018-03-18 11:49:15 +01:00
Sébastien Helleu 352c0408d8 Version 2.2-dev 2018-03-18 08:15:52 +01:00
Sébastien Helleu 47e3825591 Version 2.1 2018-03-18 07:41:40 +01:00
Sébastien Helleu f7f92ce12e doc: update Polish auto-generated files 2018-03-17 18:16:12 +01:00
Krzysztof Korościk fa5d543c5b po: updated polish translations 2018-03-17 18:01:30 +01:00
Krzysztof Korościk a481386025 doc: updated polish translation 2018-03-17 16:06:04 +01:00
Sébastien Helleu 8cf3b09d81 scripts: hide message when the eval script is unloaded
Related to commit 8fbbe8b0d5.
2018-03-17 08:17:41 +01:00
Nils Görs 939c3f7cd0 Merge branch 'master' of https://github.com/weechat/weechat 2018-03-17 08:06:27 +01:00
Nils Görs d9557330bb core: update German translations 2018-03-17 08:05:41 +01:00
Sébastien Helleu 72e920d532 Merge pull request #1161 from l/master/translation/ja_JP
core: update Japanese translations
2018-03-17 08:02:58 +01:00
AYANOKOUZI, Ryuunosuke 92f67df10c core: update Japanese translations 2018-03-17 09:00:00 +09:00
Sébastien Helleu 9be08943ab tests: fix name of target in dependencies 2018-03-16 22:08:11 +01:00
Sébastien Helleu 556b172a55 core: update translations 2018-03-16 20:26:47 +01:00
Sébastien Helleu 71999e17c6 core: quit WeeChat on ctrl-C (signal SIGINT) in headless mode 2018-03-16 20:10:57 +01:00
Sébastien Helleu 84f4e31425 core: fix compilation error on Cygwin 2018-03-16 20:09:35 +01:00
Sébastien Helleu b4cdc29a8f Merge pull request #1158 from l/master/translation/ja_JP
core: update Japanese translations
2018-03-13 19:38:00 +01:00
AYANOKOUZI, Ryuunosuke c3bcc80420 core: update Japanese translations 2018-03-14 09:00:00 +09:00
Sébastien Helleu 72cdcf6ed9 Version 2.1-rc1 2018-03-11 21:38:07 +01:00
Sébastien Helleu 78f5a73d94 doc: replace "rm -f" by "$(RM)" in makefiles 2018-03-11 20:59:41 +01:00
Sébastien Helleu 3dacb43f0c doc: create symbolic links for weechat-headless man page in autotools 2018-03-11 20:59:13 +01:00
Sébastien Helleu 5d6eb3f010 doc: fix cmake target names for man pages 2018-03-11 19:45:29 +01:00
Nils Görs ee87caa933 core: update German translations 2018-03-11 19:38:08 +01:00
Sébastien Helleu 1be74b9683 core: update ChangeLog 2018-03-11 18:36:49 +01:00
Sébastien Helleu c6d4deb8df Revert "core: remove colors from prefix/message only when needed in hook_print_exec"
This reverts commit bfc579cb33.
2018-03-11 18:31:30 +01:00
Sébastien Helleu 985a55cf45 core: fix compilation warning on ignored returned value for function dup() 2018-03-11 10:34:19 +01:00
Sébastien Helleu 805717e9ec core: add binary weechat-headless to run WeeChat without interface (closes #1120)
The optional command line option "--daemon" runs WeeChat like a daemon
(fork, new process group, file descriptors closed).
2018-03-11 09:59:39 +01:00
Sébastien Helleu 0126b03f47 debian: add missing link on Czech man page 2018-03-11 09:56:24 +01:00
Sébastien Helleu 53a9d90059 doc: update Polish auto-generated files 2018-03-10 19:08:38 +01:00
Sébastien Helleu 599388f20d Restore e-mail already used in commits 2018-03-10 19:06:31 +01:00
Krzysztof Korościk 5773db785e po: update few fuzzy translations 2018-03-10 18:18:22 +01:00
Krzysztof Korościk 09ffbcd747 updated e-mail 2018-03-10 18:00:44 +01:00
Krzysztof Korościk afadcf59d4 doc: updated polish translation 2018-03-10 17:59:01 +01:00
Sébastien Helleu 688c9d92d0 tests: fix typo in fake ncurses lib header 2018-03-09 07:35:40 +01:00
Sébastien Helleu 52f1914ca4 doc: update Japanese auto-generated file 2018-03-06 21:58:43 +01:00
Sébastien Helleu 5aa553943d Merge pull request #1155 from l/master/translation/ja_JP
core: update Japanese translations
2018-03-06 21:56:32 +01:00
Sébastien Helleu 0a67458a94 debian: add patch for Ubuntu Artful to use PHP 7.1 2018-03-06 08:59:13 +01:00
AYANOKOUZI, Ryuunosuke f9db9c0212 core: update Japanese translations 2018-03-06 09:00:00 +09:00
Sébastien Helleu 3c01a73df0 debian: replace PHP version 7.1 with 7.2 in debian patches (issue #1154) 2018-03-05 20:51:25 +01:00
Sébastien Helleu 15723bccdf doc: update dependencies for PHP plugin in user's guide (issue #1154) 2018-03-05 20:51:22 +01:00
Sébastien Helleu c4b49508be debian: build with PHP 7.2 by default (issue #1154) 2018-03-05 20:51:04 +01:00
Nils Görs 3d97989c2b doc: update German documentation 2018-03-04 13:17:43 +01:00
Sébastien Helleu 7cd5d76a9f doc: add a question about configuration sharing in FAQ 2018-03-04 07:55:47 +01:00
Sébastien Helleu 5768b2060c doc: add more info about return value of function hdata_move (plugin API reference) 2018-03-01 21:57:46 +01:00
Sébastien Helleu d8b7647275 doc: update German auto-generated file 2018-02-22 21:16:45 +01:00
Nils Görs f55642a753 core: update German translations 2018-02-22 20:55:32 +01:00
Sébastien Helleu ec64137a5b fset: fix remaining typos in translations: alf+f -> alt+f 2018-02-22 07:39:55 +01:00
Sébastien Helleu 3f5d57cc5c Merge pull request #1152 from mumixam/typo-fix
fset: corrected typos
2018-02-22 07:36:20 +01:00
mumixam 620151c657 fset: corrected typos 2018-02-21 19:18:45 -06:00
Sébastien Helleu 2af553cf80 core: fix description of command in /help upgrade 2018-02-19 21:28:09 +01:00
Sébastien Helleu 20f9ca7d4a scripts: display the script name in stdout/stderr output from scripts 2018-02-19 21:27:08 +01:00
Sébastien Helleu 5e3c55bacc doc: update German auto-generated file 2018-02-19 21:26:21 +01:00
Nils Görs a86df82ae8 core: update German translations 2018-02-10 10:15:44 +01:00
Sébastien Helleu 91573cc72b doc: update Japanese auto-generated files 2018-02-10 09:13:27 +01:00
Sébastien Helleu 4f3f1c519f Merge pull request #1147 from l/master/translation/ja_JP
core: update Japanese translations
2018-02-10 09:12:30 +01:00
Sébastien Helleu 24c5db49b1 logger: call fsync even when option logger.file.flush_delay is set to 0 (issue #1145)
This is not recommended anyway to turn on fsync with a delay set to 0, it will
slow down WeeChat a lot, especially with many buffers opened.
2018-02-10 08:27:24 +01:00
Sébastien Helleu 710db5dbcd logger: add option logger.file.fsync (closes #1145) 2018-02-10 08:23:47 +01:00
AYANOKOUZI, Ryuunosuke 8c16d08bdd core: update Japanese translations 2018-02-10 09:00:00 +09:00
Sébastien Helleu 1bd8998d07 doc: update German auto-generated file 2018-02-08 20:46:34 +01:00
Sébastien Helleu 2b275040e7 script: change default value of option script.look.sort from "p,n" to "i,p,n" 2018-02-08 20:46:07 +01:00
Nils Görs 81b7d35349 core: update German translations 2018-02-07 21:39:30 +01:00
Sébastien Helleu d14f925123 exec: add note about piped commands in /help exec for option -sh 2018-02-07 19:59:38 +01:00
Sébastien Helleu ed726787d8 doc: update German auto-generated file 2018-02-07 19:59:22 +01:00
Nils Görs b179654baf core: update German translations 2018-02-06 22:15:38 +01:00
Sébastien Helleu f889306c5e irc: allow ${irc_server.xxx} and ${server} in server evaluated options (closes #1144)
The server option "ssl_fingerprint" is now evaluated when it is used (during
SSL connection), instead of when it is set with command /set.
2018-02-05 21:41:03 +01:00
Sébastien Helleu e2b439d046 core: update color and link to donation page in README 2018-02-04 19:41:09 +01:00
Sébastien Helleu aeec074130 doc: update German auto-generated file 2018-01-30 22:43:58 +01:00
Nils Görs 97c6dcab65 core: update German translations 2018-01-30 20:37:53 +01:00
Sébastien Helleu 03456722ef core: fix typo: scripts manager -> script manager 2018-01-29 21:04:27 +01:00
Sébastien Helleu db448a3e94 php: add OpenSSL licensing in copyright 2018-01-25 22:31:51 +01:00
Sébastien Helleu 0f1d97fd5b doc: update Japanese auto-generated files 2018-01-21 20:37:11 +01:00
Sébastien Helleu 4545cc88b1 doc: rename callback name in example of function hook_process (plugin API reference) 2018-01-21 20:36:24 +01:00
Sébastien Helleu d1179460cf Merge pull request #1139 from l/master/translation/ja_JP
core: update Japanese translations
2018-01-21 13:41:55 +01:00
Sébastien Helleu ffb8350f34 doc: update German and Polish auto-generated files 2018-01-20 15:11:02 +01:00
Krzysztof Korościk 211d5aa7ec doc: updated polish translation 2018-01-20 14:57:29 +01:00
Krzysztof Korościk a10df072f4 po: updated polish translation 2018-01-20 14:57:29 +01:00
Nils Görs 3a405d6dd3 core: update German translations 2018-01-20 14:50:30 +01:00
Sébastien Helleu e9b6d73b0f api: add time in info "date" (WeeChat compilation date/time) (closes #1138) 2018-01-20 08:40:12 +01:00
AYANOKOUZI, Ryuunosuke d798d1c162 core: update Japanese translations 2018-01-20 09:00:00 +09:00
Sébastien Helleu 3a5f97c7a8 doc: update German auto-generated files 2018-01-17 08:52:15 +01:00
Nils Görs f16a8a549a core: update German translations 2018-01-16 20:59:02 +01:00
Sébastien Helleu 257d5fe153 scripts: fix translation of help on option "eval_keep_context" 2018-01-15 22:37:40 +01:00
Sébastien Helleu 8fbbe8b0d5 scripts: add option "eval_keep_context" in script plugins 2018-01-15 22:00:15 +01:00
Sébastien Helleu 21e63e7958 scripts: add configuration file for each script plugin 2018-01-15 21:57:06 +01:00
Sébastien Helleu ee79e11b15 core: add command /help in release notes 2018-01-14 22:00:59 +01:00
Sébastien Helleu ec169f535d core: reinitialize config file pointer to NULL after an error on section creation 2018-01-14 21:47:18 +01:00
Sébastien Helleu eb0560812b scripts: add missing initialization of plugin pointer to NULL 2018-01-14 21:47:18 +01:00
Sébastien Helleu 9cd82686bc doc: update German auto-generated files 2018-01-14 21:46:43 +01:00
Nils Görs 7bf2b6197e core: update German translations 2018-01-14 21:06:47 +01:00
Sébastien Helleu 726e2491cd irc: fix typo in help on server option "split_msg_max_length" 2018-01-14 16:53:23 +01:00
Nils Görs b45c9ceb97 core: update German translations 2018-01-14 15:51:17 +01:00
Sébastien Helleu be3634f22f irc: add server option "split_msg_max_length" 2018-01-13 22:17:13 +01:00
Sébastien Helleu 388319fb59 core: add contributor in AUTHORS.adoc 2018-01-13 16:27:24 +01:00
Sébastien Helleu 233b7bd0e1 Merge pull request #1136 from PapiCZ/fix-typo
Fixed typo in "pzthon"
2018-01-13 16:25:59 +01:00
Patrik Janoušek 1e2bc15e63 Fixed typo in "pzthon" 2018-01-13 14:47:05 +01:00
Sébastien Helleu b916052117 doc: update German and Japanese auto-generated files 2018-01-13 10:22:54 +01:00
Sébastien Helleu 634bf5e062 Merge pull request #1135 from l/master/translation/ja_JP
core: update Japanese translations
2018-01-13 09:50:03 +01:00
AYANOKOUZI, Ryuunosuke 20c3680ede core: update Japanese translations 2018-01-13 09:00:00 +09:00
Nils Görs 32118340de core: update German translations 2018-01-11 20:47:38 +01:00
Nils Görs 363bbd8970 core: update German translations 2018-01-11 20:41:13 +01:00
Sébastien Helleu a4b1952c75 logger: add option logger.look.backlog_conditions (closes #1132) 2018-01-11 16:44:36 +01:00
Sébastien Helleu 9b935836e0 core: add contributor in AUTHORS.adoc 2018-01-11 11:33:05 +01:00
Sébastien Helleu a17ffa8dee doc: improve documentation for focus events in FAQ (translations) 2018-01-11 11:33:05 +01:00
Maxim Baz bb6af05a31 doc: improve documentation for focus events in FAQ (closes #1130) 2018-01-11 11:32:55 +01:00
Sébastien Helleu 5d88d08ef9 core: add options "-newbuffer", "-free" and "-switch" in command /print (issue #1113) 2018-01-08 22:01:11 +01:00
Sébastien Helleu 2ea510cc49 doc: update Japanese auto-generated files 2018-01-08 21:58:35 +01:00
Sébastien Helleu a95c0a43b5 Merge pull request #1129 from l/master/translation/ja_JP
core: update Japanese translations
2018-01-08 21:57:01 +01:00
AYANOKOUZI, Ryuunosuke 31b4e8ed7a core: update Japanese translations 2018-01-08 09:00:00 +09:00
Sébastien Helleu 64d610c0d7 ruby: fix buffer overflow 2018-01-07 19:32:57 +01:00
Sébastien Helleu be7002b70d tests: fix tests on function string_regex_flags 2018-01-07 15:04:24 +01:00
Sébastien Helleu 1999d19ebb doc: update German auto-generated files 2018-01-07 15:04:14 +01:00
Nils Görs 29826725b9 core: update German translations 2018-01-07 14:54:00 +01:00
Nils Görs afebd02286 core: update German translations 2018-01-07 14:19:51 +01:00
Sébastien Helleu f3de26c075 core: set input callback on user buffers after /upgrade 2018-01-07 12:37:04 +01:00
Sébastien Helleu d7ca5f04f6 core: fix typo in ChangeLog 2018-01-07 12:33:11 +01:00
Sébastien Helleu ed0b337505 core: add option "-y" in command /buffer, add support of buffers with free content 2018-01-07 12:01:41 +01:00
Sébastien Helleu da5a75f0cc core: remove invalid completion "-prefix" in command /print 2018-01-07 11:16:55 +01:00
Sébastien Helleu 7ee88fb46c core: fix some styles 2018-01-07 09:11:45 +01:00
Sébastien Helleu 91f792416b core: add option "add" in command /buffer (issue #1113) 2018-01-06 14:19:50 +01:00
Sébastien Helleu c3e2ed91a2 core: update ChangeLog (issue #128) 2018-01-06 14:08:03 +01:00
Sébastien Helleu 9876a8d0a7 core: update translations (issue #128) 2018-01-06 14:07:57 +01:00
Sébastien Helleu bab307bf1b php: fix compiler warning (issue #128) 2018-01-06 14:07:55 +01:00
Sébastien Helleu e87f2e6a46 javascript: fix compiler warning (issue #128) 2018-01-06 14:07:54 +01:00
Sébastien Helleu d23b52efdb tcl: fix compiler warning (issue #128) 2018-01-06 14:07:52 +01:00
Sébastien Helleu eb54230760 lua: add support of eval (issue #128) 2018-01-06 14:07:50 +01:00
Sébastien Helleu 23ec371dae python: fix error message when executing code from string in weechat_python_load (issue #128) 2018-01-06 14:07:48 +01:00
Sébastien Helleu b80e3ff792 perl: do not update message argument in function weechat_perl_output (issue #128) 2018-01-06 14:07:44 +01:00
Sébastien Helleu 414959a474 scripts: add "eval" option in script commands and info "xxx_eval" (issue #128)
For now this works only in python, perl, ruby and guile.
2018-01-06 14:07:35 +01:00
Sébastien Helleu 4884ee6634 core: fix copyright header in German translations 2018-01-05 01:20:34 +01:00
Sébastien Helleu ed4837b2f6 core: update copyright dates 2018-01-05 00:54:18 +01:00
Sébastien Helleu 6931a45946 doc: update Japanese auto-generated files 2017-12-30 15:13:29 +01:00
Sébastien Helleu 2f96abc3f2 Merge pull request #1123 from l/master/translation/ja_JP
core: update Japanese translations
2017-12-30 15:12:42 +01:00
AYANOKOUZI, Ryuunosuke 14675f6756 core: update Japanese translations 2017-12-30 09:00:00 +09:00
Nils Görs 9b748dd0ab doc: update German documentation 2017-12-29 18:33:54 +01:00
Sébastien Helleu ea9de91bcd doc: add note on Mac OS X terminal app and meta key (FAQ) 2017-12-27 23:21:32 +01:00
Sébastien Helleu 8856132df6 core: add contributor in AUTHORS.adoc 2017-12-26 21:58:42 +01:00
Sébastien Helleu 72db3f74f1 core: update ChangeLog 2017-12-26 21:57:14 +01:00
Sébastien Helleu 4a44244422 core: add detection of Ruby 2.5 in autotools (issue #1122) 2017-12-26 21:55:53 +01:00
Sébastien Helleu e1e549b37e Merge pull request #1122 from jirutka/ruby25
core: add detection for Ruby 2.5
2017-12-26 21:53:31 +01:00
Jakub Jirutka cb98f52830 core: add detection for Ruby 2.5 2017-12-26 18:30:36 +01:00
Sébastien Helleu de01364726 doc: update German auto-generated files 2017-12-25 07:39:01 +01:00
Nils Görs d3baee1102 core: update German translations 2017-12-24 19:29:11 +01:00
Sébastien Helleu df11609c13 core: add missing issue in ChangeLog (closes #584) 2017-12-24 13:47:02 +01:00
Sébastien Helleu fbc87573d0 scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins (issue #1075) 2017-12-23 21:21:40 +01:00
Sébastien Helleu c4626bc08a scripts: add option "version" in script commands (closes #1075) 2017-12-23 20:35:30 +01:00
Sébastien Helleu d7122cd6be javascript: fix /javascript command 2017-12-23 19:48:59 +01:00
Sébastien Helleu 87be29ed3d api: add hashtable with variables in plugin structure 2017-12-23 19:47:22 +01:00
Sébastien Helleu aa7a3cf07d core: add missing variables "author" and "license" in dump of plugin 2017-12-23 13:06:51 +01:00
Sébastien Helleu fffd14a099 core: update stable version in script version.sh 2017-12-21 20:21:35 +01:00
Sébastien Helleu 6f64cd0c84 core: add version 2.0.1 in ChangeLog, release notes and weechat.spec 2017-12-20 23:12:23 +01:00
Sébastien Helleu 04926c8c37 doc: replace "/help autosetbuffer" by "/help buffer_autoset" in user's guide (closes #1116) 2017-12-14 07:30:38 +01:00
Nils Görs a60f014078 doc: fix wrong examples in user guide (issue #1116) 2017-12-13 21:17:10 +01:00
Nils Görs 1360a22252 core: update German translations 2017-12-11 21:00:58 +01:00
Sébastien Helleu 364eca7922 doc: update German auto-generated files 2017-12-11 09:35:53 +01:00
Nils Görs 08037bf01d core: update German translations 2017-12-10 15:14:52 +01:00
Sébastien Helleu 52186cae97 Merge pull request #1114 from l/master/translation/ja_JP
doc: update Japanese translations
2017-12-10 09:56:34 +01:00
Sébastien Helleu 6cc7b64af7 core: add link to API doc in /help weechat.completion.partial_completion_templates 2017-12-10 08:31:11 +01:00
AYANOKOUZI, Ryuunosuke 4414eddaaa doc: update Japanese translations 2017-12-10 09:00:00 +09:00
Sébastien Helleu 40749afced core: add option weechat.completion.partial_completion_templates
This option is used to force partial completion on specific templates
(for now only "config_options").
2017-12-09 11:40:14 +01:00
Sébastien Helleu a7522d8e89 core: add fset plugin in release notes of version 2.0 2017-12-08 20:17:50 +01:00
Sébastien Helleu 515334e53b python: fix integer arguments in hook_connect() and hook_fd() callbacks 2017-12-04 22:07:38 +01:00
Sébastien Helleu d4a6758b8b doc: replace download page with a link to relay chapter (user's guide) 2017-12-04 20:50:37 +01:00
Sébastien Helleu 6db7035870 fset: fix typos in French translation of /help fset 2017-12-04 20:50:11 +01:00
Sébastien Helleu d6ce2fabcc Version 2.1-dev 2017-12-03 12:29:55 +01:00
Sébastien Helleu f0a06cc85a Version 2.0 2017-12-03 11:55:08 +01:00
Sébastien Helleu 4edbc7d1da core: add missing versions in weechat.spec 2017-12-03 11:18:12 +01:00
Sébastien Helleu a688ec3d0b core: add missing version 1.9.1 in weechat.spec 2017-12-03 11:11:14 +01:00
Sébastien Helleu e4580a731b buflist: use larger buffer for buflist bar item name 2017-12-03 11:04:28 +01:00
Sébastien Helleu db6f0e030d debian: add "metapackage" info to short description of weechat package 2017-12-03 08:53:41 +01:00
Sébastien Helleu 59e5455659 Merge pull request #1110 from l/master/translation/ja_JP
doc: update Japanese translations
2017-12-03 08:43:29 +01:00
AYANOKOUZI, Ryuunosuke 019ceba4b3 doc: update Japanese translations 2017-12-03 09:00:00 +09:00
Krzysztof Korościk 75099675c7 doc: updated polish faq 2017-12-01 19:30:07 +01:00
Sébastien Helleu ff9a11b1de Version 2.0-rc1 2017-11-29 23:02:59 +01:00
Sébastien Helleu 1f9b83aac4 doc: update German auto-generated files 2017-11-26 21:22:45 +01:00
Nils Görs 2c7708ab60 core: update German translations 2017-11-26 14:06:03 +01:00
Sébastien Helleu af5b8ea165 doc: translate doc on weechat_plugin pointer in other languages (plugin API reference) 2017-11-26 10:22:23 +01:00
Sébastien Helleu 5fcbeb9f3e Merge pull request #1099 from sim642/doc-weechat_plugin
doc: mention weechat_plugin pointer used by plugin header
2017-11-25 14:15:02 +01:00
Sébastien Helleu d0d900395a doc: add a manual way to download the list of scripts, if needed (FAQ) 2017-11-25 09:04:17 +01:00
Sébastien Helleu 829f64a388 doc: add question about command "/script update" in FAQ 2017-11-25 08:28:17 +01:00
Sébastien Helleu ef1c959959 doc: update Japanese auto-generated files 2017-11-21 21:06:29 +01:00
Sébastien Helleu 2682f72094 Merge pull request #1103 from l/master/translation/ja_JP
core: update Japanese translations
2017-11-21 21:05:34 +01:00
Sébastien Helleu ed7237696d doc: update Polish auto-generated files 2017-11-19 22:34:46 +01:00
Krzysztof Korościk c61137f962 po: updated polish translation 2017-11-19 19:00:10 +01:00
Krzysztof Korościk e6c143b6d9 doc: updated polish translation 2017-11-19 14:24:28 +01:00
AYANOKOUZI, Ryuunosuke 2d9981554b core: update Japanese translations 2017-11-18 09:00:00 +09:00
Sébastien Helleu 338e05a2f4 trigger: fix typo in /help trigger 2017-11-15 07:25:17 +01:00
Sébastien Helleu 58a6b564e2 doc: update German auto-generated files 2017-11-11 08:52:28 +01:00
Nils Görs adddddfdb5 core: update German translations 2017-11-11 08:50:23 +01:00
Sébastien Helleu 16309be4ed fset: only toggle boolean values with /fset -toggle or alt+space key 2017-11-11 08:25:54 +01:00
Sébastien Helleu 4dd15157d2 doc: update German auto-generated files 2017-11-07 07:30:18 +01:00
Nils Görs 2aaa8132f4 core: update German translations 2017-11-06 22:14:54 +01:00
Simmo Saan d1f530611c doc: mention weechat_plugin pointer used by plugin header 2017-11-06 18:32:46 +02:00
Sébastien Helleu eca8bce3fd irc: fix help on option irc.look.notice_welcome_redirect (closes #1095) 2017-11-06 07:05:56 +01:00
Simmo Saan d4296a02c0 irc: add invite-notify capability to help and completion 2017-11-05 13:42:28 +02:00
Simmo Saan 8420abe8bb irc: add chghost capability to help and completion 2017-11-05 13:36:45 +02:00
Simmo Saan 227537cbdb irc: add smart filtering for chghost messages 2017-11-05 13:30:33 +02:00
Simmo Saan bf9932bc1d irc: display chghost messages in buffers 2017-11-05 13:28:36 +02:00
Simmo Saan d3c79894e7 irc: add support for IRCv3.2 chghost 2017-11-05 13:24:12 +02:00
Sébastien Helleu b55c158280 core: add split of Debian packages in release notes 2017-11-05 10:29:51 +01:00
Sébastien Helleu dcd00792ca core: add contributor in AUTHORS.adoc 2017-11-04 21:05:17 +01:00
Sébastien Helleu bfc579cb33 core: remove colors from prefix/message only when needed in hook_print_exec 2017-11-04 21:04:03 +01:00
Sébastien Helleu b072586d79 core: add missing includes of stdio.h 2017-11-04 21:03:15 +01:00
Sébastien Helleu 6fb423002b Merge pull request #1094 from coypoop/patch-1
Include stdio.h for FILE
2017-11-04 20:56:12 +01:00
coypoop 5373908539 Include stdio.h for FILE
so this header can be included even if it's not already included
2017-11-04 17:58:38 +02:00
Sébastien Helleu 650242d179 debian: update debian/ubuntu patches 2017-11-04 12:52:39 +01:00
Sébastien Helleu 3d4c52207b debian: force dependency on libphp7.1-embed for package weechat-php (closes #1078) 2017-11-04 12:52:39 +01:00
Sébastien Helleu 152a82eb48 debian: split package weechat-plugins into 9 packages (with one package per scripting language) (issue #1085)
Debian packages with plugins:

- weechat-plugins (aspell, exec, fifo, relay, script, trigger)
- weechat-guile
- weechat-javascript
- weechat-lua
- weechat-perl
- weechat-php
- weechat-python
- weechat-ruby
- weechat-tcl
2017-11-04 12:52:39 +01:00
Sébastien Helleu 1225efe472 doc: add info about strings not translated in functions gettext/ngettext (plugin API reference) 2017-11-03 22:03:02 +01:00
Sébastien Helleu 42d98a6865 doc: fix typo in user's guide 2017-10-31 14:09:25 +01:00
Sébastien Helleu 093af02f0c core: remove useless condition (issue #1092) 2017-10-29 07:35:38 +01:00
Sébastien Helleu 1876af7500 core: move version 1.9.1 below version 2.0 in release notes 2017-10-29 07:23:28 +01:00
Sébastien Helleu 84013b82df core: do not change the chat prefix size when a filtered line is added (closes #1092) 2017-10-29 07:17:30 +01:00
Sébastien Helleu 6b817015e3 core: fix typo in /help key 2017-10-29 06:53:12 +01:00
Sébastien Helleu b8c6a5a2e1 tests: add tests on command/completion hooks scripting API functions 2017-10-28 13:12:00 +02:00
Sébastien Helleu 1c4bb40c93 doc: update Japanese auto-generated files 2017-10-28 08:14:18 +02:00
Sébastien Helleu c8750282a6 Merge pull request #1091 from l/master/translation/ja_JP
core: update Japanese translations
2017-10-28 08:12:44 +02:00
AYANOKOUZI, Ryuunosuke 8c1994cf2c core: update Japanese translations 2017-10-28 09:00:00 +09:00
Sébastien Helleu 022eb12a7d core: add nick name of contributor 2017-10-27 08:35:44 +02:00
Sébastien Helleu 038473b038 core: add bug #41245 in ChangeLog 2017-10-27 01:36:04 +02:00
Sébastien Helleu b189157907 core: update ChangeLog 2017-10-27 01:34:51 +02:00
Sébastien Helleu 7ede264fc7 core: add contributor in AUTHORS.adoc 2017-10-27 01:34:51 +02:00
alyptik 7a17941a5b core: add fix for ncurses with separate tinfo (closes #1090) 2017-10-27 01:34:06 +02:00
Sébastien Helleu 09f3edc2e6 tests: add tests on prefix and color scripting API functions 2017-10-27 01:12:35 +02:00
Sébastien Helleu 0fd1913ae8 tests: add tests on key_bind and key_unbind scripting API functions 2017-10-24 23:33:52 +02:00
Sébastien Helleu 1e6db7b489 tests: fix AST binop in Perl and Lua 2017-10-24 23:32:24 +02:00
Sébastien Helleu 4cff2322a0 tests: fix Tcl assignment 2017-10-24 23:31:51 +02:00
Sébastien Helleu 2b06b53a29 tests: add quotes in Lua tables 2017-10-24 23:30:32 +02:00
Sébastien Helleu a97d734d8b tests: fix Ruby strings 2017-10-24 23:29:38 +02:00
Sébastien Helleu 1cace5588a tests: escape "@" in Perl strings 2017-10-24 23:04:53 +02:00
Sébastien Helleu fe73a38b58 api: add support of prefix "quiet:" in function key_unbind() to quietly remove keys 2017-10-24 23:03:40 +02:00
Sébastien Helleu 759ccc328f core: fix typos in French translations 2017-10-21 19:42:51 +02:00
Sébastien Helleu fab43734e9 doc: update German auto-generated files 2017-10-21 19:42:28 +02:00
Nils Görs 1460d3ab10 core: update German translations 2017-10-21 14:25:23 +02:00
Sébastien Helleu 8025cfb05d core: update ChangeLog 2017-10-21 09:29:28 +02:00
Sébastien Helleu cc5c92ab1e core: set value as optional in help of /buffer set 2017-10-21 09:27:18 +02:00
Simmo Saan 80682fb006 core: allow /buffer set without value with empty default (closes #746) 2017-10-20 21:13:19 +03:00
Sébastien Helleu 285ad0c092 relay: fix typo in French translation of /help relay.network.websocket_allowed_origins 2017-10-20 08:37:49 +02:00
Sébastien Helleu 17554fda68 doc: add bar items "buflist2" and "buflist3" in user's guide 2017-10-19 22:07:47 +02:00
Sébastien Helleu 534dda9094 buflist: add two new bar items using the same format configuration options (closes #990) 2017-10-19 21:51:00 +02:00
Sébastien Helleu b82ce1e15d doc: update German auto-generated files 2017-10-17 22:18:30 +02:00
Nils Görs 4e21b83e7c core: update German translations 2017-10-17 22:05:17 +02:00
Sébastien Helleu 1d56e17b2f core: allow floating point and hexadecimal numbers in comparison of evaluated values 2017-10-17 20:43:40 +02:00
Sébastien Helleu 5233160d82 core: add contributor in AUTHORS.adoc 2017-10-16 20:37:11 +02:00
Grant Wu 4a2a6f7934 doc: clarify "home directory" in user's guide (closes #1086) 2017-10-16 20:36:39 +02:00
Sébastien Helleu 6d8a415bbf debian: fix relay plugin description in control files 2017-10-15 08:21:36 +02:00
Sébastien Helleu aa3b3e3605 doc: update German auto-generated files 2017-10-15 08:06:14 +02:00
Nils Görs 361b506fca core: update German translations 2017-10-14 18:46:43 +02:00
Sébastien Helleu a6e2aeb0c2 doc: update Japanese auto-generated files 2017-10-14 16:31:29 +02:00
Sébastien Helleu 3ea7116602 Merge pull request #1084 from l/master/translation/ja_JP
core: update Japanese translations
2017-10-14 16:30:30 +02:00
Sébastien Helleu 19c36cddc7 build: fix PHP library used to compile PHP plugin (closes #1078)
This was causing a dependency missing in debian packaging.
2017-10-14 11:10:34 +02:00
Sébastien Helleu 0db48c7291 core: add option weechat.look.save_config_with_fsync (closes #1083)
This makes the save of all configuration files about 20 to 200x slower
(according to the storage device speed); so this is disabled by default.
2017-10-14 07:56:02 +02:00
AYANOKOUZI, Ryuunosuke eb8881bccd core: update Japanese translations 2017-10-14 09:00:00 +09:00
Sébastien Helleu d427fc0549 irc: do not clear nicklist when joining an already joined channel if the option irc.look.buffer_open_before_join is on (closes #1081, closes #1082) 2017-10-13 07:44:52 +02:00
Sébastien Helleu 54f0d6b340 doc: add note about Tab and Shift-Tab keys in FAQ 2017-10-12 21:34:41 +02:00
Sébastien Helleu fdeb87bf4e doc: add note about Tab key in quickstart guide 2017-10-11 21:57:23 +02:00
Sébastien Helleu ff443c76b5 tests: add missing docstring 2017-10-10 20:17:15 +02:00
Sébastien Helleu 81a447dbb0 tests: add command /testapi.xx in test script, display elapsed time in scripting API tests 2017-10-10 19:43:47 +02:00
Sébastien Helleu 358297ba8f tests: fix instruction "return" in Perl/Guile/PHP output 2017-10-10 19:42:35 +02:00
Sébastien Helleu ee6f28ef18 tests: remove unused variable 2017-10-10 19:41:34 +02:00
Sébastien Helleu 9ac3097679 tests: fix sort of Unparse classes on line number 2017-10-10 08:23:34 +02:00
Sébastien Helleu bfb8499d61 core: fix display of groups/nicks in nicklist in case of empty groups (issue #1079) 2017-10-09 09:10:36 +02:00
Sébastien Helleu 221b3cd5e4 Merge pull request #1080 from l/master/translation/ja_JP
doc: update Japanese translations
2017-10-09 08:51:43 +02:00
AYANOKOUZI, Ryuunosuke 265b1fbb73 doc: update Japanese translations 2017-10-09 09:00:00 +09:00
Sébastien Helleu 7a452ce8bc core: fix display of nicks in nicklist when they are in a group with sub-groups (closes #1079) 2017-10-08 14:09:02 +02:00
Sébastien Helleu bbfdec0600 core: add PHP plugin in Cygwin packaging 2017-10-08 14:06:18 +02:00
Sébastien Helleu 8a32249507 javascript: fix detection of libv8 with autotools on Ubuntu Trusty 2017-10-07 21:43:18 +02:00
Sébastien Helleu ee19cfbf49 tests: fix scripting API tests when they are run from autotools build directory 2017-10-07 18:45:16 +02:00
Sébastien Helleu 003f5de16b tests: fix compilation of tests with autotools 2017-10-07 18:45:02 +02:00
Sébastien Helleu ca2c11dea7 tests: remove useless __init__ methods 2017-10-07 18:22:33 +02:00
Sébastien Helleu 703534034d tests: fix comments 2017-10-07 17:05:42 +02:00
Sébastien Helleu e8af853624 tests: add scripting API tests (issue #104)
Automatic tests of scripting API are made with Python scripts:

- unparse.py: convert Python code to other languages
- testapigen.py: generate scripts in all languages to test the API
- testapi.py scripting API tests
2017-10-07 16:51:25 +02:00
Sébastien Helleu f6fe6be7a4 doc: reformat PHP dependency in user's guide 2017-10-05 22:38:26 +02:00
Sébastien Helleu 157dc811a4 php: add comments 2017-10-03 21:34:35 +02:00
Sébastien Helleu 0cc44cd986 php: add messages during script loading/unloading 2017-10-03 21:34:20 +02:00
Sébastien Helleu 31dd886390 php: set php_quiet to 1 during plugin end 2017-10-03 21:33:30 +02:00
Sébastien Helleu 33b23c8a74 php: set php_quiet to 1 during plugin initialization 2017-10-03 21:32:02 +02:00
Sébastien Helleu 8dc4f1dd28 php: set php_quiet to 1 when loading/reloading/unloading a script with option "-q" 2017-10-03 21:30:58 +02:00
Sébastien Helleu 7949146687 lua: fix boolean return value (as integer) in API functions 2017-10-03 21:17:22 +02:00
Sébastien Helleu 255e46eaef guile: return integer (0/1) instead of boolean in API functions 2017-10-03 21:16:11 +02:00
Sébastien Helleu 682979bb90 guile: fix return value of static strings 2017-10-02 19:20:26 +02:00
Sébastien Helleu 137d5863e2 tests: run command "/debug libs" in tests instead of Travis CI command 2017-10-01 08:00:39 +02:00
Sébastien Helleu 1ec9453b7e core: add contributor in AUTHORS.adoc 2017-09-28 20:26:54 +02:00
Sébastien Helleu 49a2d49569 Merge pull request #1073 from l/master/translation/ja_JP
doc: update Japanese translations
2017-09-28 20:26:02 +02:00
AYANOKOUZI, Ryuunosuke 50a7bd01fb doc: update Japanese translations 2017-09-28 09:00:00 +09:00
Sébastien Helleu d048f9e7af build: update examples in script build-debian.sh 2017-09-28 01:54:53 +02:00
Sébastien Helleu ddb661cd80 aspell: display "?" if lang is NULL in /aspell listdict
The lang should never be NULL anyway (this fixes a compiler warning).
2017-09-28 01:36:10 +02:00
Sébastien Helleu 1c3e724ec6 build: update Debian patches with libxml2-dev dependency 2017-09-28 01:18:18 +02:00
Sébastien Helleu c13ab756d9 debian: add dependency on libxml2-dev for PHP plugin 2017-09-28 01:11:22 +02:00
Sébastien Helleu 6fc988a647 doc: add dependency libxml2-dev for PHP plugin (user's guide) 2017-09-28 01:09:50 +02:00
Sébastien Helleu 1eefbf6ba5 php: use PHP_VERSION_ID instead of PHP_MAJOR_VERSION and PHP_MINOR_VERSION 2017-09-28 00:51:15 +02:00
Sébastien Helleu b2d6d08c9e php: add comments with PHP version 2017-09-28 00:43:06 +02:00
Sébastien Helleu 7483c2a311 php: fix condition on PHP version to support future PHP versions (>= 8.0) 2017-09-28 00:28:32 +02:00
Sébastien Helleu 3c727cc04c Merge pull request #1069 from adsr/master
php: use find_library to find libphp7.so
2017-09-28 00:21:25 +02:00
Sébastien Helleu 01fff0a0d4 build: update patch for Ubuntu Trusty to not build PHP plugin 2017-09-27 17:17:59 +02:00
Sébastien Helleu 4d69c3be7e build: update patch for Debian Wheezy to not build PHP plugin 2017-09-27 17:09:21 +02:00
Sébastien Helleu b9e4081f3a build: update patch for Debian Jessie to not build PHP plugin 2017-09-27 17:03:12 +02:00
Sébastien Helleu 2c453f9710 build: add patch for Debian Stretch, Raspbian Stretch and Ubuntu Zesty/Yakkety/Xenial to use PHP 7.0 instead of 7.1 2017-09-27 16:59:41 +02:00
Sébastien Helleu cac4107f54 debian: add PHP in debian packaging 2017-09-27 16:58:17 +02:00
Sébastien Helleu d6558f5327 doc: replace php 7.0 by php 7.1 in dependencies (user's guide)
Compilation with PHP 7.0 is still OK, the version in dependencies is the latest
available in Debian Sid (unstable).
2017-09-27 16:58:17 +02:00
Sébastien Helleu 0b4df5d6b8 build: remove patch for Raspbian Jessie
Automatic builds for Raspbian Jessie were stopped three months ago, on June 2017.
2017-09-27 16:58:17 +02:00
Sébastien Helleu 630983b854 build: remove patch for Ubuntu Wily
Automatic builds for Ubuntu Wily were stopped five months ago, on April 2017.
2017-09-27 16:25:10 +02:00
Sébastien Helleu 08856b4c5a build: remove patch for Debian Squeeze
Automatic builds for Debian Squeeze were stopped one year ago, on October 2016.
2017-09-27 15:40:54 +02:00
Sébastien Helleu 01cc63aa45 core: initialize variables attrs and pair before calling wattr_get
This fixes a compiler warning, in some cases wattr_get may not initialize the
variables.
2017-09-25 20:12:31 +02:00
Sébastien Helleu 9a6b107648 core: disable tests with Python 3 until problem is fixed on Travis CI 2017-09-24 15:57:05 +02:00
Sébastien Helleu a8bbb5ab9e core: test with Python 3.5 instead of 3.6 on Travis CI 2017-09-24 15:48:46 +02:00
Sébastien Helleu 30f6b5fadf core: add a workaround for Python 3 issue on Travis CI 2017-09-24 15:45:24 +02:00
Sébastien Helleu 6b0262794f core: add CVE ID in ChangeLog 2017-09-23 22:28:47 +02:00
Sébastien Helleu 8310999b0e core: update stable version in script version.sh 2017-09-23 20:59:16 +02:00
Sébastien Helleu d36bf234c0 doc: move table of contents on the left in FAQ 2017-09-23 17:26:36 +02:00
Sébastien Helleu f95a1b72e7 doc: fix note about function "print" in scripting guide 2017-09-23 16:34:26 +02:00
Sébastien Helleu 92b9533efe core: fix typo: Javascript -> JavaScript 2017-09-23 16:24:52 +02:00
Sébastien Helleu 5aab494dd6 core, plugins: check return code of strftime function 2017-09-23 15:06:28 +02:00
Sébastien Helleu ae66a4d8a5 core: add version 1.9.1 in ChangeLog and release notes 2017-09-23 15:06:00 +02:00
Sébastien Helleu e4cc90f4b4 logger: call strftime before replacing buffer local variables 2017-09-23 15:04:21 +02:00
Sébastien Helleu 5f7b62f835 php: fix crash in API function string_eval_path_home 2017-09-21 21:01:29 +02:00
Adam Saponara 25f79ff2f5 php: use find_library to find libphp7.so 2017-09-17 18:19:35 -04:00
Adam Saponara fd287abe1b php: fix compiler warning for PHP >=7.1 2017-09-17 17:13:45 -04:00
Sébastien Helleu 4d75b5b145 php: fix crash in API function string_eval_expression 2017-09-17 17:36:56 +02:00
Sébastien Helleu 0855873447 doc: update Japanese auto-generated files 2017-09-17 17:36:39 +02:00
Sébastien Helleu 6b88f1de6d Merge pull request #1065 from l/master/translation/ja_JP
core: update Japanese translations
2017-09-17 17:35:49 +02:00
Sébastien Helleu 24bef50ab2 php: fix function plugin_get_name 2017-09-10 20:51:42 +02:00
AYANOKOUZI, Ryuunosuke e213dade9a core: update Japanese translations 2017-09-10 09:00:00 +09:00
Sébastien Helleu 3ff1877001 doc: update German auto-generated files 2017-09-09 17:52:03 +02:00
Nils Görs 4388d25119 core: update German translations 2017-09-09 17:44:35 +02:00
Sébastien Helleu 65a6a6dff2 doc: fix PHP examples in scripting guide 2017-09-09 15:20:38 +02:00
Sébastien Helleu e5acc39770 php: fix arguments of hook_command callback 2017-09-09 15:09:34 +02:00
Sébastien Helleu 1851f6472f php: rename print functions
Rename:
- printf to print
- printf_date_tags to print_date_tags
- printf_y to print_y
- log_printf to log_print
2017-09-07 21:50:20 +02:00
Sébastien Helleu 8bd874a281 python: add/remove some empty lines for readability 2017-09-07 21:40:58 +02:00
Sébastien Helleu 36a9cffa39 php: check that script is registered in API functions, add macros to return values 2017-09-07 21:33:23 +02:00
Sébastien Helleu e10307a3c2 api: check script pointer in scripting API functions 2017-09-07 21:30:36 +02:00
Sébastien Helleu 2a04ae0d65 php: rename API callback functions 2017-09-06 20:58:15 +02:00
Sébastien Helleu 48c9fbec35 php: add missing functions current_buffer and current_window 2017-09-06 20:07:26 +02:00
Sébastien Helleu 776f8e2725 Merge pull request #1064 from adsr/patch-fix-php-cmake
php: ensure CMake script finds PHP 7
2017-09-06 07:28:35 +02:00
Sébastien Helleu 5bec71f891 php: move macro API_FUNC_INIT, aggregate declaration of variables 2017-09-06 00:26:17 +02:00
Adam Saponara 280822b00b php: ensure configure script finds PHP 7 2017-09-05 10:03:12 -04:00
Adam Saponara 7cb928eeb5 php: ensure CMake script finds PHP 7 2017-09-05 01:54:50 -04:00
Sébastien Helleu 4cc3f13066 core: update translations 2017-09-05 07:29:14 +02:00
Sébastien Helleu a1a3822d89 php: remove empty line 2017-09-04 21:10:19 +02:00
Sébastien Helleu 28811c7ebd php: sort functions by topic, remove unused API functions, fix compiler warning
Functions removed (not in scripting API):

- weechat_string_replace
- weechat_hdata_get_var
- weechat_hdata_get_var_type
2017-09-04 21:08:49 +02:00
Sébastien Helleu e317a6856c tests: add PHP plugin in tests 2017-09-03 21:49:48 +02:00
Sébastien Helleu b769c20540 core: add PHP in README 2017-09-03 21:41:29 +02:00
Sébastien Helleu 43624c6d70 php: add comments in code 2017-09-03 15:34:30 +02:00
Sébastien Helleu 586d2a0745 script: add support of PHP scripts 2017-09-03 15:34:30 +02:00
Sébastien Helleu 20f47b9b41 doc: add PHP plugin in plugin API reference 2017-09-03 15:34:30 +02:00
Sébastien Helleu 23c3288cbe doc: add PHP plugin in FAQ 2017-09-03 15:34:30 +02:00
Sébastien Helleu ef193107aa doc: add PHP plugin in developer's guide 2017-09-03 15:34:29 +02:00
Sébastien Helleu 8e41d3b616 doc: add PHP plugin in scripting guide 2017-09-03 15:34:29 +02:00
Sébastien Helleu 997768c4cf doc: add PHP plugin in user's guide 2017-09-03 15:34:29 +02:00
Sébastien Helleu baa1d5fbc9 php: add function "hdata_compare" 2017-09-03 15:34:29 +02:00
Sébastien Helleu 6a45c5e243 php: add "PLUGIN" in headers 2017-09-03 15:34:26 +02:00
Adam Saponara d032ee2159 php: new php plugin
This plugin requires PHP >= 7.0.
2017-09-03 15:33:16 +02:00
Sébastien Helleu 8c046d9be9 buflist: remove recursive evaluation of extra variables (closes #1060) 2017-09-02 14:00:20 +02:00
Sébastien Helleu 24418b30a0 doc: update German auto-generated files 2017-09-02 13:35:43 +02:00
Nils Görs 5b00287756 core: update German translations 2017-09-02 13:18:21 +02:00
Sébastien Helleu 2deea7f53e core: add note about wildcard in /help set 2017-09-01 21:04:25 +02:00
Sébastien Helleu 387ddb98af doc: update Japanese auto-generated files 2017-08-25 19:31:22 +02:00
Sébastien Helleu 6d5c3fdd93 Merge pull request #1057 from l/master/translation/ja_JP
core: update Japanese translations
2017-08-25 19:27:12 +02:00
AYANOKOUZI, Ryuunosuke 47e048dd53 core: update Japanese translations 2017-08-26 09:00:00 +09:00
Sébastien Helleu 6d46daed6c doc: add non-breaking spaces in French messages 2017-08-25 07:45:34 +02:00
Sébastien Helleu bc9fdb87af doc: add non-breaking spaces in French docs 2017-08-24 23:46:14 +02:00
Sébastien Helleu de9f771674 irc: fix CTCP PING reply when the option irc.ctcp.ping is set to non-empty value 2017-08-23 23:11:11 +02:00
Sébastien Helleu 3d8980d91a doc: add links to other docs in plugin API reference 2017-08-22 23:10:41 +02:00
Sébastien Helleu 7a1511001e doc: add links to other docs in scripting guide 2017-08-21 23:35:04 +02:00
Sébastien Helleu 557beb47b5 doc: add links to other docs in FAQ 2017-08-21 23:12:55 +02:00
Sébastien Helleu f1c9ed7714 doc: add links to other docs in developer's guide 2017-08-21 23:12:53 +02:00
Sébastien Helleu a2f2d41dda doc: add links to other docs in user's guide 2017-08-21 23:12:49 +02:00
Sébastien Helleu a9c6964617 core: add note about bar item "input_paste" in /help weechat.look.paste_max_lines (closes #1054) 2017-08-21 07:48:42 +02:00
Sébastien Helleu db0bdc2ac6 core: add flag "input_get_empty" in buffer
The default value is 0 (legacy behavior).
When it is set to 1, an empty input (just by pressing Return with nothing in
input) is sent to the input callback, which receives an empty string.
2017-08-21 07:41:28 +02:00
Sébastien Helleu 8c554d88c9 doc: fix name of dynamic string functions (plugin API reference) 2017-08-20 13:35:32 +02:00
Sébastien Helleu c65137667b tests: improve tests on dynamic strings 2017-08-20 11:26:23 +02:00
Sébastien Helleu 0ad49d1529 doc: add "locale -a" and command to set $LANG in FAQ 2017-08-19 17:26:53 +02:00
Sébastien Helleu a00cbac5c3 doc: update Japanese auto-generated files 2017-08-19 17:15:07 +02:00
Sébastien Helleu cb7d394cc3 Merge pull request #1053 from l/master/translation/ja_JP
core: update Japanese translations
2017-08-19 16:46:32 +02:00
Sébastien Helleu 2ab40e02e6 Revert "irc: do not use away color for nicks in nicklist if option irc.look.color_nicks_in_nicklist is on"
This reverts commit 0c86e742c5.
2017-08-19 12:47:01 +02:00
Sébastien Helleu 0c86e742c5 irc: do not use away color for nicks in nicklist if option irc.look.color_nicks_in_nicklist is on 2017-08-19 11:24:36 +02:00
AYANOKOUZI, Ryuunosuke ce20b1b50c core: update Japanese translations 2017-08-19 09:00:00 +09:00
Sébastien Helleu 835c94db4b core: add signals "buffer_filters_enabled" and "buffer_filters_disabled" 2017-08-18 22:10:17 +02:00
Sébastien Helleu 969432c56e doc: update German auto-generated files 2017-08-15 18:29:56 +02:00
Nils Görs 902da71ff6 core: update German translations 2017-08-14 18:50:19 +02:00
Sébastien Helleu bfef8da84c api: change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripts) 2017-08-13 10:40:01 +02:00
Sébastien Helleu bf0df282a2 doc: remove tag "translation missing" in French plugin API reference 2017-08-13 10:36:40 +02:00
Sébastien Helleu d4254f2162 core: fix anchor in release notes 2017-08-13 09:39:23 +02:00
Sébastien Helleu 71e59b0988 core: add note about function hook_print in version 1.0 (release notes) 2017-08-13 09:35:19 +02:00
Sébastien Helleu 4bea917263 core: update ChangeLog 2017-08-13 09:32:04 +02:00
Sébastien Helleu 5392e3078f api: send file descriptor as integer instead of string to the callback of hook_fd 2017-08-13 09:29:39 +02:00
Sébastien Helleu 2b7ea69d00 doc: add a column "default" in the table with hook_process_hashtable options (plugin API reference) 2017-08-13 08:33:13 +02:00
Sébastien Helleu 86cfce07f0 doc: remove centering in some tables (user's guide) 2017-08-12 18:37:46 +02:00
Sébastien Helleu d6b6a1d85c doc: update titles with options (user's guide) 2017-08-12 18:37:46 +02:00
Sébastien Helleu 9d49c782f3 doc: remove word "plugin" in chapter titles (user's guide) 2017-08-12 18:37:46 +02:00
Sébastien Helleu 2e7fd30ae5 doc: add a chapter about aspell dictionaries (user's guide) 2017-08-12 18:37:45 +02:00
Sébastien Helleu 5d31e316a1 doc: add list of default aliases (user's guide) 2017-08-12 18:37:45 +02:00
Sébastien Helleu f19507ff6a alias: add infolist "alias_default" (list of default aliases) 2017-08-12 18:37:45 +02:00
Sébastien Helleu 829c9907a9 doc: add file alias.conf in user's guide 2017-08-12 18:37:45 +02:00
Sébastien Helleu d7239717fc doc: update chapter "Running WeeChat" (user's guide) 2017-08-12 18:37:45 +02:00
Sébastien Helleu a4ee38d881 doc: remove wrong links in quickstart guide 2017-08-12 18:37:45 +02:00
Sébastien Helleu b980983039 doc: fix title in French user's guide 2017-08-12 18:37:45 +02:00
Sébastien Helleu 9d7c63738c doc: move commands/options at the end of chapters (user's guide) 2017-08-12 18:37:45 +02:00
Sébastien Helleu aeeec38d6f core: fix cast of time_t (to "long long" instead of "long") (closes #1051) 2017-08-12 18:36:45 +02:00
Sébastien Helleu 6e366095f9 doc: fix some styles in relay protocol 2017-08-11 19:13:18 +02:00
Sébastien Helleu eba5060e8a Merge pull request #1050 from l/master/translation/ja_JP
doc: update Japanese translations
2017-08-11 19:12:35 +02:00
AYANOKOUZI, Ryuunosuke 9a4a1df923 doc: update Japanese translations 2017-08-11 09:00:00 +09:00
Sébastien Helleu 9bad3f44db core: remove value for first #define in headers, add "PLUGIN" in plugin headers 2017-08-10 20:05:16 +02:00
Sébastien Helleu c58716809c core: remove unneeded argument in call to string_fprintf 2017-08-10 19:55:29 +02:00
Sébastien Helleu 6cc16a40d1 doc: update note about recommended Python version (user's guide) 2017-08-06 08:02:27 +02:00
Sébastien Helleu b97e2c12ee doc: update python min version from 2.5 to 2.6 (user's guide)
WeeChat doesn't compile any more with Python <= 2.5.
2017-08-05 09:41:40 +02:00
Sébastien Helleu 8c01e05da1 core: add missing colon in ChangeLog 2017-07-31 07:36:41 +02:00
Sébastien Helleu 2476ae7ba3 Merge pull request #1045 from l/master/translation/ja_JP
core: update Japanese translations
2017-07-30 08:59:13 +02:00
AYANOKOUZI, Ryuunosuke 165d2b19c1 core: update Japanese translations 2017-07-29 09:00:00 +09:00
Sébastien Helleu d345490c98 core: update URL of WeeChat blog 2017-07-25 21:24:32 +02:00
Sébastien Helleu ef019b6ecd api: add cast of time_t to long in info "uptime"
This fixes a compiler warning on OpenBSD.
2017-07-23 16:39:13 +02:00
Sébastien Helleu cf51849ac5 relay: fix send of "PART" command in backlog (irc protocol) 2017-07-23 16:13:00 +02:00
Sébastien Helleu b95da03f3a relay: end capability negociation if CAP REQ is received without arguments (issue #1040)
This fixes a bug with clients like Atomic which are sending "CAP REQ :".
2017-07-23 15:47:06 +02:00
Sébastien Helleu 3ac05843eb core: update ChangeLog 2017-07-23 15:36:03 +02:00
Sébastien Helleu dcf1933daa doc: add instructions to run tests in user's guide 2017-07-23 15:34:08 +02:00
Sébastien Helleu b9d762b3c8 core: add instructions to run tests in README 2017-07-23 15:33:47 +02:00
Sébastien Helleu 16661b0cbe tests: display an error if the required locale en_US.UTF-8 is not installed 2017-07-23 15:12:40 +02:00
Sébastien Helleu 70839c732e relay: fix initialization of irc_argv_eol, free variable after use (issue #1040) 2017-07-23 14:22:12 +02:00
Sébastien Helleu a58d3fac4c relay: fix parsing of CAP command without arguments in irc protocol, send ACK only if all capabilities received are OK and NAK otherwise (closes #1040) 2017-07-23 13:58:45 +02:00
Sébastien Helleu da64da7419 doc: update German auto-generated files 2017-07-22 14:48:23 +02:00
Nils Görs 66e6c66d0a core: update German translations 2017-07-22 14:39:30 +02:00
Sébastien Helleu 7e1f8a4217 doc: replace deprecated info "irc_nick_color_name" by "nick_color_name" in examples (plugin API reference) 2017-07-22 14:10:53 +02:00
Sébastien Helleu 1e7b709439 doc: update question about buffers list (FAQ) 2017-07-22 13:56:28 +02:00
Sébastien Helleu 71965ddbae script: replace scripts iset.pl and buffers.pl by go.py and urlserver.py in examples 2017-07-22 12:57:30 +02:00
Sébastien Helleu db5424e2af doc: update Japanese auto-generated files 2017-07-22 12:56:34 +02:00
Sébastien Helleu 33e5991791 core: replace /iset by /fset in welcome message 2017-07-22 12:45:39 +02:00
Sébastien Helleu 4a6e23059a doc: replace script iset.pl by go.py in example (quickstart guide) 2017-07-22 10:51:38 +02:00
Sébastien Helleu 1c6176ee7b doc: add buflist bar in some screen examples (user's guide) 2017-07-21 21:55:27 +02:00
Sébastien Helleu 67fe6d79f5 Merge pull request #1038 from l/master/translation/ja_JP
core: update Japanese translations
2017-07-21 20:54:54 +02:00
AYANOKOUZI, Ryuunosuke 8e68ebc755 core: update Japanese translations 2017-07-22 09:00:00 +09:00
Sébastien Helleu be52d36b26 doc: add bar "buflist" in chapters "Screen layout" and "Bars" (user's guide) 2017-07-20 22:30:31 +02:00
Sébastien Helleu 97e06675a5 script: add local variable "filter" in the script buffer (closes #1037) 2017-07-11 18:27:01 +02:00
Sébastien Helleu d24fb8458b fset: call function fset_buffer_set_localvar_filter when the fset buffer is opened 2017-07-11 18:18:36 +02:00
Sébastien Helleu 72b4684a2c doc: update auto-generated files with fset commands 2017-07-10 07:29:25 +02:00
Sébastien Helleu 1b6a5e586d doc: update German auto-generated files 2017-07-10 07:28:39 +02:00
Nils Görs 2eb21a0ed0 core: update German translations 2017-07-09 18:14:23 +02:00
Sébastien Helleu fdc7425321 fset: fix note about leading spaces in /help fset (closes #1035) 2017-07-09 15:52:15 +02:00
Sébastien Helleu 9ab138f274 doc: update Japanese auto-generated files 2017-07-08 20:49:48 +02:00
Sébastien Helleu 3c28229588 Merge pull request #1034 from l/master/translation/ja_JP
core: update Japanese translations
2017-07-08 20:49:11 +02:00
Sébastien Helleu 29d24c288c core: update ChangeLog 2017-07-08 14:47:27 +02:00
Sébastien Helleu 6532c9a538 fset: fix priority of plugin (load it after all other plugins)
This fixes a refresh problem of options after /upgrade in fset buffer.
2017-07-08 14:46:33 +02:00
Sébastien Helleu f1cd765e1a core: call the config hook when options are renamed 2017-07-08 14:45:14 +02:00
Sébastien Helleu 8fdd6164ef core: call the config hook when options are removed 2017-07-08 14:44:28 +02:00
AYANOKOUZI, Ryuunosuke 5c4a8f4e07 core: update Japanese translations 2017-07-08 09:00:00 +09:00
Sébastien Helleu d01a3298b3 fset: fix comment 2017-07-07 08:36:11 +02:00
Sébastien Helleu cd44bd83cd fset: do not catch /set command if it's issued on the fset buffer 2017-07-07 08:00:19 +02:00
Sébastien Helleu 78aacb5949 core: update ChangeLog 2017-07-06 08:35:49 +02:00
Sébastien Helleu a63d6281d2 doc: update German auto-generated files 2017-07-06 08:24:59 +02:00
Sébastien Helleu 8efbf61e66 tests: fix load of plugins in tests after a build with autotools 2017-07-05 21:33:19 +02:00
Sébastien Helleu b2fd37df61 doc: add environment variables in user's guide 2017-07-05 19:57:44 +02:00
Sébastien Helleu 94cd1b037f core: add constant WEECHAT_EXTRA_LIBDIR 2017-07-05 19:56:41 +02:00
Sébastien Helleu d626fe9b09 core: add contributor in AUTHORS.adoc 2017-07-05 19:55:34 +02:00
Linus Heckemann d6c1d02eca core: search WEECHAT_EXTRA_LIBDIR for plugins (closes #971, issue #979)
In addition to searching the statically configured WEECHAT_LIBDIR
(weechat's installation directory) for plugins, search the path
given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes
departing from the FHS standard while keeping the plugins packaged
separately easier. This change was made specifically with the Nix
package manager in mind, but can easily be used by others.
2017-07-05 19:52:48 +02:00
Sébastien Helleu 5e48b50da8 tests: fix double load of plugins when "make install" is executed before tests 2017-07-05 19:41:11 +02:00
Nils Görs 5aefbcf172 core: update German translations 2017-07-05 18:38:52 +02:00
Sébastien Helleu a59ce8331a tests: load plugins from build directory instead of installed libdir
This allows to run tests without running "make install".
2017-07-04 22:14:44 +02:00
Sébastien Helleu b276d0621c core: add arguments in function plugin_auto_load to load plugins only from custom path or lib dir 2017-07-04 22:14:44 +02:00
Sébastien Helleu f70c2e521e core: use PATH_MAX for size of variable with complete filename in exec_on_files 2017-07-04 22:14:44 +02:00
Sébastien Helleu ff448b9096 api: add argument "recurse_subdirs" in function exec_on_files() 2017-07-04 22:01:14 +02:00
Sébastien Helleu 275389864b doc: use sudo for command "make install" in README and user's guide 2017-07-03 19:41:01 +02:00
Sébastien Helleu 5848d06e65 fset: fix crash in dump of options 2017-07-02 12:58:21 +02:00
Sébastien Helleu 448112f3e6 fset: hook signal "debug_dump" 2017-07-02 12:58:12 +02:00
Sébastien Helleu 093032bc8d fset: always use a timer to refresh buffer when options are changed 2017-07-02 12:51:09 +02:00
Sébastien Helleu 4ce0d2af6d fset: remove useless check/set of fset_buffer_selected_line
This is already done in the function fset_option_get_options.
2017-07-02 12:48:55 +02:00
Sébastien Helleu 860330a6bf fset: add braces around else statement 2017-07-02 09:49:34 +02:00
Sébastien Helleu 79d44d87a3 fset: do not reset selected line after options are added/removed 2017-07-02 09:42:08 +02:00
Sébastien Helleu c03ac468ca core: update build instructions in README (closes #1024) 2017-07-02 07:28:05 +02:00
Sébastien Helleu 2a94dc1359 doc: update auto-generated files with fset options 2017-07-01 16:08:11 +02:00
Sébastien Helleu b67c7a4b29 buflist: add option buflist.look.add_newline (closes #1027) 2017-07-01 16:07:43 +02:00
Sébastien Helleu d30e2e473b doc: fix typo in French FAQ 2017-06-30 19:36:53 +02:00
arza 37663f1d0c doc: add weechat.look.align_multiline_words to FAQ, remove unnecessary info, fix typos/grammar 2017-06-30 19:24:10 +02:00
Sébastien Helleu 5cded07343 fset: fix crash on /upgrade when fset buffer is opened 2017-06-29 23:55:00 +02:00
Sébastien Helleu 5bb7472ed7 fset: use a pre-defined format when a format option is empty
Using the pre-defined format (without eval) is about 3.5x faster.
2017-06-28 22:04:18 +02:00
Sébastien Helleu 987ef9e454 fset: replace hashtable by a simple structure for max length of fields 2017-06-28 19:59:45 +02:00
Sébastien Helleu f851246ff6 buflist: fix crash in auto-scroll of bar when the buflist item is not the first item in the bar 2017-06-27 07:18:16 +02:00
Sébastien Helleu 16132ed7ba fset: remove option fset.look.show_help_bar 2017-06-26 23:55:45 +02:00
Sébastien Helleu be28f3c7f4 doc: update auto-generated files with hdata 2017-06-26 23:55:12 +02:00
Sébastien Helleu d8d753d332 fset: improve speed when marking/unmarking options, fix refresh of buffer title 2017-06-26 23:20:47 +02:00
Sébastien Helleu b199667f8c fset: add missing keys alt+p and alt+v in /help fset 2017-06-26 22:24:18 +02:00
Sébastien Helleu 9ecc431d66 core: add fset plugin in ChangeLog 2017-06-26 22:11:59 +02:00
Sébastien Helleu 579a9a9f27 fset: fix name of format options in /help fset 2017-06-26 21:59:47 +02:00
Sébastien Helleu a727248624 doc: update auto-generated files 2017-06-26 07:19:18 +02:00
Sébastien Helleu e2c51670f1 core: update translations 2017-06-26 07:18:22 +02:00
Sébastien Helleu 29d0db1de6 fset: fix typo in /help fset.look.export_help_default 2017-06-25 22:25:58 +02:00
Sébastien Helleu 4dcb55f8de fset: fix list of command arguments 2017-06-25 22:21:22 +02:00
Sébastien Helleu 29e72aa90b fset: fix buffer title 2017-06-25 22:17:04 +02:00
Sébastien Helleu e3614c47dd fset: fix description of options 2017-06-25 22:03:27 +02:00
Sébastien Helleu 1053663ab6 fset: fix typo 2017-06-25 21:47:25 +02:00
Sébastien Helleu 49963a9bd1 fset: fix translation 2017-06-25 21:44:14 +02:00
Sébastien Helleu dc5da2ae38 core: add fset plugin in Cygwin packaging 2017-06-25 21:25:50 +02:00
Sébastien Helleu ca2d3d168f debian: add plugin fset in debian packaging 2017-06-25 21:25:14 +02:00
Sébastien Helleu 820e79702f doc: add fset options in documentation generator 2017-06-25 21:24:42 +02:00
Sébastien Helleu e579e86929 fset: shift plugins priority to insert fset plugin between buflist and fifo 2017-06-25 21:22:36 +02:00
Sébastien Helleu 47bffefc1c fset: add fset plugin in user's guide 2017-06-25 21:19:43 +02:00
Sébastien Helleu 57f342feb6 fset: add fset plugin and files in developer's guide 2017-06-25 21:19:11 +02:00
Sébastien Helleu db94587528 fset: add file fset.conf in man page 2017-06-25 21:17:55 +02:00
Sébastien Helleu 956dfe2313 fset: display number of options before filter in buffer title 2017-06-25 16:35:28 +02:00
Sébastien Helleu 01274beb15 fset: use "meta-space" instead of "meta- " in fset buffer keys 2017-06-25 16:35:28 +02:00
Sébastien Helleu 492853673a fset: set new value for non-boolean options with alt+space 2017-06-25 16:35:28 +02:00
Sébastien Helleu 0f8db0fa2e fset: add key/input to set new value for an option (alt-f,alt-n or input "n", command /fset -setnew) 2017-06-25 16:35:28 +02:00
Sébastien Helleu d2a9d839a1 fset: update default value of fset.format.option2 to use 3 lines by default 2017-06-25 16:35:28 +02:00
Sébastien Helleu a55958863e fset: add variables ${empty_xxx} (a field with only spaces for indentation) 2017-06-25 16:35:28 +02:00
Sébastien Helleu a71cbf1f84 fset: keep selected line when options fset.look.format_number and fset.format.option* are changed 2017-06-25 16:35:28 +02:00
Sébastien Helleu 98272393fe fset: add ${newline} to display options on multiple lines, replace format options by colors for background 2017-06-25 16:35:28 +02:00
Sébastien Helleu a49e255d96 fset: mark/unmark multiple options with mouse gesture up/down 2017-06-25 16:35:28 +02:00
Sébastien Helleu 74dec95655 fset: add option name in completion, in addition to words 2017-06-25 16:35:28 +02:00
Sébastien Helleu 68b337eb60 fset: add format options for marked options 2017-06-25 16:35:28 +02:00
Sébastien Helleu 1552a2327f fset: rename options fset.format.option_current* to fset.format.option_selected* 2017-06-25 16:35:28 +02:00
Sébastien Helleu b6334ce355 fset: add ${index} and color options 2017-06-25 16:35:28 +02:00
Sébastien Helleu a03b93b0db fset: add variable ${selected_line} 2017-06-25 16:35:28 +02:00
Sébastien Helleu 5acf4ba574 fset: only mark/unmark matching options with "m:" and "u:", do not toggle mark on non-matching options 2017-06-25 16:35:28 +02:00
Sébastien Helleu 70f71be108 fset: first move up one line before toggling mark with shift+up 2017-06-25 16:35:28 +02:00
Sébastien Helleu 0542633d89 fset: use option fset.look.marked_string in buffer title when options are marked 2017-06-25 16:35:28 +02:00
Sébastien Helleu 01ce879433 fset: add marking/unmarking of options matching filter with input "m:" and "u:" 2017-06-25 16:35:28 +02:00
Sébastien Helleu 121faf7b12 fset: do not move selected line after pressing alt+',' (mark/unmark option) 2017-06-25 16:35:28 +02:00
Sébastien Helleu a9d90b98a6 fset: do not refresh buffer when an option not displayed is changed 2017-06-25 16:35:28 +02:00
Sébastien Helleu aa68fa623a fset: add missing key alt+p in buffer title 2017-06-25 16:35:28 +02:00
Sébastien Helleu 850922ff92 fset: add a second format for options, new key ctrl-X and input "x" to switch the format used 2017-06-25 16:35:28 +02:00
Sébastien Helleu fdf7a5f13d fset: add separate word of each option in completion 2017-06-25 16:35:28 +02:00
Sébastien Helleu dc946e55a5 fset: move sort option in /help fset 2017-06-25 16:35:28 +02:00
Sébastien Helleu 263c2904a7 fset: add completion "fset_options" 2017-06-25 16:35:28 +02:00
Sébastien Helleu f519499057 fset: add export of options 2017-06-25 16:35:28 +02:00
Sébastien Helleu 28dcb1049b fset: fix memory leak in allocation of fset options 2017-06-25 16:35:28 +02:00
Sébastien Helleu fc1a699573 fset: fix refresh of options after changing marked options 2017-06-25 16:35:28 +02:00
Sébastien Helleu f7516bd6d8 fset: fix keys alt+'+' and alt+'-' in title of fset buffer 2017-06-25 16:35:28 +02:00
Sébastien Helleu f943951ade fset: set/append to value with alt+'+'/'-' and mouse gesture left/right if option is not of type integer/color 2017-06-25 16:35:28 +02:00
Sébastien Helleu 9db3c63bdc fset: add input "p" in /help fset 2017-06-25 16:35:28 +02:00
Sébastien Helleu c5e5818be8 fset: fix input "v" in fset buffer, add input "p" to toggle plugins descriptions 2017-06-25 16:35:28 +02:00
Sébastien Helleu ac3632c22f fset: add completion values "0" and "end" for command /fset -go 2017-06-25 16:35:28 +02:00
Sébastien Helleu c9460565b8 fset: add key alt-p on fset buffer, rename option fset.look.show_plugin_description to fset.look.show_plugins_desc 2017-06-25 16:35:28 +02:00
Sébastien Helleu cb929bcac1 fset: fix cursor position when appending to an option with NULL value 2017-06-25 16:35:28 +02:00
Sébastien Helleu b879df09b5 tests: check that fset plugin is loaded 2017-06-25 16:35:28 +02:00
Sébastien Helleu 7df7e9faf1 fset: add key ctrl-L and input "<<" and ">>" on fset buffer 2017-06-25 16:35:28 +02:00
Sébastien Helleu c1801663f3 fset: add missing keys/mouse actions in /help fset 2017-06-25 16:35:28 +02:00
Sébastien Helleu f8fad8e6a5 fset: remove dead assignment 2017-06-25 16:35:28 +02:00
Sébastien Helleu 6bbc2f3f4c fset: add allowed values for integers in help bar, rename option fset.color.help_string_values to fset.color.help_values 2017-06-25 16:35:28 +02:00
Sébastien Helleu 986ccff885 fset: add keys F11/F12 to scroll fset buffer horizontally, add input "<" and ">", add option fset.look.scroll_horizontal 2017-06-25 16:35:28 +02:00
Sébastien Helleu cee704b75c fset: add fset source files to generate translations 2017-06-25 16:35:28 +02:00
Sébastien Helleu 775e271ad8 fset: add filter "xxx" in /help fset 2017-06-25 16:35:28 +02:00
Sébastien Helleu 1f8fc6ec9b fset: use only short type name in filter "t:xxx" 2017-06-25 16:35:28 +02:00
Sébastien Helleu 6ba65da06e fset: fix selected line after changing option fset.look.show_plugin_description 2017-06-25 16:35:28 +02:00
Sébastien Helleu 690ef1e309 fset: add options for colors in buffer's title
New options:
- fset.color.title_count_options
- fset.color.title_current_option
- fset.color.title_filter
- fset.color.title_marked_options
- fset.color.title_sort
2017-06-25 16:35:28 +02:00
Sébastien Helleu 476f6ae7bb doc: add "config_name" and "section_name" in function config_option_get_string (plugin API reference) 2017-06-25 16:35:28 +02:00
Sébastien Helleu 6c112cef7c fset: add sort in buffer title 2017-06-25 16:35:27 +02:00
Sébastien Helleu d71524c582 fset: add ${file}, ${section}, ${option}, add color options 2017-06-25 16:35:27 +02:00
Sébastien Helleu 384b3adf9e fset: use English short type name for ${type} in filter, remove ${type_en} 2017-06-25 16:35:27 +02:00
Sébastien Helleu 88bc4d9cc1 fset: add completion "c:" in command /fset 2017-06-25 16:35:27 +02:00
Sébastien Helleu dd18087db6 fset: add variables default_value, default_value_undef, value_undef and value_changed in filter "c:" 2017-06-25 16:35:27 +02:00
Sébastien Helleu be7b84bc94 fset: increase size of hashtable for extra vars in evaluation of lines 2017-06-25 16:35:27 +02:00
Sébastien Helleu 0953659d32 fset: add examples in /help fset 2017-06-25 16:35:27 +02:00
Sébastien Helleu ab7830e32a fset: add missing keys/input in title of fset buffer 2017-06-25 16:35:27 +02:00
Sébastien Helleu f6070da900 fset: add missing space in /help fset 2017-06-25 16:35:27 +02:00
Sébastien Helleu 1cc43c1a9c fset: add missing "${type_en}" and "${description_en}" in /help fset 2017-06-25 16:35:27 +02:00
Sébastien Helleu 4eca2787ec fset: add missing completion "-toggle_bar" in /fset command 2017-06-25 16:35:27 +02:00
Sébastien Helleu 4fccf80e64 fset: add support of evaluated condition with filter "c:" 2017-06-25 16:35:27 +02:00
Sébastien Helleu 55350d8a29 fset: remove useless refresh when an option not displayed is changed 2017-06-25 16:35:27 +02:00
Sébastien Helleu feace6be0b fset: add alt-v and input "v" to toggle help bar, rename option fset.look.help_bar to fset.look.show_help_bar 2017-06-25 16:35:27 +02:00
Sébastien Helleu bb5523d912 fset: fix fset filter after /fset and /upgrade 2017-06-25 16:35:27 +02:00
Sébastien Helleu 93fd6b96ce fset: fix error when clicking on a line after the last option displayed 2017-06-25 16:35:27 +02:00
Sébastien Helleu 0e53103b6e fset: fix typo in /help fset 2017-06-25 16:35:27 +02:00
Sébastien Helleu 826cd0bd7c fset: add empty string instead of "null" when editing an option with NULL value 2017-06-25 16:35:27 +02:00
Sébastien Helleu e2a68f9b4c fset: add option fset.look.use_color_value 2017-06-25 16:35:27 +02:00
Sébastien Helleu cffa55e05e fset: add options fset.color.name_changed and fset.color.name_changed_selected 2017-06-25 16:35:27 +02:00
Sébastien Helleu d5aa8530b7 fset: fix crash on unset of multiple options
Rename option fset.look.unmark_after_action to fset.look.auto_unmark,
allow input "$$" to unmark all options and refresh.
2017-06-25 16:35:27 +02:00
Sébastien Helleu 500e54578b fset: add filtering by type ("t:xxx") 2017-06-25 16:35:27 +02:00
Sébastien Helleu 6f27eccc84 fset: add option fset.look.sort 2017-06-25 16:35:27 +02:00
Sébastien Helleu dc2720d916 fset: add missing "${marked}" in /help fset 2017-06-25 16:35:27 +02:00
Sébastien Helleu 718837a76b fset: skip spaces at beginning of buffer input 2017-06-25 16:35:27 +02:00
Sébastien Helleu 2d1e0f47d3 fset: add spaces between fields in option fset.format.option 2017-06-25 16:35:27 +02:00
Sébastien Helleu 7a08099d18 fset: add options fset.color.quotes_changed and fset.color.quotes_changed_selected 2017-06-25 16:35:27 +02:00
Sébastien Helleu 7336c93270 fset: add option fset.look.unmark_after_action 2017-06-25 16:35:27 +02:00
Sébastien Helleu 6be32fdce5 fset: fix refresh of options with "$" as input in buffer 2017-06-25 16:35:27 +02:00
Sébastien Helleu b7d7a95ff0 fset: add allowed input on buffer in /help fset 2017-06-25 16:35:27 +02:00
Sébastien Helleu 9a923eb7e7 fset: fix slow (un)marking of options when there are a lot of options displayed 2017-06-25 16:35:27 +02:00
Sébastien Helleu c395bc4aba fset: add keys alt-home and alt-end to go to first/last line 2017-06-25 16:35:27 +02:00
Sébastien Helleu b2373ffba7 fset: add mark on options to run an action on multiple options 2017-06-25 16:35:27 +02:00
Sébastien Helleu 2671a72da3 fset: fix refresh of buffer after changing option when the buffer is scrolled 2017-06-25 16:35:27 +02:00
Sébastien Helleu b50e5d016f fset: fix display of default value and string values in help bar 2017-06-25 16:35:27 +02:00
Sébastien Helleu eccce0bb4f fset: add ${description_en} 2017-06-25 16:35:27 +02:00
Sébastien Helleu 3211a73599 fset: store type as enum, translate ${type}, add ${type_en}, ${type_short} and ${type_tiny} 2017-06-25 16:35:27 +02:00
Sébastien Helleu f555d588b8 fset: add option fset.look.show_plugin_description 2017-06-25 16:35:27 +02:00
Sébastien Helleu ee3d5474b9 fset: display "(no description)" instead of empty string for options without description 2017-06-25 16:35:27 +02:00
Sébastien Helleu bf7135dd9d fset: add ${default_value_undef} and ${value_changed} 2017-06-25 16:35:27 +02:00
Sébastien Helleu cc0ba21e67 fset: add supported variables for formats in /help fset 2017-06-25 16:35:27 +02:00
Sébastien Helleu 6a29941fdc fset: fix command /fset -bar 2017-06-25 16:35:27 +02:00
Sébastien Helleu 18916e420a fset: remove obsolete option fset.look.enabled 2017-06-25 16:35:27 +02:00
Sébastien Helleu 77391dda1b fset: add ${parent_value}, add options fset.color.parent_value and fset.color.parent_value_selected 2017-06-25 16:35:27 +02:00
Sébastien Helleu 8c7b4282ae fset: hook command /set, add option fset.look.condition_catch_set 2017-06-25 16:35:27 +02:00
Sébastien Helleu 805bc6ca2c fset: use just "d" instead of "d:" to show changed options 2017-06-25 16:35:27 +02:00
Sébastien Helleu 7074f6e0d6 fset: remove obsolete buffer title 2017-06-25 16:35:27 +02:00
Sébastien Helleu 77cefb7621 core: limit hook_command_run to the exact given command (when no "*" are in command hook) 2017-06-25 16:35:27 +02:00
Sébastien Helleu dc60f343ba fset: translate buffer title 2017-06-25 16:35:27 +02:00
Sébastien Helleu 02a94b4960 fset: add fset bar item content, add options for colors in help bar 2017-06-25 16:35:27 +02:00
Sébastien Helleu 90b1ce46f1 fset: set buffer title with useful info (filter, number of options, keys/input) 2017-06-25 16:35:27 +02:00
Sébastien Helleu a680e9b32e fset: allow mask (with "*") as filter 2017-06-25 16:35:27 +02:00
Sébastien Helleu 21d448f5f5 fset: fix the fset buffer after /upgrade 2017-06-25 16:35:27 +02:00
Sébastien Helleu 968ee87114 fset: set local variable "filter" in the fset buffer 2017-06-25 16:35:27 +02:00
Sébastien Helleu 2fac9d34f3 fset: add ${string_values}, add options fset.color.string_values and fset.color.string_values_selected 2017-06-25 16:35:27 +02:00
Sébastien Helleu 3515134b19 fset: add ${description}, add options fset.color.description and fset.color.description_selected 2017-06-25 16:35:27 +02:00
Sébastien Helleu ef19c4ed90 fset: fix color of default value when it is different from NULL 2017-06-25 16:35:27 +02:00
Sébastien Helleu 7df98862d6 fset: add filters "d=" and "d==" 2017-06-25 16:35:27 +02:00
Sébastien Helleu 4c65f2b648 fset: fix columns size after changing an option 2017-06-25 16:35:27 +02:00
Sébastien Helleu 48aefca89d fset: add mouse actions (select line, add to value, toggl boolean, set value) 2017-06-25 16:35:27 +02:00
Sébastien Helleu 66124db856 fset: add ${min} and ${max}, add options fset.color.{max|min} and fset.color.{max|min}_selected 2017-06-25 16:35:27 +02:00
Sébastien Helleu 907501e465 fset: remove unused variables for columns 2017-06-25 16:35:27 +02:00
Sébastien Helleu 5532b073ec fset: replace options -decrease/-increase by -add (with optional value) 2017-06-25 16:35:27 +02:00
Sébastien Helleu 7ff3b517a8 fset: fix execution of actions from fset buffer input 2017-06-25 16:35:27 +02:00
Sébastien Helleu 13d280a677 fset: add all supported options in /help fset 2017-06-25 16:35:27 +02:00
Sébastien Helleu 8e3ac1d1cd fset: add support of filters in /fset command 2017-06-25 16:35:27 +02:00
Sébastien Helleu 7b5b123365 fset: add different types of filters
Existing filter:

- by option name (part of name)

New filters:

- by configuration file ("f:xxx")
- by section name ("s:xxx")
- by options changed ("d:" or "d:xxx")
- by exact value ("==xxx")
- by value, format ("=xxx")
2017-06-25 16:35:27 +02:00
Sébastien Helleu fb363eb723 fset: fix refresh of buffer when options are added/removed 2017-06-25 16:35:27 +02:00
Sébastien Helleu a240115baf fset: fix size of columns 2017-06-25 16:35:27 +02:00
Sébastien Helleu 83b620e67c fset: add actions to set/append value, add option fset.look.use_mute 2017-06-25 16:35:27 +02:00
Sébastien Helleu fdf7fb12a8 fset: update keys on fset buffer 2017-06-25 16:35:27 +02:00
Sébastien Helleu 7afe5ca4de fset: add evaluated variables prefixed by one or two underscores
One underscore: value not padded with spaces on the right.
Two unerscores: raw value (no color, no padding).
2017-06-25 16:35:27 +02:00
Sébastien Helleu f4169608d1 fset: rename ${value_with_parent} to ${value2} 2017-06-25 16:35:27 +02:00
Sébastien Helleu 8bace39142 fset: add ${value_with_parent} to show inherited value 2017-06-25 16:35:27 +02:00
Sébastien Helleu 7b9b25988c fset: add support of parent options, add color for quotes around strings, fix auto size of columns 2017-06-25 16:35:27 +02:00
Sébastien Helleu 7f5e92a278 fset: add toggle/decrease/increase/reset/unset actions on selected line 2017-06-25 16:35:27 +02:00
Sébastien Helleu e66b3ffd57 fset: add colors for diff/undef values 2017-06-25 16:35:27 +02:00
Sébastien Helleu cd131db925 fset: add color options 2017-06-25 16:35:27 +02:00
Sébastien Helleu 2a5eb1564f fset: add fset (Fast Set) plugin skeleton (WIP) 2017-06-25 16:35:27 +02:00
Sébastien Helleu 9de297100a doc: update Japanese auto-generated files 2017-06-25 12:07:54 +02:00
Sébastien Helleu b41281e947 Merge pull request #1023 from l/master/translation/ja_JP
core: update Japanese translations
2017-06-25 12:07:35 +02:00
Sébastien Helleu 020d2f9e1e Version 2.0-dev 2017-06-25 10:49:36 +02:00
Sébastien Helleu 1206a7bbe4 Version 1.9 2017-06-25 10:20:52 +02:00
AYANOKOUZI, Ryuunosuke a4ddeb1a38 core: update Japanese translations 2017-06-25 09:00:00 +09:00
Sébastien Helleu 77d1175026 doc: update Polish auto-generated files 2017-06-24 15:00:44 +02:00
Krzysztof Korościk 49b70911b0 doc: updated polish translation 2017-06-24 12:18:42 +02:00
Krzysztof Korościk 3976fa33a1 po: updated polish translation 2017-06-24 12:01:27 +02:00
Sébastien Helleu 6a8d2e5044 doc: update German auto-generated files 2017-06-24 06:55:35 +02:00
Nils Görs a78d97e2d9 core: update German translations 2017-06-24 00:57:25 +02:00
Sébastien Helleu 1318f1b72e doc: update German auto-generated files 2017-06-23 15:51:33 +02:00
Nils Görs ceb5351eb8 core: update German translations 2017-06-23 15:48:58 +02:00
Sébastien Helleu b3dd47edd8 buflist: add variable ${format_name} in bar item evaluation and option buflist.format.name (issue #1020) 2017-06-23 12:00:34 +02:00
Sébastien Helleu 5a9269ba20 Version 1.9-rc2 2017-06-22 18:35:48 +02:00
Sébastien Helleu 4827ede798 buflist: display the warning about script buffers.pl only if buflist is enabled 2017-06-20 22:02:06 +02:00
Sébastien Helleu c15c30770e irc: fix update of nick prefixes when the names are received in message 353 (closes #1022)
This regression was introduced by commit
fadee50664 (issue #1019)
2017-06-20 07:21:08 +02:00
Simmo Saan 0a348f0b9d irc: factor supported CAP version 2017-06-17 20:10:45 +03:00
Simmo Saan 1af75739b5 core: implement buffer type in hashtable_add_from_infolist 2017-06-17 20:10:45 +03:00
Simmo Saan 08da7c6586 irc: implement capability upgrading fully 2017-06-17 20:10:45 +03:00
Simmo Saan 0a4be02dc3 core: add hashtable_add_from_infolist to API 2017-06-17 20:03:40 +03:00
Simmo Saan 4563d43166 irc: force uppercase subcommand for /cap 2017-06-17 20:01:08 +03:00
Simmo Saan bdfd984d72 irc: add support for IRCv3.2 Client Capability Negotiation (closes #586) 2017-06-17 20:01:07 +03:00
Simmo Saan 453434644a irc: add hashtables to keep track of all capabilities 2017-06-17 19:31:33 +03:00
Simmo Saan d12e29620b irc: make command characters optional in server's command option 2017-06-17 18:38:37 +03:00
Sébastien Helleu fadee50664 irc: don't reset nick properties (prefixes/away/account/realname) on /names when the nick already exists (closes #1019) 2017-06-17 15:22:01 +02:00
Sébastien Helleu 48a3baedd5 doc: update Japanese auto-generated files 2017-06-15 21:36:28 +02:00
Sébastien Helleu 22d69953d4 doc: update German auto-generated files 2017-06-15 21:36:15 +02:00
Sébastien Helleu 5e62af427b Merge pull request #1017 from l/master/translation/ja_JP
core: update Japanese translations
2017-06-15 21:34:26 +02:00
Nils Görs 29f90fb80e core: update German translations 2017-06-15 09:34:13 +02:00
Sébastien Helleu 54517dbf4f Version 1.9-rc1 2017-06-15 09:07:51 +02:00
AYANOKOUZI, Ryuunosuke 227776f8b9 core: update Japanese translations 2017-06-15 09:00:00 +09:00
Sébastien Helleu 383652aa2a irc: remove unused functions irc_server_get_number_connected and irc_server_get_number_buffer (issue #1012) 2017-06-14 07:29:11 +02:00
Sébastien Helleu fbbb72c44d buflist: add variable ${merged} in /help buflist 2017-06-13 21:17:54 +02:00
Sébastien Helleu cab29dd47f doc: add missing file fifo.conf in user's guide 2017-06-13 21:14:59 +02:00
Sébastien Helleu 92a40052af buflist: add variable ${merged} in bar item evaluation 2017-06-13 20:29:38 +02:00
Sébastien Helleu fbf7156b1b alias: fix message in case of error in command /alias addcompletion 2017-06-12 20:07:44 +02:00
Sébastien Helleu ee2f09fb13 relay: add option "start" in command /relay 2017-06-12 20:06:58 +02:00
Sébastien Helleu 8dbd2cf83d doc: add missing API functions in scripting guide 2017-06-11 08:20:12 +02:00
Sébastien Helleu 3dc72b2e5f core: free use of pointer after free in case of error in function string_dyn_concat 2017-06-10 17:35:47 +02:00
Sébastien Helleu 46f409d463 core: improve speed of nicklist bar item callback
It's faster to use a string with dynamic size, rather than looping on the whole
nicklist to compute the length of result string, before looping again to build
the string.
2017-06-10 16:56:13 +02:00
Sébastien Helleu 54bf589d7d core, plugins: fix conditions to insert elements in linked lists
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-06-10 16:21:11 +02:00
Sébastien Helleu 8c8a0c0826 core: remove unused function gui_window_clear_weechat (issue #1012) 2017-06-10 15:03:06 +02:00
Sébastien Helleu f2d250a78f core: remove unused function upgrade_file_read_string_utf8 (issue #1012) 2017-06-10 15:02:34 +02:00
Sébastien Helleu ad9c75f234 core: remove unused functions secure_search_hash_algo and secure_search_cipher (issue #1012) 2017-06-10 15:01:58 +02:00
Sébastien Helleu 3af24d9739 core: remove unused function proxy_search_with_option_name (issue #1012) 2017-06-10 15:01:21 +02:00
Sébastien Helleu be47805597 Merge pull request #1015 from Neui/remove-unused-irc-stores
irc: Remove unnecessary stores
2017-06-10 14:54:41 +02:00
Sébastien Helleu a9f87e7e56 core: add contributor in AUTHORS.adoc 2017-06-10 08:25:36 +02:00
Neui f962ba1c6c trigger: if hashmap creation failed, don't use tags
If hashmap creation fails (eg. not enough memory), it jumps to the label
"end", where it checks the pointer tags, that hadn't been initialized
before.

The simple fix is to initialize it before creating the hashmap.
2017-06-10 08:24:34 +02:00
Sébastien Helleu 46b27bff4e core: fix bind of keys with space key, like alt+space (bug #32133) 2017-06-10 08:15:44 +02:00
Sébastien Helleu 964481aaeb doc: update Japanese auto-generated files 2017-06-10 08:03:37 +02:00
Sébastien Helleu 0c249b14c9 Merge pull request #1016 from l/master/translation/ja_JP
core: update Japanese translations
2017-06-10 07:53:03 +02:00
Sébastien Helleu 493ecfb388 doc: update German auto-generated files 2017-06-10 07:41:48 +02:00
AYANOKOUZI, Ryuunosuke 5352702213 core: update Japanese translations 2017-06-10 09:00:00 +09:00
Nils Görs fc12a34f19 core: update German translations 2017-06-09 22:39:59 +02:00
Neui d924eff930 irc: Remove unnecessary stores 2017-06-09 21:00:25 +02:00
Sébastien Helleu 193ff0db37 core: remove unused functions config_file_config_insert and config_file_section_insert_in_config (issue #1012) 2017-06-09 07:54:27 +02:00
Sébastien Helleu 0094be17a8 doc: add missing file fifo.conf in man pages 2017-06-08 07:02:05 +02:00
Sébastien Helleu 5997660bb5 doc: add missing file buflist.conf in Russian man page 2017-06-08 07:00:12 +02:00
Sébastien Helleu f140a9198e buflist: add option buflist.look.auto_scroll (issue #332) 2017-06-08 06:56:42 +02:00
Sébastien Helleu e2589aaaca api: allow update of variables "scroll_x" and "scroll_y" in bar_window with function hdata_update 2017-06-08 06:53:32 +02:00
Sébastien Helleu 111962c65a core: remove unused function command_secure_display_data (issue #1012) 2017-06-07 07:16:07 +02:00
Sébastien Helleu e09dc5f63b buflist: return 0 if buffers are equal in sort function
This is better for symmetry of comparison callback (comparing buffer1 and
buffer2 will give same as comparing buffer2 and bufer1).

Thanks to Simmo Saan for reporting the problem.
2017-06-06 19:50:47 +02:00
Sébastien Helleu 1e22a96a10 core: remove unused functions gui_bar_get_min_width and gui_bar_get_min_height (issue #1012) 2017-06-06 07:29:05 +02:00
Sébastien Helleu fa3a4355ce buflist: display a warning when the script "buffers.pl" is loaded 2017-06-05 14:56:14 +02:00
Sébastien Helleu 4947ed6d31 core: update ChangeLog
Related to commit 7ab6731efe.
2017-06-04 12:41:06 +02:00
Sébastien Helleu fc6c165c49 Merge pull request #1012 from sim642/clion
Small fixes and code cleanup for problems found by CLion inspections
2017-06-04 12:36:50 +02:00
Sébastien Helleu a195fa2af5 doc: use WeeChat IRC message parsing function in IRC hook example (scripting guide) 2017-06-03 15:42:05 +02:00
Simmo Saan 43451e8481 relay: remove callback unused after d2ff46fa69 2017-06-03 16:26:09 +03:00
Simmo Saan 4492547204 gui: remove callback unused after 0b2be21f1f 2017-06-03 16:24:17 +03:00
Simmo Saan 2508f0acea core, irc: remove unused structs 2017-06-03 15:59:12 +03:00
Simmo Saan 55e7090cde gui: remove completion hdata made unusable by arraylist usage 2017-06-03 15:59:12 +03:00
Simmo Saan 7ab6731efe relay: fix relay.network.bind_address change callback not being called 2017-06-03 15:59:12 +03:00
Simmo Saan dab0792029 core, script: remove unused config section variables 2017-06-03 15:59:12 +03:00
Simmo Saan e5f67894be gui, buflist: remove declared but undefined functions 2017-06-03 15:59:12 +03:00
Simmo Saan 90936d8478 core, gui: remove declared but unused global variables 2017-06-03 15:58:07 +03:00
Simmo Saan 824610d28b exec, fifo, irc: remove unused #define-s 2017-06-03 15:58:07 +03:00
Simmo Saan ab3806e320 gui: fix gui-focus.h header guard 2017-06-03 15:58:07 +03:00
Simmo Saan 7a0bbd802b core: forward declare structs to avoid implicit declarations 2017-06-03 15:58:07 +03:00
Simmo Saan dcef2a8e0d gui: remove non-standard enum forward declaration 2017-06-03 15:56:26 +03:00
Simmo Saan 996aaf0613 relay: remove local variables used only for sizeof 2017-06-03 15:56:26 +03:00
Simmo Saan ec13a66af3 core: fix fifo_fd_cb declared without arguments 2017-06-03 15:56:26 +03:00
Simmo Saan 824e6603cc core: fix gui_color_dump called with excess arguments 2017-06-03 15:56:26 +03:00
Simmo Saan 832316df0c irc: fix irc_server_autojoin_channels declared without arguments 2017-06-03 15:56:26 +03:00
Simmo Saan e5fe9c34c3 gui: fix gui_key_default_bindings declared without arguments 2017-06-03 15:56:26 +03:00
Sébastien Helleu da8f19bcee core: fix infinite loop when the terminal is closed on the secure password prompt (closes #1010) 2017-06-03 13:41:49 +02:00
Sébastien Helleu 240a2fc2ca doc: update Japanese auto-generated files 2017-06-03 13:20:07 +02:00
Sébastien Helleu b8684b01cc Merge pull request #1011 from l/master/translation/ja_JP
core: update Japanese translations
2017-06-03 13:19:21 +02:00
AYANOKOUZI, Ryuunosuke b67b6f3834 core: update Japanese translations 2017-06-03 09:00:00 +09:00
Sébastien Helleu 3176fd4f09 doc: update German auto-generated files 2017-06-02 20:14:38 +02:00
Sébastien Helleu 345c46133d buflist: fix typo in /help buflist 2017-06-02 20:02:04 +02:00
Nils Görs d9336d52b3 core: update German translations 2017-06-02 19:22:55 +02:00
Sébastien Helleu 6e33f286f1 buflist: fix type of IRC server/channel pointers 2017-06-02 07:50:42 +02:00
Sébastien Helleu 2da9b35acb buflist: replace IRC struct by "void *" for IRC server/channel pointers 2017-06-02 07:46:46 +02:00
Sébastien Helleu 593eee869f trigger: add "irc_server" and "irc_channel" pointers in data for IRC signal/modifier hooks 2017-06-02 07:46:17 +02:00
Sébastien Helleu eff373e73b core: add contributor in AUTHORS.adoc 2017-06-01 07:23:28 +02:00
Sébastien Helleu 840ebc9ac9 Merge pull request #1006 from mkoskar/dev2
core: remove config_look_hotlist_add_buffer_if_away completely
2017-06-01 07:22:46 +02:00
Sébastien Helleu d320b72d89 buflist: fix long mouse gestures 2017-06-01 07:21:10 +02:00
Miroslav Koskar ab6ca6b065 core: remove config_look_hotlist_add_buffer_if_away completely 2017-06-01 01:10:54 +02:00
Sébastien Helleu 8a25ac7875 buflist: add missing ${hotlist_priority} in /help buflist 2017-05-31 22:42:57 +02:00
Sébastien Helleu cdbf83c764 buflist: add missing ${number_displayed} in /help buflist 2017-05-31 22:37:00 +02:00
Sébastien Helleu d0b47b5c47 buflist: add support of char "~" in option buflist.look.sort for case insensitive comparison 2017-05-30 21:23:09 +02:00
Sébastien Helleu e6a6cc971e buflist: replace function buflist_compare_hdata_var by a call to weechat_hdata_compare 2017-05-30 20:32:40 +02:00
Sébastien Helleu 7621939a7a api: add function hdata_compare 2017-05-30 20:29:17 +02:00
Sébastien Helleu f6a8c28d2d api: add function config_option_get_string in plugin API 2017-05-30 20:28:01 +02:00
Sébastien Helleu f131b9f7de irc: fix crash on SASL authentication with mechanism ""ecdsa-nist256p-challenge" 2017-05-30 19:46:17 +02:00
Sébastien Helleu a0f1f3fd68 core: remove unused variable "index" in function eval_hdata_get_value 2017-05-28 08:25:41 +02:00
Sébastien Helleu b53741e8f4 Merge pull request #1003 from l/master/translation/ja_JP
doc: update Japanese translations
2017-05-28 08:18:58 +02:00
AYANOKOUZI, Ryuunosuke 90e6dca386 doc: update Japanese translations 2017-05-28 09:00:00 +09:00
Nils Görs 65b1edf5b5 Merge branch 'master' of https://github.com/weechat/weechat 2017-05-27 08:56:04 +02:00
Nils Görs 4a1dd35b69 doc: update German documentation 2017-05-27 08:55:39 +02:00
Sébastien Helleu a603c5e476 irc: fix memory leak in case of error in "ecdsa-nist256p-challenge" SASL mechanism 2017-05-27 08:37:05 +02:00
Sébastien Helleu b9fdcb0193 doc: add missing special values in function config_option_set for booleans/integers/colors (plugin API reference) 2017-05-26 14:07:08 +02:00
Sébastien Helleu 8062ed6e75 doc: add missing "translation missing" comment in Japanese user's guide 2017-05-25 14:35:42 +02:00
Sébastien Helleu 0e8254e25b doc: add link to chapter "SASL ECDSA-NIST256P-CHALLENGE" in chapter about Tor/SASL (user's guide) (issue #999) 2017-05-25 14:27:41 +02:00
Sébastien Helleu 07ddd31c44 doc: fix options to set for TOR/SASL in user's guide (closes #999) 2017-05-25 12:21:50 +02:00
Sébastien Helleu 323a19d73a buflist: increase size of hashtables used for string evaluation (issue #998)
This should make refresh of buflist bar item a bit faster.
2017-05-24 15:04:24 +02:00
Sébastien Helleu 02b1fe9926 buflist: fix slow switch of buffer when there are a lot of buffers opened (closes #998)
The function hdata_search (which evaluates a condition for each item in a list)
is too slow to search server and channel on each buffer. It is replaced by a
manual search in the list (using weechat_hdata_string to get the name), much
faster.
2017-05-24 14:59:50 +02:00
Sébastien Helleu 28e5018835 irc: remove unused variable in function irc_message_parse 2017-05-24 07:36:07 +02:00
Sébastien Helleu f12ed55117 doc: add missing mouse keys on buflist bar in user's guide 2017-05-23 21:19:57 +02:00
Sébastien Helleu a87e3908cf buflist: add keys F1/F2, alt+F1/alt+F2 to scroll the buflist bar 2017-05-23 09:49:46 +02:00
Sébastien Helleu c88d578d2d core: fix potential use of NULL pointer in function arraylist_clear 2017-05-22 11:29:12 +02:00
Sébastien Helleu 23ec19b8dd core: remove useless condition
Variables base_word and nick can not be NULL here.
2017-05-21 14:36:41 +02:00
Sébastien Helleu 066cc258b9 doc: update Japanese auto-generated files 2017-05-20 08:56:59 +02:00
Sébastien Helleu 67c09d799e Merge pull request #996 from l/master/translation/ja_JP
core: update Japanese translations
2017-05-20 08:56:10 +02:00
AYANOKOUZI, Ryuunosuke 68864606e1 core: update Japanese translations 2017-05-20 09:00:00 +09:00
Sébastien Helleu 925e8b79a8 core: allow index for hdata arrays in evaluation of expressions 2017-05-20 00:05:31 +02:00
Sébastien Helleu 455a0e501c core: update ChangeLog (add fix of crash in buflist)
Refers to commit b7d5392771.
2017-05-19 21:23:23 +02:00
Sébastien Helleu 1bace336bc relay: fix parsing of CAP command arguments in irc protocol (closes #995) 2017-05-19 21:21:30 +02:00
Sébastien Helleu 2ba333d478 doc: update German auto-generated files 2017-05-19 21:21:09 +02:00
Nils Görs 999de96b2a core: update German translations 2017-05-19 10:11:42 +02:00
Sébastien Helleu b522060cef buflist: add variable ${current_buffer} in bar item evaluation 2017-05-19 07:39:23 +02:00
Sébastien Helleu 138af6e7dd buflist: add missing indentation in /help buflist 2017-05-18 22:00:15 +02:00
Sébastien Helleu 2eebde035a buflist: add option "bar" in command /buflist, do not automatically add the bar when buflist is disabled (closes #994) 2017-05-18 20:34:25 +02:00
Sébastien Helleu 33ccc29a3f core: fix default value displayed in help of configure options 2017-05-18 20:27:53 +02:00
Sébastien Helleu 60c324eac5 core: fix typo in French translation of /help bar 2017-05-16 07:23:07 +02:00
Sébastien Helleu f56b38c34e script: fix typo in a comment 2017-05-15 20:34:56 +02:00
Sébastien Helleu 03a8fbc834 buflist: add a variable to store the size of arraylist 2017-05-15 20:23:42 +02:00
Sébastien Helleu 53d95cbbef Merge pull request #987 from mimi1vx/cz_up
Update czech strings
2017-05-14 07:50:50 +02:00
Ondřej Súkup cfc550a20a Update czech strings 2017-05-13 22:07:19 +02:00
Sébastien Helleu b7d5392771 buflist: fix uninitialized hdata pointer in focus callback 2017-05-13 11:52:55 +02:00
Sébastien Helleu 3cd0960255 Version 1.9-dev 2017-05-13 07:50:50 +02:00
Sébastien Helleu 664cb6598a Version 1.8 2017-05-13 07:07:57 +02:00
Sébastien Helleu 5ba10f4141 core: add chapter about options changed in ReleaseNotes 2017-05-13 07:00:45 +02:00
Sébastien Helleu 769decc98c doc: update Polish auto-generated files 2017-05-12 20:59:51 +02:00
Krzysztof Korościk 5631e30182 doc: updated polish translations 2017-05-12 20:33:59 +02:00
Krzysztof Korościk 71dc89d057 core: ipdate polish translation 2017-05-12 20:26:01 +02:00
Sébastien Helleu 9b8cc5d130 Merge pull request #986 from mimi1vx/cz_manpage
Rewerd description in czech manpage. Fix GPL3 preamble
2017-05-11 20:23:30 +02:00
Ondřej Súkup 65368c003e Reword description in czech manpage. Fix GPL3 preamble 2017-05-11 08:50:36 +02:00
Sébastien Helleu 8644ad0d4e script: remove dead assignment in function script_action_install_process_cb 2017-05-10 21:01:40 +02:00
Sébastien Helleu 9df72e5d53 core: remove dead assignment in function gui_input_history_next 2017-05-10 21:00:09 +02:00
Sébastien Helleu dd2580a1fa buflist: fix authors 2017-05-10 20:59:23 +02:00
Sébastien Helleu 505f5be3fe buflist: remove void action on variables used in the function 2017-05-10 20:58:59 +02:00
Sébastien Helleu d4259a3c9d buflist: remove unused includes 2017-05-10 20:56:52 +02:00
Sébastien Helleu 93361c95d2 doc: move note in function hook_command_run (plugin API reference) 2017-05-10 20:24:17 +02:00
Sébastien Helleu 36187a240a python: add detection of Python 3.6 2017-05-08 17:17:41 +02:00
Sébastien Helleu 070249ca3e core: move line from improvements to new features in ChangeLog 2017-05-07 14:54:33 +02:00
Sébastien Helleu 1921fd4700 doc: update German auto-generated files 2017-05-06 21:27:21 +02:00
Sébastien Helleu 9a03e554e3 doc: update auto-generated files with hdata 2017-05-06 21:26:44 +02:00
Nils Görs f7c3463c31 core: update German translations 2017-05-06 21:12:27 +02:00
Sébastien Helleu a8a3fa9f15 Version 1.8-rc1 2017-05-06 16:17:19 +02:00
Sébastien Helleu e5fd20fd25 irc: fix update of server addresses on reconnection when the evaluated content has changed (closes #925) 2017-05-06 15:57:42 +02:00
Sébastien Helleu 2867dcc45f doc: update Japanese auto-generated files 2017-05-06 14:21:17 +02:00
Sébastien Helleu b87a59701d Merge pull request #983 from l/master/translation/ja_JP
core: update Japanese translations
2017-05-06 14:20:56 +02:00
Sébastien Helleu df00926d35 core: add option weechat.completion.nick_case_sensitive (closes #981) 2017-05-06 10:18:44 +02:00
AYANOKOUZI, Ryuunosuke 19c2e14c47 core: update Japanese translations 2017-05-06 09:00:00 +09:00
Sébastien Helleu 90a9a1fb96 buflist: add option buflist.look.enabled 2017-05-05 23:24:02 +02:00
Sébastien Helleu b58d9910e3 debian: replace symbolic link by the file weechat.xpm in devel package 2017-05-05 20:51:04 +02:00
Sébastien Helleu 07b7be0357 core: fix memory leak in display of mouse event debug info 2017-05-04 07:29:24 +02:00
Sébastien Helleu ca9e4697f5 doc: update German auto-generated files 2017-05-03 23:22:42 +02:00
Nils Görs 1ed169cb2b core: update German translations 2017-05-03 23:17:34 +02:00
Sébastien Helleu b9d4fc7e18 buflist: add all buffer hdata in focus callback 2017-05-03 20:40:33 +02:00
Sébastien Helleu 0537fe0a83 doc: update Japanese auto-generated files 2017-05-02 21:20:46 +02:00
Sébastien Helleu cac3546fcb Merge pull request #977 from l/master/translation/ja_JP
core: update Japanese translations
2017-05-02 21:19:49 +02:00
Sébastien Helleu d73b54758c irc: add option "open" in command /server (closes #966) 2017-05-02 07:38:45 +02:00
AYANOKOUZI, Ryuunosuke 676c8ccaa2 core: update Japanese translations 2017-05-02 09:00:00 +09:00
Sébastien Helleu b7a6d6813f core: remove issue #608 from ChangeLog 2017-05-01 16:21:36 +02:00
Sébastien Helleu 90752a0458 buflist: fix sort of merged and inactive buffers 2017-04-30 09:59:44 +02:00
Sébastien Helleu 00eddd3a00 doc: add numeric comparison example in function string_eval_expression (plugin API reference) 2017-04-29 18:17:49 +02:00
Sébastien Helleu 1afa19a6ee core: add wildcard matching operators in ChangeLog 2017-04-29 18:03:36 +02:00
Sébastien Helleu ec11a59552 core: update ChangeLog (closes #611) 2017-04-29 17:56:41 +02:00
Sébastien Helleu b3073054a4 doc: add list of logical and comparison operators in function string_eval_expression (plugin API reference) 2017-04-29 17:54:53 +02:00
Sébastien Helleu 1fc06ba0ac core: improve translation of /help eval 2017-04-29 17:39:50 +02:00
Sébastien Helleu c491241989 core: update translations 2017-04-29 17:08:31 +02:00
Simmo Saan 1329dfb57a core: add wildcard matching operators to eval (closes #608) 2017-04-29 17:04:44 +02:00
Sébastien Helleu a9f6c34fae core: add buflist plugin in ReleaseNotes 2017-04-28 08:27:42 +02:00
Tobias Stoeckmann b297c2d56e irc: fix crash in case of invalid server reply during SASL authentication with dh-blowfish or dh-aes mechanism
These mechanisms are not recommended anyway because they are considered as
insecure.
2017-04-27 21:20:29 +02:00
Sébastien Helleu 9ccb798bcd doc: fix OFTC URL in user's guide 2017-04-27 21:16:58 +02:00
Sébastien Helleu 0655d2d9c4 doc: update German auto-generated files 2017-04-27 08:27:40 +02:00
Sébastien Helleu 4a2ad84230 core: add version 1.7.1 in weechat.spec 2017-04-27 08:27:40 +02:00
Sébastien Helleu 497dc3cd44 core: add CVE IDs in ChangeLog 2017-04-27 08:27:26 +02:00
Nils Görs 9de17f0cb4 Merge branch 'master' of https://github.com/weechat/weechat 2017-04-26 22:42:39 +02:00
Nils Görs cd3908ccd2 core: update German translations 2017-04-26 22:42:12 +02:00
Sébastien Helleu 5b78cb2a7b tests: fix compilation warning on FreeBSD 2017-04-26 22:28:03 +02:00
Sébastien Helleu a21a31e3ca buflist: add support of hdata "irc_server" and "irc_channel" in sort option (closes #968) 2017-04-26 20:22:06 +02:00
Sébastien Helleu ef7851ab5c Merge pull request #955 from arza-zara/weechat-fi
doc: add non-official support channel #weechat-fi in user's guide
2017-04-25 21:24:57 +02:00
Sébastien Helleu 8edca0dd75 buflist: add pointers to IRC server and channel
New pointers in evaluated formats:

- irc_server: IRC server
- irc_channel: IRC channel
2017-04-25 21:07:15 +02:00
Sébastien Helleu 4049c6c8a2 doc: update auto-generated files with buflist options 2017-04-25 20:39:30 +02:00
Sébastien Helleu a10b2bc36a buflist: add option buflist.format.nick_prefix 2017-04-25 20:31:08 +02:00
Sébastien Helleu 49cdbaab38 core: fix check of condition in ${if:...} (evaluated strings) 2017-04-25 19:41:49 +02:00
Sébastien Helleu 2a43f45947 core: fix command /cursor stop (do not toggle cursor mode) (closes #964) 2017-04-25 07:20:34 +02:00
Sébastien Helleu a96d27f236 core: add new cut formats in function comment 2017-04-25 07:19:02 +02:00
Sébastien Helleu 112bebcddf core: add a way to count the suffix length in max chars displayed in cut of string ("cut:" and "cutscr:") (closes #963)
The format to use is one of:

- ${cut:+max,suffix,string}
- ${cutscr:+max,suffix,string}

With the "+" before max, WeeChat ensures there are at most "max" chars in
output, including the length of suffix string.
2017-04-24 22:37:49 +02:00
Sébastien Helleu 0470a71af9 doc: update German auto-generated files 2017-04-24 22:34:11 +02:00
Nils Görs cce2954263 core: update German translations 2017-04-24 22:22:05 +02:00
Sébastien Helleu 671c216eb3 buflist: add option buflist.format.indent 2017-04-23 14:49:04 +02:00
Sébastien Helleu 2606b8a5a3 script: remove option script.scripts.url_force_https, use HTTPS by default in option script.scripts.url (issue #253) 2017-04-23 14:11:27 +02:00
Sébastien Helleu ffdf0ec687 core: update stable version in script version.sh 2017-04-22 21:29:08 +02:00
Sébastien Helleu 10917530d5 core: add version 1.7.1 in ChangeLog and ReleaseNotes 2017-04-22 21:21:26 +02:00
Sébastien Helleu 3038380d25 doc: update Japanese auto-generated files 2017-04-22 21:15:31 +02:00
Sébastien Helleu 46ff6ba794 Merge pull request #961 from l/master/translation/ja_JP
core: update Japanese translations
2017-04-22 21:14:17 +02:00
AYANOKOUZI, Ryuunosuke d4f83a11e9 core: update Japanese translations 2017-04-23 09:00:00 +09:00
Sébastien Helleu 94355e2e38 core: ensure length is not negative in function string_strndup 2017-04-22 15:15:54 +02:00
Sébastien Helleu 572678100b core: update ChangeLog 2017-04-22 15:15:49 +02:00
Sébastien Helleu 2756da028c core: add contributor in AUTHORS.adoc 2017-04-22 15:13:05 +02:00
Tobias Stoeckmann 2fb346f25f irc: fix parsing of DCC filename 2017-04-22 15:10:53 +02:00
Sébastien Helleu 628313a663 doc: update auto-generated files with buflist options 2017-04-21 22:00:38 +02:00
Sébastien Helleu 90029f9abd doc: fix translation of command "eval" in user's guide 2017-04-21 21:59:52 +02:00
Sébastien Helleu 2c6985c7e7 core: add missing space in German translation 2017-04-21 21:57:32 +02:00
Nils Görs 061f33b9b8 core: update German translations 2017-04-21 21:11:30 +02:00
Nils Görs 0a11184984 core: update German translations 2017-04-21 18:58:22 +02:00
Sébastien Helleu 5a8fb043ab core: add link to function color (plugin API reference) in /help eval 2017-04-21 07:36:22 +02:00
Sébastien Helleu 669ca77c41 buflist: add example in /help buflist.look.display_conditions 2017-04-20 22:00:17 +02:00
Sébastien Helleu c946b3e361 buflist: remove foreground color from default value of option buflist.format.buffer_current (closes #954)
The foreground is not needed because it is overriden by the hotlist color.
2017-04-20 21:50:25 +02:00
Sébastien Helleu 91c517bbf1 buflist: fix refresh of buflist bar item when the option buflist.look.display_conditions is reset 2017-04-20 21:46:24 +02:00
arza c3b85da2d0 doc: add non-official support channel #weechat-fi in user's guide 2017-04-18 03:45:08 +03:00
Sébastien Helleu 084f9d7b52 core: add styles in Contributing 2017-04-09 07:41:59 +02:00
Sébastien Helleu 1e98c9f1c2 core: add actual/expected result in required info 2017-04-09 07:39:12 +02:00
Sébastien Helleu 67fe4beb70 core: update translations 2017-04-08 14:53:32 +02:00
arza 442940942a core: fix typo in /help buffer 2017-04-08 15:35:47 +03:00
Sébastien Helleu 45de475c74 Merge pull request #944 from arza-zara/duplicate_sigquit
core: remove duplicate util_catch_signal for SIGQUIT
2017-04-07 22:31:34 +02:00
Sébastien Helleu a4dffb1915 irc: fix double decoding of IRC colors in messages sent/displayed by commands /msg and /query (issue #943) 2017-04-07 22:28:48 +02:00
arza e7edebfaee core: remove duplicate util_catch_signal for SIGQUIT 2017-04-07 20:46:47 +03:00
Sébastien Helleu fab7a8bdfd core: add Curl options for versions 7.50.0 to 7.52.0 2017-04-06 07:23:52 +02:00
Sébastien Helleu 2ab0b3b0a9 doc: remove trailing whitespace in docs 2017-04-05 08:17:32 +02:00
Sébastien Helleu a0e45f67f1 core: build weechat-guile package on Cygwin
Guile 2.0 is now available in Cygwin and then the weechat guile plugin can be
built.
2017-04-04 07:15:20 +02:00
Sébastien Helleu aae36f4641 buflist: move set of "nick_prefix" in hashtable 2017-04-04 07:13:50 +02:00
Sébastien Helleu 36661af744 doc: update German auto-generated files 2017-04-04 07:13:50 +02:00
Nils Görs f12ab59a78 core: update German translations 2017-04-03 21:32:15 +02:00
Sébastien Helleu a86a32334a doc: add min WeeChat version in function string_eval_expression (plugin API reference) 2017-04-02 15:54:20 +02:00
Sébastien Helleu 4c8d37e09f core: fix styles in ChangeLog 2017-04-02 15:44:13 +02:00
Sébastien Helleu 4a23309f22 doc: update Japanese auto-generated files 2017-04-02 14:12:04 +02:00
Sébastien Helleu efea57365c Merge pull request #942 from l/master/translation/ja_JP
core: update Japanese translations
2017-04-02 14:11:29 +02:00
Sébastien Helleu c652598ad7 api: fix memory leak in function string_dyn_free()
Bug was introduced by commit af138840b3.
2017-04-02 08:39:29 +02:00
Sébastien Helleu 20bb762e28 buflist: add options buflist.look.nick_prefix and buflist.look.nick_prefix_empty
The option buflist.look.signals_refresh is not an extra list of signals for
refresh, so it is empty by default.
The default list of signals is handled directly by buflist and not visible to
the user.
2017-04-02 08:37:47 +02:00
AYANOKOUZI, Ryuunosuke 6948d22e40 core: update Japanese translations 2017-04-02 09:00:00 +09:00
Sébastien Helleu e6db6185a7 core: move line from new features to improvements in ChangeLog 2017-04-01 14:17:39 +02:00
Sébastien Helleu b29f18d7ea aspell: add options to control delimiters in suggestions (closes #940)
New options:
- aspell.color.suggestion_delimiter_dict
- aspell.color.suggestion_delimiter_word
- aspell.look.suggestion_delimiter_dict
- aspell.look.suggestion_delimiter_word

Option renamed:
- aspell.color.suggestions -> aspell.color.suggestion
2017-04-01 12:26:48 +02:00
Sébastien Helleu 6ab7af705e tests: fix tests on dynamic strings 2017-04-01 12:16:12 +02:00
Sébastien Helleu af138840b3 api: return pointer to string in function string_dyn_free() if argument "free_string" is 0 2017-04-01 12:04:28 +02:00
Sébastien Helleu f855b6b0f3 core: update ChangeLog 2017-03-31 21:11:17 +02:00
Sébastien Helleu d61dfac5b5 core: replace python dependency by python2-devel for Cygwin 2017-03-31 21:08:02 +02:00
Sébastien Helleu 2ab3015114 script: move default mouse keys for script plugin from core to script-mouse.c 2017-03-31 21:07:32 +02:00
Sébastien Helleu 92fc469247 buflist: add key "__quiet" in hashtable for function key_bind 2017-03-31 21:05:48 +02:00
Sébastien Helleu 36eb3ee343 api: add special key "__quiet" in function key_bind 2017-03-31 21:04:21 +02:00
Sébastien Helleu 85bb23f8cb core: update ChangeLog 2017-03-30 22:15:16 +02:00
Sébastien Helleu bb00b6b8fb core: add ${re:#} to get the index of last group captured in evaluation of expressions 2017-03-30 22:13:14 +02:00
Sébastien Helleu f0c8da2f05 buflist: add mouse support
New options:
- buflist.look.mouse_jump_visited_buffer
- buflist.look.mouse_move_buffer
- buflist.look.mouse_wheel

New keys added by buflist plugin:
- @item(buflist):button1*      => hsignal:buflist_mouse
- @item(buflist):button2*      => hsignal:buflist_mouse
- @bar(buflist):ctrl-wheelup   => hsignal:buflist_mouse
- @bar(buflist):ctrl-wheeldown => hsignal:buflist_mouse
2017-03-30 20:39:37 +02:00
Sébastien Helleu 467f482ea6 core: make "callback_cmp" optional in call to function arraylist_new()
If no callback is given, a default callback is used, which just compares
pointers.
2017-03-30 20:35:16 +02:00
Sébastien Helleu 0436fff31b buflist: add option buflist.format.number 2017-03-29 20:00:36 +02:00
Sébastien Helleu 454a4b14b2 doc: remove "translation missing" tag in French user's guide 2017-03-29 19:59:59 +02:00
Sébastien Helleu eb2d0ac58a tests: add tests on combining characters in cut/cutscr (evaluation of expression) 2017-03-28 22:09:11 +02:00
Sébastien Helleu 3045021430 core: fix cut of chars in "cutscr" of evaluated strings
This fixes two problems:
- stop before max char displayed with wide chars
- preserve combining chars in the output

Before the fix (wrong):

>> ${cutscr:3,+,こんにちは世界}
== [こん+]
>> ${cutscr:1,+,a${\u0308}}
== [a+]

After the fix (OK):

>> ${cutscr:3,+,こんにちは世界}
== [こ+]
>> ${cutscr:1,+,a${\u0308}}
== [ä]
2017-03-28 20:45:31 +02:00
Sébastien Helleu ee82ba7461 doc: fix note about libncursesw5-dev dependency in user's guide 2017-03-27 21:40:02 +02:00
Sébastien Helleu 0fbca41d88 doc: rewrite note about libncursesw5-dev dependency in user's guide 2017-03-27 21:32:01 +02:00
Sébastien Helleu f99c866f35 core: add cut of string with max chars displayed in evaluation of expressions
The syntax is: ${cutscr:max,suffix,string}.
The string is cut after max chars displayed on screen. If the string is cut,
the optional suffix is added after.
2017-03-27 21:14:51 +02:00
Sébastien Helleu f37ecbfefd Merge pull request #938 from arza-zara/buffer_get_localvar
core: support local variables in /buffer get
2017-03-26 15:31:59 +02:00
Sébastien Helleu 7d47652c99 doc: update Japanese auto-generated files 2017-03-26 15:31:30 +02:00
Sébastien Helleu 86128bdc87 Merge pull request #939 from l/master/translation/ja_JP
core: update Japanese translations
2017-03-26 15:28:11 +02:00
Sébastien Helleu 532216e760 relay: check buffer pointer received in "sync" and "desync" commands (weechat protocol) (closes #936) 2017-03-26 15:15:56 +02:00
Sébastien Helleu 7ceacabd46 relay: remove buffer from synchronized buffers when it is closed (fix memory leak) 2017-03-26 08:55:08 +02:00
Sébastien Helleu df833d9ba8 doc: fix some translations of "library" in French 2017-03-26 08:20:20 +02:00
Sébastien Helleu d4618e45cb core: fix typo librairies -> libraries 2017-03-26 08:19:26 +02:00
arza 24fd69e42c core: support local variables in /buffer get 2017-03-26 08:14:41 +03:00
AYANOKOUZI, Ryuunosuke 5ce678bf75 core: update Japanese translations 2017-03-26 09:00:00 +09:00
Sébastien Helleu 9d0ae31fce buflist: add option buflist.look.display_conditions 2017-03-25 22:14:32 +01:00
Sébastien Helleu 9816c8cbce buflist: add option buflist.look.signals_refresh 2017-03-25 21:39:59 +01:00
Sébastien Helleu 370fbeb5a3 doc: add command /buflist in user's guide 2017-03-25 15:20:31 +01:00
Sébastien Helleu fb66eeec79 core: update translations 2017-03-25 15:13:18 +01:00
Sébastien Helleu f54ed11f1d core: update ChangeLog 2017-03-25 15:13:18 +01:00
Sébastien Helleu 98487253ca buflist: add command /buflist 2017-03-25 15:13:13 +01:00
Sébastien Helleu 887362dfd9 buflist: add formats for hotlist
New options:
- buflist.format.hotlist
- buflist.format.hotlist_separator
2017-03-25 14:19:48 +01:00
Sébastien Helleu 6f46f65c73 irc: fix type of values for hashtable extra_vars in irc_server_get_default_msg 2017-03-25 14:19:48 +01:00
Sébastien Helleu e113fe2440 core: fix type of values for hashtables extra_vars and options in gui_bar_check_conditions 2017-03-25 14:19:48 +01:00
Sébastien Helleu 6b8c5381d4 doc: add buflist plugin in FAQ 2017-03-25 14:19:48 +01:00
Sébastien Helleu 64a8c6d2ae doc: add buflist plugin in developer's guide 2017-03-25 14:19:48 +01:00
Sébastien Helleu b77e0a2c6f doc: add buflist plugin in user's guide 2017-03-25 14:19:48 +01:00
Sébastien Helleu 7f69f88468 buflist: add option "buflist.format.lag" and variable "format_lag" for buffer line format 2017-03-25 14:19:48 +01:00
Sébastien Helleu 1963191700 core: prevent infinite loop in evaluation of expression with extra_vars_eval
When extra variables are evaluated, to prevent infinite loop if the evaluated
variable is calling itself, it is removed from hashtable "extra_vars" before
evaluation.
2017-03-25 14:19:48 +01:00
Sébastien Helleu d31e4f1d9a irc: send signal "irc_server_lag_changed", store lag in server buffer
The lag is stored in the local variable "lag" of the server buffer.
When there is no lag, the local variable does not exist.
2017-03-25 14:19:48 +01:00
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 ce5dafa6dc doc: add buflist options in documentation generator 2017-03-25 14:18:19 +01:00
Sébastien Helleu abbfc9664a doc: add file buflist.conf in man page 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 eebb0547e2 doc: update Japanese auto-generated files 2017-03-20 07:24:26 +01:00
Sébastien Helleu 8648ee651e Merge pull request #927 from l/master/translation/ja_JP
core: update Japanese translations
2017-03-20 07:21:26 +01:00
AYANOKOUZI, Ryuunosuke 45e30f9c82 core: update Japanese translations 2017-03-20 09:00:00 +09:00
Sébastien Helleu 184891fd7b doc: update auto-generated files with irc options 2017-03-12 21:39:13 +01:00
Nils Görs 3fd8012729 core: update German translations 2017-03-12 21:35:04 +01:00
Sébastien Helleu e4e18d106e doc: add Gnutls CA file path for OS X (with homebrew openssl) in FAQ (closes #739) 2017-03-12 20:58:09 +01:00
Sébastien Helleu 5661b4da74 core: fix typo: refreshs -> refreshes 2017-03-12 18:33:53 +01:00
Sébastien Helleu b372a34b71 doc: list some remote interfaces for weechat relay protocol in user's guide 2017-03-04 23:26:00 +01:00
Sébastien Helleu 60a40c2ba2 doc: update Japanese auto-generated files 2017-03-04 21:58:35 +01:00
Sébastien Helleu 155fa5c1e3 Merge pull request #918 from l/master/translation/ja_JP
core: update Japanese translations
2017-03-04 21:56:44 +01:00
AYANOKOUZI, Ryuunosuke 3293070499 core: update Japanese translations 2017-03-05 09:00:00 +09:00
Sébastien Helleu 77b229ab64 core: add issue #122 in ChangeLog 2017-02-28 19:40:18 +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 e52400841a doc: update German auto-generated files 2017-02-19 07:44:39 +01:00
Nils Görs a54e40ea14 core: update German translations 2017-02-18 23:54:46 +01:00
Sébastien Helleu 1c9446e594 core: add issues #579, #15 and #577 in ChangeLog 2017-02-18 17:38:37 +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 ffcf135593 core: update ChangeLog 2017-02-18 13:53:55 +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 8282567d40 core: add issue #572 in ChangeLog 2017-02-18 13:08:12 +01:00
Sébastien Helleu 7fbdc08f3a core: update translations and auto-generated doc files 2017-02-18 13:06:15 +01:00
Sébastien Helleu ac007a1efd Merge remote-tracking branch 'origin/pr/572' 2017-02-18 13:04:00 +01:00
Sébastien Helleu d7f72c2a1c Merge pull request #911 from l/master/translation/ja_JP
core: update Japanese translations
2017-02-18 08:32:34 +01:00
AYANOKOUZI, Ryuunosuke 0fd8c00b92 core: update Japanese translations 2017-02-18 09:00:00 +09:00
Nils Görs b8a399ced9 doc: update German documentation 2017-02-11 19:57:11 +01:00
Sébastien Helleu 50b0fa1cb1 Merge pull request #907 from haavard/master
doc: fix examples with localvar_del
2017-02-10 19:16:58 +01:00
Sébastien Helleu e76471a2e0 doc: update instructions to connect to freenode via Tor (user's guide) (closes #908) 2017-02-10 07:56:12 +01:00
Håvard Pettersson dd440b6805 doc: fix examples with localvar_del 2017-02-09 00:11:27 -08: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
Nils Görs 0586413ede core: update German translations 2017-02-03 22:33:26 +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 0ef979a54a core: update ChangeLog 2017-01-29 14:13:57 +01:00
Sébastien Helleu 24a15e8b95 irc: reorder conditions for mode smart filtering, add a comment 2017-01-29 14:08:25 +01:00
Sébastien Helleu 71b6db5583 Merge pull request #897 from arza-zara/smart_mode
irc: don't smart filter modes given to you (closes #530)
2017-01-29 13:38:54 +01:00
Sébastien Helleu 661c8b9900 doc: update Japanese auto-generated files 2017-01-29 11:25:46 +01:00
Sébastien Helleu 78429c549a Merge pull request #898 from l/master/translation/ja_JP
core: update Japanese translations
2017-01-29 11:25:04 +01:00
arza 27e949d974 irc: don't smart filter modes given to you (closes #530) 2017-01-29 11:13:59 +02:00
AYANOKOUZI, Ryuunosuke 8971f001b4 core: update Japanese translations 2017-01-29 09:00:00 +09:00
Nils Görs 658b166a41 doc: update German documentation 2017-01-27 23:46:57 +01:00
Sébastien Helleu e8e7a6392e core: add contributor in AUTHORS.adoc 2017-01-25 07:37:32 +01:00
Sébastien Helleu d3da29ba51 core: update ChangeLog 2017-01-25 07:37:09 +01:00
Sébastien Helleu 8e160c31fe Merge pull request #895 from radhermit/ruby2.4
core: add detection for Ruby 2.4
2017-01-25 07:33:33 +01:00
Tim Harder 9ed4f2a9a6 core: add detection for Ruby 2.4 2017-01-24 14:33:59 -05:00
Sébastien Helleu 0e0d665671 core: add task #11461 in ChangeLog 2017-01-22 15:28:37 +01: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
Nils Görs 9a35a07d86 core: update German translations 2017-01-22 10:22:29 +01:00
Sébastien Helleu 19504d30e5 core: fix style in ChangeLog 2017-01-22 09:41:42 +01:00
Sébastien Helleu f250f72208 core: add contributor in AUTHORS.adoc 2017-01-22 09:36:27 +01:00
Sébastien Helleu 49fb896a96 core: update ChangeLog 2017-01-22 09:35:47 +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
Sébastien Helleu 2f2b04e139 core: add contributor in AUTHORS.adoc 2017-01-15 14:45:26 +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 9eafa1e461 core: move the build status on a separate line in README 2017-01-15 11:53:31 +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 9cdc75abd4 Version 1.8-dev 2017-01-15 08:36:28 +01:00
Sébastien Helleu fb1a0231b7 Version 1.7 2017-01-15 07:41:25 +01:00
Sébastien Helleu 96499ad34a core: update ChangeLog 2017-01-15 07:21:09 +01:00
Sébastien Helleu 5280b7d095 core: fix typo in a Portuguese translation 2017-01-14 21:39:58 +01:00
Sébastien Helleu 42ac70899a Merge pull request #890 from vascool/pt
core: update Portuguese translation
2017-01-14 21:38:51 +01:00
Vasco Almeida 57ffa846f4 core: update Portuguese translation 2017-01-14 15:22:55 -01:00
Sébastien Helleu 5cc4005231 core: move script makedist.sh to tools directory, make all arguments optional 2017-01-14 15:14:37 +01:00
Sébastien Helleu 9b5da2f11f core: update ChangeLog 2017-01-14 11:48:15 +01:00
Sébastien Helleu 65ff49f01e core: fix typo in ChangeLog 2017-01-14 11:44:55 +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
Sébastien Helleu 7cd4a23cdc doc: update Polish auto-generated files 2017-01-09 19:37:13 +01:00
Krzysztof Korościk 52908c86f7 updared polish translation 2017-01-09 19:25:15 +01:00
Sébastien Helleu 42da33e625 doc: update auto-generated files 2017-01-08 12:13:10 +01:00
Sébastien Helleu c7c15fe743 Merge pull request #884 from l/master/translation/ja_JP
core: update Japanese translations
2017-01-08 08:10:38 +01:00
AYANOKOUZI, Ryuunosuke a915d1f398 core: update Japanese translations 2017-01-08 09:00:00 +09:00
Nils Görs d154b39990 core: update German translations 2017-01-07 08:23:26 +01:00
Sébastien Helleu d2b8c2883b core: update translations and auto-generated doc files 2017-01-07 07:59:38 +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 18833a8c93 Merge pull request #882 from l/master/translation/ja_JP
core: update Japanese translations
2017-01-07 07:50:35 +01:00
AYANOKOUZI, Ryuunosuke 04fc35c050 core: update Japanese translations 2017-01-07 09:00:00 +09:00
Sébastien Helleu e6465d7041 doc: update auto-generated files 2017-01-06 23:00:01 +01:00
Nils Görs 8976000345 core: update German translations 2017-01-06 22:57:38 +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 59202e3e02 core: move line from new features to improvements in ChangeLog 2017-01-06 22:41: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 7c5ae208fd doc: update German auto-generated files 2017-01-06 20:26:53 +01:00
Nils Görs f60593e890 core: update German translations 2017-01-06 20:17:40 +01:00
Sébastien Helleu a031f15f38 Version 1.7-rc2 2017-01-06 20:04:19 +01:00
Sébastien Helleu 65ac711c10 doc: update Japanese auto-generated files 2017-01-06 20:03:45 +01:00
Sébastien Helleu 088a74911c Merge pull request #881 from l/master/translation/ja_JP
core: update Japanese translations
2017-01-06 20:03:15 +01:00
Sébastien Helleu 0309753406 Merge branch 'master' into master/translation/ja_JP 2017-01-06 20:02:52 +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 e01ed80669 core: move line from new features to bugs in ChangeLog 2017-01-06 07:52:44 +01:00
Sébastien Helleu 501437af07 exec: fix memory leak in display of process output 2017-01-06 07:26:43 +01:00
AYANOKOUZI, Ryuunosuke 3886855b05 core: update Japanese translations 2017-01-06 09:00:00 +09: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 28125942d4 core: add issue #876 in ChangeLog 2017-01-01 15:07:12 +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 3752e97be1 doc: update German auto-generated files 2017-01-01 13:15:37 +01:00
Nils Görs 994b71f58c core: update German translations 2017-01-01 12:30:28 +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 c6baabff27 Version 1.7-rc1 2016-12-31 17:08:34 +01:00
Sébastien Helleu 393bb17355 doc: update Polish auto-generated files 2016-12-31 16:56:06 +01:00
Krzysztof Korościk 7d44675c07 doc: polish translations updated 2016-12-31 15:22:22 +01:00
Krzysztof Korościk 44ff960ef6 weechat: updated polish translations + few typo fixes 2016-12-31 13:05:47 +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
Sébastien Helleu 5a8ff45c45 doc: update Japanese auto-generated files 2016-12-23 22:08:44 +01:00
Sébastien Helleu b36ea4a580 Merge pull request #871 from l/master/translation/ja_JP
core: update Japanese translations
2016-12-23 22:08:09 +01:00
AYANOKOUZI, Ryuunosuke b094641588 core: update Japanese translations 2016-12-24 09:00:00 +09:00
Sébastien Helleu a4ab81021f Merge pull request #870 from rofl0r/fix_configure_cachevars
core: fix misnamed configure cache variables
2016-12-22 20:55:00 +01:00
rofl0r 66f545f846 core: fix misnamed configure cache variables
these 3 configure tests were bogus in that they didnt return a result:
```
checking for flock() support...
checking for execinfo.h and backtrace...
checking for eat_newline_glitch support...
```

looking at config.log reveals:
```
configure:24327: checking for eat_newline_glitch support
configure:24344: gcc -c -g -O2 -DHAVE_GNUTLS -D_FILE_OFFSET_BITS=64 ...
conftest.c: In function 'main':
conftest.c:134:2: error: assignment of read-only location '*(cur_term->flags ...
configure:24344: $? = 1
configure: failed program was:
...
configure:24351: result:
```

but due to the misnamed variables configure ended up enabling
eat_newline_glitch.

fixes #814
2016-12-22 19:37:10 +00:00
Sébastien Helleu 3218befa1e doc: update German auto-generated files 2016-12-21 08:53:49 +01:00
Nils Görs c50fab9103 core: update German translations 2016-12-21 08:27:08 +01:00
Sébastien Helleu 000238fd34 core: fix typo in /help weechat.look.align_multiline_words 2016-12-20 22:38:37 +01:00
Sébastien Helleu c36a6a094d Merge pull request #868 from neutric/patch-1
Grammar correction
2016-12-20 22:04:05 +01:00
neutric 31a64d2457 Grammar correction 2016-12-20 21:49:10 +01:00
Sébastien Helleu c899c9bfe7 doc: update German auto-generated files 2016-12-18 18:49:52 +01:00
Nils Görs 1f12b3afb8 core: update German translations 2016-12-18 18:10:04 +01:00
Sébastien Helleu b49c510d20 core: add more info about features in README 2016-12-18 13:39:35 +01:00
Sébastien Helleu 5eb6c650a1 doc: display default values of options on a separate line (user's guide) 2016-12-18 11:06:29 +01:00
Sébastien Helleu 228040dc04 core: link with resolv library only on Mac OS X
This fixes build on FreeBSD.
2016-12-17 20:33:39 +01:00
Sébastien Helleu e098a0dc54 core: fix compilation on Mac OS X (closes #276)
The resolver functions like res_init() require link with resolv.
2016-12-17 17:52:33 +01:00
Sébastien Helleu 540ff92280 doc: update auto-generated files with WeeChat options 2016-12-17 08:00:51 +01:00
Sébastien Helleu 8ad3b9afe9 core: update ChangeLog (closes #411, closes #802) 2016-12-17 08:00:08 +01:00
Sébastien Helleu 016bdcd31f core: improve /help weechat.look.align_multiline_words 2016-12-17 07:57:46 +01:00
Sébastien Helleu e671e20e0c Merge remote-tracking branch 'origin/pr/802' 2016-12-17 07:51:47 +01:00
Sébastien Helleu f18a32e160 irc: add examples in help of usermode server option 2016-12-15 21:21:35 +01:00
Nils Görs 9050ef757e core: update German translations 2016-12-13 18:49:40 +01:00
Sébastien Helleu 6c1815d3d1 core, xfer: display more information on fork errors (issue #573) 2016-12-13 18:24:46 +01:00
Sébastien Helleu 6da99d8749 doc: update German auto-generated files 2016-12-12 07:50:25 +01:00
Nils Görs 299e9c00de core: update German translations 2016-12-11 20:06:45 +01:00
Sébastien Helleu 36c9317077 irc: evaluate content of server option "usermode" 2016-12-11 13:50:38 +01:00
Sébastien Helleu 39a8b9810b core: update ChangeLog (closes #377, closes #820) 2016-12-11 13:44:20 +01:00
Sébastien Helleu ab490e10c7 irc: rename server option "umodes" to "usermode" 2016-12-11 13:43:34 +01:00
Sébastien Helleu 50a50d0339 Merge remote-tracking branch 'origin/pr/820' 2016-12-11 13:06:05 +01:00
Nils Görs 94cab4d33a doc: update German documentation 2016-12-07 09:18:25 +01:00
Sébastien Helleu ca217a84f4 doc: add package "weechat-plugins" in install of binary packages (user's guide) 2016-12-04 18:27:21 +01:00
Sébastien Helleu de436e42fe doc: add command "apt-get build-dep weechat" in user's guide 2016-12-04 18:23:53 +01:00
Sébastien Helleu 095f9ead1b doc: remove obsolete sentence in tester's guide 2016-12-04 15:45:43 +01:00
Sébastien Helleu 351a7a493f doc: add missing info in signal "xxx_script_install" (plugin API reference) 2016-12-04 15:08:56 +01:00
Sébastien Helleu 768bceca36 doc: fix French translation of "callback" 2016-12-04 15:02:07 +01:00
Sébastien Helleu 5b9d40aca3 doc: fix typo in developer's guide 2016-12-04 13:17:12 +01:00
Sébastien Helleu c008fa68b7 doc: add non-breaking spaces in French docs before colons and semicolons 2016-12-04 13:13:41 +01:00
Sébastien Helleu bd3dfb4827 doc: update German auto-generated files 2016-12-04 10:16:55 +01:00
Nils Görs 3a8053f797 core: update German translations 2016-12-04 09:57:39 +01:00
Sébastien Helleu 28fde407f4 irc: evaluate content of server option "ssl_fingerprint" (closes #858) 2016-12-03 09:44:18 +01:00
Sébastien Helleu a864da7b3b core: add extra notes about options renamed in ReleaseNotes 2016-12-03 08:45:04 +01:00
Sébastien Helleu 4c6d9e14d1 script: reload a script after upgrade only if it was loaded, set autoload only if the script was auto-loaded (closes #855) 2016-12-01 19:34:23 +01:00
Sébastien Helleu 827c013aa7 core: replace "core" by constant PLUGIN_CORE 2016-11-30 21:30:17 +01:00
Sébastien Helleu cbefb9677b core: update ChangeLog 2016-11-30 21:24:40 +01:00
Sébastien Helleu b27982382a core: add command prefix in completion of /command 2016-11-30 21:21:05 +01:00
Sébastien Helleu fa3ada831d core: add optional command prefix in completion templates "commands", "plugins_commands" and ""weechat_commands" 2016-11-29 23:36:55 +01:00
Sébastien Helleu d0af6b8dce core: add optional arguments in completion template, sent to the callback 2016-11-29 20:01:35 +01:00
Sébastien Helleu 93ef6b0a3e core: add option "time" in command /debug 2016-11-28 21:52:14 +01:00
Sébastien Helleu 9c76d80d4d doc: fix style of commands in plugin API reference 2016-11-27 17:48:48 +01:00
Sébastien Helleu 64f05204f9 api: move functions hook_completion* after hook_command 2016-11-27 17:34:15 +01:00
Sébastien Helleu 6e82e6618c doc: add note about options in chapter on format of lines (user's guide) 2016-11-27 08:27:29 +01:00
Sébastien Helleu 9d530c5dbd doc: fix typo in English developer's guide 2016-11-27 08:20:35 +01:00
Sébastien Helleu 461d1f0073 doc: add missing punctuation in some table cells 2016-11-26 23:19:41 +01:00
Sébastien Helleu 114cf66606 doc: add chapter about buffers lines in user's guide 2016-11-26 17:11:45 +01:00
Sébastien Helleu 114c11cb8d doc: remove "translation missing" tag in French user's guide 2016-11-26 15:46:39 +01:00
Sébastien Helleu c5079c43df doc: move chapters about command line and colors before buffers and windows (user's guide) 2016-11-26 14:55:37 +01:00
Sébastien Helleu e6dd5a06e1 doc: add chapter about buffer property "highlight_regex" in user's guide 2016-11-26 14:10:19 +01:00
Sébastien Helleu 377fad22db irc: add tag "self_msg" on self messages (closes #840) 2016-11-26 13:58:16 +01:00
Sébastien Helleu cfc22c700c irc: add missing tags on CTCP message sent 2016-11-26 13:49:34 +01:00
Sébastien Helleu 649a1d2a0c core: add more info in /help weechat.color.chat_nick 2016-11-25 20:07:39 +01:00
Sébastien Helleu 7fb5691834 doc: add chapters about highlights and max hotlist level for nicks (user's guide) 2016-11-25 19:54:55 +01:00
Sébastien Helleu 1d90d989d3 doc: update Japanese auto-generated files 2016-11-23 22:05:42 +01:00
Sébastien Helleu e3220967e0 doc: update German auto-generated files 2016-11-23 22:05:38 +01:00
Sébastien Helleu ce64b3e343 Merge pull request #852 from l/master/translation/ja_JP
core: update Japanese translations
2016-11-23 22:02:29 +01:00
AYANOKOUZI, Ryuunosuke a3e6d60f21 core: update Japanese translations 2016-11-23 09:00:00 +09:00
Nils Görs 02e4a7accf core: update German translations 2016-11-22 21:49:02 +01:00
Sébastien Helleu 0cec295a41 fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (closes #850) 2016-11-22 19:24:40 +01:00
Sébastien Helleu fe95a1c8a8 core: add a warning in header of configuration files to not edit by hand (closes #851) 2016-11-21 22:29:35 +01:00
Sébastien Helleu 2165610401 doc: fix typo in quickstart and user's guide 2016-11-21 07:21:09 +01:00
Sébastien Helleu 204d8f8a66 doc: fix typos in French FAQ 2016-11-20 23:08:07 +01:00
Sébastien Helleu fa845c2e7c doc: fix punctuation in lists 2016-11-20 23:04:55 +01:00
Sébastien Helleu b0c8f33dc1 doc: add a question about editing config files by hand in FAQ 2016-11-20 22:23:49 +01:00
Sébastien Helleu 17f74a885f doc: update German auto-generated files 2016-11-20 20:55:06 +01:00
Nils Görs afff9aa2e9 core: update German translations 2016-11-20 20:28:59 +01:00
Sébastien Helleu 0710d076c2 doc: add note in quickstart guide to mention it's not recommended to edit config files by hand (issue #851) 2016-11-20 20:01:32 +01:00
Sébastien Helleu 111f8245d8 api: add info "pid" (WeeChat PID) (issue #850) 2016-11-20 16:07:27 +01:00
Sébastien Helleu d0c1df309e doc: update German auto-generated files 2016-11-20 15:50:07 +01:00
Sébastien Helleu 02405d6a6a doc: update Japanese auto-generated files 2016-11-20 15:49:48 +01:00
Nils Görs 69467de528 core: update German translations 2016-11-20 15:36:31 +01:00
Sébastien Helleu 6aad13f3a7 trigger: add comments above default triggers 2016-11-19 14:31:40 +01:00
Sébastien Helleu 68d5a89b3d trigger: do not hide email in command "/msg nickserv register password email" (closes #849) 2016-11-19 14:20:10 +01:00
Sébastien Helleu d33c6d8a9d doc: fix name of options for default part/quit message (FAQ) (closes #847) 2016-11-17 21:23:49 +01:00
Sébastien Helleu 2122cbf93f core: update ChangeLog 2016-11-14 07:27:02 +01:00
Sébastien Helleu 89725eaa72 core: add build of xz package with make dist 2016-11-14 07:25:34 +01:00
Sébastien Helleu 0f5192dad5 core: add name of signals in ChangeLog 2016-11-13 16:13:59 +01:00
Sébastien Helleu 018b969381 core: fix deadlock when quitting after a signal is received (closes #32)
The code in signal handers (SIGHUP, SIGQUIT, SIGTERM) is moved into main
loop, this hopefully fixes the deadlock when quitting after receiving
one of these signals.

The code in SIGWINCH signal handler is moved too (even if it shouldn't
be a problem).
2016-11-13 16:07:24 +01:00
Sébastien Helleu 01f8443073 Merge pull request #839 from l/master/translation/ja_JP
core: update Japanese translations
2016-11-12 14:08:47 +01:00
Sébastien Helleu 8eb3d385c7 doc: fix typo in user's guide (closes #838) 2016-11-12 10:27:46 +01:00
AYANOKOUZI, Ryuunosuke 7fe341a2f7 doc: update Japanese translations 2016-11-12 09:00:00 +09:00
AYANOKOUZI, Ryuunosuke 7ba8f23e58 doc: add "TRANSLATION MISSING" annotation 2016-11-12 09:00:00 +09:00
AYANOKOUZI, Ryuunosuke 69673dbfff core: update Japanese translations 2016-11-12 09:00:00 +09:00
Sébastien Helleu 51b0aae750 doc: fix French translations in user's guide 2016-11-09 20:51:42 +01:00
Sébastien Helleu 4a2cd9d034 irc: fix help on mask in command /ignore 2016-11-09 20:48:35 +01:00
Sébastien Helleu ed6528d84f doc: add a chapter about WeeChat files and directories in user's guide 2016-11-09 20:45:33 +01:00
Sébastien Helleu 8bb5ab6c44 Merge pull request #835 from l/master/translation/ja_JP
core: update Japanese translations
2016-11-06 08:25:20 +01:00
AYANOKOUZI, Ryuunosuke a1e20fb962 doc: update Japanese translations 2016-11-06 09:00:00 +09:00
AYANOKOUZI, Ryuunosuke 78d3a05729 doc: fix typo in plugin API reference 2016-11-06 09:00:00 +09:00
AYANOKOUZI, Ryuunosuke d5ff36a6de core: update Japanese translations 2016-11-06 09:00:00 +09:00
Sébastien Helleu 01eef6b5d7 core: add contributor in AUTHORS.adoc 2016-11-01 14:22:07 +01:00
Sébastien Helleu f312e17008 core: update ChangeLog (closes #834) 2016-11-01 14:20:23 +01:00
tomoe-mami 899b397f3f lua: use lua_pushinteger for int values in lua 5.3 2016-11-01 14:18:47 +01:00
Sébastien Helleu dc3cdcbb7f doc: add a question about hotlist in FAQ 2016-11-01 08:15:07 +01:00
Sébastien Helleu 335ab22a55 xfer: add check on filename2 allocation
Now string_expand_home() can return NULL if the HOME environment
variable it not set, so this commit adds an extra check on the variable
"filename2" before using it.
2016-10-30 07:07:29 +01:00
Sébastien Helleu 79ea328288 core: update ChangeLog 2016-10-30 07:06:25 +01:00
Sébastien Helleu 75a07fb2a3 Merge pull request #827 from sim642/string_expand_home-sigsegv
api: fix string_expand_home SIGSEGV when HOME environment variable unset
2016-10-30 07:02:55 +01:00
Sébastien Helleu 9f6d79e053 Merge pull request #831 from elKaZe/patch-1
Update es.po
2016-10-30 06:57:13 +01:00
elKaZe fe946e1bf4 Update es.po
fix typo
2016-10-29 19:51:25 -03:00
Sébastien Helleu 570f4817dd core: fix display of empty lines in search mode (closes #829) 2016-10-29 17:18:28 +02:00
Sébastien Helleu d4a9c48cc8 relay: set status to AUTH_FAILED in case of auth failure in irc protocol (issue #825) 2016-10-25 07:23:26 +02:00
Sébastien Helleu b3d4680600 debian: update comments in build script 2016-10-23 08:37:31 +02:00
Sébastien Helleu 133cbbd947 relay: set status to AUTH_FAILED in case of auth failure in weechat protocol (closes #825) 2016-10-21 07:49:10 +02:00
Simmo Saan bb22f2486b api: fix string_expand_home SIGSEGV when HOME environment variable unset 2016-10-20 23:24:50 +03:00
Sébastien Helleu b51beb6766 irc: change default value of option irc.network.lag_reconnect to 300 (closes #818) 2016-10-18 22:06:39 +02:00
Sébastien Helleu 83f3e93402 core: add contributor in AUTHORS.adoc 2016-10-14 21:38:12 +02:00
Evgeny Shmarnev 89b8bfdf8c doc: update Russian translation of quickstart guide 2016-10-14 21:36:55 +02:00
Evgeny Shmarnev 161ce479fc doc: update Russian translation of man page 2016-10-14 21:33:11 +02:00
Simmo Saan 03fbb4ffdc Add server option umodes (closes #377) 2016-10-12 21:38:49 +03:00
Sébastien Helleu c1b39ee5c2 core: update example of WeeChat version and fix some formatting in Contributing 2016-10-09 08:22:37 +02:00
Sébastien Helleu 997f47f77a core: fix integer overflow in calls to realloc (issue #809) 2016-10-08 13:10:56 +02:00
Sébastien Helleu 485aff59c4 core: fix realloc in function gui_input_optimize_size (issue #809)
This could cause crash in case of memory allocation error
(but WeeChat would probably crash or have problems anyway if there's not
enough memory for the input line).
2016-10-08 12:46:34 +02:00
Nils Görs 1635cf50d9 doc: update German documentation 2016-10-07 10:15:40 +02:00
Sébastien Helleu 024688f75d Merge pull request #813 from talisein/fake-wattrgetset
tests: add wattr_get/set to fake ncurses
2016-10-03 20:35:00 +02:00
Andrew Potter 54ee5e0576 tests: add wattr_get/set to fake 2016-10-02 09:51:28 -07:00
Sébastien Helleu f11feaa013 Version 1.7-dev 2016-10-02 10:54:37 +02:00
Sébastien Helleu cc0337bbe1 Version 1.6 2016-10-02 09:35:04 +02:00
Sébastien Helleu fe0e554d2a core: add missing files docinfo.html in packages built by autotools 2016-10-02 09:12:12 +02:00
Sébastien Helleu 54841f6294 api: fix return of function string_match() when there are multiple masks in the string (issue #812)
Some tests are added as well to test the multiple masks in the string.
2016-10-02 08:58:19 +02:00
Sébastien Helleu f98d50ebab doc: update Polish auto-generated files 2016-10-01 17:35:53 +02:00
Krzysztof Korościk f9f7525e23 doc: updated polish translations 2016-10-01 13:19:43 +02:00
Krzysztof Korościk 8a755ef0d7 updated polish tranlation 2016-10-01 13:14:38 +02:00
Sébastien Helleu a842f24b6d Merge pull request #810 from vascool/pt
core: update Portuguese translation
2016-09-30 07:23:13 +02:00
Vasco Almeida 9f4dddcf75 core: update Portuguese translation 2016-09-27 12:54:36 +00:00
Sébastien Helleu 47019c3d15 doc: fix examples for function string_eval_path_home (plugin API reference) 2016-09-27 07:31:13 +02:00
Sébastien Helleu f2b74fabc2 doc: update Japanese auto-generated files 2016-09-23 20:39:25 +02:00
Sébastien Helleu 7ce4fb1b5d Merge pull request #806 from l/master/translation/ja_JP
core: update Japanese translations
2016-09-23 20:37:47 +02:00
AYANOKOUZI, Ryuunosuke ec3c08e7ab core: update Japanese translations 2016-09-23 09:00:00 +09:00
Sébastien Helleu 1d5fb8123c Version 1.6-rc2 2016-09-22 21:42:09 +02:00
Sébastien Helleu 1c626ab946 core: update ChangeLog 2016-09-22 21:10:52 +02:00
Sébastien Helleu d0b1d4f6ad core: add contributor in AUTHORS.adoc 2016-09-22 21:08:15 +02:00
Sébastien Helleu 292bad719a irc: remove unneeded comment 2016-09-22 21:07:26 +02:00
arza 592810ca1f core: add option weechat.look.align_multiline_words 2016-09-20 04:36:08 +03:00
Rob Campbell cb382a0174 Fix for unclosed/leaking sockets from issue #358 2016-09-19 02:20:52 -07:00
Nils Görs 58ce36c2c9 doc: update German documentation 2016-09-17 11:32:36 +02:00
Sébastien Helleu 95ff8c97fa doc: add option aspell.check.real_time in question about CPU usage (FAQ) 2016-09-17 11:14:00 +02:00
Nils Görs 616d2ae295 doc: update German documentation 2016-09-16 18:02:05 +02:00
Sébastien Helleu e45593e00c doc: update Polish auto-generated files 2016-09-13 21:10:52 +02:00
Krzysztof Korościk 34a09d1a16 doc: updated polish translation 2016-09-13 20:49:05 +02:00
Krzysztof Korościk 117ac60c74 po: updated polish translation 2016-09-13 20:10:43 +02:00
Sébastien Helleu 20df8b89a0 doc: add scroll of buffers bar in FAQ 2016-09-12 21:50:51 +02:00
Sébastien Helleu 63dc51bd7b doc: fix typos in plugin API reference 2016-09-12 21:50:12 +02:00
Sébastien Helleu 131cc6a2f2 doc: update German auto-generated files 2016-09-09 19:24:28 +02:00
Nils Görs 54038f181c core: update German translations 2016-09-09 12:32:09 +02:00
Sébastien Helleu e0c5507a7f core: replace "clipboard" by "internal clipboard" in /help input and user's guide 2016-09-08 21:21:44 +02:00
Nils Görs ce17b2ea17 doc: update German documentation 2016-09-07 08:20:23 +02:00
Sébastien Helleu 466921fdcf doc: update Japanese auto-generated files 2016-09-06 21:11:43 +02:00
Sébastien Helleu bec42589e0 Merge pull request #792 from l/master/translation/ja_JP
core: update Japanese translations
2016-09-06 21:10:53 +02:00
AYANOKOUZI, Ryuunosuke 1525b50e3b core: update Japanese translations 2016-09-05 09:00:00 +09:00
Sébastien Helleu 726805b7b1 doc: update German auto-generated files 2016-09-04 13:33:01 +02:00
Nils Görs 27c9339c34 Merge branch 'master' of https://github.com/weechat/weechat 2016-09-04 13:29:33 +02:00
Nils Görs 6d8bddc5fb core: update German translations 2016-09-04 13:09:48 +02:00
Sébastien Helleu df10556d5e debian: remove asciidoctor dependency in debian/ubuntu patches (issue #722)
Asciidoctor is required, but must be installed as a gem (the version in
distros is too old).
2016-09-04 12:52:24 +02:00
Sébastien Helleu 340389ccd5 debian: update debian/ubuntu patches to build again doc/man page (issue #722) 2016-09-04 09:16:13 +02:00
Sébastien Helleu 0572d0c4f5 core: evaluate content of option "weechat.look.item_time_format" (issue #791) 2016-09-03 08:28:05 +02:00
Sébastien Helleu f4b96dfa0f build: build docs in order, sorted by the language code 2016-09-03 08:07:21 +02:00
Sébastien Helleu fa9c17660f build: enable again build of man page and documentation on Cygwin (issue #722) 2016-09-03 07:54:42 +02:00
Sébastien Helleu 482a2209d1 Merge pull request #789 from sunder67/patch-1
Update tr.po
2016-08-31 20:17:08 +02:00
Nils Görs 6eb50f3dbb core: update German translations 2016-08-31 15:54:49 +02:00
Sébastien Helleu 53578350b8 Version 1.6-rc1 2016-08-30 19:15:35 +02:00
Sébastien Helleu e2fdb84dcd core: install asciidoctor gem on Travis CI (issue #722) 2016-08-30 18:49:01 +02:00
Sébastien Helleu 5d5335b2c1 irc: fix display of service notice mask (message 008) (closes #429) 2016-08-30 18:36:07 +02:00
Sébastien Helleu 9e5ad6aa3e core: add Windows/Ubuntu in Contributing 2016-08-30 18:29:04 +02:00
Sébastien Helleu 7994932b29 core: add issue #722 in ChangeLog 2016-08-30 18:28:03 +02:00
Sébastien Helleu 4994e9cbb9 core: add more info about issue #771 in ChangeLog 2016-08-30 18:27:30 +02:00
sunder67 65cd1b4c19 Update tr.po
fix typo
2016-08-30 09:45:59 +03:00
Sébastien Helleu 593b3cad72 core: add example of splith and merge in /help window 2016-08-27 13:34:34 +02:00
Sébastien Helleu 1a4bfcdddc doc: add command "/window merge" in quickstart 2016-08-26 08:08:01 +02:00
Sébastien Helleu 6dad386cfd build: disable build of man page and documentation on Cygwin 2016-08-22 21:49:35 +02:00
Sébastien Helleu ec85bc1367 core: fix warnings about unused variables 2016-08-22 21:40:25 +02:00
Sébastien Helleu aecfbebcdc doc: update Japanese auto-generated files 2016-08-22 08:24:56 +02:00
Sébastien Helleu 3278b2f57e Merge pull request #783 from l/master/translation/ja_JP
core: update Japanese translations
2016-08-22 08:20:52 +02:00
AYANOKOUZI, Ryuunosuke 20966d7a70 core: update Japanese translations 2016-08-21 09:00:00 +09:00
Sébastien Helleu d6767b4ed6 api: fix crash in function network_connect_to() if address is NULL (issue #781) 2016-08-20 19:55:35 +02:00
Sébastien Helleu 2f0d39f98d xfer: fix crash on DCC send if option xfer.file.auto_accept_nicks is set (closes #781) 2016-08-20 19:52:47 +02:00
Sébastien Helleu c2ea70c3e9 api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (issue #770)
The test on socketpair() function is now made when hooks are
initialized (instead of doing the test at compilation time).
2016-08-19 20:06:04 +02:00
Sébastien Helleu 091ef992dd Revert "api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (closes #770)"
This reverts commit 399636f984.
2016-08-19 19:44:08 +02:00
Sébastien Helleu e218db3582 tests: add test on the "extra" option on function eval_expression() 2016-08-18 22:11:50 +02:00
Sébastien Helleu e00fb7d0e5 core: update ChangeLog 2016-08-18 22:06:57 +02:00
Sébastien Helleu 13d836994b doc: translate "extra" argument of string_eval_expression in other languages (plugin API reference) 2016-08-18 21:52:06 +02:00
Sébastien Helleu c74c55759a core: move the extra_vars_eval argument after extra_vars 2016-08-18 21:42:13 +02:00
Sébastien Helleu c6b3c9d79b core: fix empty comment 2016-08-18 21:38:04 +02:00
Sébastien Helleu 61bc6b6550 Merge remote-tracking branch 'origin/pr/534' 2016-08-18 21:24:10 +02:00
Sébastien Helleu c8d9be036b doc: update German auto-generated files 2016-08-17 20:43:35 +02:00
Nils Görs fa3be938ec core: update German translations 2016-08-17 08:42:14 +02:00
Sébastien Helleu a01ecb276f core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear 2016-08-16 21:22:28 +02:00
Sébastien Helleu ebb43c4a54 doc: update German auto-generated files 2016-08-14 14:21:59 +02:00
Nils Görs f4834e26df core: update German translations 2016-08-14 14:18:51 +02:00
Sébastien Helleu 622a7cd779 doc: update auto-generated files with WeeChat commands 2016-08-14 11:35:59 +02:00
Sébastien Helleu f35710e6d5 core: fix completion of command /buffer swap 2016-08-14 11:34:17 +02:00
Sébastien Helleu daca5c3c86 core: add option "cycle" in command /buffer 2016-08-14 11:29:34 +02:00
Sébastien Helleu 4c25604dec xfer: fix NULL pointer derefence in case of memory error in xfer_set_{local|remote}_address() 2016-08-13 15:36:46 +02:00
Sébastien Helleu 6c6cc73da2 xfer: fix memory leak in case of memory error in xfer_chat_open_buffer() 2016-08-13 15:35:40 +02:00
Sébastien Helleu f7604c5a6b irc: fix NULL pointer derefence in case of memory error in irc_sasl_dh() 2016-08-13 15:33:02 +02:00
Sébastien Helleu 7447b81f87 core: fix NULL pointer derefence in case of memory error in gui_buffer_input_buffer_init() 2016-08-13 14:51:09 +02:00
Sébastien Helleu 3e35df9bce core: free file pointer in case of memory error in util_file_get_content() 2016-08-13 14:48:33 +02:00
Sébastien Helleu b53e7824f2 core: add weechat-curses link in .gitignore 2016-08-13 14:45:31 +02:00
Sébastien Helleu e888df54e3 doc: update main features in user's guide 2016-08-13 13:31:49 +02:00
Sébastien Helleu 0d6b24c124 doc: update German auto-generated files 2016-08-11 21:08:36 +02:00
Nils Görs 40c12573a0 doc: update German documentation 2016-08-11 17:25:56 +02:00
Nils Görs beb847436b core: update German translations 2016-08-11 09:16:11 +02:00
Sébastien Helleu db76d6a097 trigger: add missing step with post action in /help trigger 2016-08-10 22:31:49 +02:00
Sébastien Helleu a92e960871 doc: add question about screen and bracketed paste mode in FAQ 2016-08-10 22:28:03 +02:00
Sébastien Helleu 021401635d doc: update German auto-generated files 2016-08-10 22:15:06 +02:00
Sébastien Helleu d1c9ee29e5 core: fix typo in a French translation 2016-08-10 22:14:08 +02:00
Nils Görs 38d4b93f12 core: update German translations 2016-08-10 11:37:12 +02:00
Sébastien Helleu 3784cc5820 Merge pull request #773 from l/master/translation/ja_JP
doc: update Japanese translations
2016-08-09 22:18:17 +02:00
Sébastien Helleu 73db57f245 trigger: add post action in command line built by /trigger input|output|recreate 2016-08-09 22:12:17 +02:00
Sébastien Helleu 00dc40da1d trigger: add quotes around completions of post action 2016-08-09 22:06:09 +02:00
Sébastien Helleu 64998dee19 core: update ChangeLog 2016-08-09 21:55:30 +02:00
Sébastien Helleu 90f2a13ae2 core: update translations 2016-08-09 21:54:00 +02:00
Sébastien Helleu 1172b19370 doc: translate trigger post action in other languages (user's guide) 2016-08-09 21:44:41 +02:00
Sébastien Helleu de7dc59c87 trigger: rename "once action" to "post action" 2016-08-09 21:35:39 +02:00
Sébastien Helleu 810077fc12 Merge remote-tracking branch 'origin/pr/509' 2016-08-09 21:05:34 +02:00
AYANOKOUZI, Ryuunosuke d681ab1e8d doc: update Japanese translations 2016-08-09 09:00:00 +09:00
Sébastien Helleu 9d53fe9b0f doc: update auto-generated files with URL options 2016-08-07 16:40:48 +02:00
Sébastien Helleu 0a4ed4799f core: fix Tab in Japanese translation of /help print 2016-08-07 16:39:43 +02:00
Sébastien Helleu c74e7cb7d7 irc: remove evil tab 2016-08-07 16:35:27 +02:00
Sébastien Helleu 992a620a26 core: update ChangeLog 2016-08-07 16:21:43 +02:00
Sébastien Helleu dad2b649ed core: add contributor in AUTHORS.adoc 2016-08-07 16:19:40 +02:00
Sébastien Helleu 751769b49d core: irc, xfer: do not check return code of res_init()
If the call to res_init() fails, the connection may be OK anyway
or in worst case it will fail (with an appropriate error) if the name
can not be resolved.
2016-08-07 16:17:42 +02:00
Sébastien Helleu f695a79d9b core, irc, xfer: add missing includes for function res_init() 2016-08-07 16:15:59 +02:00
Sébastien Helleu eee11972f7 Merge remote-tracking branch 'origin/pr/771' 2016-08-07 16:08:44 +02:00
Raghavendra Prabhu 761c5e2d11 core/plugins: Use res_init before getaddrinfo.
With weechat, if the network changes in anyway that causes resolv.conf
to be updated, that is not picked up, resulting in

    irc: connecting to server XXXX.com/1026 (SSL)...
    irc: address "XXX.com" not found
    irc: error: Name or service not known
    irc: reconnecting to server in 30 seconds

This happens, especially when one connects to an irc server behind a
VPN.

This can also happen when there is no network connectivity weechat was started
but later network is connected to.

The fix is simple, it relies on calling  res_init (3) before getaddrinfo in
network_connect_child and other places.

res_init reloads the resolv.conf and getaddrinfo does not fail with
address resolution error.
2016-08-07 13:20:54 +01:00
Sébastien Helleu d575d43218 doc: add C compiler in dependencies (user's guide) 2016-08-07 10:43:54 +02:00
Sébastien Helleu 0de910838d doc: add missing package ruby-2.3 in dependencies (user's guide) 2016-08-07 10:31:11 +02:00
Sébastien Helleu 6bebc49dfd core: add old email of Krzysztof Korościk in .mailmap 2016-08-07 10:21:47 +02:00
Sébastien Helleu 399636f984 api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (closes #770) 2016-08-06 22:13:52 +02:00
Sébastien Helleu eff8d3f3fb core: update ChangeLog 2016-08-02 18:43:12 +02:00
Sébastien Helleu 00f1b3e563 core: add contributor in AUTHORS.adoc 2016-08-02 18:30:25 +02:00
Sébastien Helleu 24d9abf46d Merge pull request #738 from scumjr/master
irc: fix NULL pointer dereference in 734 command callback
2016-08-02 18:29:12 +02:00
Sébastien Helleu ee16e226fe doc: update German auto-generated files 2016-07-30 14:13:34 +02:00
Nils Görs f7f8375529 core: update German translations 2016-07-30 10:30:15 +02:00
Sébastien Helleu 175b75987d doc: update Japanese auto-generated files 2016-07-30 07:59:39 +02:00
Sébastien Helleu 196646eb9a Merge pull request #768 from l/master/translation/ja_JP
core: update Japanese translations
2016-07-30 07:58:58 +02:00
AYANOKOUZI, Ryuunosuke 8925a2fb8a core: update Japanese translations 2016-07-30 09:00:00 +09:00
Sébastien Helleu 67ab00abe5 doc: add example of hdata command with hotlist (relay protocol) 2016-07-29 16:02:39 +02:00
Sébastien Helleu 09c52755d1 relay: return an empty hdata when the requested hdata or pointer is not found (closes #767) 2016-07-29 15:55:42 +02:00
Sébastien Helleu 4397dccd1b core: add keys for secure buffer in /help secure (closes #756) 2016-07-29 10:03:20 +02:00
Sébastien Helleu 290b40af89 doc: update German auto-generated files 2016-07-19 07:29:12 +02:00
Nils Görs d5784199c1 core: update German translations 2016-07-17 18:01:51 +02:00
Sébastien Helleu 34ccf3fd81 irc: rename server options "default_msg_*" to "msg_*", evaluate them 2016-07-17 09:29:14 +02:00
Sébastien Helleu 8743a88c3b core: add missing title in ReleaseNotes 2016-07-16 10:03:19 +02:00
Sébastien Helleu b7e9913ebb doc: update auto-generated files with hdata 2016-07-12 07:53:31 +02:00
Sébastien Helleu e2a3cc8bf4 irc: fix typo in a comment 2016-07-09 21:26:28 +02:00
Sébastien Helleu eb86def400 core: rename function string_iconv_fprintf to string_fprintf 2016-07-09 18:28:03 +02:00
Sébastien Helleu 666bc4fda2 core: replace some single quotes by double quotes in help of options 2016-07-09 12:34:40 +02:00
Sébastien Helleu 177dff6fa8 Merge pull request #755 from l/translation/ja
doc: update Japanese translations
2016-07-03 23:07:23 +02:00
AYANOKOUZI, Ryuunosuke b159f1ce28 doc: update Japanese translations 2016-07-01 09:00:00 +09:00
Sébastien Helleu 0c2f32fbcd doc: remove "weechat_" prefix in internal links (plugin API reference) 2016-06-25 10:56:55 +02:00
Sébastien Helleu a9b0c00df7 doc: add note about string evaluated in function window_set_title (plugin API reference) 2016-06-25 10:38:48 +02:00
Sébastien Helleu e647512d86 doc: fix typo in FAQ 2016-06-24 19:08:48 +02:00
Sébastien Helleu 35712daa1a core: improve help on python3 option (cmake and autotools) 2016-06-21 19:41:30 +02:00
Sébastien Helleu 252aca82fd core: fix some categories in ChangeLog 2016-06-21 19:40:43 +02:00
Sébastien Helleu aec9e2ebca python: add detection of Python 3.5 2016-06-21 19:39:20 +02:00
Sébastien Helleu 1989285462 doc: add note in argument "tags" of function printf_date_tags (plugin API reference) 2016-06-18 09:11:07 +02:00
Sébastien Helleu 3b4d9156e2 doc: add note about function printf_date_tags in function printf (plugin API reference) 2016-06-18 09:06:56 +02:00
Sébastien Helleu 20c86db0d8 api: remove functions printf_date() and printf_tags() 2016-06-18 08:49:35 +02:00
Sébastien Helleu b1d32b29f9 doc: fix styles in docs 2016-06-15 08:01:45 +02:00
Sébastien Helleu 2a53e1aea2 doc: fix styles in developer's guide 2016-06-13 07:30:15 +02:00
Sébastien Helleu d37d1abb63 doc: fix styles in user's guide 2016-06-12 17:58:40 +02:00
Sébastien Helleu 545386ea81 Merge pull request #742 from l/translation/ja
core: update Japanese translations
2016-05-31 08:46:41 +02:00
AYANOKOUZI, Ryuunosuke 6effc6fb57 core: update Japanese translations 2016-05-29 09:00:00 +09:00
Nils Görs 610f191ddc core: update German translations 2016-05-28 10:42:25 +02:00
Sébastien Helleu 7342a47de0 core, irc, xfer: display more information in memory allocation errors (issue #573) 2016-05-27 20:13:35 +02:00
Sébastien Helleu 7b053b7c40 core: add sub-sections in ChangeLog 2016-05-27 07:55:03 +02:00
Sébastien Helleu 631e019eb7 doc: update German auto-generated files 2016-05-22 10:09:10 +02:00
Sébastien Helleu 22591c11fe debian: fix debian/ubuntu/raspbian patches 2016-05-21 08:07:55 +02:00
Nils Görs a68637b37d core: update German translations 2016-05-20 17:40:39 +02:00
Sébastien Helleu cad0354934 debian: remove invalid line in Russin quickstart file 2016-05-20 08:35:34 +02:00
scumjr e7fd68c29e irc: fix NULL pointer dereference in 734 command callback 2016-05-19 12:50:04 +02:00
Sébastien Helleu 29d7e49924 doc: update Japanese auto-generated files 2016-05-19 09:07:08 +02:00
Sébastien Helleu 70af4fe693 Merge pull request #737 from l/translation/ja
core: update Japanese translations
2016-05-19 09:06:26 +02:00
Sébastien Helleu cb9b2a34e0 doc: increase font size for key bindings 2016-05-19 08:58:51 +02:00
Sébastien Helleu 499b9be1fb relay: add option relay.network.allow_empty_password (closes #735) 2016-05-18 07:55:03 +02:00
Sébastien Helleu ec86e1ac85 core: update French translations 2016-05-18 07:47:45 +02:00
Sébastien Helleu f23b6be178 core: add blank lines in ChangeLog for readability 2016-05-18 07:38:37 +02:00
AYANOKOUZI, Ryuunosuke 84d4705ea4 core: update Japanese translations 2016-05-18 09:00:00 +09:00
Sébastien Helleu c39803a4dd debian: update debian/ubuntu patches to not build doc/man page 2016-05-16 17:56:51 +02:00
Sébastien Helleu e0866d48cb debian: add files to build devel doc package 2016-05-16 17:48:52 +02:00
Sébastien Helleu 5ed1903f67 debian: add patch for raspbian/jessie 2016-05-16 14:24:11 +02:00
Sébastien Helleu 369f9e467f debian: fix dch distribution name on Raspbian 2016-05-16 14:23:32 +02:00
Sébastien Helleu 1b21fa1816 debian: fix mode of weechat-plugins.install in debian/ubuntu patches (issue #722) 2016-05-16 12:32:48 +02:00
Sébastien Helleu b0f515279a debian: add patch to not build doc/man page on Debian Jessie (issue #722) 2016-05-16 11:34:22 +02:00
Sébastien Helleu fd80196b81 doc: add escape of commas in command "init" (relay protocol) (issue #730) 2016-05-16 11:23:16 +02:00
Sébastien Helleu a6a221e5e1 core: add asciidoctor in ChangeLog (issue #722) 2016-05-16 11:05:08 +02:00
Sébastien Helleu 1fc274473b doc: remove unused function in docgen.py 2016-05-15 09:26:29 +02:00
Sébastien Helleu 836876bacb core: remove install of asciidoc and related packages (Travis CI) (issue #722) 2016-05-15 09:10:08 +02:00
Sébastien Helleu 2736a0e3ff core: rename file FindAsciidoc.cmake to FindAsciidoctor.cmake in autotools (issue #722) 2016-05-15 09:07:05 +02:00
Sébastien Helleu e31c8647e8 core: remove obsolete file FindSourcehighlight.cmake (issue #722) 2016-05-15 09:05:59 +02:00
Sébastien Helleu e2ce3dfc1b doc: fix name of file AUTHORS.adoc in Polish man page 2016-05-15 09:04:03 +02:00
Sébastien Helleu adf6ed3f67 doc: fix source-highlighter in autotools (issue #722) 2016-05-15 09:01:49 +02:00
Sébastien Helleu 0ffc342437 core: fix dependencies in README (issue #722) 2016-05-15 08:56:45 +02:00
Sébastien Helleu b7bdbbdc50 core: rename .asciidoc files to .adoc (issue #722) 2016-05-15 08:52:19 +02:00
Sébastien Helleu 81fa60a23a doc: fix styles in auto-generated doc files (issue #722) 2016-05-14 23:44:36 +02:00
Sébastien Helleu e6dda930e8 doc: fix styles in Contributing (issue #722) 2016-05-14 23:42:58 +02:00
Sébastien Helleu 7d3d56cccd doc: fix styles in release notes (issue #722) 2016-05-14 23:42:11 +02:00
Sébastien Helleu 6aa94c08b1 doc: fix styles in ChangeLog (issue #722) 2016-05-14 23:41:27 +02:00
Sébastien Helleu c5f6aad66f core: require asciidoctor 1.5.4 instead of 1.5.0 (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 75778b5806 debian: update patches to not build doc/man page on some Debian/Ubuntu versions to build docs and man page (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu e503eafedc debian: enable build of doc by default in devel packages (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 384d9479a6 debian: replace asciidoc by asciidoctor (>= 1.5.4) in Build-Depends (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 72982152aa doc: fix size of tables and columns in plugin API reference 2016-05-14 09:42:57 +02:00
Sébastien Helleu 7742fee19f doc: fix styles in plugin API reference (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu d00634acae doc: remove sectnumlevels in relay protocol (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu f097ed7536 doc: fix column size in developer's guide 2016-05-14 09:42:57 +02:00
Sébastien Helleu 5f8ae3e12e doc: increase toclevels and sectnumlevels in user's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu b05382e6f2 doc: enable section numbering in tester's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu bc98d43c08 doc: fix styles in user's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu c2c3ecb3f7 doc: fix style in tip about mouse events (user's guide) (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 4180ddff0f doc: use a table for input of IRC color codes in user's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu f8f313569c doc: fix style of key bindings in user's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu b11d1408aa doc: improve source of table with dependencies in user's guide 2016-05-14 09:42:57 +02:00
Sébastien Helleu 67250aa2bb doc: replace asciidoc by asciidoctor in user's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 8cb857cedb doc: make list of functions/constants more readable in scripting guide 2016-05-14 09:42:57 +02:00
Sébastien Helleu 963ee4fe40 doc: enable section numbering in relay protocol (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 9a3da9a4a3 doc: enable section numbering in scripting guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 3bb75b4432 doc: use Font Awesome for admonition labels (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu e092bd19d3 doc: switch to prettify source highlighter (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu baebbb25a3 doc: fix styles in relay protocol (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu c5c7539406 doc: fix styles in scripting guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 048ad82672 doc: fix styles in tester guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 93b71769cd doc: fix styles in quickstart guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 171f9a9fc8 doc: fix styles in FAQ (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 8c1916c6c2 doc: fix styles in developer's guide (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu de24a7cb7b doc: fix styles in man page (issue #722) 2016-05-14 09:42:57 +02:00
Sébastien Helleu 220bd837ae doc: use asciidoctor instead of asciidoc (issue #722) 2016-05-14 09:42:57 +02:00
Nils Görs f3163aa271 core: update German translations 2016-05-14 09:27:55 +02:00
Sébastien Helleu 22c0966387 tests: add tests on function string_split_command() 2016-05-14 09:14:08 +02:00
Sébastien Helleu af83fb55e1 relay: allow escape of comma in command "init" (weechat protocol) (issue #730) 2016-05-13 19:37:19 +02:00
Sébastien Helleu e94e4a92f4 doc: add arvg[2] in example of function string_split_command (plugin API reference) 2016-05-11 07:41:44 +02:00
Sébastien Helleu 951d1410d9 core: fix custom section IDs in ChangeLog and ReleaseNotes
Asciidoctor (used on GitHub) requires that the custom ID start with a
letter, so a "v" is added in front of releases.
2016-05-10 07:45:20 +02:00
Sébastien Helleu 596df95ecf core: add contributor in AUTHORS.asciidoc 2016-05-10 07:44:49 +02:00
Sébastien Helleu 35e285e823 core: add issue #731 in ChangeLog 2016-05-09 07:51:02 +02:00
Sébastien Helleu 9dfcf79712 Merge pull request #731 from irth/master
core: fix the hardcoded separator in string_split_command
2016-05-09 07:34:58 +02:00
Wojciech Kwolek a44bcaf080 core: fix the hardcoded separator in string_split_command 2016-05-08 12:14:17 +02:00
l 2d5ea374af doc: update Japanese translations (#728) 2016-05-06 22:02:50 +02:00
Sébastien Helleu 15b0917875 debian: bump Standards-Version to 3.9.8 2016-05-04 07:35:25 +02:00
Sébastien Helleu 711de56158 debian: update changelog 2016-05-04 07:34:44 +02:00
Sébastien Helleu 5968460671 doc: add a question about security in FAQ 2016-05-03 21:42:24 +02:00
Sébastien Helleu 31864f562d doc: update Ruby and Lua versions in user's guide 2016-05-02 21:02:22 +02:00
Lieuwe Rooijakkers c9411a848a irc: fix typo in IRC_SERVER_OPTION_SASL_KEY comment (#724) 2016-05-01 18:37:50 +02:00
Sébastien Helleu 3bc6fe1a26 Version 1.6-dev 2016-05-01 14:47:08 +02:00
Sébastien Helleu c017af8e0a Version 1.5 2016-05-01 12:50:12 +02:00
Sébastien Helleu e8e36ad32f core: add detection of Tcl 8.6 in autotools 2016-05-01 11:36:18 +02:00
Sébastien Helleu e47e10b8fe debian: update changelog and copyright 2016-05-01 09:26:37 +02:00
Sébastien Helleu 816ddb0018 debian: build Tcl plugin against Tcl 8.6 2016-05-01 09:16:18 +02:00
Sébastien Helleu 1acadf4108 debian: fix Vcs-(Git|Browser) fields to use secure URIs 2016-05-01 08:58:19 +02:00
Sébastien Helleu 881f258d3e doc: update auto-generated files with URL options 2016-05-01 08:46:46 +02:00
Sébastien Helleu f4da7bfdee core: move lines from features to bugs in ChangeLog 2016-04-30 20:14:01 +02:00
Sébastien Helleu f428779762 core: remove quotes in ChangeLog 2016-04-30 20:01:47 +02:00
Sébastien Helleu fb4f154c2f core: add Curl options for versions 7.38.1 to 7.49.0 2016-04-30 12:32:15 +02:00
Sébastien Helleu eff655ab23 script: make callbacks optional again in hook functions (issue #406) 2016-04-28 19:51:12 +02:00
Sébastien Helleu b0aa0d3602 doc: fix typo in plugin API reference 2016-04-28 07:32:01 +02:00
Sébastien Helleu e65d17eaf6 doc: update Polish auto-generated files 2016-04-27 19:59:08 +02:00
Krzysztof Korościk 171cb6995a po: update polish translation 2016-04-27 19:03:58 +02:00
Krzysztof Korościk 7233fa7dc4 doc: update polish translation 2016-04-27 18:50:02 +02:00
Sébastien Helleu 5c8f540c47 Merge pull request #720 from l/translation_ja
doc: update Japanese translations
2016-04-26 19:00:59 +02:00
AYANOKOUZI, Ryuunosuke e03a97528b doc: update Japanese translations 2016-04-26 09:00:00 +09:00
Sébastien Helleu c1441b111f irc: fix first message displayed in raw buffer when the message is modified by a modifier (closes #719) 2016-04-24 10:10:12 +02:00
Sébastien Helleu 7e988871ab Version 1.5-rc2 2016-04-23 14:48:58 +02:00
Sébastien Helleu 8a1650b26f lua: fix crash when a lua function doesn't return a value and a string was expected (closes #718) 2016-04-23 14:33:04 +02:00
Sébastien Helleu 51c3e0b9ec api: add support of functions in hook_process 2016-04-23 13:59:20 +02:00
Sébastien Helleu ae89d28462 javascript: fix string value returned by js functions 2016-04-23 13:58:46 +02:00
Sébastien Helleu 54151a3480 core: update email of Krzysztof Korościk 2016-04-20 19:39:43 +02:00
Sébastien Helleu 66ec959001 core: update ChangeLog 2016-04-19 21:07:44 +02:00
Sébastien Helleu c7bd1bca8b core: fix case of external software names in ChangeLog 2016-04-18 21:17:56 +02:00
Sébastien Helleu ca80d4fae7 doc: convert a note into asciidoc "[NOTE]" in tester's guide 2016-04-17 14:34:03 +02:00
Sébastien Helleu 8c78abe2c0 core: add Portuguese language in configure script 2016-04-16 11:39:01 +02:00
Sébastien Helleu 729bdbf5e3 core: add contributor in AUTHORS.asciidoc 2016-04-16 11:38:18 +02:00
Sébastien Helleu 6b2e9847a9 core: fix whitespace in Portuguese translations 2016-04-16 10:35:18 +02:00
Sébastien Helleu 4e74ad3107 Merge remote-tracking branch 'origin/pr/716' 2016-04-16 10:23:21 +02:00
Nils Görs 80621129f7 doc: update German documentation 2016-04-16 09:32:50 +02:00
Vasco Almeida 4806d7f20f core: add Portuguese translation 2016-04-15 11:44:29 +00:00
Sébastien Helleu 89084850a5 Merge pull request #715 from l/translation_ja
doc: update Japanese translations
2016-04-15 07:25:58 +02:00
AYANOKOUZI, Ryuunosuke 06e2a1bb25 doc: update Japanese translations 2016-04-15 09:00:00 +09:00
Sébastien Helleu 906c6ebb61 doc: mask SASL mechanisms dh-blowfish and dh-aes as "insecure" 2016-04-14 07:30:49 +02:00
Sébastien Helleu 1d8f48b102 Version 1.5-rc1 2016-04-13 07:36:19 +02:00
Sébastien Helleu 948d7b3b90 doc: add missing spaces in French docs 2016-04-12 07:35:36 +02:00
Sébastien Helleu 24c035ae9d doc: convert a note into asciidoc "[NOTE]" in user's guide 2016-04-11 07:40:57 +02:00
Sébastien Helleu cf88646a97 doc: update Japanese auto-generated files 2016-04-09 08:34:28 +02:00
Sébastien Helleu ad308a086c Merge pull request #712 from l/translation_ja
core: update Japanese translations
2016-04-09 08:31:36 +02:00
Sébastien Helleu 7e50f1c3c6 doc: add missing spaces in French FAQ 2016-04-08 08:02:39 +02:00
AYANOKOUZI, Ryuunosuke 38b6db9253 core: update Japanese translations 2016-04-08 09:00:00 +09:00
Sébastien Helleu b334174b0c doc: update German auto-generated files 2016-04-07 07:33:16 +02:00
Nils Görs b4697b7454 core: update German translations 2016-04-06 09:21:33 +02:00
Sébastien Helleu 5b62903772 core: set default value "djb2" for option weechat.look.nick_color_hash 2016-04-06 07:29:50 +02:00
Sébastien Helleu fabd48cc6c core: move nick coloring from irc plugin to core (closes #262)
Options moved from irc.conf to weechat.conf:

* "irc.look.nick_color_force" moved to "weechat.look.nick_color_force"
* "irc.look.nick_color_hash" moved to "weechat.look.nick_color_hash"
* "irc.look.nick_color_stop_chars" moved to
  "weechat.look.nick_color_stop_chars"

New info (for API function "info_get"):

* "nick_color" (replaces "irc_nick_color")
* "nick_color_name" (replaced "irc_nick_color_name")

Info "irc_nick_color" and "irc_nick_color_name" are now deprecated.

And a bug has been fixed in nick coloring: stop chars are removed before
looking at a forced color.
2016-04-05 07:56:43 +02:00
Sébastien Helleu e80ff72b97 doc: add missing spaces in French plugin API reference 2016-04-04 18:11:54 +02:00
Sébastien Helleu 18bf12f452 doc: describe return code according to option type in config functions (plugin API reference) 2016-04-03 11:03:15 +02:00
Sébastien Helleu ece614504f doc: fix typos in French plugin API reference 2016-04-02 10:38:04 +02:00
Sébastien Helleu 7235e89c0f core: add return code in usage function (debian build script) 2016-04-01 07:44:35 +02:00
Sébastien Helleu 25cc82685c Merge pull request #513 from rakuco/cmake-iconv-detection
core: do not hardcode iconv library name
2016-03-31 07:30:18 +02:00
Sébastien Helleu e11d504d18 doc: update Japanese auto-generated files 2016-03-30 07:49:54 +02:00
Sébastien Helleu 079ec48566 Merge pull request #709 from l/translation_ja
core: update Japanese translations
2016-03-30 07:45:36 +02:00
Sébastien Helleu 1f08e7cb56 doc: add note about version 1.5 in config functions (plugin API reference) 2016-03-29 10:26:35 +02:00
AYANOKOUZI, Ryuunosuke 24e48c747d core: update Japanese translations 2016-03-29 09:00:00 +09:00
Sébastien Helleu b0c45b2127 doc: add callback pointer in doc of function bar_item_new (plugin API reference) 2016-03-28 14:24:22 +02:00
Sébastien Helleu 61ffaa88f0 doc: add note about version 1.5 in some functions (plugin API reference) 2016-03-28 14:09:19 +02:00
Sébastien Helleu c1a9ab6731 doc: remove comments in example of function hook_command (plugin API reference) 2016-03-28 13:33:01 +02:00
Sébastien Helleu c40137c48e doc: add missing callback_pointer in hook functions (plugin API reference) 2016-03-28 13:29:41 +02:00
Sébastien Helleu 0063d9314c doc: fix name of function in unhook_all prototype (plugin API reference) 2016-03-28 13:15:53 +02:00
Sébastien Helleu bd0d8d5a1c doc: add missing pointer in examples (plugin API reference) 2016-03-28 13:13:28 +02:00
Sébastien Helleu 5210ff1ae9 doc: fix typos in config functions (plugin API reference) 2016-03-28 13:06:04 +02:00
Sébastien Helleu 75243a46a1 doc: add missing quotes in plugin API reference 2016-03-28 11:15:12 +02:00
Sébastien Helleu 4fa2edc865 doc: add callback pointer in doc of upgrade functions (plugin API reference) 2016-03-28 11:09:50 +02:00
Sébastien Helleu 8de6f212ca doc: add callback pointer in doc of function buffer_new (plugin API reference) 2016-03-27 11:25:56 +02:00
Sébastien Helleu c5bb723298 doc: update doc of function exec_on_files (plugin API reference) 2016-03-27 11:08:04 +02:00
Sébastien Helleu d3c21e355c core: remove rename of function unhook_all in release notes 2016-03-27 11:05:39 +02:00
Sébastien Helleu eae12192c9 doc: add callback pointer in doc of config functions (plugin API reference) 2016-03-26 09:51:32 +01:00
Sébastien Helleu 498662c777 doc: add pointer in hook callback examples (plugin API reference) 2016-03-25 14:18:51 +01:00
Sébastien Helleu 0b697629d5 doc: fix arguments in hook functions (plugin API reference) 2016-03-24 11:02:25 +01:00
Sébastien Helleu 17d20b9ca6 doc: add argument "subplugin" in function unhook_all (plugin API reference) 2016-03-24 09:25:04 +01:00
Sébastien Helleu 5244a707cb api: rename function unhook_all_plugin to unhook_all 2016-03-24 09:17:54 +01:00
Sébastien Helleu 293f758a3a doc: add callback pointer in doc of hook functions (plugin API reference) 2016-03-23 13:51:15 +01:00
Sébastien Helleu b9d427fc1f core: add missing pointer argument in calls to hook_connect callback 2016-03-22 07:25:25 +01:00
Sébastien Helleu aa248ad3b0 irc: fix crash in SSL connection to the server 2016-03-21 19:17:29 +01:00
Sébastien Helleu cf6aca1619 core: add pointer in some callbacks (closes #406)
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.

With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.

Following functions are affected in the C API:

* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00
Sébastien Helleu 6d764b64c5 doc: update Japanese auto-generated files 2016-03-18 23:48:48 +01:00
Sébastien Helleu 999a244880 Merge pull request #704 from l/translation_ja
core: update Japanese translations
2016-03-18 23:47:52 +01:00
AYANOKOUZI, Ryuunosuke 243f4a166d core: update Japanese translations 2016-03-19 09:00:00 +09:00
Sébastien Helleu cf93e953b6 core: use ${info:term_width} instead of ${window.win_width} in /help weechat.bar.xxx.conditions (closes #703) 2016-03-17 21:00:16 +01:00
Sébastien Helleu 4bed85ec9e doc: update German auto-generated files 2016-03-15 07:35:52 +01:00
Nils Görs e3b18b9961 core: update German translations 2016-03-14 21:06:39 +01:00
Sébastien Helleu fa5d6c17f5 doc: fix typos in plugin API reference 2016-03-14 20:11:59 +01:00
Sébastien Helleu 2da58ea2b7 exec: fix example in /help exec 2016-03-13 18:29:19 +01:00
Sébastien Helleu b6b0249cac scripts: fix typo in comment 2016-03-12 20:31:02 +01:00
Sébastien Helleu 3450bf7c73 core: fix long lines in release notes 2016-03-11 20:56:46 +01:00
Sébastien Helleu f51b4219eb doc: remove unneeded parentheses in quickstart guide 2016-03-10 21:52:14 +01:00
Sébastien Helleu 0be8e0828a logger: add note on buffer local variables to use in /help logger.file.mask 2016-03-09 18:45:07 +01:00
Sébastien Helleu 3cdecb08a2 doc: add command /disconnect in quickstart guide 2016-03-08 07:53:31 +01:00
Sébastien Helleu 376c3fc6eb doc: update Japanese auto-generated files 2016-03-07 22:05:04 +01:00
Sébastien Helleu d541894cad Merge pull request #701 from l/translation_ja
core: update Japanese translations
2016-03-07 22:03:36 +01:00
AYANOKOUZI, Ryuunosuke da8cf92776 core: update Japanese translations 2016-03-07 09:00:00 +09:00
Sébastien Helleu a225233d8c core: remove plugin pointer in hooks debug messages 2016-03-06 11:48:16 +01:00
Sébastien Helleu a4d1dfa8f4 relay: do not execute any command received from an irc relay client (closes #699) 2016-03-05 10:59:37 +01:00
Sébastien Helleu 28737c9de1 doc: fix typo in quickstart guide 2016-03-04 20:03:45 +01:00
Sébastien Helleu e2dd933588 core: fix case of external software names in ChangeLog 2016-03-03 20:19:53 +01:00
Sébastien Helleu 7b2f31fbe2 core: add issue #698 in ChangeLog 2016-03-01 07:32:11 +01:00
Sébastien Helleu eac93a73b3 core: move lines from bugs to features in ChangeLog 2016-03-01 07:30:37 +01:00
Sébastien Helleu 9146873f85 core: update ChangeLog 2016-02-29 21:26:55 +01:00
Sébastien Helleu c6574a0a9e core: add detection of Ruby 2.2 and 2.3 in autotools 2016-02-29 21:26:25 +01:00
Sébastien Helleu af53460027 core: search Ruby 2.3 executable 2016-02-29 21:24:11 +01:00
Sébastien Helleu 2b98605d73 Merge pull request #698 from zeha/patch-1
core: add detection for Ruby 2.3
2016-02-29 21:22:25 +01:00
Christian Hofstaedtler 3ce36164e7 Add detection for Ruby 2.3 2016-02-29 20:05:23 +01:00
Sébastien Helleu 14e5fc6092 core: check that pointers received in arguments are not NULL in buffers and windows functions 2016-02-28 14:07:33 +01:00
Sébastien Helleu 8ffb4ab6a2 doc: update German auto-generated files 2016-02-27 08:19:22 +01:00
Nils Görs 0cac0dfa27 core: update German translations 2016-02-26 23:23:16 +01:00
Sébastien Helleu d2b5c97cb0 core: add link to other screenshots in README 2016-02-26 19:28:13 +01:00
Sébastien Helleu 5936272b4c irc: complete help of SASL fail options 2016-02-25 07:35:12 +01:00
Sébastien Helleu 6d184ccdc6 core: update ChangeLog 2016-02-24 07:54:08 +01:00
Sébastien Helleu 81ee0f43bb core: update translations 2016-02-24 07:52:52 +01:00
Sébastien Helleu dad806688a Merge remote-tracking branch 'origin/pr/697' 2016-02-24 07:43:16 +01:00
Simmo Saan 30b64b86fb irc: add option irc.network.sasl_fail_unavailable (closes #600)
Previously SASL did not fail when it was set up for the server but wasn't
supported by it. This makes no difference when the server's sasl_fail is
set to "continue" but might make a difference if set to "disconnect" or
"reconnect".
To make sure server connection is not made under such circumstances, this
patch adds an extra configurable ("on" by default) check to trigger SASL
failure when it is set up but not supported by the server. Although not
directly a SASL failure, this makes SASL not-authenticated scenarios all
handled consistently, while providing extra security by not silently
ignoring not being authenticated as requested.
2016-02-23 16:52:49 +02:00
Sébastien Helleu c273b44f52 javascript: replace include of time.h by ctime 2016-02-23 07:38:22 +01:00
Sébastien Helleu 08929d91dc core: fix long lines 2016-02-22 23:17:35 +01:00
Sébastien Helleu 87d42c35c5 doc: update Japanese auto-generated files 2016-02-20 12:01:26 +01:00
Sébastien Helleu aeeffcc73c Merge pull request #696 from l/translation_ja
core: update Japanese translations
2016-02-20 11:57:18 +01:00
AYANOKOUZI, Ryuunosuke 7169884edc core: update Japanese translations 2016-02-20 09:00:00 +09:00
Sébastien Helleu 548ee73423 doc: update German auto-generated files 2016-02-19 18:14:47 +01:00
Nils Görs 14dbc6212b core: update German translations 2016-02-19 18:00:36 +01:00
Sébastien Helleu 06ad0c80ec script: force refresh of scripts buffer after download of scripts list (closes #693) 2016-02-19 17:37:38 +01:00
Sébastien Helleu 78db8293f6 core: fix typo in a comment 2016-02-18 18:25:56 +01:00
Sébastien Helleu c2aed4dd78 doc: translate instructions for CA file on Mac OS X in other languages (FAQ) 2016-02-17 15:10:53 +01:00
Artiom Di 0b79510b75 doc: fix instructions about getting correct CA file on Mac OS X (FAQ) 2016-02-17 15:10:47 +01:00
Sébastien Helleu 5554e40210 doc: update Polish auto-generated files 2016-02-16 19:39:38 +01:00
Krzysztof Korościk 3e7b1fa86c doc: update polish quickstart guide 2016-02-16 18:03:04 +01:00
Krzysztof Korościk b001b66363 po: polish translation updated 2016-02-16 17:57:55 +01:00
Sébastien Helleu 64ef7e8621 core: fix truncation of buffer names in hotlist (closes #668) 2016-02-16 10:19:57 +01:00
Sébastien Helleu 0e6a6a0334 core: move irc bar item "away" and two options to core (closes #692)
Options moved:

* "irc.look.item_away_message" --> "weechat.look.item_away_message"
* "irc.color.item_away" --> "weechat.color.item_away".
2016-02-15 13:36:16 +01:00
Sébastien Helleu f48e9a8878 Merge pull request #691 from jincreator/issues690
zlib: Fix package name in error message if zlib was not found.
2016-02-14 13:47:12 +01:00
Jinkyu Yi 4e0d68ded7 zlib: Fix package name in error message if zlib was not found. 2016-02-14 18:09:01 +09:00
Sébastien Helleu 68e72f2693 doc: update German and Japanese auto-generated files 2016-02-13 09:30:00 +01:00
Sébastien Helleu 567a61c110 Merge pull request #688 from l/translation_ja
core: update Japanese translations
2016-02-13 09:24:04 +01:00
Nils Görs efbcde4e89 core: update German translations 2016-02-12 22:00:01 +01:00
Sébastien Helleu d05beeff0e core: add note about options to save config/layout on exit in help of commands /layout, /save and /quit (closes #687) 2016-02-12 07:39:38 +01:00
AYANOKOUZI, Ryuunosuke ab04be6b7a core: update Japanese translations 2016-02-12 09:00:00 +09:00
Sébastien Helleu 94ef33022d irc: use upper case for SASL in messages displayed 2016-02-11 07:30:24 +01:00
Sébastien Helleu ca835a6d26 doc: update German auto-generated files 2016-02-10 07:33:28 +01:00
Nils Görs 1645db5c44 core: update German translations 2016-02-10 07:24:57 +01:00
Sébastien Helleu b983cc2943 doc: update Japanese auto-generated files 2016-02-09 07:28:08 +01:00
Sébastien Helleu 45a1174000 relay: fix the max number of clients connected on a port, allow value 0 for "no limit" (closes #669) 2016-02-08 21:14:48 +01:00
Sébastien Helleu c9a8f23cc7 core: fix update of window title under tmux (closes #685) 2016-02-07 14:07:51 +01:00
Sébastien Helleu f9ce19a01d core: update ChangeLog 2016-02-07 11:16:05 +01:00
Sébastien Helleu 239cf632cd Merge remote-tracking branch 'origin/pr/680' 2016-02-07 11:07:47 +01:00
Sébastien Helleu bd2e43146e core: add contributor in AUTHORS.asciidoc 2016-02-07 10:49:32 +01:00
Sébastien Helleu b6b59253bc core: add issue #676 in ChangeLog 2016-02-07 10:48:49 +01:00
Shane McCarron 6aa4e498a5 core: fix detection of python shared libraries 2016-02-07 10:44:05 +01:00
Sébastien Helleu c8f7ac8941 relay: do not print final '\0' in raw message for a websocket PING message received 2016-02-06 14:37:07 +01:00
Sébastien Helleu 9263634d2e relay: fix websocket frame decoding, answer a PONG to PING (closes #675) 2016-02-06 14:08:20 +01:00
Sébastien Helleu 060d68bb8d core: add issue #511 in ChangeLog 2016-02-06 07:31:32 +01:00
Simmo Saan b12412ed17 xfer: ignore signals when polling socket during file receive (closes #677)
When signals (e.g. SIGWINCH for terminal resize) are fired they cause poll
to fail with EINTR, erroring file receival even when there wasn't a problem
with it.

This patch adds additional checks for EINTR and EAGAIN that cause retry of
poll, since both are unrelated to actual file receival.
2016-02-05 13:44:14 +02:00
Sébastien Helleu 438f2dee3e core: add contributor in AUTHORS.asciidoc 2016-02-05 07:46:23 +01:00
Sébastien Helleu 7ea2aebc32 core: update ChangeLog and release notes 2016-02-05 07:45:14 +01:00
Sébastien Helleu 48493e39e0 trigger: fix long lines 2016-02-05 07:39:54 +01:00
Sébastien Helleu da32036851 Merge pull request #511 from juanfra684/patch-1
trigger: add recover to cmd_pass/msg_auth, and regain to msg_auth
2016-02-05 07:32:50 +01:00
Sébastien Helleu fee26b9c54 relay: fix comment 2016-02-04 20:40:37 +01:00
Sébastien Helleu 02bcee02e9 relay: fix typo in a comment 2016-02-02 07:00:40 +01:00
Shane McCarron c00ae68019 Python plugin shared libraries missing
When linking against a python with shared libraries, this script ONLY asked for the LD flags, not any additional libraries.  This could result in a condition where required libraries (such as libutil on Centos 6.7 against Python 2.7) are not loaded and the load of the plugin thus fails.  This change asks the python being linked against which libraries it was linked using, and then ensures those are also linked against by the python plugin for weechat.
2016-02-01 12:46:16 -06:00
Sébastien Helleu 78aea5df6c core: fix typo in a comment 2016-01-31 08:35:44 +01:00
Sébastien Helleu c8710e28cb doc: fix typo in English quickstart guide 2016-01-30 10:28:13 +01:00
Nils Görs c9740a05f8 core: update German translations 2016-01-30 10:07:47 +01:00
Sébastien Helleu de35dbab99 doc: add secured data in quickstart guide 2016-01-29 07:44:19 +01:00
Sébastien Helleu 6a289e2e82 Merge pull request #670 from l/translation_ja
core: update Japanese translations
2016-01-27 07:39:49 +01:00
AYANOKOUZI, Ryuunosuke b8db4ffd9d core: update Japanese translations 2016-01-27 09:00:00 +09:00
Sébastien Helleu cd23a5fa92 doc: add an example in function string_split (plugin API reference) 2016-01-24 08:03:55 +01:00
Sébastien Helleu 1a94193147 relay: fix command "input" received from clients (weechat protocol) (closes #663)
The command "input" received with only spaces in content of message was
ignored by WeeChat (because of the split on spaces).
2016-01-23 10:37:07 +01:00
Sébastien Helleu 50817054f9 tests: add tests on string_split() with keep_eol set to 2 2016-01-23 10:35:07 +01:00
Sébastien Helleu d6af8c312f core: fix number of arguments returned by string_split
When keep_eol is 2 and separators are found at the end of string,
the function returned argc + 1 instead of argc.
2016-01-23 10:32:56 +01:00
Sébastien Helleu 0bdf148491 core: fix French translation of /help ctcp 2016-01-17 09:41:46 +01:00
Sébastien Helleu b058a81f59 doc: update German auto-generated files 2016-01-17 09:29:43 +01:00
Nils Görs 3ff5c38b75 core: update German translations 2016-01-17 09:28:15 +01:00
Sébastien Helleu f2214da118 irc: add missing completion "*" for target in command /msg 2016-01-17 09:07:23 +01:00
Sébastien Helleu 3c953780f0 irc: fix /msg command with multiple targets including "*" 2016-01-17 09:06:17 +01:00
Sébastien Helleu 99741d4276 core: update ChangeLog (closes #204) 2016-01-17 08:58:17 +01:00
Sébastien Helleu 59e326da65 core: update translations 2016-01-17 08:54:23 +01:00
Sébastien Helleu 9d4554e805 irc: add examples in /help ctcp 2016-01-17 08:51:22 +01:00
Sébastien Helleu 99ff5813d9 irc: add a constant with list of supported CTCPs for completion in command /ctcp 2016-01-17 08:36:00 +01:00
Sébastien Helleu aee4871083 irc: add missing completion "*" for target in command /ctcp 2016-01-17 08:32:44 +01:00
Sébastien Helleu efb23016fe irc: do not exit from function in case of error with "ctcp *"
When "*" is a target in the middle of a list, for example
"#chan1,*,#chan2", if there's an error with "*", the CTCP should be sent
to #chan1 and #chan2, even if "*" fails (and not only #chan1 like it was
previously).
2016-01-17 08:24:53 +01:00
Sébastien Helleu 68b70fb185 irc: free allocated memory in case of early exit from the function 2016-01-17 08:21:45 +01:00
Sébastien Helleu b0725c2b9b irc: fix code style 2016-01-17 08:20:14 +01:00
Sébastien Helleu a7695f7201 Merge remote-tracking branch 'origin/pr/493' 2016-01-17 08:11:23 +01:00
Sébastien Helleu 63c3bee56b Merge pull request #656 from mojadita/some-externs-missing-for-osx-compiling
Add extern keyword several places to link in osx
2016-01-16 08:13:20 +01:00
Luis Colorado b46e75d504 Add extern keyword several places to link in osx 2016-01-15 09:12:30 +02:00
Sébastien Helleu 16b2ac36b3 doc: update Japanese auto-generated files 2016-01-11 07:34:49 +01:00
Sébastien Helleu c21dadcf92 Merge pull request #653 from l/translation_ja
core: update Japanese translations
2016-01-10 14:55:25 +01:00
AYANOKOUZI, Ryuunosuke 43e8d052a4 core: update Japanese translations 2016-01-11 09:00:00 +09:00
Sébastien Helleu 241acecdbc Version 1.5-dev 2016-01-10 10:31:35 +01:00
Sébastien Helleu 0e3ac93887 Version 1.4 2016-01-10 09:17:50 +01:00
Sébastien Helleu 8e280f8e4e doc: update Polish auto-generated files 2016-01-08 07:33:18 +01:00
Sébastien Helleu 3b89c8cf44 doc: remove trailing whitespace in Polish docs 2016-01-08 07:32:34 +01:00
Sébastien Helleu 77589756aa doc: update copyright dates in Polish docs 2016-01-08 07:31:49 +01:00
Krzysztof Korościk eb3e1c3bec doc: Polish translation update 2016-01-07 22:13:17 +01:00
Krzysztof Korościk d54d4e4e60 po: Polish translation update 2016-01-07 21:31:22 +01:00
Sébastien Helleu 56ae4eb2d2 Version 1.4-rc2 2016-01-07 07:31:21 +01:00
Nils Görs 4f31918700 core: update German translations 2016-01-06 20:40:04 +01:00
Sébastien Helleu 5fd091fcc8 doc: update auto-generated files with WeeChat options 2016-01-06 19:40:56 +01:00
Sébastien Helleu 432f4247d8 Merge pull request #648 from sim642/nicklist_offline
core: remove unused option weechat.color.nicklist_offline
2016-01-06 19:39:44 +01:00
Simmo Saan 168764a81e core: remove unused option weechat.color.nicklist_offline
Added in c1c1005b36.
2016-01-06 17:12:39 +02:00
Sébastien Helleu 101fa2cab8 irc: fix channel forwarding (closes #643)
The problem happens when the option
irc.look.buffer_open_before_{autojoin|join} is on.
2016-01-06 07:17:44 +01:00
Sébastien Helleu e739e1dfba core: move line in ChangeLog 2016-01-06 07:13:51 +01:00
Sébastien Helleu 0ee5e7e9bc doc: update copyright dates in German docs 2016-01-06 05:40:08 +01:00
Sébastien Helleu fe0c9dbc93 trigger: add info in error messages 2016-01-05 07:53:38 +01:00
Sébastien Helleu 7a55d8aa29 alias: do not allow slashes and spaces in alias name (closes #646) 2016-01-05 07:46:24 +01:00
Sébastien Helleu 9f169a7fb5 doc: update Japanese auto-generated files 2016-01-05 00:17:28 +01:00
Sébastien Helleu 8ff5be1001 Merge pull request #645 from l/translation_ja
core: update Japanese translations
2016-01-05 00:14:33 +01:00
AYANOKOUZI, Ryuunosuke 77f69890bd core: update Japanese translations 2016-01-05 09:00:00 +09:00
Sébastien Helleu 6e86f667da doc: update German auto-generated files 2016-01-04 07:42:36 +01:00
Nils Görs 85cb4798b9 core: update German translations 2016-01-03 22:25:59 +01:00
Nils Görs 6e1ce0ee15 core: update German translations 2016-01-03 22:19:20 +01:00
Sébastien Helleu 3d0a7451d8 irc: remove argument "clear" from command /cap (issue #8, closes #641) 2016-01-03 09:01:43 +01:00
Sébastien Helleu c12e1b2446 doc: update German auto-generated files 2016-01-03 08:53:12 +01:00
Nils Görs 4c48f7aff7 core: update German translations 2016-01-02 16:57:06 +01:00
Sébastien Helleu 522dcf133c irc: evaluate content of server option "addresses" 2016-01-02 10:12:40 +01:00
Sébastien Helleu 3330724574 core: update copyright dates 2016-01-01 11:09:53 +01:00
Sébastien Helleu 5d6689b8c1 Version 1.4-rc1 2015-12-31 19:16:55 +01:00
Sébastien Helleu 57b6e320d3 core: fix execution of empty command name
The strings "/" and "/ " are not considered as valid commands any more.
2015-12-31 19:07:14 +01:00
Simmo Saan 61bede8805 irc: add support for IRCv3.2 invite-notify
irc: add nick tag to numeric 341 for consistency
2015-12-30 16:57:44 +02:00
Sébastien Helleu 295158d3e1 doc: fix example for function hdata_search (plugin API reference) 2015-12-27 08:09:48 +01:00
Sébastien Helleu 39e03d4594 core: add IRC alternate nicks in release notes 2015-12-26 08:25:46 +01:00
Sébastien Helleu f90e756a46 doc: update Japanese auto-generated files 2015-12-25 12:51:31 +01:00
Sébastien Helleu e2d891660d Merge pull request #636 from l/translation_ja
core: update Japanese translations
2015-12-25 12:49:00 +01:00
Sébastien Helleu a60075fb39 tests: temporary disable check of javascript plugin
The compilation with autotools fails to detect v8 lib (used by
javascript plugin) on Ubuntu Trusty, so the tests are failing because
javascript plugins is not loaded.

This check will be enabled again when autotools compilation will be
fixed.
2015-12-25 12:02:34 +01:00
Sébastien Helleu d52d82543a doc: update German auto-generated files 2015-12-25 11:55:40 +01:00
Nils Görs 23b4435cdf core: update German translations 2015-12-25 10:32:09 +01:00
Nils Görs 1282b6a324 core: update German translations 2015-12-25 10:12:20 +01:00
Sébastien Helleu 9d06217c71 core: update ChangeLog 2015-12-25 09:45:49 +01:00
AYANOKOUZI, Ryuunosuke 173239bb37 core: update Japanese translations 2015-12-25 09:00:00 +09:00
Sébastien Helleu 0cda820807 tests: fix compilation with autotools 2015-12-24 23:07:47 +01:00
Sébastien Helleu 415dea5c74 tests: fix locale used to execute tests 2015-12-24 22:48:10 +01:00
Sébastien Helleu e46d23905c core: update ChangeLog 2015-12-24 22:44:17 +01:00
Sébastien Helleu be534239bb core: move lines in ChangeLog 2015-12-24 22:43:31 +01:00
Sébastien Helleu 6ff8de5740 tests: check if all plugins are loaded 2015-12-24 22:21:33 +01:00
Sébastien Helleu 08d22a948f irc: fix typo 2015-12-24 22:20:12 +01:00
Sébastien Helleu 0d6a1d1520 core: update translations 2015-12-24 20:43:34 +01:00
Sébastien Helleu 19a25bdd66 Merge pull request #634 from KamranMackey/fix-typo-in-weelog
core: fix typo in message displayed when the log file is locked
2015-12-24 20:42:16 +01:00
Sébastien Helleu ed32302011 irc: move option irc.network.alternate_nick into servers (closes #633) 2015-12-24 20:36:05 +01:00
Kamran Mackey 2db7599460 Fixed a typo in wee-log.c
Signed-off-by: Kamran Mackey <kamranm1200@gmail.com>
2015-12-24 05:02:34 -07:00
Sébastien Helleu c4e3d66ba5 core: add a parent name in options (closes #629)
Inherited values are now displayed in /set output when the value is
null, if a parent option name is defined in option.

New option: weechat.color.chat_value_null
2015-12-24 07:53:37 +01:00
Sébastien Helleu 2e5489b389 doc: update auto-generated files with irc options 2015-12-24 07:31:21 +01:00
Sébastien Helleu f5f6a13586 core: free global variables at the very end 2015-12-23 07:33:22 +01:00
Sébastien Helleu 841444b68c core: fix memory leak when using multiple "-d" or "-r" in command line arguments 2015-12-23 07:17:37 +01:00
Simmo Saan 49ce989de6 gui: fix separator overlap check for deeply nested windows 2015-12-22 10:39:58 +02:00
Simmo Saan 9cc68b641b gui: fix window separators not respecting window splits 2015-12-21 17:41:38 +02:00
evalle cb23d0166a doc: update Russian quickstart and command line options 2015-12-20 19:50:49 +01:00
Christine Dodrill c3857e97cf irc: add default color for +y mode prefix 2015-12-20 19:28:46 +01:00
Ondřej Súkup e60491f442 core: update Czech translations 2015-12-20 19:03:28 +01:00
Sébastien Helleu 80d53ac8bd Merge pull request #626 from sunpoet/master
javascript: fix build on FreeBSD
2015-12-20 18:54:17 +01:00
Sébastien Helleu f50cdffc59 core: update ChangeLog (closes #351) 2015-12-20 10:41:13 +01:00
Sébastien Helleu b5ef916564 doc: update auto-generated files with hdata 2015-12-20 10:40:04 +01:00
Sébastien Helleu f26fbb4850 irc: add missing field realname in function irc_nick_print_log() 2015-12-20 10:28:05 +01:00
Sébastien Helleu fb8799e81c irc: fix comments 2015-12-20 10:22:43 +01:00
Sébastien Helleu da505c0392 irc: fix long line 2015-12-20 10:20:12 +01:00
Sébastien Helleu 971a90474f irc: fix condition in account message callback 2015-12-20 10:18:13 +01:00
Sébastien Helleu ad45fd775d Merge remote-tracking branch 'origin/pr/351' 2015-12-20 10:13:29 +01:00
Sébastien Helleu c3c77799c1 doc: update German auto-generated files 2015-12-20 10:12:19 +01:00
Nils Görs 0f9c4954f8 core: update German translations 2015-12-20 09:50:32 +01:00
Sébastien Helleu 06a96d8d31 core: add contributor in AUTHORS.asciidoc 2015-12-20 08:26:22 +01:00
Sébastien Helleu d97fc56f4a doc: update auto-generated files with relay options 2015-12-20 08:26:22 +01:00
Sébastien Helleu b6ea525800 core: update ChangeLog (closes #347) 2015-12-20 08:26:11 +01:00
Sébastien Helleu 6e60a4882e core: update translations 2015-12-20 08:20:45 +01:00
Nick 52820627f0 relay: add option relay.irc.backlog_since_last_message 2015-12-20 08:19:59 +01:00
Mikaela Suomalainen 9f049afb18 core: use Ubuntu Trusty for tests (Travis CI)
The Debian package libcpputest-dev becomes useless as it's available in
the repositories now.
2015-12-20 07:57:36 +01:00
Sunpoet Po-Chuan Hsieh 6c3b940dc4 Fix build on FreeBSD
The error message is as follows:
/usr/ports/irc/weechat/work/weechat-1.3/src/plugins/javascript/weechat-js-api.cpp:4206:16: error: use of undeclared identifier
      'localtime'
    date_tmp = localtime (&time);
               ^
/usr/ports/irc/weechat/work/weechat-1.3/src/plugins/javascript/weechat-js-api.cpp:4208:9: error: use of undeclared identifier
      'strftime'
        strftime (timebuffer, sizeof (timebuffer), "%F %T", date_tmp);
        ^
2015-12-20 05:36:00 +08:00
Sébastien Helleu 213db71702 core: add info about SNI in ChangeLog 2015-12-18 07:56:09 +01:00
Sébastien Helleu 0509f19048 doc: update examples of function hook_command_run (plugin API reference) 2015-12-17 08:13:55 +01:00
Sébastien Helleu f74aa09573 core: add note about duplicate issues in Contributing 2015-12-16 07:28:44 +01:00
Sébastien Helleu bd6262dc34 core: add issue #260 in ChangeLog 2015-12-15 07:22:55 +01:00
Sébastien Helleu 2022aa0df2 doc: update German auto-generated files 2015-12-14 19:59:23 +01:00
Nils Görs a1cd46ff3e core: update German translations 2015-12-13 12:29:32 +01:00
Sébastien Helleu 136da36d7a irc: add support of SNI in SSL connection to IRC server (closes #620) 2015-12-10 07:13:20 +01:00
Sébastien Helleu e6e8f34b4a script: update help on /script search 2015-12-10 07:06:21 +01:00
Sébastien Helleu e734914380 script: add completion with languages and extensions, support search by language/extension in /script search 2015-12-09 07:40:16 +01:00
Sébastien Helleu 03a6209f73 core: add names for anchors in ReleaseNotes 2015-12-07 07:59:03 +01:00
Sébastien Helleu 290e86c53a core: add names for anchors in ChangeLog 2015-12-06 21:42:14 +01:00
Sébastien Helleu 0beca1915c doc: update German auto-generated files 2015-12-04 07:27:05 +01:00
Nils Görs 398a112be8 core: update German translations 2015-12-03 20:52:43 +01:00
Simmo Saan 93d2dbf3e1 gui: add missing line pointer to long words split across lines (closes #617)
Displaying a word which was forced to be split across lines added the new
coords without pointer to the original line. This made them unquotable in
cursor mode.
2015-12-03 12:00:22 +02:00
Simmo Saan bcb7ac7777 gui: fix focus data being offset when prefix_align is none (closes #610)
window->coords_x_message stored a single x coordinate for the entire
window which was used for message position calculation. Such approach
does not work when prefix_align is none, thus now the x coordinate in
question is exactly calculated for a line individually.
2015-12-03 11:57:09 +02:00
Sébastien Helleu 0b86ce9d44 fifo: fix invalid pointer type 2015-12-03 07:55:11 +01:00
Sébastien Helleu 8f69c86da7 core: remove trailing whitespace, remove listing block around copyright in README 2015-12-03 07:46:38 +01:00
Kamran Mackey 3a2edae292 core: fix a few typos, add listing block around copyright in README 2015-12-03 07:40:22 +01:00
Sébastien Helleu 6f0151e128 fifo: add /fifo command 2015-12-02 19:46:34 +01:00
Sébastien Helleu 2a494227b4 script: fix comment 2015-12-02 19:35:16 +01:00
Sébastien Helleu e1274010ff core: disable some pylint errors (Travis CI) 2015-11-30 10:24:18 +01:00
Sébastien Helleu a99b01bc5e core: add command "pylint --version" (Travis CI) 2015-11-30 10:22:04 +01:00
Sébastien Helleu 8d5d22186f core: add a heart in paypal donate badge 2015-11-29 10:55:26 +01:00
Sébastien Helleu 866cb19a95 core: add a slant badge in README 2015-11-29 10:54:48 +01:00
Sébastien Helleu dcbb3ed050 core: add diaspora*, google+, devel blog and paypal badges in README 2015-11-28 09:05:43 +01:00
Sébastien Helleu 4fca6c58c8 irc: add a condition for colon before the password in PASS message (issue #602)
Some weird IRC servers may refuse a PASS command with a colon, so we
send a colon only if the password contains spaces or begins with a
colon.
2015-11-24 20:26:06 +01:00
Sébastien Helleu 9e9dd27bb3 irc: add a missing colon before the password in PASS message (closes #602) 2015-11-24 07:44:21 +01:00
Sébastien Helleu c7b781bc54 doc: update German auto-generated files 2015-11-22 09:39:35 +01:00
Sébastien Helleu ff723050f6 Merge pull request #598 from l/translation_ja
core: update Japanese translations
2015-11-22 09:37:41 +01:00
Sébastien Helleu 0bebb2d674 Merge pull request #599 from qsuscs/ts/de-translation-typo
core: fix typo in German translation
2015-11-22 09:37:17 +01:00
AYANOKOUZI, Ryuunosuke 7d27d05877 core: update Japanese translations 2015-11-22 09:00:00 +09:00
Thomas Schneider 8b8454a1cd core: fix typo in German translation
Signed-off-by: Thomas Schneider <thosch97@gmail.com>
2015-11-21 22:39:51 +01:00
Sébastien Helleu c337e74e7a irc: use current channel and current server channels first in completions "irc_channels" and "irc_server_channels" (closes #392) 2015-11-17 20:48:24 +01:00
Sébastien Helleu 17e1747a82 irc: use current channel first in completion "irc_channels" (task #12923, issue #392) 2015-11-16 20:24:45 +01:00
Sébastien Helleu 10f0873bee doc: change key bindings examples in docs 2015-11-15 12:35:36 +01:00
Sébastien Helleu 410537508d debian: add "Conflicts" field in debian devel packages 2015-11-14 14:07:26 +01:00
Sébastien Helleu b492c1b1e2 core: add "tmux" and "tmux-256color" in supported $TERM values (closes #519) 2015-11-12 21:25:28 +01:00
Nils Görs 51abbf829a core: update German translations 2015-11-12 16:25:39 +01:00
Simmo Saan c205aae269 irc: disallow /quiet, /unquiet on servers without support 2015-11-07 14:53:29 +02:00
Simmo Saan 2ef5d654dc irc: make /ban, /unban, /quiet, /unquiet send multiple at once (closes #15)
irc: make /quiet, /unquiet honor ban_mask_default (closes #577)
2015-11-07 14:21:00 +02:00
Sébastien Helleu 99ebccad3f core: fix example in /help key 2015-11-04 18:14:07 +01:00
Simmo Saan e1f296857e irc: add inclusive behavior to /allchan, /allpv, /allserv 2015-11-03 12:49:21 +02:00
Sébastien Helleu fcf1c22604 doc: update Japanese auto-generated files 2015-10-31 08:21:54 +01:00
Sébastien Helleu fe6ea0812e Merge pull request #567 from l/translation_ja
core: update Japanese translations
2015-10-31 08:20:41 +01:00
AYANOKOUZI, Ryuunosuke fd64fdf083 core: update Japanese translations 2015-10-31 09:00:00 +09:00
Sébastien Helleu 11636f5b43 debian: sync debian files with debian git repository 2015-10-30 21:00:29 +01:00
Sébastien Helleu 5c3ab90ee7 debian: sync debian changelog with debian git repository 2015-10-30 07:25:57 +01:00
Nils Görs a685edf17f core: update German translations 2015-10-28 18:20:50 +01:00
Sébastien Helleu 4f867a89ad ruby: fix load of scripts requiring "uri" (closes #433) 2015-10-27 15:14:36 +01:00
Sébastien Helleu 5526550ac1 Merge pull request #561 from mimi1vx/translate
core: update Czech translations
2015-10-25 18:28:18 +01:00
Ondřej Súkup 8a82224420 update Czech translations 2015-10-25 15:24:53 +01:00
Sébastien Helleu 61a4c1b5c1 fifo: add buffer name in error when the buffer is not found 2015-10-25 07:37:43 +01:00
Sébastien Helleu 7f643bc11f core: update ChangeLog 2015-10-25 07:37:00 +01:00
Sébastien Helleu 98654f148d doc: improve note about mouse events caught by weechat (user's guide) 2015-10-24 19:56:48 +02:00
Sébastien Helleu 2641b6e778 core: add a script tools/build-debian.sh to build stable/devel Debian packages 2015-10-24 13:00:06 +02:00
Sébastien Helleu cfc1f39779 core: add a script version.sh to get WeeChat stable/devel version 2015-10-24 13:00:06 +02:00
Sébastien Helleu f3e0bd5987 debian: add directory debian-devel to build debian devel packages (snapshots) 2015-10-24 13:00:06 +02:00
Sébastien Helleu 482f42498f debian: rename directory debian to debian-stable 2015-10-24 13:00:06 +02:00
Sébastien Helleu d5047b012d doc: update German auto-generated files 2015-10-24 12:59:38 +02:00
Nils Görs 90a72c9418 core: update German translations 2015-10-23 14:09:54 +02:00
Sébastien Helleu d722e3709c Rename script build.sh to build-test.sh 2015-10-22 20:54:12 +02:00
Sébastien Helleu 109884dd66 core: update ChangeLog 2015-10-19 09:01:47 +02:00
Sébastien Helleu 85dec8c7a6 core: update ChangeLog 2015-10-19 07:44:08 +02:00
Sébastien Helleu 1e675e8b45 doc: update German auto-generated files 2015-10-19 07:43:45 +02:00
Nils Görs 998367997b core: update German translations 2015-10-18 20:39:53 +02:00
Sébastien Helleu 995eb1f004 irc: add "cap-notify" in list of supported capabilities (/help cap) 2015-10-18 19:19:03 +02:00
Sébastien Helleu eb95512f7c core: update translations 2015-10-18 18:59:24 +02:00
Sébastien Helleu 8e70134614 irc: fix code style 2015-10-18 18:57:18 +02:00
Sébastien Helleu 6b6b85c724 Merge remote-tracking branch 'origin/pr/477' 2015-10-18 18:47:47 +02:00
Sébastien Helleu 9489443527 doc: update auto-generated files with hdata 2015-10-18 12:19:01 +02:00
Sébastien Helleu f7fe751bec Merge pull request #553 from sim642/issue-532
doc: add clickable anchors to hdata listing in plugin API reference
2015-10-18 12:18:35 +02:00
Simmo Saan 0fc6a708ef doc: add clickable anchors to hdata listing in plugin API reference 2015-10-18 12:16:48 +03:00
Sébastien Helleu 80293c2447 core: rename "build-scripts" directory to "tools" 2015-10-17 14:30:10 +02:00
Sébastien Helleu 49243fc114 doc: fix name of emphasized text color in developer's guide 2015-10-07 20:42:06 +02:00
Sébastien Helleu 207626c8c1 doc: update Japanese auto-generated files 2015-10-07 08:13:43 +02:00
Sébastien Helleu 61ad7722ae Merge pull request #546 from l/translation_ja
core: update Japanese translations
2015-10-07 08:13:00 +02:00
AYANOKOUZI, Ryuunosuke 2a363a656d core: update Japanese translations 2015-10-07 09:00:00 +09:00
Sébastien Helleu 95e9de1817 doc: update German auto-generated files 2015-10-04 08:27:33 +02:00
Nils Görs d6ae5862ff core: update German translations 2015-10-04 07:58:04 +02:00
Ondřej Súkup cc8f6697c3 core: update Czech translations 2015-10-03 19:30:58 +02:00
Sébastien Helleu fab0d4e740 core: add option weechat.look.paste_auto_add_newline (closes #543) 2015-10-03 12:08:30 +02:00
Sébastien Helleu 964de12a54 core: update ChangeLog (issue #541) 2015-09-30 20:57:50 +02:00
Sébastien Helleu b76cd5a724 core: update translations 2015-09-30 20:57:29 +02:00
Sébastien Helleu a915c5ee12 Merge remote-tracking branch 'origin/pr/541' 2015-09-30 20:51:36 +02:00
Sébastien Helleu ab3b5d893a core: add Czech man page and quickstart guide in ChangeLog (issue #490) 2015-09-29 19:43:48 +02:00
Andrew Potter b3d1d1877e logger: Report system error string to user 2015-09-27 22:04:47 -07:00
Sébastien Helleu 152b5ec2a7 doc: add build of Czech man page and quickstart guide 2015-09-27 22:11:21 +02:00
Sébastien Helleu 15470bdb7d doc: fix include of command line options in Czech man page 2015-09-27 08:39:32 +02:00
Sébastien Helleu c179fd6675 doc: fix notes in Czech quickstart guide 2015-09-27 08:39:17 +02:00
Sébastien Helleu 432c239d21 doc: remove trailing whitespace in Czech command line options 2015-09-27 08:24:06 +02:00
Ondřej Súkup 6d73d85e13 doc: add Czech man page and quickstart guide 2015-09-27 08:21:25 +02:00
Sébastien Helleu 0f40ca10ab doc: update German auto-generated files 2015-09-26 14:16:47 +02:00
Nils Görs 3d9523fe04 core: update German translations 2015-09-26 14:05:55 +02:00
Sébastien Helleu dfb0836484 doc: sort distributions by name in user's guide 2015-09-26 10:32:34 +02:00
Sébastien Helleu 11d77ff699 doc: add openSUSE instructions and fix Fedora Core in translated docs (user's guide) 2015-09-26 09:45:51 +02:00
Ondřej Súkup 1dec70881a doc: add openSUSE instructions and fix Fedora Core (user's guide) 2015-09-26 09:42:19 +02:00
Ondřej Súkup a10c7e3d1d core: update Czech translations 2015-09-26 08:46:04 +02:00
Sébastien Helleu 2a96bc67b0 relay: remove useless condition always evaluated to true 2015-09-13 07:53:54 +02:00
Sébastien Helleu bb90514624 doc: update Japanese auto-generated files 2015-09-13 07:51:52 +02:00
Sébastien Helleu 0f4e367b22 Merge pull request #529 from l/translation_ja
core: update Japanese translations
2015-09-13 07:50:06 +02:00
AYANOKOUZI, Ryuunosuke 360401a723 core: update Japanese translations 2015-09-13 09:00:00 +09:00
Sébastien Helleu 664876bde6 alias: display completion in /alias list (closes #518) 2015-09-12 09:23:48 +02:00
Sébastien Helleu 1b05a1a06b alias: fix indentation error 2015-09-12 09:23:17 +02:00
Sébastien Helleu 1ec25f6f9e Merge pull request #524 from l/translation_ja
core: update Japanese translations
2015-09-11 07:56:06 +02:00
AYANOKOUZI, Ryuunosuke 4b1f1d7215 core: update Japanese translations 2015-09-11 09:00:00 +09:00
Sébastien Helleu 0c8eac0cd9 core: fix some French translations of "not enough memory" 2015-09-09 09:24:52 +02:00
Sébastien Helleu 8688c48e42 core: display a more explicit error when a filter fails to be added (closes #522) 2015-09-09 09:22:40 +02:00
Sébastien Helleu 145ec0db35 doc: update Japanese auto-generated files 2015-09-08 18:00:16 +02:00
Sébastien Helleu 29ec400a8e irc: fix charset decoding in incoming private messages (closes #520) 2015-09-08 09:25:05 +02:00
Sébastien Helleu d8938099ba ruby: fix Ruby detection when pkg-config is not installed
The package "pkgconf" is not installed by default on FreeBSD 10.2, so
the detection of Ruby was failing.
2015-09-07 10:35:31 +02:00
Sébastien Helleu 1f7f84c296 doc: add translations in question about SSL problems (FAQ) 2015-09-06 11:08:30 +02:00
Mikaela Suomalainen fff4052217 doc: fix "I have SSL problems"
1. Freenode supports DH size 2048 nowadays, so change the network to
   example.
2. Freenode has valid SSL certificate, so also change that network to
   example.
3. Mention irc.server.example.ssl_fingerprint. I used SHA512 sum of
   weechat.org's certificate as it was the first one to come to mind.
2015-09-04 08:54:36 +03:00
Raphael Kubo da Costa 482eeacdeb FindIconv: Stop hardcoding the library name.
Instead of splitting ${ICONV_LIBRARY}'s path and then assuming the
library is called "libiconv.so", use ${ICONV_LIBRARY}'s entire value in
the calls to check_library_exists().

If that is not done, the iconv detection fails if one sets ICONV_LIBRARY
to, for example, /usr/lib/libc.so, as the previous calls would still
pass "-liconv" to the linker instead of the chosen value.
2015-09-02 14:56:26 +02:00
Juan Francisco Cantero Hurtado 7551b8db0c trigger: add recover to cmd_pass/msg_auth, and regain to msg_auth 2015-08-31 19:33:21 +02:00
Sébastien Helleu 4b2abd910b Merge pull request #504 from l/translation_ja
core: update Japanese translations
2015-08-26 12:08:24 +02:00
AYANOKOUZI, Ryuunosuke 5c37c1c6f6 core: update Japanese translations 2015-08-26 09:00:00 +09:00
Sébastien Helleu 9366873222 irc: remove blank line at the end of file 2015-08-25 07:14:42 +02:00
Sébastien Helleu c35c941298 script: add option script.scripts.download_timeout 2015-08-24 13:26:59 +02:00
Sébastien Helleu 00b60be4b7 doc: update German auto-generated files 2015-08-24 11:49:53 +02:00
Nils Görs 91ab214e72 core: update German translations 2015-08-24 11:25:46 +02:00
Sébastien Helleu 41cb1bf635 api: fix handle of invalid escape in function string_convert_escaped_chars()
And a new test is now checking that "\" returns "".
2015-08-24 11:05:31 +02:00
Sébastien Helleu c8ac75601f irc: fix typos in /help ban and /help quiet 2015-08-24 10:07:44 +02:00
Sébastien Helleu 350938181b irc: add command /cap (closes #8) 2015-08-24 10:02:38 +02:00
Sébastien Helleu f68896fdd3 relay: display the arrow before client id and protocol in raw buffer
This prevents the arrow to be truncated if the option
weechat.look.prefix_align_max is set to a non-zero value.
2015-08-23 10:08:56 +02:00
Sébastien Helleu 8319332a78 irc: display the arrow before server name in raw buffer
This prevents the arrow to be truncated if the option
weechat.look.prefix_align_max is set to a non-zero value.
2015-08-23 09:55:28 +02:00
Sébastien Helleu e179a34a40 core: fix truncated messages after a word with a length of zero on screen (bug #40985, issue #502) 2015-08-23 09:50:36 +02:00
Sébastien Helleu aa8b68363e doc: update Japanese auto-generated files 2015-08-22 15:37:47 +02:00
Sébastien Helleu 22b602e607 Merge pull request #500 from l/translation_ja
core: update Japanese translations
2015-08-22 15:34:44 +02:00
Sébastien Helleu 46899c4a98 doc: update default search bind in Italian FAQ 2015-08-22 11:29:27 +02:00
Sébastien Helleu 91b4507145 Merge pull request #497 from sim642/faq-search-here
doc: update default search bind in FAQ
2015-08-22 11:28:47 +02:00
Simmo Saan 1d3a75333e trigger: add support for one-time triggers (closes #399) 2015-08-22 12:22:51 +03:00
Sébastien Helleu d05ebd18c1 irc: add hex dump of messages in raw buffer
The dump of messages is displyed when the debug is enabled for irc
plugin (level 2 or more), for example: /debug set irc 2
2015-08-22 09:47:01 +02:00
Sébastien Helleu 0443ef49e7 relay: use API function string_hex_dump() to display raw message 2015-08-22 09:42:09 +02:00
Sébastien Helleu 951d1f91a4 api: add function string_hex_dump() 2015-08-22 09:30:08 +02:00
Sébastien Helleu 8b47243516 irc: fix display of messages sent to server in raw buffer
Since the received messages are displayed without UTF-8 conversion (ie
this is really the data received), it is consistent to display the
message really sent to server (ie after charset conversion), instead of
the UTF-8 internal message.
2015-08-22 08:56:07 +02:00
Sébastien Helleu 2c4b0e32ec irc: fix display of invalid UTF-8 chars in raw buffer
Invalid UTF-8 chars are now displayed as hexadecimal codes, for example:
"test\xE9" instead of "test?" (the real word being "testé").
2015-08-22 08:53:33 +02:00
Sébastien Helleu 0513800cb6 Merge pull request #495 from sim642/uptime-o
core: fix "/uptime -o" output for 0 days
2015-08-22 07:23:20 +02:00
AYANOKOUZI, Ryuunosuke a79d7b1c7e core: update Japanese translations 2015-08-22 09:00:00 +09:00
Sébastien Helleu 99580f88bb doc: remove trailing whitespace in Polish FAQ 2015-08-21 07:35:44 +02:00
Simmo Saan c663717711 doc: update default search bind in FAQ 2015-08-20 21:58:24 +03:00
Sébastien Helleu d0b11eceab doc: remove blank lines at end of auto-generated files 2015-08-20 07:36:22 +02:00
Sébastien Helleu 5c5bd1a8b8 core: remove carriage returns in weechat.xpm 2015-08-19 07:47:00 +02:00
Simmo Saan ed337d9291 core: document extra option in eval_expression 2015-08-18 15:19:37 +03:00
Simmo Saan 7d6fab0644 core: fix /uptime output for 0 days 2015-08-18 13:51:57 +03:00
Simmo Saan 598fbf337e core: add extra_vars evaluation option to eval_expression 2015-08-18 13:51:37 +03:00
Simmo Saan c813f3a296 irc: add multiple targets and -server option to /ctcp (closes #204) 2015-08-18 10:45:38 +03:00
Sébastien Helleu 46a9d17ac3 api: add argument "length" in function utf8_is_valid() 2015-08-18 07:36:48 +02:00
Sébastien Helleu fd1886e883 core: rename "scripts" directory to "build-scripts" 2015-08-16 11:29:31 +02:00
Sébastien Helleu a929633759 Version 1.4-dev 2015-08-16 09:30:37 +02:00
Sébastien Helleu 9019d031b6 Version 1.3 2015-08-16 08:27:07 +02:00
Sébastien Helleu 1f457ca0a5 core: add note about new option irc.network.channel_encode in release notes 2015-08-16 08:16:31 +02:00
Ondřej Súkup c02baef622 core: update Czech translations 2015-08-16 07:32:51 +02:00
Sébastien Helleu 19739e48f7 doc: update German auto-generated files 2015-08-15 20:11:26 +02:00
Nils Görs 35433bb706 core: update German translations 2015-08-15 19:38:03 +02:00
Sébastien Helleu 667f27b290 irc: update help on option irc.network.channel_encode (issue #218, issue #482)
Remove mention of WeeChat <= 1.2 since the behavior is not exactly the
same as old versions (when the option is enabled): only the
channel/message are decoded/encoded and not the nick/host.
2015-08-15 07:40:26 +02:00
Sébastien Helleu f1b36e5095 Version 1.3-rc2 2015-08-14 21:37:58 +02:00
Sébastien Helleu 15218ed294 irc: add option irc.network.channel_encode (issue #218, issue #482)
This is a workaround (disabled by default) to join and chat on ISO
encoded channels (or another charset different from UTF-8).

This option may be removed in future if a better solution is
implemented.
2015-08-14 21:25:27 +02:00
Sébastien Helleu be3025f569 doc: update Polish auto-generated files 2015-08-14 20:02:56 +02:00
Krzysztof Korościk 46dfe34f70 doc: update polish translation 2015-08-14 18:59:10 +02:00
Krzysztof Korościk c98c5afe00 weechat: polish translation update 2015-08-14 18:00:59 +02:00
Sébastien Helleu a56fec820b python: fix cppcheck error on variable "python2_bin" (closes #486)
This fixes only a wrong error report from cppcheck, there was no problem
in code with the variable "python2_bin".
2015-08-13 20:51:51 +02:00
Sébastien Helleu 4716e81d4e api: add missing function infolist_search_var() in script API (issue #484) 2015-08-13 20:50:15 +02:00
Sébastien Helleu 7033fdd0cb api: add missing function hook_completion_get_string() in script API (issue #484) 2015-08-13 20:45:33 +02:00
Sébastien Helleu 6b75516702 javascript: remove debug prints in log file 2015-08-12 21:03:08 +02:00
Sébastien Helleu be0212bd27 core: add completion "colors" (closes #481) 2015-08-11 22:26:44 +02:00
Sébastien Helleu 6c6667dadd core: fix long lines 2015-08-11 21:23:10 +02:00
Sébastien Helleu ca6854e207 doc: update Japanese auto-generated files 2015-08-10 07:36:43 +02:00
Sébastien Helleu b0f997d1fa Merge pull request #480 from l/translation_ja
core: update Japanese translations
2015-08-10 07:35:37 +02:00
AYANOKOUZI, Ryuunosuke 9b2c1e33f5 core: update Japanese translations 2015-08-10 09:00:00 +09:00
Sébastien Helleu 393434237c core: fix long lines in weechat.c 2015-08-09 07:58:20 +02:00
Sébastien Helleu f0ad26de1c core: update translations 2015-08-08 10:32:48 +02:00
Sébastien Helleu 534227a667 Merge pull request #476 from sim642/alias-example
core: update examples of alias add commands
2015-08-08 10:27:26 +02:00
Nils Görs 0f3abd820a core: update German translations 2015-08-08 10:26:28 +02:00
Nils Görs 05a6d16299 core: update German translations 2015-08-08 10:20:58 +02:00
Nils Görs 0a6035f3c4 core: update German translations 2015-08-08 10:18:56 +02:00
Max Teufel 00d2c9ef28 irc: add support for CAP cap-notify 2015-08-08 09:51:12 +02:00
Sébastien Helleu 815a07658d doc: update auto-generated files with hdata 2015-08-08 09:13:25 +02:00
Sébastien Helleu a338f59f5f doc: update German auto-generated files 2015-08-08 09:12:52 +02:00
Nils Görs befd3eb2bf core: update German translations 2015-08-07 17:49:18 +02:00
Sébastien Helleu e1398eae2e core: update ChangeLog (issue #475) 2015-08-07 07:43:15 +02:00
Sébastien Helleu ded3f7b13c core: update translations 2015-08-07 07:42:07 +02:00
Sébastien Helleu cc92883449 Merge remote-tracking branch 'origin/pr/475' 2015-08-07 07:36:50 +02:00
Simmo Saan 5499843905 core: update examples of alias add commands 2015-08-06 18:20:29 +03:00
Sébastien Helleu 6923a9efa0 Version 1.3-rc1 2015-08-06 07:42:02 +02:00
Sébastien Helleu 5aa93fdbb7 irc: fix update of lag item when the server lag changes 2015-08-05 20:51:12 +02:00
Sébastien Helleu 82199f8264 irc: remove lag item when a lag is displayed and new lag computed is exactly 0 milliseconds 2015-08-04 21:25:53 +02:00
Sébastien Helleu 8f26323bdf doc: update German auto-generated files 2015-08-04 07:29:20 +02:00
Nils Görs 5bd13d3df0 core: update German translations 2015-08-03 22:47:08 +02:00
Sébastien Helleu 5d3e485aec core: update options supporting secured data in /help secure 2015-08-03 21:29:17 +02:00
Nils Görs 2ed90965a6 doc: update German documentation 2015-08-03 07:13:32 +02:00
Sébastien Helleu 377fd4a41c doc: update German auto-generated files 2015-08-01 15:41:24 +02:00
Nils Görs 098de9a986 core: update German translations 2015-08-01 15:31:44 +02:00
Sébastien Helleu b8089c72fc core: update last translator in Czech translations 2015-08-01 10:24:08 +02:00
Ondřej Súkup ad697ded83 core: update Czech translations 2015-08-01 10:22:30 +02:00
Sébastien Helleu 55ad527c05 core: add contributor in AUTHORS.asciidoc 2015-07-29 23:01:54 +02:00
Ondřej Súkup 9d9835a50f core: fix typo in Czech translations 2015-07-29 22:58:39 +02:00
Sébastien Helleu 963815b999 doc: update default keys to start/stop search of text in buffer (user's guide) 2015-07-28 07:46:07 +02:00
Sébastien Helleu 784ba4eeb0 core: fix key names in ChangeLog 2015-07-27 07:47:05 +02:00
Sébastien Helleu 315ba5e942 doc: update German auto-generated files 2015-07-26 20:57:38 +02:00
Nils Görs 50dbd203a9 core: update German translations 2015-07-26 20:32:03 +02:00
Sébastien Helleu 9ebe00d144 core: fix typo in ChangeLog 2015-07-26 20:02:36 +02:00
Sébastien Helleu 981beb917e core: fix typo in /help weechat.look.key_grab_delay 2015-07-26 19:59:44 +02:00
Sébastien Helleu 1f2b78242e core: update ChangeLog (closes #76, closes #393) 2015-07-26 19:58:06 +02:00
Sébastien Helleu 8107025c78 core: update translations 2015-07-26 19:55:24 +02:00
Sébastien Helleu 5c5df1b068 core: factorize functions to search text in window 2015-07-26 19:49:35 +02:00
Sébastien Helleu 8e6f525b59 Merge remote-tracking branch 'origin/pr/393' 2015-07-26 11:30:03 +02:00
Sébastien Helleu 74f1592f21 core: add option weechat.look.key_grab_delay to set the default delay when grabbing a key with alt-k 2015-07-26 09:45:40 +02:00
Sébastien Helleu 6ec5d5a148 core: remove obsolete translations 2015-07-26 09:42:42 +02:00
Sébastien Helleu 81a1f9aea8 doc: update Japanese auto-generated files 2015-07-26 09:41:44 +02:00
Sébastien Helleu bcf5974e58 Merge pull request #467 from l/translation_ja
core: update Japanese translations
2015-07-25 19:14:12 +02:00
Sébastien Helleu 7572fec261 core: flush stdout/stderr after sending text directly on them (fix corrupted data sent to hook_process() callback) (closes #442) 2015-07-25 09:16:08 +02:00
Sébastien Helleu b99a630705 core: allow execution of command "/input return" on a buffer which is not displayed in a window 2015-07-25 08:20:18 +02:00
Sébastien Helleu 24c53b4c3f core: move bugs into proper section in ChangeLog 2015-07-25 08:19:04 +02:00
AYANOKOUZI, Ryuunosuke 0159dbc95a core: update Japanese translations 2015-07-25 09:00:00 +09:00
Sébastien Helleu b779e72c50 core: update ChangeLog 2015-07-24 07:30:53 +02:00
Simmo Saan 0ca2197aa6 doc: update default keybinds for "alt-j NN" 2015-07-24 07:28:32 +02:00
Simmo Saan 6e117a1caf core: allow jump from current to previous buffer with default keys "alt-j NN" 2015-07-24 07:27:18 +02:00
Sébastien Helleu 4736a5b320 core: remove useless "return" 2015-07-23 07:35:45 +02:00
Sébastien Helleu fad9806e08 core: fix typo in /help window 2015-07-22 07:52:18 +02:00
Sébastien Helleu 7be168264f core: add command /alias in release notes 2015-07-21 07:01:34 +02:00
Sébastien Helleu 01c2ef63f5 doc: update German auto-generated files 2015-07-20 21:12:36 +02:00
Nils Görs 23c2271ef4 core: update German translations 2015-07-20 20:25:04 +02:00
Simmo Saan 6ef0e5ec1e irc: add separate color option for current topic in channel buffer 2015-07-20 19:02:20 +03:00
Sébastien Helleu b1bd5c721e alias: add options "add", "addcompletion" and "del" in command /alias, remove command /unalias (closes #458) 2015-07-20 07:54:59 +02:00
Sébastien Helleu 31c3151fcc xfer: fix typo in a comment 2015-07-19 09:55:29 +02:00
Sébastien Helleu b98e71a91c aspell: fix typo in a comment 2015-07-19 09:55:19 +02:00
Sébastien Helleu cddbe6fe33 core: replace "closes #" by "issue #" in ChangeLog 2015-07-18 20:06:10 +02:00
Sébastien Helleu 3b2ee85b04 core: fix crash if a file descriptor used in hook_fd() is too high (> 1024 on Linux/BSD) (closes #465)
The calls to select() are replaced by poll(), which doesn't have limitation
on file descriptor number.
2015-07-18 20:03:34 +02:00
Sébastien Helleu 23983b125a xfer: fix crash if the DCC file socket number is too high (issue #465) 2015-07-18 19:54:59 +02:00
Sébastien Helleu 4da1472bc8 irc: fix format of comment 2015-07-17 19:47:04 +02:00
Sébastien Helleu 86886e311a core: fix format of comment 2015-07-17 19:46:53 +02:00
Sébastien Helleu e29cb9a85a core: fix comment in function hook_find_pos 2015-07-16 20:51:23 +02:00
Sébastien Helleu 80872061c2 core: add variables with count of hooks 2015-07-15 23:55:00 +02:00
Nils Görs e9c6381774 core: update German translations 2015-07-14 14:20:56 +02:00
Sébastien Helleu 00685bedd5 core: reset pointers, file descriptors and child PIDs in unhook() 2015-07-14 11:01:52 +02:00
Sébastien Helleu a02743b229 core: add option weechat.look.confirm_upgrade (closes #463) 2015-07-14 07:58:21 +02:00
Sébastien Helleu 3fb322be8f doc: update Japanese auto-generated files 2015-07-13 21:34:19 +02:00
Sébastien Helleu 17fe9e3589 Merge pull request #464 from l/translation_ja
core: update Japanese translations
2015-07-13 21:31:29 +02:00
AYANOKOUZI, Ryuunosuke 22c7673b71 core: update Japanese translations 2015-07-13 23:35:19 +09:00
Nils Görs 5e95550f14 doc: update German documentation 2015-07-12 17:27:00 +02:00
Sébastien Helleu 719db054fa doc: add Cygwin packages in user's guide 2015-07-12 17:10:52 +02:00
Sébastien Helleu 219f406d3c core: remove obsolete translations 2015-07-11 21:43:31 +02:00
Sébastien Helleu 14496c41a3 irc: evaluate content of server option "nicks" 2015-07-10 20:10:22 +02:00
Nils Görs 653a392d9a core: update German translations 2015-07-10 14:50:56 +02:00
Sébastien Helleu cc774d099b irc: do not allow command /query with a channel name (closes #459) 2015-07-09 20:35:27 +02:00
Sébastien Helleu b2f0cc30ff core: fix type of value returned by function gui_bar_window_content_get 2015-07-05 08:32:43 +02:00
Sébastien Helleu eb080261f8 logger: fix type of value returned by function logger_tail_last_eol 2015-07-04 16:40:10 +02:00
Sébastien Helleu 0fb8ac9e7b core: fix type of value returned by function gui_mouse_grab_event2input 2015-07-04 16:38:26 +02:00
Sébastien Helleu df66b2e6fe irc: fix type of value returned by function irc_buffer_build_name 2015-07-04 16:36:42 +02:00
Sébastien Helleu 0c79b2fda8 core: fix type of value returned by functions gui_chat_string_next_char, gui_chat_string_add_offset and gui_chat_string_add_offset_screen 2015-07-04 16:32:18 +02:00
Sébastien Helleu 23fd23fd1a api: fix type of value returned by function util_get_time_string 2015-07-04 16:23:04 +02:00
Sébastien Helleu e8615c1691 doc: update functions strcasestr, utf8_prev_char, utf8_next_char and utf8_add_offset in plugin API reference 2015-07-04 16:08:15 +02:00
Sébastien Helleu 4ecd8a505f api: fix type of value returned by functions utf8_prev_char, utf8_next_char and utf8_add_offset 2015-07-04 08:39:55 +02:00
Sébastien Helleu bd850398e8 core: add missing comments before functions when the result must be freed after use 2015-07-04 08:24:53 +02:00
Sébastien Helleu 0770b95266 alias: remove unused function alias_get_final_command() 2015-07-04 08:16:05 +02:00
Sébastien Helleu b13db0305d api: fix type of value returned by function strcasestr 2015-07-03 19:45:51 +02:00
Sébastien Helleu 3e0ebc82a9 doc: update German auto-generated files 2015-07-01 07:41:08 +02:00
Nils Görs f534663d07 core: update German translations 2015-06-30 22:03:15 +02:00
Sébastien Helleu 9bf40517d3 api: add support of evaluated sub-strings and current date/time in function string_eval_expression() and command /eval 2015-06-30 20:25:35 +02:00
Sébastien Helleu e92a63427f doc: add question about unicode chars and libc (wcwidth) in FAQ 2015-06-29 22:33:41 +02:00
Sébastien Helleu 7fabe8c2a2 core: allow ctrl-C to exit WeeChat when the passphrase is asked on startup (closes #452) 2015-06-28 09:16:24 +02:00
Sébastien Helleu d9acb2b97a doc: remove tag "translation missing" in French man page 2015-06-28 08:37:28 +02:00
Sébastien Helleu a3bde46d48 core: move ChangeLog entry in bugs section 2015-06-27 20:12:02 +02:00
Sébastien Helleu ecc3a2aeb6 core: fix display of invalid UTF-8 chars in bars (issue #218) 2015-06-27 17:31:30 +02:00
Sébastien Helleu 0ff8d7b543 irc: decode/encode only text in IRC messages and not the headers (bug #29886, closes #218, closes #451) 2015-06-27 17:00:53 +02:00
Sébastien Helleu fdd9c03e5a xfer: evaluate content of options xfer.file.download_path and xfer.file.upload_path (issue #388) 2015-06-27 08:11:28 +02:00
Sébastien Helleu 9e56308a4d doc: update German auto-generated files 2015-06-27 07:43:16 +02:00
Nils Görs edbcc10105 core: update German translations 2015-06-26 23:27:35 +02:00
Sébastien Helleu fddd7d53a7 script: call function string_eval_path_home() to evaluate scripts path 2015-06-26 07:41:47 +02:00
Sébastien Helleu efdbd1ea13 logger: call function string_eval_path_home() to evaluate logger file path 2015-06-25 07:40:13 +02:00
Sébastien Helleu 52437427af doc: update examples for functon string_eval_path_home() in plugin API reference 2015-06-24 07:58:23 +02:00
Sébastien Helleu 2bd2d74a07 api: add function string_eval_path_home() 2015-06-24 07:54:42 +02:00
Sébastien Helleu 6668b9869b core: fix help of /eval command 2015-06-23 21:30:58 +02:00
Sébastien Helleu a79c0fcff3 core: allow pointer as list name in evaluation of hdata (closes #450) 2015-06-23 20:55:52 +02:00
Sébastien Helleu 43f471b9c2 doc: update Japanese auto-generated files 2015-06-22 20:49:18 +02:00
Sébastien Helleu 7cc452402d Merge remote-tracking branch 'origin/pr/447' 2015-06-22 20:48:06 +02:00
Sébastien Helleu 422958337b core: fix bar item "scroll" after /buffer clear (closes #448) 2015-06-22 20:09:52 +02:00
AYANOKOUZI, Ryuunosuke c9f816435c core: update Japanese translations 2015-06-21 22:59:11 +09:00
Sébastien Helleu 07cbc3bd2e script: rename option script.scripts.dir to script.scripts.path (issue #388) 2015-06-21 07:40:18 +02:00
Sébastien Helleu 33a4b4b1fc logger: evaluate content of option logger.file.path (issue #388) 2015-06-20 08:08:24 +02:00
Sébastien Helleu 292830b5bf script: evaluate content of option script.scripts.dir (issue #388) 2015-06-19 21:12:47 +02:00
Sébastien Helleu acb03201b4 core: exclude directory tests/ubuntu/ from tarballs 2015-06-18 21:12:38 +02:00
Sébastien Helleu 7c1b7df2cf irc: fix crash with commands /allchan, /allpv and /allserv if the executed command closes buffers (closes #445) 2015-06-16 20:28:50 +02:00
Sébastien Helleu 5bac79c4f1 irc: do not open auto-joined channels buffers when option "-nojoin" is used in command /connect
Even if the option irc.look.buffer_open_before_autojoin is on.
2015-06-15 20:41:49 +02:00
Sébastien Helleu 9e0fa27525 tests: add package libcpputest-dev for ubuntu/precise (Travis CI) 2015-06-14 14:32:22 +02:00
Sébastien Helleu 60ec9d5d51 core: fix display of time in bare display when option weechat.look.buffer_time_format is set to empty string (closes #441)
This reverts commit 2498ff63db.
2015-06-14 14:11:15 +02:00
Sébastien Helleu c8ac7e3791 core: replace HTTPS by HTTP for the download of libcpputest (Travis CI)
With HTTPS, it often fails with no reason
(error: "curl: (28) SSL connection timeout").
2015-06-14 09:11:28 +02:00
Maciek Gajewski 96c71aa0c4 core: fix typo in Polish translation 2015-06-14 08:39:11 +02:00
Nils Görs 70cbc1b340 core: update German translations 2015-06-13 22:58:11 +02:00
Sébastien Helleu c8ca7e1ac2 core: update ChangeLog 2015-06-13 07:42:55 +02:00
Sébastien Helleu c4d95bc1e2 core: update translations 2015-06-13 07:42:30 +02:00
Sébastien Helleu e5d9e977e4 relay: add a variable to read only one time the HTTP header "X-Real-IP" in the hashtable 2015-06-13 07:39:21 +02:00
Sébastien Helleu 424bff4d6c Merge remote-tracking branch 'origin/pr/440' 2015-06-13 07:30:32 +02:00
Sébastien Helleu 7a769648e8 core: fix package name in comment (FindCppUTest.cmake) 2015-06-12 07:47:53 +02:00
Sébastien Helleu 68b45a8216 core: fix package name in comment (FindV8.cmake) 2015-06-11 22:52:28 +02:00
Tor Hveem fc8f7b49dd relay: print value of HTTP Header X-Real-IP
When relay plugin gets a new successfull handshake for a relay
connection using websocket it will look for HTTP header X-Real-IP which
is commonly used when proxying connections. This allows users of WeeChat
and proxy to see the client's real IP address instead of the address of
the HTTP proxy.
2015-06-11 16:50:19 +02:00
Sébastien Helleu 515e8b7b1a ruby: add detection of Ruby 2.2 2015-06-10 23:17:19 +02:00
Sébastien Helleu bce7a6d434 doc: update German auto-generated files 2015-06-10 21:59:24 +02:00
Nils Görs e919aca3dd doc: update German translations 2015-06-10 17:40:34 +02:00
Sébastien Helleu f026ba5160 doc: update Japanese auto-generated files 2015-06-09 21:02:29 +02:00
Sébastien Helleu b5c028b93e Merge pull request #439 from l/translation_ja
core: update Japanese translations
2015-06-09 21:00:11 +02:00
AYANOKOUZI, Ryuunosuke 14c5bc386f core: update Japanese translations 2015-06-09 22:32:48 +09:00
Sébastien Helleu 799b0caaf2 fifo: ignore error ECOMM only on Cygwin (fix compilaton on FreeBSD) 2015-06-07 19:26:17 +02:00
Sébastien Helleu f21adaa6ab fifo: fix send error on Cygwin when something is received in the pipe (closes #436) 2015-06-07 19:17:49 +02:00
Sébastien Helleu 00abc2bde5 core: add signal "signal_sighup" 2015-06-06 14:48:03 +02:00
Sébastien Helleu 160cbdb46a core: reword ChangeLog entry 2015-06-06 10:05:17 +02:00
Sébastien Helleu 57a2a872a5 core: update ChangeLog (closes #425, closes #426) 2015-06-06 10:02:30 +02:00
Sébastien Helleu dff39136a3 Merge remote-tracking branch 'origin/pr/426' 2015-06-06 09:57:05 +02:00
Sébastien Helleu 7c6c450662 core: replace "create" by "add" in messages and docs for IRC servers and proxies 2015-06-04 22:00:10 +02:00
Sébastien Helleu c540db0b4f core: update ChangeLog 2015-05-22 20:15:09 +02:00
Sébastien Helleu 7a87a426c8 Merge remote-tracking branch 'origin/pr/419' 2015-05-22 20:13:30 +02:00
Sébastien Helleu 222fb8290b Merge pull request #424 from l/translation_ja
core: update Japanese translations
2015-05-19 07:41:01 +02:00
Sébastien Helleu e2c1f83c7f core: sync debian files with debian git repository 2015-05-18 20:10:43 +02:00
Simmo Saan 8d1d2c0321 xfer: correctly use and parse \r\n line endings in CHAT (closes #425) 2015-05-18 19:21:03 +03:00
AYANOKOUZI, Ryuunosuke 8feb4c1c3b core: update Japanese translations 2015-05-18 01:34:03 +09:00
Sébastien Helleu 3262599413 core: make cpputest optional in cmake compilation
With this fix, WeeChat can be built without tests (if cpputest is not found),
without having to explicitely disable tests ("-DENABLE_TESTS=OFF").
2015-05-17 14:58:10 +02:00
Sébastien Helleu 81e037b1ce lua: add detection of Lua 5.3 2015-05-17 14:25:44 +02:00
Sébastien Helleu 486ed2b0da core: remove use of PREFIX in main CMakeLists.txt 2015-05-17 08:57:08 +02:00
Sébastien Helleu d9ce6cdbef doc: replace PREFIX with CMAKE_INSTALL_PREFIX in list of cmake options (user's guide) 2015-05-17 08:55:46 +02:00
Sébastien Helleu 1396e9b0ef doc: replace PREFIX with CMAKE_INSTALL_PREFIX in cmake instructions (closes #354) 2015-05-17 08:48:54 +02:00
Sébastien Helleu 1fb3e8b2dc doc: sort directories and files, reformat emacs lisp example in developer's guide 2015-05-17 07:48:21 +02:00
Sébastien Helleu fd3b3d6711 doc: update list of repositories in developer's guide 2015-05-17 07:46:54 +02:00
Sébastien Helleu 4b5bc0ac8d doc: add missing file test-arraylist.cpp in developer's guide 2015-05-15 22:17:59 +02:00
Sébastien Helleu 28fccd3f12 doc: add relay in list of main features (user's guide) 2015-05-13 20:46:09 +02:00
Sébastien Helleu 5918943192 Version 1.3-dev 2015-05-10 10:04:03 +02:00
Sébastien Helleu 66abd51786 Version 1.2 2015-05-10 09:24:50 +02:00
Sébastien Helleu 43fa9df6c2 doc: update Polish auto-generated files 2015-05-09 19:20:16 +02:00
Krzysztof Korościk 4667366888 Update polih translations 2015-05-09 14:00:23 +02:00
Krzysztof Korościk 36e18efa75 Polish translation update 2015-05-09 12:11:58 +02:00
Sébastien Helleu 0e75ad742b core: sort languages alphabetically in build 2015-05-09 09:39:26 +02:00
Nils Görs cae3e25906 core: update German translations 2015-05-09 09:26:20 +02:00
Sébastien Helleu e2310a4264 irc: display a warning when the option irc.look.display_away is set to "channel" 2015-05-07 07:07:09 +02:00
Sébastien Helleu c4e260c992 doc: harmonize size of bar filling examples (user's guide) 2015-05-05 20:41:15 +02:00
Max Teufel 84e55e9fac irc: avoid warnings for unsupported WHOX messages
Fixes #376. This avoids warnings for WHOX messages that we do not parse/
understand yet. Previously, IRC_PROTOCOL_MIN_ARGS was 5 where it should
have been 4 (which avoids warnings for WHOX commands only requesting one
WHOX type). Changing the behavior to support all different WHOX types
seems like a bad idea to me, as it's quite hard to figure out which
information was requested with the WHOX command.
2015-05-04 18:01:36 +02:00
Sébastien Helleu 241a999bd6 Merge pull request #417 from l/translation_ja
core: update Japanese translations
2015-05-02 23:43:43 +02:00
AYANOKOUZI, Ryuunosuke ee37063ce1 core: update Japanese translations 2015-05-03 05:24:38 +09:00
Sébastien Helleu dc8b3f977f Version 1.2-rc2 2015-05-02 08:44:55 +02:00
Sébastien Helleu e9c8e70e35 doc: merge min/max version columns into a single column in dependencies (user's guide) 2015-05-01 15:07:06 +02:00
Sébastien Helleu 8d25cd5d34 core: fix compilation on Cygwin
The header sys/select.h is now required for select() function.
2015-05-01 09:54:07 +02:00
Sébastien Helleu 90bd568a61 core: add missing completions in command /input 2015-05-01 08:47:11 +02:00
Sébastien Helleu d8d44d6138 core: add signals "signal_sigterm" and "signal_sigquit" (closes #114) 2015-05-01 08:33:52 +02:00
Sébastien Helleu 71dd64678c core: add comments after some #endif 2015-04-30 21:15:30 +02:00
Sébastien Helleu 499f36a7cf irc: optimize search of a nick in nicklist (up to 3x faster) 2015-04-29 21:20:08 +02:00
Nils Görs 9793649e79 doc: update German documentation 2015-04-28 22:20:42 +02:00
Sébastien Helleu b7b06c252c doc: update Japanese auto-generated file 2015-04-28 20:33:32 +02:00
Sébastien Helleu e852a1b775 Merge pull request #414 from l/translation_ja
core: update Japanese translations
2015-04-28 20:25:31 +02:00
AYANOKOUZI, Ryuunosuke 5bdc256911 core: update Japanese translations 2015-04-29 02:58:12 +09:00
Sébastien Helleu 5ef79b58a3 doc: update German auto-generated file 2015-04-26 17:07:08 +02:00
Sébastien Helleu 908bde8ac2 core: remove extra spaces in function gui_bar_item_default_mouse_status 2015-04-26 17:06:39 +02:00
Nils Görs a06ce8da05 core: update German translations 2015-04-26 13:13:15 +02:00
Nils Görs fb66b2d998 core: update German translations 2015-04-26 12:48:01 +02:00
Sébastien Helleu 6b2c9d2cb8 api: add support of environment variables in function string_eval_expression() and command /eval (issue #388) 2015-04-26 11:50:39 +02:00
Sébastien Helleu 80f446a4b4 doc: fix French translations in function string_eval_expression (plugin API reference) 2015-04-26 10:52:30 +02:00
Sébastien Helleu b3cfd93374 doc: fix typo in function string_eval_expression (plugin API reference) 2015-04-26 10:42:50 +02:00
Sébastien Helleu d322389e04 core: add support of full color option name in command /eval and API function string_eval_expression() 2015-04-26 10:29:30 +02:00
Sébastien Helleu 0f333ee630 api: add support of full color option name in function color() 2015-04-26 10:29:22 +02:00
Sébastien Helleu ccc6cdace1 irc: fix color of new nick in nick changes messages when option irc.look.color_nicks_in_server_messages is off 2015-04-25 20:38:03 +02:00
Nils Görs b5fbea7993 core: update German translations 2015-04-25 16:46:26 +02:00
Sébastien Helleu ac0486bdc4 core: add contributor in AUTHORS.asciidoc 2015-04-25 13:09:43 +02:00
Sébastien Helleu 3f3e8e743d core: update ChangeLog 2015-04-25 13:08:40 +02:00
Sébastien Helleu c3c12a1315 doc: add environment variable WEECHAT_HOME in command line options 2015-04-25 13:07:43 +02:00
Sébastien Helleu f7ff3bcadd core: add environment variable WEECHAT_HOME in "weechat --help" 2015-04-25 13:01:36 +02:00
Sébastien Helleu ae1211d4ab core: rename function and argument to set home path 2015-04-25 12:56:44 +02:00
Sébastien Helleu da184957b9 Merge remote-tracking branch 'origin/pr/391' 2015-04-25 12:34:29 +02:00
Sébastien Helleu 4695b26a57 irc: fix crash when setting an invalid regex with "/list -re" during a /list server response (closes #412) 2015-04-25 08:54:48 +02:00
Sébastien Helleu 6c4c4a37fd core: display the welcome message immediately after the startup message, move source code to weechat.c 2015-04-25 08:38:44 +02:00
Sébastien Helleu 0afd1f2243 Version 1.2-rc1 2015-04-24 22:41:04 +02:00
Sébastien Helleu 0f75e2e0b6 doc: update Japanese auto-generated files 2015-04-23 07:44:02 +02:00
Sébastien Helleu e2a9bf4c0e Merge pull request #409 from l/translation_ja
core: update Japanese translations
2015-04-23 07:36:57 +02:00
Sébastien Helleu 8fc64aaea8 core: remove WeeChat version from config files (closes #407) 2015-04-22 22:35:13 +02:00
AYANOKOUZI, Ryuunosuke be1c06ae97 core: update Japanese translations 2015-04-22 21:31:45 +09:00
Sébastien Helleu 09a163a408 doc: update German auto-generated files 2015-04-20 21:02:43 +02:00
Nils Görs 04e972f5b1 core: update German translations 2015-04-20 20:37:54 +02:00
Sébastien Helleu 60f2b50117 core: add options weechat.look.quote_{nick_prefix|nick_suffix|time_format} to customize quoted messages in cursor mode (closes #403) 2015-04-19 12:02:41 +02:00
Sébastien Helleu 7ad2744b33 core: sort config options by name in source headers 2015-04-19 10:42:53 +02:00
Sébastien Helleu df31147e16 api: add "_chat_line" (line pointer) in hashtable of hook_focus 2015-04-19 10:22:53 +02:00
Sébastien Helleu 074f2dc778 core: add default keys of cursor mode in /help cursor 2015-04-19 09:09:09 +02:00
Sébastien Helleu 1878c56c70 core: sort config options by name in sources 2015-04-19 08:49:30 +02:00
Sébastien Helleu c9668dde7e irc: remove compiler warning on isxdigit 2015-04-18 23:16:29 +02:00
Sébastien Helleu fe9a9fbfce irc: add support of SHA-256 and SHA-512 algorithms in server option "ssl_fingerprint" (closes #281) 2015-04-18 18:52:20 +02:00
Sébastien Helleu 9598bd4919 irc: move some #ifdef HAVE_GNUTLS around functions 2015-04-18 10:17:48 +02:00
Sébastien Helleu 1054339be7 trigger: do not hook anything if the trigger is disabled (closes #405) 2015-04-18 10:04:26 +02:00
Karthik K 1eaf0e36e8 core: Respect environment variable WEECHAT_HOME
If environment variable WEECHAT_HOME is set to a non-empty value, this
is taken as the path for Weechat home directory.

"--dir" command-line switch has higher precedence over this
environment variable.
2015-04-17 22:09:43 +05:30
Sébastien Helleu 32d165f1c4 core: add a welcome message on first WeeChat run (closes #318) 2015-04-17 07:57:31 +02:00
Nils Görs 13332360aa doc: update German documentation 2015-04-16 08:36:31 +02:00
Sébastien Helleu 7465411206 doc: update German auto-generated files 2015-04-16 07:46:21 +02:00
Nils Görs 17e95a24d1 core: update German translations 2015-04-15 18:53:21 +02:00
Sébastien Helleu dea8b0bb09 irc: add option "-noswitch" in command /query (closes #394) 2015-04-14 07:47:50 +02:00
Sébastien Helleu 55e2f258b7 irc: fix display of PART messages on channels with +a (anonymous flag) (closes #396)
The purpose of the fix is to display any PART received on a channel,
even if the nick is not found in the channel's nicklist
(when channel is "+a", all PART are received from nick "anonymous").
2015-04-13 07:56:06 +02:00
Sébastien Helleu ed6e59f093 Merge pull request #395 from l/translation_ja
core: update Japanese translations
2015-04-12 17:57:18 +02:00
AYANOKOUZI, Ryuunosuke 2fe0fc8533 core: update Japanese translations 2015-04-13 00:48:56 +09:00
Simmo Saan b87c52240b core: add more intuitive buffer searching (closes #76) 2015-04-12 10:25:09 +03:00
Sébastien Helleu 161199bcc3 core: fix French translations of /help weechat.look.word_chars_{highlight|input} 2015-04-12 08:54:55 +02:00
Sébastien Helleu b15818fd4c aspell: add bar item "aspell_suggest" in /help aspell (closes #390) 2015-04-11 18:58:44 +02:00
Sébastien Helleu b2a68af077 core: add options weechat.look.word_chars_{highlight|input} (closes #55, task #9459) 2015-04-11 18:53:44 +02:00
Sébastien Helleu c899254019 doc: update WeeChat description in README and man page 2015-04-05 16:01:12 +02:00
Sébastien Helleu 67536579bd doc: fix trigger example in user's guide 2015-04-04 16:11:10 +02:00
Sébastien Helleu c34ed035a9 doc: update Japanese auto-generated files 2015-04-02 20:29:50 +02:00
Sébastien Helleu ade7f6635e Merge pull request #382 from l/translation_ja
core: update Japanese translations
2015-04-02 20:27:23 +02:00
AYANOKOUZI, Ryuunosuke 03d6ead8f1 core: update Japanese translations 2015-04-02 12:57:07 +09:00
Sébastien Helleu 465edcbff2 core: remove trailing whitespace in a German translation 2015-03-31 09:14:15 +02:00
Nils Görs 22b668b641 core: update German translations 2015-03-30 20:02:49 +02:00
Sébastien Helleu 6d8f2d3e97 core: display a warning on startup if the locale can not be set (closes #373) 2015-03-30 19:16:28 +02:00
Nils Görs 7d59c0523e doc: update German documentation 2015-03-29 22:15:57 +02:00
Sébastien Helleu 3e8b0f37ca doc: fix links in plugin API reference 2015-03-28 23:37:12 +01:00
Sébastien Helleu 507fc2570f doc: update German auto-generated files 2015-03-27 07:57:58 +01:00
Nils Görs e80dce4d8f core: update German translations 2015-03-26 22:59:26 +01:00
Sébastien Helleu 0e43cf0501 core: fix typo in ChangeLog 2015-03-26 07:41:06 +01:00
Sébastien Helleu fa389d3f1f core: use https for URL to WeeChat screenshot in README.asciidoc 2015-03-25 21:54:13 +01:00
Sébastien Helleu c2f07bddcb core: add an example with a more complex regex in /help filter 2015-03-24 06:56:15 +01:00
Sébastien Helleu 9a0d6899f9 irc: fix example using two servers in /help server (closes #371) 2015-03-23 22:41:19 +01:00
KokaKiwi 9a0d7b888f javascript: update KokaKiwi email 2015-03-23 07:35:12 +01:00
Sébastien Helleu 2fceb1dcdb core: fix sort of contributors in AUTHORS.asciidoc 2015-03-22 11:24:33 +01:00
Sébastien Helleu e71161520f core: add contributor in AUTHORS.asciidoc 2015-03-22 11:22:32 +01:00
Simmo Saan d3997eeb82 trigger: hide password when messaging NickServ through default alias /m (closes #367) 2015-03-22 11:19:05 +01:00
Sébastien Helleu 8b056d7d24 tests: check that function string_strndup returns NULL if the given string is NULL 2015-03-22 11:14:12 +01:00
Sébastien Helleu 8bcf31950e irc: fix freenode server names used in /help server (closes #365) 2015-03-22 08:02:54 +01:00
Sébastien Helleu 686589207c ruby: fix crash on /plugin reload (closes #364)
The call to ruby_init_loadpath() has been moved after ruby initializations,
which fixes the crash on plugin reload.

The errors during ruby initializations are now displayed (they were hidden).

And the ruby_cleanup() is called again: it seems it does not crash any more
(tested with Ruby 2.1.5).
2015-03-21 12:26:23 +01:00
Sébastien Helleu 7f561c3133 core: allow "*" as plugin name in command /plugin reload to reload all plugins with options 2015-03-21 08:44:47 +01:00
Sébastien Helleu 26f415f5db core: move definitions with version and license in root CMakeLists.txt 2015-03-19 22:42:03 +01:00
Sébastien Helleu 6c4b574945 script: fix state of script plugins when list of scripts has not been downloaded
The problem happened when doing "/script load script.py" if the scripts list
has not been downloaded (with "/script update"): WeeChat displays that python
plugin is not loaded (which is wrong).
2015-03-18 07:25:26 +01:00
Sébastien Helleu 11debc7cae doc: remove obsolete note about package weechat-dbg and path to binary (user's guide) (closes #363) 2015-03-18 07:07:05 +01:00
Sébastien Helleu a7103d8b1e doc: update German auto-generated files 2015-03-17 21:43:53 +01:00
Nils Görs b9ed378727 core: update German translations 2015-03-16 23:02:40 +01:00
Sébastien Helleu 4383388dfa doc: update Japanese auto-generated files 2015-03-16 16:44:54 +01:00
Sébastien Helleu d8bf73ae7a Merge pull request #361 from l/translation_ja
core: update Japanese translations
2015-03-15 19:24:54 +01:00
AYANOKOUZI, Ryuunosuke e9d56f19a8 core: update Japanese translations 2015-03-16 01:28:22 +09:00
Sébastien Helleu 8a822894e2 doc: set max version to 3.24.3 for libv8 in dependencies (user's guide) (issue #360) 2015-03-15 13:57:03 +01:00
Sébastien Helleu bdba152d81 javascript: explicitely use v8 namespace 2015-03-15 10:06:42 +01:00
Sébastien Helleu 9f158510b1 core: add contributor in AUTHORS.asciidoc 2015-03-13 20:05:47 +01:00
Sébastien Helleu ce582201a0 Merge remote-tracking branch 'origin/pr/342'
Conflicts:
	po/pt_BR.po
2015-03-13 20:04:28 +01:00
Sébastien Helleu ada9dce5e6 doc: update German auto-generated files 2015-03-13 07:45:36 +01:00
Nils Görs a3a8cb7fe9 core: update German translations 2015-03-12 18:23:59 +01:00
Sébastien Helleu ad499d944e doc: add comment in auto-generated doc files to prevent any changes by hand 2015-03-11 20:15:23 +01:00
Sébastien Helleu 80ccb335a4 script: add note about HTTPS in /help script.scripts.url 2015-03-10 22:05:04 +01:00
Sébastien Helleu 87865260e6 core: update translations 2015-03-10 21:38:46 +01:00
Sébastien Helleu 21069c8617 doc: capitalize name of plugins in lists (scripting guide) 2015-03-09 21:12:02 +01:00
Sébastien Helleu 74a07deae8 core: add libv8 requirement in weechat.spec 2015-03-08 14:32:14 +01:00
Sébastien Helleu e78b32d49e core: add javascript plugin in list of scripting languages supported (debian packaging) 2015-03-08 14:31:51 +01:00
Sébastien Helleu 8e2077340f doc: remove trailing whitespace in German user's guide 2015-03-08 13:41:44 +01:00
Sébastien Helleu 4ddd641a7a doc: add C++ compiler requirement for javascript plugin in user's guide 2015-03-08 13:24:20 +01:00
Sébastien Helleu 0fb8c58aec core: add javascript plugin in ChangeLog 2015-03-08 13:02:07 +01:00
Sébastien Helleu 3238b71f0c Merge branch 'javascript' 2015-03-08 12:51:54 +01:00
Sébastien Helleu 6908ef0cdd core: align options in CMakeLists.txt
Better when things are aligned, no? :)
2015-03-08 12:51:41 +01:00
Sébastien Helleu 07594c9ec7 core: add missing cmake file FindV8.cmake in packages built by autotools 2015-03-08 12:05:06 +01:00
Sébastien Helleu be20068e6a core: add installation of libv8-dev (Travis CI) 2015-03-08 11:58:52 +01:00
Sébastien Helleu 3683cbbb94 core: disable javascript plugin for Cygwin (libv8 not available) 2015-03-08 11:48:30 +01:00
Sébastien Helleu 2e6905472d doc: add javascript plugin in FAQ 2015-03-08 11:33:23 +01:00
Sébastien Helleu 01afee6c33 core: add javascript plugin in README 2015-03-08 11:33:08 +01:00
Sébastien Helleu b007031a8c core: add plugin "javascript" in debian packaging 2015-03-08 11:01:17 +01:00
Sébastien Helleu a98c835716 javascript: fix compilation with old V8 lib 2015-03-08 10:56:58 +01:00
Sébastien Helleu 148a571dce javascript: add option "--disable-javascript" and V8 detection in autotools 2015-03-08 09:56:51 +01:00
Sébastien Helleu 2120405a16 core: add tcl/guile plugins in "not asked" list of configure output if they are disabled 2015-03-08 09:54:47 +01:00
Sébastien Helleu c85d5a8929 javascript: fix name of source file in comment 2015-03-08 09:31:01 +01:00
Sébastien Helleu 02a69beba1 javascript: display v8 version in /debug libs 2015-03-08 08:25:56 +01:00
Sébastien Helleu efebc4d491 core: update comments on default keys 2015-03-08 07:50:34 +01:00
Sébastien Helleu 300d1ad44e doc: add Javascript plugin in docs 2015-03-07 16:52:30 +01:00
Sébastien Helleu bed4ee1f35 javascript: fix crash in return of string values when WeeChat API function returns NULL 2015-03-07 16:52:30 +01:00
Sébastien Helleu dfb2c79cbb javascript: catch and display exceptions when running scripts/functions 2015-03-07 16:52:30 +01:00
Sébastien Helleu 145191dbc5 javascript: add new plugin to run javascript scripts in WeeChat
This plugin was originally written by Koka El Kiwi
(repository: https://github.com/KokaKiwi/weechat-js-plugin).

This plugin uses Google V8 engine to execute JS scripts.
2015-03-07 16:52:09 +01:00
Max Teufel 522b04155a irc: use NULL instead of "*" for unidentified nicks 2015-03-07 16:09:40 +01:00
Max Teufel c591404b40 irc: protocol: fix minor typo in an example 2015-03-07 15:46:02 +01:00
Max Teufel e00d7f2bfd irc: track realnames using extended-join and WHO 2015-03-07 15:46:02 +01:00
Sébastien Helleu a83ad08c48 doc: update Japanese auto-generated files 2015-03-07 10:58:45 +01:00
Sébastien Helleu e95f853303 scripts: reset current script pointer when load of script fails in python/perl/ruby/lua/tcl plugins 2015-03-07 09:35:29 +01:00
Sébastien Helleu 5d1f7e79ba core: update ChangeLog (closes #346) 2015-03-06 20:11:19 +01:00
Tor Hveem ff1aaf280b lua: fix wrong argument usage in nicklist API functions
3 functions in the API; niclist_remove_group, nicklist_remove_nick and
nicklist_remove_all use the incorrent offset to get the Lua
argument values.
2015-03-06 20:08:38 +01:00
Sébastien Helleu cace7471f0 tests: remove compiler warnings about unused parameters 2015-03-06 19:24:24 +01:00
Sébastien Helleu d9251df1a3 core: use same flags for C and C++ compilers 2015-03-05 07:57:14 +01:00
Sébastien Helleu c0a27cf437 scripts: fix name of variables in infolist API functions 2015-03-04 07:40:07 +01:00
Sébastien Helleu 3eb6cd3cd9 tests: remove unused variables 2015-03-03 07:43:23 +01:00
Sébastien Helleu f6941c20eb tests: remove unused variable 2015-03-02 21:15:23 +01:00
Eduardo Elias 6bd8a5be20 Fix some strings for pt_BR.po using msgcheck 2015-03-01 11:50:52 -03:00
Sébastien Helleu 0d4ad2d7f3 guile: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- hook_command
- buffer_string_replace_local_var
- command
2015-03-01 10:49:31 +01:00
Sébastien Helleu c07d058bff tcl: fix value returned in case of error in some functions
Affected functions:
- mkdir_home
- mkdir
- mkdir_parents
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- print_date_tags
- buffer_string_replace_local_var
- command
- infolist_new_item
- infolist_new_var_integer
- infolist_new_var_string
- infolist_new_var_pointer
- infolist_new_var_time
- upgrade_write_object
- upgrade_read
- upgrade_close
2015-03-01 10:45:35 +01:00
Sébastien Helleu e745236cb4 lua: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_string
- config_string_default
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- hook_modifier_exec
- buffer_string_replace_local_var
- nicklist_group_set
- nicklist_nick_set
- command
- upgrade_read
- upgrade_close
2015-03-01 10:39:08 +01:00
Sébastien Helleu d1cd844e06 ruby: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- buffer_string_replace_local_var
- command
2015-03-01 10:13:06 +01:00
Sébastien Helleu e6d3a78d2c perl: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- buffer_string_replace_local_var
- command
2015-03-01 10:10:36 +01:00
Sébastien Helleu 7624ef417d python: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- config_is_set_plugin
- buffer_get_string
- buffer_string_replace_local_var
- nicklist_group_get_string
- nicklist_nick_get_string
- command
- hdata_time
2015-03-01 10:06:28 +01:00
Sébastien Helleu 5e886961bd scripts: fix return code of function bar_set in python/perl/ruby/lua/tcl/guile plugins 2015-03-01 09:57:35 +01:00
Sébastien Helleu 72b8674193 python: fix name of function "bar_update" in case of error 2015-03-01 09:47:47 +01:00
Sébastien Helleu 79afeb2111 python: fix restore of old interpreter when a function is not found in the script 2015-03-01 09:12:02 +01:00
Sébastien Helleu 5a70597516 scripts: fix type of value returned by function hdata_time (from string to long integer) in perl/ruby/lua/tcl/guile plugins 2015-03-01 09:06:18 +01:00
Sébastien Helleu 3cd0259575 Merge pull request #339 from l/translation_ja
core: update Japanese translations
2015-02-22 21:13:15 +01:00
AYANOKOUZI, Ryuunosuke d434ed5ec5 core: update Japanese translations 2015-02-23 04:15:12 +09:00
Sébastien Helleu c853d29e76 scripts: rename macro API_FUNC to API_INIT_FUNC, add macro API_FUNC to declare API functions 2015-02-21 09:49:51 +01:00
Sébastien Helleu c1a5a76d08 scripts: reformat some code to make it more readable 2015-02-21 09:16:25 +01:00
Sébastien Helleu 8f11de6863 scripts: improve comments on functions that convert hashtables 2015-02-21 09:12:44 +01:00
Sébastien Helleu 770152dea7 irc: remove useless rename of channel buffer on JOIN received with different case (closes #336)
This bug was introduced by commit 624083f41a.
2015-02-21 08:35:26 +01:00
Sébastien Helleu c9c8625581 relay: fix up/down keys on relay buffer (closes #335) 2015-02-20 22:33:48 +01:00
Nils Görs 77f645e8ae core: update German translations 2015-02-15 20:04:36 +01:00
Sébastien Helleu 1ac9e32aaf core: update ChangeLog 2015-02-15 15:43:52 +01:00
Sébastien Helleu 5dbd1615a1 core: update translations 2015-02-15 15:43:29 +01:00
Max Teufel 1d8e6c10d7 irc: format IRC message 008 (RPL_SNOMASK) (closes #144) 2015-02-15 15:32:07 +01:00
Sébastien Helleu 07c7ecb679 tests: add tests on weelist functions 2015-02-13 08:00:09 +01:00
Sébastien Helleu 094abc57ed core: add missing info in function weelist_print_log 2015-02-12 07:34:18 +01:00
Sébastien Helleu e2225c321d doc: update German auto-generated files 2015-02-10 22:05:56 +01:00
Nils Görs 3a83c4aef2 core: update German translations 2015-02-10 22:00:06 +01:00
Sébastien Helleu 63a9d77339 irc: fix crash in callback of message 354 when the nick is not found in channel 2015-02-10 21:58:47 +01:00
Sébastien Helleu 7c5016c79d core: add missing initialization of pointer in list allocation 2015-02-10 20:50:10 +01:00
Sébastien Helleu b496f77eb5 doc: update German auto-generated files 2015-02-07 16:50:56 +01:00
Nils Görs 3e6aeee519 core: update German translations 2015-02-06 23:23:09 +01:00
Sébastien Helleu 49a7ac5cab core: update ChangeLog 2015-02-04 07:59:50 +01:00
Sébastien Helleu 1f5f2cae12 core: update translations 2015-02-04 07:59:43 +01:00
Anders Bergh 00730c0f9c relay: remove v4-mapped addresses in /help relay.network.allowed_ips
v4-mapped addresses aren't used since commit 85339f6.
2015-02-04 07:48:06 +01:00
Sébastien Helleu 797e9565f2 doc: update German auto-generated files 2015-01-31 07:54:01 +01:00
Nils Görs 05a2b8cfce core: update German translations 2015-01-30 22:51:30 +01:00
Sébastien Helleu 9871f26f04 core: split expression before evaluating it in command "/eval -s" 2015-01-30 09:58:36 +01:00
Sébastien Helleu 8492280120 doc: update auto-generated files with WeeChat commands 2015-01-30 09:00:27 +01:00
Sébastien Helleu a974776fa0 core: move a line in ChangeLog 2015-01-30 08:59:04 +01:00
Sébastien Helleu 5e2cd75efc core: add option "-s" in command /eval to split commands (no more split by default) (closes #324) 2015-01-30 08:58:37 +01:00
Sébastien Helleu d3c309c787 core: add note about alias /v in /help version 2015-01-29 07:49:55 +01:00
Sébastien Helleu 0d9398d038 irc: fix completion of commands /allchan and /allpv 2015-01-28 07:45:01 +01:00
Sébastien Helleu ef4476be65 doc: fix description of function "command" in plugin API reference 2015-01-27 07:46:23 +01:00
Sébastien Helleu 1b76e0e18c doc: update date in Russian quickstart 2015-01-26 20:56:29 +01:00
Sébastien Helleu 6a7f6f5095 irc: send WHOX message only if server supports it 2015-01-25 20:30:35 +01:00
Sébastien Helleu 5b51bc3bcf doc: update German auto-generated files 2015-01-25 20:24:08 +01:00
Nils Görs 7d042f1b30 core: update German translations 2015-01-25 18:38:04 +01:00
Sébastien Helleu 8ad308a398 irc: add "account-notify" in help of server option "capabilities" 2015-01-25 18:15:32 +01:00
Sébastien Helleu 714df489cd doc: update auto-generated files with hdata 2015-01-25 18:12:27 +01:00
Sébastien Helleu c10787d92f core: add support of "account-notify" irc capability in ChangeLog (closes #11, closes #246) 2015-01-25 18:08:43 +01:00
Sébastien Helleu 391d88d296 irc: fix set of variable "pos_account" in callback for message "354" 2015-01-25 17:36:59 +01:00
Sébastien Helleu b1a1e14832 irc: free account before changing its value 2015-01-25 17:34:22 +01:00
Sébastien Helleu 5559b43518 irc: set away flag to 0 only if channel and nick are found 2015-01-25 17:34:22 +01:00
Sébastien Helleu 4c1e13fd45 irc: force host to NULL after free 2015-01-25 17:34:22 +01:00
Sébastien Helleu 0fade5ccd0 irc: move account callback to keep protocol callbacks sorted alphabetically 2015-01-25 16:02:46 +01:00
Sébastien Helleu 939c7b29c0 irc: shorten code in account callback 2015-01-25 16:00:31 +01:00
Sébastien Helleu 0f1e997090 irc: add "account" in irc_nick_print_log() 2015-01-25 15:25:41 +01:00
Sébastien Helleu 3c885fa80f irc: add "account" in irc_nick hdata 2015-01-25 15:24:52 +01:00
Sébastien Helleu fad11a6b93 irc: remove useless save of variables in irc_nick_new() when updating nick 2015-01-25 15:23:39 +01:00
Sébastien Helleu 055d7de721 irc: shorten code to call irc_nick_new() in join callback 2015-01-25 15:17:51 +01:00
Sébastien Helleu 62256251be irc: change type of "account" parameter to "const char *" in irc_nick_new() 2015-01-25 15:16:55 +01:00
Sébastien Helleu 5886820679 irc: remove compiler warning about unused parameter in irc_channel_remove_account() 2015-01-25 15:13:11 +01:00
Sébastien Helleu 0a75d79e93 irc: fix memory leak on nick account in irc_channel_remove_account() 2015-01-25 15:00:38 +01:00
Sébastien Helleu d2ef6e675d Merge remote-tracking branch 'origin/pr/246' into irc-account-notify 2015-01-25 14:56:47 +01:00
Sébastien Helleu 12b30a4446 core: add table of contents in ChangeLog and ReleaseNotes 2015-01-25 14:30:06 +01:00
Mikaela Suomalainen af94831894 doc: remove "brew install aspell" from FAQ 2015-01-25 11:25:29 +01:00
Sébastien Helleu d8f5185a90 core: add version 1.1.1 in weechat.spec 2015-01-25 09:54:02 +01:00
Sébastien Helleu 772d2649ee core: add version 1.1.1 in ChangeLog and ReleaseNotes 2015-01-25 09:15:14 +01:00
Nils Görs 91f9e6841c doc: update German documentation 2015-01-25 08:48:52 +01:00
Sébastien Helleu 047ddd2abe doc: update Japanese auto-generated files 2015-01-25 08:06:57 +01:00
Sébastien Helleu 1a5a2d5fa9 Merge pull request #321 from l/translation_ja
core: update Japanese translations
2015-01-25 08:03:43 +01:00
AYANOKOUZI, Ryuunosuke d27d66772d core: update Japanese translations 2015-01-25 14:05:47 +09:00
Mikaela Suomalainen 709dc9e5ff doc: use all homebrew options in FAQ 2015-01-24 21:37:40 +01:00
Sébastien Helleu 9f8034f890 core: fix name of asciidoc CSS files (autotools) 2015-01-24 17:26:47 +01:00
Sébastien Helleu a6327bc6f2 core: fix random error when creating symbolic link weechat-curses on make install with cmake (bug #40313) 2015-01-24 16:33:54 +01:00
Sébastien Helleu 7fc4c63ba6 core: add check of symbolic link "weechat-curses" (Travis CI) 2015-01-24 16:30:13 +01:00
Sébastien Helleu 2f620a9419 doc: update German auto-generated files 2015-01-24 14:53:06 +01:00
Nils Görs 5c5971edc5 core: update German translations 2015-01-24 14:48:07 +01:00
Max Teufel eea6b07edc irc: don't keep valid account names when account-notify is disabled 2015-01-24 14:33:39 +01:00
Max Teufel f379adffd0 irc: add support for CAP account-notify 2015-01-24 14:09:54 +01:00
Sébastien Helleu ac8ccba8c8 irc: remove server "freenode" from default config file (closes #309) 2015-01-24 13:55:29 +01:00
Sébastien Helleu 1a68242f95 irc: don't close channel buffer on second /part when option irc.look.part_closes_buffer is off (closes #313) 2015-01-24 09:37:47 +01:00
Sébastien Helleu ed9e146e46 core: fix crash when a root bar has conditions different from active/inactive/nicklist (closes #317) 2015-01-23 21:21:39 +01:00
Sébastien Helleu a617cd857a irc: fix restore of query buffers on /upgrade (closes #315)
After /upgrade it was not possible to send a message in the query buffer or to
receive messages from this nick.

This commit fixes the search of query buffer when creating the irc channel
(with type "private").

The bug was introduced by commit 9749b65f7e.
2015-01-23 20:02:25 +01:00
Sébastien Helleu ba5e657b3c doc: update German auto-generated files 2015-01-23 19:54:15 +01:00
Sébastien Helleu db0fd024fe core: add Sven Knurr in authors and German translations file 2015-01-23 19:49:51 +01:00
Sven Knurr 71367c1aa0 core: fix typos in German translations 2015-01-23 19:47:07 +01:00
Nils Görs a8c06922da core: update German translations 2015-01-23 08:59:38 +01:00
Sébastien Helleu 9c7ed50a39 doc: update description of server option "sasl_key" in user's guide 2015-01-23 07:36:13 +01:00
Sébastien Helleu 25671248e3 doc: add more info about scripts in quickstart guide 2015-01-21 22:34:05 +01:00
Sébastien Helleu 8807324317 doc: add instructions for SASL "ecdsa-nist256p-challenge" 2015-01-21 21:37:10 +01:00
Sébastien Helleu e555d82d59 core: update translations 2015-01-21 07:53:30 +01:00
Sébastien Helleu b0117f0d18 core: add gnutls version in #if compiler directives 2015-01-21 07:50:54 +01:00
Sébastien Helleu b30ad7d7f6 irc: fix compilation of SASL "ecdsa-nist256p-challenge"
Gnutls >= 3.0.21 is now required for SASL "ecdsa-nist256p-challenge".
Gnutls >= 3.3.0 is required to display the public key when connecting.
2015-01-21 07:49:20 +01:00
Sébastien Helleu 9a1af2d4a8 core: update French translations 2015-01-20 07:40:34 +01:00
Sébastien Helleu e2be01833f irc: add support of "ecdsa-nist256p-challenge" SASL mechanism (closes #251) 2015-01-19 23:52:33 +01:00
Sébastien Helleu 083a6c741d core: check that filename is not NULL in function util_file_get_content 2015-01-19 23:15:30 +01:00
Sébastien Helleu 860ca4be20 irc: fix /join on a channel buffer opened with autojoin but which failed to join 2015-01-19 20:22:58 +01:00
Sébastien Helleu f4679ea49f Merge pull request #307 from l/translation_ja
core: update Japanese translations
2015-01-18 07:44:45 +01:00
AYANOKOUZI, Ryuunosuke 8986ab9621 core: update Japanese translations 2015-01-18 12:54:58 +09:00
Sébastien Helleu 99d20e97c6 irc: send QUIT to server and no PART for channels when the server buffer is closed (closes #294) 2015-01-17 15:18:50 +01:00
Sébastien Helleu 0d60871ec6 doc: fix typo in Russian man page 2015-01-17 08:14:28 +01:00
Sébastien Helleu 9fbd138518 irc: fix order of channel buffers opened (closes #303) 2015-01-16 20:20:40 +01:00
Sébastien Helleu 186328a203 doc: fix translator name in Russian man page and quickstart 2015-01-16 20:18:57 +01:00
Sébastien Helleu 9749b65f7e irc: fix crash in buffer close when server name is the same as a channel name (closes #305) 2015-01-15 22:43:08 +01:00
Sébastien Helleu c3ca9d3d9c doc: update translator name in Russian man page and quickstart 2015-01-15 22:12:30 +01:00
Sébastien Helleu e5c202404f doc: add Russian man page, update Russian quickstart 2015-01-15 21:37:52 +01:00
Sébastien Helleu ebcd84af02 core: update ChangeLog 2015-01-15 07:43:12 +01:00
Sébastien Helleu cf5501f69c core: add priority in plugins to initialize them in order
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer,
irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-15 07:40:38 +01:00
Sébastien Helleu 66e0455951 doc: remove build of asciidoc CSS files
This fixes a compilation problem on Debian Squeeze where cmake (2.8.2) seems
to not work well with dependencies across different directories
(/doc and /doc/xx).
2015-01-14 07:35:56 +01:00
Sébastien Helleu fdcf46b476 doc: add translators in docs, move table of contents on the left, build HTML5 2015-01-12 21:53:34 +01:00
Sébastien Helleu b2954aaf27 Version 1.2-dev 2015-01-11 10:40:43 +01:00
Sébastien Helleu eb81c4752b Version 1.1 2015-01-11 09:39:40 +01:00
Sébastien Helleu e95350a6b2 core: add version 1.0.1 in weechat.spec 2015-01-11 09:37:15 +01:00
Sébastien Helleu 2021e63cd6 irc: fix warning on cast of a pointer 2015-01-10 09:29:13 +01:00
Krzysztof Korościk 91b108e570 weechat_user.pl: update translations 2015-01-09 22:03:31 +01:00
Sébastien Helleu 6d6d9d6c70 Version 1.1-rc2 2015-01-06 21:27:29 +01:00
Sébastien Helleu 07b0585ca5 doc: remove option ssl_dhkey_size for freenode
The default value (2048) is now OK for freenode.
2015-01-06 21:14:15 +01:00
Sébastien Helleu 8f668bb18c irc: defer the auto-connection to servers with a timer (closes #279, task #13038) 2015-01-06 21:05:38 +01:00
Sébastien Helleu ca5aa6695f core: fix NULL pointer in free of bar window (closes #293); add extra checks on bar window pointers 2015-01-03 19:18:09 +01:00
Sébastien Helleu 6d1251415f doc: fix compilation of man pages with autotools in source directory 2015-01-03 10:06:36 +01:00
Sébastien Helleu d8e8053bea core: sync debian files with debian git repository 2015-01-03 09:04:54 +01:00
Sébastien Helleu 677d325078 doc: update Japanese auto-generated files 2015-01-03 08:39:49 +01:00
Sébastien Helleu 8221c22e1e Merge pull request #292 from l/translation_ja
core: update Japanese translations
2015-01-03 08:36:29 +01:00
AYANOKOUZI, Ryuunosuke a9653008d5 core: update Japanese translations 2015-01-03 16:16:41 +09:00
Sébastien Helleu 235cc3f9e2 core: do not add flag "-fPIC" on Cygwin (not needed) 2015-01-01 13:38:11 +01:00
Sébastien Helleu 00ba2e8c4d core: fix compilation of plugins with cmake >= 3.1 (closes #287)
The flag -fPIC is now forced for compilation of plugins.
It should fix compilation problems when cmake doesn't add this flag.
2015-01-01 13:23:57 +01:00
Sébastien Helleu a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sébastien Helleu ce98526302 doc: update German auto-generated files 2014-12-28 22:13:01 +01:00
Sébastien Helleu b90b21ffa0 doc: fix typo in user's guide 2014-12-28 22:11:01 +01:00
Nils Görs ffb736f1b4 core: update German translations 2014-12-28 13:13:29 +01:00
Sébastien Helleu 27431e234d core: check bar conditions in root bars and on each update of a bar item 2014-12-28 11:42:57 +01:00
Sébastien Helleu aa0289cbbd doc: update Polish and Japanese auto-generated files 2014-12-27 14:16:48 +01:00
Sébastien Helleu bab75fe1ee Merge pull request #284 from l/translation_ja
core: update Japanese translations
2014-12-27 14:14:54 +01:00
AYANOKOUZI, Ryuunosuke dc1993edca core: update Japanese translations 2014-12-27 20:59:23 +09:00
Krzysztof Korościk db9290aaea po: polish translation update 2014-12-26 19:52:18 +01:00
Krzysztof Korościk b9eb186e17 doc: update polish translations 2014-12-26 18:50:40 +01:00
Sébastien Helleu bf05086878 irc: remove useless refresh of bar item
And the name of item was wrong ("nicklist" instead of "buffer_nicklist").
2014-12-26 15:44:26 +01:00
Sébastien Helleu 966a7b5143 doc: update auto-generated files 2014-12-21 14:42:47 +01:00
Nils Görs c2c17e7b46 core: update German translations 2014-12-21 13:41:53 +01:00
Sébastien Helleu 5523d9c025 Version 1.1-rc1 2014-12-21 13:05:19 +01:00
Sébastien Helleu adb4d0debd irc: add option "reorder" in command /server (closes #229) 2014-12-21 11:12:32 +01:00
Mikaela Suomalainen afce3a6427 core: replace irc.freenode.net by chat.freenode.net
Freenode wants people to use chat.freenode.net instead of
irc.freenode.net which is alias to chat.freenode.net.
2014-12-21 09:20:26 +01:00
Sébastien Helleu 0b2be21f1f core: fully evaluate commands bound to keys in cursor and mouse contexts 2014-12-20 08:07:13 +01:00
Nils Görs 280784dcdd Merge branch 'master' of https://github.com/weechat/weechat 2014-12-15 20:39:47 +01:00
Nils Görs ffb3c4bd0a core: update German translations 2014-12-15 20:38:35 +01:00
Sébastien Helleu 1c3ee27c46 doc: remove SASL mechanism "dh-blowfish" from docs 2014-12-15 07:43:13 +01:00
Sébastien Helleu 02439b0182 Merge pull request #278 from l/translation_ja
core: update Japanese translations
2014-12-15 07:39:35 +01:00
AYANOKOUZI, Ryuunosuke 040d92f5b9 core: update Japanese translations 2014-12-15 14:48:34 +09:00
Sébastien Helleu 624083f41a irc: open channel buffers before the JOIN is received from server (autojoin and manual joins) (closes #216)
New options:
- irc.look.buffer_open_before_autojoin
- irc.look.buffer_open_before_join
2014-12-14 20:23:45 +01:00
Sébastien Helleu 8d3a55c6be irc: rename argument with new server name in function irc_server_rename() 2014-12-14 13:01:40 +01:00
Sébastien Helleu 27817908f4 core: add flag -L for curl (Travis CI) 2014-12-13 17:27:55 +01:00
Sébastien Helleu 872f531fe4 core: replace wget by curl (Travis CI) 2014-12-13 09:54:16 +01:00
Sébastien Helleu 9618e29d43 doc: update URL to WeeChat debian repositories (tester's guide) 2014-12-13 09:26:55 +01:00
Sébastien Helleu 0cd2aff765 core: use https for WeeChat URLs 2014-12-13 09:16:09 +01:00
Sébastien Helleu 7818e08964 tests: fix compilation of tests with clang (closes #275) 2014-12-10 21:15:40 +01:00
Sébastien Helleu 1f1611c916 relay: wait for message CAP END before sending join of channels and backlog to the client (closes #223) 2014-12-07 19:14:37 +01:00
Sébastien Helleu 72e6b3d703 core: split info/infolist callbacks 2014-12-05 07:49:45 +01:00
Sébastien Helleu e9f367b7e7 irc: split info/infolist callbacks 2014-12-04 07:40:35 +01:00
Sébastien Helleu bd59c587d8 xfer: rename callback for infolist "xfer" 2014-12-03 07:37:16 +01:00
Sébastien Helleu a697dfcc4d relay: rename info/infolist callbacks 2014-12-02 07:37:36 +01:00
Sébastien Helleu 9e8a6d1e20 script: rename callback for infolist "script_script" 2014-12-01 07:50:11 +01:00
Sébastien Helleu 01c6fb5566 logger: rename callback for infolist "logger_buffer" 2014-11-30 08:59:27 +01:00
Sébastien Helleu fa5d9bb564 fifo: rename callback for info "fifo_filename" 2014-11-29 09:43:20 +01:00
Sébastien Helleu c357408c2c aspell: rename callback for info "aspell_dict" 2014-11-28 07:54:23 +01:00
Sébastien Helleu cb60cf9640 alias: rename callback for infolist "alias" 2014-11-27 19:31:49 +01:00
Sébastien Helleu afef4b0d8a irc: add missing server options "sasl_timeout", "sasl_fail" and "notify" in output of /server listfull 2014-11-23 15:09:59 +01:00
Nils Görs c2dc541d0d core: update German translations 2014-11-23 12:18:12 +01:00
Sébastien Helleu 173b4c9749 irc: remove unused variable 2014-11-23 10:47:55 +01:00
Sébastien Helleu 7aa7098297 core: update ChangeLog (closes #265, task #12204) 2014-11-23 10:43:54 +01:00
Sébastien Helleu c48a5896af core: update translations 2014-11-23 10:40:32 +01:00
Sébastien Helleu 4f4045fb84 irc: rename server option "sasl_disconnect_on_fail" to "sasl_fail", change type to integer (enum)
New possible values are:
- "continue": ignore the SASL failed (continue connection to server
  without authentication)
- "reconnect": disconnect and schedule a reconnection to server
- "disconnect": disconnect
2014-11-23 10:38:09 +01:00
Sébastien Helleu 570beab90a irc: merge arrays with server options names and default values into a single array 2014-11-23 09:30:26 +01:00
Sébastien Helleu 4dd5125054 Merge branch 'feature/sasl_disconnect_on_fail' of git://github.com/maxteufel/weechat into maxteufel-feature/sasl_disconnect_on_fail 2014-11-23 08:54:59 +01:00
Sébastien Helleu b460055f78 tests: add tests of regex replace with empty regex or regex_replace 2014-11-23 08:32:52 +01:00
Sébastien Helleu ae013b7881 core: fix regex replace in eval_expression when regex or regex_replace is empty 2014-11-23 08:31:29 +01:00
Sébastien Helleu 3fac3b1bf9 api: fix truncated process output in hook_process() (closes #266) 2014-11-22 19:33:48 +01:00
Max Teufel 78234956b0 irc: add option irc.server.*.sasl_disconnect_on_fail (task #12204) 2014-11-22 13:44:44 +01:00
Sébastien Helleu 81e337645c core: fix Lua detection on FreeBSD with cmake 2014-11-22 11:23:01 +01:00
Sébastien Helleu 5f75dc26fd doc: update Japanese auto-generated files 2014-11-22 11:22:40 +01:00
Sébastien Helleu 793780e043 Merge pull request #264 from l/translation_ja
core: update Japanese translations
2014-11-22 11:21:05 +01:00
Max Teufel e460d48d48 irc: handle ERR_NICKLOCKED (902) 2014-11-22 09:35:59 +01:00
AYANOKOUZI, Ryuunosuke 57f8383190 core: update Japanese translations 2014-11-22 17:27:32 +09:00
Sébastien Helleu 3890f6cb0b core: add parentheses after function names in ChangeLog 2014-11-22 08:37:04 +01:00
Sébastien Helleu 1ef3237b6b api: return value in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR 2014-11-22 08:14:29 +01:00
Sébastien Helleu e253a2509a tests: add hashtable tests with multiple items giving same hashed key 2014-11-18 20:12:25 +01:00
Sébastien Helleu debfb57d0f relay: send messages "_buffer_localvar_*" and "_buffer_type_changed" with sync "buffers" (closes #191) 2014-11-16 10:53:55 +01:00
Nils Görs 9e3fd56fd8 doc: update German documentation 2014-11-16 09:16:18 +01:00
Sébastien Helleu 12c997573b core: fix display bug when scrolling in buffer on a filtered line (closes #240) 2014-11-16 08:52:33 +01:00
Sébastien Helleu 0f8520456b doc: update German auto-generated files 2014-11-15 21:41:48 +01:00
Nils Görs 64ea20fe8c core: update German translations 2014-11-15 21:21:27 +01:00
Sébastien Helleu 786999b4a3 script: add option script.scripts.url_force_https (closes #253) 2014-11-15 18:28:34 +01:00
Sébastien Helleu bc3c81ee4f doc: update German auto-generated files 2014-11-15 18:25:16 +01:00
Sébastien Helleu 229a6c6342 doc: update auto-generated files with URL options 2014-11-15 18:24:50 +01:00
Sébastien Helleu 91140b2ebc core: add constant for libcurl >= 7.38.0 2014-11-15 15:58:57 +01:00
Sébastien Helleu cf9e8d140a core: regroup libcurl constants/options by version 2014-11-15 15:49:21 +01:00
Sébastien Helleu c58a195590 core: add debug message in hook_process when core debug >= 1 2014-11-15 10:53:57 +01:00
Sébastien Helleu 66cacdc7dc doc: fix docstrings of functions 2014-11-12 20:01:02 +01:00
Nils Görs 8b4e5a89b1 core: update German translations 2014-11-11 18:01:36 +01:00
Sébastien Helleu 55712b91cb doc: add IRC color codes 16-99 in user's guide 2014-11-11 11:17:50 +01:00
Sébastien Helleu 6f5f6da0eb irc: add infolist "irc_color_weechat" 2014-11-11 11:17:50 +01:00
Sébastien Helleu 9be4bc07b9 irc: add support for color codes 16-99 in IRC messages (closes #228) (patch from Nei) 2014-11-11 11:16:56 +01:00
Sébastien Helleu 76d2e72ed2 doc: update Japanese auto-generated files 2014-11-10 07:43:52 +01:00
Sébastien Helleu f16ab3bb67 Merge pull request #252 from l/translation_ja
core: update Japanese translations
2014-11-10 07:41:08 +01:00
AYANOKOUZI, Ryuunosuke cb662377fe core: update Japanese translations 2014-11-10 06:35:16 +09:00
Sébastien Helleu f9401f5858 core: update ChangeLog 2014-11-09 17:39:56 +01:00
Sébastien Helleu a999c8a4c7 core: update translations 2014-11-09 17:35:35 +01:00
Sébastien Helleu 2d48964463 xfer: fix code style 2014-11-09 17:35:23 +01:00
Sébastien Helleu 037bf70817 Merge branch 'xfer_chat' of git://github.com/talisein/weechat-1 into talisein-xfer_chat 2014-11-09 17:10:30 +01:00
Sébastien Helleu 8cd3360a9a core: update ChangeLog 2014-11-09 16:31:20 +01:00
Sébastien Helleu 33a6469359 xfer: fix comments 2014-11-09 16:31:09 +01:00
Sébastien Helleu 58f001931b core: update translations 2014-11-09 16:24:34 +01:00
Sébastien Helleu aa7c936cfc xfer: return 0/1 instead of WEECHAT_RC_OK/ERROR in function xfer_resolve_addr 2014-11-09 16:21:24 +01:00
Sébastien Helleu 52c09f0f7a Merge branch 'xfer_wildcard' of git://github.com/talisein/weechat-1 into talisein-xfer_wildcard 2014-11-09 16:02:43 +01:00
Sébastien Helleu e457aa0855 doc: update German auto-generated files 2014-11-09 15:36:59 +01:00
Nils Görs e34f07d8e1 core: update German translations 2014-11-09 15:31:43 +01:00
Sébastien Helleu af0397fb87 core: add option weechat.completion.command_inline (task #12491) 2014-11-09 12:29:41 +01:00
Nils Görs 5bfd710e62 doc: update German documentation 2014-11-08 14:56:21 +01:00
Sébastien Helleu 2f7dbd746e core: add Travis CI builds with Python 3 and without GnuTLS 2014-11-08 14:02:30 +01:00
Sébastien Helleu cde0aa2a4d doc: add list of bar items not used in bars by default (user's guide) 2014-11-08 10:54:32 +01:00
Sébastien Helleu 524d66d624 doc: update German auto-generated files 2014-11-07 07:37:10 +01:00
Sébastien Helleu 2b84b771fb python: remove comment added by mistake 2014-11-07 07:31:58 +01:00
Nils Görs 7aee7d863c core: update German translations 2014-11-06 21:44:57 +01:00
Sébastien Helleu d6a33fb0a6 core: update ChangeLog 2014-11-06 20:25:56 +01:00
Sébastien Helleu 5882fe6abd core: update translations 2014-11-06 20:23:56 +01:00
Nils Görs ee7c280d7e core: add bar item "mouse_status", new options weechat.look.item_mouse_status and weechat.color.status_mouse 2014-11-06 08:06:00 +01:00
Sébastien Helleu 7baec91874 doc: add "beep" trigger in question about highlights (FAQ) 2014-11-05 07:41:35 +01:00
Sébastien Helleu d9a49db454 irc: use option irc.look.nick_mode_empty to display nick prefix in bar item "input_prompt" 2014-11-04 21:00:25 +01:00
Sébastien Helleu 96325f913d irc: disable SSLv3 by default in server option "ssl_priorities" (closes #248) 2014-11-04 20:55:01 +01:00
Sébastien Helleu cdca3094ec relay: disable SSLv3 by default
The new default value for option relay.network.ssl_priorities is now
"NORMAL:-VERS-SSL3.0".
2014-11-04 20:53:04 +01:00
Sébastien Helleu 0d1abd3899 tests: add tests of functions string_shared_get and string_shared_free 2014-11-03 20:52:02 +01:00
Sébastien Helleu e85ae88b25 relay: don't remove relay from config when the binding fails (closes #225), add options "stop" and "restart" in command /relay 2014-11-02 11:16:39 +01:00
Sébastien Helleu a2c7420262 core: send mouse code only one time after delay with command /mouse enable|disable|toggle <delay> 2014-11-01 23:00:30 +01:00
Sébastien Helleu a834c438c6 core: add signals "mouse_enabled" and "mouse_disabled" (closes #244) 2014-11-01 22:40:29 +01:00
Sébastien Helleu 1a3051188c core: send mouse code only one time to terminal with command /mouse enable|disable|toggle 2014-11-01 22:32:57 +01:00
Sébastien Helleu 14edef2a4d doc: update German auto-generated files 2014-11-01 22:12:41 +01:00
Nils Görs 77d6f0d08e doc: update German documentation 2014-11-01 21:23:12 +01:00
Sébastien Helleu e0810ae6d5 trigger: fix trigger example "effects" in /help trigger (update regex to new format) 2014-11-01 20:34:52 +01:00
Sébastien Helleu de067ff6a0 irc: reformat some code to make it more readable 2014-11-01 17:59:02 +01:00
Sébastien Helleu 25c775d850 doc: update German auto-generated files 2014-11-01 17:56:31 +01:00
Sébastien Helleu 218a3f5dfd core: add issue #143 in ChangeLog 2014-11-01 17:55:45 +01:00
Nils Görs 8f21f6bd33 doc: update German documentation 2014-11-01 16:39:47 +01:00
Nils Görs 3d3f9bb9d5 core: update German translations 2014-11-01 15:35:40 +01:00
Sébastien Helleu 5af886d205 irc: add "extended-join" in help of server option "capabilities" 2014-11-01 15:13:41 +01:00
Sébastien Helleu fc94bf8743 core: update ChangeLog 2014-11-01 15:11:03 +01:00
Sébastien Helleu 5d46c5ef16 core: update translations 2014-11-01 15:09:49 +01:00
Sébastien Helleu b5524cee53 irc: fix display of "(null)" as real name when it is missing in extended-join 2014-11-01 15:08:34 +01:00
Max Teufel aa2934c3d9 irc: add support for CAP extended-join 2014-11-01 14:05:46 +01:00
Sébastien Helleu 886dd7d452 core: update ChangeLog 2014-11-01 12:07:38 +01:00
Sébastien Helleu 483a464b55 core: update translations 2014-11-01 11:59:37 +01:00
Sébastien Helleu ad389153e1 irc: fix display of channel exception list (348) with 6 arguments (date missing) 2014-11-01 11:54:51 +01:00
Sébastien Helleu b1caceb6e5 irc: add argument "server_message" in function irc_nick_color_for_msg 2014-11-01 11:40:21 +01:00
Sébastien Helleu 0d1bfb4dc5 Merge branch 'master+irc_protocol_nick_address' of git://github.com/maxteufel/weechat into maxteufel-master+irc_protocol_nick_address 2014-11-01 10:30:58 +01:00
Sébastien Helleu 24c4c04741 core: fix buffer property "lines_hidden" when merging buffers or when a line is removed from a buffer (closes #226) 2014-11-01 10:23:33 +01:00
Sébastien Helleu 3d4c4aac9b doc: minor changes in developer's guide 2014-11-01 10:14:32 +01:00
Sébastien Helleu 013165209a irc: remove IRC color codes from buffer title in channels (closes #237) 2014-10-31 07:48:46 +01:00
Sébastien Helleu 3d791fb806 doc: update German auto-generated files 2014-10-31 07:33:11 +01:00
Nils Görs 3e22a91b70 core: update German translations 2014-10-31 06:53:33 +01:00
Sébastien Helleu 4cda9a5105 core: fix typo in French translation of /help connect 2014-10-30 07:42:13 +01:00
Sébastien Helleu 670e4d7e78 core: fix table layout in release notes 2014-10-29 21:08:22 +01:00
Sébastien Helleu f804484b06 doc: fix typos in French docs 2014-10-29 07:36:27 +01:00
Sébastien Helleu 593fe4bdd0 doc: fix missing French translation in man page 2014-10-28 07:41:29 +01:00
Sébastien Helleu 25f8a629f6 core: fix typos in release notes 2014-10-27 07:32:04 +01:00
Sébastien Helleu 3accbd639f irc: automatically add current channel in command /samode (closes #241) 2014-10-26 19:24:52 +01:00
Sébastien Helleu f2f5d83abe core: replace package libgnutls28-dev by libgnutls-dev (Travis CI) 2014-10-26 18:50:43 +01:00
Sébastien Helleu 5ff0efc3f5 core: replace package libgcrypt20-dev by libgcrypt11-dev (Travis CI) 2014-10-26 18:45:56 +01:00
Sébastien Helleu d8893f29e7 core: fix installation of required packages (Travis CI) 2014-10-26 18:42:04 +01:00
Sébastien Helleu 2fb2d7a854 core: display libs used when running WeeChat in Travis 2014-10-26 18:22:49 +01:00
Sébastien Helleu 134a5f53d4 relay: add option relay.network.ssl_priorities (closes #234) 2014-10-26 18:03:47 +01:00
Sébastien Helleu a092e72731 core: add note about option weechat.look.color_nick_offline in help of color options for offline nick 2014-10-26 13:13:17 +01:00
Sébastien Helleu 125adea650 trigger: fix memory leak when allocating a new trigger with several regex 2014-10-26 12:32:29 +01:00
Sébastien Helleu 3f5a810254 trigger: evaluate and replace regex groups at same time, new format for regex option in triggers (incompatible with version 1.0) (closes #224) 2014-10-26 12:30:13 +01:00
Sébastien Helleu a012eefb77 doc: update auto-generated files 2014-10-25 09:44:04 +02:00
Nils Görs 66dab8560c core: update German translations 2014-10-25 08:38:35 +02:00
Sébastien Helleu 4d67359519 Merge pull request #239 from l/translation_ja
core: update Japanese translations
2014-10-25 08:17:30 +02:00
AYANOKOUZI, Ryuunosuke 5a7d437d86 core: update Japanese translations 2014-10-25 09:39:37 +09:00
Sébastien Helleu 65d15042d3 api: fix crash when reading config options with NULL value (closes #238) 2014-10-23 21:53:35 +02:00
Sébastien Helleu 2498ff63db core: display time in bare display only if option weechat.look.buffer_time_format is not an empty string 2014-10-22 21:35:33 +02:00
Sébastien Helleu 633a32ccd3 api: add regex replace feature in function string_eval_expression 2014-10-22 21:19:54 +02:00
Sébastien Helleu 972bd26e5e core: call "callback_free" in functions arraylist_{remove|clear|free}
This fixes a memory leak in completions which are using this callback
to free words in the completion list.
2014-10-17 07:55:21 +02:00
Sébastien Helleu 413f60ff30 core: fix memory leak in completion 2014-10-16 20:47:31 +02:00
Sébastien Helleu 5f98f20c94 tests: fix memory leak in hashtable tests 2014-10-16 20:46:31 +02:00
Sébastien Helleu f62f759c3d core: add hide of chars in string in evaluation of expressions
The syntax is: ${hide:char,string}.
All chars in string are replaced with char (which can be one or more chars).
2014-10-16 20:46:06 +02:00
Sébastien Helleu 9d849db85a core: move default prefix/suffix for evaluation in wee-eval.h 2014-10-12 18:22:02 +02:00
Sébastien Helleu 45a0bfe1b3 tests: add test of function string_split_shell with an empty string 2014-10-12 18:09:57 +02:00
Sébastien Helleu 9249738582 tests: add extra check of argv pointer in test of string_split functions 2014-10-12 18:09:04 +02:00
Sébastien Helleu 8b23106145 tests: initialize argc to -1 instead of 1 before some tests 2014-10-12 18:07:53 +02:00
Sébastien Helleu 5014231818 tests: add some tests on function eval_expression 2014-10-12 17:58:13 +02:00
Sébastien Helleu b8b5cd26bc core: remove extra spaces in a comment 2014-10-12 12:02:41 +02:00
Sébastien Helleu b86bcc7ad3 core: fix .mailmap entries for myself 2014-10-11 17:05:26 +02:00
Sébastien Helleu 1dcea6c7ce core: add a .mailmap file
This file is used for example by command "git shortlog", to prevent duplicate
committers.
2014-10-11 16:49:35 +02:00
Sébastien Helleu 2867996d1f core: fix search/insert of elements in sorted arraylist with duplicates
The pointer and index returned is now the first element found with the value
(with the lower index if there are many elements with same value).
And the index for insert is the last element with same value + 1
(the higher index + 1).
2014-10-11 15:47:09 +02:00
Sébastien Helleu 7b23f008a6 core: add contributor in AUTHORS.asciidoc 2014-10-09 21:32:36 +02:00
Sébastien Helleu d1195bdd00 core: update ChangeLog 2014-10-09 21:32:36 +02:00
nyuszika7h 9eb6b189da irc: add tag "nick_xxx" in invite messages 2014-10-09 21:32:27 +02:00
Sébastien Helleu a06be57eb7 irc: fix completion of commands /msg, /notice and /query 2014-10-09 21:20:43 +02:00
Sébastien Helleu 1bda9f1077 relay: use comma separator in option relay.irc.backlog_tags, check the value of option when it is changed with /set 2014-10-08 22:25:35 +02:00
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 e59e502450 core: update ChangeLog (add arraylists) 2014-10-05 09:48:46 +02:00
Sébastien Helleu 652b91c007 doc: update auto-generated files with hdata 2014-10-05 09:38:27 +02:00
Sébastien Helleu 71425bddfb doc: add file "wee-arraylist.c" in developer's guide 2014-10-05 08:48:23 +02:00
Sébastien Helleu f53baf628e Merge branch 'arraylist' 2014-10-05 08:35:17 +02:00
Sébastien Helleu c6eb5e6b12 Merge pull request #222 from l/translation_ja
core: update Japanese translations
2014-10-04 15:02:21 +02:00
AYANOKOUZI, Ryuunosuke b43cd293f2 core: update Japanese translations 2014-10-04 21:44:26 +09:00
Sébastien Helleu 8b17e2a9d3 core: add note about security issues and translations in Contributing.asciidoc 2014-10-04 09:50:13 +02:00
Sébastien Helleu d426ec2d84 doc: update Japanese auto-generated files 2014-10-04 08:19:10 +02:00
Sébastien Helleu 0331591fdd Merge pull request #221 from l/translation_ja
core: update Japanese translations
2014-10-04 08:18:01 +02:00
AYANOKOUZI, Ryuunosuke a89582df6f core: update Japanese translations 2014-10-04 12:02:25 +09:00
Sébastien Helleu b79d63f4ac core: add pkg-config dependency for Cygwin packaging 2014-10-03 23:48:10 +02:00
Sébastien Helleu 60bfb73de5 core: fix Lua detection on Cygwin with cmake 2014-10-03 23:47:26 +02:00
Sébastien Helleu 3a80f0479e core: fix Lua detection on OpenBSD with cmake 2014-10-03 23:33:54 +02:00
Sébastien Helleu aa5d1738f2 core: update ChangeLog (add detection of Lua 5.2) 2014-10-03 22:48:13 +02:00
Sébastien Helleu 2411261536 doc: add pkg-config dependency in user's guide 2014-10-03 22:39:09 +02:00
Sébastien Helleu ea3792878f doc: remove tag "translation missing" in French user's guide 2014-10-03 22:38:32 +02:00
Sébastien Helleu 4ae24e1928 doc: update Lua version in dependencies (user's guide) 2014-10-03 22:38:15 +02:00
Sébastien Helleu 7a3f146845 core: add detection of Lua 5.2 with autotools 2014-10-03 22:31:09 +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 57104a0c6d doc: fix libs versions in dependencies (user's guide) 2014-10-03 22:16:30 +02:00
Sébastien Helleu 18c9ca8501 doc: add a link to dependencies in prerequisites chapter (user's guide) 2014-10-02 20:23:54 +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 cff9d718e7 doc: update German auto-generated files 2014-09-29 20:27:57 +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 cd7e7b479d core: fix asciidoc style in ChangeLog 2014-09-28 15:39:47 +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 0462aec0b4 doc: fix default bar items in status and input bars (user's guide) 2014-09-28 15:24:47 +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 8feb587c30 core: add contributor in AUTHORS.asciidoc 2014-09-28 15:06:28 +02:00
Sébastien Helleu ab9e9ab4e7 core: update ChangeLog (closes #217) 2014-09-28 15:05:37 +02:00
Tim D. Smith 9fe0aabb38 core: use HINTS for introspected values in Python detection 2014-09-28 15:00:32 +02:00
Sébastien Helleu 0f9a254239 core: update ChangeLog (closes #111) 2014-09-28 14:51:51 +02:00
Sébastien Helleu f48dd3bbc8 core: update ChangeLog and release notes 2014-09-28 14:49:39 +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 9aee60bd89 core: add release notes of version 1.0.1 2014-09-28 14:45:57 +02:00
Sébastien Helleu 1b94010f54 core: add ChangeLog of version 1.0.1 2014-09-28 09:38:42 +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 0f5be59a7c doc: add link to Homebrew site in user's guide and FAQ 2014-09-27 10:23:50 +02:00
Sébastien Helleu 8a4aa41511 doc: add instructions for compilation with Homebrew in user's guide and FAQ 2014-09-27 10:03:01 +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
Nils Görs 91a748b8e7 core: update German translations 2014-09-21 20:52:12 +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
Nils Görs 2040557107 core: update German translations 2014-09-20 17:26:51 +02:00
Sébastien Helleu 061f94aee9 core: fix sentence in ChangeLog 2014-09-20 15:44:28 +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 1801e0da3b doc: update Polish auto-generated files 2014-09-20 15:02:00 +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
Krzysztof Korościk 6a118ce940 core: update polish translations 2014-09-14 00:18:36 +02:00
Krzysztof Korościk ddf7604c3e doc: update polish translations 2014-09-14 00:01:10 +02:00
Sébastien Helleu 9ab9e121bb core: update ChangeLog 2014-09-06 08:56:39 +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 4c49113036 tests: add tests of hashtable functions 2014-09-03 07:38:46 +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 dda1a66fd7 tests: add tests of arraylist functions 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 3287843ff2 doc: fix example of color codes in command line (user's guide) 2014-09-01 07:44:54 +02:00
Sébastien Helleu 22dd769c3f doc: update Japanese auto-generated files 2014-08-31 20:00:15 +02:00
Sébastien Helleu 91639e5ed8 Merge pull request #183 from l/translation_ja
core: update Japanese translations
2014-08-31 19:41:01 +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
AYANOKOUZI, Ryuunosuke d06760ce5c core: update Japanese translations 2014-08-31 06:09:39 +09: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 bf723ba7bf perl: fix detection of Perl >= 5.20 with autotools 2014-08-26 07:41:20 +02:00
Sébastien Helleu 5424c5f9de core: fix build of tests with autotools 2014-08-25 20:26:19 +02:00
Sébastien Helleu f39b37351c tests: fix build of tests when the build directory is outside source tree (closes #178) 2014-08-25 07:38:38 +02:00
Sébastien Helleu 8672430acd core: sync debian files with debian git repository 2014-08-24 19:40:14 +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 6b017fa38a core: add new option weechat.look.command_incomplete in ChangeLog 2014-08-23 12:22:05 +02:00
Sébastien Helleu 9f57c21de2 doc: update auto-generated files with WeeChat options 2014-08-23 12:14:37 +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 f6c2fd9bce doc: update German auto-generated files 2014-08-23 11:44:35 +02:00
nils_2 3bb72d24b8 doc: update German documentation 2014-08-23 11:01:15 +02:00
nils_2 0c01a0ac98 doc: update German documentation 2014-08-23 10:51:44 +02:00
nils_2 59a0f52ab8 core: update German translations 2014-08-23 10:50:13 +02:00
Sébastien Helleu b010115556 core: add command to restore default triggers that have changed in version 1.1 (release notes) 2014-08-23 09:12:28 +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
Sébastien Helleu 94ddd4a8b7 core: add contributor in AUTHORS.asciidoc 2014-08-21 07:41:49 +02:00
Sébastien Helleu 31071172eb doc: update German auto-generated files 2014-08-20 21:58:44 +02:00
PhillipSz 9c009a8d69 core: update German translations 2014-08-20 21:54:08 +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
Sébastien Helleu 285de35d21 core: fix typo in French translation of /help set 2014-08-20 07:35:07 +02: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 25747a5f16 Merge pull request #166 from l/translation_ja
core: update Japanese translations
2014-08-16 20:11:05 +02:00
Sébastien Helleu be00ef006b doc: add missing files sec.conf and exec.conf in man page 2014-08-16 17:01:55 +02:00
AYANOKOUZI, Ryuunosuke 37f7d69cdc core: update Japanese translations 2014-08-17 00:01:14 +09:00
Sébastien Helleu 611a48837b core: add anchor "#support" for link to user's guide in AUTHORS 2014-08-16 15:45:39 +02:00
Sébastien Helleu 519d7cc79e core: add link to user's guide in AUTHORS 2014-08-16 15:43:27 +02:00
nils_2 420acac5ed core: update German translations 2014-08-16 11:54:51 +02:00
Sébastien Helleu d918c3d1b0 core: fix translation of message displayed after /upgrade 2014-08-16 11:50:15 +02:00
Sébastien Helleu 4de5627db2 irc: remove unneeded variable "seconds" 2014-08-16 11:50:01 +02:00
Sébastien Helleu ab8ea0f3cb irc: fix translation of CTCP PING reply (closes #137) 2014-08-16 11:37:43 +02:00
Sébastien Helleu e6ed4342a2 core: add a link to user's guide or WeeChat site for contacting developers 2014-08-16 10:36:50 +02:00
Sébastien Helleu fd7b5caf5c doc: add non-official support channel #weechat-de in user's guide 2014-08-16 10:35:48 +02:00
Sébastien Helleu e27083cddf core: remove obsolete WeeChat version in weechat.pot 2014-08-16 10:29:47 +02:00
Sébastien Helleu 4c12639f61 doc: add tags for missing translations in Japanese developer's guide 2014-08-16 09:24:40 +02:00
Sébastien Helleu dac076c242 aspell: display an error if command "/aspell setdict" is called without a dictionary 2014-08-16 09:07:10 +02:00
Sébastien Helleu 2d5f563d89 core: update ChangeLog 2014-08-16 09:03:38 +02:00
Sébastien Helleu 3f3eb55c6d aspell: remove unneeded else condition 2014-08-16 09:02:31 +02:00
nils_2 2629fd8c74 aspell: fix crash with command "/aspell addword" if no word is given (closes #164) 2014-08-15 20:56:52 +02:00
Sébastien Helleu 1b7352e379 core: add gettext-devel dependency for Cygwin packaging 2014-08-15 18:48:40 +02:00
Sébastien Helleu 8c3b85a05b core: install extra files for Cygwin in share/doc/weechat 2014-08-15 18:48:03 +02:00
Sébastien Helleu b7eb710b19 core: fix asciidoc style in ChangeLog 2014-08-15 15:12:37 +02:00
Sébastien Helleu bc34c3cfc2 tests: fix memory leak in tests launcher 2014-08-15 15:08:31 +02:00
Sébastien Helleu 23f91ea821 Version 1.1-dev 2014-08-15 13:20:15 +02:00
Sébastien Helleu addc27af2c Version 1.0
Yay! \o/
2014-08-15 10:09:01 +02:00
Sébastien Helleu dcf46a2ca0 tests: read WeeChat command line arguments in environment variable "WEECHAT_TESTS_ARGS" 2014-08-14 19:15:25 +02:00
Sébastien Helleu 99b7aa9d27 tests: fix memory leaks 2014-08-14 19:13:32 +02:00
Sébastien Helleu 00e79af39c tests: add tests of function string_split_shell 2014-08-14 19:12:00 +02:00
Sébastien Helleu 328eeee5e1 tests: add partial tests of functions hashtable_set* 2014-08-14 19:09:27 +02:00
Sébastien Helleu 346fb62cf6 tests: don't install binary "tests" with autotools 2014-08-14 19:06:21 +02:00
Sébastien Helleu 181e44d126 doc: add missing file "tests.cpp" in developer's guide 2014-08-14 19:05:48 +02:00
Sébastien Helleu 11baca39b8 debian: link against libgcrypt20-dev and libgnutls28-dev 2014-08-14 19:03:18 +02:00
Sébastien Helleu 536318eafe tests: add tests of function string_replace_with_callback 2014-08-14 07:38:42 +02:00
Sébastien Helleu 8506fa95b3 core: separate new features and bugs fixed in ChangeLog 2014-08-14 07:35:04 +02:00
Sébastien Helleu 06260182b0 doc: update Polish auto-generated files 2014-08-13 22:28:40 +02:00
Krzysztof Korościk d104a1fc13 core: updated polish translations 2014-08-13 21:31:02 +02:00
Sébastien Helleu 0f363218b6 core: make argument "errors" optional in function string_replace_with_callback 2014-08-13 07:33:49 +02:00
Sébastien Helleu 3d63ed0eaf Merge pull request #161 from l/translation_ja
core: update Japanese translations
2014-08-12 21:40:51 +02:00
AYANOKOUZI, Ryuunosuke ab6df91a3e core: update Japanese translations 2014-08-12 16:43:32 +09:00
Sébastien Helleu e4fb9a4a4b doc: add example with "callback_free_key" in function hashtable_set_pointer (plugin API reference) 2014-08-12 07:32:15 +02:00
Andrew Potter 62d891aea9 core: callback_free_key shouldn't point to already free'd value 2014-08-11 22:51:20 +02:00
Sébastien Helleu 4faa227a2d core: check that callback is not NULL in function string_replace_with_callback 2014-08-11 07:47:55 +02:00
Sébastien Helleu 8ab538c0d9 Version 1.0-rc3 2014-08-10 16:54:28 +02:00
Sébastien Helleu 93d472e3d0 core: fix potential crash in case of malloc error when resetting config option 2014-08-10 15:51:35 +02:00
Sébastien Helleu e226c2e147 irc: free nick immediately in case of malloc error 2014-08-10 15:50:18 +02:00
Sébastien Helleu 890a9e54be core: remove dead assignment in function hook_process_child 2014-08-10 15:50:18 +02:00
Sébastien Helleu 15bb7656a5 core: remove dead assignment in function hook_command_exec 2014-08-10 15:50:18 +02:00
Sébastien Helleu 733eb99b17 script: fix potential crash in case of malloc error 2014-08-10 15:50:08 +02:00
Sébastien Helleu a7ea40da2c core: remove dead assignment when converting mouse code 2014-08-10 13:47:08 +02:00
Sébastien Helleu 068776b5a7 core: fix zero-length malloc of an hashtable item with type "buffer" 2014-08-10 13:42:48 +02:00
Sébastien Helleu ccf18f4bf6 core: return immediately if localtime fails in window scroll 2014-08-10 13:35:25 +02:00
Sébastien Helleu fc1571645d logger: fix memory leaks in backlog 2014-08-10 13:25:35 +02:00
Sébastien Helleu 53a9a161f4 core: fix memory leak on /upgrade when file signature in upgrade file is invalid 2014-08-10 10:52:04 +02:00
Sébastien Helleu 27dd6cf72f core: fix memory leak in completion of config options values 2014-08-09 23:17:25 +02:00
Sébastien Helleu b78b5575c3 irc: fix memory leak in CTCP answer 2014-08-09 19:54:39 +02:00
Sébastien Helleu 4e43be6d2c core: fix memory leak when removing script files 2014-08-09 18:49:06 +02:00
Sébastien Helleu fc71ce0d43 core: fix bug with several arguments for command /buffer clear|hide|unhide 2014-08-09 18:19:27 +02:00
Sébastien Helleu 9358f076a3 exec: invert a condition to make code more readable 2014-08-09 17:43:45 +02:00
Sébastien Helleu 795b9c9da9 relay: fix memory leak during handshake on websocket 2014-08-09 17:41:16 +02:00
Sébastien Helleu 7a76a959ec relay: fix memory leak when receiving several lines from client (weechat protocol) 2014-08-09 17:40:18 +02:00
Sébastien Helleu a6aee98cb1 relay: fix memory leak when receiving commands from client (weechat protocol) 2014-08-09 17:15:22 +02:00
Sébastien Helleu 4c871760d2 relay: remove dead assignment 2014-08-09 16:37:10 +02:00
Sébastien Helleu ddd7a85f2d relay: fix crash when an IRC "MODE" command is received from client without arguments 2014-08-09 16:14:44 +02:00
Sébastien Helleu a538a9c08e tests: add tests of function string_replace_regex 2014-08-09 09:08:06 +02:00
Sébastien Helleu 5597c93b64 core: check that regex is not NULL in function string_replace_regex 2014-08-08 07:33:37 +02:00
Sébastien Helleu e7b604c97e core: fix example in comment of function string_replace_regex 2014-08-07 07:48:15 +02:00
Sébastien Helleu 13fc108c6d tests: add TODO comments for missing tests 2014-08-06 07:53:04 +02:00
Sébastien Helleu aa8a1cc775 core: add C++ compiler and CppUTest for tests in README 2014-08-05 07:36:01 +02:00
Sébastien Helleu 2cc265f34e tests: add tests of functions hashtable_hash_key_djb2 and hashtable_new 2014-08-04 07:41:24 +02:00
Sébastien Helleu 3c3311bf17 core: update ChangeLog 2014-08-03 14:44:37 +02:00
Sébastien Helleu 124b2668fe core: display warning on $TERM only if it doesn't start with "screen" (under screen/tmux) 2014-08-03 14:11:58 +02:00
Sébastien Helleu 5262e05177 doc: remove trailing whitespace in Polish user's guide 2014-08-03 14:09:44 +02:00
Sébastien Helleu 6dcb1e7b10 Revert "core: use argument "-i" for sed command (don't create a temporary file)"
This reverts commit b2466aae29.

The option "-i" is not supported on FreeBSD.
2014-08-03 13:49:11 +02:00
Krzysztof Korościk dbc30707aa update polish docs 2014-08-03 12:36:05 +02:00
Sébastien Helleu 8b1939059b Version 1.0-rc2 2014-08-03 12:01:41 +02:00
Sébastien Helleu e13593dceb core: fix build with autotools and gettext >= 0.19 2014-08-03 11:56:38 +02:00
Sébastien Helleu b2466aae29 core: use argument "-i" for sed command (don't create a temporary file) 2014-08-03 11:10:06 +02:00
Sébastien Helleu 6a09cf0ed3 core: fix display of bar item "buffer_filter" when toggling filters in current buffer (closes #150) 2014-08-03 10:33:45 +02:00
Sébastien Helleu 895a46c55f core: remove "set -x" in build.sh (the executed commands are already displayed) 2014-08-02 18:46:48 +02:00
Sébastien Helleu a93c92c5b1 core: add empty line in .travis.yml 2014-08-02 18:44:26 +02:00
Mikaela Suomalainen b1b5a3eac9 tests: make build.sh show executed commands & ...
...try to speed up make by using multiple jobs if there is more than one
CPU available

Travis CI should now show the commands that build.sh executes in the
log. I mean commands, not only their output.
2014-08-02 18:52:10 +03:00
Mikaela Suomalainen 21538edc9b core: enable fast_finishing (Travis CI)
fash_finish makes it so that if one job fails, the build is marked as
failed without having to wait for the other jobs to finish. If there are
still unfinished jobs at the time of failure, they continue running
after the build has been marked as failed.
2014-08-02 18:41:33 +03:00
Sébastien Helleu 1aa8fd09ef tests: add tests of functions string_is_command_char and string_input_for_buffer 2014-08-02 16:55:49 +02:00
Sébastien Helleu 28cb1ae6f5 tests: add tests of base 16/64 decoding/encoding 2014-08-02 16:54:24 +02:00
Sébastien Helleu cf3e0ccbfd core: fix result of hash function (in hashtables) on 32-bit systems 2014-08-02 16:53:12 +02:00
Sébastien Helleu 8a93906beb api: fix function string_decode_base64
The result of function was sometimes wrong, for example base64 decoding of
"YWJj" was returning "ab" instead of "abc".
2014-08-02 16:52:17 +02:00
Sébastien Helleu ad07527007 trigger: fix hook count on 32-bit systems 2014-08-02 16:21:00 +02:00
Sébastien Helleu 6295adad6d relay: fix number of bytes sent/received on 32-bit systems 2014-08-02 16:17:30 +02:00
Sébastien Helleu e29f01b4fb Merge branch 'travis-tests' 2014-08-02 15:47:20 +02:00
Sébastien Helleu ee1e181894 tests: remove test of han char in utf8_strlen_screen (failing on Ubuntu Precise) 2014-08-02 15:36:40 +02:00
Sébastien Helleu 1294bce155 tests: remove test of han char in utf8_char_size_screen (failing on Ubuntu Precise) 2014-08-02 15:25:56 +02:00
Sébastien Helleu ed05730a3b core: remove unused ubuntu PPA (Travis CI) 2014-08-02 15:14:53 +02:00
Sébastien Helleu 63d9f2452d core: replace package libcpputest-dev by amd64 version (Travis CI) 2014-08-02 15:10:41 +02:00
Sébastien Helleu d046315e8b api: fix function string_format_size on 32-bit systems 2014-08-02 11:44:15 +02:00
Sébastien Helleu f9b04635d3 tests: fix compilation of tests
The header gui-curses.h doesn't need to be included (this causes an error
because the real ncurses lib header is not found when compiling tests).
2014-08-02 11:38:58 +02:00
Sébastien Helleu 35574d63ab irc: fix duplicate sender name in display of wallops (closes #142, closes #145) 2014-08-02 11:35:43 +02:00
Sébastien Helleu 2987f9208e tests: add tests of function string_format_size 2014-08-01 07:34:35 +02:00
Sébastien Helleu aaa29153b0 tests: add tests of functions string_iconv* 2014-07-31 07:48:36 +02:00
Sébastien Helleu d2dc05b01e core: check that from/to arguments are not NULL in base16/64 functions 2014-07-30 07:44:25 +02:00
Sébastien Helleu 3d6b9ff5a7 tests: add tests of function string_is_word_char 2014-07-29 07:39:30 +02:00
Sébastien Helleu 3ffbb85cb9 core: check that string is not NULL in function string_input_for_buffer 2014-07-28 08:27:16 +02:00
Sébastien Helleu 12c8cd4988 core: check that string is not NULL in function string_iconv 2014-07-27 08:34:34 +02:00
Sébastien Helleu 7710084ba8 doc: update Japanese auto-generated files 2014-07-26 11:20:38 +02:00
Sébastien Helleu 329dbefbfd Merge pull request #140 from l/translation_ja
core: update Japanese translations
2014-07-26 11:17:55 +02:00
AYANOKOUZI, Ryuunosuke c3ec3cd3ed core: update Japanese translations 2014-07-26 17:56:38 +09:00
Sébastien Helleu ed76e7adc6 doc: fix examples of function string_format_size (plugin API reference) 2014-07-26 08:25:10 +02:00
Sébastien Helleu 0693ffb82b core: fix compilation warning on GNU/Hurd about unsigned long numbers 2014-07-25 22:23:46 +02:00
Sébastien Helleu db01880bd1 core: add comments in translations for file size units 2014-07-25 20:40:38 +02:00
nils_2 16874bd4ec core: update German translations 2014-07-25 09:13:56 +02:00
Sébastien Helleu f227e9ec3e core: add terabyte unit for size displayed 2014-07-25 07:57:48 +02:00
Sébastien Helleu e8c03ea513 core: download debian package libcpputest-dev from weechat.org (Travis CI) 2014-07-24 22:27:48 +02:00
nils_2 b62705a299 doc: update German documentation 2014-07-24 10:18:32 +02:00
Sébastien Helleu 4bebc81dcb doc: add min version for libcpputest-dev (user's guide) 2014-07-24 07:56:14 +02:00
Sébastien Helleu d9d36c8dd4 trigger: update comment 2014-07-23 07:49:05 +02:00
Andrew Potter 197cd30379 trigger: refuse triggers with . in their name 2014-07-22 22:27:14 -07:00
Sébastien Helleu 2331f68c88 core: add option "--yes" for add-apt-repository (Travis CI) 2014-07-22 21:14:35 +02:00
Sébastien Helleu 8386c1a210 tests: run tests after build on Travis CI 2014-07-22 21:05:53 +02:00
Sébastien Helleu 9177e02f1a tests: add -v option for command "tests" to increase verbosity (CMake) 2014-07-22 21:04:59 +02:00
nils_2 94f12b4b8b core: update German translations 2014-07-22 12:03:26 +02:00
Sébastien Helleu 2a7b23f65e Version 1.0-rc1 2014-07-21 22:23:36 +02:00
Sébastien Helleu 20b49746cc doc: add missing tag "host_xxx" in function printf_date_tags (plugin API reference) 2014-07-21 22:23:21 +02:00
Sébastien Helleu 3aadfc6765 core: fix insert of mouse code in input line after a partial key combo (closes #130) 2014-07-21 21:29:44 +02:00
Sébastien Helleu 29385e39be tests: fix compilation warning with autotools 2014-07-21 21:25:55 +02:00
Sébastien Helleu 63add00da7 tests: add compilation of tests with autotools 2014-07-21 21:25:43 +02:00
Sébastien Helleu fe74ab8eff core: add file cmake/FindCppUTest.cmake in tarball built by autotools 2014-07-21 21:20:20 +02:00
Sébastien Helleu 2eebb817fd tests: fix compilation of tests 2014-07-21 21:18:57 +02:00
Sébastien Helleu 27c37c0ac5 core: add script build.sh in tarball built by autotools 2014-07-20 23:18:32 +02:00
Sébastien Helleu 8c00ff1b46 core: move script git-version.sh into scripts directory 2014-07-20 23:12:05 +02:00
Sébastien Helleu d7e4fb7080 core: add install of autopoint in Travis CI 2014-07-20 22:36:19 +02:00
Sébastien Helleu c0d1a0d4b5 core: use run function to create build directory 2014-07-20 22:35:48 +02:00
Sébastien Helleu e5d6243155 core: add build with autotools for Travis CI 2014-07-20 22:31:33 +02:00
Sébastien Helleu d0b95b6858 core: remove whitespace in cmake files 2014-07-20 19:16:01 +02:00
Sébastien Helleu f2fd562d79 core: fix build with autotools (add main.c) 2014-07-20 18:53:13 +02:00
Sébastien Helleu 3600b31188 doc: add C++ compiler in dependencies to run tests (user's guide) 2014-07-20 17:02:02 +02:00
Sébastien Helleu d083b77d7f doc: add file main.c in developer's guide 2014-07-20 16:50:53 +02:00
Sébastien Helleu cc179e81c7 core: add main.c in list of translated files for gettext 2014-07-20 16:50:35 +02:00
Sébastien Helleu ce98ded306 core: fix link errors with ncurses library 2014-07-20 16:16:08 +02:00
Sébastien Helleu c077573303 core: add contributor in AUTHORS.asciidoc 2014-07-20 15:54:53 +02:00
Sébastien Helleu 4070a5d27b core: update ChangeLog 2014-07-20 15:53:25 +02:00
Sébastien Helleu 5408db58d1 tests: add UTF-8 tests (check of some invalid UTF-8 chars) 2014-07-20 15:50:51 +02:00
Sébastien Helleu 45f1b6bfc5 core: fix code style in function utf8_is_valid() 2014-07-20 15:50:12 +02:00
Sébastien Helleu 1e669e4b1e Merge branch 'master' of git://github.com/anders/weechat into anders-master 2014-07-20 12:41:39 +02:00
Sébastien Helleu 66959ad911 core: update translations 2014-07-20 12:27:52 +02:00
Sébastien Helleu ee0ed7b839 doc: remove obsolete "test" directory with weercd in developer's guide 2014-07-20 12:18:15 +02:00
Sébastien Helleu b4186d1f74 core: update ChangeLog 2014-07-20 12:17:44 +02:00
Sébastien Helleu db9a8e7bc4 tests: add unit tests using CppUTest
The tests can be run only via CMake:

  1. build with tests: cmake .. -DENABLE_TESTS=ON
  2. make
  3. ctest  (or ctest -V for verbose output)
2014-07-20 12:13:25 +02:00
Sébastien Helleu 91ce401769 core: move some detections from src/CMakeLists.txt to root CMakeLists.txt 2014-07-14 20:03:39 +02:00
Sébastien Helleu de7e7585dd core: do not exit WeeChat in weechat_end() (let the caller do that)
This is needed for automated tests, to exit with return code of tests.
2014-07-14 20:03:39 +02:00
Sébastien Helleu 9935b336ed core: move main() function into Curses GUI 2014-07-14 20:03:39 +02:00
Sébastien Helleu 1f65f80db4 core: send signal key_combo_xxx even for unknown combos 2014-07-14 20:02:26 +02:00
Sébastien Helleu 5911e94ec5 doc: update German auto-generated files 2014-07-14 19:38:16 +02:00
nils_2 2fabf45a38 core: update German translations 2014-07-14 19:34:30 +02:00
Sébastien Helleu eb4d1cf9e7 core: display a warning on startup if $TERM is not screen(-256color) under screen/tmux
The same warning is displayed with command "/debug term".
2014-07-14 19:00:23 +02:00
Sébastien Helleu a2cb702b66 core: add Curl options for versions 7.29.0 to 7.37.0 2014-07-14 17:25:08 +02:00
Sébastien Helleu dff20632ff script: fix display of curl errors 2014-07-14 16:05:43 +02:00
Sébastien Helleu 32751e59ca core: hide message timestamp in bare display if timestamp is disabled in buffer (closes #129) 2014-07-14 10:05:16 +02:00
Sébastien Helleu b14ad26fd5 aspell: rename variable "utf8_char_int" to "code_point" 2014-07-14 09:29:14 +02:00
Sébastien Helleu 2c3484d089 irc: display locally away status changes in private buffers (in addition to channels) (closes #117) 2014-07-12 17:32:54 +02:00
Sébastien Helleu 3ec3fb4e8d python: fix read of return value for callbacks returning an integer in Python 2.x (closes #125) 2014-07-12 14:51:39 +02:00
Sébastien Helleu c5710c6f24 core: fix evaluation of expressions with regex condition (closes #63)
The regex itself is not evaluated any more (so parentheses are kept).

Before the fix:
>> abcd =~ (?-i)^abc
== [0]
>> (abcd) =~ \(abcd\)
== [0]

After the fix:
>> abcd =~ (?-i)^abc
== [1]
>> (abcd) =~ \(abcd\)
== [1]
2014-07-12 10:10:05 +02:00
Sébastien Helleu e0312f7ecf core: add option "-mask" in command /unset (closes #112) 2014-07-12 09:14:56 +02:00
Sébastien Helleu f80a80204a core: add option weechat.color.status_nicklist_count (closes #109, closes #110) 2014-07-12 08:13:58 +02:00
Sébastien Helleu b168a43070 doc: update Japanese auto-generated files 2014-07-06 08:41:21 +02:00
Sébastien Helleu a0ef636824 Merge pull request #120 from l/translation_ja
core: update Japanese translations
2014-07-06 08:39:34 +02:00
AYANOKOUZI, Ryuunosuke 6e4d69c94d core: update Japanese translations 2014-07-06 11:23:43 +09:00
Sébastien Helleu 7a7399594f core: fix socks5 proxy for curl downloads (closes #119) 2014-07-05 22:22:16 +02:00
Sébastien Helleu 4350dd058e core: display curl error after a failed download 2014-07-05 22:17:55 +02:00
Sébastien Helleu 2b7b8cb365 doc: fix style of C/Python examples in docs 2014-07-05 16:45:48 +02:00
Sébastien Helleu bdcb9fb5d7 doc: fix example for function strcasecmp_range in Italian plugin API reference 2014-07-05 11:54:13 +02:00
Sébastien Helleu 95011c82e0 core: return only -1, 0 or 1 in string comparison functions 2014-07-05 11:38:44 +02:00
Sébastien Helleu 823db4475c core: check that timeval arguments are not NULL in timeval functions 2014-07-05 10:25:28 +02:00
Sébastien Helleu e0e3f9fdee core: check that regex is not NULL in function string_regcomp 2014-07-05 10:17:28 +02:00
Sébastien Helleu afa81c4594 core: check that regex is not NULL in function string_regex_flags 2014-07-05 10:15:29 +02:00
Sébastien Helleu d936880392 core: add note about result that must be freed in function string_mask_to_regex 2014-07-05 10:13:46 +02:00
Sébastien Helleu e75fef58c4 core: check that "chars" argument is not NULL in function string_strip 2014-07-05 10:05:35 +02:00
Sébastien Helleu 60c7696353 core: check that string is not NULL in function string_convert_escaped_chars 2014-07-05 10:03:15 +02:00
Sébastien Helleu 8fc8cbc129 core: add comment with return value of function string_strcasestr 2014-07-05 09:51:26 +02:00
Sébastien Helleu e702722842 core: check that string is not NULL in function string_strndup 2014-07-04 07:41:20 +02:00
Sébastien Helleu 494d046594 core: remove "www" in weechat.org URLs 2014-07-01 21:27:29 +02:00
nils_2 4579d4fb93 doc: update German documentation 2014-06-29 18:14:58 +02:00
nils_2 eaa28157ab doc: update German documentation 2014-06-29 18:14:46 +02:00
Sébastien Helleu 7700ef2207 doc: add a question in FAQ about CPU usage 2014-06-29 15:48:32 +02:00
Sébastien Helleu e4b3519418 doc: update German auto-generated files 2014-06-29 13:30:30 +02:00
nils_2 c252c2442b core: update German translations 2014-06-29 12:39:00 +02:00
Sébastien Helleu 9d3355b5a4 core: add note about semicolon to separate commands in /help eval 2014-06-29 11:48:04 +02:00
Sébastien Helleu 44de5bac65 core: update message displayed when passphrase is not set on /secure buffer 2014-06-28 14:50:15 +02:00
Sébastien Helleu 179dc0306e core: remove obsolete translations 2014-06-28 13:20:13 +02:00
Sébastien Helleu 980a9abcfd core: do not display content of passphrase on /secure buffer 2014-06-28 13:18:16 +02:00
Sébastien Helleu baffcc7b76 core: fix completion of plugins commands when beginning of command is given 2014-06-28 11:48:49 +02:00
Sébastien Helleu fa4aaa8aa1 core: fix completion of environment variable value when beginning of value is given 2014-06-28 11:46:17 +02:00
Sébastien Helleu 11cc85caea doc: update German auto-generated files 2014-06-27 22:46:11 +02:00
nils_2 699eabe6cb core: update German translations 2014-06-27 22:43:24 +02:00
Sébastien Helleu 39fc5b91de core: add missing declaration of "environ" (fix compilation on Mac OS X) 2014-06-27 22:11:46 +02:00
Sébastien Helleu 0191818368 core: remove extra spaces in /help set 2014-06-27 22:04:56 +02:00
Sébastien Helleu 1a1c50cc01 core: add option "env" in command /set 2014-06-27 07:54:53 +02:00
Sébastien Helleu 6cdcb6feca core: fix typo in German message 2014-06-21 19:07:28 +02:00
Sébastien Helleu da8bc733d4 doc: update German auto-generated files 2014-06-20 07:39:25 +02:00
nils_2 b26b30d5dc core: update German translations 2014-06-19 20:21:48 +02:00
Sébastien Helleu 56f5a01b99 irc: fix typo in a message 2014-06-19 07:49:54 +02:00
Anders Bergh b705e20a44 core: overlong UTF-8 encoding and surrogates (U+D800-DFFF) are invalid. 2014-06-16 22:24:46 +02:00
Sébastien Helleu d65afdfc7c doc: update German auto-generated files 2014-06-14 10:44:05 +02:00
nils_2 0eb75ec61a doc: update German documentation 2014-06-14 10:40:42 +02:00
nils_2 aaa02f0f5d core: update German translations 2014-06-14 10:40:25 +02:00
Sébastien Helleu dfb6516a11 irc: add value "+" for option irc.look.smart_filter_mode to use modes from server prefixes (closes #90)
The new default value of option irc.look.smart_filter_mode is now "+".
2014-06-14 09:53:07 +02:00
Sébastien Helleu 21c5583c3b core: update URL of WeeChat screenshot in README.asciidoc 2014-06-13 22:27:34 +02:00
Sébastien Helleu 086c5d31d6 doc: update Japanese auto-generated files 2014-06-12 07:37:41 +02:00
Sébastien Helleu edea6d1e46 Merge pull request #105 from l/translation_ja
core: update Japanese translations
2014-06-12 07:33:29 +02:00
AYANOKOUZI, Ryuunosuke a64fc0b50d core: update Japanese translations 2014-06-12 05:25:57 +09:00
Sébastien Helleu eac52b9931 core: set default value "merged" for option weechat.look.hotlist_remove 2014-06-11 07:59:57 +02:00
Sébastien Helleu 4151fa234e doc: add evaluated expression for argument "condition" in function bar_new (plugin API reference) 2014-06-11 07:55:41 +02:00
Sébastien Helleu d0fa44865c core: fix potential memory leak with infolists not freed in plugins (debian #751108)
The memory leak should not happen if infolists are properly freed by plugins,
and it happened only on unload of plugins (or exit).
2014-06-10 20:14:24 +02:00
Sébastien Helleu 955ed344c2 doc: add "in option command" in quickstart 2014-06-09 10:12:25 +02:00
Sébastien Helleu 48b44369e7 doc: update German auto-generated files 2014-06-09 10:04:17 +02:00
nils_2 771d537eff doc: update German documentation 2014-06-09 09:21:18 +02:00
nils_2 4cd6a08ca0 core: update German translations 2014-06-09 09:18:41 +02:00
Sébastien Helleu 3fa4f8a4bc doc: add SSL options in quickstart guide 2014-06-08 17:54:49 +02:00
Sébastien Helleu e723cbc0c7 irc: fix French translation of "kick" 2014-06-08 10:00:23 +02:00
Sébastien Helleu f68c9c6df6 irc: fix help of commands kick/kickban/remove (closes #102) 2014-06-08 09:39:27 +02:00
Sébastien Helleu 17e451ae55 core: fix color display of last color number + 1 (closes #101) 2014-06-07 17:08:17 +02:00
Sébastien Helleu 9957565680 core: fix first comment line in weechat.c 2014-06-07 16:14:17 +02:00
Sébastien Helleu 5d0a74a43e core: add option weechat.look.hotlist_remove (closes #99) 2014-06-06 19:39:19 +02:00
Sébastien Helleu 0bdb7d2f80 doc: remove extra quotes around password in command /server (FAQ) 2014-06-05 19:53:09 +02:00
Sébastien Helleu 11f55cf70c core: add one bug/feature request per issue in Contributing.asciidoc 2014-06-04 20:17:36 +02:00
Sébastien Helleu d6d57635bd irc: fix comment 2014-06-03 07:32:24 +02:00
Sébastien Helleu 70d2b0ad8e Remove test/weercd.py (move script to its own repository)
The script has been moved to: https://github.com/weechat/weercd
2014-05-31 11:49:21 +02:00
Sébastien Helleu bb779271ae relay: don't send signals "buffer_clear" and "buffer_line_added" for relay raw/list buffers to clients (weechat protocol) 2014-05-29 16:49:50 +02:00
Sébastien Helleu fe872f26d4 irc: fix extract of channel in parser for JOIN/PART messages when there is a colon before the channel name (closes #83)
The problem was only affecting scripts or triggers using the parser.
The irc plugin does not use the "channel" variable built by the parser
(when parsing JOIN/PART messages).
2014-05-28 20:11:12 +02:00
Sébastien Helleu 061b8b76b6 doc: update German auto-generated files 2014-05-27 07:45:42 +02:00
nils_2 a51b2d35ad core: update German translations 2014-05-26 19:23:18 +02:00
Sébastien Helleu 8b655a2552 doc: update auto-generated files with IRC commands 2014-05-26 07:58:44 +02:00
Sébastien Helleu 34098cee27 irc: add command /remove (closes #91) 2014-05-26 07:57:38 +02:00
Sébastien Helleu 74c979d9ac core: build packages in build directory on "make dist" (CMake) 2014-05-25 12:58:16 +02:00
Sébastien Helleu dc0229617a doc: use .asciidoc extension instead of .txt for doc files 2014-05-25 12:47:24 +02:00
Sébastien Helleu 76a066c9cc doc: update Russian quickstart (issue #81) 2014-05-25 09:28:04 +02:00
Sébastien Helleu 3bfc2b5bbe doc: update Russian quickstart (closes #81) 2014-05-25 08:50:33 +02:00
Sébastien Helleu ae76d76a96 doc: update auto-generated files with hdata 2014-05-25 08:49:33 +02:00
nils_2 415521dfbb core: update German translations 2014-05-24 22:43:29 +02:00
Sébastien Helleu 02eed97d97 relay: fix crash when closing relay buffers (closes #57, closes #78)
A flag "closing" has been added in buffers. It is set to 1 when the buffer
is closing, and then no more printf is allowed in the buffer (a message
printed on relay buffer was causing a crash when it is closed).
2014-05-24 18:57:29 +02:00
Sébastien Helleu faae8f470b relay: check pointers received in hdata command to prevent crashes with bad pointers (WeeChat protocol) 2014-05-24 18:18:11 +02:00
Sébastien Helleu 7aaf3be15b api: add argument "flags" in function hdata_new_list 2014-05-24 18:03:14 +02:00
Sébastien Helleu 3092c09bc9 relay: remove warning on /reload of relay.conf when ports are defined 2014-05-24 08:00:19 +02:00
Sébastien Helleu 00179e6244 irc: fix refresh of bar item "irc_channel" after join/part/kick/kill (issue #86) 2014-05-23 22:49:03 +02:00
Sébastien Helleu 6f6a0badcb doc: update Japanese auto-generated files 2014-05-23 22:39:50 +02:00
Sébastien Helleu 98c3e28a71 doc: fix version number in function hook_print (Japanese plugin API reference) 2014-05-23 22:38:27 +02:00
Sébastien Helleu 83e19e4359 Merge pull request #89 from l/translation_ja
core: update Japanese translations
2014-05-23 22:37:16 +02:00
AYANOKOUZI, Ryuunosuke 3763a5d88d core: update Japanese translations 2014-05-24 01:57:07 +09:00
Sébastien Helleu 838a71cceb core: fix reset of attributes between nick colors in /color buffer 2014-05-22 20:46:14 +02:00
nils_2 4ba20c90da doc: translate Mac OS X info in question about SSL connection to IRC server… 2014-05-22 13:47:35 +02:00
Sébastien Helleu 14850dfa9c irc: fix duplicate sender name in display of notice (closes #87) 2014-05-21 21:49:20 +02:00
Sébastien Helleu c8103f14d2 irc: fix refresh of buffer name in bar items after join/part/kick/kill (closes #86) 2014-05-21 20:46:22 +02:00
Sébastien Helleu 8e1d5e567e irc: display message 936 (censored word) on channel instead of server buffer 2014-05-20 21:23:02 +02:00
Sébastien Helleu 507d58f158 doc: add Mac OS X info in question about SSL connection to IRC servers (FAQ) 2014-05-19 20:03:29 +02:00
Sébastien Helleu 91a88eb224 core: fix display of item buffer_short_name when the short name is not defined in buffer 2014-05-18 17:39:22 +02:00
Sébastien Helleu b1430131a7 core: add bar item "buffer_short_name" (task #10882) 2014-05-16 20:55:56 +02:00
Sébastien Helleu 540abf0874 irc: add bar item "irc_nick_modes" (closes #71) 2014-05-15 23:19:58 +02:00
Sébastien Helleu 85b8e0d82b doc: update German auto-generated files 2014-05-14 07:35:13 +02:00
nils_2 98db1877b4 core: update German translation 2014-05-13 23:59:31 +02:00
Sébastien Helleu 75247edfb3 alias: add default alias "msgbuf" (send text to a buffer) 2014-05-13 23:01:11 +02:00
Sébastien Helleu d38d961394 core: add option "send" in command /input (send text to a buffer) 2014-05-13 22:40:46 +02:00
Sébastien Helleu 4406087ee5 core: fix completion %(plugins_commands) when there are more than one argument before in the command line 2014-05-13 22:13:40 +02:00
Sébastien Helleu 32edff0fa5 core: add option "-buffer" in command /command (closes #67) 2014-05-13 22:12:19 +02:00
nils_2 4d70264ac6 core: update German translation 2014-05-13 16:39:07 +02:00
Sébastien Helleu 57781e6b0d irc: make reason optional in command /kill 2014-05-12 23:10:30 +02:00
Sébastien Helleu d9c82e2103 core: add VERBOSE flag for compilation (Travis) 2014-05-11 10:55:21 +02:00
Sébastien Helleu 3a0617f62c core: add clang compiler for Travis build 2014-05-11 10:25:30 +02:00
Sébastien Helleu ca8d6a0911 doc: fix continued indentations in docgen.py 2014-05-11 08:27:08 +02:00
Sébastien Helleu 21d55695b1 core: add pylint check of doc/docgen.py (Travis) 2014-05-11 08:15:47 +02:00
Sébastien Helleu d6bfc38ae3 doc: fix pylint warnings in docgen.py 2014-05-11 08:15:18 +02:00
Sébastien Helleu a0d4f9f389 doc: update German auto-generated files 2014-05-10 17:14:26 +02:00
Sébastien Helleu cdab55aa05 api: change type of arguments displayed/highlight in hook_print callback from string to integer (in scripts) 2014-05-10 08:26:56 +02:00
nils_2 6d205222aa core: update German translations 2014-05-09 19:37:01 +02:00
Sébastien Helleu ae51f45c97 core: add comment 2014-05-09 07:35:09 +02:00
Sébastien Helleu 36fdd40247 core: do not restore title of core buffer after /upgrade 2014-05-08 23:16:52 +02:00
Sébastien Helleu 8bcd2c8401 core: fix memory leak when restoring buffers after /upgrade 2014-05-08 22:30:37 +02:00
Sébastien Helleu ec5c9c6a8a core: remove line in ChangeLog (add of "#" in front of channels on /join)
The new option has changed the behavior again, so "/join 0" will now
part all channels by default.
2014-05-08 14:38:40 +02:00
Sébastien Helleu 432ecaa9f4 relay: add message "_buffer_cleared" 2014-05-08 14:36:23 +02:00
Sébastien Helleu 36d519acb0 irc: add support of message 324 (channel modes) in option irc.look.display_join_message (closes #75) 2014-05-08 11:55:18 +02:00
Sébastien Helleu 7b4b6a3754 core: update ChangeLog 2014-05-08 11:31:03 +02:00
Sébastien Helleu a81f79e669 relay: reformat comment 2014-05-08 11:31:03 +02:00
Tor Hveem 9e282febfd relay: fix disconnection of client on empty websocket frames
WeeChat disconnects any client when a frame with length 0 is recieved.
2014-05-08 11:30:36 +02:00
Sébastien Helleu 87e9a061b5 core: update ChangeLog (add support of negated tags in filters) 2014-05-08 11:01:50 +02:00
Sébastien Helleu 117dca056d core: add support of '!' for tags in /help filter 2014-05-08 11:01:07 +02:00
Sébastien Helleu 37200b46e8 core: add parentheses around tests in conditions 2014-05-08 10:51:26 +02:00
stfn cc03a85744 core: add support for negated tags in filters (closes #72) 2014-05-07 13:07:59 +02:00
Sébastien Helleu bbea2940b7 relay: add support of Internet Explorer websocket (closes #73) 2014-05-07 07:39:40 +02:00
Sébastien Helleu 17d21cd97a doc: update German auto-generated files 2014-05-06 22:17:33 +02:00
nils_2 ee8e551b7c Merge branch 'master' of https://github.com/weechat/weechat 2014-05-06 22:13:22 +02:00
nils_2 7d58491b4a core: update German translation 2014-05-06 22:12:45 +02:00
Sébastien Helleu a54566df2e xfer: fix problem with option xfer.file.auto_accept_nicks when the server name contains dots 2014-05-06 21:50:08 +02:00
Sébastien Helleu 37ad9e3684 irc: add option irc.look.join_auto_add_chantype (closes #65) 2014-05-06 21:25:31 +02:00
Sébastien Helleu ce189fdd2d core: add missing semicolon in .travis.yml 2014-05-05 22:37:52 +02:00
Sébastien Helleu c119c2b8ac core: use before_script instead of before_install (Travis) 2014-05-05 22:33:35 +02:00
Sébastien Helleu cf0b70eab2 core: use tee to write in /etc/apt/apt.conf (Travis) 2014-05-05 22:24:31 +02:00
Sébastien Helleu 5566656f6a core: set option APT::Install-Recommends before commands apt-get / mk-build-deps (Travis) 2014-05-05 22:17:45 +02:00
Sébastien Helleu 519cc13273 core: add option "APT::Install-Recommends=false" for apt-get (Travis) 2014-05-05 21:57:31 +02:00
Sébastien Helleu a3ce4da854 core: remove use of virtualenv for Travis 2014-05-05 20:15:48 +02:00
Sébastien Helleu d10080bca2 core: add install of package libenchant-dev for Travis
Package libenchant-dev is required by pyenchant (used in msgcheck).
2014-05-05 20:07:53 +02:00
Sébastien Helleu 13375fd077 core: add check of .po files with msgcheck for Travis 2014-05-05 19:47:06 +02:00
Sébastien Helleu 4dbdf458d3 Merge pull request #70 from l/translation_ja
core: update Japanese translations
2014-05-04 19:35:21 +02:00
AYANOKOUZI, Ryuunosuke 4652b7e1bd core: update Japanese translations 2014-05-05 02:07:41 +09:00
Sébastien Helleu 7f1cd19b45 core: change default key for bare display from alt-'!' to alt-'l' 2014-05-04 17:35:22 +02:00
Sébastien Helleu aa523be8be core: add build of man page and docs for Travis 2014-05-04 08:40:21 +02:00
Sébastien Helleu 85596a9b0e core: do the "cd build" on its own line in .travis.yml 2014-05-04 07:34:47 +02:00
Sébastien Helleu 0a097bd706 core: add missing empty line in README.asciidoc 2014-05-04 07:30:22 +02:00
Sébastien Helleu 3223429d29 Merge pull request #69 from Mkaysi/travis
Travis
2014-05-04 07:29:37 +02:00
Mikaela Suomalainen 8199c0a3f7 core: .travis.yml: install equivs
which is required by previous mk-build-deps which comes from devscripts and
 which should depend on equivs, but it doesn't...
2014-05-03 21:51:23 +03:00
Mikaela Suomalainen 333a5ad330 core: .travis.yml: install devscripts to get mk-build-deps / fix build. 2014-05-03 21:48:06 +03:00
Mikaela Suomalainen f67b3dc24a core: .travis.yml: install build-depedencies as said in debian/control. 2014-05-03 21:45:15 +03:00
Mikaela Suomalainen 3db53f6ed2 core: README.asciidoc: move build status under homepage link. 2014-05-03 21:30:47 +03:00
Mikaela Suomalainen 2dd8bfb94a core: .travis.yml: remove debug & ulimit && run weechat 2014-05-03 21:24:54 +03:00
Mikaela Suomalainen 994b1e9baa core: .travis.yml: remove ulimit & -DCMAKE_BUILD_TYPE=Debug. 2014-05-03 21:21:05 +03:00
Mikaela Suomalainen 1d7f72aff3 core: merge "mkdir build" & cd build in .travis.yml
to "mkdir build;cd build"
2014-05-03 20:56:29 +03:00
Mikaela Suomalainen 586c9b3558 core: add Travis build status to README.asciidoc . 2014-05-03 19:02:56 +03:00
Mikaela Suomalainen df3f6207f6 core: add .travis.yml 2014-05-03 18:54:12 +03:00
Sébastien Helleu 33450ddb8b Version 1.0-dev
Yeah \o/
2014-04-30 19:43:56 +02:00
Sébastien Helleu 9af7b7412c Merge pull request #64 from stfnm/doc_fix_prototype_weechat_hashtable_dup
doc: fix prototype of function weechat_hashtable_dup (plugin API referen...
2014-04-28 21:33:18 +02:00
stfn cf89b22de0 doc: fix prototype of function weechat_hashtable_dup (plugin API reference) 2014-04-28 19:48:43 +02:00
nils_2 b174b3c3c8 doc: update German documentation 2014-04-23 21:29:16 +02:00
nils_2 17126be49a doc: update German documentation 2014-04-23 21:28:18 +02:00
nils_2 0601062a9d doc: update German documentation 2014-04-23 21:28:05 +02:00
Sébastien Helleu 93e4b5e4bf doc: add chapter about IRC private messages in quickstart guide 2014-04-22 21:11:52 +02:00
Sébastien Helleu 2ffc5135b4 doc: update German auto-generated files 2014-04-21 09:48:45 +02:00
nils_2 d021ad5f76 core: update German translations 2014-04-21 09:43:30 +02:00
Sébastien Helleu 838d421e67 doc: update Japanese auto-generated files 2014-04-21 09:19:23 +02:00
Sébastien Helleu fce9779236 Merge pull request #61 from l/translation_ja
core: update Japanese translations
2014-04-20 19:05:35 +02:00
AYANOKOUZI, Ryuunosuke e401aea560 core: update Japanese translations 2014-04-21 00:51:39 +09:00
Sébastien Helleu c760098647 core: add non-breaking spaces in French translations 2014-04-20 09:25:40 +02:00
nils_2 242c497f4a core: update German translation 2014-04-18 09:32:24 +02:00
Sébastien Helleu 1d7b44202a irc: fix description of arguments in infolist "irc_nick"
Only the nick is optional is this infolist (server and channel are required).
2014-04-17 23:31:50 +02:00
Sébastien Helleu 6f64ee699b doc: update German and Japanese auto-generated files 2014-04-17 07:54:25 +02:00
nils_2 c7a9e4bac8 core: update German translations 2014-04-13 14:18:56 +02:00
Sébastien Helleu df6986aecd Merge pull request #56 from l/translation_ja
core: update Japanese translations
2014-04-13 13:07:37 +02:00
AYANOKOUZI, Ryuunosuke 69fc4645ac core: update Japanese translations 2014-04-13 19:53:03 +09:00
Sébastien Helleu db912ded26 xfer: fix freeze/problems when sending empty files with DCC (closes #53) 2014-04-13 12:52:25 +02:00
Sébastien Helleu 417811ba01 irc: add alias "whois" for target buffer of messages 401/402 (closes #54) 2014-04-13 11:22:22 +02:00
Sébastien Helleu a311764d12 relay: add signal "relay_client_auth_ok" for irc and weechat protocols 2014-04-13 08:27:27 +02:00
Sébastien Helleu 96086b1666 core: update ChangeLog 2014-04-12 23:10:04 +02:00
Sébastien Helleu 34723d2acc api: allow wildcard "*" inside the mask in function string_match 2014-04-12 23:07:06 +02:00
Sébastien Helleu 001ea53f9d core: fix crash on "weechat --upgrade" if no .upgrade files are found 2014-04-12 21:45:27 +02:00
Sébastien Helleu 7618fdd240 core: use lower case for CMake keywords 2014-04-12 18:00:27 +02:00
Sébastien Helleu 51d18c92e5 charset: fix /help charset.default.decode
The charset is used only when the message is not UTF-8 valid.
2014-04-12 17:32:33 +02:00
Sébastien Helleu c5583b064a core: add note about API mismatch (rmodifier.so) in release notes 2014-04-12 16:28:41 +02:00
Sébastien Helleu 62df708fdc core: add tag "host_xxx" in /help filter 2014-04-12 13:25:58 +02:00
Sébastien Helleu 1abdde6be5 trigger: add variable "tg_tag_host" (from tag "host_xxx" in message) 2014-04-12 13:23:26 +02:00
Sébastien Helleu c1cce9f1c3 irc: add tag with host ("host_xxx") in IRC messages displayed 2014-04-12 13:22:27 +02:00
Sébastien Helleu e901d14a1f trigger: interpret escaped chars in regex 2014-04-12 09:31:24 +02:00
Sébastien Helleu dea2960d13 core: add option "-current" in command /print 2014-04-12 08:59:06 +02:00
Sébastien Helleu d0d4d2ef5b trigger: remove obsolete comment 2014-04-12 08:44:16 +02:00
Sébastien Helleu 0866bc7e6d xfer: fix help of option xfer.file.convert_spaces 2014-04-12 08:32:31 +02:00
Sébastien Helleu a62a75c873 debian: add Japanese version of relay protocol doc 2014-04-06 08:27:50 +02:00
Sébastien Helleu c600d2c4a1 doc: update German auto-generated files 2014-04-05 21:14:46 +02:00
nils_2 016995bcee core: update German translation 2014-04-05 21:06:59 +02:00
Sébastien Helleu 6438259310 doc: add missing buffer properties in plugin API reference (hidden, zoomed, filter) 2014-04-05 19:16:03 +02:00
Sébastien Helleu 55d77ed216 core: add option -all for command /buffer hide|unhide 2014-04-05 18:43:11 +02:00
Sébastien Helleu 21cfd8d858 core: fix restoration of core buffer properties after /upgrade 2014-04-05 18:32:26 +02:00
Sébastien Helleu 8199c966ce doc: add "version >= 0.4.4" for messages _buffer_{hidden|unhidden} (relay protocol) 2014-04-05 16:58:19 +02:00
Sébastien Helleu 836ed0bbfe relay: add messages "_buffer_hidden" and "_buffer_unhidden" 2014-04-05 16:53:48 +02:00
Sébastien Helleu c7ce05d5ec core: add hidden buffers, add options hide/unhide in command /buffer 2014-04-05 16:30:13 +02:00
Sébastien Helleu 2beefdfc2a doc: update Japanese auto-generated files 2014-04-05 16:15:43 +02:00
Sébastien Helleu 2b9645c2c8 doc: build relay protocol before developer's guide 2014-04-05 16:02:39 +02:00
Sébastien Helleu be321ce396 doc: fix typo in Makefile.am for Japanese docs 2014-04-05 16:01:33 +02:00
Sébastien Helleu e6a1d01bfb Merge pull request #51 from l/translation_ja
doc: update Japanese translations, add Japanese version of relay protocol
2014-04-05 15:58:41 +02:00
AYANOKOUZI, Ryuunosuke 6d55dd23a4 core: update Japanese translations 2014-04-05 22:46:08 +09:00
Sébastien Helleu cd6eaf42ba core: fix completion of /buffer clear 2014-04-05 11:51:03 +02:00
Sébastien Helleu a44a1eab19 core: fix "/buffer clear" with a name (don't clear all merged buffers with same number) 2014-04-05 11:49:06 +02:00
Sébastien Helleu 698d6a3631 doc: update German auto-generated files 2014-04-04 19:06:14 +02:00
nils_2 08317689a8 core: update German translation 2014-04-04 18:41:31 +02:00
Sébastien Helleu 37144535a5 core: fix evaluation of expression with regex when a comparison char is in the regex 2014-04-04 16:52:12 +02:00
Sébastien Helleu e143518e4b doc: use freenode instead of oftc in examples (quickstart guide) 2014-04-04 16:12:33 +02:00
Sébastien Helleu df8acd1d7b irc: allow many fingerprints in server option ssl_fingerprint (closes #49) 2014-04-04 16:00:07 +02:00
Sébastien Helleu de4ce8eeb6 irc: add option irc.look.item_channel_modes_hide_args (task #12070, task #12163, closes #48)
This option replaces the option irc.look.item_channel_modes_hide_key.
It is now a string, so channel modes arguments can be hidden using many
channel modes (or all, with "*").
2014-04-04 12:32:59 +02:00
Sébastien Helleu 79533566c6 core: add a message about key alt-c in /color buffer 2014-04-04 10:31:35 +02:00
Sébastien Helleu 982373f7e9 irc: add option irc.color.item_nick_modes (closes #47) 2014-04-04 09:45:17 +02:00
Sébastien Helleu 719558b5c8 doc: add example to set charset for whole IRC server (user's guide) 2014-04-03 19:28:31 +02:00
Sébastien Helleu efde7a0956 doc: update style for commands 2014-04-03 19:16:00 +02:00
Sébastien Helleu c4c6d2cddc core: add "hotlist" in completion of command "/buffer set" 2014-04-03 14:34:01 +02:00
Sébastien Helleu 2a9bd75eee core: close .upgrade files before deleting them after /upgrade 2014-04-03 14:23:31 +02:00
Sébastien Helleu 134713c6d1 doc: add value "-1" for property "hotlist" in function buffer_set (plugin API reference) 2014-04-03 13:56:33 +02:00
Sébastien Helleu 55e43e15f8 api: allow value "-1" for property "hotlist" in function buffer_set (to remove a buffer from hotlist) 2014-04-03 13:53:18 +02:00
Sébastien Helleu 220682c1bc exec: fix tag stdout/stderr used in command output 2014-04-03 13:11:03 +02:00
Sébastien Helleu 7bff59ed33 exec: remove comment 2014-04-03 13:08:53 +02:00
Sébastien Helleu a470a1a890 exec: kill all processes using an exec buffer that is being closed 2014-04-03 12:24:20 +02:00
Sébastien Helleu d055d4a2bd exec: add examples with "tail -f" and "-kill" in /help exec 2014-04-03 12:22:53 +02:00
Sébastien Helleu 7c55cbb38b exec: display output of commands in real time, add options -flush/-noflush in command /exec 2014-04-03 11:55:04 +02:00
Sébastien Helleu 936d5559f4 api: add option "buffer_flush" in function hook_process_hashtable 2014-04-03 11:39:23 +02:00
Sébastien Helleu 6bf64e979d exec: display command output even if process is killed 2014-04-03 09:19:30 +02:00
Sébastien Helleu cbd5f1122a doc: update German auto-generated files 2014-04-02 20:38:12 +02:00
nils_2 77ff8857a4 core: update German translation 2014-04-02 20:19:32 +02:00
Sébastien Helleu 21f9cc64ac trigger: add a comma in title of trigger monitor buffer 2014-04-02 19:55:54 +02:00
Sébastien Helleu 84faeb26f9 script: add commas in title of script buffer 2014-04-02 19:55:47 +02:00
Sébastien Helleu a0d0711bb0 core: use an integer for seconds in command /window bare <delay> 2014-04-02 13:29:58 +02:00
Sébastien Helleu dfe3ee6b18 doc: update style for keys in docs 2014-04-01 16:01:16 +02:00
Sébastien Helleu a03232e155 core: add default key alt-'-' to toggle filters in current buffer (closes #17) 2014-04-01 16:00:44 +02:00
Sébastien Helleu af32279dc5 core: fix typo in a French translation 2014-04-01 14:27:02 +02:00
Sébastien Helleu 3b32d62fa6 trigger: add filter in trigger monitor buffer
The filter can be set with /trigger monitor <filter> or by entering data
in the trigger monitor input.
2014-04-01 14:26:02 +02:00
Sébastien Helleu e96639123b core: don't remove a buffer from hotlist if it's not visible (another merged buffer is zoomed) 2014-03-31 11:26:06 +02:00
Sébastien Helleu 0e561104fa core: add non-active merged buffers with activity in hotlist (if another merged buffer is zoomed) (task #12845)
There was a bug with "num_displayed" in buffers when they are merged and
that one buffer is zoomed: now the num_displayed is > 0 for the active buffer,
and it is set to 0 for all merged non-active buffers (only in case of zoom).

A variable "zoomed" has been added in buffers to know if a buffer with this
number is zoomed or not (possibly another buffer).
2014-03-31 10:31:56 +02:00
Sébastien Helleu 1fedd443da core: fix refresh of bar item "buffer_zoom" on buffer switch 2014-03-31 10:27:31 +02:00
Sébastien Helleu 58e86f004c core: use seconds as float number for delay in command /window bare <delay> 2014-03-30 22:28:51 +02:00
Sébastien Helleu e791c24a2e irc: allow "$ident" in option irc.network.ban_mask_default (closes #18) 2014-03-30 18:58:11 +02:00
Sébastien Helleu 474541b857 irc: add support of "away-notify" capability (closes #12) 2014-03-30 16:16:13 +02:00
Sébastien Helleu d7d91d6cf3 exec: fix typo in /help exec 2014-03-30 12:25:34 +02:00
Sebastien Helleu 0cfbae1512 core: fix reset of attributes in bars when "resetcolor" is used (closes #41) 2014-03-30 08:34:32 +02:00
Sebastien Helleu 5c1e5988f9 core: fix alignment of lines in merged buffers (closes #43)
The bug happened when options weechat.look.prefix_align and
weechat.look.prefix_buffer_align are set to "none".
2014-03-29 20:26:49 +01:00
Sebastien Helleu e2d708187c doc: update Japanese auto-generated files 2014-03-29 18:54:47 +01:00
Sébastien Helleu 1e33cc70f1 Merge pull request #44 from l/translation_ja
core: update Japanese translations
2014-03-29 18:45:24 +01:00
AYANOKOUZI, Ryuunosuke b46e2efadf core: update Japanese translations 2014-03-30 02:30:07 +09:00
Sebastien Helleu 2e08e39d2e core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup" 2014-03-29 18:21:05 +01:00
Sebastien Helleu db000cd3b0 core: add text search in buffers with free content (task #13051) 2014-03-29 17:06:36 +01:00
Sebastien Helleu 29364768c6 doc: remove tags "translation missing" in french FAQ 2014-03-28 18:34:29 +01:00
Sebastien Helleu d2d2143792 doc: add question about terminal focus in FAQ 2014-03-28 14:28:27 +01:00
Sebastien Helleu 2556c46285 doc: update German auto-generated file with exec command 2014-03-27 21:29:44 +01:00
Sebastien Helleu 09aff01c71 doc: update auto-generated files with hdata 2014-03-27 21:28:36 +01:00
nils_2 75354ad530 core: update German translations 2014-03-27 19:27:56 +01:00
Sebastien Helleu 6a5f0fbc07 core: fix crash on /reload weechat
The problem was introduced in commit eef3b57075
which was storing split commands inside keys themselves (for optimization).

This causes a problem when weechat.conf is reloaded, because all keys are
then deleted and created again, which removes the array of commands which
is currently used. And then it leads to a crash of WeeChat.

This commit reverts this behavior and the key commands are split when they
are executed.
2014-03-27 07:53:01 +01:00
Sebastien Helleu d129b39b86 doc: use command /script in question about installation of scripts (FAQ) 2014-03-26 13:28:29 +01:00
Sebastien Helleu ee5819239d doc: add command to install script buffers.pl (FAQ) 2014-03-26 12:18:46 +01:00
Sebastien Helleu 364a4e522b doc: add link to WeeChat doc page (FAQ) 2014-03-26 12:14:09 +01:00
Sebastien Helleu 97b787b7a3 doc: replace links to weechat.org/scripts by command "/script search" (FAQ) 2014-03-25 19:42:22 +01:00
Sebastien Helleu 6942d08abc doc: replace links to remote GUIs by link to features page (FAQ) 2014-03-25 19:37:22 +01:00
Sebastien Helleu 03f73b8cdc core: skip and ignore color attributes before special names like "reset" in gui_color_get_custom 2014-03-25 15:36:21 +01:00
Sebastien Helleu 28df18379f core: save/restore buffer property "clear" on /upgrade 2014-03-25 11:47:46 +01:00
Sebastien Helleu 3375db7720 core: save/restore buffer property "day_change" on /upgrade 2014-03-25 11:44:57 +01:00
Sebastien Helleu d0138a8742 core: update ChangeLog 2014-03-25 11:43:10 +01:00
Sebastien Helleu babb3abff4 exec: allow clear of new buffers with /buffer clear 2014-03-25 10:56:05 +01:00
Sebastien Helleu 92ec36eced core: add buffer property "clear" 2014-03-25 10:55:12 +01:00
Sebastien Helleu 8deb0d3612 exec: add options -nf and -cl/-nocl in command /exec
-nf: create a new buffer with free content
-cl: clear new buffer
-nocl: append in new buffer
2014-03-25 09:25:47 +01:00
Sebastien Helleu 966a2f4fb4 irc: fix notify message: "joined" -> "connected" 2014-03-24 14:34:09 +01:00
Sebastien Helleu 0fb3f7d4a3 doc: add bare display in questions about copy/paste and click on long URLs (FAQ) 2014-03-24 07:28:46 +01:00
Sebastien Helleu 5776bcc818 doc: update German auto-generated files 2014-03-23 21:14:59 +01:00
nils_2 59c722c196 doc: update German documentation 2014-03-23 13:14:52 +01:00
nils_2 67b6baf05d doc: update German faq 2014-03-23 13:09:04 +01:00
nils_2 e434b552fb doc: update German documentation 2014-03-23 13:08:40 +01:00
nils_2 4f52c4a8f9 core: update German translations 2014-03-23 13:07:51 +01:00
Sebastien Helleu ea34976d4d doc: update the contribute chapter in developer's guide 2014-03-23 08:27:18 +01:00
Sébastien Helleu aa3a82f2f2 Merge pull request #39 from Mkaysi/links
README.asciidoc: fix links.
2014-03-23 08:10:21 +01:00
Mikaela Suomalainen 2334d7be10 README.asciidoc: add anchors to links. 2014-03-23 09:06:54 +02:00
Mikaela Suomalainen b99f4bce61 README.asciidoc: fix links. 2014-03-23 09:01:57 +02:00
Sebastien Helleu f7e52e2a08 doc: update Japanese auto-generated files 2014-03-23 07:35:31 +01:00
Sébastien Helleu b2318896e3 Merge pull request #38 from l/translation_ja
core: update Japanese translations
2014-03-23 07:31:30 +01:00
AYANOKOUZI, Ryuunosuke 1e3010cd6f core: update Japanese translations 2014-03-23 06:11:49 +09:00
Sébastien Helleu 2dcacc2ce3 Merge pull request #37 from Mkaysi/patch-1
core: fix developer's guide link in Contributing.asciidoc
2014-03-22 16:42:31 +01:00
Mikaela Suomalainen d5730060c7 Contributing.asciidoc: fix developer's guide link
The link directed to WeeChat.org instead of the developer's guide.
2014-03-22 17:09:50 +02:00
Sebastien Helleu 6fe09ccb19 doc: replace "echo -e" with "printf" in user's guide 2014-03-22 10:27:46 +01:00
Sebastien Helleu aad5765e35 irc: replace "user" by "nick" in description of commands 2014-03-22 10:05:45 +01:00
Sebastien Helleu 73576b49d0 irc: fix arguments in /help unquiet: at least one nick/host is required 2014-03-22 10:01:25 +01:00
Sebastien Helleu 262340ba19 irc: update description of some commands 2014-03-22 09:55:13 +01:00
Sebastien Helleu c9116e4982 irc: add command /unquiet (closes #36) 2014-03-22 09:30:04 +01:00
Sebastien Helleu e2798b2cf2 core: fix typo in /help command 2014-03-21 14:32:09 +01:00
Sebastien Helleu f1d483303d doc: update question about messages displayed on channel join (FAQ) 2014-03-20 19:51:53 +01:00
Sebastien Helleu 98c6b1a810 doc: update list of actions executed when a trigger is called (user's guide) 2014-03-20 19:11:32 +01:00
Sebastien Helleu 37438fc0e3 doc: add plugins trigger/exec in CMake options and list of default plugins (user's guide) 2014-03-20 19:06:02 +01:00
Sebastien Helleu 3a6313c4b5 api: add support of nested variables in function string_eval_expression and command /eval (closes #35) 2014-03-20 15:57:46 +01:00
Sebastien Helleu e6c775050b doc: update German auto-generated files 2014-03-20 10:51:43 +01:00
nils_2 fb8b0d9a5a core: update German translations 2014-03-19 21:53:22 +01:00
Sebastien Helleu 89160c565e core: fix add of filter on OS X when regex for message is empty (filter regex ending with "\t") 2014-03-19 19:59:02 +01:00
Sebastien Helleu b09fbea954 irc: fix typo in /help allpv 2014-03-19 19:24:35 +01:00
Sebastien Helleu 63b474013e irc: add command /allpv (task #13111) 2014-03-19 19:13:41 +01:00
Sebastien Helleu 9b380a935b core: fix use of reserved C identifiers in headers (closes #31) 2014-03-19 10:39:13 +01:00
Sebastien Helleu bc96d2f1ec core: add key alt-j,alt-f to jump to first buffer, change command for jump to last buffer
New key alt-j,alt-f is bound by default to "/buffer -".
The existing key alt-j,alt-l is now bound by default to "/buffer +".
2014-03-19 10:15:57 +01:00
Sebastien Helleu dac4d3a06a doc: update Japanese auto-generated files 2014-03-19 10:05:27 +01:00
Sébastien Helleu 800168b671 Merge pull request #28 from l/translation_ja
core: update Japanese translations
2014-03-18 19:22:21 +01:00
AYANOKOUZI, Ryuunosuke 568c038b12 core: update Japanese translations 2014-03-19 02:57:05 +09:00
Sebastien Helleu f82fe29ac3 core: update the message displayed on crash
Add a reference to user's guide, do not ask user to send the crash log
file any more (it may have private data and is not needed in most cases).
2014-03-18 15:22:15 +01:00
Sebastien Helleu 387cc5048a irc: fix truncated read on socket with SSL (bug #41558)
If there are still data on socket with SSL
(if gnutls_record_check_pending(session) returns > 0), then call
gnutls_record_recv() again to read all available data.

The problem was that some data remained in the gnutls buffers and the recv
callback was not called any more (nothing available on raw socket).
2014-03-18 13:27:18 +01:00
Sebastien Helleu ffb0ec47c2 core: check validity of buffer pointer when data is sent to a buffer 2014-03-18 12:08:11 +01:00
Sebastien Helleu 476729b897 core: fix crash when buffer is closed during execution of multiple commands (closes #27) 2014-03-18 11:50:44 +01:00
Sebastien Helleu ac89c976e2 core: remove trailing whitespace in a Polish translation 2014-03-18 10:48:09 +01:00
Sebastien Helleu f09e1c136c core: remove trailing space in log message when writing a configuration file 2014-03-18 09:25:15 +01:00
Sebastien Helleu 03b9b6c1a5 core: update German translations 2014-03-18 09:18:39 +01:00
Sebastien Helleu d6fbe95090 trigger: set default variable "tg_remaining_calls" for regex in timer callback 2014-03-17 18:23:11 +01:00
Sebastien Helleu 63c2915e3c irc: fix typo in /help kickban 2014-03-17 17:23:55 +01:00
Sebastien Helleu 30de830982 exec: don't use shell by default when executing commands (for security reasons)
It is possible to force shell by default with this command:
/set exec.command.default_options "-sh"
2014-03-17 14:59:00 +01:00
Sebastien Helleu e84eaafe8e script: set option script.scripts.cache_expire to 1440 by default 2014-03-17 12:59:46 +01:00
Sebastien Helleu db852a3f26 core: fix "/window scroll_bottom" on a buffer with free content
The bug was introduced by commit 8fac1eea40
which purpose was to not scroll to the end of buffer with "/window scroll -N"
when the top of buffer is displayed.

This commit is adding the syntax "--N" to force a scroll from the end (only
used by "/window scroll_bottom").
2014-03-17 08:32:18 +01:00
Sebastien Helleu 1a4c68a3d3 doc: update German auto-generated files 2014-03-17 07:13:44 +01:00
Sebastien Helleu 4905f3829f core: fix typo in French translation of /help logger 2014-03-17 07:13:07 +01:00
Sebastien Helleu a4a4e2f38f core: fix compilation on SmartOS (bug #40981, closes #23) 2014-03-16 19:18:16 +01:00
Sebastien Helleu d920f87455 core: fix some compilation problems on SmartOS 2014-03-16 17:46:56 +01:00
Sebastien Helleu 907e099f86 api: allow negative value for y in function printf_y 2014-03-16 17:21:35 +01:00
Sebastien Helleu fa28d23c4d ruby: fix crash when trying to load a directory with /ruby load 2014-03-16 16:49:41 +01:00
nils_2 c0d43497f1 core: update German translations 2014-03-16 14:16:26 +01:00
Sebastien Helleu 7f54a1adc1 ruby: add detection of Ruby 2.1 2014-03-16 11:26:47 +01:00
Sebastien Helleu 6981a17bbb exec: add example with option "-pipe" in /help exec 2014-03-16 10:29:07 +01:00
Sebastien Helleu 9a51449ee6 exec: add return code ("rc") in hashtable sent with option "-hsignal" 2014-03-16 10:08:08 +01:00
Sebastien Helleu bd2a625386 core: update translations 2014-03-16 09:55:41 +01:00
Sebastien Helleu fcf5e84fa4 exec: add values "irc" and "weechat" for option "-color", replace "decode" by "auto" 2014-03-16 09:52:44 +01:00
Sebastien Helleu ffba715ea1 exec: add options "-pipe" and "-hsignal" in command /exec 2014-03-16 09:37:45 +01:00
Sebastien Helleu 7afd013665 trigger: fix build of hashtable in hsignal callback when values have type "string" 2014-03-16 08:50:24 +01:00
Sebastien Helleu 11f2f5d3e4 exec: do not create/switch to buffer with option "-bg" 2014-03-15 19:48:37 +01:00
Sebastien Helleu 4245de528e exec: add examples in /help exec 2014-03-15 19:40:15 +01:00
Sebastien Helleu ff636cae89 exec: fix typo in /help exec 2014-03-15 19:22:28 +01:00
nils_2 0c18f6defe core: update German translations 2014-03-15 19:12:23 +01:00
Sebastien Helleu 112398ee62 exec: fix compilation on OpenBSD
Looks like the variable name "stdout" is a problem on OpenBSD (macro?).
So "stdout" and "stderr" are renamed to "out" an "err".
2014-03-15 15:56:58 +01:00
Sebastien Helleu 4ee2ef584d doc: add exec plugin in developer's guide 2014-03-15 15:15:29 +01:00
Sebastien Helleu fff24d0a23 core: update translations 2014-03-15 15:08:49 +01:00
Sebastien Helleu c92b186e01 exec: rename value "off" to "ansi" for option "-color" in command /exec 2014-03-15 12:43:06 +01:00
Sebastien Helleu 520509d62c core: update ChangeLog 2014-03-15 12:31:11 +01:00
Sebastien Helleu 85abcaedaa Merge branch 'exec' 2014-03-15 12:28:07 +01:00
Sebastien Helleu a62430b744 doc: fix IRC colors 14/15 in user's guide 2014-03-15 12:14:20 +01:00
Sebastien Helleu 0bfbe8ef40 irc: add decoding of bright ANSI colors (90-97, 100-107) 2014-03-15 12:09:51 +01:00
Sebastien Helleu 6749ed354d core: add decoding of bright ANSI colors (90-97, 100-107) 2014-03-15 12:09:31 +01:00
Sebastien Helleu 298f0211c1 exec: add option "-color" in command /exec (decode ANSI colors by default)
The ANSI colors are decoded by default to WeeChat colors (for local display),
or IRC colors (if output is sent to buffer with "-o").
2014-03-15 11:30:08 +01:00
Sebastien Helleu d3c85c920c irc: add modifier "irc_color_decode_ansi" 2014-03-15 11:12:49 +01:00
Sebastien Helleu e38f437ad7 core: add modifier and infos to decode ANSI colors
New modifier:
- color_decode_ansi: convert ANSI colors to WeeChat colors (or remove colors).

New infos:
- color_ansi_regex: regex used to parse ANSI colors in a string
- color_term2rgb: convert a terminal color (0-255) to RGB
- color_rgb2term: convert a RGB color to terminal color (0-255)
2014-03-15 11:06:30 +01:00
Sebastien Helleu 9e659d9f2e core: add options "term2rgb" and "rgb2term" in command /color 2014-03-14 19:51:52 +01:00
Sebastien Helleu a97bcd1ca1 core: add functions to convert RGB to terminal color (and vice versa) 2014-03-14 19:16:13 +01:00
Sebastien Helleu 5c5084c37f xfer: fix connection to remote host in DCC receive on Mac OS X (closes #25) 2014-03-14 09:29:41 +01:00
Sébastien Helleu b9b55f9c81 Merge pull request #26 from talisein/bug25
xfer: Don't use sockaddr_storage for address_length
2014-03-14 09:27:30 +01:00
Andrew Potter 1baa2e288c xfer: Fix segfault in DCC send.
This was broken before the previous change, since remote_address was
just a zero'd out struct.
2014-03-13 21:05:47 -07:00
Andrew Potter 92d454eb8d xfer: Don't use sockaddr_storage for address_length
Hopefully this addresses #25.
2014-03-13 20:32:59 -07:00
Sebastien Helleu d791e76e1b exec: switch to exec buffer even if it is already opened 2014-03-13 14:50:38 +01:00
Sebastien Helleu d52e5d8c8a core: update ChangeLog (closes #24) 2014-03-13 14:17:04 +01:00
Sebastien Helleu eb21248ae7 core: fix highlight problem with "(?-i)" and upper case letters in option weechat.look.highlight 2014-03-13 14:14:10 +01:00
Sebastien Helleu 7b31d397b7 exec: add missing empty lines in output of commands
The function weechat_string_split() collapses many separators (here "\n"),
so empty lines were removed and not displayed.

For example, if output is "Line1\n\nEnd\n", the empty line between "Line1"
and "End" was not displayed.
2014-03-13 12:08:33 +01:00
Sebastien Helleu cd65198c71 api: add callback in function string_replace_regex 2014-03-13 10:59:58 +01:00
Sebastien Helleu c8f574d730 exec: disable "output to buffer" if command is executed on an exec buffer 2014-03-13 09:02:36 +01:00
Sebastien Helleu 0eca1fd20b exec: add options "-rc"/"-norc" (display return code) in command /exec 2014-03-13 07:56:20 +01:00
Sebastien Helleu 571a7a5dbe exec: execute commands from input of exec buffers 2014-03-13 07:38:16 +01:00
Sebastien Helleu 1a30be392b core: update ChangeLog 2014-03-12 22:26:14 +01:00
Fredrik Fornwall cdb2a7374d core: use glibtoolize on mac instead of libtoolize 2014-03-12 22:25:59 +01:00
Fredrik Fornwall 2ea9f673a8 core: assume iconv usability when cross compiling
AC_TRY_RUN needs a fallback action when cross compiling.
2014-03-12 22:12:07 +01:00
Sebastien Helleu 86e12946a5 irc: add "#" before any channel in /join, even /join 0 (closes #20) 2014-03-12 22:00:05 +01:00
nils_2 ace01aff50 core: update translations 2014-03-12 21:36:09 +01:00
Sebastien Helleu ed6ea18c30 exec: add options "-ln"/"-noln" (line numbers) in command /exec 2014-03-12 19:52:04 +01:00
Sebastien Helleu 08bffd6f5a exec: automatically disable shell if command starts with "url:" (URL download) 2014-03-12 19:18:29 +01:00
Sebastien Helleu 6c20e402dc exec: add options "-buffer" and "-sw"/"-nosw" in command /exec 2014-03-12 19:13:56 +01:00
Sebastien Helleu 442bc80da6 exec: add option "-inclose" in command /exec 2014-03-12 12:04:23 +01:00
Sebastien Helleu 2962ce55d6 exec: add missing completion of "-ns" in command /exec 2014-03-12 11:56:09 +01:00
Sebastien Helleu e8de096625 exec: add options "-n"/"-ns" in command /exec (display output in a new buffer) 2014-03-12 11:54:00 +01:00
Sebastien Helleu 0790836695 exec: add option exec.command.default_options 2014-03-12 09:57:39 +01:00
Sebastien Helleu 0b73de9e98 core: update ChangeLog 2014-03-12 09:44:39 +01:00
Sebastien Helleu 4582a3cd24 Merge branch 'master' of git://github.com/talisein/weechat-1 into talisein-master 2014-03-12 09:36:09 +01:00
Sebastien Helleu 19d93d28ab core: update ChangeLog 2014-03-12 09:30:09 +01:00
Sebastien Helleu a38e577596 core: update translations 2014-03-12 09:30:09 +01:00
Shawn Smith d3ee1bcfe0 irc: display output of CAP LIST in server buffer (closes #10) 2014-03-12 09:30:02 +01:00
Andrew Potter 9f140ca805 xfer: Fix xfer.network.own_ip behavior
Fixes #5. xfer shouldn't try to bind() to the own_ip
address. Instead, always bind to the same local address that is
connected to the irc server, and just change the out_addr if own_ip is
used.

Also fixes a memory leak in error path.
2014-03-11 21:21:18 -07:00
Sebastien Helleu 9543f9c034 core: add missing \0 at the end of stderr buffer in hook_process 2014-03-11 21:11:54 +01:00
Sebastien Helleu d5e1a52e24 exec: fix crash when giving bad id to command /exec -in 2014-03-11 20:13:28 +01:00
Sebastien Helleu 2dc6eeaee2 exec: add option "-del" in command /exec 2014-03-11 18:11:52 +01:00
Sebastien Helleu 281cfdda94 exec: add option "-bg" in command /exec 2014-03-11 17:51:06 +01:00
Sebastien Helleu 5708b3977c exec: update plugin API version 2014-03-11 17:49:50 +01:00
Sebastien Helleu 319f2a51ec exec: fix typos in /help exec 2014-03-11 17:49:50 +01:00
Sebastien Helleu e3de3e6dda exec: add option "-set" in command /exec 2014-03-11 17:49:50 +01:00
Sebastien Helleu 29e498d002 exec: replace number by id in /help exec 2014-03-11 17:49:50 +01:00
Sebastien Helleu 67b892d1fd exec: add list of signal names in /help exec 2014-03-11 17:49:50 +01:00
Sebastien Helleu 2527c282c3 exec: implement options -signal/-kill/-killall in command /exec 2014-03-11 17:49:49 +01:00
Sebastien Helleu 3f50356a14 exec: remove error prefix in case of unexpected end of a command 2014-03-11 17:49:49 +01:00
Sebastien Helleu ee2cb329f4 exec: display command return code after output (stdout/stderr) 2014-03-11 17:49:49 +01:00
Sebastien Helleu 9355c867ed exec: add tag "exec_rc" for line with command return code, remove empty line displayed before 2014-03-11 17:49:49 +01:00
Sebastien Helleu 97254780d6 exec: add exec plugin 2014-03-11 17:49:49 +01:00
Sebastien Helleu 4f48c7a566 api: add option "detached" in function hook_process_hashtable 2014-03-11 17:48:52 +01:00
Sebastien Helleu cd66b459de relay: search buffers by full name 2014-03-11 15:30:51 +01:00
Sebastien Helleu e3207000dd fifo: search buffer by full name when text is received in pipe 2014-03-11 15:16:55 +01:00
Sebastien Helleu 9c838d2628 api: add support of case insensitive search and search by buffer full name in function buffer_search (bug #34318) 2014-03-11 15:07:36 +01:00
Sebastien Helleu 925ba52793 core: update translations 2014-03-11 13:06:00 +01:00
Sebastien Helleu 42b416af19 api: add option "signal" in function hook_set to send a signal to the child process 2014-03-11 11:14:07 +01:00
Sebastien Helleu b6da2c3fa5 core: fix detection of terminated process in hook_process
Check if the process is finished, even if stdout/stderr are not closed.
Moreover, if the process was terminated by a signal, the return code is
set to WEECHAT_HOOK_PROCESS_ERROR.
2014-03-11 11:01:00 +01:00
Sebastien Helleu acb24d9d2a trigger: add plugin name in error messages 2014-03-10 21:10:23 +01:00
Sebastien Helleu 765b603cb2 trigger: remove unneeded code to make C compiler happy 2014-03-09 09:13:29 +01:00
Sebastien Helleu 1589e54e02 trigger: fix typo in a comment 2014-03-08 09:15:17 +01:00
Sebastien Helleu 3c2d8ca776 core: add shadow on WeeChat screenshot in README 2014-03-07 20:56:31 +01:00
Sebastien Helleu 32703ae42b core: set option weechat.look.buffer_search_where to prefix_message by default 2014-03-07 20:47:28 +01:00
Sebastien Helleu f62472e377 script: fix scroll on script buffer in the detailed view of script (closes #6) 2014-03-07 17:50:18 +01:00
Sebastien Helleu 8fac1eea40 core: fix "/window scroll -N" on a buffer with free content 2014-03-07 17:46:51 +01:00
Sebastien Helleu 62d3c4ebfc doc: update German auto-generated files 2014-03-07 09:25:50 +01:00
Sebastien Helleu 7a191c2de1 relay: fix crash on /upgrade received from a client (weechat protocol)
Some commands like /upgrade sent by relay client can cause problems, because
they were executed immediately (while relay code is running). The /upgrade
command unloads all plugins, so the result is unpredictable (it can cause a
crash).

This commit adds a timer (1 millisecond) to delay the execution of command
after we go back in the WeeChat main loop.
2014-03-07 09:22:21 +01:00
nils_2 c87cd88e72 de.po: add missing translations 2014-03-06 22:41:54 +01:00
Sebastien Helleu dc2365104f core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away 2014-03-06 19:29:08 +01:00
Sebastien Helleu 6fbba54bf0 core: fix recursive calls to function eval_expression 2014-03-06 18:23:20 +01:00
Sebastien Helleu 0edf3c0674 core: add a WeeChat screenshot in README.asciidoc 2014-03-06 09:52:01 +01:00
Sebastien Helleu 458dc88330 core: add asciidoc attribute "lang" in Contributing and README 2014-03-06 09:51:07 +01:00
Sebastien Helleu 659cf10f3b core: add sub-sections and note about scripts in Contributing.asciidoc 2014-03-05 14:04:23 +01:00
Sebastien Helleu 63b2b30d80 core: fix typo in Contributing.asciidoc 2014-03-05 13:31:22 +01:00
Sebastien Helleu ecf18c81f7 core: add file Contributing.asciidoc 2014-03-05 13:27:34 +01:00
Sebastien Helleu b2a48a9913 core: move content of INSTALL.asciidoc into README.asciidoc 2014-03-05 12:44:10 +01:00
Sebastien Helleu 59f0927c9b core: rename file NEWS.asciidoc to ReleaseNotes.asciidoc 2014-03-05 12:21:54 +01:00
Sebastien Helleu 2d7778292a relay: add info "relay_client_count" with optional status name as argument
Use in evaluated strings (for example in /eval or triggers):
- "${info:relay_client_count}": total number of relay clients (any status)

With a specific status:
- "${info:relay_client_count,connecting}"
- "${info:relay_client_count,waiting_auth}"
- "${info:relay_client_count,connected}"
- "${info:relay_client_count,auth_failed}"
- "${info:relay_client_count,disconnected}"
2014-03-05 11:49:25 +01:00
Sebastien Helleu 0995eb334f relay: add signals "relay_client_xxx" for client status changes (closes #2)
New signals:
- relay_client_connecting
- relay_client_waiting_auth
- relay_client_connected
- relay_client_auth_failed
- relay_client_disconnected
2014-03-05 11:43:32 +01:00
Sebastien Helleu 7115f8306a core: add link to formatted version of {ChangeLog|NEWS}.asciidoc 2014-03-05 11:06:49 +01:00
Sebastien Helleu 90b2094b70 core: add .asciidoc files in main Makefile.am 2014-03-05 10:37:04 +01:00
Sebastien Helleu 1d928b50cc core: add "foreign" for AM_INIT_AUTOMAKE to ignore missing files and remove some warnings 2014-03-05 10:35:15 +01:00
Tor Hveem 0c05c82f77 Use asciidoc file ending for all asciidoc files 2014-03-04 23:39:07 +01:00
Sebastien Helleu fba765cb8f trigger: update description of trigger plugin 2014-03-04 21:48:23 +01:00
Sebastien Helleu 76c0e8938e debian: replace rmodifier by trigger in control file 2014-03-04 21:44:43 +01:00
Sebastien Helleu 6b7d96f4b4 core: mute all buffers by default in command /mute (replace option -all by -core) 2014-03-04 16:12:56 +01:00
Sebastien Helleu 12b82146aa core: save and restore mute state in command /mute (bug #41748) 2014-03-04 14:42:35 +01:00
Sebastien Helleu 2b2c729854 trigger: add some missing "+" after spaces in regex of default triggers cmd_pass/msg_auth 2014-03-04 12:38:54 +01:00
Sebastien Helleu 3c398bd61d rmodifier: remove plugin (replaced by trigger) 2014-03-04 12:08:33 +01:00
Sebastien Helleu d3281b7812 doc: update German auto-generated files 2014-03-04 09:25:55 +01:00
nils_2 cff840c9ae de.po: update german translation 2014-03-03 21:51:52 +01:00
Sebastien Helleu 61fee37095 doc: update links to git repositories (savannah -> github) 2014-03-03 12:31:02 +01:00
Sebastien Helleu bd06f0f60f doc: add trigger example to colorize URLs 2014-03-02 18:59:57 +01:00
Sebastien Helleu be9046741f core: fix memory in execution of commands
This memory leak was introduced by commit aa81067ad0
2014-03-02 17:59:40 +01:00
Sebastien Helleu 32a4f4e1d5 core: fix memory leak when removing a hdata 2014-03-02 17:59:08 +01:00
Sebastien Helleu 4b57c95494 core: fix memory leak in evaluation of sub-conditions 2014-03-02 17:43:19 +01:00
Sebastien Helleu 16c13e94a6 trigger: add variable "tg_notify" (notify level of a message, if different from "none") 2014-03-02 12:35:34 +01:00
Sebastien Helleu 0329cb65f3 doc: add trigger doc in user's guide 2014-03-02 09:29:14 +01:00
Sebastien Helleu cc5ab76186 trigger: allow chars '\' and '(' as delimiter in regex 2014-03-02 08:40:17 +01:00
Sebastien Helleu ddf3e9043b trigger: do not create the trigger with /trigger add if the regex is invalid 2014-03-02 08:32:05 +01:00
Sebastien Helleu 8f0294f8d0 trigger: fix typo in /help trigger 2014-03-01 19:00:54 +01:00
Sebastien Helleu 7a1798a7fb trigger: fix typo in /help trigger 2014-03-01 17:42:28 +01:00
Sebastien Helleu 44b8447ff0 trigger: make optional the alignment on second and max calls (in hook timer) 2014-03-01 17:25:48 +01:00
Sebastien Helleu 050d2023d6 irc: fix colors in message with CTCP reply sent to another user 2014-02-28 15:07:23 +01:00
Sebastien Helleu cf48fa4642 irc: evaluate content of server options "username" and "realname" 2014-02-28 15:00:39 +01:00
Sebastien Helleu 4196dcf7a5 doc: update auto-generated files with WeeChat commands 2014-02-28 14:55:58 +01:00
Sebastien Helleu a4c385db99 core: fix output of /eval -n when there is a tab in output 2014-02-28 14:34:49 +01:00
Sebastien Helleu ea71121723 api: add support of escaped strings in function string_eval_expression and command /eval 2014-02-28 14:31:40 +01:00
Sebastien Helleu 13b0a88f21 trigger: allow empty return code in command /trigger {add|addoff|addreplace} 2014-02-28 11:48:59 +01:00
Sebastien Helleu 02dcc3cb69 xfer: replace constant by sizeof in a call to snprintf 2014-02-28 11:45:18 +01:00
Sebastien Helleu 7ff2dd13cb rmodifier: fix size used in a snprintf 2014-02-28 11:41:14 +01:00
Sebastien Helleu 4c3a10506a relay: fix size used in a snprintf 2014-02-28 11:40:55 +01:00
Sebastien Helleu 82ade05f66 irc: fix size used in some snprintf 2014-02-28 11:39:48 +01:00
Sebastien Helleu 6ea8c2d83c irc: fix some malloc sizes 2014-02-28 11:39:24 +01:00
Sebastien Helleu 7213fe5826 scripts: fix size used in some snprintf 2014-02-28 11:38:23 +01:00
Sebastien Helleu 0084eaa193 core: replace constant by sizeof in a call to snprintf 2014-02-27 09:44:59 +01:00
Sebastien Helleu c8cd6c4639 core: fix size used in some snprintf 2014-02-26 09:17:20 +01:00
Sebastien Helleu 1aae49a2eb core: fix malloc size when building filename of upgrade file 2014-02-25 09:20:44 +01:00
Sebastien Helleu 59f4fe05bc core: fix size used in snprintf when reading a configuration file 2014-02-24 10:41:51 +01:00
Sebastien Helleu fdfee08cf8 relay: add option relay.network.clients_purge_delay 2014-02-23 20:32:42 +01:00
Sebastien Helleu 897bb0950c relay: fix freeze after /upgrade when many disconnected clients still exist
The hooks for the WeeChat disconnected clients are not created again
after /upgrade (they were removed on client disconnection, so there is
no reason to create them again).

The hooks like nicklist sync are called often (for example on irc
disconnection), which can cause long freeze if many WeeChat disconnected
clients exist in relay.
2014-02-23 13:07:45 +01:00
Sebastien Helleu 1cd1877128 doc: add chapter about bare display in user's guide 2014-02-23 10:03:30 +01:00
Sebastien Helleu 314f17c7f4 doc: fix typo in a link (user's guide) 2014-02-23 09:28:56 +01:00
Sebastien Helleu 2396224d3f doc: add missing nicks in screen examples (user's guide) 2014-02-23 09:21:19 +01:00
Sebastien Helleu 980326c685 trigger: fix potential uninitialized pointer in signal hook callback 2014-02-22 20:23:08 +01:00
Sebastien Helleu 76469269ce core: fix uninitialized value in functions secure_{encrypt|decrypt}_data (in case of insufficient memory) 2014-02-22 20:20:57 +01:00
Sebastien Helleu 88d5ff3f20 core: fix possible zero bytes allocation in /help command 2014-02-22 20:03:34 +01:00
Sebastien Helleu 4d7e6c1664 core: fix potential dereference of NULL pointer in function command_set_display_option 2014-02-22 19:54:02 +01:00
Sebastien Helleu c3775888bd trigger: fix crash when a signal is received with type "int" and NULL pointer in signal_data 2014-02-22 17:10:35 +01:00
Sebastien Helleu 0c3835d824 scripts: fix crash when a signal is received with type "int" and NULL pointer in signal_data 2014-02-22 17:10:01 +01:00
Sebastien Helleu a08679c887 irc: set option irc.network.autoreconnect_delay_max to 600 by default, increase max value to 604800 seconds (7 days) 2014-02-22 16:33:02 +01:00
Sebastien Helleu a0651e11bd core: fix memory leak in function gui_key_add_to_infolist (in case of insufficient memory) 2014-02-22 15:22:27 +01:00
Sebastien Helleu b8f07e935a core: remove dead assignment in function gui_key_pressed 2014-02-22 15:16:31 +01:00
Sebastien Helleu 60456c31e9 relay: remove dead assignment in function relay_client_recv_cb 2014-02-22 15:13:26 +01:00
Sebastien Helleu b04fead1ab core: remove dead assignment in function gui_bar_window_draw 2014-02-22 15:07:59 +01:00
Sebastien Helleu 381140f964 irc: remove dead assignment in function irc_ignore_check 2014-02-22 14:59:24 +01:00
Sebastien Helleu 3ef27075f9 xfer: remove dead assignment in function xfer_add_cb 2014-02-22 14:54:21 +01:00
Sebastien Helleu e4493a1b0c relay: remove dead assignment in function relay_irc_get_line_info 2014-02-22 14:51:59 +01:00
Sebastien Helleu 86f5145e1a irc: fix read of MODES server value when in commands /op, /deop, /voice, /devoice, /halfop, /dehalfop 2014-02-22 14:30:30 +01:00
Sebastien Helleu 6339c15c6d script: remove dead assignments in functions script_action_{unload|reload} 2014-02-22 13:57:28 +01:00
Sebastien Helleu 7191114104 core: remove dead assignment in function gui_chat_printf_y 2014-02-22 13:39:52 +01:00
Sebastien Helleu 4a9e1c98d2 irc: remove dead assignments in functions irc_server_str(n)casecmp 2014-02-22 13:37:54 +01:00
Sebastien Helleu 47d89ce201 core: fix use of invalid pointer in function gui_bar_window_content_alloc (in case of insufficient memory) 2014-02-22 12:57:01 +01:00
Sebastien Helleu bcf0a94bf4 core: comment unneeded assignment in function string_split_shell (make C static analyzer happy) 2014-02-22 12:50:38 +01:00
Sebastien Helleu 913de0c29b core: fix uninitialized value in function string_decode_base64 2014-02-22 12:46:57 +01:00
Sebastien Helleu 9ce8fc7068 core: fix memory leak and use of invalid pointer in split of string (in case of insufficient memory) 2014-02-22 12:28:19 +01:00
Sebastien Helleu 0110f81e88 core: fix potential NULL pointer in function gui_color_emphasize 2014-02-22 12:07:43 +01:00
Sebastien Helleu c3c1a63ea8 trigger: use command "/print -beep" in default trigger "beep" 2014-02-22 12:02:02 +01:00
Sebastien Helleu 57e195391b relay: fix NULL pointer when reading buffer lines for irc backlog 2014-02-22 11:44:19 +01:00
Sebastien Helleu 639fbbff79 trigger: fix wrong info in /help trigger.trigger.xxx.regex 2014-02-21 17:59:33 +01:00
Sebastien Helleu b4cef01e2a core: update ChangeLog 2014-02-21 16:36:31 +01:00
Sebastien Helleu 3847318497 core: update translations 2014-02-21 16:32:34 +01:00
Sebastien Helleu f907ea17d5 Merge branch 'trigger' 2014-02-21 15:36:14 +01:00
Sebastien Helleu d6e7c9fda6 trigger: return WEECHAT_RC_ERROR in command /trigger if arguments are wrong/missing 2014-02-21 14:48:23 +01:00
Sebastien Helleu 3019187178 core: update ChangeLog 2014-02-21 13:40:24 +01:00
Sebastien Helleu f97f406efb core: update translations 2014-02-21 13:39:35 +01:00
Sebastien Helleu 078f549c4a rmodifier: return WEECHAT_RC_ERROR in command /rmodifier if arguments are wrong/missing 2014-02-21 13:39:26 +01:00
Sebastien Helleu eb26e13814 relay: return WEECHAT_RC_ERROR in command /relay if arguments are wrong/missing 2014-02-21 13:39:03 +01:00
Sebastien Helleu a3253378b7 script: return WEECHAT_RC_ERROR in command /script if arguments are wrong/missing 2014-02-21 13:38:46 +01:00
Sebastien Helleu 84edf5443a guile: return WEECHAT_RC_ERROR in command /guile if arguments are wrong/missing 2014-02-21 13:38:27 +01:00
Sebastien Helleu 9e2e59c3e1 tcl: return WEECHAT_RC_ERROR in command /tcl if arguments are wrong/missing 2014-02-21 13:38:11 +01:00
Sebastien Helleu cf827580f5 lua: return WEECHAT_RC_ERROR in command /lua if arguments are wrong/missing 2014-02-21 13:37:58 +01:00
Sebastien Helleu decbaf306d ruby: return WEECHAT_RC_ERROR in command /ruby if arguments are wrong/missing 2014-02-21 13:37:46 +01:00
Sebastien Helleu d86d6013ef perl: return WEECHAT_RC_ERROR in command /perl if arguments are wrong/missing 2014-02-21 13:37:31 +01:00
Sebastien Helleu 18fd85de7d python: return WEECHAT_RC_ERROR in command /python if arguments are wrong/missing 2014-02-21 13:37:17 +01:00
Sebastien Helleu 2dbcffc93e logger: return WEECHAT_RC_ERROR in command /logger if arguments are wrong/missing 2014-02-21 13:36:39 +01:00
Sebastien Helleu f535aad9fc irc: use same return code and message in all commands when arguments are wrong/missing 2014-02-21 13:10:05 +01:00
Sebastien Helleu 898c9dc195 charset: remove unneeded test in command /charset 2014-02-21 13:09:43 +01:00
Sebastien Helleu 01c7f1cc6a alias: use same return code and message in all commands when arguments are wrong/missing 2014-02-21 13:09:24 +01:00
Sebastien Helleu aa81067ad0 core: use same return code and message in all commands when arguments are wrong/missing 2014-02-21 13:08:20 +01:00
Sebastien Helleu f78f42d833 irc: add note about option irc.network.whois_double_nick in /help whois 2014-02-20 11:44:30 +01:00
Sebastien Helleu cdadbdec0d irc: set option irc.network.whois_double_nick to "off" by default 2014-02-20 11:40:45 +01:00
Sebastien Helleu b400be0486 trigger: add option "addreplace" in command /trigger (used by /trigger recreate)
Now the command "/trigger recreate" does not delete the trigger any more.
Instead the option "addreplace" is used in input, so the existing trigger
is overwritten if the command is sent.
2014-02-20 11:20:23 +01:00
Sebastien Helleu f8a5c26d96 alias: change default command for alias /beep to "/print -beep" 2014-02-20 11:02:36 +01:00
Sebastien Helleu f376893681 core: add option "-beep" in command /print 2014-02-20 11:00:24 +01:00
Sebastien Helleu 975b9c8912 core: add contributor to AUTHORS 2014-02-20 08:42:48 +01:00
Sebastien Helleu a15184a9bd irc: fix parsing of nick/host when there is nothing after in message (malformed message) 2014-02-20 08:39:18 +01:00
Felix Eckhofer 7fb84bdb03 irc: fix parsing of nick in host when '!' is not found (bug #41640) 2014-02-20 08:35:23 +01:00
Sebastien Helleu 36641bc3d3 core: add missing option "rename" in /help filter and in command completion 2014-02-19 10:35:39 +01:00
Sebastien Helleu 194b362e23 doc: add chapter about secured data in user's guide 2014-02-18 19:26:55 +01:00
Sebastien Helleu 8e1ad0b1f0 doc: fix some title levels in Japanese user's guide 2014-02-18 19:18:53 +01:00
Sebastien Helleu 7b37bf701e guile: fix module used after unload of a script 2014-02-17 22:01:14 +01:00
Sebastien Helleu be159f42a8 lua: fix interpreter used after unload of a script 2014-02-17 22:00:16 +01:00
Sebastien Helleu 77058acc0a perl: fix context used after unload of a script 2014-02-17 21:57:51 +01:00
Sebastien Helleu 5ac3d538b8 python: fix interpreter used after unload of a script 2014-02-17 21:56:21 +01:00
Sebastien Helleu 652ec24449 core: allow empty arguments for command /print 2014-02-17 11:12:36 +01:00
Sebastien Helleu 86b0c99029 trigger: add option "addoff" in command /trigger (add a trigger in disabled state) 2014-02-16 18:57:43 +01:00
Sebastien Helleu 45db2e9668 core: update ChangeLog (add option "bare" in command /window) 2014-02-16 16:22:19 +01:00
Sebastien Helleu 39be4e3387 core: add bare display mode (for easy text selection and click on URLs)
New key: alt+"!", to swith to bare display (same key to come back to
standard display).

New options:
- weechat.look.bare_display_exit_on_input (default: on): by default
  any changes in input will return to standard display
- weechat.look.bare_display_time_format (default: "%H:%M"): the format
  of time used in bare display.
2014-02-16 11:29:03 +01:00
Sebastien Helleu 20a70c80f8 core: add missing feature in ChangeLog for v0.4.3 (use one date format when day changes from day to day+1) 2014-02-16 10:07:13 +01:00
Sebastien Helleu 508437b6e7 doc: fix typo in prototypes of functions hashtable_map/hashtable_map_string (plugin API reference) 2014-02-15 13:16:00 +01:00
Sebastien Helleu 360f900d92 core: move function string_replace before string_replace_regex 2014-02-15 12:59:05 +01:00
Sebastien Helleu 7aba5f713f core: add trigger plugin in Cygwin packaging 2014-02-15 12:48:49 +01:00
Sebastien Helleu e664e7f698 core: add trigger plugin in debian packaging (in package weechat-plugins) 2014-02-15 12:48:31 +01:00
Sebastien Helleu 1637c2b64f doc: add trigger plugin in docgen.py 2014-02-15 12:47:52 +01:00
Sebastien Helleu 69ee211b26 trigger: add file trigger.conf in man page 2014-02-15 12:47:02 +01:00
Sebastien Helleu 56f74ae768 trigger: remove triggers in /help trigger that are already default triggers 2014-02-15 11:25:19 +01:00
Sebastien Helleu 4028e5c200 trigger: update help of options trigger.trigger.xxx.{arguments|command} 2014-02-15 11:18:39 +01:00
Sebastien Helleu 2a5b2c6705 trigger: add trigger plugin in developer's guide 2014-02-15 10:48:45 +01:00
Sebastien Helleu 151a0c0190 trigger: update description of command /trigger 2014-02-14 19:42:12 +01:00
Sebastien Helleu b32193bee5 trigger: remove the return code with /trigger input/output/recreate for modifier and focus hooks 2014-02-14 19:17:27 +01:00
Sebastien Helleu 4fc2db8df4 trigger: fix return code of focus callback 2014-02-14 19:07:31 +01:00
Sebastien Helleu fe33f7d019 trigger: allow restart of trigger only if trigger is enabled 2014-02-14 18:41:15 +01:00
Sebastien Helleu 8e63a9a52f trigger: add option trigger.look.enabled (can be changed with /trigger enable|disable|toggle) 2014-02-14 18:35:29 +01:00
Sebastien Helleu f52770137f trigger: add option "recreate" in command /trigger
The "recreate" option is the same as "input" but the trigger is first
deleted. So this lets you recreate the same trigger and edit some things
if needed.
2014-02-14 15:15:21 +01:00
Sebastien Helleu ac82063928 core: add asciidoc attributes in files ChangeLog/NEWS 2014-02-14 15:06:02 +01:00
Sebastien Helleu e782020b14 core: fix completion template used in command completion when first argument in template has pipes 2014-02-14 14:50:31 +01:00
Sebastien Helleu c25bd9c26b trigger: add option "copy" in command /trigger 2014-02-14 14:21:24 +01:00
Sebastien Helleu 93038a3634 trigger: add options "input" and "output" in command /trigger 2014-02-14 12:37:34 +01:00
Sebastien Helleu 90c233a364 doc: add function string_convert_escaped_chars in plugin API reference 2014-02-14 12:25:36 +01:00
Sebastien Helleu fa2600f496 doc: add function string_split_shell in plugin API reference 2014-02-14 11:15:09 +01:00
Sebastien Helleu 05eda016ec doc: add function string_replace_regex in plugin API reference 2014-02-14 10:55:18 +01:00
Sebastien Helleu 0bfacb5592 core: change text in comment of function string_replace_regex 2014-02-14 10:54:38 +01:00
Sebastien Helleu f4606ef0a9 doc: add function hashtable_dup in plugin API reference 2014-02-14 09:19:03 +01:00
Sebastien Helleu ec9adea198 core: use item "buffer_last_number" instead of "buffer_count" by default in status bar 2014-02-13 22:34:20 +01:00
Sebastien Helleu 03abd78355 core: sync debian files with debian git repository 2014-02-13 22:10:27 +01:00
Sebastien Helleu b530aa5f5a trigger: add strings without colors in hashtable for modifier "weechat_print" and hook print
For modifier "weechat_print", variables added:
- tg_string_nocolor (same as tg_string, without colors)
- tg_prefix_nocolor (same as tg_prefix, without colors)
- tg_message_nocolor (same as tg_message, without colors)

For hook print, variables added:
- tg_prefix_nocolor (same as tg_prefix, without colors)
- tg_message_nocolor (same as tg_message, without colors)
2014-02-13 19:31:48 +01:00
Sebastien Helleu 7356d1889a trigger: add "tg_prefix" and "tg_message" in hashtable for modifier "weechat_print" 2014-02-13 18:53:13 +01:00
Sebastien Helleu 0ac6ebe532 trigger: escape chars in regex replacement (when trigger is created) 2014-02-13 18:44:43 +01:00
Sebastien Helleu c06cfb25ce api: add function string_convert_escaped_chars 2014-02-13 18:39:55 +01:00
Sebastien Helleu a9550dbf8f trigger: display arguments of triggers on monitor buffer 2014-02-13 18:33:11 +01:00
Sebastien Helleu a7dbaf8162 trigger: evaluate regex replacement on execution of trigger (and not when creating the trigger) 2014-02-13 18:20:00 +01:00
Sebastien Helleu d74259303f trigger: fix call of IRC message parser on non-IRC messages in modifier callback 2014-02-13 17:37:22 +01:00
Jason A. Donenfeld c324610226 core: fix freeze/crash in gnutls (bug #41576)
The link is now made against pthread on all platforms.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-02-13 16:09:35 +01:00
Sebastien Helleu e36c49995b trigger: add "server" in hashtable after parsing of IRC message 2014-02-13 15:04:54 +01:00
Sebastien Helleu 65b40ab5cc trigger: parse IRC messages received in signal/modifier hook callbacks
The parsed message is added into hashtable "extra_vars".

For example, signal "freenode,irc_in_PRIVMSG" received with the message
"hello world!" on channel #weechat gives in the hashtable:

  extra_vars:
    tags: ""
    host: "tester!user@host.com"
    tg_signal: "freenode,irc_in_PRIVMSG"
    channel: "#weechat"
    tg_signal_data: ":tester!user@host.com PRIVMSG #weechat :hello world!"
    arguments: "#weechat :hello world!"
    nick: "tester"
    command: "PRIVMSG"
    message_without_tags: ":tester!user@host.com PRIVMSG #weechat :hello world!"
2014-02-13 13:38:10 +01:00
Sebastien Helleu c103bc6584 trigger: refactor some code in hook callbacks using macros 2014-02-13 12:52:06 +01:00
Sebastien Helleu 132b09bde9 trigger: add hook focus 2014-02-13 12:06:46 +01:00
Sebastien Helleu 00402b87c2 trigger: add hook command 2014-02-13 11:33:16 +01:00
Sebastien Helleu bc3eaa8d62 trigger: add extra colors in trigger monitor buffer 2014-02-13 11:24:03 +01:00
Sebastien Helleu 8ffba2ad9e trigger: add the name of buffer on trigger monitor when executing a command 2014-02-13 11:21:30 +01:00
Sebastien Helleu f821a94cc4 irc: use a more explicit error when the creation of a temporary server failed 2014-02-13 10:06:25 +01:00
Sebastien Helleu f057e86390 doc: update auto-generated files with hdata 2014-02-13 10:05:17 +01:00
Sebastien Helleu 271f92a66d doc: fix typo in plugin API reference 2014-02-12 13:31:22 +01:00
Sebastien Helleu 44411f123a core: fix cmake warning CMP0007 on "make uninstall" (bug #41528) 2014-02-12 10:33:21 +01:00
Sebastien Helleu f324a1589d core: add signals "key_combo_{default|search|cursor}" 2014-02-11 20:09:02 +01:00
Sebastien Helleu a9aca06545 core: ignore return value of 'write' in function hook_set (fix compiler warning) 2014-02-11 11:55:05 +01:00
Sebastien Helleu 04cb8dd4da core: replace compiler flag -W by -Wextra (new name) 2014-02-11 11:50:05 +01:00
Sebastien Helleu 4f5865ddfe core: sync debian files with debian git repository 2014-02-11 10:29:54 +01:00
Sebastien Helleu 4f0be6edb3 trigger: add option "show" in command /trigger 2014-02-10 22:25:25 +01:00
Sebastien Helleu eef3b57075 core: split key command when the key is created (improve speed when executing commands of a key) 2014-02-10 21:10:45 +01:00
Sebastien Helleu 437767c0ca api: add integer return code for functions hook_{signal|hsignal}_send 2014-02-10 17:42:53 +01:00
Sebastien Helleu 93d3375440 trigger: add option trigger.look.monitor_strip_colors 2014-02-10 13:28:45 +01:00
Sebastien Helleu 9b3d2eeec7 trigger: add hook config 2014-02-10 13:08:40 +01:00
Sebastien Helleu 614f34adbc trigger: add missing hook "command_run" in /help trigger 2014-02-10 13:01:20 +01:00
Sebastien Helleu 32facbe783 trigger: update actions performed in the trigger (in /help trigger) 2014-02-10 09:48:33 +01:00
Sebastien Helleu d877510825 trigger: add condition "${tg_tag_nick}" in trigger example "effects" (/help trigger) 2014-02-09 19:22:42 +01:00
Sebastien Helleu 8b17981d1f trigger: set variables in hashtable using message tags 2014-02-09 19:20:53 +01:00
Sebastien Helleu 471a2b1da1 trigger: add examples of triggers using "signal_sigwinch" in /help trigger 2014-02-09 17:17:20 +01:00
Sebastien Helleu 75e1c5320e trigger: add options trigger.color.flag_{command|conditions|regex|return_code} 2014-02-09 17:01:36 +01:00
Sebastien Helleu 6ab17dfec1 trigger: add default triggers 2014-02-09 16:17:11 +01:00
Sebastien Helleu 7c0d9fe850 core: improve the string_replace_regex function (add reference char, change syntax for match refs)
The reference char is now an argument for the function.
The references are now $0 .. $99 and $+ was added (last match, with
highest number).
The syntax to replace a match with one char is now: $.cN or $.c+
(for example: "$.*3").
2014-02-09 15:14:07 +01:00
Sebastien Helleu f666a356d7 trigger: add missing init of buffer pointer in modifier callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu 7b496197ef trigger: fix crash in callback if one regex is NULL (invalid) 2014-02-09 12:55:41 +01:00
Sebastien Helleu f04eb4ae23 trigger: add buffer pointer in modifier callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu d9bd1986ad trigger: refactor some code in hook callbacks (debug, conditions, regex, command) 2014-02-09 12:55:41 +01:00
Sebastien Helleu 53921acc38 trigger: fix evaluated command in callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu 09c75714f9 trigger: add option "listfull" in command /trigger 2014-02-09 12:55:41 +01:00
Sebastien Helleu 717d89a1f7 trigger: split trigger command on creation, not when executing the callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu 4a9c9a0b07 trigger: add options trigger.color.trigger{_disabled} 2014-02-09 12:55:41 +01:00
Sebastien Helleu adf547a47c trigger: add option "addinput" in command /trigger 2014-02-09 12:55:41 +01:00
Sebastien Helleu 77e49a99e6 trigger: add missing value in trigger_hook_default_regex 2014-02-09 12:55:41 +01:00
Sebastien Helleu 9dab03fab2 trigger: do not sort completions for hook type (use order defined in trigger.h) 2014-02-09 12:55:41 +01:00
Sebastien Helleu b712eebece trigger: add callback for changes on hook option (trigger.trigger.xxx.hook) 2014-02-09 12:55:41 +01:00
Sebastien Helleu f8ffe9d590 trigger: reorder internal trigger vars 2014-02-09 12:55:41 +01:00
Sebastien Helleu a03653273c core: replace "regex_t *" by "void *" in string functions (fix ruby compilation error with autotools) 2014-02-09 12:55:40 +01:00
Sebastien Helleu 66158f41f2 trigger: add hook command_run 2014-02-09 12:55:40 +01:00
Sebastien Helleu 639ac51593 trigger: use case insensitive comparison when searching for a trigger name 2014-02-09 12:55:40 +01:00
Sebastien Helleu 63a3837d14 trigger: add option "restart" in command /trigger 2014-02-09 12:55:40 +01:00
Sebastien Helleu a09e46f456 trigger: remove the timer hook pointer during the last timer call 2014-02-09 12:55:40 +01:00
Sebastien Helleu 1496c8a25c trigger: add completion for all arguments of command /trigger add 2014-02-09 12:55:40 +01:00
Sebastien Helleu e372b8c8cb trigger: sort triggers by name 2014-02-09 12:55:40 +01:00
Sebastien Helleu bb48af29b6 trigger: split arguments like shell in "/trigger add", to create a whole trigger with one command 2014-02-09 12:55:40 +01:00
Sebastien Helleu b5bfeb7b8d api: add function string_split_shell 2014-02-09 12:55:40 +01:00
Sebastien Helleu 6bc7c456d7 core: add argument "num_items" in function string_split_shell 2014-02-09 12:55:40 +01:00
Sebastien Helleu a703fc8c17 trigger: add timer 2014-02-09 12:55:40 +01:00
Sebastien Helleu 8368fc8b1e trigger: execute callback even if regex/command are not set in the trigger 2014-02-09 12:55:40 +01:00
Sebastien Helleu 2c1ce41faa trigger: remove quotes around value in command /trigger set 2014-02-09 12:55:40 +01:00
Sebastien Helleu e0de501a0a trigger: add hsignal 2014-02-09 12:55:40 +01:00
Sebastien Helleu 2e28f7c6be api: add function hashtable_dup 2014-02-09 12:55:40 +01:00
Sebastien Helleu be8e32dd1b trigger: add support of variable in regex option
Examples with new format:
  /regex/text/
  /regex/text/var
  /regex1/text1/ /regex2/text2/
  /regex1/text1/var /regex2/text2/var
2014-02-09 12:55:40 +01:00
Sebastien Helleu bcff9162a7 trigger: enable many trigger names and value "-all" in command /trigger {enable|disable|toggle} 2014-02-09 12:55:40 +01:00
Sebastien Helleu c9b1444b8f trigger: fix regex result in a hook print 2014-02-09 12:55:40 +01:00
Sebastien Helleu 356ac05e07 trigger: display regex changes in monitor buffer 2014-02-09 12:55:40 +01:00
Sebastien Helleu a0a2103828 trigger: minor change in output of /trigger for regex 2014-02-09 12:55:40 +01:00
Sebastien Helleu e9e32931aa trigger: add more help in trigger options 2014-02-09 12:55:40 +01:00
Sebastien Helleu 4205f7c498 trigger: add option "rename" in command /trigger 2014-02-09 12:55:40 +01:00
Sebastien Helleu f92d6e9da3 trigger: do not allow a name starting with "-" 2014-02-09 12:55:40 +01:00
Sebastien Helleu 30942f7f62 trigger: add trigger plugin 2014-02-09 12:55:40 +01:00
Sebastien Helleu a0bf3938f1 core: display a warning in case of inconsistency between the options weechat.look.save_{config|layout}_on_exit 2014-02-09 12:51:34 +01:00
Sebastien Helleu 190f5dd5f2 core: add more info in /help weechat.look.hotlist_sort 2014-02-09 12:43:18 +01:00
Sebastien Helleu 8564d9c7ef Version 0.4.4-dev 2014-02-09 12:04:13 +01:00
Sebastien Helleu f25dd0c81e Version 0.4.3 2014-02-09 09:52:53 +01:00
Sebastien Helleu 2b4401339a doc: clean temporary files used to build man pages (autotools) 2014-02-08 23:40:21 +01:00
Sebastien Helleu 7b0e01265b doc: add missing Polish docs in Makefile.am 2014-02-08 23:38:31 +01:00
Ryuunosuke Ayanokouzi 1eedace713 doc: update Japanese translations, user/developer's guide and plugin API reference 2014-02-08 15:15:18 +01:00
Sebastien Helleu 43fb54f51d core: fix apply of layout when buffers that are not in layout are before some buffers in layout
Now when a layout is applied, the buffers in layout are inserted/sorted
first in the new list. Then the other buffers (not in layout) are added
after this loop, and then they are added after all layout buffers.
2014-02-07 17:07:45 +01:00
Sebastien Helleu bbd212c675 weercd.py: use /usr/bin/env in python shebang 2014-02-07 15:01:39 +01:00
Sebastien Helleu 52fb9fc237 core: fix typo in FindGnuTLS.cmake 2014-02-06 17:26:36 +01:00
Sebastien Helleu 0ffb61617a core: fix hotlist problems after apply of a layout (bug #41481)
This commit fixes a problem when computing the value of "num_displayed"
in all buffers. For merged buffers (with same number), the num_displayed
of each merged buffer must be incremented (and not only the current
active buffer).
2014-02-06 15:17:00 +01:00
Krzysztof Koroscik 6c33b0d6e6 doc: update Polish translations and user's guide 2014-02-06 11:25:35 +01:00
Sebastien Helleu d8b9e0a6bf ruby: add detection and fix compilation with Ruby 2.0 (patch #8209)
Now the search for Ruby is first performed with pkg-config and includes
detection of Ruby 2.0.
If not found, the old code for detection is used (for old distros or
old Ruby versions).

The specific test on Ruby 1.9.0 (to disable this version) has been
removed (1.9.0 was a dev/unstable version from 2007, quite old now).
2014-02-05 17:27:36 +01:00
Sebastien Helleu 15394897e3 core: remove multiple detections of pkg-config in configure.ac 2014-02-05 13:58:07 +01:00
Patrick Steinhardt 47ced4833d core: fix installation of weechat-plugin.h with autotools (patch #8305) 2014-02-04 22:18:12 +01:00
Sebastien Helleu a3b5ae5e65 alias: add default alias /beep => /print -stderr \a 2014-02-04 16:20:55 +01:00
Sebastien Helleu 7fa74d89f7 core: fix a French translation 2014-02-04 10:59:29 +01:00
Sebastien Helleu bc7ed9f3a2 doc: fix typos in French relay protocol 2014-02-04 10:58:23 +01:00
Sebastien Helleu b91378fedc core: use structure itself for sizeof in two malloc 2014-02-04 08:34:05 +01:00
Sebastien Helleu 944972bc95 doc: add French version of relay protocol 2014-02-03 15:41:33 +01:00
Sebastien Helleu a2839fabb5 ruby: fix compilation warning 2014-02-02 20:33:03 +01:00
Sebastien Helleu 6c47428e78 core: fix compilation on Android (replace include of sys/termios.h by termios.h) (bug #41434) 2014-02-02 15:12:37 +01:00
Sebastien Helleu fcd120fa50 doc: minor changes in developer's guide 2014-02-02 11:10:33 +01:00
Sebastien Helleu 092f70aa7e core: update ChangeLog 2014-02-02 09:59:32 +01:00
Sebastien Helleu 01129cbc79 Version 0.4.3-rc2 2014-02-02 09:57:51 +01:00
Sebastien Helleu 74d236dfeb doc: add French developer's guide 2014-02-02 09:49:59 +01:00
Nils Görs 6b0bd1302a core: update German translations 2014-02-02 09:28:42 +01:00
Sebastien Helleu 01fb345fe0 core: fix compilation on Android (replace calls to rindex by strrchr) (bug #41420, patch #8301) 2014-02-02 09:00:46 +01:00
Sebastien Helleu 9db356bd9b core: fix crash when creating two bars with same name but different case (bug #41418) 2014-02-01 09:12:51 +01:00
Sebastien Helleu 219f75b225 irc: clear the gnutls session in all cases after SSL connection error 2014-01-31 19:24:26 +01:00
Sebastien Helleu 59481611dd relay: send backlog for irc private buffers 2014-01-31 16:41:12 +01:00
Sebastien Helleu ac4e762a0e doc: replace weeget.py by script plugin in plugin API reference 2014-01-30 12:33:09 +01:00
Sebastien Helleu f3d614460b core: fix typos in translations and docs 2014-01-29 22:37:33 +01:00
Sebastien Helleu 537f5617cf core: fix typo in NEWS 2014-01-28 22:24:45 +01:00
Sebastien Helleu f285fdafa0 irc: add value "353" in option irc.look.display_join_message
So now the values mean:
- 353: names on channel
- 366: names count (before this commit it meant 353 + 366)
2014-01-28 18:31:03 +01:00
Sebastien Helleu ff92b79712 core: fix typo in ChangeLog 2014-01-27 18:51:25 +01:00
Sebastien Helleu 1b2f4108fd core: fix display of read marker when all buffers line are unread
The bug is when all buffer lines are unread (so "last_read_line" pointer
is NULL), and that the option weechat.look.read_marker_always_show is on.
The read marker was displayed at bottom after switch to the buffer.

Thanks to Nils Görs.
2014-01-27 18:32:32 +01:00
Sebastien Helleu b8ffa87b5c logger: replace backslashs in name by logger replacement char under Cygwin (bug #41207) 2014-01-27 16:31:36 +01:00
Sebastien Helleu 58c615f33b core: fix memory leak in regex matching when evaluating expression 2014-01-26 20:04:05 +01:00
Sebastien Helleu f566de5d60 doc: update german auto-generated files with WeeChat commands and IRC options 2014-01-26 10:23:03 +01:00
Nils Görs 518dcfe9d9 core: update german translations and user's guide 2014-01-26 10:06:02 +01:00
Sebastien Helleu 0fbbbb4435 irc: add command "monitor" in /help irc.look.notify_tags_ison 2014-01-25 13:37:41 +01:00
Sebastien Helleu 86a99af606 scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345) 2014-01-25 13:04:25 +01:00
Sebastien Helleu 97cede06b5 core: add support of escaped unicode chars in commands /print and "/input insert" 2014-01-24 12:53:23 +01:00
Sebastien Helleu d49c3eaac6 Version 0.4.3-rc1 2014-01-23 21:11:42 +01:00
Sebastien Helleu 1d81fffe5f core: remove WeeChat version in de.po 2014-01-23 19:36:35 +01:00
Sebastien Helleu bf16399096 doc: move asciidoc attributes from command line into files 2014-01-23 18:38:53 +01:00
Sebastien Helleu 3acdcee0d9 irc: use MONITOR instead of ISON for /notify when it is available on server (task #11477) (patch from Nils Görs) 2014-01-23 11:31:57 +01:00
Nils Görs 6d4bc94536 core: update german translations 2014-01-23 11:24:36 +01:00
Sebastien Helleu 48797574ff core: revert the rename of option weechat.look.save_layout_on_exit 2014-01-22 18:50:24 +01:00
Sebastien Helleu b49f825d0a core: fix typo in /help print 2014-01-22 15:44:00 +01:00
Sebastien Helleu a763797d36 api: add function "infolist_search_var" 2014-01-22 15:08:50 +01:00
Sebastien Helleu 79f2f46dec core: rename option weechat.look.save_layout_on_exit to weechat.look.store_layout_on_exit, replace "save" by "store" for layouts 2014-01-21 22:03:12 +01:00
Sebastien Helleu 26dfd69f87 core: change format of buffer name in output of /buffer
Now the full name of buffer is displayed, without parentheses around the
plugin name.

The old ouput was:

  [1] (core) weechat (notification: all)
  [1] (irc) server.freenode (notification: all)
  [2] (irc) freenode.#weechat (notification: all)

Now it is:

  [1] core.weechat (notification: all)
  [1] irc.server.freenode (notification: all)
  [2] irc.freenode.#weechat (notification: all)
2014-01-21 15:32:09 +01:00
Sebastien Helleu c19da32014 doc: update description of signal "signal_sigwinch" (plugin API reference) 2014-01-21 14:20:52 +01:00
Sebastien Helleu 5c661a497f core: delay the signal "signal_sigwinch" after WeeChat screen refresh
The signal is sent after WeeChat screen refresh, so all sizes for
windows, bars, ... are already adjusted to the new terminal size.
2014-01-21 14:19:12 +01:00
Sebastien Helleu 5d1568ecc2 core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized) 2014-01-21 14:06:57 +01:00
Sebastien Helleu a6ed216052 irc: do not display names by default when joining a channel (task #13045) 2014-01-21 12:55:48 +01:00
Sebastien Helleu 160ab683ef core: update translations 2014-01-21 12:33:03 +01:00
Sebastien Helleu d820389f8a irc: refactor code in gnutls callback to display certificates even if option ssl_fingerprint is set 2014-01-21 12:21:13 +01:00
Sebastien Helleu 1ce23cd331 irc: check that server option ssl_fingerprint has exactly 40 hexadecimal digits (when set to non-empty value) 2014-01-21 10:44:35 +01:00
Maarten de Vries 357740f455 irc: add server option "ssl_fingerprint" (task #12724) 2014-01-21 10:35:38 +01:00
Sebastien Helleu 462b106197 irc: add comment with return value for function irc_server_gnutls_callback 2014-01-20 22:43:01 +01:00
Sebastien Helleu 91dad6808a irc: display PONG answer when resulting from manual /ping command 2014-01-20 11:27:37 +01:00
Sebastien Helleu 4da8fcf34d core: add command /print 2014-01-19 23:29:00 +01:00
Sebastien Helleu 49f4c8e9ef core: fix typo in arguments description of command /mute 2014-01-18 21:27:22 +01:00
Sebastien Helleu 8fc7515322 core: reformat hook_command arguments 2014-01-18 20:33:19 +01:00
Sebastien Helleu facd73734d core: update some function comments 2014-01-18 09:09:23 +01:00
Ryuunosuke Ayanokouzi 7080e7bd55 doc: add Japanese developer's guide 2014-01-17 13:29:21 +01:00
Sebastien Helleu 32774b72a4 doc: fix typo in developer's guide 2014-01-17 09:41:01 +01:00
Sebastien Helleu 110f558629 core: set max value for option weechat.look.hotlist_names_count to GUI_BUFFERS_MAX (10000) 2014-01-16 23:09:44 +01:00
Sebastien Helleu 22cb023254 doc: fix errors in prototype and example of functions tolower/toupper (plugin API reference) 2014-01-15 16:45:17 +01:00
Sebastien Helleu 4b7e90c679 core: add option weechat.look.tab_width 2014-01-15 15:10:54 +01:00
Sebastien Helleu 70ffe0a14f core: add completion "plugins_installed" 2014-01-14 13:27:43 +01:00
Ryuunosuke Ayanokouzi 5a292b28c0 doc: update Japanese FAQ 2014-01-14 07:37:44 +01:00
Sebastien Helleu 31e1b28c90 core: fix typo in /help weechat.look.highlight_regex 2014-01-13 16:09:01 +01:00
Sebastien Helleu a8bb074fe7 core: add Japanese plugin API reference in debian packaging 2014-01-13 12:19:13 +01:00
Sebastien Helleu 3432dfd16a core: add Polish user's guide in debian packaging 2014-01-13 12:18:46 +01:00
Sebastien Helleu 4aa18db623 core: fix typos in ChangeLog 2014-01-13 12:17:40 +01:00
Ryuunosuke Ayanokouzi b6e11d51f4 doc: add Japanese plugin API reference, update Japanese translations and docs 2014-01-13 11:00:26 +01:00
Sebastien Helleu 36b2e83700 doc: move some tables in plugin API reference 2014-01-12 16:19:20 +01:00
Sebastien Helleu 71b3115ccb doc: fix typos in plugin API reference 2014-01-12 13:42:06 +01:00
Sebastien Helleu af466d85cb doc: use infinitive form for description of functions in french plugin API reference 2014-01-12 13:36:00 +01:00
Sebastien Helleu 8b3d8fdfe5 doc: move table with signals below all arguments and return value in function hook_signal (plugin API reference) 2014-01-12 13:09:58 +01:00
Andrew Potter 52f2d5bf13 lua: fix detection of Lua 5.2 in autotools (patch #8270)
lua_open() isn't defined on Lua 5.2 on Fedora 20. luaL_newstate() is
used in lua 5.1+, but lua 5.0 only has lua_main(). This adds a test
using luaL_newstate() if the lua_main() test fails.
2014-01-11 11:47:19 +01:00
Sebastien Helleu 520f7369ba doc: add missing functions strlen_screen and hook_set in scripting guide 2014-01-11 09:39:12 +01:00
Sebastien Helleu 48837c35bc api: add stdin options in functions hook_process_hashtable and hook_set (task #10847, task #13031)
The function hook_set has been added in script API.
2014-01-11 09:12:04 +01:00
Sebastien Helleu e5b0b827ef irc: fix time parsed in tag of messages on Cygwin 2014-01-11 00:30:03 +01:00
Sebastien Helleu f8b2c6f5ac xfer: add gcrypt library for link of plugin 2014-01-10 23:25:41 +01:00
Sebastien Helleu 3bba891927 irc: add missing include of netinet/in.h (fix compilation error on FreeBSD) 2014-01-10 17:50:12 +01:00
Sebastien Helleu 02868b4dc0 core: optimize xxx_valid() functions: return immediately if pointer is NULL 2014-01-09 19:28:51 +01:00
Sebastien Helleu 73eb2564f3 core: add "POSIX extended" in description of options/commands/functions using regular expressions 2014-01-09 17:21:19 +01:00
Sebastien Helleu 7e540dc5fb doc: add missing function "string_has_highlight_regex" in italian plugin API reference 2014-01-09 16:09:39 +01:00
Sebastien Helleu 4a6bdc1c9c relay: fix memory leak on unload of relay plugin 2014-01-09 15:34:30 +01:00
Sebastien Helleu 1c3c7b01db doc: update function network_connect_to (plugin API reference) 2014-01-09 12:51:58 +01:00
Sebastien Helleu afa432af25 core: update translations 2014-01-09 12:49:17 +01:00
Andrew Potter 144dc60d0a xfer: add support of IPv6 for DCC chat/file (patch #7992) 2014-01-09 12:48:54 +01:00
Sebastien Helleu 9040dfbf52 core: fix crash in /eval when config option has a NULL value 2014-01-08 09:05:58 +01:00
Sebastien Helleu f878997828 core: fix typo in comment 2014-01-07 09:27:03 +01:00
Sebastien Helleu 7d17e429aa ruby: remove evil tab 2014-01-06 22:37:03 +01:00
Andrew Potter d216786846 xfer: use same infolist for hook and signals (patch #7974) 2014-01-06 16:00:21 +01:00
Sebastien Helleu b5b9dc342e doc: update auto-generated files with hdata 2014-01-06 11:26:50 +01:00
Sebastien Helleu fa73f5357b core: add missing type "shared_string" in hdata_type_string[] 2014-01-06 11:25:14 +01:00
Sebastien Helleu 646a072511 xfer: add option xfer.file.auto_check_crc32 (patch #7963)
Thanks to Andrew Potter for the patch.
2014-01-06 11:21:12 +01:00
Sebastien Helleu 0ac504a18b ruby: fix ruby init with ruby >= 2.0 (bug #41115) 2014-01-06 07:54:29 +01:00
Sebastien Helleu cc40a0ee55 doc: add note about function hdata_update at the beginning of hdata chapter (plugin API reference) 2014-01-05 16:19:05 +01:00
Sebastien Helleu 846dde00aa core: fix crash with hdata_update on shared strings, add hdata type "shared_string" (bug #41104) 2014-01-05 14:37:27 +01:00
Sebastien Helleu 7dfaca9ef3 xfer: replace call to sprintf() with snprintf() 2014-01-05 10:47:09 +01:00
Sebastien Helleu d48896cfa4 core: replace calls to sprintf() with snprintf() 2014-01-05 10:44:53 +01:00
Sebastien Helleu a571d599d3 core: fix compilation warnings on OpenBSD
On OpenBSD, the variable "tv_sec" in struct timeval has type "long"
(type "time_t" under Linux).
So we need to copy this value to a temporary variable before using its
pointer with function localtime().
2014-01-05 10:42:49 +01:00
Sebastien Helleu f840c64626 doc: fix description of xfer signals in plugin API reference 2014-01-02 18:17:23 +01:00
Sebastien Helleu e058d75ce3 xfer: add "network" prefix for (dis)connection messages in xfer chat buffer 2014-01-02 15:21:42 +01:00
Sebastien Helleu 5668e2ab12 irc: use statusmsg from message 005 to check prefix char in status notices/messages 2014-01-02 10:47:18 +01:00
Sebastien Helleu 46e46ed763 irc: add comments for functions about modes/prefix/chanmodes 2014-01-02 09:41:08 +01:00
Sebastien Helleu 78d270fa04 doc: fix typo in plugin API reference 2014-01-01 19:17:00 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu d364298d75 core: fix unneeded shift of buffer numbers when a buffer with layout is created and merged 2013-12-31 23:58:55 +01:00
Sebastien Helleu 9835d530b9 doc: add missing value for property "active" in function buffer_get_integer (plugin API reference) 2013-12-31 23:51:08 +01:00
Sebastien Helleu 44459f45e0 core: add contributor to AUTHORS 2013-12-31 17:34:44 +01:00
Sebastien Helleu 52cb1036d2 doc: fix typos in plugin API reference 2013-12-31 13:08:12 +01:00
Sebastien Helleu 8cba1e10c0 doc: fix description of arguments in some "set" functions (plugin API reference) 2013-12-30 16:05:51 +01:00
Sebastien Helleu 45ae0c1d67 core: rename option "add" to "store" in command /layout 2013-12-30 15:40:56 +01:00
Sebastien Helleu c16dd6dcde doc: fix typo in return value of function weechat_list_prev (plugin API reference) 2013-12-29 10:20:36 +01:00
Sebastien Helleu cc80730de7 irc: fix typo in /help irc.look.highlight_{channel|pv|server} 2013-12-24 00:06:13 +01:00
Sebastien Helleu 5afdf63fa3 core: update ChangeLog 2013-12-23 23:47:25 +01:00
Sebastien Helleu b886a763b6 doc: add missing spaces 2013-12-23 23:43:44 +01:00
Sebastien Helleu 7d5730b14e doc: remove obsolete command line option -k/--keys in man page 2013-12-23 23:40:46 +01:00
Krzysztof Koroscik f8cd82b1d1 doc: add polish man page and user's guide, update polish translations and FAQ 2013-12-23 23:38:15 +01:00
Sebastien Helleu f1a346c21a core: replace darkgray color as default value of options
New default value is now used for these options:
- weechat.color.chat_inactive_buffer: "default"
- weechat.color.chat_inactive_window: "default"
- weechat.color.chat_nick_offline: "default"
- weechat.color.chat_nick_offline_highlight_bg: "blue"
- weechat.color.chat_prefix_buffer_inactive_buffer: "default"
- irc.color.topic_old: "default"
- logger.color.backlog_end: "default"
- logger.color.backlog_line: "default"
- script.color.text_delimiters: "default"
2013-12-23 08:35:19 +01:00
Sebastien Helleu 5ccec2e85f doc: update example of copyright in source file (developer's guide) 2013-12-22 18:37:29 +01:00
Sebastien Helleu 929a7906c4 relay: use syntax \xNN instead of \NN for control chars in raw buffer 2013-12-22 18:31:53 +01:00
Sebastien Helleu 571e6c0d5a irc: use syntax \xNN instead of \NN for control chars in raw buffer 2013-12-22 18:31:30 +01:00
Nils Görs 5002cb8b79 core: update german translations 2013-12-21 16:45:27 +01:00
Sebastien Helleu c0081e7355 charset: replace call to strcasecmp by weechat_strcasecmp
This fixes a compilation problem on Illumos.
2013-12-21 10:29:32 +01:00
Sebastien Helleu d7f29995fd core: add support of UTF-8 chars in horizontal/vertical separators 2013-12-18 16:38:20 +01:00
Sebastien Helleu 66494c439e core: add option weechat.look.window_auto_zoom, disable automatic zoom by default when terminal becomes too small for windows 2013-12-18 13:07:24 +01:00
Sebastien Helleu 4c5e89ca6a doc: add coordinate 222 for problem with mouse coordinates (FAQ) 2013-12-17 12:55:06 +01:00
Sebastien Helleu 17052c0c67 irc: remove display of channel in channel notices, display "PvNotice" for channel welcome notices 2013-12-17 08:29:05 +01:00
Sebastien Helleu 4a88caa1f2 irc: add option irc.look.smart_filter_mode (task #12499) 2013-12-16 11:02:17 +01:00
Sebastien Helleu f44cf6ac3c core: add support of logical and/or for argument "tags" in function hook_print 2013-12-15 19:52:20 +01:00
Sebastien Helleu 2f3d712a62 core: fix use of NULL pointer (in case of malloc error) when creating a new filter 2013-12-15 19:50:56 +01:00
Sebastien Helleu 4c3d090184 core: fix some translation of "tags" in french 2013-12-15 16:47:38 +01:00
Sebastien Helleu d52d214448 core: add buffer property "highlight_tags_restrict", rename option irc.look.highlight_tags to irc.look.highlight_tags_restrict
The buffer property "highlight_tags" is renamed to "highlight_tags_restrict".
New behavior for buffer property "highlight_tags": force highlight on tags.
Option irc.look.highlight_tags is renamed to irc.look.highlight_tags_restrict.
2013-12-15 13:45:40 +01:00
Sebastien Helleu 52cbd0b921 core: add note about support of "*" for tags in /help filter 2013-12-14 11:43:58 +01:00
Sebastien Helleu 811b68991e core: add logical "and" between tags in filters, weechat.look.highlight_tags and buffer property "highlight_tags"
The logical "and" is made with the separator "+".

Example: "irc_notice+nick_toto,nick_test"
will match a notice from nick "toto" or any message from nick "test".
2013-12-14 11:26:03 +01:00
Sebastien Helleu 542dc8cd33 core: rename options save/reset to add/del in command /layout
The "save" option does not save to disk (so it was a bit confusing with
/save command); therefore it is renamed to "add".

The "reset" option does not really reset but delete things in the layout
(or the layout itself); therefore it is renamed to "del" (for consistency,
like other commands in WeeChat core and plugins).
2013-12-13 12:50:36 +01:00
Sebastien Helleu 1e14a6d089 irc: display mask of ignore deleted with /ignore del 2013-12-11 21:20:56 +01:00
Sebastien Helleu 1d81645ce1 core: add note about new bar item buffer_last_number in NEWS 2013-12-11 19:21:45 +01:00
Sebastien Helleu a193814a3d core: update ChangeLog 2013-12-11 19:16:27 +01:00
Sebastien Helleu dcd7ff81b3 core: update translations 2013-12-11 19:08:49 +01:00
Sebastien Helleu 58f1403414 Merge branch 'buffer-auto-renumber' 2013-12-11 18:54:06 +01:00
Sebastien Helleu dd8650a282 irc: add note about command /disconnect in /help connect 2013-12-11 13:19:14 +01:00
Sebastien Helleu 95adb3a04b core: fix text emphasis with wide chars on screen like japanese (patch #8253) (patch from Ryuunosuke Ayanokouzi) 2013-12-11 12:48:32 +01:00
Sebastien Helleu 92ab912fae doc: add note about things not allowed in callback of function hook_completion (plugin API reference) 2013-12-10 11:50:58 +01:00
Sebastien Helleu 0eb77db79f core: add signal "buffer_cleared" 2013-12-08 09:41:59 +01:00
Sebastien Helleu fa7f42cdd6 core: remove option on /unset of plugin description option (plugins.desc.xxx) (bug #40768) 2013-12-08 08:57:30 +01:00
Sebastien Helleu 0b27dd58b3 irc: don't return a default ban mask if option is not set or if host is not found 2013-12-08 08:31:44 +01:00
Sebastien Helleu c832116cae irc: rename option irc.look.ban_mask_default to irc.network.ban_mask_default 2013-12-07 22:38:58 +01:00
Sebastien Helleu 1aeeecb82d irc: add option irc.look.ban_mask_default (bug #26571) 2013-12-07 22:02:05 +01:00
Sebastien Helleu f6a80141b7 core: fix typos in french translation of /help ban 2013-12-07 17:10:09 +01:00
Sebastien Helleu faba6aa6c2 irc: improve /help of command/command_delay/autojoin options in servers 2013-12-07 15:18:40 +01:00
Sebastien Helleu c82633e9e4 core: use first gap for new buffer only if the buffer has no layout number 2013-12-07 12:45:40 +01:00
Sebastien Helleu 4f184b6111 core: add note about new option "irc.network.lag_max" in NEWS 2013-12-07 11:54:11 +01:00
Sebastien Helleu 4520b0f7ae core: add option weechat.look.buffer_position
The value of option can be:
- "end": buffer is added after the end of list (number = last number + 1)
- "first_gap": buffer is added at first number available in the list
  (after the end of list if no number is available)
2013-12-07 10:44:08 +01:00
Sebastien Helleu 9d74013036 irc: add option irc.network.lag_max 2013-12-06 08:40:44 +01:00
Sebastien Helleu 92280750c8 doc: update auto-generated files with hdata 2013-12-06 08:13:04 +01:00
Sebastien Helleu ea16b06348 irc: fix ignore on a host without nick 2013-12-05 19:47:51 +01:00
Sebastien Helleu dfa3e13e3d doc: add missing property "print_hooks_enabled" in function buffer_set (plugin API reference) 2013-12-04 10:16:44 +01:00
Sebastien Helleu 1d7466032d core: add buffer property "day_change" to hide messages for the day change in specific buffers 2013-12-04 09:38:57 +01:00
Sebastien Helleu 267eeffa0a irc: add comments about irc color codes in messages 2013-12-04 08:55:02 +01:00
Sebastien Helleu 57cda6a331 irc: remove function irc_color_decode_for_user_entry
Since commits d03eb52d49 and
0c48b7ab8b, the IRC color codes are the
same in input line and messages, so the function
irc_color_decode_for_user_entry is not needed any more.
It was used only to decode colors when completing the command /topic
(with the channel topic).
2013-12-04 07:51:59 +01:00
Sebastien Helleu 03fa2448ef core: use syntax key[xxx] for key bindings in ChangeLog and NEWS 2013-12-02 19:11:35 +01:00
Sebastien Helleu 50a489bc33 doc: use syntax key[xxx] for key bindings in quickstart guide 2013-12-02 19:11:03 +01:00
Sebastien Helleu 3d49f7662f doc: replace @k(xxx) by key[xxx] for key bindings in docs
The new syntax is more readable in source files (same result in HTML
docs).
2013-12-02 19:10:08 +01:00
Sebastien Helleu d0832cd50e core: replace default key ctrl+"c", "u" by ctrl+"c", "_" for underlined text in messages 2013-12-01 18:39:05 +01:00
Sebastien Helleu 0c48b7ab8b irc: use color code 0x1F (ctrl-_) for underlined text in input line (same code as messages) (bug #40756) 2013-12-01 18:34:40 +01:00
Sebastien Helleu d3799b4616 core: replace default key ctrl+"c", "r" by ctrl+"c", "v" for reverse video in messages 2013-12-01 11:30:52 +01:00
Sebastien Helleu d03eb52d49 irc: use color code 0x16 (ctrl-V) for reverse video in messages
Other clients are using 0x16, and not 0x12 that was the default in
WeeChat (which was able to decode both 0x12 and 0x16).

Now the 0x12 is not decoded and does not make reverse video any more.
2013-12-01 11:28:32 +01:00
Sebastien Helleu b32ccca390 irc: check that string is not NULL in functions irc_color_{decode,decode_for_user_entry,encode} 2013-12-01 09:50:53 +01:00
Sebastien Helleu c8a479453d core: add missing access to hdata "buffer_visited" 2013-12-01 08:46:07 +01:00
Sebastien Helleu 9a160509d7 core: fix random crash when closing a buffer
The problem happened because we used a pointer to a
"struct t_gui_buffer_visited" for the switch to another buffer,
when the buffer is closed. This is executed in all windows displaying
the buffer, but on each switch to buffer, the visited buffers are
updated and therefore the address can change. The pointer becomes
invalid, and WeeChat still uses it on next windows for the buffer
switch.

It happened rarely because the visited buffer is freed and allocated
immediately after, so the address is often the same in memory.

Thanks to silverd for the tests on OS X to track the problem.
2013-12-01 08:37:22 +01:00
Sebastien Helleu 983791de84 irc: use option irc.network.colors_send (instead of receive) when displaying messages sent by commands /away, /me, /msg, /notice, /query 2013-11-30 19:50:56 +01:00
Sebastien Helleu 70e68afbf8 core: fix command /buffer renumber 2013-11-30 19:42:28 +01:00
Sebastien Helleu f97ef54733 core: fix unmerge of buffer 2013-11-30 19:09:39 +01:00
Sebastien Helleu 92d6074931 core: add limits for buffers (max 10000 buffers opened, number of a buffer: between 1 and INT_MAX - 10000) 2013-11-30 18:45:19 +01:00
Sebastien Helleu 3e90657ab0 core: fix crash when moving buffer with only one buffer (core buffer) 2013-11-30 17:34:25 +01:00
Sebastien Helleu b7e0e29de7 core: add bar item "buffer_last_number" 2013-11-30 15:57:34 +01:00
Sebastien Helleu 4c59f2bf5e core: add variable "gui_buffers_count", use it in bar item "buffer_count"
Now the bar item "buffer_count" displays the number of opened buffers
(each merged buffer counts 1).
2013-11-30 15:11:17 +01:00
Sebastien Helleu f99103ee21 aspell: fix detection of nicks when there are non-alphanumeric chars around and in private buffers 2013-11-30 13:31:06 +01:00
Sebastien Helleu 332dcf1257 aspell: fix detection of nicks when there is nick completer at the end 2013-11-30 12:58:33 +01:00
Sebastien Helleu 0a0bbeed4d aspell: fix detection of nicks with non-alphanumeric chars 2013-11-30 12:18:36 +01:00
Sebastien Helleu a496db78aa core: add option weechat.look.buffer_auto_renumber
New option: weechat.look.buffer_auto_renumber, boolean which is on by
default, so the behavior is the same: no gap is allowed in numbers,
they start at number 1 and they are auto-renumbered after each command
like /buffer move, /buffer merge, ...

A new option "renumber" has been added in command /buffer, to renumber
a range of buffers (or all).

Changes when the option weechat.look.buffer_auto_renumber is off:

- command "/buffer move":
    - the current number will be left free for use, and the
      target number can be any number >= 1 (possibly higher than the
      current last buffer number)
    - the value can be "-" (which moves the buffer to number 1)
      or "+" (which moves the buffer to the end, ie last number + 1)

- command "/buffer swap":
    - now the buffers are swapped in the list without being "moved"

- comand "/buffer [+/-]N":
    - it is now working with gaps in buffer numbers

- command "/buffer merge":
    - it can now merge a group of merged buffers into another buffer
      (or buffers merged themselves)

- layout can restore buffer numbers with gaps in numbers
2013-11-30 10:39:38 +01:00
Sebastien Helleu 9cc31d88ea irc: fix crash when setting a wrong value in server option "ssl_priorities"
The bug was introduced by commit 2305c95db0
2013-11-30 09:20:14 +01:00
Sebastien Helleu 7e14c60f4d core: revert check of layout when switching to a buffer using value "auto" in buffer_set
This reverts commits 14cf7bd20f and
262dff4b87.

The initial fix was for a problem with irc autojoin and layout: the
current window has not appropriate buffer (as defined in layout) if it
is not the latest channel in "autojoin" option.

So the way to fix this problem is to set the value of option
irc.look.buffer_switch_autojoin to off.
2013-11-28 19:59:36 +01:00
Sebastien Helleu 02fc4053c9 python: fix load of scripts with python >= 3.3 2013-11-28 19:46:36 +01:00
Sebastien Helleu 74333b2270 irc: suggest lower values for option irc.server.xxx.ssl_dhkey_size after SSL error GNUTLS_E_DH_PRIME_UNACCEPTABLE 2013-11-26 16:24:21 +01:00
Sebastien Helleu 9e1caff33f core: do not update terminal title on startup if option weechat.look.window_title is empty 2013-11-24 18:14:54 +01:00
Nils Görs a0bfd1efb7 doc: update german user's guide 2013-11-24 13:59:29 +01:00
Sebastien Helleu 2305c95db0 irc: fix memory leak when checking the value of ssl_priorities option in servers 2013-11-23 17:06:07 +01:00
Sebastien Helleu 1fa4701ed0 core: free secured data on exit 2013-11-23 16:29:51 +01:00
Sebastien Helleu 0b94d3c3bc core: free nicklist data (for hsignal) on exit 2013-11-23 16:20:19 +01:00
Sebastien Helleu 95d0d33972 irc: fix memory leak when a channel is deleted 2013-11-23 16:15:36 +01:00
Sebastien Helleu 262dff4b87 doc: update description for value "auto" in function buffer_set with property "display" (plugin API reference)
Since commit 14cf7bd20f, the value "auto"
will switch buffer only if there is no layout defined for the current
window, or if the buffer displayed is NOT the buffer in the layout
(so if the buffer is defined in the layout, no switch).
2013-11-23 09:28:42 +01:00
Sebastien Helleu bfcabd2b96 core: fix crash on "/buffer close name" when the buffer is not found 2013-11-22 08:19:05 +01:00
Sebastien Helleu 51aa15cced core: fix crash on /buffer close core.weechat 2013-11-22 07:57:30 +01:00
Nils Görs 58ae58d81b core: update german translations 2013-11-20 15:19:55 +01:00
Sebastien Helleu 0226a1934a doc: use asciidoc attribute for date of docs (fix cmake warning)
CMake was displaying some warnings about a space in argument used for
asciidoc command:

  -a date=`date "+%F"`

Warning displayed:

CMake Warning (dev) in doc/en/CMakeLists.txt:
  Syntax Warning in cmake code at

    /path/to/doc/en/CMakeLists.txt:41:82

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.
2013-11-20 08:32:39 +01:00
Sebastien Helleu 6716985d27 core: fix current color/background after reset of color
Bug was visible with such colored string in IRC:

 ^Cc7,5 one ^Cc ^Cc7 two

Before the fix, the word "two" had a red background.
The "^Cc" should reset both color + background, so now it does not have
a background any more.
2013-11-19 19:58:10 +01:00
Pierre Carru b5db21d6c4 guile: disable guile gmp allocator (fix crash on unload of relay plugin) (bug #40628) 2013-11-19 19:41:16 +01:00
Sebastien Helleu 717eaae496 scripts: use #ifdef to check if versions are defined in signal "debug_libs" 2013-11-18 14:32:13 +01:00
Sebastien Helleu fba9839587 core: use #ifdef to check if versions are defined in signal "debug_libs" 2013-11-18 14:31:26 +01:00
Sebastien Helleu 3b53a3a8be core: remove "v" before versions displayed by /debug libs 2013-11-18 07:46:14 +01:00
Sebastien Helleu b63ac8a0f1 scripts: display lib version on signal "debug_libs" 2013-11-17 20:51:54 +01:00
Sebastien Helleu be9269dfc2 aspell: display aspell/enchant version on signal "debug_libs" 2013-11-17 20:51:10 +01:00
Sebastien Helleu 8d64b658df core: add option "libs" for command /debug, add signal "debug_libs" 2013-11-17 20:49:37 +01:00
Sebastien Helleu e0890b376c doc: update auto-generated files with WeeChat options 2013-11-17 20:20:27 +01:00
Sebastien Helleu 47213a9869 core: remove obsolete signals "debug_buffer" and "debug_windows" 2013-11-17 11:48:00 +01:00
Sebastien Helleu f435e8d3fa core: optimize loop when closing several buffers with command /buffer close n1-n2 2013-11-15 09:01:19 +01:00
Sebastien Helleu d1a89e9db0 core: fix memory leak when n2 is not a valid number in command /buffer close n1-n2 2013-11-15 09:00:24 +01:00
Sebastien Helleu 70ed2a8189 core: apply color attributes when clearing a window (patch #8236) (patch from Tom Alsberg) 2013-11-14 19:41:28 +01:00
Sebastien Helleu ea9d79f268 core: set option weechat.look.paste_bracketed to "on" by default 2013-11-13 08:28:07 +01:00
Sebastien Helleu 725c5aaeb9 core: fix truncated text when pasting several long lines (bug #40210) 2013-11-12 21:37:51 +01:00
Sebastien Helleu c273b87ccc doc: fix build of man page (add missing copy of file cmdline_options.xx.txt) 2013-11-12 07:55:19 +01:00
Sebastien Helleu 941fe2efc9 core: add missing contributors in AUTHORS 2013-11-11 12:29:34 +01:00
Krzysztof Koroscik dc1fb1a70c core: update polish translations 2013-11-11 09:08:09 +01:00
Sebastien Helleu a35abad19d doc: fix style for tables with asciidoc 8.6.9 (developer's guide) 2013-11-11 09:06:56 +01:00
Sebastien Helleu 6f5d1228a4 doc: fix warnings on build of man page with a2x 8.6.9
The -D/--destination-dir displays a warning for non HTML doc (so for
man page). So the man page is copied to the build directory before
being built.
2013-11-11 09:06:14 +01:00
Sebastien Helleu e867298233 core: fix terminal title under screen/tmux 2013-11-09 19:26:33 +01:00
Sebastien Helleu 90774b73d8 core: rename option weechat.look.set_title to weechat.look.window_title (evaluated string) 2013-11-09 17:07:02 +01:00
Sebastien Helleu 18ff3064cf core: add infos "term_width" and "term_height" 2013-11-09 15:55:11 +01:00
Sebastien Helleu ff62f3edff api: add support of infos with format ${info:name,arguments} in function string_eval_expression and command /eval 2013-11-09 15:35:54 +01:00
stfn 652653ff82 api: add support for C++ plugins 2013-11-09 13:47:13 +01:00
Sebastien Helleu 414656675e doc: add bar item "buffer_zoom" in user's guide 2013-11-09 13:31:41 +01:00
Sebastien Helleu 9b4eb6d607 core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" (patch #8204) (patch from Nils Görs) 2013-11-09 13:21:56 +01:00
Sebastien Helleu 2b04972326 core: update translations 2013-11-09 10:27:43 +01:00
Sebastien Helleu 539516fe7c xfer: load plugin even if options can not be read in xfer.conf (with warnings) 2013-11-09 10:26:51 +01:00
Sebastien Helleu 757cbcb999 script: load plugin even if options can not be read in script.conf (with warnings) 2013-11-09 10:26:22 +01:00
Sebastien Helleu 34783c1006 rmodifier: remove unneeded warning 2013-11-09 10:25:48 +01:00
Sebastien Helleu e8ed81ec22 relay: load plugin even if options can not be read in relay.conf (with warnings) 2013-11-09 10:25:16 +01:00
Sebastien Helleu 7bac9f377e logger: load plugin even if options can not be read in logger.conf (with warnings) 2013-11-09 10:24:40 +01:00
Sebastien Helleu aaf991a7b9 irc: load plugin even if options can not be read in irc.conf (with warnings) 2013-11-09 10:24:08 +01:00
Sebastien Helleu 91f76dc771 charset: remove unneeded warning, do not load plugin when options can not be initialized 2013-11-09 10:23:30 +01:00
Sebastien Helleu a349af5356 aspell: load plugin even if options can not be read in aspell.conf (with warnings) 2013-11-09 10:22:43 +01:00
Sebastien Helleu 786ad41309 alias: remove unneeded warning, do not load plugin when options can not be initialized 2013-11-09 10:21:46 +01:00
Sebastien Helleu 8c7b9a1c5e core: improve error message when a .conf file can not be read, add a second warning about default values used 2013-11-09 10:15:32 +01:00
Sebastien Helleu 1417b7a823 core: remove unneeded warning when read of sec.conf fails (another warning is already displayed) 2013-11-09 10:13:09 +01:00
Sebastien Helleu 46c26922aa core: do not exit if read of sec.conf/weechat.conf fails 2013-11-09 09:59:37 +01:00
Sebastien Helleu a5785a1ddc core: remove unneeded warning when read of weechat.conf fails (another warning is already displayed) 2013-11-09 09:57:01 +01:00
Sebastien Helleu cce23613a7 core: display lines waiting for buffer on exit (in case of early exit) 2013-11-09 08:55:57 +01:00
Sebastien Helleu 05e1e31072 core: create .conf file with default options only if the file does not exist (and not on read error with existing file) 2013-11-09 08:44:48 +01:00
Sebastien Helleu 802aa2167a core: add shared strings in ChangeLog for version 0.4.2 2013-11-08 18:25:19 +01:00
Sebastien Helleu e2605cf77b core: fix highlight on action messages: skip the nick at beginning to prevent highlight on it (bug #40516) 2013-11-08 18:22:36 +01:00
Sebastien Helleu 5ce1a3e867 irc: fix groups in channel nicklist when reconnecting to a server that supports more nick prefixes than the previously connected server 2013-11-07 20:52:47 +01:00
Sebastien Helleu 9b37ae8e3d doc: add link to download page for remote interfaces (user's guide) 2013-11-07 20:51:27 +01:00
Sebastien Helleu 7272b99254 core: use one line titles in AUTHORS/INSTALL/README 2013-11-06 21:40:46 +01:00
Sebastien Helleu 5812564bf5 core: use one line titles and less chars for delimited blocks/tables in ChangeLog/NEWS 2013-11-06 08:20:20 +01:00
Sebastien Helleu b6e4f918f5 core: add default keys alt+home/end and alt+F11/F12 for xterm 2013-11-05 21:46:25 +01:00
Sebastien Helleu e3c6384972 doc: use one line titles and less chars for delimited blocks/tables in asciidoc files 2013-11-04 21:41:34 +01:00
Sebastien Helleu f5a65c9b2b api: fix read of arrays in hdata functions hdata_<type> (bug #40354) 2013-11-03 12:04:02 +01:00
Sebastien Helleu 0d35a80a9f doc: make script docgen.py compliant with PEP8, replace %-formatting with .format() 2013-11-02 18:19:28 +01:00
Nils Görs d2f2a863e4 core: update german translations 2013-11-02 11:12:33 +01:00
Sebastien Helleu dd32052fec core: add support of italic text (requires ncurses >= 5.9 patch 20130831) 2013-11-02 10:58:38 +01:00
Sebastien Helleu cf81a6dfcd core: use ncurses include path when compiling with cmake 2013-11-02 09:43:20 +01:00
Sebastien Helleu 591b111891 weercd.py: major code cleanup, full PEP8 compliance, replace %-formatting with .format()
All changes:
- import the new division operator and the print function
- replace the %-formatting with .format()
- full PEP8 compliance
- major code cleanup: new function send_cmd() to send an IRC command,
  split flood() function into many functions.

The messages sent from a file (or stdin) are formatted with
".format(self=self)", so that attributes from class Client are replaced
with their values. You can use for example these attributes:

  {self.nick}     current client nick
  {self.name}     the server name ('weercd')
  {self.version}  the server version (version of weercd.py)
2013-11-02 08:47:59 +01:00
Sebastien Helleu 4af78fa4aa weercd.py: use argparse module to parse command line arguments, remove config file
The configuration file weercd.conf has been removed. Instead, default options
can be set in an environment variable called "WEERCD_OPTIONS".
A file with options can be used, then name must be given as option with a
leading "@", for example: python weercd.py @args.txt

The option "action" has been removed. Default behavior is still to flood the
client. Actions "user" and "file" have been merged into a single option
-f/--file, which accepts a file, or special value "-" to read stdin.

The script now requires python >= 2.7 (because the argparse module is not
available in python 2.6 and older versions).
2013-10-27 16:58:46 +01:00
Sebastien Helleu f111abdfc1 irc: fix auto-switch to channel buffer when doing /join channel (without "#") 2013-10-27 15:08:30 +01:00
Sebastien Helleu cc8f798237 core: remove version/date in ChangeLog/NEWS (let asciidoc set that with attributes date/revision) 2013-10-27 14:04:29 +01:00
Sebastien Helleu 14cf7bd20f core: fix auto-apply of window layout in current window when option irc.look.buffer_switch_autojoin is on 2013-10-27 11:07:33 +01:00
Sebastien Helleu 0069dbb5f1 core: fix bind of keys in cursor/mouse context when key starts with "@" (remove the warning about unsafe key) 2013-10-26 12:22:22 +02:00
Sebastien Helleu f3be467dd0 doc: fix typos in color codes (developer's guide) 2013-10-26 10:11:46 +02:00
Sebastien Helleu d4fd0293ad doc: fix layout of relay protocol (HTML version) when it is printed 2013-10-24 16:10:36 +02:00
Sebastien Helleu 5a333b788d lua: fix crash on calls to callbacks during load of script 2013-10-24 14:21:18 +02:00
Sebastien Helleu 08015304bd doc: replace "Act:" by "H:" in hotlist (user's guide) 2013-10-23 19:37:51 +02:00
Sebastien Helleu 5243d18c76 doc: add jabber.py and bitlbee/minbif in list of features (user's guide) 2013-10-23 14:41:28 +02:00
Sebastien Helleu 52d72a3934 core: fix typo in /help weechat.history.max_buffer_lines_number 2013-10-20 21:49:21 +02:00
Sebastien Helleu da695533d4 core: fix typo in /help weechat.history.max_buffer_lines_minutes 2013-10-20 21:42:54 +02:00
Sebastien Helleu 3088d319cf doc: use asciidoc system attribute {sys:command} for year in copyright of man page 2013-10-20 21:26:17 +02:00
Sebastien Helleu 7014fbdd60 core: add warning about value 0 in help of some history options
Options affected:
- weechat.history.max_buffer_lines_minutes
- weechat.history.max_buffer_lines_number
- weechat.history.max_commands
2013-10-20 12:21:09 +02:00
Sebastien Helleu 64d01f47fa doc: fix layout of HTML docs when they are printed
Some long lines in docs were causing a zoom, and then the text font was
smaller than it should be. Some styles have been fixed to remove the zoom
and keep the original ratio.
2013-10-20 11:39:11 +02:00
Sebastien Helleu 53ec644ce1 core: fix truncated prefix when filters are toggled (bug #40204) 2013-10-19 16:21:20 +02:00
Sebastien Helleu 43c1280343 doc: use asciidoc attribute for year in copyright of man page 2013-10-19 12:52:45 +02:00
Sebastien Helleu ce7eb3ac73 core: add file "compile" in .gitignore 2013-10-19 12:46:19 +02:00
Sebastien Helleu 958cf969b7 core: remove dependencies in weechat.cygport.in, let cygport tool do that automatically 2013-10-19 12:23:24 +02:00
Sebastien Helleu 9ab05d600d doc: add version >= 0.4.2 for new format of callback in function bar_item_new (plugin API reference) 2013-10-19 11:50:18 +02:00
Sebastien Helleu 88058bbccf core: add file weechat.cygport.in in tarballs (fix compilation error when compiling tarball) 2013-10-15 10:29:38 +02:00
Sebastien Helleu 07b34b053d doc: add nick modes in screen layout (user's guide) 2013-10-13 09:05:39 +02:00
Sebastien Helleu 1466a56585 core: add cygport file to build Cygwin packages 2013-10-12 19:05:27 +02:00
Sebastien Helleu 0e7ba42dfd doc: use a build directory in example of compilation with autotools (user's guide) 2013-10-12 15:58:56 +02:00
Sebastien Helleu 2bde9453ed core: use one date format when day changes from day to day+1 2013-10-10 19:42:11 +02:00
Sebastien Helleu 2a50f23e3d doc: fix typo in relay protocol 2013-10-09 17:31:55 +02:00
Sebastien Helleu 4b94b74990 irc: add option irc.look.notice_welcome_tags 2013-10-08 22:15:11 +02:00
Sebastien Helleu d82f8c8165 irc: add server option "default_msg_kick" to customize default kick/kickban message (task #12777) (patch from Nils Görs) 2013-10-08 19:57:04 +02:00
Sebastien Helleu 4adbb8da1e Revert "core: remove unneeded dependencies docbook-xml and docbook-xsl to build man page"
This reverts commit 5a94228557.

These two packages are needed to build man pages without network access.
2013-10-08 17:04:58 +02:00
Sebastien Helleu 5a94228557 core: remove unneeded dependencies docbook-xml and docbook-xsl to build man page 2013-10-08 07:53:52 +02:00
Sebastien Helleu f2b2a3d736 core: fix typo in a french translation 2013-10-06 13:44:32 +02:00
Sebastien Helleu 3dc4b41a66 core: remove version from field "Project-Id-Version" in gettext files 2013-10-06 13:43:10 +02:00
Sebastien Helleu 07115ef3d0 core: add options to customize default text search in buffers
New options:
- weechat.look.buffer_search_case_sensitive (boolean, off by default)
- weechat.look.buffer_search_force_default (boolean, off by default)
- weechat.look.buffer_search_regex (boolean, off by default)
- weechat.look.buffer_search_where (prefix, message (by default), prefix_message)
2013-10-06 11:59:42 +02:00
Sebastien Helleu 7364853c9d core: remove warning about proxy not found for option weechat.network.proxy_curl on startup
Proxies are not yet fully loaded (when reading weechat.conf), so the warning
is not displayed on startup, but only when option is changed.
2013-10-06 11:34:49 +02:00
Sebastien Helleu 66a0eb7a0b irc: improve help of server option "autojoin" 2013-10-06 11:29:38 +02:00
Sebastien Helleu 9f1658ef03 Version 0.4.3-dev 2013-10-06 10:21:49 +02:00
Sebastien Helleu 7785f7ea22 Version 0.4.2 2013-10-06 08:58:14 +02:00
Sebastien Helleu 0cef9a220d core: fix detection of python on Cygwin (autotools) 2013-10-05 20:23:07 +02:00
Sebastien Helleu 8fb67c241d core: add detection of pkg-config (required on Cygwin)
This fixes the detection of enchant lib, the macro PKG_CHECK_MODULES requires
pkg-config.
2013-10-05 20:19:59 +02:00
Sebastien Helleu b5f6874f2c core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am in plugins
This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-10-05 20:17:18 +02:00
Sebastien Helleu a6c188ce4f relay: fix decoding of websocket frames when there are multiple frames in a single message received (only the first one was decoded) 2013-10-05 16:49:39 +02:00
Sebastien Helleu 7bf712d4c9 core: fix display of read marker after buffer switch when there is no line displayed after (only filtered lines) 2013-10-05 10:19:48 +02:00
Sebastien Helleu 1583ca88e5 irc: use "private" notify for welcome notices displayed in channel (like when they are displayed in server buffer) 2013-10-05 10:19:15 +02:00
Sebastien Helleu 5a119bb0f1 irc: remove target of notice (self nick) in the display of channel welcome notice (fix highlight problem) 2013-10-05 08:12:08 +02:00
Sebastien Helleu 86008b8502 irc: display target of notice when it is displayed in channel
With the new option irc.look.notice_welcome_redirect, a private notice could
have a channel at beginning of message (with format "[#channel]") and then be
displayed on the channel, without difference with a real channel notice
(received by all nicks in channel).

For example with these commands:

  /notice nick2 [#channel] private notice
  /notice #channel notice for whole channel

Old display was (on receiver side, in #channel):

  -- | Notice(nick1): private notice
  -- | Notice(nick1): notice for whole channel

New display is:

  -- | Notice(nick1) -> nick2: private notice
  -- | Notice(nick1) -> #channel: notice for whole channel
2013-10-04 14:07:08 +02:00
Sebastien Helleu 22b53c6019 irc: fix reconnection to server using IPv6 (bug #38819, bug #40166) 2013-10-03 19:46:53 +02:00
Sebastien Helleu 32f2ec42c6 core: replace some code by calls to function gui_chat_clrtoeol() 2013-10-02 16:24:03 +02:00
Sebastien Helleu 42dce54812 core: fix spaces displayed after combining chars (bug #40115) 2013-10-02 08:03:22 +02:00
Sebastien Helleu 4e67133b9e core: fix typo in a french error message for /window merge 2013-10-02 07:59:14 +02:00
Sebastien Helleu 437ebb69d4 core: clear whole line before displaying content instead of clearing after the end of content (bug #40115) 2013-09-30 19:26:09 +02:00
Marco Paolone fdafdf147a core: update italian translations 2013-09-30 17:46:27 +02:00
Sebastien Helleu d33caa6ac5 doc: update german auto-generated file with IRC options 2013-09-30 17:43:50 +02:00
Sebastien Helleu 15173364c0 core: fix display of read marker (as horizontal line) or day change message after last buffer line when scrolling (bug #40126) 2013-09-30 16:02:02 +02:00
Sebastien Helleu 8b966d1c7e core: fix time displayed in status bar (it was one second late) (bug #40097) 2013-09-24 22:55:27 +02:00
Sebastien Helleu ad5a287134 core: fix extension (.exe) of symbolic link "weechat-curses" under Cygwin 2013-09-23 18:07:15 +02:00
Sebastien Helleu 92019c300c core: replace some calls to ncurses *printw functions by *addstr 2013-09-23 13:07:45 +02:00
Sebastien Helleu 81a229f77f core: fix errors in spanish translations 2013-09-23 10:04:35 +02:00
Nils Görs 0249666489 core: update german translations 2013-09-21 11:45:39 +02:00
Sebastien Helleu 1deba9894e Version 0.4.2-rc2 2013-09-20 23:22:40 +02:00
Nils Görs 474a498b48 core: update german translations 2013-09-20 23:10:04 +02:00
Sebastien Helleu a9ca95241d aspell: fix detection of word start/end when there are apostrophes or minus chars before/after word (thanks to Nils Görs) 2013-09-20 19:31:34 +02:00
Sebastien Helleu 2fcdba1332 irc: add extra info in /help irc.look.smart_filter_delay 2013-09-20 16:47:34 +02:00
Sebastien Helleu 1b9b2434f6 doc: add plugin "script" in list of plugins (user's guide) 2013-09-20 15:34:24 +02:00
Sebastien Helleu 7f27d88ca6 core: add proxy options username/password in /help secure 2013-09-20 10:27:08 +02:00
Nils Görs 1aaf9440b8 core: update german translations 2013-09-19 16:40:37 +02:00
Sebastien Helleu 2110c6d92e core: add support of secured data in proxy options username/password (evaluate content) 2013-09-19 15:12:04 +02:00
Sebastien Helleu 087e9cc008 irc: add note about evaluated content of "password" server option 2013-09-19 15:12:04 +02:00
Sebastien Helleu e900579fba relay: add support of secured data in option relay.network.password (evaluate content) (patch from Nils Görs) 2013-09-19 15:11:51 +02:00
Sebastien Helleu 252feedde4 core: fix memory leak on unhook of a print hook (if using tags) 2013-09-19 10:19:29 +02:00
Nils Görs 266b9e1e2a core: update german translations 2013-09-17 07:27:49 +02:00
Sebastien Helleu f620249193 doc: fix typo in french user's guide 2013-09-17 07:26:31 +02:00
Ivan Sichmann Freitas 556d324756 core: update portuguese translations 2013-09-16 11:24:45 +02:00
Sebastien Helleu facccc81ef doc: fix typos in french translations and docs 2013-09-16 11:04:10 +02:00
Nils Görs cb77e7c5db doc: update german translations, FAQ and user's guide 2013-09-05 07:31:42 +02:00
Sebastien Helleu 9c36b7c693 core: rename options weechat.look.day_change_message(2) to weechat.look.day_change_message_{1date|2dates} 2013-09-03 10:27:14 +02:00
Sebastien Helleu 14c958a0e6 Version 0.4.2-rc1 2013-09-02 21:43:35 +02:00
Krzysztof Koroscik 9ebe6455b7 core: update polish translations 2013-09-02 21:16:37 +02:00
Sebastien Helleu daf535c9af core: fix computation of columns in output of /help (take care about size of time/buffer/prefix) 2013-09-02 18:56:58 +02:00
Sebastien Helleu 0409faee7f Merge branch 'shared-strings' 2013-09-02 15:24:20 +02:00
Krzysztof Koroscik 218b2c2df5 doc: update polish FAQ and scripting guide 2013-09-02 08:59:54 +02:00
Nils Görs 7ffff58625 core: update german translations 2013-09-02 08:56:10 +02:00
Sebastien Helleu bdd6bb5a69 core: add option weechat.look.day_change_message2 in file NEWS 2013-09-02 08:52:08 +02:00
Sebastien Helleu 0d8bd7f1e6 core: add option weechat.look.day_change_message2
The new option weechat.look.day_change_message2 is used to display day change
between two messages, with two dates: the new one, and the old one.

Example:

-- Mon, 02 Sep 2013 (Thu, 22 Aug 2013) --
2013-09-02 08:39:06 +02:00
Sebastien Helleu 410caef273 doc: remove "required" for password option in command "init" (relay protocol) 2013-08-31 07:46:48 +02:00
Sebastien Helleu c03532bb6a doc: use one line titles in japanese man page
The compilation was failing with asciidoc 8.5.2 (on Debian Squeeze).
2013-08-30 07:23:44 +02:00
Ryuunosuke Ayanokouzi 875d544a85 doc: update japanese translations and docs 2013-08-29 16:09:07 +02:00
Sebastien Helleu 55f1bbcd07 irc: fix extraction of channel name in notice (when message starts with "[]") 2013-08-29 07:59:25 +02:00
Sebastien Helleu 0806f1ad7e core: fix automatic scroll to bottom of buffer when day change is displayed before first line of buffer 2013-08-28 23:27:04 +02:00
Sebastien Helleu 75cc0b0a77 irc: add option irc.look.notice_welcome_redirect to automatically redirect channel welcome notices to the channel buffer 2013-08-28 21:39:21 +02:00
Sebastien Helleu fb51fb6052 logger: add option "flush" for command /logger 2013-08-26 18:21:16 +02:00
Sebastien Helleu 86e7d95b9c core: fix evaluation of expressions with parentheses
First evaluate sub-expressions between parentheses.

Before the fix:
>> 1 && (0 || 0)
== [1]

After the fix:
>> 1 && (0 || 0)
== [0]
2013-08-25 13:34:51 +02:00
Sebastien Helleu f250be4aa8 core: add note about color codes "${color:xxx}" in /help weechat.look.day_change_message 2013-08-25 12:40:09 +02:00
Sebastien Helleu 03b6b4c1cf core: display day change message dynamically (do not store it as a line in buffer) (task #12775)
Changes in options:
- rename option weechat.look.day_change_time_format to weechat.look.day_change_message
  (color codes are allowed in this option)
- new option weechat.color.chat_day_change.
2013-08-25 09:39:59 +02:00
Sebastien Helleu 73f2c2c488 core: fix uncontrolled format string when displaying bufferized lines on startup (lines waiting for core buffer) 2013-08-22 23:06:30 +02:00
Sebastien Helleu fc1e35fb48 core: display an error message when "/buffer notify xxx" fails (with a wrong notify level) 2013-08-21 11:18:52 +02:00
Sebastien Helleu 64bbb327bb core: improve help of command /away 2013-08-20 14:30:50 +02:00
Sebastien Helleu 12a37a9075 core: update translations 2013-08-20 14:27:11 +02:00
Sebastien Helleu b47af3c61e core: fix buffer returned in focus info for bar items with a forced buffer 2013-08-20 11:42:12 +02:00
Sebastien Helleu eac1ca929b core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717) 2013-08-19 21:22:10 +02:00
Sebastien Helleu 9990917cc7 doc: update german auto-generated files 2013-08-18 20:00:14 +02:00
Nils Görs 92d5cece39 doc: update german translations and user's guide 2013-08-18 19:04:49 +02:00
Sebastien Helleu 39faaa7dbe irc: replace default prefix modes "qaohvu" by the standard ones "ov" when PREFIX is not sent by server (bug #39802) 2013-08-18 10:56:17 +02:00
Sebastien Helleu f277d072d5 core: add split of IRC messages for commands (de)op/halfop/voice in ChangeLog 2013-08-18 09:26:22 +02:00
Sebastien Helleu a4f789810a core: use shared strings for groups/nicks in nicklist 2013-08-17 18:14:31 +02:00
Sebastien Helleu af12457a13 core: use shared strings for prefix on lines
It can reduce by about 10% the memory used for lines in a buffer.
2013-08-17 17:47:38 +02:00
Sebastien Helleu cc1523b654 core: add commment in function string_shared_get (returned value must not be changed) 2013-08-17 17:44:10 +02:00
Sebastien Helleu 5916594441 doc: capitalize first word of text in table cells 2013-08-17 16:38:28 +02:00
Sebastien Helleu 600ee3ddf3 core: add search of regular expression in buffer, don't reset search type on a new search, select where to search (messages/prefixes)
Key changed in search context:
- ctrl+"r": switch search type: string/regex

New keys in search context:
- alt+"c": case (in)sensitive search
- tab: search in messages/prefixes/both
2013-08-17 11:51:50 +02:00
Sebastien Helleu c624960336 core: add text emphasis in messages when searching text in buffer
New options:
- weechat.look.emphasized_attributes
- weechat.color.emphasized
- weechat.color.emphasized_bg
2013-08-16 16:16:37 +02:00
Sebastien Helleu 170acfe6f2 core: remove obsolete enum t_config_look_nicklist 2013-08-15 17:59:17 +02:00
Sebastien Helleu db05104f64 doc: fix emphasized text in plugin API reference and relay protocol 2013-08-14 17:26:37 +02:00
Sebastien Helleu ea124f4158 core: fix typo in french translation of /help upgrade 2013-08-12 20:44:37 +02:00
Sebastien Helleu 7e0ae094cc core: add comment with return value of function string_regcomp 2013-08-12 10:51:49 +02:00
Nils Görs 7dea560ff5 doc: update german translations, scripting and user guide 2013-08-12 09:04:00 +02:00
Sebastien Helleu ca7bb9a069 core: add note about "strftime" in help of options weechat.look.day_change_time_format and weechat.look.time_format 2013-08-11 20:04:07 +02:00
Sebastien Helleu 21caea83f5 doc: add "oauth" for IRC connection in FAQ 2013-08-10 23:00:28 +02:00
Sebastien Helleu 674403f734 core: use shared strings for tags on lines
It can reduce by about 30% the memory used for lines in a buffer.
2013-08-10 18:20:49 +02:00
Sebastien Helleu c46d7e44f1 core: add support of shared strings in split of strings (add functions string_split_shared and string_free_split_shared) 2013-08-10 18:20:49 +02:00
Sebastien Helleu 49aacc853c core: add shared strings to reduce memory usage
Shared strings are stored in a hashtable with pointer for keys (values are not
used).

The key has a reference count + the string.
The initial reference count is set to 1 and is incremented each time the same
string is asked.

When removing a shared string, the reference count is decremented.
If it becomes 0, then the shared string is removed from the hashtable (and then
the string is really destroyed).
2013-08-10 18:20:49 +02:00
Sebastien Helleu 784de68a5f core: fix random crash on "/buffer close" with a buffer number (or a range of buffers) 2013-08-10 18:18:01 +02:00
Sebastien Helleu 6714d6fc82 core: optimize the removal of lines in buffers (a lot faster to clear/close buffers with lot of lines)
The update of variables "buffer_max_length" and "prefix_max_length" in struct
t_gui_lines is now delayed and made during the main refresh (in main loop).

For a buffer with 50K lines, it is up to 3300 times faster to clear/close it.
For a buffer with 4096 lines (default limit), it is up to 120 times faster.
2013-08-10 17:18:12 +02:00
Sebastien Helleu a5cbfdf7fd core: update ChangeLog with changes on hashtables 2013-08-10 09:38:02 +02:00
Sebastien Helleu d12c9efdbc core: change type of hashtable key hash to unsigned long, return item pointer in functions hashtable_set(_with_size)
The key hash has been changed from unsigned int to unsigned long, and now the
callback can return any value (not only between 0 and size-1), the modulo is
computed after the call to the callback by the hashtable functions.

Functions hashtable_set and hashtable_set_with_size were returning 1 if OK,
0 if error. Now they return pointer to hashtable item, or NULL if error.
2013-08-10 09:35:06 +02:00
Sebastien Helleu e407c41c5c core: check that value is not NULL before calling free in hashtable_free_value 2013-08-09 23:06:41 +02:00
Sebastien Helleu abb574ec4e core: add "callback_free_key" in hashtable 2013-08-09 23:00:12 +02:00
Sebastien Helleu 72c1af25e0 core: set "callback_free_value" directly in hashtable without calling function hashtable_set_pointer 2013-08-09 22:54:06 +02:00
Sebastien Helleu d466a86efc core: fix typo coeur -> cœur (in french) 2013-08-08 09:39:54 +02:00
Sebastien Helleu 721478fe5b doc: add description of sections in configuration files (user's guide) 2013-08-07 22:04:32 +02:00
Sebastien Helleu 766273ac99 core: remove symbolic link "weechat-curses" on make uninstall (cmake and autotools) 2013-08-07 10:20:42 +02:00
Sebastien Helleu e8122773b8 core: use $DESTDIR on make uninstall with cmake 2013-08-07 10:11:24 +02:00
Sebastien Helleu e5de0cd0e8 core: fix typo in comment for creation of symbolic link "weechat-curses" 2013-08-07 09:32:37 +02:00
Sebastien Helleu da66a343b3 core: fix typo in /help secure 2013-08-07 08:27:28 +02:00
Sebastien Helleu c4c66923f5 core: update dependencies in INSTALL 2013-08-06 20:59:12 +02:00
Sebastien Helleu 3a2d2d6b03 core: use $DESTDIR when creating symbolic link "weechat-curses" with cmake 2013-08-06 20:57:23 +02:00
Sebastien Helleu f0cd7a994a core: add new rmodifier in file NEWS 2013-08-05 20:43:40 +02:00
Sebastien Helleu c4773e63d8 rmodifier: add option "missing" for command /rmodifier 2013-08-05 20:37:59 +02:00
Sebastien Helleu 227f8ac604 core: fix uninitialized variable "result" in callback of command /eval 2013-08-04 12:51:01 +02:00
Sebastien Helleu f22b0311b9 core: change colors of example in /help weechat.look.buffer_time_format 2013-08-04 12:48:06 +02:00
Sebastien Helleu 390443112c core: optimize creation of hashtable "pointers" in eval_expression if argument is NULL
The hashtable is created on first call to eval_expression with pointers == NULL.
On next calls, the hashtable is cleared, then used again.
The hashtable is freed on exit.
2013-08-04 12:42:29 +02:00
Sebastien Helleu 2dff60d7f8 core: replace "behaviour" by "behavior" 2013-08-04 12:21:47 +02:00
Sebastien Helleu 8ca36552ea core: change color format for options from ${xxx} to ${color:xxx}
Options affected:
- weechat.look.buffer_time_format
- weechat.look.prefix_action
- weechat.look.prefix_error
- weechat.look.prefix_join
- weechat.look.prefix_network
- weechat.look.prefix_quit
2013-08-04 12:18:47 +02:00
Sebastien Helleu f486b84134 core: fix asciidoc formatting in ChangeLog 2013-08-04 11:14:51 +02:00
Sebastien Helleu 234c7506ad doc: remove option ENABLE_DEMO for cmake in user's guide (demo plugin has been removed) 2013-08-04 10:16:43 +02:00
Sebastien Helleu 6ea81f4c8c api: add support of colors with format "${color:xxx}" in function string_eval_expression and command /eval 2013-08-04 10:09:53 +02:00
Sebastien Helleu dc878c5b69 api: add argument "options" in function string_eval_expression, add option "-c" for command /eval (to evaluate a condition) 2013-08-04 08:56:56 +02:00
Sebastien Helleu b94a1ce59b doc: fix typo in examples for function bar_new (plugin API reference) 2013-08-03 22:11:04 +02:00
Sebastien Helleu 43e3ff3b1a core: change the message displayed when passphrase is not given on startup 2013-08-02 23:18:09 +02:00
Sebastien Helleu 5a07051f20 core: remove use of function gcry_kdf_derive so that it compiles with libgcrypt < 1.5.0
The key built with salt + passphrase has changed, so old encrypted data
in file sec.conf can not be decrypted with this new version.
2013-08-02 23:15:21 +02:00
Sebastien Helleu d6a19adc54 core: change the message displayed on /secure decrypt -discard 2013-08-02 23:04:23 +02:00
Sebastien Helleu 16b114b609 doc: add feature "secured data" for libgcrypt in dependencies (user's guide) 2013-08-02 21:32:11 +02:00
Sebastien Helleu a41bed395b core: add task #7395 in ChangeLog 2013-08-02 20:22:23 +02:00
Sebastien Helleu 26fcc66953 core: update translations 2013-08-02 20:16:47 +02:00
Sebastien Helleu 663de42284 Merge branch 'secured-data' 2013-08-02 19:19:25 +02:00
Sebastien Helleu fd5fc2e5a3 core: add platform-dependent extension on "weechat-curses" link (so that link is "weechat-curses.exe" on cygwin) 2013-08-02 18:40:40 +02:00
Sebastien Helleu 996da2f662 core: rename binary and man page from "weechat-curses" to "weechat" (task #11027)
A symbolic link weechat-curses -> weechat is now created (by both cmake and
configure), so that the /upgrade will work from an old version.

However, if you upgrade from an old version, it is recommended to force the use
of the new binary name with the command: `/upgrade /path/to/weechat` (replace
the path accordingly).
2013-08-02 08:54:16 +02:00
Sebastien Helleu f9d57a3099 core: fix compiler warning on freopen (ignore file returned) 2013-08-01 16:29:12 +02:00
Sebastien Helleu 8bff3225fd script: fix uninitialized pointer in detailed view of a script 2013-08-01 16:18:44 +02:00
Sebastien Helleu c0c76ad995 core: do not scroll when using /window {page_down|scroll_down} after /window scroll_beyond_end 2013-07-31 19:09:31 +02:00
Sebastien Helleu 35c3dbad63 plugins: remove the demo plugin 2013-07-31 18:56:32 +02:00
Sebastien Helleu 23add1ac14 core: add build of man page in debian/rules 2013-07-31 18:56:21 +02:00
Sebastien Helleu 3aed4ac11f core: do not build man page by default 2013-07-31 18:26:37 +02:00
Sebastien Helleu 91b7aec855 core: reset scroll after /window {page_down|scroll_down} if last line of buffer is displayed at bottom
A regression was introduced by commit bee56c3b7f
(/window scroll_beyond_end).

Scenario to reproduce the problem, for example on an IRC channel with a long
history (more than two pages):
  /window page_up
  /window page_down
  <type some text and send to channel>
It will display -MORE(1)- instead of automatically scrolling to bottom of
buffer.
2013-07-31 14:41:27 +02:00
Sebastien Helleu 261efe6299 core: add cmake option ENABLE_MAN to compile man page (on by default)
For configure, the option is "--disable-man".
2013-07-31 13:28:59 +02:00
Sebastien Helleu 9951902c7b irc: use 6697 as default port for SSL servers created with URL "ircs://" (bug #39621) 2013-07-30 19:51:23 +02:00
Sebastien Helleu ade379ac11 rmodifier: update default rmodifier for /secure (add option decrypt) 2013-07-30 12:17:11 +02:00
Sebastien Helleu 351674699c core: in case of empty passphrase, keep encrypted data in memory until the user runs /secure decrypt (with the good passphrase)
If user gives no passphrase (for example one space when prompted), the encrypted
data read in sec.conf will be stored in a separate hashtable.
While this hashtable contains something, it is not allowed to do any operation
on passphrase or secured data (and it is not allowed to reload sec.conf).
The user can decrypt data with /secure decrypt <passphrase>.
2013-07-30 12:16:44 +02:00
Sebastien Helleu b3923b65f1 core: use variable "items_count" directly from hashtable without calling function hashtable_get_integer 2013-07-30 10:10:37 +02:00
Sebastien Helleu 53fa3f770e irc: add note about evaluated content of option (for options allowing secured data inside) 2013-07-29 18:53:15 +02:00
Sebastien Helleu 7e64b9f1f9 core: add note about evaluated content of option (for options allowing secured data inside) 2013-07-29 18:53:04 +02:00
Sebastien Helleu 6206fd6818 core: update ChangeLog (add hdata with script callback) 2013-07-28 16:29:52 +02:00
Sebastien Helleu 4c2cffbd31 script: add info about things defined by script in the detailed view of script (/script show) 2013-07-28 16:17:27 +02:00
Sebastien Helleu 0e4eb69d33 api: use pointer for infolist "hook" to return only one hook 2013-07-28 12:40:08 +02:00
Sebastien Helleu 1a7037d9cb doc: update auto-generated files with WeeChat commands 2013-07-28 12:34:55 +02:00
Sebastien Helleu a668775ae3 core: add option sec.crypt.passphrase_file 2013-07-28 10:59:00 +02:00
Sebastien Helleu 8cd4bf3750 core: add option "-o" for command /color 2013-07-27 23:23:15 +02:00
Sebastien Helleu f3d537dd7a core: use two spaces to separate columns in /help, do not use columns when the commands fit on a single line 2013-07-27 22:44:42 +02:00
Sebastien Helleu ca1e0dde07 core: use default value for prefixes used in messages displayed before the interface is initialized 2013-07-27 22:31:36 +02:00
Sebastien Helleu f385aa8f8c irc: display number of ops/halfops/voices on channel join only for supported modes on server (bug #39582) 2013-07-27 20:37:04 +02:00
Sebastien Helleu 6be17ac263 api: add new function strlen_screen 2013-07-27 18:21:50 +02:00
Sebastien Helleu a490195032 core: add secured data with optional encryption in file sec.conf 2013-07-27 12:57:08 +02:00
Sebastien Helleu 50ab62b75d core: fix priority of logical operators in evaluation of expression
The AND ("&&") takes precedence over the OR ("||").

Before the fix:
>> 1 || 1 && 0
== [0]

After the fix:
>> 1 || 1 && 0
== [1]

Since the "&&" has higher priority, expression is evaluated as:
"1 || (1 && 0)".
2013-07-24 08:15:17 +02:00
Sebastien Helleu ea76cdb06e doc: fix typo in example for function string_eval_expression (plugin API reference) 2013-07-23 19:39:39 +02:00
Sebastien Helleu c14b1b5fae core: remove gap after read marker line when there is no bar on the right (bug #39548) 2013-07-22 18:25:35 +02:00
Sebastien Helleu f7f019887d aspell: rename option aspell.look.color to aspell.color.misspelled, add option aspell.color.suggestions 2013-07-20 19:27:51 +02:00
Sebastien Helleu 87e342dd9e core: add CA_FILE option in cmake and configure to setup default value of option weechat.network.gnutls_ca_file (task #12725) 2013-07-20 17:29:19 +02:00
Sebastien Helleu a3cc9bbe7e core: use gettext version 0.18 in configure.ac (fix error on make install) 2013-07-20 16:36:23 +02:00
Sebastien Helleu 56baaaffa8 core: use "/dev/null" for stdin in hook_process instead of closing stdin (bug #39538) 2013-07-20 15:45:25 +02:00
Sebastien Helleu f4a0307316 core: add task #6745 in ChangeLog 2013-07-20 12:02:17 +02:00
Sebastien Helleu 41fbc14f48 core: update translations 2013-07-20 12:00:02 +02:00
Sebastien Helleu 765297c038 Merge branch 'scroll-beyond-end' 2013-07-20 11:54:52 +02:00
Sebastien Helleu 27882ee74e core: scroll to bottom after smart jump (alt-a) only if window was scrolled (and not beyond the end) 2013-07-20 11:31:48 +02:00
Sebastien Helleu 94b9104d14 core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am 2013-07-20 09:07:05 +02:00
Sebastien Helleu 22b20d6206 core: add options weechat.look.hotlist_prefix and weechat.look.hotlist_suffix (task #12730) (patch from Nils Görs) 2013-07-20 08:42:16 +02:00
Sebastien Helleu 5a4f96b679 irc: use lower case at beginning of message when deleting a server 2013-07-19 18:14:37 +02:00
Sebastien Helleu dfcc7baa40 irc: fix self nick color in server messages after nick is changed with /nick (bug #39415) 2013-07-19 10:18:20 +02:00
Sebastien Helleu 354d96ea36 core: fix filtered line displayed after /window scroll_beyond_end 2013-07-18 20:07:47 +02:00
Sebastien Helleu fb86f21a5f irc: add support of wildcards in commands (de)op/halfop/voice (task #9221) 2013-07-18 19:58:29 +02:00
Sebastien Helleu 913e036fa3 core: fix pointer used to check if buffer has lines 2013-07-17 18:37:11 +02:00
Sebastien Helleu c10cfb6aa0 core: do nothing in "/window scroll_beyond_end" if the buffer has no lines 2013-07-17 18:35:01 +02:00
Sebastien Helleu bee56c3b7f core: add option "scroll_beyond_end" for command /window (task #6745) 2013-07-17 18:04:44 +02:00
Sebastien Helleu 7389514c09 core: add option weechat.look.key_bind_safe 2013-07-15 19:04:00 +02:00
Sebastien Helleu 92609e3cd6 core: remove obsolete reference to "key functions" in comments 2013-07-15 18:28:01 +02:00
Sebastien Helleu a8dc36902b doc: update auto-generated files with xfer options 2013-07-15 18:26:32 +02:00
Sebastien Helleu c6fe4b18ef core: fix malloc(0) when building content of a bar using a filling with columns 2013-07-13 07:31:51 +02:00
Sebastien Helleu 4668f0bef5 lua: fix interpreter used in API functions (bug #39470) 2013-07-13 07:22:02 +02:00
Sebastien Helleu bd3a12378e xfer: add option xfer.look.pv_tags 2013-07-11 22:43:13 +02:00
Sebastien Helleu 2cbdbb45d6 irc: add option irc.look.pv_tags 2013-07-11 22:32:14 +02:00
Sebastien Helleu fa9f787e14 core: sort config options by name in sources 2013-07-11 22:31:33 +02:00
Sebastien Helleu d301dd6c17 core: add bug #39201 in ChangeLog 2013-07-10 20:24:57 +02:00
Sebastien Helleu ff09807c10 core: fix char displayed at the intersection of three windows (bug #39331) 2013-07-10 08:39:44 +02:00
Sebastien Helleu 3744787ec0 core: fix crash in evaluation of expression when reading a string in hdata with a NULL value (bug #39419) 2013-07-08 08:28:27 +02:00
Sebastien Helleu d38d033ce7 core: add completion "-quit" for command /upgrade
A "-dummy" option has been added too, just to prevent accidental completion with
"-quit" (which is the first option completed).

Thanks to stfn for initial patch.
2013-07-05 18:22:10 +02:00
Nils Görs cd71ea03d2 core: update german translations 2013-07-03 17:03:45 +02:00
Sebastien Helleu e1beb83ff0 doc: fix typo in plugin API reference 2013-07-03 13:09:49 +02:00
Sebastien Helleu 7ab034b52b irc: fix error message on /invite without arguments (bug #39272) 2013-07-02 21:29:44 +02:00
Sebastien Helleu 5e1c88a476 doc: fix some punctuation errors in translations 2013-07-02 16:05:16 +02:00
Sebastien Helleu 40c5c5c1ae core: add missing period in /help upgrade 2013-07-02 15:41:48 +02:00
Sebastien Helleu 6dfcb5f563 doc: add number for note on git version in list of CTCP replies (user's guide) 2013-07-01 22:08:14 +02:00
Sebastien Helleu 8cb590559f core: add ":BOOL" in cmake option "ENABLE_DOC" (use same format as other options) (debian packaging) 2013-06-30 21:40:09 +02:00
Sebastien Helleu 464c8acd87 core: move packages used to build man page from "Build-Depends-Indep" to "Build-Depends" (debian packaging)
Packages asciidoc, source-highlight, xsltproc, docbook-xml and docbook-xsl are
now used to build man page in the package weechat-curses, which is not
arch-independent.
So these dependencies are moved from "Build-Depends-Indep" to "Build-Depends".
2013-06-30 17:21:29 +02:00
Sebastien Helleu 37b8aef96d core: move test of invalid UTF-8 char length from gui-chat.c to wee-utf8.c 2013-06-29 16:10:09 +02:00
Sebastien Helleu b311ca894d doc: fix example of weechat.command without buffer: it is executed on current buffer, not core buffer (scripting guide) 2013-06-29 13:56:28 +02:00
Sebastien Helleu f4e4f55de1 core: fix display bugs with some UTF-8 chars that truncates messages displayed
Example of char causing problems: U+26C4 (snowman without snow)
2013-06-29 13:43:27 +02:00
Sebastien Helleu 27a427c708 irc: fix uninitialized variable "color" when hashing nickname to find color 2013-06-29 12:39:42 +02:00
Sebastien Helleu 6103f18cd6 aspell: fix uninitialized variable "lang" when displaying list of installed dictionaries 2013-06-29 12:38:59 +02:00
Nils Görs 706032e5ac doc: update german translations, man page and user's guide 2013-06-29 12:09:25 +02:00
Sebastien Helleu 8eb55c04e7 doc: update auto-generated file with irc commands (in french) 2013-06-29 12:06:08 +02:00
Sebastien Helleu 43c889da50 doc: add flag "-L" for a2x when building man page (do not check asciidoc output with xmllint) 2013-06-29 11:11:25 +02:00
Sebastien Helleu f19c2cfd80 core: disable compilation of documentation by default (cmake and autotools) 2013-06-29 09:51:15 +02:00
Sebastien Helleu f1fdbe72dc doc: add dependency xsltproc in user's guide 2013-06-29 09:32:02 +02:00
Sebastien Helleu b62b2adc25 core: add dependency xsltproc in debian/control 2013-06-29 09:31:26 +02:00
Sebastien Helleu 018e5c69ae core: remove obsolete command line option -k/--keys
The user's guide is better to view WeeChat default keys.
2013-06-28 20:38:08 +02:00
Esteban I. Ruiz Moreno 4d35171767 core: fix wrong spaces in italian translations for irc part/quit messages 2013-06-28 20:31:43 +02:00
Sebastien Helleu 23da5b233d core: add dependencies docbook-xml and docbook-xsl in debian/control 2013-06-28 20:13:33 +02:00
Sebastien Helleu 1cadbdf6a9 core: update man page and add translations (in french, german, italian, and japanese) 2013-06-28 20:08:16 +02:00
Sebastien Helleu fa8dc0f531 core: update WeeChat logo in debian/weechat.xpm 2013-06-28 19:15:59 +02:00
Hasan Kiran bad6eb0692 core: update turkish translations 2013-06-28 13:54:49 +02:00
Sebastien Helleu 8081804555 core: fix typo in french translation of /help notify (patch #8082) 2013-06-28 13:44:06 +02:00
Sebastien Helleu 91017cb06c core: remove extra space after empty prefix (when prefix for action, error, join, network or quit is set to empty string) (bug #39218) 2013-06-10 11:48:49 +02:00
Sebastien Helleu e20592f32d core: fix minor errors in translations
Errors were reported by POFileChecker (from package gettext-lint).
2013-06-10 09:27:32 +02:00
Sebastien Helleu dd41e5776f relay: add command "ping" in weechat protocol (task #12689) 2013-06-09 20:43:24 +02:00
Hasan Kiran 424b8c89cc core: add partial turkish translations (tr.po) 2013-06-08 22:28:06 +02:00
Sebastien Helleu c962bb32f9 core: add option weechat.network.proxy_curl (task #12651) 2013-06-08 19:25:56 +02:00
Sebastien Helleu 21e51d930d core: add options for Curl >= 7.25 2013-06-08 17:04:40 +02:00
Sebastien Helleu a8589a0db6 doc: add cmake options in user's guide 2013-06-08 15:54:06 +02:00
Nils Görs fe1642da08 doc: update german translations and FAQ 2013-06-08 12:36:33 +02:00
Sebastien Helleu 950287d385 irc: display a warning when the proxy set in a server does not exist 2013-06-08 12:32:09 +02:00
Sebastien Helleu 21356d9909 core: add "proxy" infolist and hdata 2013-06-08 11:40:27 +02:00
Sebastien Helleu fb7edb3518 aspell: add support of enchant library (patch #6858)
Enchant is enabled only if the new option for cmake (or configure) is enabled:
- for cmake: cmake -DENABLE_ENCHANT=ON
- for configure: ./configure --enable-enchant
2013-06-07 21:01:48 +02:00
Sebastien Helleu 4080047da0 doc: update auto-generated file with relay commands 2013-06-07 20:50:33 +02:00
Sebastien Helleu 8884eb6fe4 doc: update auto-generated files with irc commands 2013-06-07 20:50:06 +02:00
Sebastien Helleu 1dfc98c8fd core: rename configure.in to configure.ac 2013-06-07 18:27:53 +02:00
Sebastien Helleu 718104b936 core: fix french translation of arguments in /help relay 2013-06-05 10:15:33 +02:00
Sebastien Helleu cb8435441b irc: add support of special variables $nick/$channel/$server in commands /allchan and /allserv 2013-06-05 10:13:23 +02:00
Sebastien Helleu 2c4cf95ef9 doc: update auto-generated files with irc options 2013-06-02 23:03:49 +02:00
Sebastien Helleu 4654568413 irc: add option irc.look.nick_color_hash: hash algorithm to find nick color (patch #8062) 2013-06-02 23:00:26 +02:00
Sebastien Helleu c070481d0b core: fix random crash on mouse actions (bug #39094) 2013-05-30 20:14:41 +02:00
Sebastien Helleu 91b27cd20c doc: add option weechat.look.eat_newline_glitch in charset question (FAQ) 2013-05-30 20:10:54 +02:00
Mantas Mikulėnas 1e49718398 relay: fix binding to an IP address (bug #39119) 2013-05-30 08:03:21 +02:00
Sebastien Helleu c103c8d356 irc: fix multiple nicks in command /query (separated by commas): open one buffer per nick 2013-05-29 18:28:29 +02:00
Sebastien Helleu 2e647d4c58 core: set options weechat.look.color_inactive_{buffer|window} to "on" by default 2013-05-28 23:13:07 +02:00
Sebastien Helleu 47db2b71ba core: update ChangeLog (bug #39071) 2013-05-27 13:41:54 +02:00
Simon Kuhnle 954ea9fb9d xfer: fix compilation error on OpenBSD
Signed-off-by: Simon Kuhnle <Simon.Kuhnle@cs.fau.de>
2013-05-27 13:37:07 +02:00
Sebastien Helleu 7bce8a0254 doc: change font for author, toc title and footer 2013-05-27 10:04:41 +02:00
Sebastien Helleu f377743380 doc: resize columns for table with hdata (plugin API reference) 2013-05-27 09:48:07 +02:00
Sebastien Helleu 62dbfc16c0 doc: improve style for docs 2013-05-27 09:47:32 +02:00
Sebastien Helleu 9a33c70355 doc: remove list of features in FAQ (duplicate with features page on site) 2013-05-24 18:04:19 +02:00
Sebastien Helleu 8005f00e2f doc: add remote GUIs in FAQ 2013-05-24 17:58:39 +02:00
Sebastien Helleu 1a9fe7b590 core: fix compilation error when gnutls is not found 2013-05-24 14:16:13 +02:00
Sebastien Helleu f93c7ebe6d doc: update WeeChat URLs (for new site design) 2013-05-23 15:21:41 +02:00
Sebastien Helleu 296dd0b1d4 core: update WeeChat logo (32x32 icon) 2013-05-23 14:53:42 +02:00
Sebastien Helleu 9c54e33ee1 xfer: fix compilation warnings 2013-05-22 20:57:14 +02:00
Sebastien Helleu e7c947df3e core: fix compilation warnings 2013-05-22 20:56:54 +02:00
Sebastien Helleu 8f66e15bae core: sync debian files with debian git repository 2013-05-22 20:56:10 +02:00
Sebastien Helleu 1b9cfb5cc3 core: update translations and auto-generated files with hdata/infolists 2013-05-21 22:39:18 +02:00
Sebastien Helleu 8771986f3f Merge branch 'layout_infolist_hdata' 2013-05-21 22:34:46 +02:00
Sebastien Helleu 2e43bac479 core: fix line alignment when option weechat.look.buffer_time_format is set to empty string
A regression was introduced by commit 305175fb8c
2013-05-21 11:07:15 +02:00
Sebastien Helleu a256cb4d4d Version 0.4.2-dev 2013-05-20 17:01:00 +02:00
Sebastien Helleu ba5664a019 Version 0.4.1 2013-05-20 10:06:14 +02:00
Sebastien Helleu b045a35c44 irc: fix name of server buffer after /server rename (set name "server.name" instead of "name") 2013-05-18 23:50:40 +02:00
Marco Paolone a355f6a41c core: update italian translations 2013-05-18 22:48:14 +02:00
Sebastien Helleu e459939ead relay: fix uncontrolled format string in redirection of irc commands 2013-05-18 22:42:16 +02:00
Sebastien Helleu e0281a40f0 irc: fix uncontrolled format string when sending unknown irc commands (if option irc.network.send_unknown_commands is on) 2013-05-18 22:36:24 +02:00
Sebastien Helleu 5877a458ea irc: fix uncontrolled format string when sending ison command (for nicks monitored by /notify) 2013-05-18 22:33:35 +02:00
Sebastien Helleu 4f62af028d api: do not display a warning by default when loading a script with a license different from GPL 2013-05-18 22:00:47 +02:00
Marco Paolone fc1cdf68e3 doc: update italian docs 2013-05-16 23:02:40 +02:00
Sebastien Helleu e2807e5f23 core: add variable "current_layout" in infolist "layout" 2013-05-15 21:38:40 +02:00
Sebastien Helleu c7e8e6856d core: add infolist "layout" and hdata "layout", "layout_buffer" and "layout_window" (thanks to Nils Görs) 2013-05-14 21:11:58 +02:00
Sebastien Helleu 0c66b91007 core: fix typo in comment 2013-05-14 21:08:50 +02:00
Sebastien Helleu 4ad5f7bbc9 irc: fix refresh of nick in input bar when joining a new channel with op status (bug #38969) 2013-05-12 16:06:53 +02:00
Sebastien Helleu 19ed7740b1 Version 0.4.1-rc2 2013-05-11 18:48:41 +02:00
Sebastien Helleu a0f814e75b irc: remove tag "notify_private" from notices received before message 001
This removes tag "notify_private" from notices like that (sent before message 001):

:irc.network.com NOTICE nick :*** Spoofing your IP
:irc.network.com NOTICE nick :*** You are exempt from K/G/X lines
:irc.network.com NOTICE nick :*** You are exempt from user limits
2013-05-11 18:26:18 +02:00
Sebastien Helleu 0f920d6396 doc: fix typo in user's guide (thanks to faen) 2013-05-09 20:02:55 +02:00
Sebastien Helleu c6fdeaf7e5 python: fix crash when loading scripts with Python 3.x (patch #8044) (thanks to isak) 2013-05-07 08:56:12 +02:00
Krzysztof Koroscik 9f08029361 doc: update polish translations and docs 2013-05-06 15:28:11 +02:00
Sebastien Helleu 8b17cbb16c irc: fix display of CTCP messages that contain bold attribute (bug #38895) 2013-05-06 15:07:24 +02:00
Nils Görs c6b7a244d6 doc: update german translations and docs 2013-05-04 08:24:36 +02:00
Ryuunosuke Ayanokouzi 8c06006828 doc: update japanese translations and docs 2013-05-04 07:50:22 +02:00
Sebastien Helleu 345be1ec5e script: add key alt+A in /help script (thanks ArZa) 2013-05-03 22:26:19 +02:00
Sebastien Helleu 0a7b708a1f core: add options weechat.look.prefix_align_more_after and weechat.look.prefix_buffer_align_more_after 2013-05-03 19:15:57 +02:00
Nils Görs f43eb87d9d doc: update german translations and user's guide 2013-05-02 19:46:36 +02:00
Sebastien Helleu 5eba5e980d doc: update auto-generated files with options 2013-05-02 19:44:31 +02:00
Sebastien Helleu 00f3fbdfe1 doc: add relay message "_nicklist_diff" in NEWS 2013-05-01 21:09:43 +02:00
Sebastien Helleu 86a8b9fb5f relay: remove temporary option "nicklistdiff" (in command init), send nicklist diff by default (weechat protocol)
The temporary option was introduced because the nicklist diff was experimental.
It is now enabled by default, and there is no way to disable it. Therefore any
relay client using weechat protocol must implement the message "_nicklist_diff"
(unless nicklist is ignored by client).

Extra note: a full nicklist may still be sent if a message with diff would be
bigger than whole nicklist. So both full nicklist (message "_nicklist") and
nicklist diff (message "_nicklist_diff") must be implemented by clients.
2013-05-01 21:01:12 +02:00
Sebastien Helleu 305175fb8c core: fix display of long lines without time (message beginning with two tabs)
The long lines without time were not properly aligned: the second and subsequent
lines should start at column 0 of chat area.
2013-05-01 16:46:54 +02:00
Sebastien Helleu bf8ee88dd8 Version 0.4.1-rc1 2013-05-01 10:15:10 +02:00
Sebastien Helleu 11d8dd1b51 Merge branch 'dynamic-nick-prefix-suffix' 2013-05-01 10:04:53 +02:00
Sebastien Helleu ebcea798bb doc: add IRC SASL "dh-aes" mechanism in user's guide 2013-05-01 10:02:11 +02:00
Sebastien Helleu 1c4e3c0e84 core: update translations 2013-05-01 10:00:57 +02:00
Elizabeth Myers e009884595 irc: add support of "dh-aes" SASL mechanism (patch #8020) 2013-05-01 09:59:39 +02:00
Sebastien Helleu 2479f427f7 doc: update german auto-generated file with WeeChat commands 2013-05-01 09:27:08 +02:00
Sebastien Helleu 16cc0b6088 core: make nick prefix/suffix dynamic (move options from irc plugin to core, add logger options) (bug #37531) 2013-04-29 18:30:59 +02:00
Sebastien Helleu cf8a125ef2 irc: fix duplicate nick completion when someone rejoins the channel with same nick but a different case (bug #38841) 2013-04-28 13:34:44 +02:00
Sebastien Helleu 4b1d87640c script: do not search by license and author in /script search (thanks to Nils Görs) 2013-04-27 09:01:42 +02:00
Sebastien Helleu bdbe7e0c37 core: fix typo in /help eval 2013-04-25 21:34:23 +02:00
Sebastien Helleu 8219039867 core: reset scroll in window before zooming on a merged buffer (bug #38207) 2013-04-24 09:30:08 +02:00
Sebastien Helleu bfd8c6918c irc: add support of UHNAMES (capability "userhost-in-names") (task #9353) 2013-04-23 21:23:07 +02:00
Sebastien Helleu 2a4e9aef8a relay: fix typo in error displayed by command /relay del 2013-04-21 21:57:21 +02:00
Sebastien Helleu c8505efac0 irc: add tag "irc_nick_back" for messages displayed in private buffer when a nick is back on server (task #12576) 2013-04-21 13:26:32 +02:00
Sebastien Helleu 509a58b1d5 api: add new function hdata_search 2013-04-21 11:26:52 +02:00
Sebastien Helleu fcd71d14bc doc: fix typo in python example of function hdata_move (plugin API reference) 2013-04-21 10:56:08 +02:00
Sebastien Helleu 09c5e8cbdf doc: add missing functions in scripting guide 2013-04-21 10:48:38 +02:00
Sebastien Helleu 4cf6628d85 ruby: fix crash in function hdata_move 2013-04-20 11:05:14 +02:00
Sebastien Helleu fda70ec57d guile: fix crash in function hdata_move 2013-04-20 11:04:17 +02:00
Sebastien Helleu c95f3d84d0 api: add property "completion_freeze" for function buffer_set: do not stop completion when command line is updated 2013-04-18 20:24:35 +02:00
Nils Görs 00c1c81c0b doc: update german translations and docs 2013-04-16 20:09:54 +02:00
Sebastien Helleu 9ffab0bec4 doc: rename link "256_colors" to "use_256_colors" in FAQ (anchor names beginning with digits are not allowed in HTML) 2013-04-14 11:10:49 +02:00
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
stfn aa10e20295 doc: fix C example of function weechat_nicklist_get_next_item (plugin API reference) 2013-03-29 15:09:06 +01: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 d654fca853 core: mention unit (minutes) for old option "irc.network.lag_disconnect" 2013-03-24 20:08:26 +01:00
Sebastien Helleu 2ffa199a7d lua: remove use of functions for API constants 2013-03-24 20:01:57 +01:00
Sebastien Helleu ff26a8d550 Revert "doc: add note about constants in lua, fix lua example (scripting guide)"
This reverts commit fad848bf7c.
2013-03-24 19:56:43 +01:00
Sebastien Helleu fad848bf7c doc: add note about constants in lua, fix lua example (scripting guide) 2013-03-24 18:10:21 +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 cfe043e4b0 core: rename icon file in Makefile.am 2013-03-24 09:42:38 +01:00
Sebastien Helleu 4b4d80bdc5 core: install icon file (patch #7972) 2013-03-24 09:41:22 +01:00
Sebastien Helleu cac2342165 core: rename weechat_icon_32.png to weechat.png 2013-03-24 09:33:02 +01:00
Sebastien Helleu 50254dee23 core: update WeeChat icon: move "ee" to the middle of icon 2013-03-24 08:59:09 +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 239f853120 doc: use listing style for commands in quickstart guide 2013-03-21 07:36:49 +01:00
Sebastien Helleu c09e383325 doc: change style for listings in asciidoc CSS 2013-03-21 07:36:04 +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 fa2b1d6bf9 core: fix typos in french translations
Now flyspell is enabled in my emacs for .po files :)
2013-03-17 15:07:26 +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 46677c79fc core: fix typos in ChangeLog 2013-03-17 12:54:43 +01:00
Sebastien Helleu 30e6acb00d core: add support of multiple layouts (task #11274) 2013-03-17 08:28:41 +01:00
Sebastien Helleu e1e3109da3 doc: add link to weechat.org/info in scripting guide (URL transfer) and plugin API reference (function hook_process) 2013-03-16 16:06:16 +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 81cc688166 doc: add range for integer/long integer objects, add examples with negative numbers (relay protocol) 2013-03-13 12:25:57 +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 aa2f5d8acc doc: fix length of NULL pointer (relay protocol) 2013-03-13 11:12:31 +01:00
Sebastien Helleu 37e609252c doc: remove "name" in hdata object (relay protocol) 2013-03-13 10:55:28 +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
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
Sebastien Helleu c2aeb69c46 relay: add experimental websocket server support (RFC 6455) for irc and weechat protocols, new option relay.network.websocket_allowed_origins
It is a partial implementation of RFC 6455: fragmentation and control frames are
not yet supported.
Text and binary frames are supported.
2013-02-10 20:22:13 +01:00
Sebastien Helleu eb11921f16 irc: add missing RFC 2813 in header 2013-02-10 15:57:38 +01:00
Sebastien Helleu 190c5dfcc2 doc: add IRC RFCs for file irc-protocol.c in developer's guide 2013-02-10 15:55:44 +01:00
Sebastien Helleu 96da9b91cf doc: use HTML pages for links to RFCs in user's guide 2013-02-10 15:50:30 +01:00
Sebastien Helleu d406bed521 doc: fix typos in user's guide 2013-02-10 15:41:17 +01:00
Sebastien Helleu 7e0a675b62 doc: add missing signals in plugin API reference (buffer_merged/unmerged, key_bind/unbind, window_closing/closed) 2013-02-08 13:26:15 +01:00
Sebastien Helleu d4b1b50311 core: fix structures before buffer data when a buffer is closed
This was causing a bug in relay plugin (weechat protocol): when a buffer was
closed, local variables were removed after buffer name, and when signal is sent
to client, the buffer name was wrong (already freed).
2013-02-07 22:11:25 +01:00
Sebastien Helleu e4149b073d relay: add options "buffers" and "upgrade" for commands sync/desync in weechat protocol 2013-02-07 22:08:31 +01:00
Sebastien Helleu 3e2bf9be0a doc: remove list of scripts for URLs in FAQ 2013-02-07 22:06:58 +01:00
Nils Görs de6bf18e47 doc: update german translations and scripting guide 2013-02-04 08:35:25 +01:00
Sebastien Helleu 1cdbc27abf core: fix refresh of line after changes with hdata_update (update flag "displayed" according to filters) 2013-02-04 08:29:57 +01:00
Marco Paolone 95687e8057 core: update italian translations 2013-02-03 16:21:06 +01:00
Sebastien Helleu 7a1f9a1d7f relay: fix commands sync/desync in weechat protocol (bug #38215)
Fix:
- use proper arguments in commands sync/desync (use argv[0] instead of argv[1])
- when searching if a buffer is synchronized, its name has higher priority on "*"
  (so first check if buffer is synchronized, and if not found, search if "*" is
  synchronized)
- when receiving a "nicklist_*" signal, check if the buffer is synchronized with
  flag "RELAY_WEECHAT_PROTOCOL_SYNC_NICKLIST"
2013-02-03 09:51:15 +01:00
Sebastien Helleu afe729435a relay: fix typo in comment 2013-02-03 08:38:41 +01:00
Sebastien Helleu 7829b1ccba core: remove weechat.spec from EXTRA_DIST target 2013-02-02 15:51:02 +01:00
Sebastien Helleu 8796626ea2 core: add file .gitattributes to exclude some files from tarballs
Files excluded: .git* (.gitignore, .gitattributes), weechat.spec
Directory excluded: debian/
2013-02-02 15:37:10 +01:00
Sebastien Helleu 3306c0f3b5 core: add info about doc and function to read in /help weechat.completion.default_template 2013-02-01 11:14:27 +01:00
Sebastien Helleu 07c8063993 doc: add description of command "test" in relay protocol 2013-02-01 09:59:38 +01:00
Sebastien Helleu ac94f68b59 relay: add return of a NULL pointer in command "test" 2013-02-01 09:58:30 +01:00
Sebastien Helleu 08f360692d relay: add comments with example of messages in weechat protocol 2013-02-01 08:53:37 +01:00
Sebastien Helleu 6983d34e88 aspell: optimization on spellers to improve speed (save state by buffer), add info "aspell_dict", add completion "aspell_dicts"
Two hashtables have been added to store the spellers currently used (in all
buffers) and info for each buffer: array with pointers to spellers and state of
aspell for this buffer.
Therefore the spellers are not destroyed and created again on each buffer switch,
or each time screen is refreshed when window is split.
2013-01-31 19:40:41 +01:00
Sebastien Helleu 5d2382caab core: fix detection of python on Ubuntu Raring 2013-01-31 17:14:34 +01:00
Sebastien Helleu 8b43151c85 doc: fix typo in user's guide 2013-01-31 12:16:39 +01:00
Sebastien Helleu ad60321843 irc: fix typo in comment 2013-01-31 08:57:09 +01:00
Nils Görs 792d607027 core: add "/debug tags" in /help filter 2013-01-29 20:20:22 +01:00
Sebastien Helleu cb617d8b23 core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197) 2013-01-29 19:31:04 +01:00
Sebastien Helleu 25eaec3864 core: use size of 32 for hashtables (instead of 4, 8 or 16)
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu f4dce04723 core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable 2013-01-26 18:48:26 +01:00
Sebastien Helleu a5aaed89d2 doc: fix monospaced font used for literal and listing blocks in japanese 2013-01-26 11:49:11 +01:00
Sebastien Helleu 54a2067422 doc: use boxes/arrows chars for diagram in differences with C API (scripting guide) 2013-01-26 11:42:02 +01:00
Sebastien Helleu 95bcc49063 doc: add example of callback in each language (scripting guide) 2013-01-26 08:22:04 +01:00
Sebastien Helleu 3d9886f82e doc: add command "/script" in scripting guide 2013-01-26 07:48:20 +01:00
Sebastien Helleu 05390016c0 irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070) 2013-01-25 19:05:23 +01:00
Sebastien Helleu 62e9a1715b core: sync debian files with debian git repository 2013-01-24 13:50:26 +01:00
Sebastien Helleu 27b539affe core: display error number and string in some network errors
Error number and string is now displayed when an error is returned by one of
these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-24 08:55:04 +01:00
Sebastien Helleu 1918bd1d4e core: fix typo in ChangeLog 2013-01-22 09:58:09 +01:00
Sebastien Helleu 0e3bec6d2e scripts: do now allow empty script name in function "register" 2013-01-22 09:26:11 +01:00
Sebastien Helleu 1edabb98f5 core: remove obsolete/unneeded check of headers and functions in cmake and configure 2013-01-21 19:51:45 +01:00
stfn 2dea08aba8 doc: fix examples of function weechat_hook_connect (plugin API reference) 2013-01-20 17:02:10 +01:00
Sebastien Helleu 5f7733c4a7 core: add missing formatting chars in ChangeLog 2013-01-20 15:18:10 +01:00
Sebastien Helleu ff15aa40a6 core: update ChangeLog 2013-01-20 15:07:37 +01:00
Sebastien Helleu 3a782b017f Merge branch 'guile2' 2013-01-20 15:06:46 +01:00
Sebastien Helleu d5e546f2c6 Merge branch 'perl-script-load' 2013-01-20 15:04:25 +01:00
Sebastien Helleu ff15c0a41b Version 0.4.1-dev 2013-01-20 12:14:39 +01:00
Sebastien Helleu 762c96d85a Version 0.4.0 2013-01-20 09:21:06 +01:00
Elián Hanisch 2087a19bbe core: update spanish translations 2013-01-20 08:45:39 +01:00
Ryuunosuke Ayanokouzi 7cdabf79be core: update japanese translations 2013-01-19 20:03:50 +01:00
Krzysztof Koroscik 1364fe8a0e core: update polish translations 2013-01-19 19:55:05 +01:00
Sebastien Helleu a9c4534e3c core: update translations 2013-01-19 11:08:03 +01:00
Sebastien Helleu 9ebea835dd core: add rule to clean file config-git.h
The "make distcheck" was failing because the file config-git.h was left in build
directory after distclean.
2013-01-19 10:50:12 +01:00
Sebastien Helleu 0ad8866d6b core: fix infinite loop when a regex gives an empty match (bug #38112) 2013-01-18 09:03:57 +01:00
Sebastien Helleu df2867ac27 core: add git version in backtrace and log file 2013-01-17 20:25:00 +01:00
Sebastien Helleu 68bbe7ca0a core: update ChangeLog 2013-01-17 10:07:21 +01:00
Sebastien Helleu 0f143da012 guile: fix compilation with guile 2.0 2013-01-16 22:37:31 +01:00
Sebastien Helleu 280e9bd0b1 core: fix detection of guile in configure 2013-01-16 22:25:11 +01:00
Sebastien Helleu 8e587f7093 core: fix typo in comment 2013-01-14 16:26:56 +01:00
Sebastien Helleu 08d27eb81c Version 0.4.0-rc3 2013-01-14 12:21:19 +01:00
Sebastien Helleu e0deceb366 core: fix click in item "buffer_nicklist" when nicklist is a root bar (bug #38080)
Argument "*" is now silently ignored in command /window.

When item "buffer_nicklist" is in a root bar, we use current window/buffer to
find which nick has been clicked (same behaviour as callback used to display bar
item "buffer_nicklist").
2013-01-14 12:16:25 +01:00
Sebastien Helleu f14f34e9af core: fix display bugs with non-printable chars like tabs (part of messages not displayed) (bug #38076)
This bug was introduced by commit 70ce7fe3b6.
2013-01-14 11:35:52 +01:00
Sebastien Helleu d39bb4d6ab core: update version in gettext files 2013-01-12 20:24:09 +01:00
Nils Görs f1540115d0 core: update german translations 2013-01-12 20:21:56 +01:00
Krzysztof Koroscik 1af6148067 doc: update polish FAQ, quickstart and scripting guide 2013-01-12 19:56:19 +01:00
Sebastien Helleu 6fdee3aa9f core: fix crash in display of chat area when the ncurses chat window is not initialized
This can happen when a window becomes too small for display: then we set the
ncurses chat window to NULL.
So when displaying buffer, we'll skip it if the ncurses chat window is NULL.

Steps to reproduce crash:
  1. /window splith
  2. /window resize -1 (many times, until chat area is less than one line)
  3. /window balance
2013-01-12 19:40:04 +01:00
Sebastien Helleu 4123263b8c guile: fix bad conversion of shared strings (replace calls to scm_i_string_chars by scm_to_locale_string) (bug #38067) 2013-01-12 19:27:00 +01:00
Sebastien Helleu 1b56e084dc core: fix typo in comment 2013-01-12 09:35:21 +01:00
Sebastien Helleu 1e20dd16e5 core: fix line returned when clicking on a bar (according to position and filling) (bug #38069) 2013-01-12 09:31:57 +01:00
Sebastien Helleu a6bc15e69d aspell: fix spellers used when switching buffer
The bug happened when two buffers have different number of dictionaries and start
with same dictionaries. For example buffer #1 with [en,fr] and buffer #2 with [en].
When switching from buffer #1 to buffer #2, aspell does not use only [en], but [en,fr].
2013-01-11 17:25:53 +01:00
Sebastien Helleu db62b272b5 Revert "aspell: store dictionaries in buffer local variable "aspell_dict""
This reverts commit 8b61a55764.

The local variable in buffers introduced new display bugs and would need
some extra code and optimizations to fix.
This will be reintroduced after the release of version 0.4.0.
2013-01-11 16:07:45 +01:00
Sebastien Helleu 4a554d48d2 perl: fix compilation when multiplicity is disabled 2013-01-11 13:27:14 +01:00
Sebastien Helleu 57024ab1e4 relay: fix duplicated messages sent to irc clients (when messages are redirected) (bug #37870) 2013-01-11 10:30:44 +01:00
Sebastien Helleu ca205ccb8c relay: fix typo in comment 2013-01-11 10:28:28 +01:00
Sebastien Helleu f1580f5276 relay: add debug message for signal "irc_disconnected" 2013-01-11 10:27:26 +01:00
Sebastien Helleu 3c782bd905 relay: fix name of signal in debug message (replace "irc_out" by "irc_outtags") 2013-01-11 09:28:58 +01:00
Sebastien Helleu 8b61a55764 aspell: store dictionaries in buffer local variable "aspell_dict" 2013-01-10 23:30:14 +01:00
Sebastien Helleu 53c6b62ae3 core: fix some copyright dates 2013-01-10 23:14:33 +01:00
Nei 0b1550afe1 perl: simplify code to load scripts 2013-01-10 23:10:04 +01:00
Sebastien Helleu d5a5af88ca core: replace "behaviour" by "behavior" 2013-01-10 19:20:07 +01:00
Sebastien Helleu 87df83a1fb doc: fix buffer argument for function "command": NULL value means current buffer, not core buffer (bug #38057) 2013-01-10 19:13:19 +01:00
Sebastien Helleu aaa0cf1954 core: add bug #31572 (fixed) in ChangeLog 2013-01-10 15:12:02 +01:00
Sebastien Helleu 6d636b6118 Revert "perl: simplify code to load scripts"
This reverts commit 793a3cb1ba.

This commit was causing crash on Linux when loading scripts like buffers.pl.
2013-01-10 09:32:19 +01:00
Nei 793a3cb1ba perl: simplify code to load scripts 2013-01-09 18:15:51 +01:00
Nei 224a0f0afa perl: display script filename in error messages 2013-01-08 22:09:03 +01:00
Nei 2ca30ed7a9 perl: fix calls to callbacks during load of script when multiplicity is disabled (bug #38044) 2013-01-08 22:02:30 +01:00
Sebastien Helleu 7d1ad59dde relay: add message when address family is not supported by protocol (on socket creation) 2013-01-08 08:14:07 +01:00
Sebastien Helleu 1a646d5dbf relay: add error number and string when socket creation fails 2013-01-07 21:34:05 +01:00
Sebastien Helleu c34ae99b9a doc: fix typos 2013-01-07 10:31:32 +01:00
Sebastien Helleu 125068f101 doc: replace iteritems() by items() in scripting guide (compatibility with Python 3.x) 2013-01-07 10:00:02 +01:00
Sebastien Helleu ae618bcf6a doc: remove comment for autogen.sh in tester's guide (command required even for tarball) 2013-01-07 09:50:29 +01:00
Sebastien Helleu cd37f12059 core: fix memory leak in evaluation of expression when a logical operator ("&&" or "||") is found 2013-01-07 08:24:40 +01:00
Sebastien Helleu bd21daebd1 api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately) 2013-01-06 19:38:38 +01:00
Sebastien Helleu faccb87a10 irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027) 2013-01-06 12:25:34 +01:00
Sebastien Helleu 323801f869 core: add cmake option ENABLE_PYTHON3 and configure option --enable-python3
With this option, the python plugin will be built and linked with Python 3
(if found, or Python 2 as fallback).

This option it not (yet) recommended, because many scripts are working only
with Python 2.x. It should be used only to tests scripts with Python 3.x
in WeeChat.
2013-01-05 20:46:22 +01:00
Sebastien Helleu 680486b1d3 Version 0.4.0-rc2 2013-01-05 11:33:22 +01:00
Sebastien Helleu a421d330bf core: fix refresh of bars when applying layout (bug #37944, bug #37952) 2013-01-05 11:00:30 +01:00
Sebastien Helleu cd944052ef doc: update signals arguments in plugin API reference 2013-01-04 23:26:27 +01:00
Sebastien Helleu a543404428 core: add buffer pointer in arguments for signals "input_search", "input_text_changed" and "input_text_cursor_moved" 2013-01-04 23:22:27 +01:00
Sebastien Helleu fec8a1d122 aspell: ignore self and remote nicks in private buffers 2013-01-04 18:41:27 +01:00
Simon Kuhnle 1c17274178 core: fix compilation on OpenBSD (bug #38022)
File "sys/uio.h" needs to be included explicitly for use of "struct iovec" on OpenBSD.

Signed-off-by: Simon Kuhnle <simon@blarzwurst.de>
2013-01-04 17:52:35 +01:00
Sebastien Helleu da56eb6978 core: fix help of option weechat.color.separator 2013-01-04 17:46:13 +01:00
Sebastien Helleu e21de5ce96 doc: add note about double tab in function weechat_printf, to display message without time/alignment (plugin API reference) 2013-01-03 09:58:38 +01:00
Sebastien Helleu 27195e22d6 doc: use github repository for script msgcheck.py in developer's guide 2013-01-02 22:49:35 +01:00
Ryuunosuke Ayanokouzi 94ba7e07ce doc: update japanese docs 2013-01-02 15:34:00 +01:00
Ryuunosuke Ayanokouzi bf610aa603 doc: update japanese translations and docs 2013-01-01 20:57:54 +01:00
Sebastien Helleu 72f760cd48 aspell: fix compilation warning 2013-01-01 17:28:42 +01:00
Sebastien Helleu 3df1d70bb5 aspell: add signal "aspell_suggest" (sent when new suggestions are displayed) 2013-01-01 17:26:50 +01:00
Sebastien Helleu 4ebd300340 relay: send UTC time in irc backlog (when server capability "server-time" is enabled) 2013-01-01 15:13:05 +01:00
Nils Görs e2bf63cca1 doc: update german translations, FAQ, scripting and user guide 2013-01-01 13:44:23 +01:00
Sebastien Helleu 77afab57ed core: fix scroll to bottom of window (default key: alt+end) when line displayed is bigger than chat area 2013-01-01 13:29:29 +01:00
Sebastien Helleu 632e2c1eae core: fix scroll in buffer after enabling/disabling some filters (if scroll is on a hidden line) (bug #37885) 2013-01-01 13:24:19 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 01a1316816 Version 0.4.0-rc1 2012-12-26 16:41:55 +01:00
Sebastien Helleu dd6e5282e8 xfer: fix memory leak when refreshing xfer buffer 2012-12-25 17:02:11 +01:00
Sebastien Helleu 302b0f2f65 script: add missing close of file in case of error when computing MD5 checksum of a file 2012-12-25 17:00:58 +01:00
Sebastien Helleu 306b209421 relay: fix memory leak when adding hdata to a message (weechat protocol) 2012-12-25 16:59:46 +01:00
Sebastien Helleu e557239a4c irc: remove unneeded check of nick pointer (can not be NULL there) 2012-12-25 16:58:58 +01:00
Sebastien Helleu 45d5034ea0 irc: fix memory leak when updating modes of channel 2012-12-25 16:58:18 +01:00
Sebastien Helleu 9a024f3aba core: fix memory leak in case of error when building content of bar item for display 2012-12-25 16:57:14 +01:00
Nils Görs 67a111f7f2 core: fix detection of command in input: a single command char is considered as a command (API function "string_input_for_bufer") 2012-12-25 10:54:51 +01:00
Sebastien Helleu cf76379aa9 relay: add backlog, options and server capability "server-time" for irc protocol (task #12076)
New options:
- relay.irc.backlog_max_minutes
- relay.irc.backlog_max_number
- relay.irc.backlog_since_last_disconnect
- relay.irc.backlog_tags
- relay.irc.backlog_time_format
2012-12-24 17:31:33 +01:00
Sebastien Helleu 2e48874ce0 irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for command "NICK" 2012-12-24 16:23:01 +01:00
Sebastien Helleu 2597bafe36 irc: fix crash when splitting a message with tags 2012-12-24 15:40:50 +01:00
Sebastien Helleu 33f01dcb63 relay: fix crash after /upgrade when a client is connected 2012-12-23 10:51:54 +01:00
Nils Görs 0c15deefc0 relay: add tag "relay_client" in all messages about client 2012-12-21 22:34:12 +01:00
Sebastien Helleu c08cacd3c0 script: do not open script buffer when unknown arguments are given to command /script 2012-12-21 21:59:05 +01:00
Sebastien Helleu 992ed5b75c alias: improve completion of command /alias 2012-12-20 19:31:12 +01:00
Sebastien Helleu 135c740f73 core: improve completion of commands /help, /mute and /set 2012-12-20 19:30:57 +01:00
Sebastien Helleu 85eb3424cd core: add template %(windows_numbers) for first argument of command /window 2012-12-20 19:29:11 +01:00
Sebastien Helleu 9b10edb6c5 core: group templates of command /mouse into a single template 2012-12-20 19:27:23 +01:00
Sebastien Helleu fa1665ef81 core: search for a fallback template when a no template is matching command arguments 2012-12-20 19:23:52 +01:00
Peter Boström a67d97f16e core: add option "diff" for command /set (list options with changed value) 2012-12-20 18:18:33 +01:00
Sebastien Helleu 0e726b43ef core: fix another bug with horizontal separator displayed at bottom after split of windows (bug #37874) 2012-12-20 16:26:41 +01:00
Sebastien Helleu dd96e6daef core: fix refresh of windows after split (fix bug with horizontal separator between windows) (bug #37874) 2012-12-19 12:19:21 +01:00
Sebastien Helleu 1b0ce4bf8b core: add missing contributors in AUTHORS 2012-12-19 11:01:29 +01:00
Sebastien Helleu 2386c10917 core: add cmake dependency between targets weechat_core and version_git 2012-12-19 10:25:12 +01:00
Sebastien Helleu 0f749dc65d core: fix compilation warning on FreeBSD 2012-12-19 09:37:26 +01:00
Sebastien Helleu 3fcb00bfc5 core: fix stuck mouse (patch from Nei) (bug #36533) 2012-12-19 09:10:16 +01:00
Sebastien Helleu e667b606a9 script: fix scroll with mouse when window with script buffer is not the current window (do not force a switch to script buffer in current window) 2012-12-19 09:02:14 +01:00
Sebastien Helleu 0faf58a287 core: fix default mouse buttons actions for script buffer (focus the window before executing action) 2012-12-19 09:00:59 +01:00
Sebastien Helleu 491e31ff55 xfer: add missing tags in DCC chat messages: nick_xxx, prefix_nick_ccc, logN 2012-12-17 23:30:37 +01:00
Sebastien Helleu d37184e450 irc: return git version in CTCP VERSION and FINGER by default, add "$git" and "$versiongit" in format of CTCP replies 2012-12-16 23:11:02 +01:00
Sebastien Helleu 2b78673aa9 core: add git version in build, display it in "weechat-curses --help" and /version 2012-12-16 23:07:33 +01:00
Sebastien Helleu fc0b73207b core: remove unneeded arguments for AM_INIT_AUTOMAKE in configure.in 2012-12-16 23:02:32 +01:00
Sebastien Helleu 7eb5cc4b97 core: move comments with description of C file to top of files 2012-12-15 12:27:57 +01:00
Sebastien Helleu a64dad2597 core: simplify syntax for second argument 2012-12-14 20:44:45 +01:00
Sebastien Helleu b2169e9175 doc: add warning for autotools in user's guide 2012-12-14 20:20:09 +01:00
Sebastien Helleu fd85d310cd core: add dependencies and remove instructions for autotools in INSTALL 2012-12-14 20:19:38 +01:00
Sebastien Helleu 857fb35dcb core: fix cmake target "dist": build tarballs using git-archive and not cvs 2012-12-14 19:01:07 +01:00
Sebastien Helleu 70ad2795ea core: remove obsolete directories from .gitignore 2012-12-14 18:36:38 +01:00
Sebastien Helleu ce657fd7b6 core: remove obsolete file UPGRADE_0.3 (move part of content into file NEWS, for version 0.3.0) 2012-12-14 18:30:43 +01:00
Sebastien Helleu 7d34812f1c core: reformat comments for functions 2012-12-13 18:51:44 +01:00
Sebastien Helleu 9db5682186 core: fix compilation warning 2012-12-09 00:47:07 +01:00
Sebastien Helleu 641de51bdb api: allow creation of structure with hdata_update (allowed for hdata "history") 2012-12-08 23:54:07 +01:00
Sebastien Helleu 3f2155e548 doc: remove chapter "Authors" in user's guide (list is in file AUTHORS), remove link to forum (closed) 2012-12-07 17:11:03 +01:00
Sebastien Helleu 5f4fc11213 core: update list of contributors in AUTHORS 2012-12-07 17:10:23 +01:00
Sebastien Helleu f7c47a8644 core: fix scroll of one page down when weechat.look.scroll_page_percent is less than 100 (bug #37875) 2012-12-07 13:45:41 +01:00
Sebastien Helleu eabf103e71 core: expand char '~' with user home in first argument of hook_process 2012-12-06 13:52:13 +01:00
Sebastien Helleu 822ae76543 core: fix crash in child process of hook_process_hashtable when arguments are given in hashtable and that execvp() failed 2012-12-06 13:43:31 +01:00
Nils Görs d224594194 irc: read local variable "autorejoin" in buffer to override server option "autorejoin" (task #12256) 2012-12-05 19:39:50 +01:00
Sebastien Helleu d544a47e2c doc: update IRC commands in user's guide 2012-12-05 19:38:37 +01:00
Nils Görs 03cbb1c8f6 core: disable paste detection and confirmation if bar item "input_paste" is not used in a visible bar (task #12327) 2012-12-05 19:04:07 +01:00
Nils Görs dd99a1cf2c irc: add option "-auto" for command /connect (task #9340) 2012-12-05 18:32:30 +01:00
Sebastien Helleu 2ce90d4094 core: add option "irc.look.display_pv_away_once" in release notes for version 0.3.3 2012-12-05 16:12:13 +01:00
Sebastien Helleu 76647fc171 doc: fix style for prefixes in function weechat_prefix (plugin API reference) 2012-12-04 08:51:28 +01:00
Sebastien Helleu f411a59a7d core: use high priority (50000) for commands /command and /input so that an alias will not take precedence over these commands (bug #36353) 2012-12-02 13:15:31 +01:00
Sebastien Helleu 1fa23e6d9c alias: give higher priority to aliases (2000) so that they take precedence over an existing command 2012-12-02 13:13:24 +01:00
Sebastien Helleu c89124aadc core: execute command with higher priority when many commands with same name are found with different priorities 2012-12-02 13:12:07 +01:00
Nils Görs 2ae8d81b1f core: add color support in options weechat.look.prefix_{action|error|join|network|quit} (task #9555) 2012-12-01 16:03:20 +01:00
Sebastien Helleu 638b2e3f1c core: fix typo in comment 2012-12-01 12:34:22 +01:00
Sebastien Helleu 72959d1d8b core: fix display of combining chars (patch from Nei) (bug #37775) 2012-11-30 18:16:49 +01:00
Sebastien Helleu b7abb77b4d doc: add option "weechat.network.gnutls_ca_file" in FAQ to reduce memory used 2012-11-30 18:12:52 +01:00
Sebastien Helleu 37a3001dc7 xfer: display remote IP address for DCC chat/file (task #12289) (patch from Nils Görs) 2012-11-27 22:45:22 +01:00
Sebastien Helleu 9c3ee3c407 xfer: limit bytes received to file size (for DCC file received), fix crash when displaying a xfer file with pos greater than size 2012-11-27 19:23:59 +01:00
Nils Görs 52519e11d2 doc: update FAQ and quickstart guide 2012-11-27 15:16:37 +01:00
Sebastien Helleu ab1d5404d4 core: do not display default value for options plugins.* in output of /set 2012-11-27 13:44:41 +01:00
Sebastien Helleu 8df76563fd alias: fix default value of alias options (in "cmd" and "completion" sections): defaults to initial command, instead of empty string 2012-11-27 12:32:00 +01:00
Peter Boström 1585593bda core: display default values for changed config options in output of /set 2012-11-27 12:30:57 +01:00
Sebastien Helleu dbff3de7e5 core: add missing cmake files in packages built by autotools (CMakeParseArguments.cmake, FindPackageHandleStandardArgs.cmake, FindZLIB.cmake) 2012-11-27 10:58:45 +01:00
Sebastien Helleu 3856d527b7 doc: add SASL authentication in FAQ 2012-11-27 10:51:19 +01:00
Sebastien Helleu cdb13120ab doc: add SASL authentication in quickstart guide 2012-11-27 10:00:20 +01:00
Sebastien Helleu 215109e1a5 irc: fix compilation on FreeBSD: replace call to tzset by gmtime/localtime 2012-11-25 11:01:20 +01:00
Sebastien Helleu 46a3d95aab irc: read timestamp or ISO 8601 date format in tag "time" (capability "server-time") 2012-11-24 09:43:50 +01:00
Sebastien Helleu 53b8cdfef3 irc: add support of tags in messages, add support of "server-time" capability (task #12255)
For a server called "znc" in WeeChat, following command will enable the
"server-time" capability:

/set irc.server.znc.capabilities "znc.in/server-time"
2012-11-23 21:31:22 +01:00
Sebastien Helleu 777f977ea5 core: remove obsolete externs gui_color_init_pair and gui_color_init_pairs 2012-11-23 07:40:27 +01:00
Sebastien Helleu 1281b18688 api: use hashtable "options" for command arguments in function hook_process_hashtable (optional, default is a split of string with command) 2012-11-22 19:55:38 +01:00
Sebastien Helleu 425256b38d doc: fix typo in quickstart (part message is not allowed in /close or /buffer close) 2012-11-22 18:20:58 +01:00
Sebastien Helleu 57293ffc96 core: add version 0.3.9.2 in ChangeLog and NEWS 2012-11-18 12:04:33 +01:00
Sebastien Helleu efb795c74f core: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764) 2012-11-18 10:38:30 +01:00
Sebastien Helleu c1389f8fe1 aspell: refresh bar item "aspell_suggest" when aspell is enabled/disabled (bug #37744) 2012-11-16 13:28:24 +01:00
Sebastien Helleu adec2dec0e core: sync debian files with debian git repository 2012-11-16 07:54:59 +01:00
Sebastien Helleu f1d6f2c40a irc: fix crash on /upgrade (free channels before server data when a server is destroyed) (bug #37736) 2012-11-14 20:18:10 +01:00
Sebastien Helleu bb09670757 irc: add comments in function irc_color_decode 2012-11-14 20:16:12 +01:00
Nils Görs 5328fdcc73 doc: update german user's guide 2012-11-10 19:30:10 +01:00
Sebastien Helleu 7cd376b4b3 core: add version 0.3.9.1 in ChangeLog and NEWS 2012-11-09 20:33:22 +01:00
Sebastien Helleu 9453e81baa irc: fix crash when decoding IRC colors in strings (bug #37704) 2012-11-09 18:10:42 +01:00
Sebastien Helleu e8ab9ba18d core: stop cmake if gcrypt lib is not found (bug #37671) 2012-11-06 15:01:56 +01:00
Sebastien Helleu a176d352e3 doc: remove "optional" for arguments of function register (scripting guide) 2012-11-05 22:04:49 +01:00
Nils Görs bae9215e9e irc: fix refresh of bar item "away" after command /away or /disconnect 2012-11-05 20:17:21 +01:00
Nils Görs 93d0438240 core: update german translations 2012-11-05 18:16:46 +01:00
Sebastien Helleu 1dc44d3503 doc: fix typo in user's guide 2012-11-04 15:53:02 +01:00
Sebastien Helleu 47df178c88 core: add option aspell.check.suggestions in ChangeLog 2012-11-04 11:51:34 +01:00
Sebastien Helleu 57d5afeda5 aspell: add bar item "aspell_suggest": suggestions for misspelled word at cursor (task #12061) (patch from Nils Görs) 2012-11-04 11:50:15 +01:00
Sebastien Helleu 9e94bfd48b aspell: update bar item "aspell_dict" only if spellers have changed 2012-11-04 10:49:03 +01:00
Sebastien Helleu ebc4ff82c0 aspell: fix creation of spellers when number of dictionaries is different between two buffers 2012-11-04 09:59:45 +01:00
Sebastien Helleu c848cb42d8 irc: fix display bug in output of /quiet or /mode #channel +q (wrong nick displayed) 2012-11-03 09:59:48 +01:00
Nils Görs 8e5d313885 irc: add command /quiet, fix display of messages 728/729 (quiet list, end of quiet list) (task #12278) 2012-11-02 18:15:24 +01:00
Nils Görs b1005fc23e irc: add option irc.network.alternate_nick to disable dynamic nick generation when all nicks are already in use on server (task #12281) 2012-11-02 17:51:12 +01:00
Ailin Nemui 8b52fc90d5 core: add incomplete mouse events "event-down" and "event-drag" (task #11840) 2012-11-02 17:26:52 +01:00
Sebastien Helleu 4d436e3ac6 core: expand buffer local variables in evaluation of expressions (command /eval and function "string_eval_expression" in plugin API) 2012-11-02 15:40:15 +01:00
Sebastien Helleu f7b53fe6aa core: support many commands in /eval (separated by semicolons) 2012-11-02 15:28:48 +01:00
Sebastien Helleu 7002c44622 irc: fix compilation when gnutls is disabled (bug #37639) 2012-11-02 09:58:12 +01:00
Sebastien Helleu 00f663a8c3 doc: add chapter "bars" in japanese user's guide 2012-11-02 09:47:56 +01:00
Sebastien Helleu 32c93b5c0a core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API 2012-11-02 09:37:15 +01:00
Sebastien Helleu 3ec0ad7c62 core: remove duplicated #include 2012-10-21 19:43:12 +02:00
Sebastien Helleu 9037c0fe4c irc: add option irc.network.whois_double_nick to double nick in command /whois 2012-10-20 18:03:08 +02:00
Nils Görs 7ee9e58d1b irc: send whois on self nick when /whois is done without argument on a channel (task #12273) 2012-10-20 17:19:55 +02:00
Nils Görs ffe636ea48 doc: update german translations and user guide 2012-10-20 14:18:54 +02:00
Sebastien Helleu eba2211427 relay: fix crash when receiving a new client on a socket 2012-10-19 19:28:26 +02:00
Sebastien Helleu 4b6eac3172 doc: fix typo in example of hdata_get_string (plugin API reference) 2012-10-19 14:31:21 +02:00
Sebastien Helleu 8c8bb8e72c doc: add link to doc for dependencies in file INSTALL 2012-10-19 14:28:35 +02:00
Sebastien Helleu 130634ce6a doc: update ruby version in dependencies (user's guide) 2012-10-19 13:54:22 +02:00
Sebastien Helleu 883fb4d64d doc: rename filter "jpk" to "joinquit" in FAQ 2012-10-18 23:17:43 +02:00
stfn c2b26972da core: fix gnutls warnings 2012-10-18 22:36:52 +02:00
Sebastien Helleu ed506558e8 core: add option "-quit" for command /upgrade (save session and quit without restarting WeeChat, for delayed restoration) 2012-10-18 20:59:56 +02:00
Sebastien Helleu 93d3198b70 core: fix display of zoomed/merged buffer (with number >= 2) after switching to it (bug #37593) 2012-10-18 10:25:34 +02:00
Sebastien Helleu 0d18ef16bb core: fix typo in NEWS 2012-10-17 19:49:03 +02:00
Simon Arlott d5f140805b core: fix sendmsg/recvmsg on BSD/OSX by sending 1 byte of data (in hook_connect) 2012-10-17 17:32:56 +02:00
Sebastien Helleu f42b3d382f core: fix display problem when option weechat.look.prefix_same_nick is set (problem with nick displayed in first line of screen) (bug #37556)
To fix this bug, a feature has been removed: the first message with a nick has
the prefix forced (to not display the value of weechat.look.prefix_same_nick on
top of screen), commit was: 04e98c3f29
This feature may be reintroduced in a future commit.
2012-10-17 16:34:21 +02:00
Sebastien Helleu d403d7b79b weercd.py: add action "file" and option "file" 2012-10-17 16:19:45 +02:00
Sebastien Helleu 066f184605 core: fix connection to servers on OS X 2012-10-17 12:17:10 +02:00
Sebastien Helleu 43c01f76a2 irc: remove local variable "away" in server/channels buffers after server disconnection (bug #37582) 2012-10-16 19:25:36 +02:00
Sebastien Helleu 82a8acf9ce relay: add support of IPv6, new option relay.network.ipv6, add support of "ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270) 2012-10-16 19:14:26 +02:00
Sebastien Helleu 452229cf32 irc: fix cancel of auto-reconnection to server with /disconnect
This bug was introduced by commit 5931eed85d
2012-10-14 11:17:54 +02:00
Simon Arlott 248aa8d73a api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address (task #11205) 2012-10-14 10:59:00 +02:00
Sebastien Helleu 70ce7fe3b6 core: fix wrapping of words with wide chars (the break was made before the correct position) 2012-10-12 14:05:48 +02:00
Sebastien Helleu 5cfeb2f2bc irc: add option "-noswitch" for command /join (task #12275) 2012-10-09 21:33:09 +02:00
Sebastien Helleu aa6b886386 irc: fix crash when message 352 has too few arguments (bug #37513) 2012-10-06 19:05:13 +02:00
Sebastien Helleu 872d1e0372 doc: add missing files for script plugin in developer's guide 2012-10-06 17:32:12 +02:00
Nils Görs 668cda2684 aspell: add bar item "aspell_dict" (dictionary used on current buffer) 2012-10-06 17:16:49 +02:00
Sebastien Helleu 5443ae4cae doc: update hdata "irc_server" (add "disconnected") in plugin API reference 2012-10-06 17:11:25 +02:00
Sebastien Helleu 5931eed85d irc: remove unneeded server disconnect when server buffer is closed and server is already disconnected
This commit fixes a problem with the script autoconnect.py: the script hooks
signal "irc_server_disconnected", and this signal was sent 2 times for each
server on /quit: one time when servers are disconnected, and one time when
servers are destroyed (because buffer is closed, and then server disconnected
again). The script forces save of irc.conf on each disconnection, so some
servers were lost in irc.conf, when some servers have already been destroyed.
2012-10-06 16:07:53 +02:00
Sebastien Helleu 8caeed6c4e doc: add call to config_get in examples of functions config_<type>(_default) (plugin API reference) 2012-10-05 22:05:34 +02:00
Sebastien Helleu 33d90d75c3 relay: add missing "ssl." in output of /relay listrelay 2012-10-05 15:21:32 +02:00
Sebastien Helleu 485728a43f script: fix compilation on OS X 2012-10-03 17:40:56 +02:00
Sebastien Helleu 13d95cac8e core: sync debian files with debian git repository 2012-10-02 09:07:11 +02:00
Sebastien Helleu 6a8127d92e core: fix wrong Vcs-Browser URL for debian git repository (debian #689203) 2012-10-02 09:06:55 +02:00
Sebastien Helleu e0959486e9 Version 0.4.0-dev 2012-09-29 11:48:49 +02:00
1229 changed files with 569200 additions and 198129 deletions
+8
View File
@@ -0,0 +1,8 @@
# files/directories excluded from tarballs
.git* export-ignore
debian-devel export-ignore
debian-stable export-ignore
weechat.spec export-ignore
.mailmap export-ignore
tools/build-debian.sh export-ignore
+1
View File
@@ -0,0 +1 @@
custom: https://weechat.org/donate/
+43
View File
@@ -0,0 +1,43 @@
---
name: Bug report
about: Create a bug report (please do not report security issues here)
labels: bug
---
<!-- Please do not report any security issue here, see file Contributing.adoc -->
## Bug summary
## Steps to reproduce
1. 
2. 
3. 
## Current behavior
## Expected behavior
## Suggested solutions
## Additional information
---
<!-- MANDATORY INFO: -->
- WeeChat version: 
- OS, distribution and version: 
- Terminal: 
- Terminal multiplexer (screen/tmux/…/none): 
+1
View File
@@ -0,0 +1 @@
blank_issues_enabled: false
@@ -0,0 +1,8 @@
---
name: Feature request
about: Request a new feature / enhancement
labels: feature
---
## Feature description
+15
View File
@@ -0,0 +1,15 @@
---
name: Question
about: Ask a question (please read first FAQ and docs)
labels: question
---
## Question
---
- WeeChat version: 
- OS, distribution and version: 
+168
View File
@@ -0,0 +1,168 @@
name: CI
on:
- push
- pull_request
env:
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip libenchant-dev autopoint cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python2-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.2-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php8.0-dev libphp8.0-embed libargon2-dev libsodium-dev pylint python3-bandit asciidoctor
jobs:
tests_linux:
strategy:
matrix:
os:
- ubuntu-20.04
config:
- { name: "cmake_gcc", cc: "gcc", cxx: "g++", tool: "cmake", args: "" }
- { name: "cmake_gcc_ninja", cc: "gcc", cxx: "g++", tool: "cmake", args: "-G Ninja" }
- { name: "cmake_gcc_no_nls", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_NLS=OFF" }
- { name: "cmake_gcc_py2", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_PYTHON2=ON" }
- { name: "cmake_gcc_coverage", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_CODE_COVERAGE=ON" }
- { name: "cmake_clang", cc: "clang", cxx: "clang++", tool: "cmake", args: "" }
- { name: "autotools_gcc", cc: "gcc", cxx: "g++", tool: "autotools", args: "" }
- { name: "autotools_clang", cc: "clang", cxx: "clang++", tool: "autotools", args: "" }
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-add-repository --yes ppa:ondrej/php
sudo apt-get update -qq
sudo apt-get --yes purge php8.1-dev
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
sudo -H pip3 install --ignore-installed msgcheck
- name: Check gettext files
run: msgcheck po/*.po
- name: Check Python scripts
run: |
pylint --additional-builtins=_ doc/docgen.py
pylint doc/python_stub.py
pylint tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py
bandit doc/docgen.py doc/python_stub.py
bandit tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py
- name: Check Python stub file
run: ./doc/python_stub.py | diff src/plugins/python/weechat.pyi -
- name: Build and run tests
env:
CC: ${{ matrix.config.cc }}
CXX: ${{ matrix.config.cxx }}
BUILDTOOL: ${{ matrix.config.tool }}
BUILDARGS: ${{ matrix.config.args }}
run: ./tools/build-test.sh
- name: Run WeeChat
env:
TERM: xterm-256color
run: |
weechat --help
weechat-curses --help
weechat --colors
weechat --license
weechat --version
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
- name: Code coverage
if: ${{ matrix.config.name == 'cmake_gcc_coverage' }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
cd build-tmp-*
lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info '/usr/*' --output-file coverage.info
lcov --list coverage.info
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
tests_macos:
strategy:
matrix:
os:
- macos-11
- macos-10.15
config:
- { name: "cmake_gcc", cc: "gcc", cxx: "g++" }
- { name: "cmake_clang", cc: "clang", cxx: "clang++" }
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
brew update
brew install asciidoctor lua ruby
- name: Build
env:
CC: ${{ matrix.config.cc }}
CXX: ${{ matrix.config.cxx }}
run: |
mkdir build-tmp && cd build-tmp
cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_PHP=OFF
make VERBOSE=1 -j2
sudo make install
- name: Run WeeChat
env:
TERM: xterm-256color
run: |
weechat --help
weechat-curses --help
weechat --colors
weechat --license
weechat --version
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
build_debian:
strategy:
matrix:
os:
- ubuntu-20.04
name: "Build Debian on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-add-repository --yes ppa:ondrej/php
sudo apt-get update -qq
sudo apt-get --yes purge php8.1-dev
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }} php-dev
- name: Test Debian patches
run: ./tools/build-debian.sh test-patches
- name: Build Debian packages
run: ./tools/build-debian.sh devel ubuntu/focal
- name: Install Debian packages
run: sudo dpkg -i ../weechat-devel*.deb
- name: Run WeeChat
env:
TERM: xterm-256color
run: |
weechat --help
weechat-curses --help
weechat --version
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
+14 -8
View File
@@ -2,7 +2,6 @@
*.a
*.gmo
*.html
*.la
*.lai
*.lo
@@ -13,18 +12,27 @@
*.so
*.so.0
*.so.0.0.0
*.1
ABOUT-NLS
autom4te*
build*/*
build/*
builddir/*
compile
config.guess
config.h*
config.h
config.h.in*
config-git.h
config.log
config.rpath
config.status
config.sub
configure
debian/*.log
debian
!tools/debian
debian-devel/changelog
debian-devel/*.log
debian-stable/*.log
depcomp
insert-header.sin
install-sh
@@ -40,12 +48,10 @@ POTFILES
remove-potcdate.sed
Rules-quot
weechat.pc
doc/de/build/*
doc/en/build/*
doc/fr/build/*
weechat-*.cygport
*stamp
stamp*
src/gui/curses/weechat
src/gui/curses/weechat-curses
src/gui/gtk/weechat-gtk
+21
View File
@@ -0,0 +1,21 @@
# Map author and committer names and email addresses to canonical real names
# and email addresses.
#
# For example with these commands:
# git shortlog -nse
# git shortlog -se | cut -f2 | sort
Sébastien Helleu <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org> <flashcode@krypton>
Sébastien Helleu <flashcode@flashtux.org> <flashcode>
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
Nils Görs <weechatter@arcor.de>
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
Krzysztof Korościk <soltys@soltys.info>
Krzysztof Korościk <soltys@soltys.info> <soltys1@gmail.com>
Krzysztof Korościk <soltys@soltys.info> <soltys@szluug.org>
Marco Paolone <marcopaolone@gmail.com>
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
<simon@arlott.org> <sa.me.uk>
<Simon.Kuhnle@cs.fau.de> <simon@blarzwurst.de>
-53
View File
@@ -1,53 +0,0 @@
WeeChat Authors
===============
Developers
----------
* General code
** Sébastien Helleu <flashcode@flashtux.org>
*** Web: http://www.weechat.org/
*** IRC: 'FlashCode' on irc.freenode.net
* Scripts plugins, debian packager
** Emmanuel Bouthenot <kolter@openics.org>
*** IRC: 'kolter' on irc.freenode.net
Contributors
------------
* Julien Louis <ptitlouis@sysif.net>, IRC: 'ptitlouis'
* Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: 'divVerent'
* Jiri Golembiovsky <golemj@gmail.com>, IRC: 'GolemJ'
* Jim Ramsay <i.am@jimramsay.com>, IRC: 'lack'
* Odin <odin@dtdm.org>, IRC: 'Odin'
* Pistos, IRC: 'pistos'
* Gwenn, IRC: 'gwenn'
* Voroskoi, IRC: 'voroskoi'
* Frank Zacharias
* Pavel Shevchuk, IRC: 'Stalwart'
* soltys
* Nils Görs
* rettub
* Elián Hanisch, IRC: 'm4v'
* Marco Paolone
* Dmitry Kobylin
* Dominik Honnef
* JD Horelick, IRC: 'jdhore'
* Stefano Pigozzi
* Ivan Sichmann Freitas
* Gu1ll4um3r0m41n
Contact
-------
Whole team is connected to IRC:
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
See README file for license detail.
+158
View File
@@ -0,0 +1,158 @@
= WeeChat Authors
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
== Developers
* General code
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
* Scripts plugins, debian packager
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
== Contributors
Alphabetically:
* Adam Saponara (adsr)
* Adrian Bjugård
* Ailin Nemui (Nei)
* Aleksey V Zapparov
* Alex Tarkovsky
* Anders Bergh
* Andrew Potter (talisein)
* Antoine Pietri (seirl)
* Arvydas Sidorenko
* Asakura
* Bazerka
* Benoit Papillault (benoit)
* Chris Hills
* Christian Duerr
* Christian Heinz
* Christopher O'Neill (deltafire)
* coypoop
* Danilo Spinella
* David Flatz
* Dmitry Kobylin
* Dominik Honnef
* Dominique Martinet
* dotflac
* Eduardo Elias
* Eli Schwartz
* Elizabeth Myers (Elizacat)
* Elián Hanisch (m4v)
* Emanuele Giaquinta
* Emir Sarı
* emk
* Érico Nogueira
* Esteban I. Ruiz Moreno (Exio)
* Evgeny Shmarnev
* Felix Eckhofer
* Frank Zacharias
* Fredrik Fornwall
* Grant Wu
* Gu1ll4um3r0m41n
* Guido Berhoerster
* Gwenn
* Hasan Kiran (turgay)
* Ivan Pešić
* Ivan Sichmann Freitas
* Jakub Jirutka
* Jan Palus
* Jason A. Donenfeld (zx2c4)
* JD Horelick (jdhore)
* jesopo
* Jim Ramsay (lack)
* Jiri Golembiovsky (GolemJ)
* Joey Pabalinas (alyptik)
* Johan Rylander
* Joram Schrijver
* Jos Ahrens
* Joseph Kichline
* Juan Francisco Cantero Hurtado
* Julien Louis (ptitlouis)
* Karthik K
* Koka El Kiwi (KiwiDash)
* Krzysztof Koroscik (soltys)
* Kyle Fuller (kylef)
* Kyle Sabo
* Leonid Evdokimov
* Lázaro A.
* Linus Heckemann
* Maarten de Vries
* Mantas Mikulėnas (grawity)
* Marco Paolone
* Marco Sirabella
* Mateusz Poszwa
* Matt Robinson
* Matthew Horan
* Matthew Martin
* Matti Virkkunen
* Max Anton Teufel
* Maxim Baz
* Michael Siegel
* Miroslav Koskar
* Murilo Opsfelder Araujo
* Neui
* Nick (SolitaryCipher)
* Nicolas Cavigneaux
* Nils Görs (nils_2)
* nyuszika7h
* Odin
* Ondřej Súkup
* Patrick Steinhardt
* Patrik Janoušek
* Paul Komkoff
* Pavel Shevchuk (Stalwart)
* Peter Boström (pbos)
* Phillip Sz
* Pierre Carru
* Piotr Szymaniak
* Pistos
* Quentin Glidic (SardemFF7)
* Quentin Pradet
* Quico Noizeux
* rafasc
* Raghavendra Prabhu
* raspbeguy
* Rettub
* Rob Campbell
* Romero B. de S. Malaquias
* Rudolf Polzer (divVerent)
* Ruslan Bekenev
* Ryan Farley
* Ryuunosuke Ayanokouzi
* scumjr
* Sergio Durigan Junior
* Shane McCarron
* Shawn Smith
* Shun Sakai
* Simmo Saan (sim642)
* Simon Arlott
* Simon Kuhnle
* Simon Ser
* Stefano Pigozzi
* Stfn
* Sven Knurr (Cthulhux)
* Tim D. Smith
* Tim Harder
* Tobias Stoeckmann
* Tom Alsberg
* Tom Fitzhenry
* Tomoe Mami
* Tor Hveem (xt)
* Trevor Bergeron
* Valentin Lorentz (progval)
* Vasco Almeida
* Victorhck
* Voroskoi
* Wojciech Kwolek
* W. Trevor King
* Yannick Palanque
* ZethJack
* Ørjan Malde
== Contact
See the https://weechat.org/about/support/[support page].
+267 -107
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -16,148 +16,308 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
PROJECT(weechat C)
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 2.4)
project(weechat C)
SET(CMAKE_VERBOSE_MAKEFILE OFF)
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
SET(CMAKE_SKIP_RPATH ON)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Werror-implicit-function-declaration")
IF(PREFIX)
SET(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
ENDIF(PREFIX)
# CMake options
set(CMAKE_VERBOSE_MAKEFILE OFF)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
set(CMAKE_SKIP_RPATH ON)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "9")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
# version
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-minor OUTPUT_VARIABLE VERSION_MINOR)
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-patch OUTPUT_VARIABLE VERSION_PATCH)
string(REGEX REPLACE "\n" "" VERSION_MAJOR "${VERSION_MAJOR}")
string(REGEX REPLACE "\n" "" VERSION_MINOR "${VERSION_MINOR}")
string(REGEX REPLACE "\n" "" VERSION_PATCH "${VERSION_PATCH}")
if(VERSION_PATCH STREQUAL "")
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
else()
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
endif()
IF(DEFINED LIBDIR)
SET(LIBDIR ${LIBDIR}/${PROJECT_NAME})
ELSE(DEFINED LIBDIR)
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
ENDIF(DEFINED LIBDIR)
# license
set(LICENSE "GPL3")
IF(NOT DEFINED SHAREDIR)
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
ENDIF(NOT DEFINED SHAREDIR)
# add definitions for version and license
if(COMMAND cmake_policy)
cmake_policy(SET CMP0005 NEW)
add_definitions(-DWEECHAT_VERSION="${VERSION}" -DWEECHAT_LICENSE="${LICENSE}")
else()
add_definitions(-DWEECHAT_VERSION='"${VERSION}"' -DWEECHAT_LICENSE='"${LICENSE}"')
endif()
IF(NOT DEFINED MANDIR)
SET(MANDIR ${SHAREDIR}/man)
ENDIF(NOT DEFINED MANDIR)
# package string
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
IF(NOT DEFINED LOCALEDIR)
SET(LOCALEDIR ${SHAREDIR}/locale)
ENDIF(NOT DEFINED LOCALEDIR)
if(NOT DEFINED LIBDIR)
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib)
endif()
IF(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
ELSE(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
ENDIF(DEFINED INCLUDEDIR)
if(NOT DEFINED WEECHAT_LIBDIR)
set(WEECHAT_LIBDIR ${LIBDIR}/${PROJECT_NAME})
endif()
OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON)
OPTION(ENABLE_GTK "Enable GTK interface" OFF)
OPTION(ENABLE_NLS "Enable Native Language Support" ON)
OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
OPTION(ENABLE_ALIAS "Enable Alias plugin" ON)
OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON)
OPTION(ENABLE_CHARSET "Enable Charset plugin" ON)
OPTION(ENABLE_DEMO "Enable Demo plugin" OFF)
OPTION(ENABLE_FIFO "Enable FIFO plugin" ON)
OPTION(ENABLE_IRC "Enable IRC plugin" ON)
OPTION(ENABLE_LOGGER "Enable Logger plugin" ON)
OPTION(ENABLE_RELAY "Enable Relay plugin" ON)
OPTION(ENABLE_RMODIFIER "Enable Rmodifier plugin" ON)
OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
OPTION(ENABLE_XFER "Enable Xfer plugin" ON)
OPTION(ENABLE_DOC "Enable Documentation" ON)
if(NOT DEFINED DATAROOTDIR)
set(DATAROOTDIR ${CMAKE_INSTALL_PREFIX}/share)
endif()
IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "~/.weechat")
ENDIF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
if(NOT DEFINED WEECHAT_SHAREDIR)
set(WEECHAT_SHAREDIR ${DATAROOTDIR}/weechat)
endif()
SET(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
if(NOT DEFINED MANDIR)
set(MANDIR ${DATAROOTDIR}/man)
endif()
if(NOT DEFINED LOCALEDIR)
set(LOCALEDIR ${DATAROOTDIR}/locale)
endif()
if(DEFINED INCLUDEDIR)
set(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
else()
set(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
endif()
option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
option(ENABLE_HEADLESS "Compile the headless binary (required for tests)" ON)
option(ENABLE_NLS "Enable Native Language Support" ON)
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
option(ENABLE_ALIAS "Enable Alias plugin" ON)
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
option(ENABLE_CHARSET "Enable Charset plugin" ON)
option(ENABLE_EXEC "Enable Exec plugin" ON)
option(ENABLE_FIFO "Enable FIFO plugin" ON)
option(ENABLE_FSET "Enable Fast Set plugin" ON)
option(ENABLE_IRC "Enable IRC plugin" ON)
option(ENABLE_LOGGER "Enable Logger plugin" ON)
option(ENABLE_RELAY "Enable Relay plugin" ON)
option(ENABLE_SCRIPT "Enable Script plugin (script manager)" ON)
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
option(ENABLE_PERL "Enable Perl scripting language" ON)
option(ENABLE_PYTHON "Enable Python scripting language" ON)
option(ENABLE_PYTHON2 "Use Python 2 instead of Python 3" OFF)
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
option(ENABLE_LUA "Enable Lua scripting language" ON)
option(ENABLE_TCL "Enable Tcl scripting language" ON)
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" OFF)
option(ENABLE_PHP "Enable PHP scripting language" ON)
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
option(ENABLE_ENCHANT "Enable Enchant lib for Spell checker plugin" OFF)
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
option(ENABLE_TYPING "Enable Typing plugin" ON)
option(ENABLE_XFER "Enable Xfer plugin" ON)
option(ENABLE_MAN "Enable build of man page" OFF)
option(ENABLE_DOC "Enable build of documentation" OFF)
option(ENABLE_TESTS "Enable tests" OFF)
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
# code coverage
add_library(coverage_config INTERFACE)
if(ENABLE_CODE_COVERAGE)
target_compile_options(coverage_config INTERFACE -O0 -g --coverage)
target_link_libraries(coverage_config INTERFACE --coverage)
endif()
# headless mode is required for tests
if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
message(FATAL_ERROR "Headless mode is required for tests.")
endif()
# option WEECHAT_HOME
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
STRING "Force a single WeeChat home directory for config, logs, scripts, etc."
FORCE)
MARK_AS_ADVANCED(CLEAR WEECHAT_HOME)
mark_as_advanced(CLEAR WEECHAT_HOME)
IF(ENABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(ENABLE_NLS)
if(COMMAND cmake_policy)
if(POLICY CMP0003)
cmake_policy(SET CMP0003 NEW)
endif()
if(POLICY CMP0017)
cmake_policy(SET CMP0017 NEW)
endif()
endif()
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( doc )
add_definitions(-DHAVE_CONFIG_H)
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
include(CheckIncludeFiles)
include(CheckFunctionExists)
include(CheckSymbolExists)
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/makedist.sh.in"
"${CMAKE_CURRENT_BINARY_DIR}/makedist.sh" IMMEDIATE
@ONLY)
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
CONFIGURE_FILE(
check_function_exists(mallinfo HAVE_MALLINFO)
check_function_exists(mallinfo2 HAVE_MALLINFO2)
check_symbol_exists("eat_newline_glitch" "term.h" HAVE_EAT_NEWLINE_GLITCH)
# Check for Large File Support
if(ENABLE_LARGEFILE)
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
endif()
# Check for Gettext
if(ENABLE_NLS)
find_package(Gettext)
if(GETTEXT_FOUND)
add_definitions(-DENABLE_NLS)
find_package(Intl)
if(Intl_FOUND)
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
endif()
else()
message(SEND_ERROR "Gettext not found")
endif()
endif()
# Check for libgcrypt
find_package(GCRYPT REQUIRED)
add_definitions(-DHAVE_GCRYPT)
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
# Check for GnuTLS
find_package(GnuTLS REQUIRED)
string(REGEX REPLACE "/[^/]*$" "" GNUTLS_LIBRARY_PATH "${GNUTLS_LIBRARY}")
include_directories(${GNUTLS_INCLUDE_PATH})
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${GNUTLS_LIBRARY_PATH}")
list(APPEND EXTRA_LIBS gnutls)
# Check for zlib
find_package(ZLIB REQUIRED)
# Check for zstd
include(FindPkgConfig)
pkg_check_modules(LIBZSTD REQUIRED libzstd)
# Check for iconv
find_package(Iconv)
if(ICONV_FOUND)
add_definitions(-DHAVE_ICONV)
endif()
# Check for CURL
find_package(CURL REQUIRED)
# weechat_gui_common MUST be the first lib in the list
set(STATIC_LIBS weechat_gui_common)
find_library(DL_LIBRARY
NAMES dl
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
)
list(APPEND STATIC_LIBS weechat_plugins)
if(DL_LIBRARY)
string(REGEX REPLACE "/[^/]*$" "" DL_LIBRARY_PATH "${DL_LIBRARY}")
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${DL_LIBRARY_PATH}")
list(APPEND EXTRA_LIBS dl)
endif()
add_subdirectory(icons)
if(ENABLE_NLS)
add_subdirectory(po)
endif()
add_subdirectory(src)
add_subdirectory(doc)
if(ENABLE_TESTS)
find_package(CppUTest)
if(CPPUTEST_FOUND)
enable_testing()
add_subdirectory(tests)
else()
message(SEND_ERROR "CppUTest not found")
endif()
endif()
configure_file(config.h.cmake config.h @ONLY)
# set the git version in "config-git.h"
add_custom_target(version_git ALL
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/tools/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
)
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
IMMEDIATE @ONLY
)
ADD_CUSTOM_TARGET(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
add_custom_target(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
)
ADD_CUSTOM_TARGET(dist
"${CMAKE_BINARY_DIR}/makedist.sh"
DEPENDS doc
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
add_custom_target(dist
"${CMAKE_CURRENT_SOURCE_DIR}/tools/makedist.sh" "${VERSION}" "HEAD" "${CMAKE_CURRENT_BINARY_DIR}"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
# pkgconfig file
SET(PACKAGE "${PROJECT_NAME}")
SET(prefix "${CMAKE_INSTALL_PREFIX}")
SET(exec_prefix "\${prefix}")
SET(libdir "\${exec_prefix}/lib")
SET(includedir "\${prefix}/include")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
set(PACKAGE "${PROJECT_NAME}")
set(prefix "${CMAKE_INSTALL_PREFIX}")
set(exec_prefix "\${prefix}")
string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${prefix}" libdir "${LIBDIR}")
set(includedir "\${prefix}/include")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/pkgconfig)
# cygport file (used to build Cygwin packages)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
# install some files (only on Cygwin)
if(CYGWIN)
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.adoc
${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.adoc
${CMAKE_CURRENT_SOURCE_DIR}/Contributing.adoc
${CMAKE_CURRENT_SOURCE_DIR}/README.adoc
${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.adoc
DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}
)
endif()
# desktop file
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.desktop DESTINATION ${DATAROOTDIR}/applications)
# packages
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
set(CPACK_PACKAGE_VENDOR "Sébastien Helleu")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.adoc")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
# binary package
SET(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
SET(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
set(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
set(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
# source package
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
set(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
set(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
set(CPACK_SOURCE_IGNORE_FILES
"/\\\\.git" "/build/" "/m4/"
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
"/weechat-gtk$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
)
INCLUDE(CPack)
include(CPack)
+4 -4
View File
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
-1650
View File
File diff suppressed because it is too large Load Diff
+3380
View File
File diff suppressed because it is too large Load Diff
+89
View File
@@ -0,0 +1,89 @@
= Contributing to WeeChat
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
== Reporting bugs
First, some basic things:
* Use only English to communicate with developers.
* Search in issues if the same problem or feature request has already been
reported (a duplicate is waste of time for you and the developers!).
* If you can, please check if the problem has been fixed in development version
(if you are using a stable release or old version).
* Report only one bug or feature request per issue.
=== Security reports
Please *DO NOT* file a GitHub issue for security related problems, but send an
email to <security@weechat.org> instead.
=== Required info
When reporting https://github.com/weechat/weechat/issues[issues] on GitHub,
please include:
* Your *WeeChat version*: the output of `/v` in WeeChat, for example:
_WeeChat 1.7-dev (git: v1.6-6-g997f47f)_. +
If WeeChat does not start at all, please include the version displayed by
`weechat --help` (or the version installed with your package manager).
* Your *operating system*: its name and version (examples: Linux Debian Bullseye,
FreeBSD 13.0, Windows/Cygwin 64-bit, Windows/Ubuntu 64-bit...).
* The *steps to reproduce*: if possible, please include a reproducible example:
explain the steps which led you to the problem. +
It's even better if you can reproduce the problem with a new config (and no
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
problem here.
* The *gdb's backtrace* (only for a crash): if you can reproduce the crash
(or if you have a core file), please include the backtrace from gdb (look at
https://weechat.org/doc/user#report_crashes[User's guide] for more info).
* The *actual result*.
* The *expected result*: the correct result you are expecting.
[IMPORTANT]
Most of times, the WeeChat crash log file (_weechat_crash_YYYYMMDD_xxx.log_) is
*NOT USEFUL* to fix the bug, so please report this file *ONLY* if a developer
asked you to send it (and be extremely careful, this file can contain personal
data like passwords and contents of your chats).
=== Scripts related issues
If you are using scripts, they can cause problems/crashes. To check if the
problem is related to one script, try to unload them one by one (using
command `/script unload <name>`).
Many issues reported are in fact related to bugs in scripts, so please first
check that before reporting any issue on WeeChat itself.
If you think the problem comes from a specific script, please report the issue
in the https://github.com/weechat/scripts/issues[scripts git repository]
instead.
== Translations
Pull requests on GitHub for fixes or new translations are welcome at any
time, for https://github.com/weechat/weechat[WeeChat] and the website
https://github.com/weechat/weechat.org[weechat.org].
To start a translation in a new language (not yet supported), please look at
https://weechat.org/doc/dev#translations[translations]
in Developer's guide.
== Feature requests
WeeChat is under active development, so your idea may already have been
implemented, or scheduled for a future version (you can check in
https://weechat.org/dev[roadmap] or
https://github.com/weechat/weechat/milestones[milestones] on GitHub.
Pull requests on GitHub are welcome for minor new features.
For major new features, it's better to discuss about it in IRC
(server: _irc.libera.chat_, channel _#weechat_).
Before submitting any pull request, be sure you have read the
https://weechat.org/doc/dev#coding_rules[coding rules]
in Developer's guide, which contains info about styles used, naming convention
and other useful info.
-36
View File
@@ -1,36 +0,0 @@
WeeChat Installation instructions
=================================
You can build WeeChat with cmake (recommended way) or autotools.
With cmake
----------
------------------------------------------------------------------
mkdir build
cd build
cmake .. -DPREFIX=/where/you/want/install -DCMAKE_BUILD_TYPE=Debug
make
make install (as root for installation in system directories)
------------------------------------------------------------------
With autotools
--------------
----------------------------------------------------------------------
./autogen.sh (for cloned git repository only, not .tar.XX package)
./configure --prefix=/where/you/want/install
make
make install (as root for installation in system directories)
----------------------------------------------------------------------
If you want to report bugs/crashes to developers, please:
- compile with debug info (type "Debug" for cmake build, default for autotools),
- enable core files (for bash shell, add "ulimit -c unlimited" to your ~/.bashrc).
See AUTHORS for support, feel free to contact us for any problem.
+39 -17
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -16,24 +16,38 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
if DOC
doc_dir = doc
# This target will update file config-git.h with output of command "git describe"
# (if needed, and only for a devel/rc version).
BUILT_SOURCES = build-config-git.h
build-config-git.h:
-$(abs_top_srcdir)/tools/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
if TESTS
tests_dir = tests
endif
SUBDIRS = po $(doc_dir) intl src
SUBDIRS = icons po doc intl src $(tests_dir)
EXTRA_DIST = CMakeLists.txt \
EXTRA_DIST = AUTHORS.adoc \
ChangeLog.adoc \
Contributing.adoc \
README.adoc \
ReleaseNotes.adoc \
CMakeLists.txt \
config.rpath \
config.h.cmake \
cmake/cmake_uninstall.cmake.in \
cmake/FindAsciidoc.cmake \
cmake/CMakeParseArguments.cmake \
cmake/FindAsciidoctor.cmake \
cmake/FindAspell.cmake \
cmake/FindGcrypt.cmake \
cmake/FindCppUTest.cmake \
cmake/FindENCHANT.cmake \
cmake/FindGCRYPT.cmake \
cmake/FindGettext.cmake \
cmake/FindGnuTLS.cmake \
cmake/FindGuile.cmake \
cmake/FindIconv.cmake \
cmake/FindLua.cmake \
cmake/FindNcurses.cmake \
@@ -41,18 +55,26 @@ EXTRA_DIST = CMakeLists.txt \
cmake/FindPkgConfig.cmake \
cmake/FindPython.cmake \
cmake/FindRuby.cmake \
cmake/FindSourcehighlight.cmake \
cmake/FindTCL.cmake \
cmake/FindGuile.cmake \
cmake/makedist.sh.in \
cmake/FindV8.cmake \
cmake/FindZLIB.cmake \
cmake/cmake_uninstall.cmake.in \
po/CMakeLists.txt \
po/srcfiles.cmake \
weechat.spec \
weechat_icon_32.png \
tools/build-test.sh \
tools/git-version.sh \
tools/makedist.sh \
version.sh \
weechat.desktop \
weechat.pc.in \
UPGRADE_0.3
weechat.cygport.in
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = weechat.pc
desktopdir = $(datadir)/applications
desktop_DATA = weechat.desktop
clean-local:
$(RM) config-git.h
-394
View File
@@ -1,394 +0,0 @@
WeeChat Release Notes
=====================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.9, 2012-09-29
Version 0.3.9 (2012-09-29)
--------------------------
Important release notes:
* options moved from core (weechat.conf) to irc plugin (irc.conf):
** 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
with values: none/prefix/action/both)
** 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
* new bar item has been added: 'buffer_modes' and irc option
'irc.look.item_channel_modes' has been removed; to display irc channel modes
in status bar (after channel name), you have to manually add the new item
'buffer_modes' (this is now used by default in status bar items), default
value for status bar items becomes:
** `/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"`
* changes in options for command `/aspell`:
** new option `enable`: enable aspell
** new option `disable`: disable aspell
** new option `toggle`: toggle aspell (new default key: alt+"s")
** option `enable` renamed to `setdict` (set dictionary for current buffer)
** option `disable` renamed to `deldict` (delete dictionary used on current buffer)
** option `dictlist` renamed to `listdict` (show installed dictionaries)
* an horizontal separator has been added between split windows, and two options
have been added to toggle separators (both are enabled by default):
** 'weechat.look.window_separator_horizontal'
** 'weechat.look.window_separator_vertical'
* new keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys
Version 0.3.8 (2012-06-03)
--------------------------
Important release notes:
* options 'weechat.look.prefix_align_more' and
'weechat.look.prefix_buffer_align_more' have been converted from type boolean
to string:
** if the value was on (default), new value is "+" and you can now customize
this char
** if the value was off, you have to set " " (string with one space)
* option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
paste with one line (only if terminal "bracketed paste mode" is enabled when
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used
to disable paste detection: if your value was 0, you should set it to -1:
** `/set weechat.look.paste_max_lines -1`
* rmodifier "nickserv" has a new default regex which includes option "release"
for command "/msg nickserv". If you never added/changed rmodifiers, you can
just reset all rmodifiers (command: `/rmodifier default -yes`).
If you added/changed some rmodifiers, do it manually with these two commannds:
** `/rmodifier del nickserv`
** `/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)`
Version 0.3.7 (2012-02-26)
--------------------------
Important release notes:
* option `scroll_unread` has been moved from command `/input` to `/window`,
therefore default command of key alt+"u" has been updated. To bind key with
new default value:
** `/key bind meta-u /window scroll_unread`
* extended regex is used in filters and irc ignore, so some chars that
needed escape in past do not need any more (for example `[0-9]\+` becomes
`[0-9]+`), filters and ignore have to be manually fixed
* option 'weechat.look.highlight_regex' becomes case insensitive by default,
to make it case sensitive, use "(?-i)" at beginning of string, for example:
"(?-i)FlashCode|flashy"
* option 'weechat.history.max_lines' has been renamed to
'weechat.history.max_buffer_lines_number'
* option 'weechat.plugin.extension' now supports list of extensions, and new
default value is ".so,.dll" (with this value, weechat.conf is compatible with
Cygwin)
Version 0.3.6 (2011-10-22)
--------------------------
Important release notes:
* bold is not used any more for basic colors (used only if terminal has less
than 16 colors), a new option has been added to force bold if needed:
'weechat.look.color_basic_force_bold'
* option 'weechat.look.hline_char' has been renamed to
'weechat.look.separator_horizontal'
Version 0.3.5 (2011-05-15)
--------------------------
Important release notes:
* if you have some colors defined in section "palette" with version 0.3.4, you
should remove all colors defined, and add new aliases (it's not needed any
more to add colors before using them)
* colors for nick prefixes (char for op, voice, ..) are defined in a single
option 'irc.color.nick_prefixes', therefore following options will be lost:
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'
* count of messages have been added to hotlist by default, if you want to come
back to old behaviour, do that:
** `/set weechat.look.hotlist_count_max 0`
** `/set weechat.look.hotlist_buffer_separator ","`
* when you are away, all buffers are now added to hotlist by default (even if
they are displayed in a window), if you want to come back to old behaviour, do
that:
** `/set weechat.look.hotlist_add_buffer_if_away off`
* new keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys
Version 0.3.4 (2011-01-16)
--------------------------
Important release notes:
* if you are using `/upgrade` from a previous release:
** some nick prefixes can be wrong, so it is recommended to do `/allchan names`
** nick colors are defined with a new option 'weechat.color.chat_nick_colors',
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
upgrading
** nick colors in messages displayed will be wrong if you changed some nick colors
(old default colors will be used)
* some IRC options have been renamed, before upgrading to this version, note
value for old options, and set them again with new name:
** options moved from 'network' section to servers (with global value, and server
value, like other server options):
*** 'irc.network.connection_timeout' moved to 'irc.server_default.connection_timeout'
*** 'irc.network.anti_flood_prio_high' moved to 'irc.server_default.anti_flood_prio_high'
*** 'irc.network.anti_flood_prio_low' moved to 'irc.server_default.anti_flood_prio_low'
*** 'irc.network.away_check' moved to 'irc.server_default.away_check'
*** 'irc.network.away_check_max_nicks' moved to 'irc.server_default.away_check_max_nicks'
*** 'irc.network.default_msg_part' moved to 'irc.server_default.default_msg_part'
*** 'irc.network.default_msg_quit' moved to 'irc.server_default.default_msg_quit'
** other IRC options renamed:
*** 'irc.look.open_channel_near_server' moved to 'irc.look.new_channel_position'
(old option was boolean, new is integer with value as string)
*** 'irc.look.open_pv_near_server' moved to 'irc.look.new_pv_position'
(old option was boolean, new is integer with value as string)
Version 0.3.3 (2010-08-07)
--------------------------
Important release notes:
* if you are using `/upgrade` from a previous release, then you must reconnect
to IRC servers in order to use new command /wallchops.
* option 'irc.network.lag_min_show' is now in milliseconds, you should set new
value: your current value multiplied by 1000 (new default value is 500).
Version 0.3.2 (2010-04-18)
--------------------------
If you are using `/upgrade` from a previous release, then you must execute this
command on all IRC servers/channels/private buffers and xfer DCC chats (not
needed on WeeChat core buffer or buffers from other plugins/scripts): +
`/buffer set highlight_words $nick`
Version 0.3.1.1 (2010-01-31)
----------------------------
This version fixes crashs with SSL connection and purge of old DCC chats.
All users of version 0.3.1 should upgrade to this version.
Version 0.3.1 (2010-01-23)
--------------------------
IRC commands /ame and /amsg are now aliases, if you are upgrading from version
0.3.0, you must create aliases with following commands: +
`/alias aaway allserv /away` +
`/alias ame allchan /me` +
`/alias amsg allchan /amsg *` +
`/alias anick allserv /nick`
Version 0.3.0 (2009-09-06)
--------------------------
This version brings major changes, especially for configuration files and plugin
API.
For more information about this version, please read file 'UPGRADE_0.3'.
Version 0.2.6.3 (2009-06-13)
----------------------------
This version fixes gnutls detection.
Version 0.2.6.2 (2009-04-18)
----------------------------
This version fixes a bug with charset decoding (like 'iso2022jp').
Version 0.2.6.1 (2009-03-14)
----------------------------
This version fixes a major bug: crash with some special chars in IRC messages.
Version 0.2.6 (2007-09-06)
--------------------------
No release note.
Version 0.2.5 (2007-06-07)
--------------------------
No release note.
Version 0.2.4 (2007-03-29)
--------------------------
No release note.
Version 0.2.3 (2007-01-10)
--------------------------
This version fixes several major bugs of version 0.2.2.
All users of version 0.2.2 should upgrade to this version.
Version 0.2.2 (2007-01-06)
--------------------------
Important release notes:
* new charset plugin:
** for users of any previous version, all your charset settings in weechat.rc
will be LOST! You should save your weechat.rc to keep your values and set
them again with new 'charset' plugin.
** for ISO users: history of channels may be without accents (after `/upgrade`),
this is not recoverable, but this is not a bug. All new messages should be
ok.
** be careful, now default encode is UTF-8 for all channels (before it was
terminal charset). If you still want to send messages as 'ISO-8859-1', you
should send either global encode or server specific encode to 'ISO-8859-1':
*** for global encode: `/setp charset.global.encode = "ISO-8859-1"`
*** for server encode (on server buffer): `/charset encode ISO-8859-1`
* new keys for topic scroll:
** new keys for scrolling topic: F9/F10
** key F10 was used for `infobar_clear` in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
*** `/key <press alt+"k" then F10> scroll_topic_right` (which gives something
like: `/key meta2-21~ scroll_topic_right`).
Version 0.2.1 (2006-10-01)
--------------------------
No release note.
Version 0.2.0 (2006-08-19)
--------------------------
Important release notes:
* if you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
`/reconnect` on each server, to display properly channel/user modes.
* if you're using plugins, you should remove some old plugins libraries in
WeeChat system library directory (commonly '/usr/local/lib/weechat/plugins'):
remove `lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new
libraries (`perl.*`, `python.*`, ..).
Version 0.1.9 (2006-05-25)
--------------------------
Important release notes:
* please close all DCC chat buffers before using /upgrade command, otherwise you
may experience problems with DCC chats.
* some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but not
used: server and args).
Version 0.1.8 (2006-03-18)
--------------------------
Important release notes:
* it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file ('~/.weechat/weechat.rc'):
** option: log_path: replace '~/.weechat/logs' by '%h/logs'
** option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins' +
'%h' is replaced by WeeChat home (default: '~/.weechat', may be overriden
by new command line arg `--dir`).
* after installing 0.1.8 (or with `/upgrade`), issue both commands (if you
didn't redefine these keys (alt+{home|end}):
** `/key unbind meta-meta2-1~`
** `/key unbind meta-meta2-4~`
** then launch again WeeChat (or issue `/upgrade`).
* Keys alt+{home|end} were used for nicklist scroll, they're now replaced by
alt+{F11|F12}.
Version 0.1.7 (2006-01-14)
--------------------------
Important release notes:
* Ruby script plugin has been added but is experimental in this release.
You're warned!
* `/away` command was changed to be RFC 2812 compliant. Now argument is required
to set away, and no argument means remove away ("back"). Option
'irc_default_msg_away' has been removed.
Version 0.1.6 (2005-11-11)
--------------------------
Important release notes:
* incompatibility with some old scripts: now all handlers have to return a code
for completion, and to do some actions about message to ignore (please look at
documentation for detail).
* on OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0'
since the plugins names are ending by '.so.0.0' and not '.so'.
* with new and full UTF-8 support, the option 'look_charset_internal' should be
set to blank for most cases. Forces it only if your locale is not properly
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example,
depending on your locale). WeeChat is looking for 'UTF-8' in your locale name
at startup.
Version 0.1.5 (2005-09-24)
--------------------------
No release note.
Version 0.1.4 (2005-07-30)
--------------------------
No release note.
Version 0.1.3 (2005-07-02)
--------------------------
No release note.
Version 0.1.2 (2005-05-21)
--------------------------
No release note.
Version 0.1.1 (2005-03-20)
--------------------------
No release note.
Version 0.1.0 (2005-02-12)
--------------------------
No release note.
Version 0.0.9 (2005-01-01)
--------------------------
No release note.
Version 0.0.8 (2004-10-30)
--------------------------
No release note.
Version 0.0.7 (2004-08-08)
--------------------------
No release note.
Version 0.0.6 (2004-06-05)
--------------------------
No release note.
Version 0.0.5 (2004-02-07)
--------------------------
No release note.
Version 0.0.4 (2004-01-01)
--------------------------
No release note.
Version 0.0.3 (2003-11-03)
--------------------------
No release note.
Version 0.0.2 (2003-10-05)
--------------------------
No release note.
Version 0.0.1 (2003-09-27)
--------------------------
No release note.
-40
View File
@@ -1,40 +0,0 @@
WeeChat Readme
==============
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
environment for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
Features
--------
* chat client with multi-protocols/servers connection
* small, fast and very light
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile)
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other)
* free software, released under GPLv3
Copyright
---------
Copyright (C) 2003-2012 Sébastien Helleu <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
WeeChat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
+63
View File
@@ -0,0 +1,63 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
pass:[<p align="center">] image:https://weechat.org/media/images/weechat_logo_large.png[align="center"] pass:[</p>]
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
image:https://img.shields.io/badge/mastodon-follow-blue.svg["Mastodon", link="https://hostux.social/@weechat"]
image:https://img.shields.io/badge/twitter-follow-blue.svg["Twitter", link="https://twitter.com/WeeChatClient"]
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="https://blog.weechat.org/"]
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="https://www.slant.co/topics/1323/~best-irc-clients-for-linux"]
image:https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg["Donate", link="https://weechat.org/donate/"]
image:https://github.com/weechat/weechat/workflows/CI/badge.svg["CI", link="https://github.com/weechat/weechat/actions"]
image:https://codecov.io/gh/weechat/weechat/branch/master/graph/badge.svg["Code coverage", link="https://codecov.io/gh/weechat/weechat"]
*WeeChat* (Wee Enhanced Environment for Chat) is a free chat client, fast and
light, designed for many operating systems.
It is highly customizable and extensible with scripts.
Homepage: https://weechat.org/
== Features
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/doc/user#plugins[plugins]. All plugins (including https://weechat.org/doc/user#irc[IRC]) are independent and can be unloaded.
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://tools.ietf.org/html/rfc1459[1459], https://tools.ietf.org/html/rfc2810[2810], https://tools.ietf.org/html/rfc2811[2811], https://tools.ietf.org/html/rfc2812[2812], and https://tools.ietf.org/html/rfc2813[2813].
* *Small, fast, and very light*: the core is and should stay as light and fast as possible.
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/language/perl/[Perl], https://weechat.org/scripts/language/python/[Python], https://weechat.org/scripts/language/ruby[Ruby], https://weechat.org/scripts/language/lua/[Lua], https://weechat.org/scripts/language/tcl/[Tcl], https://weechat.org/scripts/language/guile/[Scheme], https://weechat.org/scripts/language/javascript/[JavaScript] and https://weechat.org/scripts/language/php/[PHP]).
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/doc/dev#translations[translated] into several languages.
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
* *Free software*: WeeChat is released under https://www.gnu.org/licenses/gpl-3.0.html[GPLv3].
pass:[<p align="center">] image:https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"] pass:[</p>]
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
== Installation
WeeChat can be installed using your favorite package manager (recommended) or by compiling it yourself.
For detailed instructions, please check the https://weechat.org/doc/user#install[WeeChat user's guide].
== Copyright
Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
WeeChat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
+2715
View File
File diff suppressed because it is too large Load Diff
-83
View File
@@ -1,83 +0,0 @@
WeeChat Upgrade to 0.3.x
========================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.0, 2009-09-06
This document lists major changes introduced in version 0.3.0 and not compatible
with versions 0.2.x.
Upgrade to version 0.3.x
------------------------
It is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x.
You have to quit your old WeeChat, then run new version.
Of course, command `/upgrade` is working fine once you'll be with 0.3.x to
upgrade to another 0.3.x (unless this command is broken again, please look
at release notes (file 'NEWS') for version you're currently installing).
Configuration files
-------------------
Changes with previous versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New configuration files (`*.conf`) are not compatible with old files (`*.rc`).
Name of options is similar to old versions, but there is now one configuration
file by plugin, and one file for WeeChat core.
There is *no automatic conversion* for your old options to new configuration files,
so you'll have to setup again your IRC servers and all other options.
In WeeChat, option names are now with format: `plugin.section.option` (for
WeeChat core, `plugin` is `weechat`).
Examples:
* WeeChat options: `weechat.xxx.yyy`
* IRC options: `irc.xxx.yyy`
You should read quickstart guide to be familiar with basic commands and syntax
(some commands like `/server` have changed): http://www.weechat.org/doc
List of configuration files
~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Old configuration files:
** weechat.rc
** plugins.rc
* New configuration files are now (with default plugins):
** weechat.conf
** alias.conf
** aspell.conf
** charset.conf
** irc.conf
** jabber.conf
** logger.conf
** plugins.conf
** relay.conf
** xfer.conf
Plugin API
----------
Plugin API has been rewritten and is not compatible with previous versions.
Accordingly, scripts and plugins must have been designed for version 0.3.x to
be loaded into WeeChat.
There is no migration script today to convert old script to new API.
Therefore, if you plan to use old script, you'll have to wait for new version
or you can convert script yourself and send us new version ;)
You can download scripts for new API on plugins page:
http://www.weechat.org/plugins
More information about new API is available on wiki:
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
+14 -26
View File
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -17,13 +17,16 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
###
### common stuff
###
DIR=$(cd "$(dirname "$0")" || exit 1; pwd)
cd "$DIR" || exit 1
AUTOGEN_LOG=autogen.log
err ()
@@ -31,16 +34,15 @@ err ()
echo "-------"
echo "Error :"
echo "---8<-----------------------------------"
cat $AUTOGEN_LOG
cat "$AUTOGEN_LOG"
echo "----------------------------------->8---"
exit 1
}
run ()
{
echo -n "Running \"$@\"..."
eval $@ >$AUTOGEN_LOG 2>&1
if [ $? = 0 ] ; then
printf "Running \"%s\"..." "$@"
if eval "$@" >"$AUTOGEN_LOG" 2>&1 ; then
echo " OK"
else
echo " FAILED"
@@ -48,34 +50,20 @@ run ()
fi
}
###
### cleanning part
###
# remove autotools stuff
run "rm -rf config"
# remove autotools stuff
run "rm -f config.h.in"
run "rm -f aclocal.m4 configure config.log config.status"
run "rm -rf autom4te*.cache"
# remove libtool stuff
run "rm -f libtool"
# remove gettext stuff
run "rm -f ABOUT-NLS"
run "rm -rf intl"
###
### configuration part
###
# create the config directory
run "mkdir -p config/m4"
run "mkdir intl"
# execute autotools cmds
run "autopoint -f"
run "libtoolize --automake --force --copy"
run "aclocal --force -I config/m4"
run "autoheader"
run "autoconf"
run "automake --add-missing --copy --gnu"
# execute autoreconf cmds
run "autoreconf -vi"
# ending
rm -f $AUTOGEN_LOG
rm -f "$AUTOGEN_LOG"
-46
View File
@@ -1,46 +0,0 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Asciidoc
# This module finds if asciidoc (version 8 or newer) is installed.
IF (ASCIIDOC_FOUND)
# Already in cache, be silent
SET(ASCIIDOC_FIND_QUIETLY TRUE)
ENDIF (ASCIIDOC_FOUND)
FIND_PROGRAM(
ASCIIDOC_EXECUTABLE asciidoc
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ASCIIDOC_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${ASCIIDOC_EXECUTABLE} --version
OUTPUT_VARIABLE ASCIIDOC_VERSION
)
IF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
SET(ASCIIDOC_FOUND TRUE)
ENDIF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
MARK_AS_ADVANCED(
ASCIIDOC_EXECUTABLE
)
ENDIF(ASCIIDOC_EXECUTABLE)
+49
View File
@@ -0,0 +1,49 @@
#
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Asciidoctor
# This module finds if asciidoctor (version 1.5.4 or newer) is installed.
if(ASCIIDOCTOR_FOUND)
# Already in cache, be silent
set(ASCIIDOCTOR_FIND_QUIETLY TRUE)
endif()
find_program(
ASCIIDOCTOR_EXECUTABLE asciidoctor
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
if(ASCIIDOCTOR_EXECUTABLE)
execute_process(
COMMAND ${ASCIIDOCTOR_EXECUTABLE} --version
OUTPUT_VARIABLE ASCIIDOCTOR_VERSION
)
string(REGEX REPLACE "^Asciidoctor ([^ ]+) .*" "\\1" ASCIIDOCTOR_VERSION "${ASCIIDOCTOR_VERSION}")
if(ASCIIDOCTOR_VERSION VERSION_EQUAL "1.5.4" OR ASCIIDOCTOR_VERSION VERSION_GREATER "1.5.4")
set(ASCIIDOCTOR_FOUND TRUE)
endif()
mark_as_advanced(
ASCIIDOCTOR_EXECUTABLE
ASCIIDOCTOR_VERSION
)
endif()
+18 -11
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Aspell
@@ -26,26 +26,33 @@
# ASPELL_INCLUDE_PATH = path to where aspell.h can be found
# ASPELL_LIBRARY = path to where libaspell.so* can be found
IF (ASPELL_FOUND)
if(ASPELL_FOUND)
# Already in cache, be silent
SET(ASPELL_FIND_QUIETLY TRUE)
ENDIF (ASPELL_FOUND)
endif()
FIND_PATH(ASPELL_INCLUDE_PATH
find_path(ASPELL_INCLUDE_PATH
NAMES aspell.h
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(ASPELL_LIBRARY
find_library(ASPELL_LIBRARY
NAMES aspell aspell-15
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
SET(ASPELL_FOUND TRUE)
ENDIF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
if(ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
set(ASPELL_FOUND TRUE)
MARK_AS_ADVANCED(
# check if function aspell_version_string() exists
set(CMAKE_REQUIRED_INCLUDES ${ASPELL_INCLUDE_PATH})
set(CMAKE_REQUIRED_LIBRARIES ${ASPELL_LIBRARY})
check_symbol_exists(aspell_version_string "aspell.h" HAVE_ASPELL_VERSION_STRING)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
mark_as_advanced(
ASPELL_INCLUDE_PATH
ASPELL_LIBRARY
)
)
+37
View File
@@ -0,0 +1,37 @@
#
# Copyright (C) 2014-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find CppUTest
# This module finds if CppUTest is installed and determines where the include
# files and libraries are. It also determines what the name of the library is.
# This code sets the following variables:
#
# CPPUTEST_FOUND = CppUTest is installed
# CPPUTEST_INCLUDE_DIRS = CppUTest include directory
# CPPUTEST_LIBRARIES = Link options to compile with CppUTest
if(CPPUTEST_FOUND)
# Already in cache, be silent
set(CPPUTEST_FIND_QUIETLY TRUE)
endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(CPPUTEST cpputest)
endif()
+50
View File
@@ -0,0 +1,50 @@
# - Try to find the Enchant spell checker
# Once done this will define
#
# ENCHANT_FOUND - system has ENCHANT
# ENCHANT_INCLUDE_DIR - the ENCHANT include directory
# ENCHANT_LIBRARIES - Link these to use ENCHANT
# ENCHANT_DEFINITIONS - Compiler switches required for using ENCHANT
# Copyright (c) 2006, Zack Rusin, <zack@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
# in cache already
set(ENCHANT_FOUND TRUE)
else()
if(NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PC_ENCHANT enchant)
set(ENCHANT_DEFINITIONS ${PC_ENCHANT_CFLAGS_OTHER})
endif()
find_path(ENCHANT_INCLUDE_DIR
NAMES enchant++.h
HINTS ${PC_ENCHANT_INCLUDEDIR} ${PC_ENCHANT_INCLUDE_DIRS}
PATH_SUFFIXES enchant
)
find_library(ENCHANT_LIBRARIES
NAMES enchant
HINTS ${PC_ENCHANT_LIBDIR}
${PC_ENCHANT_LIBRARY_DIRS}
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ENCHANT DEFAULT_MSG ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES)
mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES)
# check if function enchant_get_version() exists
set(CMAKE_REQUIRED_INCLUDES ${ENCHANT_INCLUDE_DIR})
set(CMAKE_REQUIRED_LIBRARIES ${ENCHANT_LIBRARIES})
check_symbol_exists(enchant_get_version "enchant.h" HAVE_ENCHANT_GET_VERSION)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
+53
View File
@@ -0,0 +1,53 @@
#
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Gcrypt
# This module finds if libgcrypt is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
#
# GCRYPT_CFLAGS = cflags to use to compile
# GCRYPT_LDFLAGS = ldflags to use to compile
#
find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
set(GCRYPT_LDFLAGS)
set(GCRYPT_CFLAGS)
if(LIBGCRYPT_CONFIG_EXECUTABLE)
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --libs RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --cflags RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
if(NOT DEFINED ${GCRYPT_CFLAGS})
set(GCRYPT_CFLAGS " ")
endif()
endif()
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
# all listed variables are TRUE
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
if(GCRYPT_FOUND)
mark_as_advanced(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
endif()
-50
View File
@@ -1,50 +0,0 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Gcrypt
# This module finds if libgcrypt is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
#
# GCRYPT_CFLAGS = cflags to use to compile
# GCRYPT_LDFLAGS = ldflags to use to compile
#
FIND_PROGRAM(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
set(GCRYPT_LDFLAGS)
set(GCRYPT_CFLAGS)
IF(LIBGCRYPT_CONFIG_EXECUTABLE)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
IF(${GCRYPT_CFLAGS} MATCHES "\n")
SET(GCRYPT_CFLAGS " ")
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
IF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
SET(GCRYPT_FOUND TRUE)
ENDIF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
+32 -34
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Gettext
@@ -27,46 +27,44 @@
#
# GETTEXT_FOUND = is gettext usable on system?
IF(GETTEXT_FOUND)
# Already in cache, be silent
SET(GETTEXT_FIND_QUIETLY TRUE)
ENDIF(GETTEXT_FOUND)
if(GETTEXT_FOUND)
# Already in cache, be silent
set(GETTEXT_FIND_QUIETLY TRUE)
endif()
INCLUDE(CheckIncludeFiles)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckFunctionExists)
include(CheckIncludeFiles)
include(CheckLibraryExists)
include(CheckFunctionExists)
FIND_PATH(LIBINTL_INCLUDE
find_path(LIBINTL_INCLUDE
NAMES libintl.h
PATH /usr/local/include /usr/pkg/include /usr/include
)
SET(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
set(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
CHECK_INCLUDE_FILES(libintl.h HAVE_LIBINTL_H)
check_include_files(libintl.h HAVE_LIBINTL_H)
IF(HAVE_LIBINTL_H)
CHECK_FUNCTION_EXISTS(dgettext LIBC_HAS_DGETTEXT)
IF(LIBC_HAS_DGETTEXT)
SET(GETTEXT_FOUND TRUE)
ELSE(LIBC_HAS_DGETTEXT)
FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl
if(HAVE_LIBINTL_H)
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
if(LIBC_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
else()
find_library(LIBINTL_LIBRARY NAMES intl
PATHS
/usr/local/lib
/usr/lib
)
IF(LIBINTL_LIBRARY)
IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
IF(LIBINTL_HAS_DGETTEXT)
SET(GETTEXT_FOUND TRUE)
ENDIF(LIBINTL_HAS_DGETTEXT)
ENDIF(LIBINTL_LIBRARY)
ENDIF(LIBC_HAS_DGETTEXT)
ENDIF(HAVE_LIBINTL_H)
)
if(LIBINTL_LIBRARY)
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
set(CMAKE_REQUIRED_LIBRARIES "iconv")
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
else()
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
endif()
if(LIBINTL_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
endif()
endif()
endif()
endif()
+23 -23
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find GnuTLS
@@ -29,45 +29,45 @@
# GNUTLS_CFLAGS = cflags to use to compile
# GNUTLS_LDFLAGS = ldflags to use to compile
IF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
# Already in cache, be silent
set(GNUTLS_FIND_QUIETLY TRUE)
ENDIF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
# Already in cache, be silent
set(GNUTLS_FIND_QUIETLY TRUE)
endif()
FIND_PROGRAM(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
OUTPUT_VARIABLE GNUTLS_PREFIX
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
OUTPUT_VARIABLE GNUTLS_PREFIX
)
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
OUTPUT_VARIABLE GNUTLS_CFLAGS
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
OUTPUT_VARIABLE GNUTLS_CFLAGS
)
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_FLAGS}")
string(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_CFLAGS}")
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
OUTPUT_VARIABLE GNUTLS_LDFLAGS
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
OUTPUT_VARIABLE GNUTLS_LDFLAGS
)
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
string(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
SET(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
SET(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
set(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
set(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
FIND_PATH(GNUTLS_INCLUDE_PATH
find_path(GNUTLS_INCLUDE_PATH
NAMES gnutls/gnutls.h
PATHS GNUTLS_POSSIBLE_INCLUDE_PATH
)
FIND_LIBRARY(GNUTLS_LIBRARY
find_library(GNUTLS_LIBRARY
NAMES gnutls
PATHS GNUTLS_POSSIBLE_LIB_DIR
)
IF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
SET(GNUTLS_FOUND TRUE)
ENDIF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
if(NOT GNUTLS_INCLUDE_PATH OR NOT GNUTLS_LIBRARY)
message(FATAL_ERROR "GnuTLS was not found")
endif()
MARK_AS_ADVANCED(
mark_as_advanced(
GNUTLS_INCLUDE_PATH
GNUTLS_LIBRARY
GNUTLS_CFLAGS
+18 -24
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Guile
@@ -26,26 +26,20 @@
# GUILE_INCLUDE_DIRS = Guile include directory
# GUILE_LIBRARIES = Link options to compile Guile
IF(GUILE_FOUND)
# Already in cache, be silent
SET(GUILE_FIND_QUIETLY TRUE)
ENDIF(GUILE_FOUND)
if(GUILE_FOUND)
# Already in cache, be silent
set(GUILE_FIND_QUIETLY TRUE)
endif()
FIND_PATH(GUILE_INCLUDE_DIR libguile.h /usr/include /usr/local/include /usr/include/libguile /usr/local/include/libguile)
FIND_LIBRARY(GUILE_LIBRARY NAMES guile PATH /usr/lib /usr/local/lib)
IF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
SET(GUILE_FOUND TRUE)
SET(GUILE_INCLUDE_DIRS ${GUILE_INCLUDE_DIR})
SET(GUILE_LIBRARIES ${GUILE_LIBRARY})
ELSE(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
SET(GUILE_FOUND FALSE)
SET(GUILE_INCLUDE_DIRS)
SET(GUILE_LIBRARIES)
ENDIF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
MARK_AS_ADVANCED(
GUILE_INCLUDE_DIR
GUILE_LIBRARY
)
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(GUILE guile-3.0 guile-2.2 guile-2.0)
if(GUILE_FOUND)
# check if variable "scm_install_gmp_memory_functions" exists
set(CMAKE_REQUIRED_INCLUDES ${GUILE_INCLUDE_DIRS})
set(CMAKE_REQUIRED_LIBRARIES ${GUILE_LDFLAGS})
check_symbol_exists(scm_install_gmp_memory_functions "libguile.h" HAVE_GUILE_GMP_MEMORY_FUNCTIONS)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
endif()
+28 -27
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Iconv
@@ -28,44 +28,44 @@
#
# ICONV_FOUND = is iconv usable on system?
IF(ICONV_FOUND)
# Already in cache, be silent
set(ICONV_FIND_QUIETLY TRUE)
ENDIF(ICONV_FOUND)
if(ICONV_FOUND)
# Already in cache, be silent
set(ICONV_FIND_QUIETLY TRUE)
endif()
INCLUDE(CheckLibraryExists)
INCLUDE(CheckFunctionExists)
include(CheckLibraryExists)
include(CheckFunctionExists)
FIND_PATH(ICONV_INCLUDE_PATH
find_path(ICONV_INCLUDE_PATH
NAMES iconv.h
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(ICONV_LIBRARY
find_library(ICONV_LIBRARY
NAMES iconv
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF(ICONV_INCLUDE_PATH)
IF(ICONV_LIBRARY)
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
IF(NOT ICONV_FOUND)
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
ENDIF(NOT ICONV_FOUND)
ELSE(ICONV_LIBRARY)
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
ENDIF(ICONV_LIBRARY)
ENDIF(ICONV_INCLUDE_PATH)
if(ICONV_INCLUDE_PATH)
if(ICONV_LIBRARY)
check_library_exists("${ICONV_LIBRARY}" libiconv_open "" LIBICONV_OPEN_FOUND)
check_library_exists("${ICONV_LIBRARY}" iconv_open "" ICONV_OPEN_FOUND)
if(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
set(ICONV_FOUND TRUE)
endif()
else()
check_function_exists(iconv_open ICONV_FOUND)
endif()
endif()
include(CheckCSourceCompiles)
IF(ICONV_LIBRARY)
SET(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
SET(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
ENDIF(ICONV_LIBRARY)
if(ICONV_LIBRARY)
set(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
set(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
endif()
SET(CMAKE_REQUIRED_FLAGS -Werror)
set(CMAKE_REQUIRED_FLAGS -Werror)
check_c_source_compiles("
#include <iconv.h>
int main(){
@@ -78,7 +78,8 @@ check_c_source_compiles("
return 0;
}
" ICONV_2ARG_IS_CONST)
MARK_AS_ADVANCED(
mark_as_advanced(
ICONV_INCLUDE_PATH
ICONV_LIBRARY
ICONV_FOUND
+10 -58
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Lua
@@ -28,60 +28,12 @@
#
# LUA_FOUND = is liblua usable on system?
IF(LUA_FOUND)
# Already in cache, be silent
SET(LUA_FIND_QUIETLY TRUE)
ENDIF(LUA_FOUND)
if(LUA_FOUND)
# Already in cache, be silent
set(LUA_FIND_QUIETLY TRUE)
endif()
FIND_PATH(
LUA51_INCLUDE_PATH lua.h
PATHS /usr/include /usr/local/include /usr/pkg/include
PATH_SUFFIXES lua51 lua5.1 lua-5.1
)
FIND_LIBRARY(
LUA51_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua51 lua5.1 lua-5.1
)
IF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
SET(LUA_INCLUDE_PATH "${LUA51_INCLUDE_PATH}")
SET(LUA_LIBRARY "${LUA51_LIBRARY}")
SET(LUA_VERSION "5.1")
SET(LUA_FOUND TRUE)
ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
FIND_PATH(
LUA50_INCLUDE_PATH lua.h
PATHS /usr/include /usr/local/include /usr/pkg/include
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
FIND_LIBRARY(
LUA50_LIBRARY NAMES lua50 lua5.0 lua-5.0 lua
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
FIND_LIBRARY(
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
IF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
SET(LUA_INCLUDE_PATH "${LUA50_INCLUDE_PATH}")
SET(LUA_LIBRARY "${LUA50_LIBRARY}")
SET(LUALIB_LIBRARY "${LUALIB50_LIBRARY}")
SET(LUA_VERSION "5.0")
SET(LUA_FOUND TRUE)
ENDIF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
ENDIF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
MARK_AS_ADVANCED(
LUA_INCLUDE_PATH
LUA_LIBRARY
LUALIB_LIBRARY
# LUA_VERSION
)
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(LUA lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
endif()
+31 -22
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,44 +14,53 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
IF(NCURSES_FOUND)
SET(NCURSES_FIND_QUIETLY TRUE)
ENDIF(NCURSES_FOUND)
if(NCURSES_FOUND)
set(NCURSES_FIND_QUIETLY TRUE)
endif()
FIND_PATH(NCURSES_INCLUDE_PATH
find_path(NCURSES_INCLUDE_PATH
NAMES ncurses.h curses.h
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
PATH_SUFFIXES ncursesw ncurses
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(NCURSESW_LIBRARY
find_library(NCURSESW_LIBRARY
NAMES ncursesw
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSESW_LIBRARY)
SET(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
ELSE(NCURSESW_LIBRARY)
FIND_LIBRARY(NCURSES_LIBRARY
if(NCURSESW_LIBRARY)
find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND)
pkg_search_module(NCURSES ncursesw)
set(NCURSESW_LIBRARY ${NCURSES_LIBRARIES} ${NCURSES_CFLAGS_OTHER})
endif()
set(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
else()
find_library(NCURSES_LIBRARY
NAMES ncurses
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSES_LIBRARY)
MESSAGE("*** WARNING:\n"
find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND)
pkg_search_module(NCURSES ncurses)
set(NCURSES_LIBRARY ${NCURSES_LIBRARIES} ${NCURSES_CFLAGS_OTHER})
endif()
if(NCURSES_LIBRARY)
message("*** WARNING:\n"
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
"*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.")
ENDIF(NCURSES_LIBRARY)
ENDIF(NCURSESW_LIBRARY)
endif()
endif()
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
SET(NCURSES_FOUND TRUE)
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
if(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
set(NCURSES_FOUND TRUE)
endif()
MARK_AS_ADVANCED(
mark_as_advanced(
NCURSES_INCLUDE_PATH
NCURSES_LIBRARY
)
+70
View File
@@ -0,0 +1,70 @@
#
# Copyright (C) 2017 Adam Saponara <as@php.net>
# Copyright (C) 2017-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
if(PHP_FOUND)
set(PHP_FIND_QUIETLY TRUE)
endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(PHP php8 php7)
endif()
if(NOT PHP_FOUND)
find_program(PHP_CONFIG_EXECUTABLE NAMES
php-config8.1 php-config81
php-config8.0 php-config80
php-config8
php-config7.4 php-config74
php-config7.3 php-config73
php-config7.2 php-config72
php-config7.1 php-config71
php-config7.0 php-config70
php-config7
php-config
)
if (PHP_CONFIG_EXECUTABLE)
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --prefix OUTPUT_VARIABLE PHP_LIB_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --includes OUTPUT_VARIABLE PHP_INCLUDE_DIRS OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --libs OUTPUT_VARIABLE PHP_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
if(${PHP_VERSION} MATCHES "^[78]")
find_library(PHP_LIB
NAMES php8.1 php8.0 php8 php7.4 php7.3 php7.2 php7.1 php7.0 php7 php
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
)
if(PHP_LIB)
get_filename_component(PHP_LIB_DIR ${PHP_LIB} DIRECTORY)
string(REPLACE "-I" "" PHP_INCLUDE_DIRS ${PHP_INCLUDE_DIRS})
SEPARATE_ARGUMENTS(PHP_INCLUDE_DIRS)
set(PHP_LDFLAGS "-L${PHP_LIB_DIR} ${PHP_LIBS}")
set(PHP_FOUND 1)
endif()
endif()
endif()
endif()
if(NOT PHP_FOUND)
message(WARNING "Could not find libphp. "
"Ensure PHP >=7.0.0 development libraries are installed and compiled with `--enable-embed`. "
"Ensure `php-config` is in `PATH`. "
"You may set `-DCMAKE_LIBRARY_PATH=...` to the directory containing libphp."
)
endif()
-260
View File
@@ -1,260 +0,0 @@
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> ... )
#
# This function is intended to be used in FindXXX.cmake modules files.
# It handles the REQUIRED, QUIET and version-related arguments to FIND_PACKAGE().
# It also sets the <UPPERCASED_NAME>_FOUND variable.
# The package is considered found if all variables <var1>... listed contain
# valid results, e.g. valid filepaths.
#
# There are two modes of this function. The first argument in both modes is
# the name of the Find-module where it is called (in original casing).
#
# The first simple mode looks like this:
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> (DEFAULT_MSG|"Custom failure message") <var1>...<varN> )
# If the variables <var1> to <varN> are all valid, then <UPPERCASED_NAME>_FOUND
# will be set to TRUE.
# If DEFAULT_MSG is given as second argument, then the function will generate
# itself useful success and error messages. You can also supply a custom error message
# for the failure case. This is not recommended.
#
# The second mode is more powerful and also supports version checking:
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME [REQUIRED_VARS <var1>...<varN>]
# [VERSION_VAR <versionvar>
# [CONFIG_MODE]
# [FAIL_MESSAGE "Custom failure message"] )
#
# As above, if <var1> through <varN> are all valid, <UPPERCASED_NAME>_FOUND
# will be set to TRUE.
# After REQUIRED_VARS the variables which are required for this package are listed.
# Following VERSION_VAR the name of the variable can be specified which holds
# the version of the package which has been found. If this is done, this version
# will be checked against the (potentially) specified required version used
# in the find_package() call. The EXACT keyword is also handled. The default
# messages include information about the required version and the version
# which has been actually found, both if the version is ok or not.
# Use the option CONFIG_MODE if your FindXXX.cmake module is a wrapper for
# a find_package(... NO_MODULE) call, in this case all the information
# provided by the config-mode of find_package() will be evaluated
# automatically.
# Via FAIL_MESSAGE a custom failure message can be specified, if this is not
# used, the default message will be displayed.
#
# Example for mode 1:
#
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 DEFAULT_MSG LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
#
# LibXml2 is considered to be found, if both LIBXML2_LIBRARY and
# LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE.
# If it is not found and REQUIRED was used, it fails with FATAL_ERROR,
# independent whether QUIET was used or not.
# If it is found, success will be reported, including the content of <var1>.
# On repeated Cmake runs, the same message won't be printed again.
#
# Example for mode 2:
#
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(BISON REQUIRED_VARS BISON_EXECUTABLE
# VERSION_VAR BISON_VERSION)
# In this case, BISON is considered to be found if the variable(s) listed
# after REQUIRED_VAR are all valid, i.e. BISON_EXECUTABLE in this case.
# Also the version of BISON will be checked by using the version contained
# in BISON_VERSION.
# Since no FAIL_MESSAGE is given, the default messages will be printed.
#
# Another example for mode 2:
#
# FIND_PACKAGE(Automoc4 QUIET NO_MODULE HINTS /opt/automoc4)
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(Automoc4 CONFIG_MODE)
# In this case, FindAutmoc4.cmake wraps a call to FIND_PACKAGE(Automoc4 NO_MODULE)
# and adds an additional search directory for automoc4.
# The following FIND_PACKAGE_HANDLE_STANDARD_ARGS() call produces a proper
# success/error message.
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
INCLUDE(FindPackageMessage)
INCLUDE(CMakeParseArguments)
# internal helper macro
MACRO(_FPHSA_FAILURE_MESSAGE _msg)
IF (${_NAME}_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "${_msg}")
ELSE (${_NAME}_FIND_REQUIRED)
IF (NOT ${_NAME}_FIND_QUIETLY)
MESSAGE(STATUS "${_msg}")
ENDIF (NOT ${_NAME}_FIND_QUIETLY)
ENDIF (${_NAME}_FIND_REQUIRED)
ENDMACRO(_FPHSA_FAILURE_MESSAGE _msg)
# internal helper macro to generate the failure message when used in CONFIG_MODE:
MACRO(_FPHSA_HANDLE_FAILURE_CONFIG_MODE)
# <name>_CONFIG is set, but FOUND is false, this means that some other of the REQUIRED_VARS was not found:
IF(${_NAME}_CONFIG)
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: missing: ${MISSING_VARS} (found ${${_NAME}_CONFIG} ${VERSION_MSG})")
ELSE(${_NAME}_CONFIG)
# If _CONSIDERED_CONFIGS is set, the config-file has been found, but no suitable version.
# List them all in the error message:
IF(${_NAME}_CONSIDERED_CONFIGS)
SET(configsText "")
LIST(LENGTH ${_NAME}_CONSIDERED_CONFIGS configsCount)
MATH(EXPR configsCount "${configsCount} - 1")
FOREACH(currentConfigIndex RANGE ${configsCount})
LIST(GET ${_NAME}_CONSIDERED_CONFIGS ${currentConfigIndex} filename)
LIST(GET ${_NAME}_CONSIDERED_VERSIONS ${currentConfigIndex} version)
SET(configsText "${configsText} ${filename} (version ${version})\n")
ENDFOREACH(currentConfigIndex)
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} ${VERSION_MSG}, checked the following files:\n${configsText}")
ELSE(${_NAME}_CONSIDERED_CONFIGS)
# Simple case: No Config-file was found at all:
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: found neither ${_NAME}Config.cmake nor ${_NAME_LOWER}-config.cmake ${VERSION_MSG}")
ENDIF(${_NAME}_CONSIDERED_CONFIGS)
ENDIF(${_NAME}_CONFIG)
ENDMACRO(_FPHSA_HANDLE_FAILURE_CONFIG_MODE)
FUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FIRST_ARG)
# set up the arguments for CMAKE_PARSE_ARGUMENTS and check whether we are in
# new extended or in the "old" mode:
SET(options CONFIG_MODE)
SET(oneValueArgs FAIL_MESSAGE VERSION_VAR)
SET(multiValueArgs REQUIRED_VARS)
SET(_KEYWORDS_FOR_EXTENDED_MODE ${options} ${oneValueArgs} ${multiValueArgs} )
LIST(FIND _KEYWORDS_FOR_EXTENDED_MODE "${_FIRST_ARG}" INDEX)
IF(${INDEX} EQUAL -1)
SET(FPHSA_FAIL_MESSAGE ${_FIRST_ARG})
SET(FPHSA_REQUIRED_VARS ${ARGN})
SET(FPHSA_VERSION_VAR)
ELSE(${INDEX} EQUAL -1)
CMAKE_PARSE_ARGUMENTS(FPHSA "${options}" "${oneValueArgs}" "${multiValueArgs}" ${_FIRST_ARG} ${ARGN})
IF(FPHSA_UNPARSED_ARGUMENTS)
MESSAGE(FATAL_ERROR "Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS(): \"${FPHSA_UNPARSED_ARGUMENTS}\"")
ENDIF(FPHSA_UNPARSED_ARGUMENTS)
IF(NOT FPHSA_FAIL_MESSAGE)
SET(FPHSA_FAIL_MESSAGE "DEFAULT_MSG")
ENDIF(NOT FPHSA_FAIL_MESSAGE)
ENDIF(${INDEX} EQUAL -1)
# now that we collected all arguments, process them
IF("${FPHSA_FAIL_MESSAGE}" STREQUAL "DEFAULT_MSG")
SET(FPHSA_FAIL_MESSAGE "Could NOT find ${_NAME}")
ENDIF("${FPHSA_FAIL_MESSAGE}" STREQUAL "DEFAULT_MSG")
# In config-mode, we rely on the variable <package>_CONFIG, which is set by find_package()
# when it successfully found the config-file, including version checking:
IF(FPHSA_CONFIG_MODE)
LIST(INSERT FPHSA_REQUIRED_VARS 0 ${_NAME}_CONFIG)
LIST(REMOVE_DUPLICATES FPHSA_REQUIRED_VARS)
SET(FPHSA_VERSION_VAR ${_NAME}_VERSION)
ENDIF(FPHSA_CONFIG_MODE)
IF(NOT FPHSA_REQUIRED_VARS)
MESSAGE(FATAL_ERROR "No REQUIRED_VARS specified for FIND_PACKAGE_HANDLE_STANDARD_ARGS()")
ENDIF(NOT FPHSA_REQUIRED_VARS)
LIST(GET FPHSA_REQUIRED_VARS 0 _FIRST_REQUIRED_VAR)
STRING(TOUPPER ${_NAME} _NAME_UPPER)
STRING(TOLOWER ${_NAME} _NAME_LOWER)
# collect all variables which were not found, so they can be printed, so the
# user knows better what went wrong (#6375)
SET(MISSING_VARS "")
SET(DETAILS "")
SET(${_NAME_UPPER}_FOUND TRUE)
# check if all passed variables are valid
FOREACH(_CURRENT_VAR ${FPHSA_REQUIRED_VARS})
IF(NOT ${_CURRENT_VAR})
SET(${_NAME_UPPER}_FOUND FALSE)
SET(MISSING_VARS "${MISSING_VARS} ${_CURRENT_VAR}")
ELSE(NOT ${_CURRENT_VAR})
SET(DETAILS "${DETAILS}[${${_CURRENT_VAR}}]")
ENDIF(NOT ${_CURRENT_VAR})
ENDFOREACH(_CURRENT_VAR)
# version handling:
SET(VERSION_MSG "")
SET(VERSION_OK TRUE)
SET(VERSION ${${FPHSA_VERSION_VAR}} )
IF (${_NAME}_FIND_VERSION)
IF(VERSION)
IF(${_NAME}_FIND_VERSION_EXACT) # exact version required
IF (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
SET(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is exact version \"${${_NAME}_FIND_VERSION}\"")
SET(VERSION_OK FALSE)
ELSE (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
SET(VERSION_MSG "(found suitable exact version \"${VERSION}\")")
ENDIF (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
ELSE(${_NAME}_FIND_VERSION_EXACT) # minimum version specified:
IF ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
SET(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is at least \"${${_NAME}_FIND_VERSION}\"")
SET(VERSION_OK FALSE)
ELSE ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
SET(VERSION_MSG "(found suitable version \"${VERSION}\", required is \"${${_NAME}_FIND_VERSION}\")")
ENDIF ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
ENDIF(${_NAME}_FIND_VERSION_EXACT)
ELSE(VERSION)
# if the package was not found, but a version was given, add that to the output:
IF(${_NAME}_FIND_VERSION_EXACT)
SET(VERSION_MSG "(Required is exact version \"${${_NAME}_FIND_VERSION}\")")
ELSE(${_NAME}_FIND_VERSION_EXACT)
SET(VERSION_MSG "(Required is at least version \"${${_NAME}_FIND_VERSION}\")")
ENDIF(${_NAME}_FIND_VERSION_EXACT)
ENDIF(VERSION)
ELSE (${_NAME}_FIND_VERSION)
IF(VERSION)
SET(VERSION_MSG "(found version \"${VERSION}\")")
ENDIF(VERSION)
ENDIF (${_NAME}_FIND_VERSION)
IF(VERSION_OK)
SET(DETAILS "${DETAILS}[v${VERSION}(${${_NAME}_FIND_VERSION})]")
ELSE(VERSION_OK)
SET(${_NAME_UPPER}_FOUND FALSE)
ENDIF(VERSION_OK)
# print the result:
IF (${_NAME_UPPER}_FOUND)
FIND_PACKAGE_MESSAGE(${_NAME} "Found ${_NAME}: ${${_FIRST_REQUIRED_VAR}} ${VERSION_MSG}" "${DETAILS}")
ELSE (${_NAME_UPPER}_FOUND)
IF(FPHSA_CONFIG_MODE)
_FPHSA_HANDLE_FAILURE_CONFIG_MODE()
ELSE(FPHSA_CONFIG_MODE)
IF(NOT VERSION_OK)
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: ${VERSION_MSG} (found ${${_FIRST_REQUIRED_VAR}})")
ELSE(NOT VERSION_OK)
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} (missing: ${MISSING_VARS}) ${VERSION_MSG}")
ENDIF(NOT VERSION_OK)
ENDIF(FPHSA_CONFIG_MODE)
ENDIF (${_NAME_UPPER}_FOUND)
SET(${_NAME_UPPER}_FOUND ${${_NAME_UPPER}_FOUND} PARENT_SCOPE)
ENDFUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _FIRST_ARG)
+28 -29
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Perl libraries
@@ -28,58 +28,57 @@
# PERL_CFLAGS = perl compiler options for compiling
# PERL_LFLAGS = perl compiler options for linking
IF(PERL_FOUND)
# Already in cache, be silent
SET(PERL_FIND_QUIETLY TRUE)
ENDIF(PERL_FOUND)
if(PERL_FOUND)
# Already in cache, be silent
set(PERL_FIND_QUIETLY TRUE)
endif()
FIND_PROGRAM(PERL_EXECUTABLE
find_program(PERL_EXECUTABLE
NAMES perl perl5
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
)
IF(PERL_EXECUTABLE)
if(PERL_EXECUTABLE)
EXECUTE_PROCESS(
execute_process(
COMMAND ${PERL_EXECUTABLE} -MConfig -e "print \"\$Config{archlibexp}/CORE\""
OUTPUT_VARIABLE PERL_INTERNAL_DIR
)
)
EXECUTE_PROCESS(
execute_process(
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ccopts
OUTPUT_VARIABLE PERL_CFLAGS
)
)
EXECUTE_PROCESS(
execute_process(
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ldopts
OUTPUT_VARIABLE PERL_LFLAGS
)
)
# remove the new lines from the output by replacing them with empty strings
STRING(REPLACE "\n" "" PERL_INTERNAL_DIR "${PERL_INTERNAL_DIR}")
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
string(REPLACE "\n" "" PERL_INTERNAL_DIR "${PERL_INTERNAL_DIR}")
string(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
string(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
FIND_PATH(PERL_INCLUDE_PATH
find_path(PERL_INCLUDE_PATH
NAMES perl.h
PATHS ${PERL_INTERNAL_DIR}
)
)
FIND_LIBRARY(PERL_LIBRARY
find_library(PERL_LIBRARY
NAMES perl
PATHS /usr/lib /usr/local/lib /usr/pkg/lib ${PERL_INTERNAL_DIR}
)
)
IF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
SET(PERL_FOUND TRUE)
ENDIF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
if(PERL_LIBRARY AND PERL_INCLUDE_PATH)
set(PERL_FOUND TRUE)
endif()
MARK_AS_ADVANCED(
mark_as_advanced(
PERL_EXECUTABLE
PERL_INCLUDE_PATH
PERL_LIBRARY
PERL_CFLAGS
PERL_LFLAGS
)
ENDIF(PERL_EXECUTABLE)
)
endif()
+597 -185
View File
@@ -1,117 +1,60 @@
# - a pkg-config module for CMake
#
# Usage:
# pkg_check_modules(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
# checks for all the given modules
#
# pkg_search_module(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
# checks for given modules and uses the first working one
#
# When the 'REQUIRED' argument was set, macros will fail with an error
# when module(s) could not be found
#
# It sets the following variables:
# PKG_CONFIG_FOUND ... true iff pkg-config works on the system
# PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program
# <PREFIX>_FOUND ... set to 1 iff module(s) exist
#
# For the following variables two sets of values exist; first one is the
# common one and has the given PREFIX. The second set contains flags
# which are given out when pkgconfig was called with the '--static'
# option.
# <XPREFIX>_LIBRARIES ... only the libraries (w/o the '-l')
# <XPREFIX>_LIBRARY_DIRS ... the paths of the libraries (w/o the '-L')
# <XPREFIX>_LDFLAGS ... all required linker flags
# <XPREFIX>_LDFLAGS_OTHER ... all other linker flags
# <XPREFIX>_INCLUDE_DIRS ... the '-I' preprocessor flags (w/o the '-I')
# <XPREFIX>_CFLAGS ... all required cflags
# <XPREFIX>_CFLAGS_OTHER ... the other compiler flags
#
# <XPREFIX> = <PREFIX> for common case
# <XPREFIX> = <PREFIX>_STATIC for static linking
#
# There are some special variables whose prefix depends on the count
# of given modules. When there is only one module, <PREFIX> stays
# unchanged. When there are multiple modules, the prefix will be
# changed to <PREFIX>_<MODNAME>:
# <XPREFIX>_VERSION ... version of the module
# <XPREFIX>_PREFIX ... prefix-directory of the module
# <XPREFIX>_INCLUDEDIR ... include-dir of the module
# <XPREFIX>_LIBDIR ... lib-dir of the module
#
# <XPREFIX> = <PREFIX> when |MODULES| == 1, else
# <XPREFIX> = <PREFIX>_<MODNAME>
#
# A <MODULE> parameter can have the following formats:
# {MODNAME} ... matches any version
# {MODNAME}>={VERSION} ... at least version <VERSION> is required
# {MODNAME}={VERSION} ... exactly version <VERSION> is required
# {MODNAME}<={VERSION} ... modules must not be newer than <VERSION>
#
# Examples
# pkg_check_modules (GLIB2 glib-2.0)
#
# pkg_check_modules (GLIB2 glib-2.0>=2.10)
# requires at least version 2.10 of glib2 and defines e.g.
# GLIB2_VERSION=2.10.3
#
# pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0)
# requires both glib2 and gtk2, and defines e.g.
# FOO_glib-2.0_VERSION=2.10.3
# FOO_gtk+-2.0_VERSION=2.8.20
#
# pkg_check_modules (XRENDER REQUIRED xrender)
# defines e.g.:
# XRENDER_LIBRARIES=Xrender;X11
# XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
#
# pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2)
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#[========================================[.rst:
FindPkgConfig
-------------
# Copyright (C) 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
#
# Redistribution and use, with or without modification, are permitted
# provided that the following conditions are met:
#
# 1. Redistributions must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# 2. The name of the author may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
A ``pkg-config`` module for CMake.
Finds the ``pkg-config`` executable and adds the :command:`pkg_get_variable`,
:command:`pkg_check_modules` and :command:`pkg_search_module` commands. The
following variables will also be set:
``PKG_CONFIG_FOUND``
if pkg-config executable was found
``PKG_CONFIG_EXECUTABLE``
pathname of the pkg-config program
``PKG_CONFIG_VERSION_STRING``
version of pkg-config (since CMake 2.8.8)
#]========================================]
### Common stuff ####
set(PKG_CONFIG_VERSION 1)
set(PKG_CONFIG_FOUND 0)
# find pkg-config, use PKG_CONFIG if set
if((NOT PKG_CONFIG_EXECUTABLE) AND (NOT "$ENV{PKG_CONFIG}" STREQUAL ""))
set(PKG_CONFIG_EXECUTABLE "$ENV{PKG_CONFIG}" CACHE FILEPATH "pkg-config executable")
endif()
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC "pkg-config executable")
mark_as_advanced(PKG_CONFIG_EXECUTABLE)
if(PKG_CONFIG_EXECUTABLE)
set(PKG_CONFIG_FOUND 1)
endif(PKG_CONFIG_EXECUTABLE)
if (PKG_CONFIG_EXECUTABLE)
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --version
OUTPUT_VARIABLE PKG_CONFIG_VERSION_STRING
ERROR_QUIET
OUTPUT_STRIP_TRAILING_WHITESPACE)
endif ()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PkgConfig
REQUIRED_VARS PKG_CONFIG_EXECUTABLE
VERSION_VAR PKG_CONFIG_VERSION_STRING)
# This is needed because the module name is "PkgConfig" but the name of
# this variable has always been PKG_CONFIG_FOUND so this isn't automatically
# handled by FPHSA.
set(PKG_CONFIG_FOUND "${PKGCONFIG_FOUND}")
# Unsets the given variables
macro(_pkgconfig_unset var)
set(${var} "" CACHE INTERNAL "")
endmacro(_pkgconfig_unset)
endmacro()
macro(_pkgconfig_set var value)
set(${var} ${value} CACHE INTERNAL "")
endmacro(_pkgconfig_set)
endmacro()
# Invokes pkgconfig, cleans up the result and sets variables
macro(_pkgconfig_invoke _pkglist _prefix _varname _regexp)
@@ -120,55 +63,311 @@ macro(_pkgconfig_invoke _pkglist _prefix _varname _regexp)
execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE} ${ARGN} ${_pkglist}
OUTPUT_VARIABLE _pkgconfig_invoke_result
RESULT_VARIABLE _pkgconfig_failed)
RESULT_VARIABLE _pkgconfig_failed
OUTPUT_STRIP_TRAILING_WHITESPACE)
if (_pkgconfig_failed)
set(_pkgconfig_${_varname} "")
_pkgconfig_unset(${_prefix}_${_varname})
else(_pkgconfig_failed)
string(REGEX REPLACE "[\r\n]" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
string(REGEX REPLACE " +$" "" _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
else()
string(REGEX REPLACE "[\r\n]" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
if (NOT ${_regexp} STREQUAL "")
string(REGEX REPLACE "${_regexp}" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
endif(NOT ${_regexp} STREQUAL "")
endif()
separate_arguments(_pkgconfig_invoke_result)
#message(STATUS " ${_varname} ... ${_pkgconfig_invoke_result}")
set(_pkgconfig_${_varname} ${_pkgconfig_invoke_result})
_pkgconfig_set(${_prefix}_${_varname} "${_pkgconfig_invoke_result}")
endif(_pkgconfig_failed)
endmacro(_pkgconfig_invoke)
endif()
endmacro()
# Internal version of pkg_get_variable; expects PKG_CONFIG_PATH to already be set
function (_pkg_get_variable result pkg variable)
_pkgconfig_invoke("${pkg}" "prefix" "result" "" "--variable=${variable}")
set("${result}"
"${prefix_result}"
PARENT_SCOPE)
endfunction ()
# Invokes pkgconfig two times; once without '--static' and once with
# '--static'
macro(_pkgconfig_invoke_dyn _pkglist _prefix _varname cleanup_regexp)
_pkgconfig_invoke("${_pkglist}" ${_prefix} ${_varname} "${cleanup_regexp}" ${ARGN})
_pkgconfig_invoke("${_pkglist}" ${_prefix} STATIC_${_varname} "${cleanup_regexp}" --static ${ARGN})
endmacro(_pkgconfig_invoke_dyn)
endmacro()
# Splits given arguments into options and a package list
macro(_pkgconfig_parse_options _result _is_req)
macro(_pkgconfig_parse_options _result _is_req _is_silent _no_cmake_path _no_cmake_environment_path _imp_target _imp_target_global)
set(${_is_req} 0)
set(${_is_silent} 0)
set(${_no_cmake_path} 0)
set(${_no_cmake_environment_path} 0)
set(${_imp_target} 0)
set(${_imp_target_global} 0)
if(DEFINED PKG_CONFIG_USE_CMAKE_PREFIX_PATH)
if(NOT PKG_CONFIG_USE_CMAKE_PREFIX_PATH)
set(${_no_cmake_path} 1)
set(${_no_cmake_environment_path} 1)
endif()
elseif(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 3.1)
set(${_no_cmake_path} 1)
set(${_no_cmake_environment_path} 1)
endif()
foreach(_pkg ${ARGN})
if (_pkg STREQUAL "REQUIRED")
set(${_is_req} 1)
endif (_pkg STREQUAL "REQUIRED")
endforeach(_pkg ${ARGN})
endif ()
if (_pkg STREQUAL "QUIET")
set(${_is_silent} 1)
endif ()
if (_pkg STREQUAL "NO_CMAKE_PATH")
set(${_no_cmake_path} 1)
endif()
if (_pkg STREQUAL "NO_CMAKE_ENVIRONMENT_PATH")
set(${_no_cmake_environment_path} 1)
endif()
if (_pkg STREQUAL "IMPORTED_TARGET")
set(${_imp_target} 1)
endif()
if (_pkg STREQUAL "GLOBAL")
set(${_imp_target_global} 1)
endif()
endforeach()
if (${_imp_target_global} AND NOT ${_imp_target})
message(SEND_ERROR "the argument GLOBAL may only be used together with IMPORTED_TARGET")
endif()
set(${_result} ${ARGN})
list(REMOVE_ITEM ${_result} "REQUIRED")
endmacro(_pkgconfig_parse_options)
list(REMOVE_ITEM ${_result} "QUIET")
list(REMOVE_ITEM ${_result} "NO_CMAKE_PATH")
list(REMOVE_ITEM ${_result} "NO_CMAKE_ENVIRONMENT_PATH")
list(REMOVE_ITEM ${_result} "IMPORTED_TARGET")
list(REMOVE_ITEM ${_result} "GLOBAL")
endmacro()
# Add the content of a variable or an environment variable to a list of
# paths
# Usage:
# - _pkgconfig_add_extra_path(_extra_paths VAR)
# - _pkgconfig_add_extra_path(_extra_paths ENV VAR)
function(_pkgconfig_add_extra_path _extra_paths_var _var)
set(_is_env 0)
if(ARGC GREATER 2 AND _var STREQUAL "ENV")
set(_var ${ARGV2})
set(_is_env 1)
endif()
if(NOT _is_env)
if(NOT "${${_var}}" STREQUAL "")
list(APPEND ${_extra_paths_var} ${${_var}})
endif()
else()
if(NOT "$ENV{${_var}}" STREQUAL "")
file(TO_CMAKE_PATH "$ENV{${_var}}" _path)
list(APPEND ${_extra_paths_var} ${_path})
unset(_path)
endif()
endif()
set(${_extra_paths_var} ${${_extra_paths_var}} PARENT_SCOPE)
endfunction()
# scan the LDFLAGS returned by pkg-config for library directories and
# libraries, figure out the absolute paths of that libraries in the
# given directories
function(_pkg_find_libs _prefix _no_cmake_path _no_cmake_environment_path)
unset(_libs)
unset(_find_opts)
# set the options that are used as long as the .pc file does not provide a library
# path to look into
if(_no_cmake_path)
list(APPEND _find_opts "NO_CMAKE_PATH")
endif()
if(_no_cmake_environment_path)
list(APPEND _find_opts "NO_CMAKE_ENVIRONMENT_PATH")
endif()
unset(_search_paths)
foreach (flag IN LISTS ${_prefix}_LDFLAGS)
if (flag MATCHES "^-L(.*)")
list(APPEND _search_paths ${CMAKE_MATCH_1})
continue()
endif()
if (flag MATCHES "^-l(.*)")
set(_pkg_search "${CMAKE_MATCH_1}")
else()
continue()
endif()
if(_search_paths)
# Firstly search in -L paths
find_library(pkgcfg_lib_${_prefix}_${_pkg_search}
NAMES ${_pkg_search}
HINTS ${_search_paths} NO_DEFAULT_PATH)
endif()
find_library(pkgcfg_lib_${_prefix}_${_pkg_search}
NAMES ${_pkg_search}
${_find_opts})
mark_as_advanced(pkgcfg_lib_${_prefix}_${_pkg_search})
if(pkgcfg_lib_${_prefix}_${_pkg_search})
list(APPEND _libs "${pkgcfg_lib_${_prefix}_${_pkg_search}}")
else()
list(APPEND _libs ${_pkg_search})
endif()
endforeach()
set(${_prefix}_LINK_LIBRARIES "${_libs}" PARENT_SCOPE)
endfunction()
# create an imported target from all the information returned by pkg-config
function(_pkg_create_imp_target _prefix _imp_target_global)
# only create the target if it is linkable, i.e. no executables
if (NOT TARGET PkgConfig::${_prefix}
AND ( ${_prefix}_INCLUDE_DIRS OR ${_prefix}_LINK_LIBRARIES OR ${_prefix}_LDFLAGS_OTHER OR ${_prefix}_CFLAGS_OTHER ))
if(${_imp_target_global})
set(_global_opt "GLOBAL")
else()
unset(_global_opt)
endif()
add_library(PkgConfig::${_prefix} INTERFACE IMPORTED ${_global_opt})
if(${_prefix}_INCLUDE_DIRS)
set_property(TARGET PkgConfig::${_prefix} PROPERTY
INTERFACE_INCLUDE_DIRECTORIES "${${_prefix}_INCLUDE_DIRS}")
endif()
if(${_prefix}_LINK_LIBRARIES)
set_property(TARGET PkgConfig::${_prefix} PROPERTY
INTERFACE_LINK_LIBRARIES "${${_prefix}_LINK_LIBRARIES}")
endif()
if(${_prefix}_LDFLAGS_OTHER)
set_property(TARGET PkgConfig::${_prefix} PROPERTY
INTERFACE_LINK_OPTIONS "${${_prefix}_LDFLAGS_OTHER}")
endif()
if(${_prefix}_CFLAGS_OTHER)
set_property(TARGET PkgConfig::${_prefix} PROPERTY
INTERFACE_COMPILE_OPTIONS "${${_prefix}_CFLAGS_OTHER}")
endif()
endif()
endfunction()
# recalculate the dynamic output
# this is a macro and not a function so the result of _pkg_find_libs is automatically propagated
macro(_pkg_recalculate _prefix _no_cmake_path _no_cmake_environment_path _imp_target _imp_target_global)
_pkg_find_libs(${_prefix} ${_no_cmake_path} ${_no_cmake_environment_path})
if(${_imp_target})
_pkg_create_imp_target(${_prefix} ${_imp_target_global})
endif()
endmacro()
###
macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
macro(_pkg_set_path_internal)
set(_extra_paths)
if(NOT _no_cmake_path)
_pkgconfig_add_extra_path(_extra_paths CMAKE_PREFIX_PATH)
_pkgconfig_add_extra_path(_extra_paths CMAKE_FRAMEWORK_PATH)
_pkgconfig_add_extra_path(_extra_paths CMAKE_APPBUNDLE_PATH)
endif()
if(NOT _no_cmake_environment_path)
_pkgconfig_add_extra_path(_extra_paths ENV CMAKE_PREFIX_PATH)
_pkgconfig_add_extra_path(_extra_paths ENV CMAKE_FRAMEWORK_PATH)
_pkgconfig_add_extra_path(_extra_paths ENV CMAKE_APPBUNDLE_PATH)
endif()
if(NOT _extra_paths STREQUAL "")
# Save the PKG_CONFIG_PATH environment variable, and add paths
# from the CMAKE_PREFIX_PATH variables
set(_pkgconfig_path_old "$ENV{PKG_CONFIG_PATH}")
set(_pkgconfig_path "${_pkgconfig_path_old}")
if(NOT _pkgconfig_path STREQUAL "")
file(TO_CMAKE_PATH "${_pkgconfig_path}" _pkgconfig_path)
endif()
# Create a list of the possible pkgconfig subfolder (depending on
# the system
set(_lib_dirs)
if(NOT DEFINED CMAKE_SYSTEM_NAME
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
AND NOT CMAKE_CROSSCOMPILING))
if(EXISTS "/etc/debian_version") # is this a debian system ?
if(CMAKE_LIBRARY_ARCHITECTURE)
list(APPEND _lib_dirs "lib/${CMAKE_LIBRARY_ARCHITECTURE}/pkgconfig")
endif()
else()
# not debian, check the FIND_LIBRARY_USE_LIB32_PATHS and FIND_LIBRARY_USE_LIB64_PATHS properties
get_property(uselib32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS)
if(uselib32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
list(APPEND _lib_dirs "lib32/pkgconfig")
endif()
get_property(uselib64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
if(uselib64 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
list(APPEND _lib_dirs "lib64/pkgconfig")
endif()
get_property(uselibx32 GLOBAL PROPERTY FIND_LIBRARY_USE_LIBX32_PATHS)
if(uselibx32 AND CMAKE_INTERNAL_PLATFORM_ABI STREQUAL "ELF X32")
list(APPEND _lib_dirs "libx32/pkgconfig")
endif()
endif()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND NOT CMAKE_CROSSCOMPILING)
list(APPEND _lib_dirs "libdata/pkgconfig")
endif()
list(APPEND _lib_dirs "lib/pkgconfig")
list(APPEND _lib_dirs "share/pkgconfig")
# Check if directories exist and eventually append them to the
# pkgconfig path list
foreach(_prefix_dir ${_extra_paths})
foreach(_lib_dir ${_lib_dirs})
if(EXISTS "${_prefix_dir}/${_lib_dir}")
list(APPEND _pkgconfig_path "${_prefix_dir}/${_lib_dir}")
list(REMOVE_DUPLICATES _pkgconfig_path)
endif()
endforeach()
endforeach()
# Prepare and set the environment variable
if(NOT _pkgconfig_path STREQUAL "")
# remove empty values from the list
list(REMOVE_ITEM _pkgconfig_path "")
file(TO_NATIVE_PATH "${_pkgconfig_path}" _pkgconfig_path)
if(UNIX)
string(REPLACE ";" ":" _pkgconfig_path "${_pkgconfig_path}")
string(REPLACE "\\ " " " _pkgconfig_path "${_pkgconfig_path}")
endif()
set(ENV{PKG_CONFIG_PATH} "${_pkgconfig_path}")
endif()
# Unset variables
unset(_lib_dirs)
unset(_pkgconfig_path)
endif()
endmacro()
macro(_pkg_restore_path_internal)
if(NOT _extra_paths STREQUAL "")
# Restore the environment variable
set(ENV{PKG_CONFIG_PATH} "${_pkgconfig_path_old}")
endif()
unset(_extra_paths)
unset(_pkgconfig_path_old)
endmacro()
###
macro(_pkg_check_modules_internal _is_required _is_silent _no_cmake_path _no_cmake_environment_path _imp_target _imp_target_global _prefix)
_pkgconfig_unset(${_prefix}_FOUND)
_pkgconfig_unset(${_prefix}_VERSION)
_pkgconfig_unset(${_prefix}_PREFIX)
_pkgconfig_unset(${_prefix}_INCLUDEDIR)
_pkgconfig_unset(${_prefix}_LIBDIR)
_pkgconfig_unset(${_prefix}_MODULE_NAME)
_pkgconfig_unset(${_prefix}_LIBS)
_pkgconfig_unset(${_prefix}_LIBS_L)
_pkgconfig_unset(${_prefix}_LIBS_PATHS)
@@ -193,83 +392,77 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
# give out status message telling checked module
if (NOT ${_is_silent})
if (_pkg_check_modules_cnt EQUAL 1)
message(STATUS "checking for module '${_pkg_check_modules_list}'")
else(_pkg_check_modules_cnt EQUAL 1)
message(STATUS "checking for modules '${_pkg_check_modules_list}'")
endif(_pkg_check_modules_cnt EQUAL 1)
endif(NOT ${_is_silent})
message(STATUS "Checking for module '${_pkg_check_modules_list}'")
else()
message(STATUS "Checking for modules '${_pkg_check_modules_list}'")
endif()
endif()
set(_pkg_check_modules_packages)
set(_pkg_check_modules_failed)
_pkg_set_path_internal()
# iterate through module list and check whether they exist and match the required version
foreach (_pkg_check_modules_pkg ${_pkg_check_modules_list})
set(_pkg_check_modules_exist_query)
# check whether version is given
if (_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\1" _pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\2" _pkg_check_modules_pkg_op "${_pkg_check_modules_pkg}")
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\3" _pkg_check_modules_pkg_ver "${_pkg_check_modules_pkg}")
else(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
if (_pkg_check_modules_pkg MATCHES "(.*[^><])(=|[><]=?)(.*)")
set(_pkg_check_modules_pkg_name "${CMAKE_MATCH_1}")
set(_pkg_check_modules_pkg_op "${CMAKE_MATCH_2}")
set(_pkg_check_modules_pkg_ver "${CMAKE_MATCH_3}")
else()
set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
set(_pkg_check_modules_pkg_op)
set(_pkg_check_modules_pkg_ver)
endif(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
# handle the operands
if (_pkg_check_modules_pkg_op STREQUAL ">=")
list(APPEND _pkg_check_modules_exist_query --atleast-version)
endif(_pkg_check_modules_pkg_op STREQUAL ">=")
if (_pkg_check_modules_pkg_op STREQUAL "=")
list(APPEND _pkg_check_modules_exist_query --exact-version)
endif(_pkg_check_modules_pkg_op STREQUAL "=")
if (_pkg_check_modules_pkg_op STREQUAL "<=")
list(APPEND _pkg_check_modules_exist_query --max-version)
endif(_pkg_check_modules_pkg_op STREQUAL "<=")
# create the final query which is of the format:
# * --atleast-version <version> <pkg-name>
# * --exact-version <version> <pkg-name>
# * --max-version <version> <pkg-name>
# * --exists <pkg-name>
if (_pkg_check_modules_pkg_op)
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_ver}")
else(_pkg_check_modules_pkg_op)
list(APPEND _pkg_check_modules_exist_query --exists)
endif(_pkg_check_modules_pkg_op)
endif()
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_VERSION)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_PREFIX)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_INCLUDEDIR)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_LIBDIR)
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name}")
list(APPEND _pkg_check_modules_packages "${_pkg_check_modules_pkg_name}")
# create the final query which is of the format:
# * <pkg-name> > <version>
# * <pkg-name> >= <version>
# * <pkg-name> = <version>
# * <pkg-name> <= <version>
# * <pkg-name> < <version>
# * --exists <pkg-name>
list(APPEND _pkg_check_modules_exist_query --print-errors --short-errors)
if (_pkg_check_modules_pkg_op)
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name} ${_pkg_check_modules_pkg_op} ${_pkg_check_modules_pkg_ver}")
else()
list(APPEND _pkg_check_modules_exist_query --exists)
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name}")
endif()
# execute the query
execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE} ${_pkg_check_modules_exist_query}
RESULT_VARIABLE _pkgconfig_retval)
RESULT_VARIABLE _pkgconfig_retval
ERROR_VARIABLE _pkgconfig_error
ERROR_STRIP_TRAILING_WHITESPACE)
# evaluate result and tell failures
if (_pkgconfig_retval)
if(NOT ${_is_silent})
message(STATUS " package '${_pkg_check_modules_pkg}' not found")
endif(NOT ${_is_silent})
message(STATUS " ${_pkgconfig_error}")
endif()
set(_pkg_check_modules_failed 1)
endif(_pkgconfig_retval)
endforeach(_pkg_check_modules_pkg)
endif()
endforeach()
if(_pkg_check_modules_failed)
# fail when requested
if (${_is_required})
message(SEND_ERROR "A required package was not found")
endif (${_is_required})
else(_pkg_check_modules_failed)
message(FATAL_ERROR "A required package was not found")
endif ()
else()
# when we are here, we checked whether requested modules
# exist. Now, go through them and set variables
@@ -281,17 +474,23 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
# handle case when there is only one package required
if (pkg_count EQUAL 1)
set(_pkg_check_prefix "${_prefix}")
else(pkg_count EQUAL 1)
else()
set(_pkg_check_prefix "${_prefix}_${_pkg_check_modules_pkg}")
endif(pkg_count EQUAL 1)
endif()
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" VERSION "" --modversion )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" PREFIX "" --variable=prefix )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" INCLUDEDIR "" --variable=includedir )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" LIBDIR "" --variable=libdir )
pkg_get_variable("${_pkg_check_prefix}_PREFIX" ${_pkg_check_modules_pkg} "prefix")
pkg_get_variable("${_pkg_check_prefix}_INCLUDEDIR" ${_pkg_check_modules_pkg} "includedir")
pkg_get_variable("${_pkg_check_prefix}_LIBDIR" ${_pkg_check_modules_pkg} "libdir")
foreach (variable IN ITEMS PREFIX INCLUDEDIR LIBDIR)
_pkgconfig_set("${_pkg_check_prefix}_${variable}" "${${_pkg_check_prefix}_${variable}}")
endforeach ()
_pkgconfig_set("${_pkg_check_prefix}_MODULE_NAME" "${_pkg_check_modules_pkg}")
message(STATUS " found ${_pkg_check_modules_pkg}, version ${_pkgconfig_VERSION}")
endforeach(_pkg_check_modules_pkg)
if (NOT ${_is_silent})
message(STATUS " Found ${_pkg_check_modules_pkg}, version ${_pkgconfig_VERSION}")
endif ()
endforeach()
# set variables which are combined for multiple modules
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARIES "(^| )-l" --libs-only-l )
@@ -302,58 +501,271 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" INCLUDE_DIRS "(^| )-I" --cflags-only-I )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS "" --cflags )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS_OTHER "" --cflags-only-other )
endif(_pkg_check_modules_failed)
else(PKG_CONFIG_EXECUTABLE)
_pkg_recalculate("${_prefix}" ${_no_cmake_path} ${_no_cmake_environment_path} ${_imp_target} ${_imp_target_global})
endif()
_pkg_restore_path_internal()
else()
if (${_is_required})
message(SEND_ERROR "pkg-config tool not found")
endif (${_is_required})
endif(PKG_CONFIG_EXECUTABLE)
endmacro(_pkg_check_modules_internal)
endif ()
endif()
endmacro()
###
### User visible macros start here
###
###
#[========================================[.rst:
.. command:: pkg_check_modules
Checks for all the given modules, setting a variety of result variables in
the calling scope.
.. code-block:: cmake
pkg_check_modules(<prefix>
[REQUIRED] [QUIET]
[NO_CMAKE_PATH]
[NO_CMAKE_ENVIRONMENT_PATH]
[IMPORTED_TARGET [GLOBAL]]
<moduleSpec> [<moduleSpec>...])
When the ``REQUIRED`` argument is given, the command will fail with an error
if module(s) could not be found.
When the ``QUIET`` argument is given, no status messages will be printed.
By default, if :variable:`CMAKE_MINIMUM_REQUIRED_VERSION` is 3.1 or
later, or if :variable:`PKG_CONFIG_USE_CMAKE_PREFIX_PATH` is set to a
boolean ``True`` value, then the :variable:`CMAKE_PREFIX_PATH`,
:variable:`CMAKE_FRAMEWORK_PATH`, and :variable:`CMAKE_APPBUNDLE_PATH` cache
and environment variables will be added to the ``pkg-config`` search path.
The ``NO_CMAKE_PATH`` and ``NO_CMAKE_ENVIRONMENT_PATH`` arguments
disable this behavior for the cache variables and environment variables
respectively.
The ``IMPORTED_TARGET`` argument will create an imported target named
``PkgConfig::<prefix>`` that can be passed directly as an argument to
:command:`target_link_libraries`. The ``GLOBAL`` argument will make the
imported target available in global scope.
Each ``<moduleSpec>`` can be either a bare module name or it can be a
module name with a version constraint (operators ``=``, ``<``, ``>``,
``<=`` and ``>=`` are supported). The following are examples for a module
named ``foo`` with various constraints:
- ``foo`` matches any version.
- ``foo<2`` only matches versions before 2.
- ``foo>=3.1`` matches any version from 3.1 or later.
- ``foo=1.2.3`` requires that foo must be exactly version 1.2.3.
The following variables may be set upon return. Two sets of values exist:
One for the common case (``<XXX> = <prefix>``) and another for the
information ``pkg-config`` provides when called with the ``--static``
option (``<XXX> = <prefix>_STATIC``).
``<XXX>_FOUND``
set to 1 if module(s) exist
``<XXX>_LIBRARIES``
only the libraries (without the '-l')
``<XXX>_LINK_LIBRARIES``
the libraries and their absolute paths
``<XXX>_LIBRARY_DIRS``
the paths of the libraries (without the '-L')
``<XXX>_LDFLAGS``
all required linker flags
``<XXX>_LDFLAGS_OTHER``
all other linker flags
``<XXX>_INCLUDE_DIRS``
the '-I' preprocessor flags (without the '-I')
``<XXX>_CFLAGS``
all required cflags
``<XXX>_CFLAGS_OTHER``
the other compiler flags
All but ``<XXX>_FOUND`` may be a :ref:`;-list <CMake Language Lists>` if the
associated variable returned from ``pkg-config`` has multiple values.
There are some special variables whose prefix depends on the number of
``<moduleSpec>`` given. When there is only one ``<moduleSpec>``,
``<YYY>`` will simply be ``<prefix>``, but if two or more ``<moduleSpec>``
items are given, ``<YYY>`` will be ``<prefix>_<moduleName>``.
``<YYY>_VERSION``
version of the module
``<YYY>_PREFIX``
prefix directory of the module
``<YYY>_INCLUDEDIR``
include directory of the module
``<YYY>_LIBDIR``
lib directory of the module
Examples:
.. code-block:: cmake
pkg_check_modules (GLIB2 glib-2.0)
Looks for any version of glib2. If found, the output variable
``GLIB2_VERSION`` will hold the actual version found.
.. code-block:: cmake
pkg_check_modules (GLIB2 glib-2.0>=2.10)
Looks for at least version 2.10 of glib2. If found, the output variable
``GLIB2_VERSION`` will hold the actual version found.
.. code-block:: cmake
pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0)
Looks for both glib2-2.0 (at least version 2.10) and any version of
gtk2+-2.0. Only if both are found will ``FOO`` be considered found.
The ``FOO_glib-2.0_VERSION`` and ``FOO_gtk+-2.0_VERSION`` variables will be
set to their respective found module versions.
.. code-block:: cmake
pkg_check_modules (XRENDER REQUIRED xrender)
Requires any version of ``xrender``. Example output variables set by a
successful call::
XRENDER_LIBRARIES=Xrender;X11
XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
#]========================================]
macro(pkg_check_modules _prefix _module0)
_pkgconfig_parse_options(_pkg_modules _pkg_is_required _pkg_is_silent _no_cmake_path _no_cmake_environment_path _imp_target _imp_target_global "${_module0}" ${ARGN})
# check cached value
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION})
_pkgconfig_parse_options (_pkg_modules _pkg_is_required "${_module0}" ${ARGN})
_pkg_check_modules_internal("${_pkg_is_required}" 0 "${_prefix}" ${_pkg_modules})
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND OR
(NOT "${ARGN}" STREQUAL "" AND NOT "${__pkg_config_arguments_${_prefix}}" STREQUAL "${_module0};${ARGN}") OR
( "${ARGN}" STREQUAL "" AND NOT "${__pkg_config_arguments_${_prefix}}" STREQUAL "${_module0}"))
_pkg_check_modules_internal("${_pkg_is_required}" "${_pkg_is_silent}" ${_no_cmake_path} ${_no_cmake_environment_path} ${_imp_target} ${_imp_target_global} "${_prefix}" ${_pkg_modules})
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION})
endmacro(pkg_check_modules)
if (${_prefix}_FOUND)
_pkgconfig_set(__pkg_config_arguments_${_prefix} "${_module0};${ARGN}")
endif()
else()
if (${_prefix}_FOUND)
_pkg_recalculate("${_prefix}" ${_no_cmake_path} ${_no_cmake_environment_path} ${_imp_target} ${_imp_target_global})
endif()
endif()
endmacro()
###
#[========================================[.rst:
.. command:: pkg_search_module
The behavior of this command is the same as :command:`pkg_check_modules`,
except that rather than checking for all the specified modules, it searches
for just the first successful match.
.. code-block:: cmake
pkg_search_module(<prefix>
[REQUIRED] [QUIET]
[NO_CMAKE_PATH]
[NO_CMAKE_ENVIRONMENT_PATH]
[IMPORTED_TARGET [GLOBAL]]
<moduleSpec> [<moduleSpec>...])
If a module is found, the ``<prefix>_MODULE_NAME`` variable will contain the
name of the matching module. This variable can be used if you need to run
:command:`pkg_get_variable`.
Example:
.. code-block:: cmake
pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2)
#]========================================]
macro(pkg_search_module _prefix _module0)
_pkgconfig_parse_options(_pkg_modules_alt _pkg_is_required _pkg_is_silent _no_cmake_path _no_cmake_environment_path _imp_target _imp_target_global "${_module0}" ${ARGN})
# check cached value
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
set(_pkg_modules_found 0)
_pkgconfig_parse_options(_pkg_modules_alt _pkg_is_required "${_module0}" ${ARGN})
message(STATUS "checking for one of the modules '${_pkg_modules_alt}'")
if (NOT ${_pkg_is_silent})
message(STATUS "Checking for one of the modules '${_pkg_modules_alt}'")
endif ()
# iterate through all modules and stop at the first working one.
foreach(_pkg_alt ${_pkg_modules_alt})
if(NOT _pkg_modules_found)
_pkg_check_modules_internal(0 1 "${_prefix}" "${_pkg_alt}")
endif(NOT _pkg_modules_found)
_pkg_check_modules_internal(0 1 ${_no_cmake_path} ${_no_cmake_environment_path} ${_imp_target} ${_imp_target_global} "${_prefix}" "${_pkg_alt}")
endif()
if (${_prefix}_FOUND)
set(_pkg_modules_found 1)
endif(${_prefix}_FOUND)
endforeach(_pkg_alt)
break()
endif()
endforeach()
if (NOT ${_prefix}_FOUND)
if(${_pkg_is_required})
message(SEND_ERROR "None of the required '${_pkg_modules_alt}' found")
endif(${_pkg_is_required})
endif(NOT ${_prefix}_FOUND)
endif()
endif()
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
endmacro(pkg_search_module)
elseif (${_prefix}_FOUND)
_pkg_recalculate("${_prefix}" ${_no_cmake_path} ${_no_cmake_environment_path} ${_imp_target} ${_imp_target_global})
endif()
endmacro()
#[========================================[.rst:
.. command:: pkg_get_variable
Retrieves the value of a pkg-config variable ``varName`` and stores it in the
result variable ``resultVar`` in the calling scope.
.. code-block:: cmake
pkg_get_variable(<resultVar> <moduleName> <varName>)
If ``pkg-config`` returns multiple values for the specified variable,
``resultVar`` will contain a :ref:`;-list <CMake Language Lists>`.
For example:
.. code-block:: cmake
pkg_get_variable(GI_GIRDIR gobject-introspection-1.0 girdir)
#]========================================]
function (pkg_get_variable result pkg variable)
_pkg_set_path_internal()
_pkgconfig_invoke("${pkg}" "prefix" "result" "" "--variable=${variable}")
set("${result}"
"${prefix_result}"
PARENT_SCOPE)
_pkg_restore_path_internal()
endfunction ()
#[========================================[.rst:
Variables Affecting Behavior
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. variable:: PKG_CONFIG_EXECUTABLE
This can be set to the path of the pkg-config executable. If not provided,
it will be set by the module as a result of calling :command:`find_program`
internally. The ``PKG_CONFIG`` environment variable can be used as a hint.
.. variable:: PKG_CONFIG_USE_CMAKE_PREFIX_PATH
Specifies whether :command:`pkg_check_modules` and
:command:`pkg_search_module` should add the paths in the
:variable:`CMAKE_PREFIX_PATH`, :variable:`CMAKE_FRAMEWORK_PATH` and
:variable:`CMAKE_APPBUNDLE_PATH` cache and environment variables to the
``pkg-config`` search path.
If this variable is not set, this behavior is enabled by default if
:variable:`CMAKE_MINIMUM_REQUIRED_VERSION` is 3.1 or later, disabled
otherwise.
#]========================================]
### Local Variables:
### mode: cmake
+14 -64
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Python
@@ -24,67 +24,17 @@
# code sets the following variables:
#
# PYTHON_EXECUTABLE = full path to the python binary
# PYTHON_INCLUDE_PATH = path to where python.h can be found
# PYTHON_LIBRARY = path to where libpython.so* can be found
# PYTHON_LFLAGS = python compiler options for linking
# PYTHON_INCLUDE_DIRS = path to where python.h can be found
# PYTHON_LIBRARIES = path to where libpython.so* can be found
# PYTHON_LDFLAGS = python compiler options for linking
IF(PYTHON_FOUND)
# Already in cache, be silent
SET(PYTHON_FIND_QUIETLY TRUE)
ENDIF(PYTHON_FOUND)
include(FindPkgConfig)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(PYTHON_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('CONFINCLUDEPY'))"
OUTPUT_VARIABLE PYTHON_INC_DIR
)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBPL'))"
OUTPUT_VARIABLE PYTHON_POSSIBLE_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LINKFORSHARED'))"
OUTPUT_VARIABLE PYTHON_LFLAGS
)
FIND_PATH(PYTHON_INCLUDE_PATH
NAMES Python.h
PATHS ${PYTHON_INC_DIR}
)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
OUTPUT_VARIABLE PYTHON_VERSION
)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"
OUTPUT_VARIABLE PYTHON_OLD_VERSION
)
IF(${PYTHON_OLD_VERSION} STREQUAL "True")
MESSAGE("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
ELSE()
SET(PYTHON_FOUND TRUE)
ENDIF(${PYTHON_OLD_VERSION} STREQUAL "True")
ENDIF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
MARK_AS_ADVANCED(
PYTHON_EXECUTABLE
PYTHON_INCLUDE_PATH
PYTHON_LIBRARY
PYTHON_LFLAGS
)
ENDIF(PYTHON_EXECUTABLE)
if(ENABLE_PYTHON2)
pkg_check_modules(PYTHON python2 IMPORTED_TARGET GLOBAL)
else()
pkg_check_modules(PYTHON python3-embed IMPORTED_TARGET GLOBAL)
if(NOT PYTHON_FOUND)
pkg_check_modules(PYTHON python3 IMPORTED_TARGET GLOBAL)
endif()
endif()
+21 -68
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Ruby
@@ -22,71 +22,24 @@
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# RUBY_EXECUTABLE = full path to the ruby binary
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
# RUBY_LIBRARY = path to where libruby.so* can be found
# RUBY_INCLUDE_DIRS = C flags to compile with ruby
# RUBY_LIBRARY_DIRS = linker flags to compile with ruby (found with pkg-config)
# RUBY_LIB = ruby library (found without pkg-config)
IF(RUBY_FOUND)
# Already in cache, be silent
SET(RUBY_FIND_QUIETLY TRUE)
ENDIF(RUBY_FOUND)
if(RUBY_FOUND)
# Already in cache, be silent
set(RUBY_FIND_QUIETLY TRUE)
endif()
FIND_PROGRAM(RUBY_EXECUTABLE
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(RUBY_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
OUTPUT_VARIABLE RUBY_VERSION
)
FIND_PATH(RUBY_INCLUDE_PATH
NAMES ruby.h
PATHS ${RUBY_ARCH_DIR}
)
SET(RUBY_ARCH
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
FIND_LIBRARY(RUBY_LIBRARY
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
)
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
SET(RUBY_FOUND TRUE)
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
IF(${RUBY_VERSION} STREQUAL "1.9.0")
SET(RUBY_FOUND FALSE)
ENDIF(${RUBY_VERSION} STREQUAL "1.9.0")
MARK_AS_ADVANCED(
RUBY_EXECUTABLE
RUBY_LIBRARY
RUBY_ARCH
RUBY_INCLUDE_PATH
)
ENDIF(RUBY_EXECUTABLE)
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# set specific search path for macOS
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig")
endif()
pkg_search_module(RUBY ruby-3.1 ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby)
if(RUBY_FOUND AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# FIXME: weird hack: hardcoding the Ruby lib location on macOS
set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib")
endif()
endif()
-39
View File
@@ -1,39 +0,0 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Source-Highlight
# This module finds if source-highlight is installed.
IF (SOURCEHIGHLIGHT_FOUND)
# Already in cache, be silent
SET(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
ENDIF (SOURCEHIGHLIGHT_FOUND)
FIND_PROGRAM(
SOURCEHIGHLIGHT_EXECUTABLE source-highlight
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(SOURCEHIGHLIGHT_EXECUTABLE)
SET(SOURCEHIGHLIGHT_FOUND TRUE)
MARK_AS_ADVANCED(
SOURCEHIGHLIGHT_EXECUTABLE
)
ENDIF(SOURCEHIGHLIGHT_EXECUTABLE)
-163
View File
@@ -1,163 +0,0 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2012 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Tcl includes and libraries.
# This module finds if Tcl is installed and determines where the
# include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables:
# TCL_FOUND = Tcl was found
# TK_FOUND = Tk was found
# TCLTK_FOUND = Tcl and Tk were found
# TCL_LIBRARY = path to Tcl library (tcl tcl80)
# TCL_INCLUDE_PATH = path to where tcl.h can be found
# TCL_TCLSH = path to tclsh binary (tcl tcl80)
# TK_LIBRARY = path to Tk library (tk tk80 etc)
# TK_INCLUDE_PATH = path to where tk.h can be found
# TK_WISH = full path to the wish executable
#
# In an effort to remove some clutter and clear up some issues for people
# who are not necessarily Tcl/Tk gurus/developpers, some variables were
# moved or removed. Changes compared to CMake 2.4 are:
# - The stub libraries are now found in FindTclStub.cmake
# => they were only useful for people writing Tcl/Tk extensions.
# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
# => these libs are not packaged by default with Tcl/Tk distributions.
# Even when Tcl/Tk is built from source, several flavors of debug libs
# are created and there is no real reason to pick a single one
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# TCL_LIBRARY to any Tcl library, debug or not.
# - TK_INTERNAL_PATH was removed.
# => this ended up being only a Win32 variable, and there is a lot of
# confusion regarding the location of this file in an installed Tcl/Tk
# tree anyway (see 8.5 for example). If you need the internal path at
# this point it is safer you ask directly where the *source* tree is
# and dig from there.
IF(TCL_FOUND)
SET(TCL_FIND_QUIETLY TRUE)
ENDIF(TCL_FOUND)
INCLUDE(CMakeFindFrameworks)
INCLUDE(FindTclsh)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
STRING(REGEX REPLACE
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
STRING(REGEX REPLACE
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
SET(TCL_POSSIBLE_LIB_PATHS
"${TCL_INCLUDE_PATH_PARENT}/lib"
"${TCL_INCLUDE_PATH_PARENT}/lib64"
"${TCL_LIBRARY_PATH}"
"${TCL_TCLSH_PATH_PARENT}/lib"
"${TCL_TCLSH_PATH_PARENT}/lib64"
/usr/lib
/usr/lib64
/usr/local/lib
/usr/local/lib64
)
IF(WIN32)
GET_FILENAME_COMPONENT(
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
NAME)
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
"$ENV{ProgramFiles}/Tcl/Lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
)
ENDIF(WIN32)
FIND_LIBRARY(TCL_LIBRARY
NAMES
tcl86 tcl8.6
tcl85 tcl8.5
tcl
tcl${TCL_VERSION} tcl${TCL_TCLSH_VERSION}
PATHS ${TCL_POSSIBLE_LIB_PATHS}
)
CMAKE_FIND_FRAMEWORKS(Tcl)
SET(TCL_FRAMEWORK_INCLUDES)
IF(Tcl_FRAMEWORKS)
IF(NOT TCL_INCLUDE_PATH)
FOREACH(dir ${Tcl_FRAMEWORKS})
SET(TCL_FRAMEWORK_INCLUDES ${TCL_FRAMEWORK_INCLUDES} ${dir}/Headers)
ENDFOREACH(dir)
ENDIF(NOT TCL_INCLUDE_PATH)
ENDIF(Tcl_FRAMEWORKS)
SET(TCL_POSSIBLE_INCLUDE_PATHS
"${TCL_LIBRARY_PATH_PARENT}/include"
"${TCL_INCLUDE_PATH}"
${TCL_FRAMEWORK_INCLUDES}
"${TCL_TCLSH_PATH_PARENT}/include"
/usr/include/tcl8.6
/usr/include/tcl8.5
/usr/include
/usr/local/include
/usr/include/tcl${TCL_VERSION}
/usr/local/include/tcl${TCL_VERSION}
/usr/local/include/tcl8.6
/usr/local/include/tcl8.5
)
IF(WIN32)
SET(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include"
"$ENV{ProgramFiles}/Tcl/include"
"C:/Program Files/Tcl/include"
"C:/Tcl/include"
)
ENDIF(WIN32)
FIND_PATH(TCL_INCLUDE_PATH
NAMES tcl.h
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
)
IF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
SET(TCL_VERSION ${TCL_VERSION})
SET(TCL_LIBARY ${TCL_LIBRARY})
SET(TCL_INCLUDE_PATH ${TCL_INCLUDE_PATH})
SET(TCL_FOUND TRUE)
ENDIF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
MARK_AS_ADVANCED(
TCL_INCLUDE_PATH
TCL_LIBRARY
TCL_VERSION
)
+49
View File
@@ -0,0 +1,49 @@
#
# Copyright (C) 2015-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find V8 (Google's JavaScript engine)
# This module finds if libv8 is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
#
# V8_INCLUDE_DIR = path to where v8.h can be found
# V8_LIBRARY = path to where libv8.so* can be found
if(V8_FOUND)
# Already in cache, be silent
SET(V8_FIND_QUIETLY TRUE)
endif()
set(V8_INC_PATHS
/usr/include
${CMAKE_INCLUDE_PATH}
)
find_path(V8_INCLUDE_DIR v8.h PATHS ${V8_INC_PATHS})
find_library(V8_LIBRARY
NAMES v8
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
find_package_handle_standard_args(V8 DEFAULT_MSG V8_LIBRARY V8_INCLUDE_DIR)
mark_as_advanced(
V8_INCLUDE_DIR
V8_LIBRARY
)
+32 -34
View File
@@ -31,48 +31,46 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
FIND_PATH(ZLIB_INCLUDE_DIR zlib.h
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
find_path(ZLIB_INCLUDE_DIR zlib.h
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
)
SET(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
FIND_LIBRARY(ZLIB_LIBRARY
NAMES
${ZLIB_NAMES}
PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/lib"
set(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
find_library(ZLIB_LIBRARY
NAMES
${ZLIB_NAMES}
PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/lib"
)
MARK_AS_ADVANCED(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
mark_as_advanced(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
IF(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
FILE(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$")
if(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
file(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$")
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"([0-9]+).*$" "\\1" ZLIB_VERSION_MAJOR "${ZLIB_H}")
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_MINOR "${ZLIB_H}")
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_PATCH "${ZLIB_H}")
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_MAJOR}.${ZLIB_VERSION_MINOR}.${ZLIB_VERSION_PATCH}")
string(REGEX REPLACE "^.*ZLIB_VERSION \"([0-9]+).*$" "\\1" ZLIB_VERSION_MAJOR "${ZLIB_H}")
string(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_MINOR "${ZLIB_H}")
string(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_PATCH "${ZLIB_H}")
set(ZLIB_VERSION_STRING "${ZLIB_VERSION_MAJOR}.${ZLIB_VERSION_MINOR}.${ZLIB_VERSION_PATCH}")
# only append a TWEAK version if it exists:
SET(ZLIB_VERSION_TWEAK "")
IF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
SET(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}")
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}")
ENDIF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
# only append a TWEAK version if it exists:
set(ZLIB_VERSION_TWEAK "")
if("${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
set(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}")
set(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}")
endif()
SET(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}")
SET(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}")
SET(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
ENDIF()
set(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}")
set(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}")
set(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
endif()
# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if
# all listed variables are TRUE
#INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
VERSION_VAR ZLIB_VERSION_STRING)
IF(ZLIB_FOUND)
SET(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR})
SET(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
ENDIF()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
VERSION_VAR ZLIB_VERSION_STRING)
if(ZLIB_FOUND)
set(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR})
set(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
endif()
+20 -22
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,27 +14,25 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling \"${file}\"")
IF(NOT EXISTS "${file}")
MESSAGE(FATAL_ERROR "File \"${file}\" does not exists.")
ENDIF(NOT EXISTS "${file}")
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VARIABLE rm_retval)
IF("${rm_retval}" GREATER 0)
MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"")
ENDIF("${rm_retval}" GREATER 0)
ENDFOREACH(file)
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
endif()
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
string(REGEX REPLACE ";$" "" files "${files}")
list(REVERSE files)
foreach(file ${files})
message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
if(EXISTS "$ENV{DESTDIR}${file}")
execute_process(COMMAND "@CMAKE_COMMAND@" -E remove "$ENV{DESTDIR}${file}" OUTPUT_VARIABLE rm_out RESULT_VARIABLE rm_retval)
if("${rm_retval}" GREATER 0)
message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
endif()
else()
message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
endif()
endforeach()
-52
View File
@@ -1,52 +0,0 @@
#!/bin/sh
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
VERSION=@VERSION@
SRCROOT=@CMAKE_SOURCE_DIR@
BUILDDIR=@CMAKE_BINARY_DIR@
PROJECT=@PROJECT_NAME@
TAG=release-$(echo $VERSION | sed -e 's/\./-/g')
EXCLUDE="@DIST_EXCLUDE@"
EXPORT_DIR="${PROJECT}-${VERSION}"
if [ -z $CVSROOT ]; then
echo "The CVSROOT variable must be set"
exit 1
fi
echo "Exporting source tree"
if [ $(echo $VERSION | grep cvs) ]; then
cvs export -r HEAD -d $PROJECT-$VERSION $PROJECT
else
cvs export -r $TAG -d $PROJECT-$VERSION $PROJECT
fi
echo "Removing not needed stuff"
for i in $EXCLUDE ; do
echo " $i"
rm -rf $EXPORT_DIR/$i
done
echo "Generating archive"
tar cjf ${BUILDDIR}/${PROJECT}-${VERSION}.tar.bz2 ${EXPORT_DIR}
echo "Cleaning up"
rm -rf ${EXPORT_DIR}
+6 -20
View File
@@ -1,35 +1,21 @@
#cmakedefine HAVE_ARPA_INET_H
#cmakedefine HAVE_LIBINTL_H
#cmakedefine HAVE_LIMITS_H
#cmakedefine HAVE_LOCALE_H
#cmakedefine HAVE_NETDB_H
#cmakedefine HAVE_NETINET_IN_H
#cmakedefine HAVE_STDLIB_H
#cmakedefine HAVE_STRING_H
#cmakedefine HAVE_SYS_SOCKET_H
#cmakedefine HAVE_SYS_TIME_H
#cmakedefine HAVE_SYS_TYPES_H
#cmakedefine HAVE_UNISTD_H
#cmakedefine HAVE_PWD_H
#cmakedefine HAVE_ERRNO_H
#cmakedefine HAVE_REGEX_H
#cmakedefine HAVE_WCHAR_H
#cmakedefine HAVE_SYS_FILE_H
#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET
#cmakedefine HAVE_STRNDUP
#cmakedefine HAVE_BACKTRACE
#cmakedefine ICONV_2ARG_IS_CONST 1
#cmakedefine HAVE_TCL_CREATE_NS
#cmakedefine HAVE_MALLINFO
#cmakedefine HAVE_MALLINFO2
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
#cmakedefine HAVE_ASPELL_VERSION_STRING
#cmakedefine HAVE_ENCHANT_GET_VERSION
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
#define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@"
#define PACKAGE_STRING "@PKG_STRING@"
#define WEECHAT_LIBDIR "@LIBDIR@"
#define WEECHAT_SHAREDIR "@SHAREDIR@"
#define WEECHAT_LIBDIR "@WEECHAT_LIBDIR@"
#define WEECHAT_SHAREDIR "@WEECHAT_SHAREDIR@"
#define LOCALEDIR "@LOCALEDIR@"
#define WEECHAT_HOME "@WEECHAT_HOME@"
#define _GNU_SOURCE 1
File diff suppressed because it is too large Load Diff
+1
View File
@@ -0,0 +1 @@
12
+271
View File
@@ -0,0 +1,271 @@
Source: weechat-devel
Section: net
Priority: optional
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
Build-Depends:
asciidoctor (>= 1.5.4),
debhelper (>= 12),
cmake, pkg-config,
libncursesw5-dev,
gem2deb,
libperl-dev,
python3-dev,
libaspell-dev,
liblua5.3-dev,
tcl8.6-dev,
guile-2.2-dev,
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
libxml2-dev,
libcurl4-gnutls-dev,
libgcrypt20-dev,
libgnutls28-dev,
libzstd-dev,
zlib1g-dev
Standards-Version: 4.6.0.1
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
Package: weechat-devel
Architecture: all
Depends:
${misc:Depends},
weechat-devel-curses (>= ${source:Version}) | weechat-devel-headless (>= ${source:Version})
Suggests: weechat-devel-doc (= ${source:Version})
Conflicts: weechat
Description: Fast, light and extensible chat client (metapackage)
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- support of IRC protocol (native)
- support of XMPP/Jabber protocol (with additional script)
- nicklist
- smart hotlist
- horizontal and vertical split
- double charset support (decode/encode)
- FIFO pipe for remote control
- 256 colors support
- incremental text search
- dynamic filtering of buffer content
- Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
- script manager
- spell checking
- highly customizable and extensible
- and much more!
Package: weechat-devel-curses
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-core (= ${binary:Version})
Recommends:
weechat-devel-plugins (= ${binary:Version})
Suggests: weechat-devel-doc (= ${source:Version})
Conflicts: weechat-curses
Description: Fast, light and extensible chat client - console client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- support of IRC protocol (native)
- support of XMPP/Jabber protocol (with additional script)
- nicklist
- smart hotlist
- horizontal and vertical split
- double charset support (decode/encode)
- FIFO pipe for remote control
- 256 colors support
- incremental text search
- dynamic filtering of buffer content
- Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
- script manager
- spell checking
- highly customizable and extensible
- and much more!
.
This package provides the console client (ncurses).
Package: weechat-devel-headless
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-core (= ${binary:Version})
Recommends: weechat-devel-plugins (= ${binary:Version})
Suggests: weechat-devel-doc (= ${source:Version})
Conflicts: weechat-headless
Description: Fast, light and extensible chat client - headless client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- support of IRC protocol (native)
- support of XMPP/Jabber protocol (with additional script)
- nicklist
- smart hotlist
- horizontal and vertical split
- double charset support (decode/encode)
- FIFO pipe for remote control
- 256 colors support
- incremental text search
- dynamic filtering of buffer content
- Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
- script manager
- spell checking
- highly customizable and extensible
- and much more!
.
This package provides the headless client.
Package: weechat-devel-core
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends}
Suggests: weechat-devel-doc (= ${source:Version})
Conflicts: weechat-core
Description: Fast, light and extensible chat client - core files
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides core plugins and locales files for WeeChat. It
currently ships the following plugins: alias, buflist, charset, fset, irc,
logger and xfer. It is useless without weechat-curses or weechat-headless.
Package: weechat-devel-plugins
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
Recommends:
weechat-devel-perl,
weechat-devel-python,
weechat-devel-ruby
Suggests: weechat-scripts (>> 20090221-1)
Conflicts: weechat-plugins
Description: Fast, light and extensible chat client - plugins
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides some plugins to enhance WeeChat. It currently
ships the following plugins:
- script manager
- Spell checking (thanks to aspell)
- FIFO pipe for remote control
- Relay (IRC proxy and WeeChat protocol)
- Trigger
- Typing
Package: weechat-devel-python
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
Conflicts: weechat-python
Description: Fast, light and extensible chat client - Python 3 plugin
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides the Python 3 scripting API plugin.
Package: weechat-devel-perl
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
Conflicts: weechat-perl
Description: Fast, light and extensible chat client - Perl plugin
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides the Perl scripting API plugin.
Package: weechat-devel-ruby
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
Conflicts: weechat-ruby
Description: Fast, light and extensible chat client - Ruby plugin
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides the Ruby scripting API plugin.
Package: weechat-devel-lua
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
Conflicts: weechat-lua
Description: Fast, light and extensible chat client - Lua plugin
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides the Lua scripting API plugin.
Package: weechat-devel-tcl
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
Conflicts: weechat-tcl
Description: Fast, light and extensible chat client - Tcl plugin
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides the Tcl scripting API plugin.
Package: weechat-devel-guile
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
Conflicts: weechat-guile
Description: Fast, light and extensible chat client - Guile plugin
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides the Guile scripting API plugin.
Package: weechat-devel-php
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version}),
libphp-embed
Conflicts: weechat-php
Description: Fast, light and extensible chat client - PHP plugin
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides the PHP scripting API plugin.
Package: weechat-devel-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
Conflicts: weechat-doc
Description: Fast, light and extensible chat client - documentation
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package contains the html documentation for WeeChat.
Package: weechat-devel-dev
Section: devel
Architecture: any
Depends: ${misc:Depends}
Conflicts: weechat-dev
Description: Fast, light and extensible chat client - development headers
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package contains the headers needed to build plugins.
+1
View File
@@ -0,0 +1 @@
../debian-stable/copyright
+1
View File
@@ -0,0 +1 @@
../debian-stable/gbp.conf
+33
View File
@@ -0,0 +1,33 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
BUILDDIR = builddir
$(BUILDDIR)/Makefile:
mkdir -p $(BUILDDIR)
cd $(BUILDDIR) && \
cmake .. \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
-DENABLE_DOC:BOOL=ON \
-DENABLE_MAN:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
override_dh_auto_configure:
# the package also has autotools buildsys and
# debhelper try to use it but that's not needed
echo
override_dh_auto_build: $(BUILDDIR)/Makefile
dh_auto_build
override_dh_installchangelogs:
dh_installchangelogs ChangeLog.adoc
%:
dh $@ --builddirectory=$(BUILDDIR) --without autoreconf
+1
View File
@@ -0,0 +1 @@
../debian-stable/watch
+1
View File
@@ -0,0 +1 @@
../debian-stable/weechat-core.docs
+1
View File
@@ -0,0 +1 @@
../debian-stable/weechat-core.install
+1
View File
@@ -0,0 +1 @@
../debian-stable/weechat-curses.dirs
+1
View File
@@ -0,0 +1 @@
../debian-stable/weechat-curses.install
+1
View File
@@ -0,0 +1 @@
../debian-stable/weechat-curses.links
+1
View File
@@ -0,0 +1 @@
../debian-stable/weechat-curses.menu
+1
View File
@@ -0,0 +1 @@
../debian-stable/weechat-dev.dirs
+1
View File
@@ -0,0 +1 @@
../debian-stable/weechat-dev.install
@@ -0,0 +1,10 @@
Document: weechat-dev-en
Title: WeeChat developer's guide (English)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_dev.en.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_dev.en.html
@@ -0,0 +1,10 @@
Document: weechat-dev-fr
Title: WeeChat developer's guide (French)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_dev.fr.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_dev.fr.html
@@ -0,0 +1,10 @@
Document: weechat-dev-ja
Title: WeeChat developer's guide (Japanese)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_dev.ja.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_dev.ja.html
@@ -0,0 +1,10 @@
Document: weechat-faq-de
Title: WeeChat FAQ (German)
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.de.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.de.html
@@ -0,0 +1,10 @@
Document: weechat-faq-en
Title: WeeChat FAQ (English)
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.en.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.en.html
@@ -0,0 +1,10 @@
Document: weechat-faq-es
Title: WeeChat FAQ (Spanish)
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Spanish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.es.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.es.html
@@ -0,0 +1,10 @@
Document: weechat-faq-fr
Title: WeeChat FAQ (French)
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.fr.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.fr.html
@@ -0,0 +1,10 @@
Document: weechat-faq-it
Title: WeeChat FAQ (Italian)
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.it.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.it.html
@@ -0,0 +1,10 @@
Document: weechat-faq-ja
Title: WeeChat FAQ (Japanese)
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.ja.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.ja.html
@@ -0,0 +1,10 @@
Document: weechat-faq-pl
Title: WeeChat FAQ (Polish)
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.pl.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.pl.html
@@ -0,0 +1,10 @@
Document: weechat-plugin-en
Title: WeeChat plugin API reference (English)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.en.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.en.html
@@ -0,0 +1,10 @@
Document: weechat-plugin-fr
Title: WeeChat plugin API reference (French)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.fr.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.fr.html
@@ -0,0 +1,10 @@
Document: weechat-plugin-it
Title: WeeChat plugin API reference (Italian)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.it.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.it.html
@@ -0,0 +1,10 @@
Document: weechat-plugin-ja
Title: WeeChat plugin API reference (Japanese)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.ja.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.ja.html
@@ -0,0 +1,9 @@
Document: weechat-quickstart-de
Title: WeeChat quick start guide (German)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.de.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.de.html
@@ -0,0 +1,9 @@
Document: weechat-quickstart-en
Title: WeeChat quick start guide (English)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.en.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.en.html
@@ -0,0 +1,9 @@
Document: weechat-quickstart-es
Title: WeeChat quick start guide (Spanish)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Spanish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.es.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.es.html
@@ -0,0 +1,9 @@
Document: weechat-quickstart-fr
Title: WeeChat quick start guide (French)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.fr.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.fr.html
@@ -0,0 +1,9 @@
Document: weechat-quickstart-it
Title: WeeChat quick start guide (Italian)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.it.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.it.html
@@ -0,0 +1,9 @@
Document: weechat-quickstart-ja
Title: WeeChat quick start guide (Japanese)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.ja.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.ja.html
@@ -0,0 +1,9 @@
Document: weechat-quickstart-pl
Title: WeeChat quick start guide (Polish)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.pl.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.pl.html
@@ -0,0 +1,9 @@
Document: weechat-quickstart-ru
Title: WeeChat quick start guide (Russian)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Russian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.ru.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.ru.html
@@ -0,0 +1,10 @@
Document: weechat-relay-protocol-en
Title: WeeChat Relay protocol (English)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.en.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.en.html
@@ -0,0 +1,10 @@
Document: weechat-relay-protocol-fr
Title: WeeChat Relay protocol (French)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.fr.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.fr.html
@@ -0,0 +1,10 @@
Document: weechat-relay-protocol-ja
Title: WeeChat Relay protocol (Japanese)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.ja.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.ja.html
@@ -0,0 +1,10 @@
Document: weechat-scripting-de
Title: WeeChat scripting guide (German)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.de.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.de.html
@@ -0,0 +1,10 @@
Document: weechat-scripting-en
Title: WeeChat scripting guide (English)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.en.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.en.html
@@ -0,0 +1,10 @@
Document: weechat-scripting-fr
Title: WeeChat scripting guide (French)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.fr.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.fr.html
@@ -0,0 +1,10 @@
Document: weechat-scripting-it
Title: WeeChat scripting guide (Italian)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.it.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.it.html
@@ -0,0 +1,10 @@
Document: weechat-scripting-ja
Title: WeeChat scripting guide (Japanese)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.ja.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.ja.html
@@ -0,0 +1,10 @@
Document: weechat-scripting-pl
Title: WeeChat scripting guide (Polish)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.pl.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.pl.html
@@ -0,0 +1,10 @@
Document: weechat-user-de
Title: WeeChat user's guide (German)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_user.de.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_user.de.html
@@ -0,0 +1,10 @@
Document: weechat-user-en
Title: WeeChat user's guide (English)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_user.en.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_user.en.html
@@ -0,0 +1,10 @@
Document: weechat-user-fr
Title: WeeChat user's guide (French)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_user.fr.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_user.fr.html
@@ -0,0 +1,10 @@
Document: weechat-user-it
Title: WeeChat user's guide (Italian)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-devel-doc/html/weechat_user.it.html
Files: /usr/share/doc/weechat-devel-doc/html/weechat_user.it.html

Some files were not shown because too many files have changed in this diff Show More