summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.asciidoc1
-rw-r--r--doc/de/autogen/user/script_options.txt2
-rw-r--r--doc/en/autogen/user/script_options.txt2
-rw-r--r--doc/fr/autogen/user/script_options.txt2
-rw-r--r--doc/it/autogen/user/script_options.txt2
-rw-r--r--doc/ja/autogen/user/script_options.txt2
-rw-r--r--doc/pl/autogen/user/script_options.txt2
-rw-r--r--src/plugins/script/script-config.c2
8 files changed, 8 insertions, 7 deletions
diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc
index 482f74085..decd7fe2d 100644
--- a/ChangeLog.asciidoc
+++ b/ChangeLog.asciidoc
@@ -88,6 +88,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* rmodifier: remove plugin (replaced by trigger)
* ruby: fix crash when trying to load a directory with /ruby load
* ruby: add detection of Ruby 2.1
+* script: set option script.scripts.cache_expire to 1440 by default
* script: fix scroll on script buffer in the detailed view of script
(closes #6)
* scripts: fix crash when a signal is received with type "int" and NULL pointer
diff --git a/doc/de/autogen/user/script_options.txt b/doc/de/autogen/user/script_options.txt
index 1135e7d27..d6029bd9f 100644
--- a/doc/de/autogen/user/script_options.txt
+++ b/doc/de/autogen/user/script_options.txt
@@ -176,7 +176,7 @@
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** Beschreibung: `Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = umgehend)`
** Typ: integer
-** Werte: -1 .. 525600 (Standardwert: `60`)
+** Werte: -1 .. 525600 (Standardwert: `1440`)
* [[option_script.scripts.dir]] *script.scripts.dir*
** Beschreibung: `lokales Cache-Verzeichnis für Skripten`
diff --git a/doc/en/autogen/user/script_options.txt b/doc/en/autogen/user/script_options.txt
index ed022ebf4..ed8d77b1f 100644
--- a/doc/en/autogen/user/script_options.txt
+++ b/doc/en/autogen/user/script_options.txt
@@ -176,7 +176,7 @@
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** description: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
** type: integer
-** values: -1 .. 525600 (default value: `60`)
+** values: -1 .. 525600 (default value: `1440`)
* [[option_script.scripts.dir]] *script.scripts.dir*
** description: `local cache directory for scripts`
diff --git a/doc/fr/autogen/user/script_options.txt b/doc/fr/autogen/user/script_options.txt
index 1f8987b60..e237db94f 100644
--- a/doc/fr/autogen/user/script_options.txt
+++ b/doc/fr/autogen/user/script_options.txt
@@ -176,7 +176,7 @@
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** description: `temps d'expiration du cache local, en minutes (-1 = n'expire jamais, 0 = expire toujours)`
** type: entier
-** valeurs: -1 .. 525600 (valeur par défaut: `60`)
+** valeurs: -1 .. 525600 (valeur par défaut: `1440`)
* [[option_script.scripts.dir]] *script.scripts.dir*
** description: `répertoire du cache local pour les scripts`
diff --git a/doc/it/autogen/user/script_options.txt b/doc/it/autogen/user/script_options.txt
index 853810bd2..c0f33a0be 100644
--- a/doc/it/autogen/user/script_options.txt
+++ b/doc/it/autogen/user/script_options.txt
@@ -176,7 +176,7 @@
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** descrizione: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
** tipo: intero
-** valori: -1 .. 525600 (valore predefinito: `60`)
+** valori: -1 .. 525600 (valore predefinito: `1440`)
* [[option_script.scripts.dir]] *script.scripts.dir*
** descrizione: `directory locale della cache per gli script`
diff --git a/doc/ja/autogen/user/script_options.txt b/doc/ja/autogen/user/script_options.txt
index 1d4fd213e..e35fc96d6 100644
--- a/doc/ja/autogen/user/script_options.txt
+++ b/doc/ja/autogen/user/script_options.txt
@@ -176,7 +176,7 @@
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** 説明: `ローカルキャッシュが無効になる時間、分単位 (-1 = 再取得しない、0 = 常に再取得)`
** タイプ: 整数
-** 値: -1 .. 525600 (デフォルト値: `60`)
+** 値: -1 .. 525600 (デフォルト値: `1440`)
* [[option_script.scripts.dir]] *script.scripts.dir*
** 説明: `スクリプトのローカルキャッシュディレクトリ`
diff --git a/doc/pl/autogen/user/script_options.txt b/doc/pl/autogen/user/script_options.txt
index e736dc1c7..0e78f1462 100644
--- a/doc/pl/autogen/user/script_options.txt
+++ b/doc/pl/autogen/user/script_options.txt
@@ -176,7 +176,7 @@
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** opis: `lokalnie zapisany czas wygaśnięcia, w minutach (-1 = nigdy nie wygasa, 0 = zawsze wygasa)`
** typ: liczba
-** wartości: -1 .. 525600 (domyślna wartość: `60`)
+** wartości: -1 .. 525600 (domyślna wartość: `1440`)
* [[option_script.scripts.dir]] *script.scripts.dir*
** opis: `lokalny katalog dla skryptów`
diff --git a/src/plugins/script/script-config.c b/src/plugins/script/script-config.c
index c4c175ad1..5ad4dae90 100644
--- a/src/plugins/script/script-config.c
+++ b/src/plugins/script/script-config.c
@@ -683,7 +683,7 @@ script_config_init ()
"cache_expire", "integer",
N_("local cache expiration time, in minutes (-1 = never expires, "
"0 = always expire)"),
- NULL, -1, 525600, "60", NULL, 0, NULL, NULL,
+ NULL, -1, 525600, "1440", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
script_config_scripts_dir = weechat_config_new_option (
script_config_file, ptr_section,