From: Samir Benmendil Date: Wed, 14 Jan 2015 13:00:37 +0000 (+0000) Subject: weechat: update to v1.1 X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/739c314da042f02ca80d881436073563711d7d22?ds=inline weechat: update to v1.1 --- diff --git a/weechat/alias.conf b/weechat/alias.conf index d1611cc..51a5bb0 100644 --- a/weechat/alias.conf +++ b/weechat/alias.conf @@ -1,5 +1,5 @@ # -# alias.conf -- weechat v1.0.1 +# alias.conf -- weechat v1.1 # [cmd] diff --git a/weechat/aspell.conf b/weechat/aspell.conf index aa0bd00..4fbeb6e 100644 --- a/weechat/aspell.conf +++ b/weechat/aspell.conf @@ -1,5 +1,5 @@ # -# aspell.conf -- weechat v1.0.1 +# aspell.conf -- weechat v1.1 # [color] diff --git a/weechat/buffer_autoset.conf b/weechat/buffer_autoset.conf index 23433c1..301fe65 100644 --- a/weechat/buffer_autoset.conf +++ b/weechat/buffer_autoset.conf @@ -1,5 +1,5 @@ # -# buffer_autoset.conf -- weechat v1.0.1 +# buffer_autoset.conf -- weechat v1.1 # [buffer] diff --git a/weechat/buffers.conf b/weechat/buffers.conf index e62c7ec..d04517f 100644 --- a/weechat/buffers.conf +++ b/weechat/buffers.conf @@ -1,5 +1,5 @@ # -# buffers.conf -- weechat v1.0.1 +# buffers.conf -- weechat v1.1 # [color] diff --git a/weechat/charset.conf b/weechat/charset.conf index aadbdae..ccb87aa 100644 --- a/weechat/charset.conf +++ b/weechat/charset.conf @@ -1,5 +1,5 @@ # -# charset.conf -- weechat v1.0.1 +# charset.conf -- weechat v1.1 # [default] diff --git a/weechat/exec.conf b/weechat/exec.conf index 0f713aa..895c99e 100644 --- a/weechat/exec.conf +++ b/weechat/exec.conf @@ -1,5 +1,5 @@ # -# exec.conf -- weechat v1.0.1 +# exec.conf -- weechat v1.1 # [command] diff --git a/weechat/iset.conf b/weechat/iset.conf index aed2cbb..8d6e318 100644 --- a/weechat/iset.conf +++ b/weechat/iset.conf @@ -1,5 +1,5 @@ # -# iset.conf -- weechat v1.0.1 +# iset.conf -- weechat v1.1 # [color] diff --git a/weechat/logger.conf b/weechat/logger.conf index 9a9cde6..c98c4a0 100644 --- a/weechat/logger.conf +++ b/weechat/logger.conf @@ -1,5 +1,5 @@ # -# logger.conf -- weechat v1.0.1 +# logger.conf -- weechat v1.1 # [look] diff --git a/weechat/perl/buffers.pl b/weechat/perl/buffers.pl index ef21fdd..472f6e9 100644 --- a/weechat/perl/buffers.pl +++ b/weechat/perl/buffers.pl @@ -20,6 +20,8 @@ # # History: # +# 2014-12-12 +# v5.0: fix cropping non-latin buffer names # 2014-08-29, Patrick Steinhardt : # v4.9: add support for specifying custom buffer names # 2014-07-19, Sebastien Helleu : @@ -162,7 +164,7 @@ use strict; use Encode qw( decode encode ); # -----------------------------[ internal ]------------------------------------- my $SCRIPT_NAME = "buffers"; -my $SCRIPT_VERSION = "4.9"; +my $SCRIPT_VERSION = "5.0"; my $BUFFERS_CONFIG_FILE_NAME = "buffers"; my $buffers_config_file; @@ -1386,7 +1388,8 @@ sub build_buffers if (weechat::config_integer($options{"name_size_max"}) >= 1) # check max_size of buffer name { - $str .= encode("UTF-8", substr(decode("UTF-8", $name), 0, weechat::config_integer($options{"name_size_max"}))); + $name = decode("UTF-8", $name); + $str .= encode("UTF-8", substr($name, 0, weechat::config_integer($options{"name_size_max"}))); $str .= weechat::color(weechat::config_color( $options{"color_number_char"})).weechat::config_string($options{"name_crop_suffix"}) if (length($name) > weechat::config_integer($options{"name_size_max"})); $str .= add_inactive_parentless($buffer->{"type"}, $buffer->{"nicks_count"}); $str .= add_hotlist_count($buffer->{"pointer"}, %hotlist); diff --git a/weechat/plugins.conf b/weechat/plugins.conf index 84210f7..4d23b88 100644 --- a/weechat/plugins.conf +++ b/weechat/plugins.conf @@ -1,5 +1,5 @@ # -# plugins.conf -- weechat v1.0.1 +# plugins.conf -- weechat v1.1 # [var] diff --git a/weechat/relay.conf b/weechat/relay.conf index 019f72e..dbd6b8c 100644 --- a/weechat/relay.conf +++ b/weechat/relay.conf @@ -1,5 +1,5 @@ # -# relay.conf -- weechat v1.0.1 +# relay.conf -- weechat v1.1 # [look] @@ -26,6 +26,7 @@ ipv6 = on max_clients = 5 password = "" ssl_cert_key = "%h/ssl/relay.pem" +ssl_priorities = "NORMAL:-VERS-SSL3.0" websocket_allowed_origins = "" [irc] diff --git a/weechat/script.conf b/weechat/script.conf index a0fe570..59fc23a 100644 --- a/weechat/script.conf +++ b/weechat/script.conf @@ -1,5 +1,5 @@ # -# script.conf -- weechat v1.0.1 +# script.conf -- weechat v1.1 # [look] @@ -46,3 +46,4 @@ cache_expire = 60 dir = "%h/script" hold = "" url = "http://www.weechat.org/files/plugins.xml.gz" +url_force_https = on diff --git a/weechat/sec.conf b/weechat/sec.conf index c8a08d8..899f2a1 100644 --- a/weechat/sec.conf +++ b/weechat/sec.conf @@ -1,5 +1,5 @@ # -# sec.conf -- weechat v1.0.1 +# sec.conf -- weechat v1.1 # [crypt] diff --git a/weechat/trigger.conf b/weechat/trigger.conf index 3131ea2..da31567 100644 --- a/weechat/trigger.conf +++ b/weechat/trigger.conf @@ -1,5 +1,5 @@ # -# trigger.conf -- weechat v1.0.1 +# trigger.conf -- weechat v1.1 # [look] diff --git a/weechat/weechat.conf b/weechat/weechat.conf index 25f7fa8..a3d6288 100644 --- a/weechat/weechat.conf +++ b/weechat/weechat.conf @@ -1,5 +1,5 @@ # -# weechat.conf -- weechat v1.0.1 +# weechat.conf -- weechat v1.1 # [debug] @@ -38,6 +38,7 @@ color_nick_offline = on color_pairs_auto_reset = 5 color_real_white = off command_chars = "" +command_incomplete = off confirm_quit = off day_change = off day_change_message_1date = "-- %a, %d %b %Y --" @@ -67,6 +68,7 @@ input_share_overwrite = off input_undo_max = 32 item_buffer_filter = "•" item_buffer_zoom = "!" +item_mouse_status = "M" item_time_format = "%H:%M" jump_current_to_previous_buffer = on jump_previous_buffer_when_closing = on @@ -173,6 +175,7 @@ status_data_other = default status_data_private = 121 status_filter = green status_more = 229 +status_mouse = green status_name = 121 status_name_ssl = 121 status_nicklist_count = default @@ -181,6 +184,7 @@ status_time = default [completion] base_word_until_cursor = on +command_inline = off default_template = "%(nicks)|%(irc_channels)" nick_add_space = on nick_completer = ":" diff --git a/weechat/xfer.conf b/weechat/xfer.conf index 6e78f2a..43ec7b2 100644 --- a/weechat/xfer.conf +++ b/weechat/xfer.conf @@ -1,5 +1,5 @@ # -# xfer.conf -- weechat v1.0.1 +# xfer.conf -- weechat v1.1 # [look]