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

Compare commits

..

38 Commits

Author SHA1 Message Date
Sébastien Helleu f3e14829ab ci: remove check of gettext files with msgcheck
Use only poexam to check gettext files.
2026-06-28 16:56:15 +02:00
Sébastien Helleu 376ea3cc9e ci: cache poexam binary 2026-06-28 16:55:36 +02:00
Sébastien Helleu df6b994d3b ci: bump poexam to version 0.0.12 2026-06-28 11:10:59 +02:00
Sébastien Helleu 1f9c3784c7 core: fix copyright and gettext headers 2026-06-28 08:59:43 +02:00
Ivan Pešić a217e9f72f Update of the Serbian translations (#2329)
* core: update Serbian translations

* doc: update Serbian translations
2026-06-27 08:59:03 +02:00
weechatter 8858d4b6b4 core: update German translations 2026-06-23 13:29:41 +02:00
Sébastien Helleu e9d998a9bf trigger: add unit for timer interval in /help trigger 2026-06-23 12:15:47 +02:00
Sébastien Helleu bfb34faa97 irc: replace "atol" by "atoll" for variables cast to time_t
On modern 32-bit platforms with a 64-bit time_t, long is 32-bit but time_t is
64-bit.
2026-06-21 08:19:42 +02:00
Sébastien Helleu a4b8d7aedd tcl: fix conversion of dates in the API functions
On modern 32-bit platforms with a 64-bit time_t, long is 32-bit but time_t is
64-bit.

Replace calls to Tcl_GetLongFromObj by Tcl_GetWideIntFromObj.
2026-06-21 08:19:42 +02:00
Sébastien Helleu 75b364cd89 ruby: fix conversion of dates in the API functions
On modern 32-bit platforms with a 64-bit time_t, long is 32-bit but time_t is
64-bit.

Replace calls to NUM2ULONG by NUM2ULL.
2026-06-21 08:19:42 +02:00
Sébastien Helleu 914d3df639 python: fix conversion of dates in the API functions
On modern 32-bit platforms with a 64-bit time_t, long is 32-bit but time_t is
64-bit.

Use "long long" for variables cast to time_t.
2026-06-21 08:19:42 +02:00
Sébastien Helleu a5404172c8 perl: fix conversion of dates in the API functions
On modern 32-bit platforms with a 64-bit time_t, the value returned by SvIV can
be 32-bit (its width depends on how Perl was built), whereas time_t is 64-bit.

Read the date with SvNV instead: a double represents all real timestamps
exactly, so the conversion to time_t no longer depends on the size of the Perl
integer type.
2026-06-21 08:19:42 +02:00
Sébastien Helleu 1dd423cb23 lua: fix conversion of dates in the API functions
On modern 32-bit platforms with a 64-bit time_t, long is 32-bit but time_t is
64-bit.

Use "long long" for variables cast to time_t.
2026-06-21 07:43:59 +02:00
Sébastien Helleu 8f33a72c99 guile: fix conversion of dates in the API functions
On modern 32-bit platforms with a 64-bit time_t, long is 32-bit but time_t is
64-bit.

Replace calls to scm_to_long by scm_to_long_long.
2026-06-21 07:42:02 +02:00
Sébastien Helleu f4564a1cb0 core, api: remove unneeded cast to time_t
The field `tv_sec` of struct timeval is already time_t, the cast is not needed.
2026-06-20 21:50:25 +02:00
Sébastien Helleu c4dfb16df0 core: use function util_parse_longlong to parse date in command /print 2026-06-20 17:30:42 +02:00
Sébastien Helleu 6facd390fe core: use function util_parse_longlong to parse time in function hdata_set 2026-06-20 17:30:41 +02:00
Sébastien Helleu 2aada3d0ca xfer: use util functions to parse integers 2026-06-20 17:30:41 +02:00
Sébastien Helleu 791c39cc84 trigger: use util functions to parse integers 2026-06-20 17:30:41 +02:00
Sébastien Helleu ce6a214ce1 script: use util functions to parse integers 2026-06-20 17:30:41 +02:00
Sébastien Helleu 3c302e078d relay: use util functions to parse integers 2026-06-20 17:30:41 +02:00
Sébastien Helleu 90761d6350 api: use util functions to parse integers 2026-06-20 17:30:41 +02:00
Sébastien Helleu 4eba4f9a47 python: use function util_parse_int in API function hook_signal_send 2026-06-20 17:30:41 +02:00
Sébastien Helleu fcbb508cd7 javascript: use function util_parse_int in API function hook_signal_send 2026-06-20 17:30:41 +02:00
Sébastien Helleu b49eac6f2d irc: use util functions to parse integers 2026-06-20 17:30:41 +02:00
Sébastien Helleu 9b418b4dc2 fset: use util functions to parse integers 2026-06-20 17:30:41 +02:00
Sébastien Helleu 08b173f9b7 exec: use util functions to parse integers 2026-06-20 17:30:41 +02:00
Sébastien Helleu 42b91aa91d buflist: use util functions to parse integers 2026-06-20 17:30:41 +02:00
Sébastien Helleu 4ac2f6c2ad core: use util functions to parse integers in buffer functions 2026-06-20 17:30:41 +02:00
Sébastien Helleu 3d804810a0 core: use util functions to parse integers in window functions 2026-06-20 17:30:41 +02:00
Sébastien Helleu 987b03da39 core: use util functions to parse integers in nicklist functions 2026-06-20 17:30:41 +02:00
Sébastien Helleu a1f1443fd8 core: use util functions to parse integers in function gui_line_hook_update 2026-06-20 17:30:41 +02:00
Sébastien Helleu ca8312a48c core: use function util_parse_int in function gui_key_grab_init 2026-06-20 17:30:41 +02:00
Sébastien Helleu 971f7b1660 core: use function util_parse_int in function gui_hotlist_clear_level_string 2026-06-20 17:30:41 +02:00
Sébastien Helleu 643f2fab5b core: use function util_parse_int in function gui_focus_info_hashtable_gui_focus_info_cb 2026-06-20 17:30:41 +02:00
Sébastien Helleu 5f36c52935 core: use function util_parse_int in color functions 2026-06-20 17:30:41 +02:00
Sébastien Helleu 92219ba132 core: use function util_parse_longlong in function gui_chat_hsignal_quote_line_cb 2026-06-20 17:30:41 +02:00
Matthew Horan 905a68739e doc/api: note that colors param is supported nicks endpoint 2026-06-20 17:18:23 +02:00
29 changed files with 201 additions and 166 deletions
+15 -5
View File
@@ -115,6 +115,9 @@ jobs:
checks: checks:
env:
POEXAM_VERSION: "0.0.12"
strategy: strategy:
matrix: matrix:
os: os:
@@ -130,13 +133,20 @@ jobs:
run: | run: |
sudo apt-get update -qq sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.CHECK_DEPS_UBUNTU }} sudo apt-get --yes --no-install-recommends install ${{ env.CHECK_DEPS_UBUNTU }}
pipx install msgcheck ruff pipx install ruff
cargo install --version 0.0.11 poexam
- name: Check gettext files (msgcheck) - name: Cache poexam
run: msgcheck po/*.po id: cache-poexam
uses: actions/cache@v6
with:
path: ~/.cargo/bin/poexam
key: poexam-${{ env.POEXAM_VERSION }}-${{ runner.os }}
- name: Check gettext files (poexam) - name: Install poexam
if: steps.cache-poexam.outputs.cache-hit != 'true'
run: cargo install --version "$POEXAM_VERSION" poexam
- name: Check gettext files
run: poexam check --file-stats --rule-stats run: poexam check --file-stats --rule-stats
- name: Check shell and Python scripts - name: Check shell and Python scripts
+2
View File
@@ -28,8 +28,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
- api: fix infinite loop in function string_replace when the search string is empty - api: fix infinite loop in function string_replace when the search string is empty
- irc: fix tag in message with list of names when joining a channel - irc: fix tag in message with list of names when joining a channel
- fset: remove error displayed in core buffer when clicking with the mouse below the last option displayed - fset: remove error displayed in core buffer when clicking with the mouse below the last option displayed
- guile, lua, perl, python, ruby, tcl: fix conversion of dates in the API functions
- irc: limit size of data received from the server to prevent memory exhaustion - irc: limit size of data received from the server to prevent memory exhaustion
- irc: fix out-of-bounds read on incoming DCC command with a quoted filename ending the message ([#2322](https://github.com/weechat/weechat/issues/2322)) - irc: fix out-of-bounds read on incoming DCC command with a quoted filename ending the message ([#2322](https://github.com/weechat/weechat/issues/2322))
- irc: fix conversion of dates in received messages
- relay: limit size of decompressed websocket frame with permessage-deflate to prevent memory exhaustion ([GHSA-v2v4-45wm-5cr3](https://github.com/weechat/weechat/security/advisories/GHSA-v2v4-45wm-5cr3), [CVE-2026-53524](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53524)) - relay: limit size of decompressed websocket frame with permessage-deflate to prevent memory exhaustion ([GHSA-v2v4-45wm-5cr3](https://github.com/weechat/weechat/security/advisories/GHSA-v2v4-45wm-5cr3), [CVE-2026-53524](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53524))
- relay: limit size of received websocket frame and HTTP body to prevent memory exhaustion - relay: limit size of received websocket frame and HTTP body to prevent memory exhaustion
- relay: limit size of partial message received while reading an HTTP request to prevent memory exhaustion - relay: limit size of partial message received while reading an HTTP request to prevent memory exhaustion
+7
View File
@@ -1034,6 +1034,13 @@ Path parameters:
confused with the buffer number, which is different) confused with the buffer number, which is different)
* `buffer_name` (string, **required**): buffer name * `buffer_name` (string, **required**): buffer name
Query parameters:
* `colors` (string, optional, default: `ansi`): how to return strings with color codes:
** `ansi`: return ANSI color codes
** `weechat`: return WeeChat internal color codes
** `strip`: strip colors
Request example: get nicks of a buffer: Request example: get nicks of a buffer:
[source,shell] [source,shell]
+8
View File
@@ -1046,6 +1046,14 @@ Paramètres de chemin :
confondre avec le numéro du tampon, qui est différent) confondre avec le numéro du tampon, qui est différent)
* `buffer_name` (chaîne, **obligatoire**) : nom du tampon * `buffer_name` (chaîne, **obligatoire**) : nom du tampon
Paramètres de requête :
* `colors` (chaîne, facultatif, par défaut : `ansi`) : comment les chaînes avec
des couleurs sont retournées :
** `ansi` : retourner les codes couleur ANSI
** `weechat` : retourner les codes couleur internes WeeChat
** `strip` : supprimer les couleurs
Exemple de requête : obtenir les pseudos d'un tampon : Exemple de requête : obtenir les pseudos d'un tampon :
[source,shell] [source,shell]
+10 -5
View File
@@ -1030,12 +1030,19 @@ GET /api/buffers/{id_бафера}/nicks
GET /api/buffers/{име_бафера}/nicks GET /api/buffers/{име_бафера}/nicks
---- ----
Параметри упита: Параметри путање:
* `id_бафера` (цео број, **обавезно**): јединствени идентификатор бафера (не треба * `id_бафера` (цео број, **обавезно**): јединствени идентификатор бафера (не треба
да се помеша са бројем бафера, то је нешто друго) да се помеша са бројем бафера, то је нешто друго)
* `име_бафера` (стринг, **обавезно**): име бафера * `име_бафера` (стринг, **обавезно**): име бафера
Параметри упита:
* `colors` (стринг, није обавезно, подразумевано: `ansi`): како се враћају стрингови са кодовима боје:
** `ansi`: враћају се ANSI кодови боје
** `weechat`: враћају се WeeChat интерни кодови боје
** `strip`: уклањају се боје
Пример захтева: врати надимке бафера: Пример захтева: врати надимке бафера:
[source,shell] [source,shell]
@@ -1181,12 +1188,10 @@ HTTP/1.1 200 OK
] ]
---- ----
// TRANSLATION MISSING
[[resource_scripts]] [[resource_scripts]]
=== Scripts === Скрипте
// TRANSLATION MISSING Враћа учитане скрипте (на свим језицима).
Return loaded scripts (all languages).
Крајња тачка: Крајња тачка:
+4 -2
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-05-30 14:01+0200\n" "PO-Revision-Date: 2026-05-30 14:01+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: Czech <weechat-dev@nongnu.org>\n" "Language-Team: Czech <weechat-dev@nongnu.org>\n"
@@ -16690,7 +16690,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+11 -12
View File
@@ -1,7 +1,8 @@
# #
# SPDX-FileCopyrightText: 2005 Rudolf Polzer <weechat-te@durchnull.de> # SPDX-FileCopyrightText: 2005 Rudolf Polzer <weechat-te@durchnull.de>
# SPDX-FileCopyrightText: 2006-2007 Thomas Schuetz <i18n@internet-villa.de> # SPDX-FileCopyrightText: 2006-2007 Thomas Schuetz <i18n@internet-villa.de>
# SPDX-FileCopyrightText: 2009-2019, 2023, 2024, 2025 Nils Görs <weechatter@arcor.de> # SPDX-FileCopyrightText: 2009-2026 Nils Görs <weechatter@arcor.de>
# SPDX-FileCopyrightText: 2018 w8rabbit <w8rabbit@mail.i2p>
# SPDX-FileCopyrightText: 2015 Sven Knurr <zeug@tuxproject.de> # SPDX-FileCopyrightText: 2015 Sven Knurr <zeug@tuxproject.de>
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,18 +22,14 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>. # along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
# #
#
# w8rabbit <w8rabbit@mail.i2p>, 2018.
# Nils Görs <>, 2022-2026.
#
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: weechatter@arcor.de\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-06-09 10:41+0200\n" "PO-Revision-Date: 2026-06-28 08:28+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German - Germany <weechat-dev@nongnu.org>\n" "Language-Team: German <weechatter@arcor.de>\n"
"Language: de\n" "Language: de\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@@ -18181,10 +18178,12 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "> type `command_run`: Befehl(e) (erforderlich)" msgstr "> type `command_run`: Befehl(e) (erforderlich)"
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
"> type `timer`: Intervall (erforderlich), an Sekunden anpassen, maximale " "> type `timer`: Intervall (erforderlich, in Millisekunden), an Sekunde "
"Anzahl an Aufrufen" "anpassen, maximale Anzahl an Aufrufen"
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
msgstr "> type `config`: Name der Einstellung (erforderlich)" msgstr "> type `config`: Name der Einstellung (erforderlich)"
+6 -4
View File
@@ -24,10 +24,10 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-05-30 14:01+0200\n" "PO-Revision-Date: 2026-06-28 08:46+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: Spanish - Spain <weechat-dev@nongnu.org>\n" "Language-Team: Spanish <weechat-dev@nongnu.org>\n"
"Language: es\n" "Language: es\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@@ -16980,7 +16980,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+8 -6
View File
@@ -23,10 +23,10 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-06-08 23:14+0200\n" "PO-Revision-Date: 2026-06-28 08:32+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: French - France <weechat-dev@nongnu.org>\n" "Language-Team: French <flashcode@flashtux.org>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@@ -17837,10 +17837,12 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "> type `command_run` : commande(s) (obligatoire)" msgstr "> type `command_run` : commande(s) (obligatoire)"
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
"> type `timer` : intervalle (obligatoire), alignement sur la seconde, nombre " "> type `timer` : intervalle (obligatoire, en millisecondes), alignement sur "
"max d'appels" "la seconde, nombre max d'appels"
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
msgstr "> type `config` : nom(s) de l'option (obligatoire)" msgstr "> type `config` : nom(s) de l'option (obligatoire)"
+4 -2
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-03-08 08:59+0100\n" "PO-Revision-Date: 2026-03-08 08:59+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: Hungarian <weechat-dev@nongnu.org>\n" "Language-Team: Hungarian <weechat-dev@nongnu.org>\n"
@@ -15910,7 +15910,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+4 -2
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-05-30 14:02+0200\n" "PO-Revision-Date: 2026-05-30 14:02+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: Italian <weechat-dev@nongnu.org>\n" "Language-Team: Italian <weechat-dev@nongnu.org>\n"
@@ -17070,7 +17070,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+4 -2
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-05-30 14:02+0200\n" "PO-Revision-Date: 2026-05-30 14:02+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <weechat-dev@nongnu.org>\n" "Language-Team: Japanese <weechat-dev@nongnu.org>\n"
@@ -17645,7 +17645,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+11 -9
View File
@@ -1,5 +1,5 @@
# #
# SPDX-FileCopyrightText: 2009-2016 Krzysztof Koroscik <soltys1@gmail.com> # SPDX-FileCopyrightText: 2009-2026 Krzysztof Koroscik <soltys@soltys.info>
# SPDX-FileCopyrightText: 2010 B.J. Stobiecki <bartek@stobiecki.eu> # SPDX-FileCopyrightText: 2010 B.J. Stobiecki <bartek@stobiecki.eu>
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
@@ -19,21 +19,19 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>. # along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
# #
# Krzysztof Korościk <soltys@soltys.info>, 2018, 2019, 2020.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: soltys@soltys.info\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-05-30 14:02+0200\n" "PO-Revision-Date: 2026-06-28 08:55+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <weechat-dev@nongnu.org>\n" "Language-Team: Polish <soltys@soltys.info>\n"
"Language: pl\n" "Language: pl\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 3.8\n" "X-Generator: Poedit 3.8\n"
#. TRANSLATORS: command line option "-a", "--no-connect" #. TRANSLATORS: command line option "-a", "--no-connect"
@@ -17388,7 +17386,11 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "> typ `command_run`: komenda(-y) (wymagane)" msgstr "> typ `command_run`: komenda(-y) (wymagane)"
msgid "> type `timer`: interval (required), align on second, max calls" #, fuzzy
#| msgid "> type `timer`: interval (required), align on second, max calls"
msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
"> typ `timer`: interwał (wymagany), wyrównane do sekund, maksymalne wywołania" "> typ `timer`: interwał (wymagany), wyrównane do sekund, maksymalne wywołania"
+6 -4
View File
@@ -22,10 +22,10 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-05-30 14:02+0200\n" "PO-Revision-Date: 2026-06-28 08:48+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese - Portugal <weechat-dev@nongnu.org>\n" "Language-Team: Portuguese <weechat-dev@nongnu.org>\n"
"Language: pt\n" "Language: pt\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@@ -17535,7 +17535,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+6 -4
View File
@@ -46,10 +46,10 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-05-30 14:02+0200\n" "PO-Revision-Date: 2026-06-28 08:49+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: Portuguese - Brazil <weechat-dev@nongnu.org>\n" "Language-Team: Portuguese (Brazil) <weechat-dev@nongnu.org>\n"
"Language: pt_BR\n" "Language: pt_BR\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@@ -16466,7 +16466,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+4 -2
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-03-08 08:59+0100\n" "PO-Revision-Date: 2026-03-08 08:59+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: Russian <weechat-dev@nongnu.org>\n" "Language-Team: Russian <weechat-dev@nongnu.org>\n"
@@ -15962,7 +15962,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+28 -48
View File
@@ -21,17 +21,16 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: ivan.pesic@gmail.com\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-05-30 14:02+0200\n" "PO-Revision-Date: 2026-06-28 08:52+0200\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: Serbian <weechat-dev@nongnu.org>\n" "Language-Team: Serbian <ivan.pesic@gmail.com>\n"
"Language: sr\n" "Language: sr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. TRANSLATORS: command line option "-a", "--no-connect" #. TRANSLATORS: command line option "-a", "--no-connect"
msgid "disable auto-connect to servers at startup" msgid "disable auto-connect to servers at startup"
@@ -12664,16 +12663,14 @@ msgstr "%s%s: нисте повезани са сервером"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: овај бафер није канал!" msgstr "%s%s: овај бафер није канал!"
#, fuzzy, c-format #, c-format
#| msgid ""
#| "%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
#| "channel, ($)=refresh, (q)=close buffer"
msgid "" msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Keys: ctrl+j=join channel " "%d channels (total: %d) | Filter: %s | Sort: %s | Keys: ctrl+j=join channel "
"| Input: $=refresh, s:x,y=sort, words=filter, *=reset filter, q=close buffer" "| Input: $=refresh, s:x,y=sort, words=filter, *=reset filter, q=close buffer"
msgstr "" msgstr ""
"%d канала (укупно: %d) | Филтер: %s | Сортирање: %s | Тастер(унос): ctrl+j= " "%d канала (укупно: %d) | Филтер: %s | Сортирање: %s | Тастери: ctrl+j="
"приступ каналу, ($)=освежавање, (q)=затварање бафера" "приступ каналу | Унос: $=освежавање, s:x,y=сортирање, *=ресет филтера, "
"q=затварање бафера"
msgid "Empty list of channels, try \"$\" to refresh list" msgid "Empty list of channels, try \"$\" to refresh list"
msgstr "Празна листа канала, покушајте „$” да освежите листу" msgstr "Празна листа канала, покушајте „$” да освежите листу"
@@ -15679,14 +15676,6 @@ msgstr ""
"relay.network.allow_empty_password) (напомена: садржај се израчунава, " "relay.network.allow_empty_password) (напомена: садржај се израчунава, "
"погледајте /help eval)" "погледајте /help eval)"
#, fuzzy
#| msgid ""
#| "comma separated list of hash algorithms used for password authentication "
#| "in weechat protocol, among these values: \"plain\" (password in plain "
#| "text, not hashed), \"sha256\", \"sha512\", \"pbkdf2+sha256\", "
#| "\"pbkdf2+sha512\"), \"*\" means all algorithms, a name beginning with \"!"
#| "\" is a negative value to prevent an algorithm from being used, wildcard "
#| "\"*\" is allowed in names (examples: \"*\", \"pbkdf2*\", \"*,!plain\")"
msgid "" msgid ""
"comma separated list of hash algorithms used for password authentication in " "comma separated list of hash algorithms used for password authentication in "
"\"api\" and \"weechat\" protocols, among these values: \"plain\" (password " "\"api\" and \"weechat\" protocols, among these values: \"plain\" (password "
@@ -15696,28 +15685,22 @@ msgid ""
"is allowed in names (examples: \"*\", \"pbkdf2*\", \"*,!plain\")" "is allowed in names (examples: \"*\", \"pbkdf2*\", \"*,!plain\")"
msgstr "" msgstr ""
"листа хеш алгоритама раздвојених запетама који се користе за аутентификацију " "листа хеш алгоритама раздвојених запетама који се користе за аутентификацију "
"лозинке у weechat протоколу, могу бити: „plain” (лозинка је чисти текст, не " "лозинке у „api” и „weechat протоколима, који могу бити: „plain” (лозинка је "
"хешира се), „sha256”, „sha512”, „pbkdf2+sha256”, „pbkdf2+sha512”), „*” значи " "чисти текст, не хешира се), „sha256”, „sha512”, „pbkdf2+sha256”, „pbkdf2+"
"сви алгоритми, име које почиње са „!” је негативна вредност којим се " "sha512”), „*” значи сви алгоритми, име које почиње са „!” је негативна "
"спречава употреба тог алгоритма, у именима је дозвољена употреба џокера „*” " "вредност којим се спречава употреба тог алгоритма, у именима је дозвољена "
"(примери: „*”, „pbkdf2*”, „*,!plain”)" "употреба џокера „*” (примери: „*”, „pbkdf2*”, „*,!plain”)"
#, fuzzy
#| msgid ""
#| "number of iterations asked to the client in weechat protocol when a "
#| "hashed password with algorithm PBKDF2 is used for authentication; more "
#| "iterations is better in term of security but is slower to compute; this "
#| "number should not be too high if your CPU is slow"
msgid "" msgid ""
"number of iterations asked to the client in \"api\" and \"weechat\" " "number of iterations asked to the client in \"api\" and \"weechat\" "
"protocols when a hashed password with algorithm PBKDF2 is used for " "protocols when a hashed password with algorithm PBKDF2 is used for "
"authentication; more iterations is better in term of security but is slower " "authentication; more iterations is better in term of security but is slower "
"to compute; this number should not be too high if your CPU is slow" "to compute; this number should not be too high if your CPU is slow"
msgstr "" msgstr ""
"број итерација који се захтева од клијента у weechat протоколу када се за " "број итерација који се захтева од клијента у „api” и „weechat протоколима "
"аутентификацију користи лозинка хеширана PBKDF2 алгоритмом ; више итерација " "када се за аутентификацију користи лозинка хеширана PBKDF2 алгоритмом; више "
"је боље у смислу безбедности, али је спорије за израчунавање; ако је ваш CPU " "итерација је боље у смислу безбедности, али је спорије за израчунавање; ако "
"спор, овај број не би требало да буде сувише велики" "је ваш CPU спор, овај број не би требало да буде сувише велики"
msgid "" msgid ""
"number of seconds to allow before and after the current time for the hash of " "number of seconds to allow before and after the current time for the hash of "
@@ -16303,22 +16286,17 @@ msgstr "(ништа)"
msgid "Alt+key/input: v=back to list d=jump to diff" msgid "Alt+key/input: v=back to list d=jump to diff"
msgstr "Alt+тастер/унос: v=назад на листу d=скок на diff" msgstr "Alt+тастер/унос: v=назад на листу d=скок на diff"
#, fuzzy, c-format #, c-format
#| msgid ""
#| "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install, "
#| "r=remove, l=load, L=reload, u=unload, A=autoload, h=(un)hold, v=view "
#| "script | Input: q=close, $=refresh, s:x,y=sort, words=filter, *=reset "
#| "filter | Mouse: left=select, right=install/remove"
msgid "" msgid ""
"%d/%d scripts | Filter: %s | Sort: %s | Alt+key/input: i=install, r=remove, " "%d/%d scripts | Filter: %s | Sort: %s | Alt+key/input: i=install, r=remove, "
"l=load, L=reload, u=unload, A=autoload, h=(un)hold, v=view script | Input: " "l=load, L=reload, u=unload, A=autoload, h=(un)hold, v=view script | Input: "
"$=refresh, s:x,y=sort, words=filter, *=reset filter, q=close buffer | Mouse: " "$=refresh, s:x,y=sort, words=filter, *=reset filter, q=close buffer | Mouse: "
"left=select, right=install/remove" "left=select, right=install/remove"
msgstr "" msgstr ""
"%d/%d скрипти илтер: %s) | Сортирање: %s | Alt+тастер/унос: i=инсталација, " "%d/%d скрипти | Филтер: %s | Сортирање: %s | Alt+тастер/унос: i=инсталација, "
"r=уклањање, l=учитавање, L=поновно учитавање, u=уклањање из меморије, " "r=уклањање, l=учитавање, L=поновно учитавање, u=уклањање из меморије, "
"A=аутоучитавање, h=задржавање, v=преглед скрипте | Унос: q=затварање, " "A=аутоучитавање, h=задржавање, v=преглед скрипте | Унос: q=затварање, "
"$=освежавање, s:x,y=сортирање, речи=филтер, *=ресет филтера | Миш: " "$=освежавање, s:x,y=сортирање, words=филтер, *=ресет филтера | Миш: "
"леви=избор, десни=инсталација/уклањање" "леви=избор, десни=инсталација/уклањање"
msgid "Scripts" msgid "Scripts"
@@ -16695,10 +16673,8 @@ msgstr "1 ако је скрипта учитана"
msgid "script name with extension" msgid "script name with extension"
msgstr "име скрипте са екстензијом" msgstr "име скрипте са екстензијом"
#, fuzzy
#| msgid "comma separated list of file name extensions for plugins"
msgid "comma-separated list of plugin:extension with supported languages" msgid "comma-separated list of plugin:extension with supported languages"
msgstr "листа екстензија имена фајлова за додатке раздвојених запетама" msgstr "листа додатак:екстензија са подржаним језицима раздвојених запетама"
msgid "script name with extension (wildcard \"*\" is allowed) (optional)" msgid "script name with extension (wildcard \"*\" is allowed) (optional)"
msgstr "име скрипте са екстензијом (дозвољен је џокер „*”) (није обавезно)" msgstr "име скрипте са екстензијом (дозвољен је џокер „*”) (није обавезно)"
@@ -17333,8 +17309,12 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "> тип `command_run`: команд(а/е) (обавезно)" msgstr "> тип `command_run`: команд(а/е) (обавезно)"
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
msgstr "> тип `timer`: интервал (обавезан), поравнање на секунди, макс позива" "> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr ""
"> тип `timer`: интервал (обавезан, у милисекундама), поравнање на секунди, "
"макс позива"
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
msgstr "> тип `config`: име(на) опције (обавезно)" msgstr "> тип `config`: име(на) опције (обавезно)"
+8 -6
View File
@@ -1,6 +1,6 @@
# #
# SPDX-FileCopyrightText: 2013 Hasan Kiran <sunder67@hotmail.com> # SPDX-FileCopyrightText: 2013 Hasan Kiran <sunder67@hotmail.com>
# SPDX-FileCopyrightText: 2020-2025 Emir SARI <emir_sari@icloud.com> # SPDX-FileCopyrightText: 2020-2026 Emir SARI <emir_sari@icloud.com>
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
# #
@@ -22,11 +22,11 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: emir_sari@icloud.com\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2026-05-30 14:02+0200\n" "PO-Revision-Date: 2026-06-28 08:53+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: Turkish <weechat-dev@nongnu.org>\n" "Language-Team: Turkish <emir_sari@icloud.com>\n"
"Language: tr\n" "Language: tr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@@ -17755,7 +17755,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+4 -2
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-06-08 22:23+0200\n" "POT-Creation-Date: 2026-06-23 12:14+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14579,7 +14579,9 @@ msgstr ""
msgid "> type `command_run`: command(s) (required)" msgid "> type `command_run`: command(s) (required)"
msgstr "" msgstr ""
msgid "> type `timer`: interval (required), align on second, max calls" msgid ""
"> type `timer`: interval (required, in milliseconds), align on second, max "
"calls"
msgstr "" msgstr ""
msgid "> type `config`: name(s) of option (required)" msgid "> type `config`: name(s) of option (required)"
+1 -1
View File
@@ -7401,7 +7401,7 @@ command_upgrade_display (struct t_gui_buffer *buffer,
str_first_start[0] = '\0'; str_first_start[0] = '\0';
str_last_start[0] = '\0'; str_last_start[0] = '\0';
weechat_last_start_time = (time_t)weechat_current_start_timeval.tv_sec; weechat_last_start_time = weechat_current_start_timeval.tv_sec;
if (translated_string) if (translated_string)
{ {
+5 -5
View File
@@ -2096,7 +2096,7 @@ weechat_guile_api_print_date_tags (SCM buffer, SCM date, SCM tags, SCM message)
plugin_script_api_printf_date_tags (weechat_guile_plugin, plugin_script_api_printf_date_tags (weechat_guile_plugin,
guile_current_script, guile_current_script,
API_STR2PTR(API_SCM_TO_STRING(buffer)), API_STR2PTR(API_SCM_TO_STRING(buffer)),
(time_t)scm_to_long (date), (time_t)scm_to_long_long (date),
API_SCM_TO_STRING(tags), API_SCM_TO_STRING(tags),
"%s", API_SCM_TO_STRING(message)); "%s", API_SCM_TO_STRING(message));
@@ -2117,7 +2117,7 @@ weechat_guile_api_print_datetime_tags (SCM buffer, SCM date, SCM date_usec,
weechat_guile_plugin, weechat_guile_plugin,
guile_current_script, guile_current_script,
API_STR2PTR(API_SCM_TO_STRING(buffer)), API_STR2PTR(API_SCM_TO_STRING(buffer)),
(time_t)scm_to_long (date), (time_t)scm_to_long_long (date),
scm_to_int (date_usec), scm_to_int (date_usec),
API_SCM_TO_STRING(tags), API_SCM_TO_STRING(tags),
"%s", API_SCM_TO_STRING(message)); "%s", API_SCM_TO_STRING(message));
@@ -2156,7 +2156,7 @@ weechat_guile_api_print_y_date_tags (SCM buffer, SCM y, SCM date, SCM tags,
guile_current_script, guile_current_script,
API_STR2PTR(API_SCM_TO_STRING(buffer)), API_STR2PTR(API_SCM_TO_STRING(buffer)),
scm_to_int (y), scm_to_int (y),
(time_t)scm_to_long (date), (time_t)scm_to_long_long (date),
API_SCM_TO_STRING(tags), API_SCM_TO_STRING(tags),
"%s", API_SCM_TO_STRING(message)); "%s", API_SCM_TO_STRING(message));
@@ -2178,7 +2178,7 @@ weechat_guile_api_print_y_datetime_tags (SCM buffer, SCM y, SCM date,
guile_current_script, guile_current_script,
API_STR2PTR(API_SCM_TO_STRING(buffer)), API_STR2PTR(API_SCM_TO_STRING(buffer)),
scm_to_int (y), scm_to_int (y),
(time_t)scm_to_long (date), (time_t)scm_to_long_long (date),
scm_to_int (date_usec), scm_to_int (date_usec),
API_SCM_TO_STRING(tags), API_SCM_TO_STRING(tags),
"%s", API_SCM_TO_STRING(message)); "%s", API_SCM_TO_STRING(message));
@@ -4748,7 +4748,7 @@ weechat_guile_api_infolist_new_var_time (SCM item, SCM name, SCM value)
result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(API_SCM_TO_STRING(item)), result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(API_SCM_TO_STRING(item)),
API_SCM_TO_STRING(name), API_SCM_TO_STRING(name),
(time_t)scm_to_long (value))); (time_t)scm_to_long_long (value)));
API_RETURN_STRING(result); API_RETURN_STRING(result);
} }
+7 -8
View File
@@ -4710,7 +4710,7 @@ IRC_PROTOCOL_CALLBACK(317)
min = ((idle_time % (60 * 60 * 24)) % (60 * 60)) / 60; min = ((idle_time % (60 * 60 * 24)) % (60 * 60)) / 60;
sec = ((idle_time % (60 * 60 * 24)) % (60 * 60)) % 60; sec = ((idle_time % (60 * 60 * 24)) % (60 * 60)) % 60;
datetime = (time_t)(atol (ctxt->params[3])); datetime = (time_t)(atoll (ctxt->params[3]));
ptr_buffer = irc_msgbuffer_get_target_buffer (ctxt->server, ctxt->params[1], ptr_buffer = irc_msgbuffer_get_target_buffer (ctxt->server, ctxt->params[1],
ctxt->command, "whois", NULL); ctxt->command, "whois", NULL);
@@ -5066,7 +5066,7 @@ IRC_PROTOCOL_CALLBACK(329)
ptr_channel = irc_channel_search (ctxt->server, ctxt->params[1]); ptr_channel = irc_channel_search (ctxt->server, ctxt->params[1]);
datetime = (time_t)(atol (ctxt->params[2])); datetime = (time_t)(atoll (ctxt->params[2]));
if (ptr_channel) if (ptr_channel)
{ {
@@ -5290,8 +5290,7 @@ IRC_PROTOCOL_CALLBACK(333)
ptr_channel = irc_channel_search (ctxt->server, ctxt->params[1]); ptr_channel = irc_channel_search (ctxt->server, ctxt->params[1]);
ptr_nick = (ptr_channel) ? ptr_nick = (ptr_channel) ?
irc_nick_search (ctxt->server, ptr_channel, topic_nick) : NULL; irc_nick_search (ctxt->server, ptr_channel, topic_nick) : NULL;
datetime = (ctxt->num_params > 3) ? datetime = (time_t)(atoll ((ctxt->num_params > 3) ? ctxt->params[3] : ctxt->params[2]));
(time_t)(atol (ctxt->params[3])) : (time_t)(atol (ctxt->params[2]));
if (!topic_nick && (datetime == 0)) if (!topic_nick && (datetime == 0))
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -5598,7 +5597,7 @@ IRC_PROTOCOL_CALLBACK(346)
irc_message_get_address_from_host (ctxt->params[3])); irc_message_get_address_from_host (ctxt->params[3]));
if (ctxt->num_params >= 5) if (ctxt->num_params >= 5)
{ {
datetime = (time_t)(atol (ctxt->params[4])); datetime = (time_t)(atoll (ctxt->params[4]));
if (ptr_modelist) if (ptr_modelist)
irc_modelist_item_new (ptr_modelist, ctxt->params[2], ctxt->params[3], datetime); irc_modelist_item_new (ptr_modelist, ctxt->params[2], ctxt->params[3], datetime);
weechat_printf_datetime_tags ( weechat_printf_datetime_tags (
@@ -5777,7 +5776,7 @@ IRC_PROTOCOL_CALLBACK(348)
irc_message_get_address_from_host (ctxt->params[3])); irc_message_get_address_from_host (ctxt->params[3]));
if (ctxt->num_params >= 5) if (ctxt->num_params >= 5)
{ {
datetime = (time_t)(atol (ctxt->params[4])); datetime = (time_t)(atoll (ctxt->params[4]));
if (ptr_modelist) if (ptr_modelist)
irc_modelist_item_new (ptr_modelist, ctxt->params[2], ctxt->params[3], datetime); irc_modelist_item_new (ptr_modelist, ctxt->params[2], ctxt->params[3], datetime);
weechat_printf_datetime_tags ( weechat_printf_datetime_tags (
@@ -6807,7 +6806,7 @@ IRC_PROTOCOL_CALLBACK(367)
irc_message_get_address_from_host (ctxt->params[3])); irc_message_get_address_from_host (ctxt->params[3]));
if (ctxt->num_params >= 5) if (ctxt->num_params >= 5)
{ {
datetime = (time_t)(atol (ctxt->params[4])); datetime = (time_t)(atoll (ctxt->params[4]));
if (ptr_modelist) if (ptr_modelist)
{ {
irc_modelist_item_new (ptr_modelist, ctxt->params[2], ctxt->params[3], irc_modelist_item_new (ptr_modelist, ctxt->params[2], ctxt->params[3],
@@ -7382,7 +7381,7 @@ IRC_PROTOCOL_CALLBACK(728)
irc_message_get_address_from_host (ctxt->params[4])); irc_message_get_address_from_host (ctxt->params[4]));
if (ctxt->num_params >= 6) if (ctxt->num_params >= 6)
{ {
datetime = (time_t)(atol (ctxt->params[5])); datetime = (time_t)(atoll (ctxt->params[5]));
if (ptr_modelist) if (ptr_modelist)
{ {
irc_modelist_item_new (ptr_modelist, ctxt->params[3], ctxt->params[4], irc_modelist_item_new (ptr_modelist, ctxt->params[3], ctxt->params[4],
+5 -5
View File
@@ -2173,7 +2173,7 @@ API_FUNC(print)
API_FUNC(print_date_tags) API_FUNC(print_date_tags)
{ {
const char *buffer, *tags, *message; const char *buffer, *tags, *message;
long date; long long date;
API_INIT_FUNC(1, "print_date_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "print_date_tags", API_RETURN_ERROR);
if (lua_gettop (L) < 4) if (lua_gettop (L) < 4)
@@ -2197,7 +2197,7 @@ API_FUNC(print_date_tags)
API_FUNC(print_datetime_tags) API_FUNC(print_datetime_tags)
{ {
const char *buffer, *tags, *message; const char *buffer, *tags, *message;
long date; long long date;
int date_usec; int date_usec;
API_INIT_FUNC(1, "print_datetime_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "print_datetime_tags", API_RETURN_ERROR);
@@ -2247,7 +2247,7 @@ API_FUNC(print_y_date_tags)
{ {
const char *buffer, *tags, *message; const char *buffer, *tags, *message;
int y; int y;
long date; long long date;
API_INIT_FUNC(1, "print_y_date_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "print_y_date_tags", API_RETURN_ERROR);
if (lua_gettop (L) < 5) if (lua_gettop (L) < 5)
@@ -2274,7 +2274,7 @@ API_FUNC(print_y_datetime_tags)
{ {
const char *buffer, *tags, *message; const char *buffer, *tags, *message;
int y, date_usec; int y, date_usec;
long date; long long date;
API_INIT_FUNC(1, "print_y_datetime_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "print_y_datetime_tags", API_RETURN_ERROR);
if (lua_gettop (L) < 6) if (lua_gettop (L) < 6)
@@ -5008,7 +5008,7 @@ API_FUNC(infolist_new_var_time)
{ {
const char *item, *name; const char *item, *name;
const char *result; const char *result;
long value; long long value;
API_INIT_FUNC(1, "infolist_new_var_time", API_RETURN_EMPTY); API_INIT_FUNC(1, "infolist_new_var_time", API_RETURN_EMPTY);
if (lua_gettop (L) < 3) if (lua_gettop (L) < 3)
+5 -5
View File
@@ -2106,7 +2106,7 @@ API_FUNC(print_date_tags)
plugin_script_api_printf_date_tags (weechat_perl_plugin, plugin_script_api_printf_date_tags (weechat_perl_plugin,
perl_current_script, perl_current_script,
API_STR2PTR(buffer), API_STR2PTR(buffer),
(time_t)(SvIV (ST (1))), /* date */ (time_t)(SvNV (ST (1))), /* date */
tags, tags,
"%s", message); "%s", message);
@@ -2129,7 +2129,7 @@ API_FUNC(print_datetime_tags)
plugin_script_api_printf_datetime_tags (weechat_perl_plugin, plugin_script_api_printf_datetime_tags (weechat_perl_plugin,
perl_current_script, perl_current_script,
API_STR2PTR(buffer), API_STR2PTR(buffer),
(time_t)(SvIV (ST (1))), /* date */ (time_t)(SvNV (ST (1))), /* date */
SvIV (ST (2)), /* date_usec */ SvIV (ST (2)), /* date_usec */
tags, tags,
"%s", message); "%s", message);
@@ -2175,7 +2175,7 @@ API_FUNC(print_y_date_tags)
perl_current_script, perl_current_script,
API_STR2PTR(buffer), API_STR2PTR(buffer),
SvIV (ST (1)), /* y */ SvIV (ST (1)), /* y */
(time_t)(SvIV (ST (2))), /* date */ (time_t)(SvNV (ST (2))), /* date */
tags, tags,
"%s", message); "%s", message);
@@ -2199,7 +2199,7 @@ API_FUNC(print_y_datetime_tags)
perl_current_script, perl_current_script,
API_STR2PTR(buffer), API_STR2PTR(buffer),
SvIV (ST (1)), /* y */ SvIV (ST (1)), /* y */
(time_t)(SvIV (ST (2))), /* date */ (time_t)(SvNV (ST (2))), /* date */
SvIV (ST (3)), /* date_usec */ SvIV (ST (3)), /* date_usec */
tags, tags,
"%s", message); "%s", message);
@@ -4940,7 +4940,7 @@ API_FUNC(infolist_new_var_time)
result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(item), result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(item),
name, name,
(time_t)(SvIV (ST (2))))); /* value */ (time_t)(SvNV (ST (2))))); /* value */
API_RETURN_STRING(result); API_RETURN_STRING(result);
} }
+1 -1
View File
@@ -1042,7 +1042,7 @@ plugin_api_info_uptime_current_cb (const void *pointer, void *data,
(void) info_name; (void) info_name;
return plugin_api_info_build_uptime ( return plugin_api_info_build_uptime (
(time_t)weechat_current_start_timeval.tv_sec, weechat_current_start_timeval.tv_sec,
arguments); arguments);
} }
+10 -10
View File
@@ -2093,14 +2093,14 @@ API_FUNC(prnt)
API_FUNC(prnt_date_tags) API_FUNC(prnt_date_tags)
{ {
char *buffer, *tags, *message; char *buffer, *tags, *message;
long date; long long date;
API_INIT_FUNC(1, "prnt_date_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "prnt_date_tags", API_RETURN_ERROR);
buffer = NULL; buffer = NULL;
date = 0; date = 0;
tags = NULL; tags = NULL;
message = NULL; message = NULL;
if (!PyArg_ParseTuple (args, "slss", &buffer, &date, &tags, &message)) if (!PyArg_ParseTuple (args, "sLss", &buffer, &date, &tags, &message))
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
plugin_script_api_printf_date_tags (weechat_python_plugin, plugin_script_api_printf_date_tags (weechat_python_plugin,
@@ -2116,7 +2116,7 @@ API_FUNC(prnt_date_tags)
API_FUNC(prnt_datetime_tags) API_FUNC(prnt_datetime_tags)
{ {
char *buffer, *tags, *message; char *buffer, *tags, *message;
long date; long long date;
int date_usec; int date_usec;
API_INIT_FUNC(1, "prnt_datetime_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "prnt_datetime_tags", API_RETURN_ERROR);
@@ -2125,7 +2125,7 @@ API_FUNC(prnt_datetime_tags)
date_usec = 0; date_usec = 0;
tags = NULL; tags = NULL;
message = NULL; message = NULL;
if (!PyArg_ParseTuple (args, "sliss", &buffer, &date, &date_usec, &tags, if (!PyArg_ParseTuple (args, "sLiss", &buffer, &date, &date_usec, &tags,
&message)) &message))
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
@@ -2165,7 +2165,7 @@ API_FUNC(prnt_y_date_tags)
{ {
char *buffer, *tags, *message; char *buffer, *tags, *message;
int y; int y;
long date; long long date;
API_INIT_FUNC(1, "prnt_y_date_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "prnt_y_date_tags", API_RETURN_ERROR);
buffer = NULL; buffer = NULL;
@@ -2173,7 +2173,7 @@ API_FUNC(prnt_y_date_tags)
date = 0; date = 0;
tags = NULL; tags = NULL;
message = NULL; message = NULL;
if (!PyArg_ParseTuple (args, "silss", &buffer, &y, &date, &tags, &message)) if (!PyArg_ParseTuple (args, "siLss", &buffer, &y, &date, &tags, &message))
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
plugin_script_api_printf_y_date_tags (weechat_python_plugin, plugin_script_api_printf_y_date_tags (weechat_python_plugin,
@@ -2191,7 +2191,7 @@ API_FUNC(prnt_y_datetime_tags)
{ {
char *buffer, *tags, *message; char *buffer, *tags, *message;
int y; int y;
long date; long long date;
int date_usec; int date_usec;
API_INIT_FUNC(1, "prnt_y_datetime_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "prnt_y_datetime_tags", API_RETURN_ERROR);
@@ -2201,7 +2201,7 @@ API_FUNC(prnt_y_datetime_tags)
date_usec = 0; date_usec = 0;
tags = NULL; tags = NULL;
message = NULL; message = NULL;
if (!PyArg_ParseTuple (args, "siliss", &buffer, &y, &date, &date_usec, if (!PyArg_ParseTuple (args, "siLiss", &buffer, &y, &date, &date_usec,
&tags, &message)) &tags, &message))
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
@@ -4904,13 +4904,13 @@ API_FUNC(infolist_new_var_time)
{ {
char *item, *name; char *item, *name;
const char *result; const char *result;
long value; long long value;
API_INIT_FUNC(1, "infolist_new_var_time", API_RETURN_EMPTY); API_INIT_FUNC(1, "infolist_new_var_time", API_RETURN_EMPTY);
item = NULL; item = NULL;
name = NULL; name = NULL;
value = 0; value = 0;
if (!PyArg_ParseTuple (args, "ssl", &item, &name, &value)) if (!PyArg_ParseTuple (args, "ssL", &item, &name, &value))
API_WRONG_ARGS(API_RETURN_EMPTY); API_WRONG_ARGS(API_RETURN_EMPTY);
result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(item), result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(item),
+5 -5
View File
@@ -2604,7 +2604,7 @@ weechat_ruby_api_print_date_tags (VALUE class, VALUE buffer, VALUE date,
Check_Type (message, T_STRING); Check_Type (message, T_STRING);
c_buffer = StringValuePtr (buffer); c_buffer = StringValuePtr (buffer);
c_date = NUM2ULONG (date); c_date = NUM2ULL (date);
c_tags = StringValuePtr (tags); c_tags = StringValuePtr (tags);
c_message = StringValuePtr (message); c_message = StringValuePtr (message);
@@ -2639,7 +2639,7 @@ weechat_ruby_api_print_datetime_tags (VALUE class, VALUE buffer, VALUE date,
Check_Type (message, T_STRING); Check_Type (message, T_STRING);
c_buffer = StringValuePtr (buffer); c_buffer = StringValuePtr (buffer);
c_date = NUM2ULONG (date); c_date = NUM2ULL (date);
c_date_usec = NUM2INT (date_usec); c_date_usec = NUM2INT (date_usec);
c_tags = StringValuePtr (tags); c_tags = StringValuePtr (tags);
c_message = StringValuePtr (message); c_message = StringValuePtr (message);
@@ -2703,7 +2703,7 @@ weechat_ruby_api_print_y_date_tags (VALUE class, VALUE buffer, VALUE y,
c_buffer = StringValuePtr (buffer); c_buffer = StringValuePtr (buffer);
c_y = NUM2INT (y); c_y = NUM2INT (y);
c_date = NUM2ULONG (date); c_date = NUM2ULL (date);
c_tags = StringValuePtr (tags); c_tags = StringValuePtr (tags);
c_message = StringValuePtr (message); c_message = StringValuePtr (message);
@@ -2741,7 +2741,7 @@ weechat_ruby_api_print_y_datetime_tags (VALUE class, VALUE buffer, VALUE y,
c_buffer = StringValuePtr (buffer); c_buffer = StringValuePtr (buffer);
c_y = NUM2INT (y); c_y = NUM2INT (y);
c_date = NUM2ULONG (date); c_date = NUM2ULL (date);
c_date_usec = NUM2INT (date_usec); c_date_usec = NUM2INT (date_usec);
c_tags = StringValuePtr (tags); c_tags = StringValuePtr (tags);
c_message = StringValuePtr (message); c_message = StringValuePtr (message);
@@ -6040,7 +6040,7 @@ weechat_ruby_api_infolist_new_var_time (VALUE class, VALUE item,
c_item = StringValuePtr (item); c_item = StringValuePtr (item);
c_name = StringValuePtr (name); c_name = StringValuePtr (name);
c_value = NUM2ULONG (value); c_value = NUM2ULL (value);
result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(c_item), result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(c_item),
c_name, c_name,
+10 -10
View File
@@ -2123,13 +2123,13 @@ API_FUNC(print)
API_FUNC(print_date_tags) API_FUNC(print_date_tags)
{ {
char *buffer, *tags, *message; char *buffer, *tags, *message;
long date; Tcl_WideInt date;
API_INIT_FUNC(1, "print_date_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "print_date_tags", API_RETURN_ERROR);
if (objc < 5) if (objc < 5)
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
if (Tcl_GetLongFromObj (interp, objv[2], &date) != TCL_OK) if (Tcl_GetWideIntFromObj (interp, objv[2], &date) != TCL_OK)
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
buffer = Tcl_GetString (objv[1]); buffer = Tcl_GetString (objv[1]);
@@ -2150,13 +2150,13 @@ API_FUNC(print_datetime_tags)
{ {
char *buffer, *tags, *message; char *buffer, *tags, *message;
int date_usec; int date_usec;
long date; Tcl_WideInt date;
API_INIT_FUNC(1, "print_datetime_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "print_datetime_tags", API_RETURN_ERROR);
if (objc < 6) if (objc < 6)
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
if (Tcl_GetLongFromObj (interp, objv[2], &date) != TCL_OK) if (Tcl_GetWideIntFromObj (interp, objv[2], &date) != TCL_OK)
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
if (Tcl_GetIntFromObj (interp, objv[3], &date_usec) != TCL_OK) if (Tcl_GetIntFromObj (interp, objv[3], &date_usec) != TCL_OK)
@@ -2205,7 +2205,7 @@ API_FUNC(print_y_date_tags)
{ {
char *buffer, *tags, *message; char *buffer, *tags, *message;
int y; int y;
long date; Tcl_WideInt date;
API_INIT_FUNC(1, "print_y_date_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "print_y_date_tags", API_RETURN_ERROR);
if (objc < 6) if (objc < 6)
@@ -2214,7 +2214,7 @@ API_FUNC(print_y_date_tags)
if (Tcl_GetIntFromObj (interp, objv[2], &y) != TCL_OK) if (Tcl_GetIntFromObj (interp, objv[2], &y) != TCL_OK)
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
if (Tcl_GetLongFromObj (interp, objv[3], &date) != TCL_OK) if (Tcl_GetWideIntFromObj (interp, objv[3], &date) != TCL_OK)
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
buffer = Tcl_GetString (objv[1]); buffer = Tcl_GetString (objv[1]);
@@ -2236,7 +2236,7 @@ API_FUNC(print_y_datetime_tags)
{ {
char *buffer, *tags, *message; char *buffer, *tags, *message;
int y, date_usec; int y, date_usec;
long date; Tcl_WideInt date;
API_INIT_FUNC(1, "print_y_datetime_tags", API_RETURN_ERROR); API_INIT_FUNC(1, "print_y_datetime_tags", API_RETURN_ERROR);
if (objc < 7) if (objc < 7)
@@ -2245,7 +2245,7 @@ API_FUNC(print_y_datetime_tags)
if (Tcl_GetIntFromObj (interp, objv[2], &y) != TCL_OK) if (Tcl_GetIntFromObj (interp, objv[2], &y) != TCL_OK)
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
if (Tcl_GetLongFromObj (interp, objv[3], &date) != TCL_OK) if (Tcl_GetWideIntFromObj (interp, objv[3], &date) != TCL_OK)
API_WRONG_ARGS(API_RETURN_ERROR); API_WRONG_ARGS(API_RETURN_ERROR);
if (Tcl_GetIntFromObj (interp, objv[4], &date_usec) != TCL_OK) if (Tcl_GetIntFromObj (interp, objv[4], &date_usec) != TCL_OK)
@@ -4942,13 +4942,13 @@ API_FUNC(infolist_new_var_pointer)
API_FUNC(infolist_new_var_time) API_FUNC(infolist_new_var_time)
{ {
const char *result; const char *result;
long value; Tcl_WideInt value;
API_INIT_FUNC(1, "infolist_new_var_time", API_RETURN_EMPTY); API_INIT_FUNC(1, "infolist_new_var_time", API_RETURN_EMPTY);
if (objc < 4) if (objc < 4)
API_WRONG_ARGS(API_RETURN_EMPTY); API_WRONG_ARGS(API_RETURN_EMPTY);
if (Tcl_GetLongFromObj (interp, objv[3], &value) != TCL_OK) if (Tcl_GetWideIntFromObj (interp, objv[3], &value) != TCL_OK)
API_WRONG_ARGS(API_RETURN_EMPTY); API_WRONG_ARGS(API_RETURN_EMPTY);
result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(Tcl_GetString (objv[1])), /* item */ result = API_PTR2STR(weechat_infolist_new_var_time (API_STR2PTR(Tcl_GetString (objv[1])), /* item */
+2 -1
View File
@@ -1305,7 +1305,8 @@ trigger_command_init (void)
"are evaluated, \"${tg_trigger_name}\" is replaced by the trigger " "are evaluated, \"${tg_trigger_name}\" is replaced by the trigger "
"name, see /help eval)"), "name, see /help eval)"),
N_("> type `command_run`: command(s) (required)"), N_("> type `command_run`: command(s) (required)"),
N_("> type `timer`: interval (required), align on second, max calls"), N_("> type `timer`: interval (required, in milliseconds), "
"align on second, max calls"),
N_("> type `config`: name(s) of option (required)"), N_("> type `config`: name(s) of option (required)"),
N_("> type `focus`: name(s) of area (required)"), N_("> type `focus`: name(s) of area (required)"),
N_("> type `info`: name(s) of info (required)"), N_("> type `info`: name(s) of info (required)"),