mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
Compare commits
11 Commits
v0.4.0-rc3
..
v0.4.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 762c96d85a | |||
| 2087a19bbe | |||
| 7cdabf79be | |||
| 1364fe8a0e | |||
| a9c4534e3c | |||
| 9ebea835dd | |||
| 0ad8866d6b | |||
| df2867ac27 | |||
| 68bbe7ca0a | |||
| 280e9bd0b1 | |||
| 8e587f7093 |
+1
-1
@@ -33,7 +33,7 @@ ENDIF(PREFIX)
|
||||
|
||||
SET(VERSION_MAJOR "0")
|
||||
SET(VERSION_MINOR "4")
|
||||
SET(VERSION_PATCH "0-rc3")
|
||||
SET(VERSION_PATCH "0")
|
||||
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
SET(LICENSE "GPL3")
|
||||
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.4.0-rc3, 2013-01-14
|
||||
v0.4.0, 2013-01-20
|
||||
|
||||
|
||||
Version 0.4.0 (under dev!)
|
||||
Version 0.4.0 (2013-01-20)
|
||||
--------------------------
|
||||
|
||||
* core: fix infinite loop when a regex gives an empty match (bug #38112)
|
||||
* core: fix detection of guile in configure
|
||||
* core: fix click in item "buffer_nicklist" when nicklist is a root bar
|
||||
(bug #38080)
|
||||
* core: fix line returned when clicking on a bar (according to position and
|
||||
|
||||
@@ -65,3 +65,6 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = weechat.pc
|
||||
|
||||
clean-local:
|
||||
$(RM) config-git.h
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
WeeChat Release Notes
|
||||
=====================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.4.0-rc3, 2013-01-14
|
||||
v0.4.0, 2013-01-20
|
||||
|
||||
|
||||
Version 0.4.0 (under dev!)
|
||||
Version 0.4.0 (2013-01-20)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
|
||||
+3
-3
@@ -24,7 +24,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.56)
|
||||
AC_INIT(WeeChat, 0.4.0-rc3, flashcode@flashtux.org)
|
||||
AC_INIT(WeeChat, 0.4.0, flashcode@flashtux.org)
|
||||
AC_CONFIG_SRCDIR([configure.in])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE
|
||||
@@ -762,10 +762,10 @@ if test "x$enable_guile" = "xyes" ; then
|
||||
GUILE_CFLAGS=`$GUILECONFIG compile`
|
||||
GUILE_LFLAGS=`$GUILECONFIG link`
|
||||
GUILE_VERSION=`$GUILECONFIG info guileversion`
|
||||
tcl_found="yes"
|
||||
guile_found="yes"
|
||||
fi
|
||||
|
||||
if test "x$tcl_found" = "xno" ; then
|
||||
if test "x$guile_found" = "xno" ; then
|
||||
AC_MSG_WARN([
|
||||
*** Script guile-config couldn't be found on your system.
|
||||
*** WeeChat will be built without Guile (scheme) support.])
|
||||
|
||||
@@ -204,7 +204,7 @@
|
||||
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、下線は "_"。 (デフォルト値: `blue`)
|
||||
|
||||
* [[option_weechat.color.separator]] *weechat.color.separator*
|
||||
** 説明: `color for window separators (when split) and separators beside bars (like nicklist)`
|
||||
** 説明: `ウィンドウセパレータ (分割時) とバーセパレータ (ニックネームリスト等) の色`
|
||||
** タイプ: 色
|
||||
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、下線は "_"。 (デフォルト値: `blue`)
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.4.0-rc3\n"
|
||||
"Project-Id-Version: WeeChat 0.4.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2013-01-14 12:18+0100\n"
|
||||
"PO-Revision-Date: 2013-01-14 12:17+0100\n"
|
||||
"POT-Creation-Date: 2013-01-19 09:22+0100\n"
|
||||
"PO-Revision-Date: 2013-01-20 09:01+0100\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: Czech\n"
|
||||
@@ -31,9 +31,9 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
msgstr ""
|
||||
"WeeChat %s Copyright %s, zkompilováno %s %s\n"
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.4.0-rc3\n"
|
||||
"Project-Id-Version: WeeChat 0.4.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2013-01-14 12:18+0100\n"
|
||||
"PO-Revision-Date: 2013-01-14 12:17+0100\n"
|
||||
"POT-Creation-Date: 2013-01-19 09:22+0100\n"
|
||||
"PO-Revision-Date: 2013-01-20 09:01+0100\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <weechatter@arcor.de>\n"
|
||||
"Language: \n"
|
||||
@@ -40,10 +40,10 @@ msgstr ""
|
||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||
#, c-format
|
||||
msgid ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
msgstr ""
|
||||
"WeeChat %s%s%s%s Copyright %s, kompiliert am %s %s\n"
|
||||
"WeeChat %s Copyright %s, kompiliert am %s %s\n"
|
||||
"Entwickelt von Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
|
||||
#, c-format
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.4.0-rc3\n"
|
||||
"Project-Id-Version: WeeChat 0.4.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2013-01-14 12:18+0100\n"
|
||||
"PO-Revision-Date: 2013-01-14 12:17+0100\n"
|
||||
"POT-Creation-Date: 2013-01-19 09:22+0100\n"
|
||||
"PO-Revision-Date: 2013-01-20 09:01+0100\n"
|
||||
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: French\n"
|
||||
@@ -34,10 +34,10 @@ msgstr ""
|
||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||
#, c-format
|
||||
msgid ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
msgstr ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compilé le %s %s\n"
|
||||
"WeeChat %s Copyright %s, compilé le %s %s\n"
|
||||
"Développé par Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
|
||||
#, c-format
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.4.0-rc3\n"
|
||||
"Project-Id-Version: WeeChat 0.4.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2013-01-14 12:18+0100\n"
|
||||
"PO-Revision-Date: 2013-01-14 12:17+0100\n"
|
||||
"POT-Creation-Date: 2013-01-19 09:22+0100\n"
|
||||
"PO-Revision-Date: 2013-01-20 09:01+0100\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: Hungarian\n"
|
||||
@@ -33,7 +33,7 @@ msgstr ""
|
||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||
#, fuzzy, c-format
|
||||
msgid ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
msgstr ""
|
||||
"%s Copyright (C) 2003-2010, fordítva: %s %s\n"
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.4.0-rc3\n"
|
||||
"Project-Id-Version: WeeChat 0.4.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2013-01-14 12:18+0100\n"
|
||||
"PO-Revision-Date: 2013-01-14 12:17+0100\n"
|
||||
"POT-Creation-Date: 2013-01-19 09:22+0100\n"
|
||||
"PO-Revision-Date: 2013-01-20 09:02+0100\n"
|
||||
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: Italian\n"
|
||||
@@ -31,9 +31,9 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
msgstr ""
|
||||
"WeeChat %s Copyright %s, compilato il %s %s\n"
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.4.0-rc3\n"
|
||||
"Project-Id-Version: WeeChat 0.4.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2013-01-14 12:18+0100\n"
|
||||
"PO-Revision-Date: 2013-01-14 12:18+0100\n"
|
||||
"POT-Creation-Date: 2013-01-19 09:22+0100\n"
|
||||
"PO-Revision-Date: 2013-01-20 09:02+0100\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/WeeChat>\n"
|
||||
"Language: ja\n"
|
||||
@@ -33,10 +33,10 @@ msgstr ""
|
||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||
#, c-format
|
||||
msgid ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
msgstr ""
|
||||
"WeeChat %s%s%s%s 著作権 %s、%s %s にコンパイル\n"
|
||||
"WeeChat %s 著作権 %s、%s %s にコンパイル\n"
|
||||
"開発者 Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
|
||||
#, c-format
|
||||
@@ -2983,11 +2983,11 @@ msgstr "ウィンドウ間に水平セパレータを表示"
|
||||
msgid "display a vertical separator between windows"
|
||||
msgstr "ウィンドウ間に垂直セパレータを表示"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"color for window separators (when split) and separators beside bars (like "
|
||||
"nicklist)"
|
||||
msgstr "ウィンドウセパレータの背景色 (分割時)"
|
||||
msgstr ""
|
||||
"ウィンドウセパレータ (分割時) とバーセパレータ (ニックネームリスト等) の色"
|
||||
|
||||
msgid "text color for '+' when scrolling bars"
|
||||
msgstr "バーをスクロールする際の '+' のテキスト色"
|
||||
@@ -8181,13 +8181,13 @@ msgstr "%s%s: IP アドレス \"%s\" はリレーの許可がありません"
|
||||
msgid "%s%s: cannot set socket option \"SO_REUSEADDR\""
|
||||
msgstr "%s%s: ソケットオプション \"SO_REUSEADDR\" の設定に失敗"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid "%s%s: cannot create socket: error %d %s"
|
||||
msgstr "%s%s: xfer 用のソケットの作成に失敗"
|
||||
msgstr "%s%s: ソケットの作成に失敗: エラー %d %s"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: try /set relay.network.ipv6 off"
|
||||
msgstr ""
|
||||
msgstr "%s%s: /set relay.network.ipv6 off を試してください"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: cannot set socket option \"IPV6_V6ONLY\" to value %d"
|
||||
|
||||
+5
-5
@@ -19,10 +19,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.4.0-rc3\n"
|
||||
"Project-Id-Version: WeeChat 0.4.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2013-01-14 12:18+0100\n"
|
||||
"PO-Revision-Date: 2013-01-14 12:18+0100\n"
|
||||
"POT-Creation-Date: 2013-01-19 09:22+0100\n"
|
||||
"PO-Revision-Date: 2013-01-20 09:02+0100\n"
|
||||
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: Portuguese\n"
|
||||
@@ -55,9 +55,9 @@ msgstr ""
|
||||
# bind -> vincular
|
||||
# handshake -> handshake (don't translate it when related to cryptography)
|
||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||
#, fuzzy, c-format
|
||||
#, c-format
|
||||
msgid ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
msgstr ""
|
||||
"WeeChat %s Copyright %s, compilado em %s %s\n"
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.4.0-rc3\n"
|
||||
"Project-Id-Version: WeeChat 0.4.0\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2013-01-14 12:18+0100\n"
|
||||
"PO-Revision-Date: 2013-01-14 12:18+0100\n"
|
||||
"POT-Creation-Date: 2013-01-19 09:22+0100\n"
|
||||
"PO-Revision-Date: 2013-01-20 09:02+0100\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: Russian\n"
|
||||
@@ -36,7 +36,7 @@ msgstr ""
|
||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||
#, fuzzy, c-format
|
||||
msgid ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
msgstr ""
|
||||
"%s Copyright (C) 2003-2010, собран %s %s\n"
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2013-01-14 12:18+0100\n"
|
||||
"POT-Creation-Date: 2013-01-19 09:22+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -20,7 +20,7 @@ msgstr ""
|
||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||
#, c-format
|
||||
msgid ""
|
||||
"WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> - %s"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -157,8 +157,8 @@ weechat_backtrace ()
|
||||
#endif
|
||||
|
||||
weechat_backtrace_printf ("======= WeeChat backtrace =======");
|
||||
weechat_backtrace_printf ("(written by %s, compiled on %s %s)",
|
||||
version_get_name_version (),
|
||||
weechat_backtrace_printf ("(written by WeeChat %s, compiled on %s %s)",
|
||||
version_get_version_with_git (),
|
||||
version_get_compilation_date (),
|
||||
version_get_compilation_time ());
|
||||
|
||||
|
||||
+7
-20
@@ -5104,21 +5104,14 @@ command_version_display (struct t_gui_buffer *buffer,
|
||||
int display_git_version)
|
||||
{
|
||||
char string[512];
|
||||
const char *git_version;
|
||||
|
||||
/* get git version */
|
||||
git_version = (display_git_version) ? version_get_git () : NULL;
|
||||
|
||||
if (send_to_buffer_as_input)
|
||||
{
|
||||
if (translated_string)
|
||||
{
|
||||
snprintf (string, sizeof (string),
|
||||
"WeeChat %s%s%s%s [%s %s %s]",
|
||||
version_get_version (),
|
||||
(git_version && git_version[0]) ? " (git: " : "",
|
||||
(git_version && git_version[0]) ? git_version : "",
|
||||
(git_version && git_version[0]) ? ")" : "",
|
||||
"WeeChat %s [%s %s %s]",
|
||||
(display_git_version) ? version_get_version_with_git () : version_get_version (),
|
||||
_("compiled on"),
|
||||
version_get_compilation_date (),
|
||||
version_get_compilation_time ());
|
||||
@@ -5137,11 +5130,8 @@ command_version_display (struct t_gui_buffer *buffer,
|
||||
else
|
||||
{
|
||||
snprintf (string, sizeof (string),
|
||||
"WeeChat %s%s%s%s [%s %s %s]",
|
||||
version_get_version (),
|
||||
(git_version && git_version[0]) ? " (git: " : "",
|
||||
(git_version && git_version[0]) ? git_version : "",
|
||||
(git_version && git_version[0]) ? ")" : "",
|
||||
"WeeChat %s [%s %s %s]",
|
||||
(display_git_version) ? version_get_version_with_git () : version_get_version (),
|
||||
"compiled on",
|
||||
version_get_compilation_date (),
|
||||
version_get_compilation_time ());
|
||||
@@ -5160,12 +5150,9 @@ command_version_display (struct t_gui_buffer *buffer,
|
||||
}
|
||||
else
|
||||
{
|
||||
gui_chat_printf (NULL, "%sWeeChat %s%s%s%s %s[%s%s %s %s%s]",
|
||||
gui_chat_printf (NULL, "%sWeeChat %s %s[%s%s %s %s%s]",
|
||||
GUI_COLOR(GUI_COLOR_CHAT_BUFFER),
|
||||
version_get_version (),
|
||||
(git_version && git_version[0]) ? " (git: " : "",
|
||||
(git_version && git_version[0]) ? git_version : "",
|
||||
(git_version && git_version[0]) ? ")" : "",
|
||||
(display_git_version) ? version_get_version_with_git () : version_get_version (),
|
||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
||||
GUI_COLOR(GUI_COLOR_CHAT_VALUE),
|
||||
_("compiled on"),
|
||||
@@ -5376,7 +5363,7 @@ COMMAND_CALLBACK(window)
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/* silently ignore argument "*" (can heppen when clicking in a root bar) */
|
||||
/* silently ignore argument "*" (can happen when clicking in a root bar) */
|
||||
if (strcmp (argv_eol[1], "*") == 0)
|
||||
return WEECHAT_RC_OK;
|
||||
|
||||
|
||||
+2
-2
@@ -118,8 +118,8 @@ log_init ()
|
||||
"with another home using \"--dir\" command line option.\n"));
|
||||
exit (1);
|
||||
}
|
||||
log_printf ("%s (%s %s %s)",
|
||||
version_get_name_version (),
|
||||
log_printf ("WeeChat %s (%s %s %s)",
|
||||
version_get_version_with_git (),
|
||||
_("compiled on"),
|
||||
version_get_compilation_date (),
|
||||
version_get_compilation_time ());
|
||||
|
||||
@@ -990,7 +990,13 @@ string_has_highlight_regex_compiled (const char *string, regex_t *regex)
|
||||
while (string && string[0])
|
||||
{
|
||||
rc = regexec (regex, string, 1, ®ex_match, 0);
|
||||
if ((rc != 0) || (regex_match.rm_so < 0) || (regex_match.rm_eo < 0))
|
||||
|
||||
/*
|
||||
* no match found: exit the loop (if rm_eo == 0, it is an empty match
|
||||
* at beginning of string: we consider there is no match, to prevent an
|
||||
* infinite loop)
|
||||
*/
|
||||
if ((rc != 0) || (regex_match.rm_so < 0) || (regex_match.rm_eo <= 0))
|
||||
break;
|
||||
|
||||
startswith = (regex_match.rm_so == 0);
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#endif
|
||||
#include "config-git.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
/*
|
||||
* Returns package name ("weechat").
|
||||
@@ -79,6 +81,34 @@ version_get_git ()
|
||||
return PACKAGE_VERSION_GIT;
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns the WeeCht version + the git version (between brackets, and only if
|
||||
* it is not empty).
|
||||
*
|
||||
* Examples:
|
||||
* 0.3.9-dev (git: v0.3.9-104-g7eb5cc)
|
||||
* 0.3.9-dev
|
||||
* 0.3.9-rc1 (git: v0.3.9-rc1)
|
||||
* 0.3.9
|
||||
*/
|
||||
|
||||
const char *
|
||||
version_get_version_with_git ()
|
||||
{
|
||||
const char *git_version;
|
||||
static char version[256];
|
||||
|
||||
git_version = version_get_git ();
|
||||
|
||||
snprintf (version, sizeof (version), "%s%s%s%s",
|
||||
version_get_version (),
|
||||
(git_version && git_version[0]) ? " (git: " : "",
|
||||
(git_version && git_version[0]) ? git_version : "",
|
||||
(git_version && git_version[0]) ? ")" : "");
|
||||
|
||||
return version;
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns date of WeeChat compilation.
|
||||
*
|
||||
|
||||
@@ -24,6 +24,7 @@ extern const char *version_get_name ();
|
||||
extern const char *version_get_version ();
|
||||
extern const char *version_get_name_version ();
|
||||
extern const char *version_get_git ();
|
||||
extern const char *version_get_version_with_git ();
|
||||
extern const char *version_get_compilation_date ();
|
||||
extern const char *version_get_compilation_time ();
|
||||
|
||||
|
||||
+2
-8
@@ -104,19 +104,13 @@ char *weechat_startup_commands = NULL; /* startup commands (-r flag) */
|
||||
void
|
||||
weechat_display_copyright ()
|
||||
{
|
||||
const char *git_version;
|
||||
|
||||
git_version = version_get_git ();
|
||||
string_iconv_fprintf (stdout, "\n");
|
||||
string_iconv_fprintf (stdout,
|
||||
/* TRANSLATORS: "%s %s" after "compiled on" is date and time */
|
||||
_("WeeChat %s%s%s%s Copyright %s, compiled on %s %s\n"
|
||||
_("WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||
"Developed by Sebastien Helleu <flashcode@flashtux.org> "
|
||||
"- %s"),
|
||||
version_get_version (),
|
||||
(git_version && git_version[0]) ? " (git: " : "",
|
||||
(git_version && git_version[0]) ? git_version : "",
|
||||
(git_version && git_version[0]) ? ")" : "",
|
||||
version_get_version_with_git (),
|
||||
WEECHAT_COPYRIGHT_DATE,
|
||||
version_get_compilation_date (),
|
||||
version_get_compilation_time (),
|
||||
|
||||
+3
-1
@@ -23,7 +23,7 @@
|
||||
#
|
||||
|
||||
%define name weechat
|
||||
%define version 0.3.9
|
||||
%define version 0.4.0
|
||||
%define release 1
|
||||
|
||||
Name: %{name}
|
||||
@@ -73,6 +73,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/%{name}/weechat-plugin.h
|
||||
|
||||
%changelog
|
||||
* Sun Jan 20 2013 Sebastien Helleu <flashcode@flashtux.org> 0.4.0-1
|
||||
- Released version 0.4.0
|
||||
* Sat Sep 29 2012 Sebastien Helleu <flashcode@flashtux.org> 0.3.9-1
|
||||
- Released version 0.3.9
|
||||
* Sun Jun 03 2012 Sebastien Helleu <flashcode@flashtux.org> 0.3.8-1
|
||||
|
||||
Reference in New Issue
Block a user