mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 22:24:47 +02:00
Compare commits
624 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a98f747e6 | |||
| dc034e2685 | |||
| a0bba1325a | |||
| 484f679e60 | |||
| fdb1ff3781 | |||
| 193aa0448f | |||
| 3932cf5a00 | |||
| 8555cf465e | |||
| 11f0d57dfd | |||
| 1fd5dd4c34 | |||
| 1fec7e8856 | |||
| 236d22e364 | |||
| 4d3a3c67ac | |||
| ae61137216 | |||
| 6bb4bed8bb | |||
| 92cdcee8f6 | |||
| b2b110f1a3 | |||
| 89400cbf7a | |||
| e0c117e14f | |||
| b978de5f84 | |||
| fd43ad6387 | |||
| 009a7821b1 | |||
| 5cfcec7212 | |||
| c6671fc9db | |||
| 8295ea6da8 | |||
| 9817372553 | |||
| 486df38a8d | |||
| 76d4cc7e3f | |||
| 135960859d | |||
| 9f62c4a842 | |||
| 7711ed95c5 | |||
| 26e6fdc645 | |||
| e7b6e8c60f | |||
| 4d74a89cfc | |||
| be6a29a596 | |||
| 34c043453b | |||
| 6f8aab186d | |||
| 201b24a02a | |||
| 01cf98e8fb | |||
| d7c0e896b2 | |||
| 389f9f436b | |||
| fe62d93dd0 | |||
| d5c285f0a6 | |||
| a00edcf50e | |||
| be7380f9b3 | |||
| 5284921701 | |||
| 36d2e7427e | |||
| 0df582c7c1 | |||
| a99fc17d40 | |||
| 2b2ba62600 | |||
| 21683def12 | |||
| 96c22c41ba | |||
| ba27ec8d65 | |||
| c6d8b54459 | |||
| 82f59d2a98 | |||
| 731f7e4243 | |||
| 2178440b7c | |||
| 57af62c1c0 | |||
| 742773e070 | |||
| ac646da4fb | |||
| 9cb68b13a9 | |||
| 5070a6330c | |||
| d5cbd6c49a | |||
| 2a32456f19 | |||
| b0bf2fbc97 | |||
| e8524ea2c4 | |||
| 7cf9399616 | |||
| 68ecfb16a1 | |||
| f5604510cd | |||
| 0090695f7d | |||
| e614410815 | |||
| fb14e67364 | |||
| a31de83a3c | |||
| b26fb7fba6 | |||
| 0f67f55098 | |||
| 1ce2d7f56d | |||
| 223eefef67 | |||
| aee3da5452 | |||
| d3b84eaf6c | |||
| ac50a5dda7 | |||
| a36fa2faea | |||
| 1e0d59a5e6 | |||
| 06b6f457d9 | |||
| 57c0a82557 | |||
| dd65938a85 | |||
| ff417f88ea | |||
| 2857b7b4b7 | |||
| a8080505f3 | |||
| bbe8afcbd4 | |||
| 25f25073b9 | |||
| d068fe0de5 | |||
| d91cddc909 | |||
| 9fd71067e7 | |||
| 441d532f15 | |||
| 57c9f371bc | |||
| 4fa278c2c3 | |||
| 0edae0d93d | |||
| fbc2e86d0e | |||
| 06622b5acb | |||
| 9bb903cbc8 | |||
| e9b8c9b6aa | |||
| b0eb3c9347 | |||
| 2102ef742b | |||
| 5d51e7286c | |||
| fe892460ba | |||
| 0bb7a34748 | |||
| ee1efedbd7 | |||
| 492a68b3de | |||
| 2bd3d32f0d | |||
| 6b28cc001f | |||
| 23707a12ea | |||
| a7364d055b | |||
| 4d4a6f99f9 | |||
| a4c73b9ae7 | |||
| 3bc0453cae | |||
| 2ed281af02 | |||
| 05abbac297 | |||
| 237c37e719 | |||
| 39f2b2f7b9 | |||
| 8f6395e889 | |||
| 53df45de48 | |||
| bcb8647aa4 | |||
| b1404b0277 | |||
| 1514570ff0 | |||
| 2475ba43a3 | |||
| d2c2f9e6cd | |||
| d8abdc57ee | |||
| e77ea9dc26 | |||
| 324f0aaa2d | |||
| ae273b2714 | |||
| 06a05fd674 | |||
| a50143fdf8 | |||
| 56b82fb115 | |||
| 9b4f52ac13 | |||
| 906ac1d1e1 | |||
| 2a145d7cc1 | |||
| 68ad24f2df | |||
| 1796634d83 | |||
| a37c46c21e | |||
| d43b9e99c1 | |||
| d5c4342bce | |||
| 569c93c6fb | |||
| 96ed471261 | |||
| 6b59fc8557 | |||
| b7441bd7a3 | |||
| 62e68f965f | |||
| 0440309cee | |||
| e057c16b36 | |||
| c4cade3550 | |||
| e5a159c74f | |||
| b74aa71442 | |||
| 8fb7987633 | |||
| bb76a5d266 | |||
| db21a0da90 | |||
| 7508337240 | |||
| 98375b8ffc | |||
| d6d83474c7 | |||
| 43bafa59d8 | |||
| e8c255770f | |||
| 59a4142b00 | |||
| dbc59965ac | |||
| 6ffebec1a6 | |||
| 1c7b431bc8 | |||
| 749bc26926 | |||
| 9ac9dc7023 | |||
| bbf55b734c | |||
| 2095887be9 | |||
| fa05f75b74 | |||
| a96d2c28fb | |||
| 4a115fdedd | |||
| 3a0e54d236 | |||
| 24fe646c4e | |||
| 8cf5848116 | |||
| 3e1a5b4447 | |||
| 1fb82b4062 | |||
| d4dc1467c9 | |||
| c64bdeaed3 | |||
| 37ed420108 | |||
| b825ce49c2 | |||
| 33bf2dec43 | |||
| 0fe3661eab | |||
| aee4d283c9 | |||
| d3cdccc274 | |||
| 42a0a19828 | |||
| 8788fcedc8 | |||
| 84e6e84347 | |||
| 38efd63012 | |||
| 031819173b | |||
| de3d670ca7 | |||
| d2394f6432 | |||
| 2c4bad8120 | |||
| 8ac67ff540 | |||
| b8ef7e2f65 | |||
| 21ca625f10 | |||
| 9644df21ad | |||
| 17ae43aa03 | |||
| 487406cfd9 | |||
| cd4db84feb | |||
| 55a796f30b | |||
| d81813cd6a | |||
| 2006c2c940 | |||
| f3d2f9bbe1 | |||
| 2c61a24413 | |||
| 10501a34fe | |||
| 99dcdae5b0 | |||
| 86f110db98 | |||
| a1a9303b14 | |||
| 5ef4731c62 | |||
| 007958e82c | |||
| 5876a8335f | |||
| cefed25912 | |||
| 79438c72e1 | |||
| d99fe0bc76 | |||
| 540ff62c60 | |||
| 3e8580b5e5 | |||
| 0f1f9bc87f | |||
| f0572474d4 | |||
| d4d8117461 | |||
| 4d8df89bb5 | |||
| b7f3127bf8 | |||
| f69ef840e0 | |||
| e46d2567ea | |||
| 8be5759ef7 | |||
| 78317f8b55 | |||
| d16640130e | |||
| 95cf2aa956 | |||
| dc367a83f6 | |||
| 2a2428902b | |||
| 51ed9ec93e | |||
| 46033a7ee9 | |||
| a2e43a732e | |||
| 674f52bf58 | |||
| 0af960dbde | |||
| 07b54a9932 | |||
| 9fceaa465d | |||
| 94555e043c | |||
| f02b172716 | |||
| 9b1184e180 | |||
| f39553152f | |||
| 89f49040f3 | |||
| 95d0b89d1d | |||
| 01f9bcbaba | |||
| 6fb6fad7e9 | |||
| 0e6497612c | |||
| a794bf39bb | |||
| 5f543f26cc | |||
| 0d8ced6c32 | |||
| db28e2133d | |||
| bab175f5b4 | |||
| d3b42fae83 | |||
| ef41998179 | |||
| 05e65cdd31 | |||
| 872ff1cc6d | |||
| 8123cb3e0b | |||
| 15e11ecc0c | |||
| 827db6dc31 | |||
| 44e0414970 | |||
| 9a19cc5d59 | |||
| 3289bd2882 | |||
| 6e75f93e1f | |||
| 13482b38d0 | |||
| 6004139098 | |||
| 116f533e0d | |||
| c943d3507f | |||
| 869279e9b6 | |||
| 947ca33c14 | |||
| 44ec7e8cfa | |||
| 4629b17173 | |||
| e5e3a9d2da | |||
| fbbed9fbf7 | |||
| 310b4dd2a0 | |||
| 55f1655064 | |||
| 55aa40e087 | |||
| 68f395d433 | |||
| 22a36665e3 | |||
| 65e08ffe07 | |||
| 8781187771 | |||
| 197a7a01e4 | |||
| 47e71a1bbd | |||
| 3a4a9459e7 | |||
| cd6b83470e | |||
| 3f9c46468c | |||
| 9a286c65c6 | |||
| aadd0772fe | |||
| bb03e18425 | |||
| 5d809df6ed | |||
| 74ba21a8c4 | |||
| 02bdf854bc | |||
| 8c66070136 | |||
| 9cfdb4a324 | |||
| c1e65e8edd | |||
| f81a0dc4d9 | |||
| d06f1e8486 | |||
| ffb6cc3208 | |||
| dc779b5179 | |||
| 7228262591 | |||
| e4f93a7f30 | |||
| fd27faf899 | |||
| 7486ea6dc1 | |||
| 9e9e252ff3 | |||
| db368b5824 | |||
| 214e3cb1c2 | |||
| b4a14ef1dd | |||
| 40ff9beb10 | |||
| d359e8135e | |||
| 8700e0bb36 | |||
| 601bd7e0b8 | |||
| d3a9ce29fc | |||
| f39c6a58d0 | |||
| 4068dc8da5 | |||
| 7051c0fc2b | |||
| 7f8e5b892d | |||
| e0db08c782 | |||
| 6fbfb2f476 | |||
| a2bb57bf82 | |||
| ba7ff87d19 | |||
| d7c8b16c4f | |||
| d0c857934b | |||
| e8c59e1f5b | |||
| ec86c33789 | |||
| 608f56020d | |||
| 9259442dbf | |||
| bf3241208b | |||
| 28d6b71d9e | |||
| 083662cb34 | |||
| bf9cf3875f | |||
| fc2f564950 | |||
| efaf88d857 | |||
| 05a9457504 | |||
| 3110740777 | |||
| a62f8f6f75 | |||
| 05eb897771 | |||
| 113f93e5db | |||
| f2aef8c13c | |||
| 3983f01ee7 | |||
| 0ebf3dbede | |||
| 13fb3649dd | |||
| 6a88bbb4cc | |||
| b018f8d5c8 | |||
| 574f1837f9 | |||
| 5172f20217 | |||
| ab7c4c0147 | |||
| 28fc2e7cbf | |||
| 2d6ab2ec0a | |||
| c44b79dce7 | |||
| ab12d384ea | |||
| c775242a4c | |||
| 619f09f2d6 | |||
| e6f65122a9 | |||
| 50167ca96f | |||
| b54d06630d | |||
| c13aa86c79 | |||
| bda7bb64d2 | |||
| dee7313fcc | |||
| 305608ce89 | |||
| f8915129bf | |||
| 0e57d01076 | |||
| 286338f627 | |||
| 9bbab7ff02 | |||
| 6670fd2a87 | |||
| 0d6b18bc54 | |||
| 8c49475f75 | |||
| 08e0d3912a | |||
| 532d46bb93 | |||
| b66298d369 | |||
| 5c6fc8c4bd | |||
| ee96b9b867 | |||
| 1c022d3bda | |||
| dd2b19ec42 | |||
| df0506dbdf | |||
| 93eafae2fe | |||
| 7fb1dd94cc | |||
| c8a8680d60 | |||
| af067f18e2 | |||
| 454c0acbcf | |||
| 498194f6fc | |||
| d5c391b1ee | |||
| 20e219a2c9 | |||
| abb7d3642a | |||
| 7f2cce2970 | |||
| 7a0fdd1966 | |||
| fae6bbb40e | |||
| 5bb56e0f57 | |||
| 5de21ddfc0 | |||
| 778594d68f | |||
| 37d4d2ac65 | |||
| 2376b6aa5e | |||
| 5a24ffd951 | |||
| a1cc70b752 | |||
| 1cedb78348 | |||
| 0123abb83e | |||
| 463517bd1e | |||
| 46f3bee2ff | |||
| d80b27af64 | |||
| e2d44181d7 | |||
| ba4f762964 | |||
| dad3e6099c | |||
| 5208552a98 | |||
| 07721d3dc1 | |||
| d236171035 | |||
| a4d560e0aa | |||
| 7bf0a5c734 | |||
| 10a8732d41 | |||
| fd017ce474 | |||
| 1c0d8f5fd3 | |||
| 160ffe8e11 | |||
| 4c7b898666 | |||
| 391d0a18a1 | |||
| a5db952842 | |||
| 7cb5147e74 | |||
| a5ffd8b800 | |||
| 66384544b5 | |||
| c88428fb41 | |||
| 71991fcc73 | |||
| b82a9c44fd | |||
| 637c7bb3d4 | |||
| 268cb53238 | |||
| 9e721d0ad5 | |||
| 287d5146b4 | |||
| 1cfb5e5d1e | |||
| 866fef2595 | |||
| 2dabce9ac8 | |||
| f33e9b6737 | |||
| 50cea48b51 | |||
| ae891ab322 | |||
| 0a14441d35 | |||
| f2310dae42 | |||
| 67a364550f | |||
| 64592951b5 | |||
| 3a38879590 | |||
| d447755b1f | |||
| 2564fa2882 | |||
| 928ed152ed | |||
| 7014322b2e | |||
| 9b6606394c | |||
| 198872c027 | |||
| c8776b14f6 | |||
| 35c26fb001 | |||
| eca9c89747 | |||
| aed64f5020 | |||
| 266233636d | |||
| be753046b7 | |||
| 15f5bc7944 | |||
| 27a480c7d7 | |||
| fe9768f484 | |||
| aace0a1a58 | |||
| 792739ee42 | |||
| 8b11fa86cd | |||
| 28d013b704 | |||
| 5fffaf89e4 | |||
| 006964c4dc | |||
| 05d31b476b | |||
| 50edb33f1c | |||
| c82358c17c | |||
| d64050bafb | |||
| 1556e4ac5a | |||
| a3924a27a0 | |||
| cbadaecc4f | |||
| 7cad1230e6 | |||
| 997559e55b | |||
| d98940fecb | |||
| f2ad57ceb9 | |||
| d4650183ba | |||
| a6c40d2190 | |||
| 563a6db02d | |||
| 5ddd72c0e9 | |||
| 80b86ea647 | |||
| bbcdb90fbb | |||
| 253b25db03 | |||
| 4c9e7ed09e | |||
| 12043622e6 | |||
| f4a1baaed3 | |||
| 9303f5abd9 | |||
| 1b8ad40b81 | |||
| 2f177dd188 | |||
| edfc415e9e | |||
| 8bb5e33348 | |||
| b3cf7658f7 | |||
| 2081fa54af | |||
| 2da2172593 | |||
| 018a4bda53 | |||
| 14c6ef3d83 | |||
| 9c5837d143 | |||
| 5e08f9876a | |||
| ee66fc3a85 | |||
| 13472adfff | |||
| 60b374901f | |||
| d8a3a0137c | |||
| f66e55564e | |||
| 6e83225e6f | |||
| f03622d141 | |||
| 4f20417cb2 | |||
| f15337ea9a | |||
| 49221b56b9 | |||
| 75f71cd311 | |||
| 505a9f937a | |||
| 08d3e3b2b7 | |||
| fb4d947a8c | |||
| 2ca6420e17 | |||
| cde0d5f7a5 | |||
| ba5b744397 | |||
| 1447c7ad83 | |||
| b57d19c893 | |||
| 9063546acc | |||
| f1cb767001 | |||
| 634eac455d | |||
| 2f90fc0299 | |||
| d2bd952210 | |||
| 9fbe18eb27 | |||
| 2ca37a9128 | |||
| a73e9eb8ca | |||
| a3ddeba9f9 | |||
| baa91a45a8 | |||
| 6124bf3c92 | |||
| 6a8ec55118 | |||
| 4b6038975c | |||
| 5e63161b5b | |||
| 32c99047f4 | |||
| 2ef9509dbe | |||
| c7cb025582 | |||
| 96288d69e2 | |||
| aad86a1955 | |||
| dcbf534d53 | |||
| c8329da6e0 | |||
| 3e1b621f52 | |||
| 56cb9e50af | |||
| 9b17f1fee4 | |||
| cee4bf7e3c | |||
| 027ecc6b0e | |||
| 22ecfda777 | |||
| 2ae974f5c3 | |||
| 99d565f6df | |||
| 5546b0af0e | |||
| 741343e9aa | |||
| 0e9710de81 | |||
| 32ae101096 | |||
| 3a5a2abeea | |||
| de567aa1d3 | |||
| a5e470a16a | |||
| b3ce8b5282 | |||
| 31b15c1423 | |||
| 60c9beab2b | |||
| 10a1c9bda4 | |||
| 6f8f547242 | |||
| 2509486c6a | |||
| df9c32b0c3 | |||
| c577da0375 | |||
| 4e1d40034e | |||
| a1a4f337ff | |||
| e412a34668 | |||
| 3c7d4b0516 | |||
| 572bcc2c59 | |||
| 3360cadd55 | |||
| f51f3dbe29 | |||
| efecdf5d45 | |||
| 76b75ad5cd | |||
| 74ceaa1a68 | |||
| 12a4519448 | |||
| 033fbf63b0 | |||
| 1029780ce2 | |||
| 0ea0b24563 | |||
| ec816b4be5 | |||
| 7c1ea1cb32 | |||
| 27f554659e | |||
| 5389ceb237 | |||
| 03e0122155 | |||
| 8d12187f3d | |||
| bf8c85f422 | |||
| 179822fb91 | |||
| 5e712d7145 | |||
| 8ea41d91c9 | |||
| 7a88e007a5 | |||
| 257fe7362a | |||
| 52cc1165c4 | |||
| 0be96b7c66 | |||
| 9d4119232f | |||
| adcc04cc5a | |||
| e5996f626b | |||
| d8c7cf41b5 | |||
| 5123483c33 | |||
| 33a3c485be | |||
| 7b4d48c46d | |||
| 4ee82d1c70 | |||
| a1a4d627e1 | |||
| 5a5c2cbd1a | |||
| 2bd3681eef | |||
| 604415e19e | |||
| e653ee04d2 | |||
| 3c737ca304 | |||
| 1f83df7a18 | |||
| eda8ad9de5 | |||
| df6f32a7bb | |||
| a2a733fc36 | |||
| 56edeba7fc | |||
| 15392e4a81 | |||
| cb856a7f3a | |||
| 69c457287d | |||
| 5458382bb8 | |||
| 849105ebd6 | |||
| cbc4073815 | |||
| c4b4d80936 | |||
| f0898eae64 | |||
| 9378a7572b | |||
| 3cd97b5131 | |||
| d8b8bf5a84 | |||
| 238c17bd0e | |||
| 1206e9e5c3 | |||
| f3b4336bc4 | |||
| 55df7805c2 | |||
| 9102e4f552 | |||
| 57ad90c3c0 | |||
| ed9104fbea | |||
| 68a3aca643 | |||
| 6fe354439c | |||
| 63b93a8147 | |||
| ad5fa7c99f | |||
| 9548a4cf74 | |||
| 301f0942c6 | |||
| fb57ad147e | |||
| 3ee2f40fb3 | |||
| edd1971ae8 | |||
| a6826af796 | |||
| bd21b25bad | |||
| 48a4a043b7 |
+55
-15
@@ -4,17 +4,20 @@ on:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
env:
|
||||
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip autopoint cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python2-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.2-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php8.0-dev libphp8.0-embed libargon2-dev libsodium-dev pylint python3-bandit asciidoctor ruby-pygments.rb
|
||||
|
||||
jobs:
|
||||
|
||||
build_linux:
|
||||
tests_linux:
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-20.04
|
||||
- ubuntu-22.04
|
||||
config:
|
||||
- { name: "cmake_gcc", cc: "gcc", cxx: "g++", tool: "cmake", args: "" }
|
||||
- { name: "cmake_gcc_ninja", cc: "gcc", cxx: "g++", tool: "cmake", args: "-G Ninja" }
|
||||
- { name: "cmake_gcc_no_nls", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_NLS=OFF" }
|
||||
- { name: "cmake_gcc_py2", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_PYTHON2=ON" }
|
||||
- { name: "cmake_gcc_coverage", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_CODE_COVERAGE=ON" }
|
||||
@@ -22,7 +25,7 @@ jobs:
|
||||
- { name: "autotools_gcc", cc: "gcc", cxx: "g++", tool: "autotools", args: "" }
|
||||
- { name: "autotools_clang", cc: "clang", cxx: "clang++", tool: "autotools", args: "" }
|
||||
|
||||
name: ${{ matrix.config.name }} on ${{ matrix.os }}
|
||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
@@ -33,12 +36,10 @@ jobs:
|
||||
run: |
|
||||
sudo apt-add-repository --yes ppa:ondrej/php
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get --yes --no-install-recommends install devscripts equivs python3-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python2-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php8.0-dev libphp8.0-embed libargon2-0-dev libsodium-dev pylint python3-bandit asciidoctor
|
||||
sudo apt-get --yes purge php8.1-dev
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
||||
sudo -H pip3 install --ignore-installed msgcheck
|
||||
|
||||
- name: Test patches
|
||||
run: ./tools/build-debian.sh test-patches
|
||||
|
||||
- name: Check gettext files
|
||||
run: msgcheck po/*.po
|
||||
|
||||
@@ -51,7 +52,7 @@ jobs:
|
||||
bandit tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py
|
||||
|
||||
- name: Check Python stub file
|
||||
run: ./doc/python_stub.py | diff - src/plugins/python/weechat.pyi
|
||||
run: ./doc/python_stub.py | diff src/plugins/python/weechat.pyi -
|
||||
|
||||
- name: Build and run tests
|
||||
env:
|
||||
@@ -70,7 +71,7 @@ jobs:
|
||||
weechat --colors
|
||||
weechat --license
|
||||
weechat --version
|
||||
weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
- name: Code coverage
|
||||
if: ${{ matrix.config.name == 'cmake_gcc_coverage' }}
|
||||
@@ -83,18 +84,18 @@ jobs:
|
||||
lcov --list coverage.info
|
||||
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
|
||||
|
||||
build_macos:
|
||||
tests_macos:
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- macos-12
|
||||
- macos-11
|
||||
config:
|
||||
- { name: "cmake_gcc", cc: "gcc", cxx: "g++" }
|
||||
- { name: "cmake_clang", cc: "clang", cxx: "clang++" }
|
||||
|
||||
name: ${{ matrix.config.name }} on ${{ matrix.os }}
|
||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
@@ -125,4 +126,43 @@ jobs:
|
||||
weechat --colors
|
||||
weechat --license
|
||||
weechat --version
|
||||
weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
build_debian:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
|
||||
name: "Build Debian on ${{ matrix.os }}"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-add-repository --yes ppa:ondrej/php
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get --yes purge php8.1-dev
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }} php-dev
|
||||
|
||||
- name: Test Debian patches
|
||||
run: ./tools/build-debian.sh test-patches
|
||||
|
||||
- name: Build Debian packages
|
||||
run: ./tools/build-debian.sh devel ubuntu/jammy
|
||||
|
||||
- name: Install Debian packages
|
||||
run: sudo dpkg -i ../weechat-devel*.deb
|
||||
|
||||
- name: Run WeeChat
|
||||
env:
|
||||
TERM: xterm-256color
|
||||
run: |
|
||||
weechat --help
|
||||
weechat-curses --help
|
||||
weechat --version
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
@@ -11,7 +11,9 @@ Sébastien Helleu <flashcode@flashtux.org> <flashcode>
|
||||
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
|
||||
Nils Görs <weechatter@arcor.de>
|
||||
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||
Krzysztof Korościk <soltys1@gmail.com> <soltys@szluug.org> <soltys@soltys.info>
|
||||
Krzysztof Korościk <soltys@soltys.info>
|
||||
Krzysztof Korościk <soltys@soltys.info> <soltys1@gmail.com>
|
||||
Krzysztof Korościk <soltys@soltys.info> <soltys@szluug.org>
|
||||
Marco Paolone <marcopaolone@gmail.com>
|
||||
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
|
||||
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
|
||||
|
||||
-46
@@ -1,46 +0,0 @@
|
||||
dist: bionic
|
||||
sudo: required
|
||||
language: c
|
||||
|
||||
env:
|
||||
- CC="gcc" CXX="g++" BUILDTOOL="cmake" BUILDARGS=""
|
||||
- CC="gcc" CXX="g++" BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON2=ON"
|
||||
# - CC="gcc" CXX="g++" BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
||||
- CC="gcc" CXX="g++" BUILDTOOL="autotools" BUILDARGS=""
|
||||
- CC="gcc" CXX="g++" BUILDTOOL="autotools" BUILDARGS="--enable-python2"
|
||||
- CC="clang" CXX="clang++" BUILDTOOL="cmake" BUILDARGS=""
|
||||
- CC="clang" CXX="clang++" BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON2=ON"
|
||||
- CC="clang" CXX="clang++" BUILDTOOL="autotools" BUILDARGS=""
|
||||
- CC="clang" CXX="clang++" BUILDTOOL="autotools" BUILDARGS="--enable-python2"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
before_script:
|
||||
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
||||
- travis_retry sudo apt-get update -qq
|
||||
- travis_retry sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php7.2-dev libphp7.2-embed libargon2-0-dev libsodium-dev pylint3
|
||||
- travis_retry sudo gem install asciidoctor
|
||||
- travis_retry sudo -H pip install --ignore-installed msgcheck
|
||||
- phpenv local system
|
||||
# work around broken travis environment variables, see https://github.com/travis-ci/travis-ci/issues/5301
|
||||
- unset PYTHON_CFLAGS
|
||||
|
||||
script:
|
||||
- ./tools/build-test.sh
|
||||
- msgcheck po/*.po
|
||||
- pylint3 --version
|
||||
- pylint3 --additional-builtins=_ doc/docgen.py
|
||||
- pylint3 tests/scripts/python/testapigen.py
|
||||
- pylint3 tests/scripts/python/testapi.py
|
||||
- pylint3 tests/scripts/python/unparse.py
|
||||
- ./tools/build-debian.sh test-patches
|
||||
|
||||
after_success:
|
||||
- weechat --help
|
||||
- weechat-curses --help
|
||||
- weechat --colors
|
||||
- weechat --license
|
||||
- weechat --version
|
||||
- weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
# - if [ "$CODECOVERAGE" = "1" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov error"; fi
|
||||
+1
-2
@@ -155,5 +155,4 @@ Alphabetically:
|
||||
|
||||
== Contact
|
||||
|
||||
See https://weechat.org/files/doc/devel/weechat_user.en.html#support[user's guide]
|
||||
or https://weechat.org/about/support
|
||||
See the https://weechat.org/about/support/[support page].
|
||||
|
||||
+9
-5
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -27,8 +27,8 @@ project(weechat C)
|
||||
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||
set(CMAKE_SKIP_RPATH ON)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -Wall -Wextra")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
|
||||
|
||||
# version
|
||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
||||
@@ -115,7 +115,7 @@ option(ENABLE_PHP "Enable PHP scripting language" ON)
|
||||
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
|
||||
option(ENABLE_ENCHANT "Enable Enchant lib for Spell checker plugin" OFF)
|
||||
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
||||
option(ENABLE_TYPING "Enable Tryping plugin" ON)
|
||||
option(ENABLE_TYPING "Enable Typing plugin" ON)
|
||||
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
||||
option(ENABLE_MAN "Enable build of man page" OFF)
|
||||
option(ENABLE_DOC "Enable build of documentation" OFF)
|
||||
@@ -151,6 +151,8 @@ endif()
|
||||
|
||||
add_definitions(-DHAVE_CONFIG_H)
|
||||
|
||||
include(FindPkgConfig)
|
||||
|
||||
include(CheckIncludeFiles)
|
||||
include(CheckFunctionExists)
|
||||
include(CheckSymbolExists)
|
||||
@@ -196,7 +198,9 @@ list(APPEND EXTRA_LIBS gnutls)
|
||||
|
||||
# Check for zlib
|
||||
find_package(ZLIB REQUIRED)
|
||||
add_definitions(-DHAVE_ZLIB)
|
||||
|
||||
# Check for zstd
|
||||
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
||||
|
||||
# Check for iconv
|
||||
find_package(Iconv)
|
||||
|
||||
+647
-453
File diff suppressed because it is too large
Load Diff
+6
-7
@@ -29,8 +29,8 @@ please include:
|
||||
_WeeChat 1.7-dev (git: v1.6-6-g997f47f)_. +
|
||||
If WeeChat does not start at all, please include the version displayed by
|
||||
`weechat --help` (or the version installed with your package manager).
|
||||
* Your *operating system*: its name and version (examples: Linux Debian Wheezy,
|
||||
FreeBSD 10.0, Windows/Cygwin 64-bit, Windows/Ubuntu 64-bit...).
|
||||
* Your *operating system*: its name and version (examples: Linux Debian Bullseye,
|
||||
FreeBSD 13.0, Windows/Cygwin 64-bit, Windows/Ubuntu 64-bit...).
|
||||
* The *steps to reproduce*: if possible, please include a reproducible example:
|
||||
explain the steps which led you to the problem. +
|
||||
It's even better if you can reproduce the problem with a new config (and no
|
||||
@@ -38,8 +38,7 @@ please include:
|
||||
problem here.
|
||||
* The *gdb's backtrace* (only for a crash): if you can reproduce the crash
|
||||
(or if you have a core file), please include the backtrace from gdb (look at
|
||||
https://weechat.org/files/doc/devel/weechat_user.en.html#report_crashes[User's guide]
|
||||
for more info).
|
||||
https://weechat.org/doc/user/#report_crashes[User's guide] for more info).
|
||||
* The *actual result*.
|
||||
* The *expected result*: the correct result you are expecting.
|
||||
|
||||
@@ -69,14 +68,14 @@ time, for https://github.com/weechat/weechat[WeeChat] and the website
|
||||
https://github.com/weechat/weechat.org[weechat.org].
|
||||
|
||||
To start a translation in a new language (not yet supported), please look at
|
||||
https://weechat.org/files/doc/devel/weechat_dev.en.html#translations[translations]
|
||||
https://weechat.org/doc/dev/#translations[translations]
|
||||
in Developer's guide.
|
||||
|
||||
== Feature requests
|
||||
|
||||
WeeChat is under active development, so your idea may already have been
|
||||
implemented, or scheduled for a future version (you can check in
|
||||
https://weechat.org/dev[roadmap] or
|
||||
https://weechat.org/dev/[roadmap] or
|
||||
https://github.com/weechat/weechat/milestones[milestones] on GitHub.
|
||||
|
||||
Pull requests on GitHub are welcome for minor new features.
|
||||
@@ -85,6 +84,6 @@ For major new features, it's better to discuss about it in IRC
|
||||
(server: _irc.libera.chat_, channel _#weechat_).
|
||||
|
||||
Before submitting any pull request, be sure you have read the
|
||||
https://weechat.org/files/doc/devel/weechat_dev.en.html#coding_rules[coding rules]
|
||||
https://weechat.org/doc/dev/#coding_rules[coding rules]
|
||||
in Developer's guide, which contains info about styles used, naming convention
|
||||
and other useful info.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
|
||||
+9
-78
@@ -23,13 +23,13 @@ Homepage: https://weechat.org/
|
||||
|
||||
== Features
|
||||
|
||||
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/files/doc/stable/weechat_user.en.html#plugins[plugins]. All plugins (including https://weechat.org/files/doc/stable/weechat_user.en.html#irc_plugin[IRC]) are independent and can be unloaded.
|
||||
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/doc/user/#plugins[plugins]. All plugins (including https://weechat.org/doc/user/#irc[IRC]) are independent and can be unloaded.
|
||||
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
||||
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
||||
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://tools.ietf.org/html/rfc1459[1459], https://tools.ietf.org/html/rfc2810[2810], https://tools.ietf.org/html/rfc2811[2811], https://tools.ietf.org/html/rfc2812[2812] and https://tools.ietf.org/html/rfc2813[2813].
|
||||
* *Small, fast and very light*: the core is and should stay as light and fast as possible.
|
||||
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/stable/language/perl/[Perl], https://weechat.org/scripts/stable/language/python/[Python], https://weechat.org/scripts/stable/language/ruby[Ruby], https://weechat.org/scripts/stable/language/lua/[Lua], https://weechat.org/scripts/stable/language/tcl/[Tcl], https://weechat.org/scripts/stable/language/guile/[Scheme], https://weechat.org/scripts/stable/language/javascript/[JavaScript] and https://weechat.org/scripts/stable/language/php/[PHP]).
|
||||
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/files/doc/stable/weechat_dev.en.html#translations[translated] into several languages.
|
||||
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://tools.ietf.org/html/rfc1459[1459], https://tools.ietf.org/html/rfc2810[2810], https://tools.ietf.org/html/rfc2811[2811], https://tools.ietf.org/html/rfc2812[2812], and https://tools.ietf.org/html/rfc2813[2813].
|
||||
* *Small, fast, and very light*: the core is and should stay as light and fast as possible.
|
||||
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/language/perl/[Perl], https://weechat.org/scripts/language/python/[Python], https://weechat.org/scripts/language/ruby[Ruby], https://weechat.org/scripts/language/lua/[Lua], https://weechat.org/scripts/language/tcl/[Tcl], https://weechat.org/scripts/language/guile/[Scheme], https://weechat.org/scripts/language/javascript/[JavaScript] and https://weechat.org/scripts/language/php/[PHP]).
|
||||
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/doc/dev/#translations[translated] into several languages.
|
||||
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
|
||||
* *Free software*: WeeChat is released under https://www.gnu.org/licenses/gpl-3.0.html[GPLv3].
|
||||
|
||||
@@ -37,84 +37,15 @@ pass:[<p align="center">] image:https://weechat.org/media/images/screenshots/wee
|
||||
|
||||
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
|
||||
|
||||
== Install
|
||||
== Installation
|
||||
|
||||
=== Dependencies
|
||||
WeeChat can be installed using your favorite package manager (recommended) or by compiling it yourself.
|
||||
|
||||
Following packages are *required*:
|
||||
|
||||
* CMake
|
||||
* libncurses
|
||||
* libcurl
|
||||
* zlib
|
||||
* libgcrypt
|
||||
|
||||
Following packages are optional:
|
||||
|
||||
* for i18n: gettext
|
||||
* for SSL: gnutls, ca-certificates
|
||||
* for spell checking: aspell or enchant
|
||||
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript), php
|
||||
* for building doc and man page: asciidoctor
|
||||
* for building tests: C++ compiler, CppUTest
|
||||
|
||||
For a complete list of dependencies and versions recommended, please look at
|
||||
https://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's guide].
|
||||
|
||||
=== Compile
|
||||
|
||||
WeeChat can be built with https://cmake.org/[CMake] (recommended) or autotools.
|
||||
|
||||
[NOTE]
|
||||
Only CMake is officially supported to build WeeChat. You should only use
|
||||
autotools if you are not able to use CMake. +
|
||||
Building with autotools requires more dependencies and is slower than with CMake.
|
||||
|
||||
* Installation in system directories (requires _root_ privileges):
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ sudo make install
|
||||
----
|
||||
|
||||
* Installation in custom directory (for example your home):
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
|
||||
$ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
For more information or installation with autotools, please look at
|
||||
https://weechat.org/files/doc/devel/weechat_user.en.html#compile_with_autotools[user's guide].
|
||||
|
||||
=== Run tests
|
||||
|
||||
Following packages are *required* to compile tests:
|
||||
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
Tests must be enabled when compiling WeeChat:
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
They can be launched after compilation from the build directory:
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
----
|
||||
For detailed instructions, please check the https://weechat.org/doc/user/#install[WeeChat user's guide].
|
||||
|
||||
== Copyright
|
||||
|
||||
Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
|
||||
+430
-263
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2014-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2014-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2011-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2011-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
||||
# Copyright (C) 2017-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2017-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -28,8 +28,6 @@
|
||||
# PYTHON_LIBRARIES = path to where libpython.so* can be found
|
||||
# PYTHON_LDFLAGS = python compiler options for linking
|
||||
|
||||
include(FindPkgConfig)
|
||||
|
||||
if(ENABLE_PYTHON2)
|
||||
pkg_check_modules(PYTHON python2 IMPORTED_TARGET GLOBAL)
|
||||
else()
|
||||
|
||||
+9
-47
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -33,51 +33,13 @@ endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(RUBY ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9)
|
||||
endif()
|
||||
|
||||
if(RUBY_FOUND)
|
||||
set(RUBY_LIB "")
|
||||
mark_as_advanced(RUBY_LIB)
|
||||
else()
|
||||
find_program(RUBY_EXECUTABLE
|
||||
NAMES ruby2.7.0 ruby270 ruby2.7 ruby2.6.0 ruby260 ruby2.6 ruby2.5.0 ruby250 ruby2.5 ruby2.4.0 ruby240 ruby2.4 ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
if(RUBY_EXECUTABLE)
|
||||
execute_process(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
|
||||
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
||||
)
|
||||
execute_process(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
|
||||
OUTPUT_VARIABLE RUBY_ARCH
|
||||
)
|
||||
execute_process(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
|
||||
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
||||
)
|
||||
execute_process(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
|
||||
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
||||
)
|
||||
find_path(RUBY_INCLUDE_DIRS
|
||||
NAMES ruby.h
|
||||
PATHS ${RUBY_ARCH_DIR}
|
||||
)
|
||||
set(RUBY_INCLUDE_ARCH "${RUBY_INCLUDE_DIRS}/${RUBY_ARCH}")
|
||||
find_library(RUBY_LIB
|
||||
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby
|
||||
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
||||
)
|
||||
if(RUBY_LIB AND RUBY_INCLUDE_DIRS)
|
||||
set(RUBY_FOUND TRUE)
|
||||
endif()
|
||||
set(RUBY_INCLUDE_DIRS "${RUBY_INCLUDE_DIRS};${RUBY_INCLUDE_ARCH}")
|
||||
mark_as_advanced(
|
||||
RUBY_INCLUDE_DIRS
|
||||
RUBY_LIBRARY_DIRS
|
||||
RUBY_LIB
|
||||
)
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# set specific search path for macOS
|
||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig")
|
||||
endif()
|
||||
pkg_search_module(RUBY ruby-3.1 ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby)
|
||||
if(RUBY_FOUND AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# FIXME: weird hack: hardcoding the Ruby lib location on macOS
|
||||
set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2015-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2015-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+24
-3
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
|
||||
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
@@ -501,7 +501,7 @@ RUBY_VERSION=
|
||||
if test "x$enable_ruby" = "xyes" ; then
|
||||
RUBY_CFLAGS=""
|
||||
RUBY_LFLAGS=""
|
||||
for v in "2.7" "2.6" "2.5" "2.4" "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do
|
||||
for v in "3.1" "3.0" "2.7" "2.6" "2.5" "2.4" "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do
|
||||
pkgconfig_ruby_found=`$PKGCONFIG --exists ruby-$v 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
RUBY_VERSION=`$PKGCONFIG --modversion ruby-$v`
|
||||
@@ -1175,6 +1175,27 @@ else
|
||||
AC_SUBST(ZLIB_LFLAGS)
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# zstd
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
AC_CHECK_HEADER(zstd.h,ac_found_zstd_header="yes",ac_found_zstd_header="no")
|
||||
AC_CHECK_LIB(zstd,ZSTD_compress,ac_found_zstd_lib="yes",ac_found_zstd_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for zstd headers and libraries)
|
||||
if test "x$ac_found_zstd_header" = "xno" -o "x$ac_found_zstd_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_ERROR([
|
||||
*** zstd was not found. You may want to get it from https://github.com/facebook/zstd
|
||||
*** or try to install it with your software package manager.])
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
ZSTD_CFLAGS=`pkg-config libzstd --cflags`
|
||||
ZSTD_LFLAGS=`pkg-config libzstd --libs`
|
||||
AC_SUBST(ZSTD_CFLAGS)
|
||||
AC_SUBST(ZSTD_LFLAGS)
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# curl
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -1263,7 +1284,7 @@ if test "x$enable_man" = "xyes" -o "x$enable_doc" = "xyes"; then
|
||||
enable_man="no"
|
||||
enable_doc="no"
|
||||
fi
|
||||
ASCIIDOCTOR_ARGS="-a experimental -a 'prewrap!' -a icons=font -a sectanchors -a source-highlighter=prettify"
|
||||
ASCIIDOCTOR_ARGS="-a experimental -a reproducible -a 'prewrap!' -a 'webfonts!' -a icons=font -a sectanchors -a source-highlighter=pygments -a pygments-style=native"
|
||||
AC_SUBST(ASCIIDOCTOR)
|
||||
AC_SUBST(ASCIIDOCTOR_ARGS)
|
||||
fi
|
||||
|
||||
@@ -4,6 +4,7 @@ Priority: optional
|
||||
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Build-Depends:
|
||||
asciidoctor (>= 1.5.4),
|
||||
ruby-pygments.rb,
|
||||
debhelper (>= 12),
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
@@ -14,11 +15,12 @@ Build-Depends:
|
||||
liblua5.3-dev,
|
||||
tcl8.6-dev,
|
||||
guile-2.2-dev,
|
||||
php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
|
||||
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
||||
libxml2-dev,
|
||||
libcurl4-gnutls-dev,
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
libzstd-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 4.6.0.1
|
||||
Homepage: https://weechat.org/
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-de
|
||||
Title: WeeChat tester's guide (German)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.de.html
|
||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.de.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-en
|
||||
Title: WeeChat tester's guide (English)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.en.html
|
||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.en.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-fr
|
||||
Title: WeeChat tester's guide (French)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.fr.html
|
||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.fr.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-it
|
||||
Title: WeeChat tester's guide (Italian)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.it.html
|
||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.it.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-ja
|
||||
Title: WeeChat tester's guide (Japanese)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Japanese version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.ja.html
|
||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.ja.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-pl
|
||||
Title: WeeChat tester's guide (Polish)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Polish version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.pl.html
|
||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.pl.html
|
||||
@@ -1,3 +1,51 @@
|
||||
weechat (3.6-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Bump Standards-Version to 4.6.1.0
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 23 Jul 2022 09:56:24 +0000
|
||||
|
||||
weechat (3.5-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Add build dependency on libzstd-dev
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Thu, 31 Mar 2022 11:36:01 +0000
|
||||
|
||||
weechat (3.4.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
- Fix a possible man-in-the-middle attack in TLS connection to servers
|
||||
* Update build dependency from libargon2-0-dev to libargon2-dev
|
||||
(libargon2-0-dev is now virtual package) (Closes: #1005703)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 22 Mar 2022 05:55:14 +0000
|
||||
|
||||
weechat (3.4-2) unstable; urgency=medium
|
||||
|
||||
* Remove build dependency on ruby-pygments.rb (no longer required)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 08 Jan 2022 06:00:17 +0000
|
||||
|
||||
weechat (3.4-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #1001654, #1001245)
|
||||
* Remove tester's guide from weechat-doc (according to upstream changes)
|
||||
* Refresh ASCII Doctor options patch
|
||||
* Update lintian override on weechat-plugins
|
||||
* Update copyright (new year)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 07 Jan 2022 23:03:49 +0000
|
||||
|
||||
weechat (3.3-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Remove patch merged upstream (which command detection in libgcrypt)
|
||||
* Minor updates in debian/copyright
|
||||
* Enable Typing plugin
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 20 Sep 2021 10:05:56 +0000
|
||||
|
||||
weechat (3.2.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
|
||||
@@ -4,6 +4,7 @@ Priority: optional
|
||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||
Build-Depends:
|
||||
asciidoctor (>= 1.5.4),
|
||||
ruby-pygments.rb,
|
||||
debhelper (>= 12),
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
@@ -14,13 +15,14 @@ Build-Depends:
|
||||
liblua5.3-dev,
|
||||
tcl8.6-dev,
|
||||
guile-2.2-dev,
|
||||
php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
|
||||
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
||||
libxml2-dev,
|
||||
libcurl4-gnutls-dev,
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
libzstd-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 4.6.0.1
|
||||
Standards-Version: 4.6.1.0
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||
|
||||
@@ -4,7 +4,7 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Source: https://weechat.org/
|
||||
|
||||
Files: *
|
||||
Copyright: 2003-2021, Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright: 2003-2022, Sébastien Helleu <flashcode@flashtux.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-command.c
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-de
|
||||
Title: WeeChat tester's guide (German)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-en
|
||||
Title: WeeChat tester's guide (English)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-fr
|
||||
Title: WeeChat tester's guide (French)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-it
|
||||
Title: WeeChat tester's guide (Italian)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-ja
|
||||
Title: WeeChat tester's guide (Japanese)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Japanese version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
|
||||
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-pl
|
||||
Title: WeeChat tester's guide (Polish)
|
||||
Author: Sébastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Polish version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.pl.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.pl.html
|
||||
+53
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -21,7 +21,58 @@
|
||||
if(ENABLE_MAN OR ENABLE_DOC)
|
||||
find_package(Asciidoctor)
|
||||
if(ASCIIDOCTOR_FOUND)
|
||||
set(ASCIIDOCTOR_ARGS -a experimental -a "prewrap!" -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=prettify)
|
||||
# common asciidoctor arguments
|
||||
set(ASCIIDOCTOR_ARGS -a experimental -a reproducible -a "prewrap!" -a "webfonts!" -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=pygments -a pygments-style=native)
|
||||
|
||||
# sed arguments used to replace links in ChangeLog and release notes
|
||||
set(SED_LINKS_ARGS
|
||||
-e "'s/issue #\\([0-9][0-9]*\\)/https:\\/\\/github.com\\/weechat\\/weechat\\/issues\\/\\1[issue #\\1^]/g'"
|
||||
-e "'s/bug #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/bugs\\/?\\1[bug #\\1^]/g'"
|
||||
-e "'s/task #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/task\\/?\\1[task #\\1^]/g'"
|
||||
-e "'s/patch #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/patch\\/?\\1[patch #\\1^]/g'"
|
||||
-e "'s/debian #\\([0-9][0-9]*\\)/http:\\/\\/bugs.debian.org\\/cgi-bin\\/bugreport.cgi?bug=\\1[debian bug #\\1^]/g'"
|
||||
-e "'s/\\(CVE-[0-9][0-9]*-[0-9][0-9]*\\)/https:\\/\\/cve.mitre.org\\/cgi-bin\\/cvename.cgi?name=\\1[\\1^]/g'"
|
||||
)
|
||||
|
||||
# ChangeLog
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
||||
COMMAND sed ARGS ${SED_LINKS_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc > ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -a docinfodir="${CMAKE_CURRENT_SOURCE_DIR}" -o ChangeLog.html ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building ChangeLog.html"
|
||||
)
|
||||
add_custom_target(changelog DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html)
|
||||
|
||||
# Release notes
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
||||
COMMAND sed ARGS ${SED_LINKS_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc > ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -a docinfodir="${CMAKE_CURRENT_SOURCE_DIR}" -o ReleaseNotes.html ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building ReleaseNotes.html"
|
||||
)
|
||||
add_custom_target(rn DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html)
|
||||
|
||||
# man/doc in all languages
|
||||
add_subdirectory(cs)
|
||||
add_subdirectory(de)
|
||||
add_subdirectory(en)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// tag::plugin_options[]
|
||||
Pro kompletní dokumentaci nastavení pluginů a jejich volby podívejte se na
|
||||
https://weechat.org/doc[WeeChat user's guide].
|
||||
https://weechat.org/doc/[WeeChat user's guide].
|
||||
|
||||
S irc pluginem se můžete doččasně připojit na server s URL jako:
|
||||
|
||||
@@ -99,7 +99,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||
souboru AUTHORS.adoc).
|
||||
|
||||
Copyright (C) 2003-2021 {author}
|
||||
Copyright (C) 2003-2022 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -67,4 +67,4 @@ include::includes/man.cs.adoc[tag=copyright]
|
||||
|
||||
== PODPORA / HLÁŠENÍ CHYB
|
||||
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support/
|
||||
|
||||
@@ -62,4 +62,4 @@ include::includes/man.cs.adoc[tag=copyright]
|
||||
|
||||
== PODPORA / HLÁŠENÍ CHYB
|
||||
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support/
|
||||
|
||||
@@ -208,10 +208,16 @@ K automatickému připojení některých kanálů při připojování k serveru:
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[TIP]
|
||||
You can complete name and value of options with the kbd:[Tab] key
|
||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||
the name of option).
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
K smazání hodnoty serverové volby a k použití výchozí hodnoty místo ní,
|
||||
například k požití výchozích přezdívek (irc.server_default.nicks):
|
||||
@@ -227,6 +233,12 @@ název volby):
|
||||
/set irc.server.libera.xxx value
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[TIP]
|
||||
You can complete name and value of options with the kbd:[Tab] key
|
||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||
the name of option).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Připojení k IRC serveru
|
||||
|
||||
@@ -389,14 +401,16 @@ například:
|
||||
|
||||
Zkuste `/help script` pro více informací.
|
||||
|
||||
|
||||
A seznam skriptů je dostupný v WeeChatu s příkazem `/script` nebo na této
|
||||
adrese https://weechat.org/scripts
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== Další dokumentace
|
||||
|
||||
Nyní jste schopni používat WeeChat a můžete si přečíst FAQ/dokumentaci pro
|
||||
jakékoliv další otázky: https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
Ať máte radost z použití WeeChatu!
|
||||
|
||||
+1
-14
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -107,17 +107,4 @@ if(ENABLE_DOC)
|
||||
add_custom_target(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# tester's guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_tester.de.html"
|
||||
)
|
||||
add_custom_target(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
endif()
|
||||
|
||||
+2
-8
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -28,7 +28,6 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_scripting.de.adoc \
|
||||
weechat_faq.de.adoc \
|
||||
weechat_quickstart.de.adoc \
|
||||
weechat_tester.de.adoc \
|
||||
includes/autogen_api_completions.de.adoc \
|
||||
includes/autogen_api_hdata.de.adoc \
|
||||
includes/autogen_api_infolists.de.adoc \
|
||||
@@ -53,8 +52,7 @@ if DOC
|
||||
doc_targets = weechat_user.de.html \
|
||||
weechat_scripting.de.html \
|
||||
weechat_faq.de.html \
|
||||
weechat_quickstart.de.html \
|
||||
weechat_tester.de.html
|
||||
weechat_quickstart.de.html
|
||||
doc_install = install-doc
|
||||
doc_uninstall = uninstall-doc
|
||||
endif
|
||||
@@ -82,10 +80,6 @@ weechat_faq.de.html: weechat_faq.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
weechat_quickstart.de.html: weechat_quickstart.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.adoc
|
||||
|
||||
# tester's guide
|
||||
weechat_tester.de.html: weechat_tester.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.adoc
|
||||
|
||||
# install man/docs
|
||||
|
||||
install-data-hook: $(man_install) $(doc_install)
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
| irc | irc_channels | Kanäle auf allen IRC Servern
|
||||
|
||||
| irc | irc_channels_autojoin | Kanäle, die automatisch auf dem aktuellen Server betreten werden (Option "autojoin")
|
||||
|
||||
| irc | irc_ignores_numbers | Anzahl für festgelegte Ignorierungen
|
||||
|
||||
| irc | irc_modelist_masks | Modelist Maske für aktuellen IRC Kanal; benötigtes Argument: modelist mode
|
||||
@@ -92,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | Liste der Skripten
|
||||
|
||||
| trigger | trigger_add_arguments | Argumente für den Befehl, der einen Trigger hinzufügt: Name des Triggers, Hooks, Hook-Argumente, Hook-Bedingungen, Hook-Regex, Hook-Befehl, Hook-Rückgabecode, nachfolgende Aktionen
|
||||
|
||||
| trigger | trigger_hook_arguments | Standardargumente für einen Hook
|
||||
|
||||
| trigger | trigger_hook_command | Standardbefehl für einen Hook
|
||||
@@ -146,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | Bereiche in denen der Cursor frei bewegt werden kann ("chat" oder Name einer Bar)
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | Argumente für den Befehl, der ein benutzerdefiniertes Bar-Item hinzufügt: Elementname, Bedingungen,Inhalt
|
||||
|
||||
| weechat | custom_bar_item_conditions | Bedingungen für benutzerdefinierte Bar-Items
|
||||
|
||||
| weechat | custom_bar_item_contents | Inhalte für benutzerdefinierte Bar-Items
|
||||
|
||||
| weechat | custom_bar_items_names | Namen der benutzerdefinierten Bar-Items
|
||||
|
||||
| weechat | env_value | Wert einer Umgebungsvariable
|
||||
|
||||
| weechat | env_vars | Umgebungsvariablen
|
||||
|
||||
@@ -631,6 +631,8 @@ _text_search_input_ (string) +
|
||||
_highlight_words_ (string) +
|
||||
_highlight_regex_ (string) +
|
||||
_highlight_regex_compiled_ (pointer) +
|
||||
_highlight_disable_regex_ (string) +
|
||||
_highlight_disable_regex_compiled_ (pointer) +
|
||||
_highlight_tags_restrict_ (string) +
|
||||
_highlight_tags_restrict_count_ (integer) +
|
||||
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
||||
|
||||
@@ -128,6 +128,8 @@
|
||||
|
||||
| weechat | uptime | Laufzeit von WeeChat (Format: "days:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
|
||||
|
||||
| weechat | uptime_current | WeeChat-Betriebszeit für den aktuellen Prozess (Upgrades mit /upgrade Befehlwerden ignoriert) (Format: "Tage:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
|
||||
|
||||
| weechat | version | WeeChat-Version | -
|
||||
|
||||
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|===
|
||||
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
|
||||
|
||||
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "tag_xxx": Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag), "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "user": Benutzer, "host": Host, "command": Befehl, "channel": Kanal, "arguments": Argumente (schließt Kanal ein), "text": Text (zum Beispiel eine Nachricht von einem User), "pos_command": Index der "command" Nachricht ("-1" falls "command" nicht gefunden wird), "pos_arguments": Index der "arguments" Nachricht ("-1" falls "arguments" nicht gefunden wird), "pos_channel": Index der "channel" Nachricht ("-1" falls "channel" nicht gefunden wird),"pos_text": Index für "text" Nachricht ("-1" falls "text" nicht gefunden wird)
|
||||
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "tag_xxx": Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag), "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "user": Benutzer, "host": Host, "command": Befehl, "channel": Kanal, "arguments": Argumente (schließt Kanal ein), "text": Text (zum Beispiel eine Nachricht von einem User), "param1" ... "paramN": geparste Befehlsparameter, "num_params": Anzahl geparste Befehlsparameter, "pos_command": Index der "command" Nachricht ("-1" falls "command" nicht gefunden wird), "pos_arguments": Index der "arguments" Nachricht ("-1" falls "arguments" nicht gefunden wird), "pos_channel": Index der "channel" Nachricht ("-1" falls "channel" nicht gefunden wird),"pos_text": Index für "text" Nachricht ("-1" falls "text" nicht gefunden wird)
|
||||
|
||||
| irc | irc_message_split | trennt eine IRC Nachricht (standardmäßig in 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|
||||
|
||||
|
||||
@@ -16,7 +16,14 @@
|
||||
. xfer (7000)
|
||||
. irc (6000)
|
||||
. relay (5000)
|
||||
. guile, javascript, lua, perl, php, python, ruby, tcl (4000)
|
||||
. guile (4007)
|
||||
. javascript (4006)
|
||||
. lua (4005)
|
||||
. perl (4004)
|
||||
. php (4003)
|
||||
. python (4002)
|
||||
. ruby (4001)
|
||||
. tcl (4000)
|
||||
. script (3000)
|
||||
. fset (2000)
|
||||
// end::plugins_priority[]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// tag::url_options[]
|
||||
[width="100%",cols="2,^1,7",options="header"]
|
||||
|===
|
||||
| Einstellung | Type ^(1)^ | Konstanten ^(2)^
|
||||
| Einstellung | Type ^(1)^ | Konstanten ^(2)^
|
||||
|
||||
| verbose | long |
|
||||
|
||||
|
||||
@@ -123,6 +123,36 @@ Beispiele:
|
||||
/auth user2 ${weechat_config_dir}/ecdsa2.pem
|
||||
----
|
||||
|
||||
[[command_irc_autojoin]]
|
||||
* `+autojoin+`: Konfigurieren der Serveroption "autojoin"
|
||||
|
||||
----
|
||||
/autojoin add [<channel1> [<channel2>...]]
|
||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||
del [<channel1> [<channel2>...]]
|
||||
apply
|
||||
sort
|
||||
|
||||
add: Hinzufügen des aktuellen Kanals oder einer Liste von Kanälen (mit optionalen Schlüsseln) zur autojoin-Option; Wenn Sie sich in dem Kanal befinden und der Schlüssel nicht übergeben wird, wird der Schlüssel im Kanal gelesen
|
||||
addraw: das IRC Roh-Format wird genutzt (wie beim /join Befehl): alle Kanäle werden durch Kommata voneinander getrennt und optional werden die Schlüssel durch Kommata separiert
|
||||
del: Löschen des aktuellen Kanals oder eine Liste von Kanälen aus der autoJoin-Option
|
||||
channel: Kanalname
|
||||
key: Schlüssel für den Kanal
|
||||
apply: fügt die aktuell besuchten Kanäle in der autojoin-Option hinzu
|
||||
sort: sortiert die Kanäle alphabetisch in der autojoin Option
|
||||
|
||||
Beispiele:
|
||||
/autojoin add
|
||||
/autojoin add #test
|
||||
/autojoin add #chan1 #chan2
|
||||
/allchan /autojoin add
|
||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||
/autojoin del
|
||||
/autojoin del #chan1
|
||||
/autojoin apply
|
||||
/autojoin sort
|
||||
----
|
||||
|
||||
[[command_irc_ban]]
|
||||
* `+ban+`: Nicknamen oder Hosts sperren/verbannen
|
||||
|
||||
@@ -157,8 +187,14 @@ Fähigkeiten die von WeeChat unterstützt werden: account-notify, away-notify, c
|
||||
Fähigkeiten die standardmäßig genutzt werden sollen, können mit der Option irc.server_default.capabilities gesetzt werden (oder individuell für jeden Server mit der Option irc.server.xxx.capabilities).
|
||||
|
||||
Beispiele:
|
||||
/cap
|
||||
/cap req multi-prefix away-notify
|
||||
zeigt unterstützte und aktivierte Funktionen an:
|
||||
/cap
|
||||
Fähigkeiten multi-prefix und away-notify anfordern:
|
||||
/cap req multi-prefix away-notify
|
||||
Fähigkeit extended-join anfordern, Fähigkeit multi-prefix entfernen:
|
||||
/cap req extended-join -multi-prefix
|
||||
Fähigkeit away-notify entfernen
|
||||
/cap req -away-notify
|
||||
----
|
||||
|
||||
[[command_irc_connect]]
|
||||
@@ -1302,8 +1338,8 @@ Beispiele:
|
||||
----
|
||||
/debug list
|
||||
set <plugin> <level>
|
||||
dump [<plugin>]
|
||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
||||
dump|hooks [<plugin>]
|
||||
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
time <command>
|
||||
@@ -1313,15 +1349,15 @@ Beispiele:
|
||||
plugin: Name der Erweiterung ("core" für den WeeChat Kern)
|
||||
level: Debuglevel der Erweiterung (0 = deaktiviert Debug)
|
||||
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
|
||||
hooks: zeigt die aktiven Hooks an (bei einer Erweiterung: detaillierte Informationen über Hooks werden angezeigt, die von der Erweiterung erstellt wurden)
|
||||
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
|
||||
certs: gibt die Anzahl geladener vertrauenswürdiger Zertifizierungsstellen aus
|
||||
color: zeigt Informationen über die aktuellen Farbpaarungen an
|
||||
cursor: schaltet den debug-Modus für den Cursor-Modus ein/aus
|
||||
dirs: Verzeichnisse werden angezeigt
|
||||
hdata: zeigt Informationen zu hdata an (mittels free werden alle hdata Informationen aus dem Speicher entfernt)
|
||||
hooks: zeigt die aktiven Hooks an
|
||||
infolists: zeigt Information über die Infolists an
|
||||
libs: zeigt an welche externen Bibliotheken verwendet werden
|
||||
certs: gibt die Anzahl geladener vertrauenswürdiger Zertifizierungsstellen aus
|
||||
memory: gibt Informationen über den genutzten Speicher aus
|
||||
mouse: schaltet den debug-Modus für den Maus-Modus ein/aus
|
||||
tags: zeigt für jede einzelne Zeile die dazugehörigen Schlagwörter an
|
||||
@@ -1374,31 +1410,35 @@ Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrü
|
||||
"50" > "100" ==> 1
|
||||
|
||||
Einige Variablen werden im Ausdruck mittels der Formatierung ${variable} ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
|
||||
1. die Zeichenfolge selbst ohne Auswertung (Format: "raw:xxx")\n
|
||||
2. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
|
||||
3. eine evaluierte Bedingung (Format: "eval_cond:xxx")
|
||||
4. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
|
||||
5. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
|
||||
6. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:max,suffix,string" oder "cut:+max,suffix,string")
|
||||
1. die Zeichenfolge selbst ohne Auswertung (Format: "raw:xxx")
|
||||
2. eine benutzerdefinierte Variable (Format: "name")
|
||||
3. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
|
||||
4. eine evaluierte Bedingung (Format: "eval_cond:xxx")
|
||||
5. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
|
||||
6. eine Zeichenfolge, die in Kleinbuchstaben umgewandelt wird (Format: "lower:xxx")
|
||||
7. eine Zeichenfolge, die in Großbuchstaben umgewandelt wird (Format: "upper:xxx")
|
||||
8. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
|
||||
9. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:max,suffix,string" oder "cut:+max,suffix,string")
|
||||
oder maximale Anzahl an Zeichen die auf dem Bildschirm angezeigt werden sollen (Format: "cutscr:Max,Suffix,Zeichenkette oder "cutscr:+Max,Suffix,Zeichenkette")
|
||||
7. eine Zeichenkette umkehren (Format: "rev:xxx" oder "revscr:xxx")
|
||||
8. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette")
|
||||
9. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx")
|
||||
10. Aufteilen einer Zeichenkette (Format: "split:Anzahl,Trennzeichen,Flags,xxx")
|
||||
11. Aufteilen von Shell-Argumenten (Format: "split_shell:Anzahl,xxx")
|
||||
12. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")
|
||||
13. zum modifizieren (Format: "modifier:name,data,string")
|
||||
14. eine Info (Format: "Info:Name,Argumente", Argumente sind optional)
|
||||
15. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: "base_encode:base,xxx" oder "base_decode:base,xxx")
|
||||
16. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
||||
17. eine Umgebungsvariable (Format: "env:XXX")
|
||||
18. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
|
||||
19. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx")
|
||||
20. eine zufällige ganze Zahl (Format: "random:min,max")
|
||||
21. eine übersetzte Zeichenkette (Format: "translate:xxx")
|
||||
22. eine Option (Format: "file.section.option")
|
||||
23. eine lokale Variable eines Buffers
|
||||
24. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
|
||||
10. eine Zeichenkette umkehren (Format: "rev:xxx" oder "revscr:xxx")
|
||||
11. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette")
|
||||
12. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx")
|
||||
13. Aufteilen einer Zeichenkette (Format: "split:Anzahl,Trennzeichen,Flags,xxx")
|
||||
14. Aufteilen von Shell-Argumenten (Format: "split_shell:Anzahl,xxx")
|
||||
15. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")
|
||||
16. zum modifizieren (Format: "modifier:name,data,string")
|
||||
17. eine Info (Format: "Info:Name,Argumente", Argumente sind optional)
|
||||
18. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: "base_encode:base,xxx" oder "base_decode:base,xxx")
|
||||
19. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
||||
20. eine Umgebungsvariable (Format: "env:XXX")
|
||||
21. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
|
||||
22. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx")
|
||||
23. eine zufällige ganze Zahl (Format: "random:min,max")
|
||||
24. eine übersetzte Zeichenkette (Format: "translate:xxx")
|
||||
25. eine Benutzervariable definieren (Format: "define:Name,Wert")
|
||||
26. eine Option (Format: "file.section.option")
|
||||
27. eine lokale Variable eines Buffers
|
||||
28. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
|
||||
Das Format für hdata kann wie folgt aufgebaut sein:
|
||||
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
|
||||
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
|
||||
@@ -1421,6 +1461,8 @@ Beispiele (einfache Zeichenketten):
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${lower:TEST} ==> test
|
||||
/eval -n ${upper:test} ==> TEST
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
@@ -1442,6 +1484,7 @@ Beispiele (einfache Zeichenketten):
|
||||
/eval -n ${base_encode:64,test} ==> dGVzdA==
|
||||
/eval -n ${base_decode:64,dGVzdA==} ==> test
|
||||
/eval -n ${translate:Plugin} ==> Erweiterung
|
||||
/eval -n ${define:len,${calc:5+3}}${len}x${len} ==> 8x8
|
||||
|
||||
Beispiele (Bedingungen):
|
||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||
@@ -1465,7 +1508,7 @@ Beispiele (Bedingungen):
|
||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||
rename <name> <new_name>
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
del <name>|-all [<name>...]
|
||||
|
||||
list: alle Filter auflisten
|
||||
enable: Filter wird aktiviert (Filter werden standardmäßig aktiviert)
|
||||
@@ -1571,6 +1614,7 @@ Auflistung der möglichen Aktionen:
|
||||
delete_previous_char: entfernt vorheriges Zeichen
|
||||
delete_next_char: entfernt nächstes Zeichen
|
||||
delete_previous_word: entfernt vorheriges Wort
|
||||
delete_previous_word_whitespace: vorheriges Wort löschen (bis zum Leerzeichen)
|
||||
delete_next_word: entfernt nächstes Wort
|
||||
delete_beginning_of_line: entfernt alle Zeichen ab Zeilenanfang bis zum Cursor
|
||||
delete_end_of_line: entfernt alle Zeichen ab Cursor bis zum Ende der Zeile
|
||||
@@ -1614,6 +1658,49 @@ Auflistung der möglichen Aktionen:
|
||||
Dieser Befehl wird sinnvollerweise mittels Tastenbelegungen oder Erweiterungen genutzt.
|
||||
----
|
||||
|
||||
[[command_weechat_item]]
|
||||
* `+item+`: Verwalten von benutzerdefinierten Bar-Items
|
||||
|
||||
----
|
||||
/item list
|
||||
add|addreplace <name> "<conditions>" "<content>"
|
||||
rename <name> <new_name>
|
||||
refresh <name> [<name>...]
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
|
||||
list: zeigt eine Liste aller benutzerdefinierten Bar-Items
|
||||
add: fügt ein benutzerdefiniertes Bar-Item hinzu
|
||||
addreplace: erzeugt neues Bar-Item oder ersetzt ein schon existierendes Bar-Item
|
||||
name: benutzerdefinierter Name des Bar-Items
|
||||
conditions: evaluierte Bedingungen um ein Bar-Item anzuzeigen (zum Beispiel um ein Bar-Item nur in einem bestimmten Buffer anzuzeigen)
|
||||
content: Inhalt (evaluiert, siehe /help eval)
|
||||
rename: Umbenennen eines benutzerdefinierten Bar-Items
|
||||
refresh: aktualisiert den Inhalt des Items in allen Bars, in denen das Item angezeigt wird; jedes Item kann aktualisiert werden: standard/Erweiterung/benutzerdefiniertes Bar-Item
|
||||
recreate: kopiert den Befehl in die Eingabezeile um das benutzerdefinierte Bar-Item zu editieren
|
||||
del: entfernt ein benutzerdefiniertes Bar-Item
|
||||
-all: entfernt alle benutzerdefinierten Bar-Items
|
||||
|
||||
Beispiele:
|
||||
Item welches die Terminalgröße anzeigt wird hinzugefügt, aber nur in Buffern mit Nummer angezeigt = 1:
|
||||
/item add terminfo "${buffer.number} == 1" "term:${info:term_width}x${info:term_height}"
|
||||
fügt ein Item hinzu, welches Informationen über den Buffer anzeigt:
|
||||
/item add bufinfo "" "${buffer.number}:${buffer.name}${if:${buffer.zoomed}?(Z)}"
|
||||
fügt ein Item mit Datum/Uhrzeit hinzu, dabei wird das Format "Dec 25, 12:34 +0100" verwendet, aktualisiert, jede Minute:
|
||||
/item add datetime "" "${date:%b %d, %H:%M %z}"
|
||||
/trigger add datetime_refresh timer "60000;60" "" "" "/item refresh datetime"
|
||||
fügt ein Item mit der Anzahl der Zeilen in dem Buffer hinzu (sichtbar/total), jeweils aktualisiertwenn eine neue Zeile dargestellt wird oder wenn sich der Status der gefilterten Zeilen geändert hat:
|
||||
/item add lines_count "" "${calc:${buffer.lines.lines_count}-${buffer.lines.lines_hidden}}/${buffer.lines.lines_count} lines"
|
||||
/trigger add lines_count_refresh_print print "" "" "" "/item refresh lines_count"
|
||||
/trigger add lines_count_refresh_signal signal "window_switch;buffer_switch;buffer_lines_hidden;filters_*" "" "" "/item refresh lines_count"
|
||||
erzwingt die Aktualisierung des Items "lines_count":
|
||||
/item refresh lines_count
|
||||
erstellt das Item "lines_count", mit anderen Bedingungen oder Inhalten, neu:
|
||||
/item recreate lines_count
|
||||
entfernt das Item "lines_count":
|
||||
/item del lines_count
|
||||
----
|
||||
|
||||
[[command_weechat_key]]
|
||||
* `+key+`: Einer Taste einen Befehl zuordnen oder entfernen
|
||||
|
||||
@@ -1990,6 +2077,32 @@ Beispiele:
|
||||
/set env ABC ""
|
||||
----
|
||||
|
||||
[[command_weechat_toggle]]
|
||||
* `+toggle+`: den Wert einer Konfigurationsoption umschalten
|
||||
|
||||
----
|
||||
/toggle <option> [<value> [<value>...]]
|
||||
|
||||
option: Name einer Option
|
||||
value: mögliche Werte für die Option (Werte werden wie bei Shell-Befehlsargumente aufgeteilt: Anführungszeichen können verwendet werden, um Leerzeichen am Anfang/Ende von Werten zu nutzen)
|
||||
|
||||
Verhalten:
|
||||
- nur eine Option vom Typ Boolean oder String kann ohne Wert umgeschaltet werden:
|
||||
- boolean: zwischen Ein/Aus Status umschalten, entsprechend dem aktuellen Wert
|
||||
- string: Umschalten zwischen leerem String und Standardwert (funktioniert nur, wenn für die Option ein leerer String erlaubt ist)
|
||||
- mit einem vorgegeben einzelnen Wert, zwischen diesem Wert und dem Standardwert der Option umschalten
|
||||
- sind mehrere Werte angegeben, schalten Sie zwischen diesen Werten um: Der verwendete Wert ist der, der dem aktuellen Wert der Option folgt; wenn der aktuelle Wert der Option nicht in der Liste enthalten ist, wird der erste Wert aus der Liste verwendet
|
||||
- der Sonderwert "null" kann genutzt werden, jedoch nur als erster Wert in der Liste und ohne Anführungszeichen.
|
||||
|
||||
Beispiele:
|
||||
die Uhrzeit im Chat-Bereich umschalten (die Ausgabe des neuen Wertes wird unterdrückt):
|
||||
/mute /toggle weechat.look.buffer_time_format
|
||||
Zeitformat im Chat-Bereich ändern (mit Sekunden, ohne Sekunden, deaktiviert):
|
||||
/toggle weechat.look.buffer_time_format "%H:%M:%S" "%H:%M" ""
|
||||
den automatischen Beitritt des #weechat-Kanals auf dem libera-Server umschalten:
|
||||
/toggle irc.server.libera.autojoin null #weechat
|
||||
----
|
||||
|
||||
[[command_weechat_unset]]
|
||||
* `+unset+`: Konfigurationsparameter freigeben/zurücksetzen
|
||||
|
||||
@@ -2010,20 +2123,23 @@ Beispiele:
|
||||
----
|
||||
|
||||
[[command_weechat_upgrade]]
|
||||
* `+upgrade+`: WeeChat Binärdatei neu laden, ohne die Verbindung zum Server zu trennen
|
||||
* `+upgrade+`: Speichern der WeeChat-Sitzung und laden der WeeChat-Binärdatei, ohne die Verbindung zu Servern zu trennen
|
||||
|
||||
----
|
||||
/upgrade [-yes] [<path_to_binary>|-quit]
|
||||
/upgrade [-yes] [<path_to_binary>|-save|-quit]
|
||||
|
||||
-yes: wird benötigt, sobald Option "weechat.look.confirm_upgrade" aktiviert ist
|
||||
path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (Standardeinstellung ist die aktuell ausführbare Datei)
|
||||
-dummy: ohne Funktion (dient lediglich dazu, um nicht versehentlich die "-quit" Funktion auszuführen)
|
||||
-save: speichert nur die aktuelle Sitzung, WeeChat wird nicht beendet oder neu gestartet. DieKonfigurationsdateien werden hierbei nicht gespeichert (falls dies gewünscht wird, nutze vorher /save)
|
||||
-quit: trennt *ALLE* Verbindungen, speichert die aktuelle Sitzung und beendet WeeChat, um den aktuellen Zustand später wiederherstellen (siehe unten)
|
||||
|
||||
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Bevor dieser Befehl ausgeführt wird, sollte eine neue Version von WeeChat entweder vorab kompiliert, oder mit einem Paketmanager installiert worden sein.
|
||||
|
||||
Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da diese Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt.
|
||||
|
||||
Wichtig: Die Verwendung der Option -save kann gefährlich sein. Für ein Standard-Upgrade oder einen Neustart wird empfohlen, nur den /upgrade (oder mit -quit) Befehl zu nutzen.Mit der Option -save kann eine Sitzung regelmäßig gespeichert und dann wiederhergestellt werden,falls Weechat abnormal beendet wird (Stromausfall, Absturz etc.)
|
||||
|
||||
Der Upgrade Vorgang besteht aus vier Schritten:
|
||||
1. Sicherung der Sitzung, in Dateien für Core und Erweiterungen (buffers, history, ..)
|
||||
2. alle Erweiterungen werden ausgeschaltet (Konfigurationen *.conf werden gesichert)
|
||||
@@ -2036,9 +2152,13 @@ Nutzt man die "-quit" Funktion ist die Abfolge geringfügig anders:
|
||||
3. alle Erweiterungen werden ausgeschaltet
|
||||
4. die WeeChat Konfiguration wird gesichert
|
||||
5. WeeChat wird beendet
|
||||
Die Sitzung kann zu einem späteren Zeitpunkt wiederhergestellt werden: weechat --upgrade
|
||||
WICHTIG: Die Sitzung muss mit exakt den selben Konfigurationsdateien wiederhergestellt werden (*.conf)
|
||||
Es ist möglich, die WeeChat-Sitzung auf einem anderen Computer wiederherzustellen, wenn Sie den Inhalt der WeeChat Verzeichnisse kopieren (siehe / debug dirs).
|
||||
|
||||
Mit der Option "-save" ist der Ablauf:
|
||||
1. Die Sitzung wird in Dateien (*.upgrade) gesichert, allerdings mit dem Status das IRC und Client Verbindungen unterbrochen sind (es findet aber keine Trennung der Verbindung statt!)
|
||||
|
||||
Durch nutzen von -quit oder -save kann eine Sitzung zu einem späteren Zeitpunkt wiederhergestellt werden:weechat --upgrade
|
||||
WICHTIG: Die Sitzung muss mit exakt den selben Konfigurationsdateien wiederhergestellt werden (*.conf) und wenn möglich mit der selben Version von WeeChat (oder einer neueren Version).
|
||||
Es ist möglich, die WeeChat-Sitzung auf einem anderen Computer wiederherzustellen, wenn Sie den Inhalt der WeeChat Verzeichnisse kopieren (siehe /debug dirs).
|
||||
----
|
||||
|
||||
[[command_weechat_uptime]]
|
||||
@@ -2222,6 +2342,7 @@ Die folgenden Variablen können in den obigen Optionen genutzt werden:
|
||||
- ${format_hotlist}: die formatierte Hotlist (evaluiert aus Option buflist.format.hotlist)
|
||||
- ${hotlist}: die Hotlist in der Rohform
|
||||
- ${hotlist_priority}: "none", "low", "message", "private" oder "highlight"
|
||||
- ${hotlist_priority_number}: -1 = keine, 0 = niedrig, 1 = Nachricht, 2 = private, 3 = Hervorhebungen
|
||||
- ${format_lag}: die Verzögerung für einen IRC Server-Buffer, ist leer falls es keine Verzögerung gibt (evaluiert aus Option buflist.format.lag)
|
||||
- ${format_tls_version}: Indikator der TLS Version für den Serverbuffer, Channels bleiben unberührt (evaluiert aus Option buflist.format.tls_version)
|
||||
----
|
||||
@@ -2788,7 +2909,7 @@ protocol.name: Protokoll und Name des Relay:
|
||||
- Protokoll "weechat" (es wird kein Name verwendet)
|
||||
|
||||
Das "irc" Protokoll dient dazu eine Verbindung zu einem anderen IRC Client (oder zu einem zweiten WeeChat) herzustellen.
|
||||
Das "weechat" Protokoll wird von einem Remote-Interface genutzt um eine Verbindung auf dem Port herzustellen. Siehe https://weechat.org/about/interfaces
|
||||
Das "weechat" Protokoll wird von einem Remote-Interface genutzt um eine Verbindung auf dem Port herzustellen. Siehe https://weechat.org/about/interfaces/
|
||||
|
||||
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
|
||||
|
||||
@@ -2943,7 +3064,7 @@ Beispiele:
|
||||
----
|
||||
/spell enable|disable|toggle
|
||||
listdict
|
||||
setdict <dict>[,<dict>...]
|
||||
setdict -|<dict>[,<dict>...]
|
||||
deldict
|
||||
addword [<dict>] <word>
|
||||
|
||||
@@ -2951,7 +3072,7 @@ Beispiele:
|
||||
disable: Rechtschreibprüfung wird deaktiviert
|
||||
toggle: Funktionalität der Rechtschreibprüfung umschalten
|
||||
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
|
||||
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden)
|
||||
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden (spezieller Wert "-" deaktiviert die Rechtschreibprüfung für den aktuellen Buffer))
|
||||
deldict: Wörterbuch für den aktuellen Buffer entfernen
|
||||
addword: fügt ein Wort in das persönliche Wörterbuch hinzu
|
||||
|
||||
@@ -3059,7 +3180,7 @@ post_action: Aktion welche nach der Abarbeitung des Triggers ausgeführt werden
|
||||
restart: startet Trigger neu (Hook(s) werden neu erstellt)
|
||||
show: zeigt detaillierte Informationen zu einem Trigger (inklusive einer kleinen Statistik)
|
||||
del: entfernt einen Trigger
|
||||
-all: führt eine Aktion aus, die alle Trigger beinhaltet
|
||||
-all: führt eine Aktion aus, die alle Trigger betrifft
|
||||
restore: stellt Trigger mit Standardwerten wieder her (funktioniert nur bei vorgegebenen Triggern)
|
||||
default: stellt die standardmäßigen Trigger wieder her
|
||||
monitor: öffnet den Trigger Monitor-Buffer, mit optionaler Filterfunktion:
|
||||
@@ -3073,13 +3194,15 @@ Wenn ein Trigger-Callback aufgerufen wird, dann wird folgende Befehlskette ausge
|
||||
5. Aktion welche nach der Abarbeitung des Triggers ausgeführt werden soll
|
||||
|
||||
Beispiele (die standardmäßig verfügbaren Trigger kann man sich mit "/trigger listdefault" anzeigen lassen):
|
||||
fügt einer Nachricht die Textattribute *fett*, _unterstrichen_ und /kursiv/ hinzu:
|
||||
fügt einer Nachricht die Textattribute *fett*, _unterstrichen_ und /kursiv/ hinzu (nur in User-Nachrichten):
|
||||
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
|
||||
verbirgt die Nicklist auf kleineren Terminals:
|
||||
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||
speichert die Konfiguration jede Stunde ab:
|
||||
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
||||
speichert, ohne Ausgabe von Text, eine Weechat-Sitzung um Mitternach (siehe /help upgrade):
|
||||
/trigger add session_save signal day_changed "" "" "/mute /upgrade -save"
|
||||
öffnet den Trigger Monitor und zeigt ausschließlich modifier und Trigger an, die mit "resize" im Namen beginnen:
|
||||
/trigger monitor @modifier,resize*
|
||||
----
|
||||
|
||||
@@ -750,6 +750,12 @@
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
|
||||
* [[option_weechat.look.highlight_disable_regex]] *weechat.look.highlight_disable_regex*
|
||||
** Beschreibung: pass:none[Erweiterter regulärer POSIX-Ausdruck, der verwendet wird, um jede Hervorhebung von einer Nachricht zu verhindern: Diese Option hat eine höhere Priorität als andere Hervorhebungsoptionen (sofern die Zeichenkette in der Nachricht gefunden wird, die Hervorhebung deaktiviert ist und die andereOptionen ignoriert werden), bei regulären Ausdrücken wird die Groß-/Kleinschreibung nicht beachtet (verwenden Sie "(?-i)" am Anfang, um Groß- und Kleinschreibung zu beachten), Beispiele: "<flash.*>", "(?-i)<Flash.*>"]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
|
||||
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
||||
** Beschreibung: pass:none[Suchmuster (erweiterter regulärer POSIX Ausdruck) welches genutzt werden soll, um zu überprüfen ob eine Nachricht ein Highlight enthält oder nicht. Mindestens eine Zeichenkette muss dabei auf das Suchmuster passen (alphanumerisch, "-", "_" oder "|"). Das Suchmuster unterscheidet dabei nicht zwischen Groß-und Kleinschreibung (um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden). Beispiele: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
||||
** Typ: Zeichenkette
|
||||
@@ -1290,12 +1296,6 @@
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"*"+`
|
||||
|
||||
* [[option_weechat.plugin.debug]] *weechat.plugin.debug*
|
||||
** Beschreibung: pass:none[aktiviert Debug-Nachrichten für alle Erweiterungen (diese Einstellung ist standardmäßig deaktiviert und das ist auch gut so)]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_weechat.plugin.extension]] *weechat.plugin.extension*
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Dateinamenserweiterungen, welche für die Erweiterungen genutzt werden sollen]
|
||||
** Typ: Zeichenkette
|
||||
@@ -1403,7 +1403,7 @@
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
||||
** Beschreibung: pass:none[speichert automatisch den Inhalt eines Buffers in eine Datei (sofern das Protokollieren für den Buffer nicht deaktiviert sein sollte)]
|
||||
** Beschreibung: pass:none[speichert automatisch den Inhalt eines Buffers in eine Datei (sofern das Protokollieren für den Buffer nicht deaktiviert sein sollte); Falls deaktiviert, wird die Protokollierung für alle Buffer deaktiviert]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
@@ -1468,6 +1468,24 @@
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"_"+`
|
||||
|
||||
* [[option_logger.file.rotation_compression_level]] *logger.file.rotation_compression_level*
|
||||
** Beschreibung: pass:none[Komprimierungsstufe für rotierende Protokolldateien (mit Dateierweiterung „.1“, „.2“,etc.), falls die Option logger.file.rotation_compression_type aktiviert ist: 1 = niedrigeKomprimierung / schnell ... 100 = beste Komprimierung / langsam; Der Wert des Prozentsatzes wird umgewandelt in 1-9 für gzip und 1-19 für zstd; der Standardwert wird hierbeiempfohlen, denn er bietet einen guten Kompromiss zwischen Komprimierung und Geschwindigkeit]
|
||||
** Typ: integer
|
||||
** Werte: 1 .. 100
|
||||
** Standardwert: `+20+`
|
||||
|
||||
* [[option_logger.file.rotation_compression_type]] *logger.file.rotation_compression_type*
|
||||
** Beschreibung: pass:none[Komprimierungstyp für rotierende Protokolldateien; wenn "none" genutzt wird, findet keine Komprimierung der Protokolldateien statt; WARNUNG: wenn die Rotation mit einer anderen Stufe der Komprimierung (oder gar keiner Komprimierung) aktiviert wurde, muss zuerst die Logger-Erweiterung beendet werden., dann de-komprimieren Sie die Dateien mit dem neuen Typ, danach muss die Option in der Datei logger.conf angepasst werden, bevor die Logger-Erweiterung neu geladen wird]
|
||||
** Typ: integer
|
||||
** Werte: none, gzip, zstd
|
||||
** Standardwert: `+none+`
|
||||
|
||||
* [[option_logger.file.rotation_size_max]] *logger.file.rotation_size_max*
|
||||
** Beschreibung: pass:none[Wenn diese Größe erreicht ist, wird eine Rotation der Protokolldateien durchgeführt: dievorhandene rotierte Protokolldateien werden umbenannt (.1 wird zu .2, .2 wird zu .3 usw.).Die aktuelle Datei erhält wird umbenannt und erhält .1 als Erweiterung; eine ganze Zahl mitSuffix ist erlaubt: b = Bytes (Standard, wenn keine Einheit angegeben ist), k = Kilobytes, m =Megabyte, g = Gigabyte, t = Terabyte; Beispiel: "2g" bewirkt eine Rotationsobald die Dateigröße > 2.000.000.000 Byte ist; wenn auf „0“ gesetzt, erfolgt keine Rotationder Dateien (unbegrenzte Protokollgröße); WARNUNG: Bevor Sie diese Option ändern,sollte sie zuerst den Komprimierungstyp über die Option logger.file festlegen.rotation_compression_type]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"0"+`
|
||||
|
||||
* [[option_logger.file.time_format]] *logger.file.time_format*
|
||||
** Beschreibung: pass:none[Zeitstempel in Protokoll-Datei nutzen (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)]
|
||||
** Typ: Zeichenkette
|
||||
@@ -1550,6 +1568,12 @@
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+lightmagenta+`
|
||||
|
||||
* [[option_trigger.color.identifier]] *trigger.color.identifier*
|
||||
** Beschreibung: pass:none[Textfarbe für Trigger-Kontextkennung im Monitorbuffer]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+cyan+`
|
||||
|
||||
* [[option_trigger.color.regex]] *trigger.color.regex*
|
||||
** Beschreibung: pass:none[Textfarbe für reguläre Ausdrücke]
|
||||
** Typ: Farbe
|
||||
@@ -1777,7 +1801,7 @@
|
||||
** Standardwert: `+"${buffer.hidden}==0"+`
|
||||
|
||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||
** Beschreibung: pass:none[buflist aktivieren]
|
||||
** Beschreibung: pass:none[Buflist aktivieren; Es wird empfohlen, diese Option zu verwenden, anstatt nur die Bar zu verstecken, da hiermit auch interne Hooks entfernt werden, die nicht benötigt werden, falls die Leiste ausgeblendet wird; Sie können auch den Befehl "/buflist toggle" verwenden oder die Standardtastenbelegung alt+shift+b]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
@@ -2133,7 +2157,7 @@
|
||||
** Standardwert: `+cyan+`
|
||||
|
||||
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
||||
** Beschreibung: pass:none[Textfarbe in der chghost Nachrichten dargestellt werden]
|
||||
** Beschreibung: pass:none[Textfarbe in der "chghost" Nachrichten dargestellt werden]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+brown+`
|
||||
@@ -2156,6 +2180,12 @@
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+red+`
|
||||
|
||||
* [[option_irc.color.message_setname]] *irc.color.message_setname*
|
||||
** Beschreibung: pass:none[Textfarbe in der "setname" Nachrichten dargestellt werden]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+brown+`
|
||||
|
||||
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
||||
** Beschreibung: pass:none[ersetzt mirc Farben in Nachrichten mittels einer Hashtabelle: Schlüssel sind "fg,bg" als Ganzzahl zwischen -1 (nicht näher bezeichnet) und 15. Als Wert ist der Farbname oder die Farbnummer von WeeChat möglich (Format: "1,-1:Farbe1;2,7:Farbe2"), Beispiel: "1,-1:darkgray;1,2:white,blue" ersetzt schwarz durch "darkgray" und schwarz auf blau durch "white,blue"; Tabelle der Standard-IRC-Farben von WeeChat (in Klammern der Farbname, wie er von WeeChat genutzt wird): 0=weiß (white), 1=schwarz (black), 2=blau (blue), 3=grün (green), 4=hellrot (lightred), 5=rot (red), 6=violett (magenta), 7=braun (brown), 8=gelb (yellow), 9= hell-grün (lightgreen), 10=türkis (cyan), 11=hell-türkis (lightcyan), 12=hellblau (lightblue), 13=hell-violett (lightmagenta), 14=dunkel-grau (darkgray), 15=grau (gray)]
|
||||
** Typ: Zeichenkette
|
||||
@@ -2336,6 +2366,12 @@
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_irc.look.display_pv_nick_change]] *irc.look.display_pv_nick_change*
|
||||
** Beschreibung: pass:none[Nickänderung im privaten Buffer anzeigen]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
||||
** Beschreibung: pass:none[zeigt eine Warnung in einem privaten Buffer an, sobald sich die Adresse eines Remote-Nick geändert hat; diese Option ist standardmäßig ausgeschaltet, da Server wie bitlbee eine solche Warnung unvermittelt auslösen (die Adresse des Remote-Nick ändert sich während eines Login mehrfach)]
|
||||
** Typ: boolesch
|
||||
@@ -2552,6 +2588,12 @@
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_irc.look.smart_filter_setname]] *irc.look.smart_filter_setname*
|
||||
** Beschreibung: pass:none[aktiviert einen intelligenten Filter für "setname" Nachrichten]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
||||
** Beschreibung: pass:none[aktiviert die Erstellung von temporären Servern mit dem Befehl /connect]
|
||||
** Typ: boolesch
|
||||
@@ -2696,6 +2738,12 @@
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
|
||||
* [[option_irc.server_default.autojoin_dynamic]] *irc.server_default.autojoin_dynamic*
|
||||
** Beschreibung: pass:none[Setze automatisch die "autojoin"-Option entsprechend den Kanälen, die du manuell beitrittst bzw. verlässt, mit den Befehlen /join und /part]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_irc.server_default.autoreconnect]] *irc.server_default.autoreconnect*
|
||||
** Beschreibung: pass:none[Nach einer Trennung vom Server die Verbindung automatisch wiederherstellen]
|
||||
** Typ: boolesch
|
||||
@@ -3064,11 +3112,11 @@
|
||||
** Werte: -1 .. 43200
|
||||
** Standardwert: `+0+`
|
||||
|
||||
* [[option_relay.network.compression_level]] *relay.network.compression_level*
|
||||
** Beschreibung: pass:none[Kompressionsstärke der Pakete die durch das WeeChat Protokoll an den Client gesendet werden sollen (0 = Kompression deaktiviert, 1 = niedrige Kompression ... 9 = stärkste Kompression)]
|
||||
* [[option_relay.network.compression]] *relay.network.compression*
|
||||
** Beschreibung: pass:none[Komprimierung von Nachrichten, die mittels "weechat" Protokoll an Clients gesendet werden: 0 = Komprimierung deaktivieren, 1 = geringe Komprimierung / schnell ... 100 = beste Komprimierung / langsam; dieser Wert ist eine Prozentangabe, welcher für zlib nach 1-9 und für zstd nach 1-19 umgewandelt wird; der Standardwert wird empfohlen, denn er bietet einen guten Kompromiss zwischen Kompression und Geschwindigkeit]
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 9
|
||||
** Standardwert: `+6+`
|
||||
** Werte: 0 .. 100
|
||||
** Standardwert: `+20+`
|
||||
|
||||
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
||||
** Beschreibung: pass:none[lauscht standardmäßig am IPv6 Socket (zusätzlich zu IPv4, welches als Standardprotokoll genutzt wird); mittels des Protokollnamens kann das IPv4 und IPv6 Protokoll, einzeln oder gemeinsam, erzwungen werden (siehe /help relay)]
|
||||
@@ -3143,34 +3191,6 @@
|
||||
** Standardwert: `+""+`
|
||||
// end::relay_options[]
|
||||
|
||||
// tag::javascript_options[]
|
||||
* [[option_javascript.look.check_license]] *javascript.look.check_license*
|
||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_javascript.look.eval_keep_context]] *javascript.look.eval_keep_context*
|
||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
// end::javascript_options[]
|
||||
|
||||
// tag::ruby_options[]
|
||||
* [[option_ruby.look.check_license]] *ruby.look.check_license*
|
||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_ruby.look.eval_keep_context]] *ruby.look.eval_keep_context*
|
||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
// end::ruby_options[]
|
||||
|
||||
// tag::guile_options[]
|
||||
* [[option_guile.look.check_license]] *guile.look.check_license*
|
||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||
@@ -3185,19 +3205,33 @@
|
||||
** Standardwert: `+on+`
|
||||
// end::guile_options[]
|
||||
|
||||
// tag::tcl_options[]
|
||||
* [[option_tcl.look.check_license]] *tcl.look.check_license*
|
||||
// tag::javascript_options[]
|
||||
* [[option_javascript.look.check_license]] *javascript.look.check_license*
|
||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_tcl.look.eval_keep_context]] *tcl.look.eval_keep_context*
|
||||
* [[option_javascript.look.eval_keep_context]] *javascript.look.eval_keep_context*
|
||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
// end::tcl_options[]
|
||||
// end::javascript_options[]
|
||||
|
||||
// tag::lua_options[]
|
||||
* [[option_lua.look.check_license]] *lua.look.check_license*
|
||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_lua.look.eval_keep_context]] *lua.look.eval_keep_context*
|
||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
// end::lua_options[]
|
||||
|
||||
// tag::perl_options[]
|
||||
* [[option_perl.look.check_license]] *perl.look.check_license*
|
||||
@@ -3227,20 +3261,6 @@
|
||||
** Standardwert: `+on+`
|
||||
// end::php_options[]
|
||||
|
||||
// tag::lua_options[]
|
||||
* [[option_lua.look.check_license]] *lua.look.check_license*
|
||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_lua.look.eval_keep_context]] *lua.look.eval_keep_context*
|
||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
// end::lua_options[]
|
||||
|
||||
// tag::python_options[]
|
||||
* [[option_python.look.check_license]] *python.look.check_license*
|
||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||
@@ -3255,6 +3275,34 @@
|
||||
** Standardwert: `+on+`
|
||||
// end::python_options[]
|
||||
|
||||
// tag::ruby_options[]
|
||||
* [[option_ruby.look.check_license]] *ruby.look.check_license*
|
||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_ruby.look.eval_keep_context]] *ruby.look.eval_keep_context*
|
||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
// end::ruby_options[]
|
||||
|
||||
// tag::tcl_options[]
|
||||
* [[option_tcl.look.check_license]] *tcl.look.check_license*
|
||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_tcl.look.eval_keep_context]] *tcl.look.eval_keep_context*
|
||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
// end::tcl_options[]
|
||||
|
||||
// tag::script_options[]
|
||||
* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded*
|
||||
** Beschreibung: pass:none[Farbe in der der Status "autoloaded" ("a") dargestellt werden soll]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// tag::plugin_options[]
|
||||
Um eine vollständige Dokumentation der Optionen zu erhalten, siehe
|
||||
https://weechat.org/doc[WeeChat user's guide].
|
||||
https://weechat.org/doc/[WeeChat user's guide].
|
||||
|
||||
Mittels der IRC Erweiterung kann man sich zu einen temporären Server verbinden lassen,
|
||||
indem man eine URL verwendet:
|
||||
@@ -100,7 +100,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
||||
findet man in der AUTHORS.adoc Datei).
|
||||
|
||||
Copyright (C) 2003-2021 {author}
|
||||
Copyright (C) 2003-2022 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -63,4 +63,4 @@ include::includes/man.de.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / FEHLER MELDEN
|
||||
|
||||
für Hilfe oder um einen Fehler zu melden: https://weechat.org/about/support
|
||||
für Hilfe oder um einen Fehler zu melden: https://weechat.org/about/support/
|
||||
|
||||
@@ -59,4 +59,4 @@ include::includes/man.de.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / FEHLER MELDEN
|
||||
|
||||
für Hilfe oder um einen Fehler zu melden: https://weechat.org/about/support
|
||||
für Hilfe oder um einen Fehler zu melden: https://weechat.org/about/support/
|
||||
|
||||
+94
-57
@@ -38,7 +38,8 @@ Aber diese Bedeutung trifft nicht auf WeeChat zu!)
|
||||
|
||||
WeeChat ist sehr speicherschonend und besticht durch innovative Funktionen.
|
||||
|
||||
Weitere Informationen findet man auf der WeeChat Seite: https://weechat.org/about/features
|
||||
Weitere Infomationen über Weechat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== Kompilierung / Installation
|
||||
@@ -46,17 +47,17 @@ Weitere Informationen findet man auf der WeeChat Seite: https://weechat.org/abou
|
||||
[[gui]]
|
||||
=== Ich habe gehört es gibt verschiedene GUIs für WeeChat. Wie kann ich diese kompilieren bzw. nutzen?
|
||||
|
||||
Es sind einige Remote-Oberflächen verfügbar. Diese findet man auf der Homepage:
|
||||
https://weechat.org/about/interfaces
|
||||
Einige Remote-GUIs sind verfügbar, siehe
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
||||
|
||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[CMake] zum
|
||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[CMake ^↗^,window=_blank] zum
|
||||
kompilieren von WeeChat zu nutzen.
|
||||
|
||||
Falls Du WeeChat mit Hilfe der
|
||||
link:weechat_user.de.html#compile_with_autotools[autotools] kompilieren solltest
|
||||
link:weechat_user.de.html#compile_with_autotools[autotools ^↗^,window=_blank] kompilieren solltest
|
||||
(dich also nicht für CMake entscheidest), stelle sicher, dass Du die neueste
|
||||
Version von autoconf und automake besitzt.
|
||||
|
||||
@@ -69,7 +70,7 @@ das Repository klont und daraus Updates installiert.
|
||||
[[compile_macos]]
|
||||
=== Wie installiere ich WeeChat auf macOS?
|
||||
|
||||
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew] genutzt wird.
|
||||
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew ^↗^,window=_blank] genutzt wird.
|
||||
Hilfe erhält man mittels:
|
||||
|
||||
----
|
||||
@@ -87,12 +88,12 @@ brew install weechat
|
||||
|
||||
Um Hilfe zu erhalten, nutze den `/help` Befehl.
|
||||
Jeder Befehl besitzt einen Hilfstext, den man sich durch `/help Befehlsname` anzeigen lassen kann.
|
||||
Die link:weechat_user.de.html#key_bindings[Standard Tastenbelegung] sowie
|
||||
link:weechat_user.de.html#commands_and_options[Befehle und Optionen] sind im
|
||||
link:weechat_user.de.html[Benutzerhandbuch] aufgeführt.
|
||||
Die link:weechat_user.de.html#key_bindings[Standard Tastenbelegung ^↗^,window=_blank] sowie
|
||||
link:weechat_user.de.html#commands_and_options[Befehle und Optionen ^↗^,window=_blank] sind im
|
||||
link:weechat_user.de.html[Benutzerhandbuch ^↗^,window=_blank] aufgeführt.
|
||||
|
||||
Neuen Anwendern wird empfohlen,
|
||||
die link:weechat_quickstart.de.html[Quickstart Anleitung] zu lesen.
|
||||
die link:weechat_quickstart.de.html[Quickstart Anleitung ^↗^,window=_blank] zu lesen.
|
||||
|
||||
[[display]]
|
||||
== Anzeige
|
||||
@@ -125,7 +126,7 @@ Es ist deshalb wichtig, *ALLE* der folgenden Lösungsmöglichkeiten zu prüfen:
|
||||
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` beim Starten von
|
||||
screen).
|
||||
* Überprüfe die Option
|
||||
link:weechat_user.de.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
link:weechat_user.de.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
(diese Option kann schwerwiegenden Darstellungsfehler verursachen, wenn man die Option aktiviert hat).
|
||||
|
||||
[NOTE]
|
||||
@@ -141,10 +142,10 @@ Dieser Fehler sollte durch glibc 2.22 behoben sein (vielleicht ist diese Version
|
||||
verwendeten Distributionen noch nicht verfügbar).
|
||||
|
||||
Es gibt folgende Übergangslösung, um das Problem mit der _wcwidth_ zu umgehen:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank].
|
||||
|
||||
Siehe auch diese Fehlermeldung für weitere Informationen:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
Siehe https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
für weitere Informationen.
|
||||
|
||||
[[bars_background]]
|
||||
=== Weshalb haben Bars, z.B. Titel und Status, keine Hintergrundfarbe bzw. diese endet direkt nach dem Text?
|
||||
@@ -199,7 +200,7 @@ von einem oder mehreren Fenstern gleichzeitig angezeigt werden.
|
||||
[[buffers_list]]
|
||||
=== Wie kann ich eine Liste mit den Buffern z.B. auf der linken Seite anzeigen lassen?
|
||||
|
||||
Ab WeeChat ≥ 1.8 wird standardmäßig die link:weechat_user.de.html#buflist_plugin["buflist"-Erweiterung]
|
||||
Ab WeeChat ≥ 1.8 wird standardmäßig die link:weechat_user.de.html#buflist[buflist-Erweiterung ^↗^,window=_blank]
|
||||
automatisch geladen und verwendet.
|
||||
|
||||
Bei älteren Versionen kann stattdessen das Skript _buffers.pl_ installiert werden:
|
||||
@@ -247,7 +248,7 @@ finden folgende WeeChat-Befehle Anwendung:
|
||||
[NOTE]
|
||||
Die Tasten "meta-OP" und "meta-OQ" können im Hinblick auf das jeweils genutzte Terminal variieren.
|
||||
Um die korrekten Tasten zu finden, sollte man mit kbd:[Alt+k] die gewünschte Tastenkombination einfangen.
|
||||
Siehe auch: link:weechat_user.de.html#key_bindings_command_line[Benutzerhandbuch / Tastenbelegung].
|
||||
Siehe auch: link:weechat_user.de.html#key_bindings_command_line[Benutzerhandbuch / Tastenbelegung ^↗^,window=_blank].
|
||||
|
||||
[[customize_buflist]]
|
||||
=== Wie kann ich die Darstellung der Bufferliste anpassen, z.B. die Farbe des aktiven Buffers?
|
||||
@@ -271,8 +272,8 @@ Es kann auch eine beliebige numerische Farbe anstelle von "Rot" verwendet werden
|
||||
|
||||
Die Buflist-Erweiterung bietet viele Optionen, zum individualisieren. Bitte lesen Sie dazu die Hilfe von jeder Option.
|
||||
|
||||
Es gibt auch eine Wiki-Seite mit Beispielen, wie eine erweiterte Konfiguration aussehen kann:
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
Es gibt zusätzlich die https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
mit Beispielen für die erweiterte buflist Konfiguration.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== Wie kann ich die Länge eines Nicknamens begrenzen oder die Ausrichtung des Nicks im Chatbereich entfernen?
|
||||
@@ -318,8 +319,8 @@ Diese Farben können mit den Optionen __weechat.color.status_data_*__
|
||||
Weitere hotlist Eigenschaften können mit Hilfe der Optionen __weechat.look.hotlist_*__
|
||||
verändert werden.
|
||||
|
||||
Siehe link:weechat_user.de.html#screen_layout[Benutzerhandbuch / Screen layout] für
|
||||
weitere Informationen zur Hotlist.
|
||||
Siehe link:weechat_user.de.html#screen_layout[Benutzerhandbuch / Screen layout ^↗^,window=_blank]
|
||||
für weitere Informationen zur Hotlist.
|
||||
|
||||
[[input_bar_size]]
|
||||
=== Wie kann man eine mehrzeilige Eingabezeile einstellen?
|
||||
@@ -494,8 +495,8 @@ Ab Version ≥ 0.3.5 kann in den Optionen für eine zu nutzende Farbe die entspr
|
||||
Zahl der Farbe eingetragen werden (optional: mit dem Befehl `/color` kann man einen Alias für
|
||||
eine Farbe definieren).
|
||||
|
||||
Bitte lese link:weechat_user.de.html#colors[Benutzerhandbuch / Farben] für weitere
|
||||
Informationen die das Farbmanagement betreffen.
|
||||
Bitte lese link:weechat_user.de.html#colors[Benutzerhandbuch / Farben ^↗^,window=_blank]
|
||||
für weitere Informationen die das Farbmanagement betreffen.
|
||||
|
||||
[[search_text]]
|
||||
=== Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
|
||||
@@ -505,8 +506,8 @@ Die Standardtastenbelegung lautet kbd:[Ctrl+r]
|
||||
Um zu Highlight-Nachrichten zu springen:
|
||||
kbd:[Alt+p] für vorherige, kbd:[Alt+n] für die nächste Nachricht.
|
||||
|
||||
siehe link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung] für weitere
|
||||
Informationen zu dieser Funktion.
|
||||
siehe link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung ^↗^,window=_blank]
|
||||
für weitere Informationen zu dieser Funktion.
|
||||
|
||||
[[terminal_focus]]
|
||||
=== Wie kann ich Befehle ausführen, wenn der Terminal (keinen) Fokus hat?
|
||||
@@ -686,7 +687,7 @@ Es kann auch eine neue Taste eingebunden werden um zu einem Buffer zu wechseln:
|
||||
----
|
||||
|
||||
Eine Auflistung der Standardtastenbelegung findet man in
|
||||
link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung].
|
||||
link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung ^↗^,window=_blank].
|
||||
|
||||
Um zu Buffern zu wechseln die an Position ≥ 100 sind kann ein Trigger definiert
|
||||
werden um dann z.B. mit einem Kurzbefehl `/123` zum Buffer #123 zu springen:
|
||||
@@ -865,7 +866,7 @@ ersetzt werden:
|
||||
----
|
||||
|
||||
[[irc_sasl]]
|
||||
=== Wie kann ich mich vor dem Betreten von Channels identifizieren?
|
||||
=== Wie kann ich mich vor dem Betreten von Kanälen identifizieren?
|
||||
|
||||
Sollte der Server SASL unterstützen,
|
||||
ist es ratsam auf diese Funktion zurückzugreifen
|
||||
@@ -878,18 +879,46 @@ und sich nicht mittels "nickserv" zu authentifizieren:
|
||||
|
||||
Unterstützt der Server keine SASL Authentifizierung,
|
||||
kann eine Verzögerung aktiviert werden,
|
||||
um sich vor dem Betreten von Channels bei "nickserv" zu identifizieren:
|
||||
um sich vor dem Betreten von Kanälen bei "nickserv" zu identifizieren:
|
||||
|
||||
----
|
||||
/set irc.server.libera.command_delay 5
|
||||
----
|
||||
|
||||
[[edit_autojoin]]
|
||||
=== Wie kann ich Channels zur autojoin Option entfernen/hinzufügen?
|
||||
=== Wie kann ich Kanäle zur autojoin Option hinzufügen oder entfernen?
|
||||
|
||||
Um die Liste der autojoin Channels zu editieren,
|
||||
kann der Befehl `/set` genutzt werden.
|
||||
In folgendem Beispiel wird der "libera"-Server angepasst:
|
||||
Ab WeeChat ≥ 3.5 können Sie die Kanäle, denen Sie manuell betreten und verlassen,
|
||||
automatisch aufzeichnen und die Serveroption „autojoin“ entsprechend anpassen.
|
||||
|
||||
Für alle Server:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Für einen einzelnen Server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Ab WeeChat ≥ 3.5 kann man mit dem `/autojoin` Befehl den
|
||||
aktuellen Kanal in die Serveroption autojoin hinzufügen:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
oder einen beliebigen Kanal:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
Bis WeeChat ≤ 3.4, wird der `/set` Befehl verwendet, um die
|
||||
Liste der autojoin-Kanäle zu editieren. In folgendem Beispiel
|
||||
wird der "libera"-Server angepasst:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -899,16 +928,16 @@ In folgendem Beispiel wird der "libera"-Server angepasst:
|
||||
Man kann den Namen oder den Wert einer Option mit kbd:[Tab] vervollständigen
|
||||
oder mittels kbd:[Shift+Tab] eine teilweise Vervollständigung durchführen,
|
||||
was bei Namen sinnvoll ist, denn so braucht nicht die komplette Liste
|
||||
der Channels neu geschrieben werden.
|
||||
der Kanäle neu geschrieben werden.
|
||||
|
||||
Es kann auch der `/fset` Befehl verwendet werden, um die Liste der Channels
|
||||
Es kann auch der `/fset` Befehl verwendet werden, um die Liste der Kanäle
|
||||
zu editieren:
|
||||
|
||||
----
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
oder man nutzt ein Skript:
|
||||
Bis WeeChat ≤ 3.4 kann man auch ein Skript nutzen:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -918,9 +947,9 @@ oder man nutzt ein Skript:
|
||||
=== Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
|
||||
|
||||
Der Befehl `/ignore` ist ein (clientseitiger) IRC-Befehl und beeinflusst direkt,
|
||||
welche vom Server empfangenen Nachrichten im IRC-Buffer (Server und Channel) landen.
|
||||
welche vom Server empfangenen Nachrichten im IRC-Buffer (Server und Kanäle) landen.
|
||||
Durch diesen Befehl können bestimmte Nicks oder Hostnamen von bestimmten Servern
|
||||
oder Channels ignoriert werden.
|
||||
oder Kanäle ignoriert werden.
|
||||
Der Befehl wird nicht auf den Inhalt eines IRC-Buffers angewandt.
|
||||
Zutreffende Meldungen werden, bevor sie dem Buffer zugeführt werden,
|
||||
von der "irc"-Erweiterung gelöscht. Es gibt somit keine Möglichkeit,
|
||||
@@ -941,7 +970,7 @@ Die voreingestellte Tastenkombination zum Aktivieren bzw. Deaktivieren
|
||||
aller Filter ist kbd:[Alt+-].
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
=== Wie kann ich join/part/quit Meldungen in den IRC Channels filtern/unterdrücken?
|
||||
=== Wie kann ich join/part/quit Meldungen in den IRC Kanälen filtern/unterdrücken?
|
||||
|
||||
Zum einen mit dem Smart-Filter.
|
||||
Bei dessen Anwendung werden join/part/quit-Meldungen von Usern angezeigt,
|
||||
@@ -961,19 +990,19 @@ Dabei werden *alle* join/part/quit Nachrichten unterdrückt:
|
||||
|
||||
[NOTE]
|
||||
Für weitere Hilfe: `/help filter`, `+/help irc.look.smart_filter+` und
|
||||
link:weechat_user.de.html#irc_smart_filter_join_part_quit[Benutzerhandbuch / einfacher Filter für join/part/quit Nachrichten].
|
||||
link:weechat_user.de.html#irc_smart_filter_join_part_quit[Benutzerhandbuch / einfacher Filter für join/part/quit Nachrichten ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== Wie kann ich Server-Nachrichten filtern, wenn ich einen IRC Channel betrete?
|
||||
=== Wie kann ich Server-Nachrichten filtern, wenn ich einen IRC Kanal betrete?
|
||||
|
||||
Ab WeeChat ≥ 0.4.1 kann man auswählen, welche Server-Nachrichten beim Betreten
|
||||
eines Channels angezeigt und welche verborgen werden sollen. Dazu nutzt man
|
||||
eines Kanals angezeigt und welche verborgen werden sollen. Dazu nutzt man
|
||||
die Option _irc.look.display_join_message_ (für weitere Informationen, siehe
|
||||
`+/help irc.look.display_join_message+`).
|
||||
|
||||
Um Nachrichten visuell zu verbergen, können diese gefiltert werden.
|
||||
Dazu wird der Befehl `/filter` auf bestimmte Nachrichten-Tags angewandt.
|
||||
Das Tag _irc_329_ kennzeichnet beispielsweise das Erstellungsdatum des Channels.
|
||||
Das Tag _irc_329_ kennzeichnet beispielsweise das Erstellungsdatum des Kanals.
|
||||
Siehe `/help filter`, um weitere Informationen über die Filterfunktion zu
|
||||
erhalten.
|
||||
|
||||
@@ -988,13 +1017,13 @@ da diese dazu genutzt werden um den Abwesenheitsstatus anderer User anzuzeigen
|
||||
und man nicht von diesen Mitteilungen überflutet werden möchte,
|
||||
kann man WeeChat anweisen, abwesende Nicks in einer anderen Farbe darzustellen.
|
||||
|
||||
Nutzt man Bitlbee ≥ 3, sollte man im _&bitlbee_ Channel folgendes eingeben:
|
||||
Nutzt man Bitlbee ≥ 3, sollte man im _&bitlbee_ Kanal folgendes eingeben:
|
||||
|
||||
----
|
||||
channel set show_users online,away
|
||||
----
|
||||
|
||||
für ältere Versionen von Bitlbee gibt man im _&bitlbee_ Channel ein:
|
||||
für ältere Versionen von Bitlbee gibt man im _&bitlbee_ Kanal ein:
|
||||
|
||||
----
|
||||
set away_devoice false
|
||||
@@ -1020,12 +1049,12 @@ in welchem Zeitintervall die Überprüfungen auf Abwesenheit stattfinden sollen.
|
||||
Die Angabe des Wertes erfolgt in Minuten.
|
||||
|
||||
Mit der Option _irc.server_default.away_check_max_nicks_ kann festgelegt werden,
|
||||
in welchen Channels eine Überprüfung stattfinden soll.
|
||||
Hierbei stellt der angegebene Wert die maximale Anzahl an Nicks in einem Channel dar,
|
||||
die den Channel gleichzeitig besuchen dürfen.
|
||||
in welchen Kanälen eine Überprüfung stattfinden soll.
|
||||
Hierbei stellt der angegebene Wert die maximale Anzahl an Nicks in einem Kanal dar,
|
||||
die den Kanal gleichzeitig besuchen dürfen.
|
||||
|
||||
Im folgenden Beispiel wird der Abwesenheitsstatus alle fünf Minuten überprüft.
|
||||
Dabei werden aber nur solche Channels berücksichtigt, die nicht mehr als 25
|
||||
Dabei werden aber nur solche Kanäle berücksichtigt, die nicht mehr als 25
|
||||
Teilnehmer haben:
|
||||
|
||||
----
|
||||
@@ -1038,7 +1067,7 @@ Für WeeChat ≤ 0.3.3, lauten die Optionen _irc.network.away_check_ und
|
||||
_irc.network.away_check_max_nicks_.
|
||||
|
||||
[[highlight_notification]]
|
||||
=== Wie kann ich mich benachrichtigen lassen, falls mich jemand in einem Channel direkt anspricht (highlight)?
|
||||
=== Wie kann ich mich benachrichtigen lassen, falls mich jemand in einem Kanal direkt anspricht (highlight)?
|
||||
|
||||
Seit WeeChat ≥ 1.0 gibt es standardmäßig den Trigger "beep",
|
||||
der an das Terminal ein _BEL_ Signal schickt,
|
||||
@@ -1071,7 +1100,7 @@ Es gibt weitere Skripten, die auch zu diesem Thema passen:
|
||||
=== Wie kann ich Highlights (Hervorhebungen) von bestimmten Nicks deaktivieren?
|
||||
|
||||
Ab WeeChat ≥ 0.3.4 kann die Eigenschaft
|
||||
link:weechat_user.de.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
link:weechat_user.de.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
für den entsprechenden Buffer gesetzt werden.
|
||||
Dies kann für einzelne Nicks,
|
||||
einen Buffer oder eine Gruppe von Buffern (z.B. IRC Server) gelten.
|
||||
@@ -1091,7 +1120,7 @@ das Skript _buffer_autoset.py_ nutzen:
|
||||
/script install buffer_autoset.py
|
||||
----
|
||||
|
||||
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Channel
|
||||
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Kanal
|
||||
#weechat auf dem IRC Server libera zu deaktivieren:
|
||||
|
||||
----
|
||||
@@ -1174,6 +1203,14 @@ $ cd ~/.cache/weechat/script
|
||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
||||
----
|
||||
|
||||
Wenn Sie macOS ausführen und die heruntergeladene Datei eine Größe von 0 Byte hat,
|
||||
versuchen Sie, diese Variable in Ihrer Shell-Initialisierungsdatei oder auf der
|
||||
Befehlszeile zu setzen. Bevor Sie WeeChat starten:
|
||||
|
||||
----
|
||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||
----
|
||||
|
||||
[[spell_dictionaries]]
|
||||
=== Ich habe aspell Wörterbücher auf mein System installiert. Wie kann ich diese nutzen, ohne WeeChat neu starten zu müssen?
|
||||
|
||||
@@ -1276,7 +1313,7 @@ Definiere eine Passphrase und nutze ausschließlich geschützte Daten wann immer
|
||||
es möglich ist, wie z.B. bei Passwörtern: siehe `/help secure` und nutze `/help`
|
||||
bei der entsprechenden Option (falls man geschützte Daten nutzen kann, wird es
|
||||
im Hilfstext erwähnt).
|
||||
Siehe auch link:weechat_user.de.html#secured_data[Benutzerhandbuch / sensible Daten].
|
||||
Siehe auch link:weechat_user.de.html#secured_data[Benutzerhandbuch / sensible Daten ^↗^,window=_blank].
|
||||
|
||||
Beispiel:
|
||||
|
||||
@@ -1297,7 +1334,7 @@ Ihrer Passphrase verschlüsselten Kennwörter enthält.
|
||||
Einige andere Dateien enthalten möglicherweise vertrauliche Informationen wie
|
||||
Kennwörter (sofern sie nicht mit dem Befehl `/secure` in _sec.conf_ gesichert werden).
|
||||
|
||||
Siehe link:weechat_user.de.html#files_and_directories[Benutzerhandbuch / Dateien und Verzeichnisse]
|
||||
Siehe link:weechat_user.de.html#files_and_directories[Benutzerhandbuch / Dateien und Verzeichnisse ^↗^,window=_blank]
|
||||
für weitere Informationen über Konfigurationsdateien.
|
||||
|
||||
[[development]]
|
||||
@@ -1306,7 +1343,7 @@ für weitere Informationen über Konfigurationsdateien.
|
||||
[[bug_task_patch]]
|
||||
=== Was kann ich machen, falls ich einen Fehler gefunden habe, mich nach neuen Funktionen erkundigen oder Patches einsenden möchte?
|
||||
|
||||
siehe: https://weechat.org/about/support
|
||||
siehe https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Wenn man WeeChat in gdb startet, kann ein Thread-Fehler auftreten. Was beudeutet das?
|
||||
@@ -1344,11 +1381,11 @@ Das Gleiche gilt für Systeme, zu denen wir keinen Zugang haben.
|
||||
|
||||
Es gibt einiges zu tun - z.B. testen, programmieren, dokumentieren, ...
|
||||
|
||||
Bitte kontaktiere uns via IRC oder E-Mail, wirf einen Blick auf die Support-Seite:
|
||||
https://weechat.org/about/support
|
||||
Bitte kontaktieren Sie uns per IRC oder Mail, siehe
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== Kann ich Geld oder anderes an die WeeChat Entwickler spenden?
|
||||
|
||||
Du kannst uns Geld zur Unterstützung der weiteren Entwicklung spenden.
|
||||
Details hierzu gibt es auf: https://weechat.org/donate
|
||||
Sie können uns Geld spenden, um die Entwicklung zu unterstützen.
|
||||
Details dazu, unter https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
|
||||
@@ -223,11 +223,15 @@ in folgender Option erreicht werden:
|
||||
/set irc.server.libera.autojoin "#channel1,#channel2"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Mittels der kbd:[Tab] Taste kann man sehr einfach Namen und Werte von Optionen
|
||||
vervollständigen und mittels kbd:[Shift+Tab] kann eine teilweise Vervollständigung
|
||||
durchgeführt werden (was bei langen Wörtern, wie z.B. dem Namen einer Option, nützlich
|
||||
sein kann).
|
||||
Mit dem `/autojoin` Befehl können die _autojoin_ Optionen einfach konfiguriert werden.
|
||||
(siehe `/help autojoin`).
|
||||
|
||||
WeeChat kann auch konfigurieren werden, dass die _autojoin_ Optionen automatisch aktualisiert werden
|
||||
sobald man Kanäle betritt oder verlässt:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Mit dem Befehl `/unset` können Server-Optionen zurückgesetzt werden.
|
||||
Ist eine Server-Option zurückgesetzt, _wirkt_ der entsprechende Vorgabewert
|
||||
@@ -246,6 +250,12 @@ Werte anderer Server-Optionen (`xxx`) können festgelegt werden mit:
|
||||
/set irc.server.libera.xxx Wert
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Mittels der kbd:[Tab] Taste kann man sehr einfach Namen und Werte von Optionen
|
||||
vervollständigen und mittels kbd:[Shift+Tab] kann eine teilweise Vervollständigung
|
||||
durchgeführt werden (was bei langen Wörtern, wie z.B. dem Namen einer Option, nützlich
|
||||
sein kann).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Verbinden mit dem IRC-Server
|
||||
|
||||
@@ -431,14 +441,14 @@ Zeige eine liste aller verfügbaren Skripten:
|
||||
/script
|
||||
----
|
||||
|
||||
Auf *weechat.org* von Drittanbietern bereitgestellte Scripten: https://weechat.org/scripts
|
||||
Eine Liste von Skripten ist in WeeChat mittels `/script` oder auf
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank] verfügbar.
|
||||
|
||||
[[more_doc]]
|
||||
== Weitere Dokumentation
|
||||
|
||||
Mit dieser Quickstart-Anleitung wurden dir die wesentlichen
|
||||
Bedienungswerkzeuge von WeeChat nähergebracht.
|
||||
Für das eingehende Studium aller verfügbaren Funktionalitäten
|
||||
sei dir unsere ausführliche FAQ/Dokumentation ans Herz gelegt: https://weechat.org/doc
|
||||
WeeChat kann nun verwendet werden und lesen Sie
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
falls Sie weitere Fragen haben.
|
||||
|
||||
Viel Spass mit WeeChat!
|
||||
|
||||
+192
-144
@@ -17,8 +17,8 @@
|
||||
|
||||
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
|
||||
|
||||
Die aktuelle Version dieser Anleitung finden Sie auf:
|
||||
https://weechat.org/doc
|
||||
Die neueste Version dieses Dokuments finden Sie unter
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -67,7 +67,7 @@ Ein Skript darf *NIEMALS* einen fork nutzen oder einen eigenen Thread erstellen,
|
||||
dafür gibt es explizit eine API Funktion, andernfalls kann WeeChat abstürzen. +
|
||||
Wenn etwas in einem Hintergrundprozess ausgeführt werden soll, kann die Funktion
|
||||
`+hook_process+` genutzt werden. Siehe Beispiele im Kapitel <<hook_process,Hintergrundprozesse>>
|
||||
und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference] (Englisch).
|
||||
und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank] (Englisch).
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Besonderheiten der einzelnen Skriptsprachen
|
||||
@@ -81,7 +81,7 @@ und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_
|
||||
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
|
||||
importiert werden muss. +
|
||||
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
|
||||
|
||||
[[python_functions]]
|
||||
===== Funktionen
|
||||
@@ -109,38 +109,38 @@ Liste ist nicht vollständig):
|
||||
|===
|
||||
| API Funktion | Argumente | Beispiele| Beschreibung
|
||||
|
||||
| hook_modifier |
|
||||
irc_in_yyy |
|
||||
pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice] |
|
||||
Eine Nachricht die von der IRC Erweiterung empfangen wurde und bevor sie nach UTF-8 dekodiert wurde (intern
|
||||
| hook_modifier
|
||||
| irc_in_yyy
|
||||
| pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice]
|
||||
| Eine Nachricht die von der IRC Erweiterung empfangen wurde und bevor sie nach UTF-8 dekodiert wurde (intern
|
||||
verwendet). +
|
||||
+
|
||||
Es wird empfohlen den Modifier `+irc_in2_yyy+` zu nutzen, da die empfangene Zeichenkette
|
||||
immer UTF-8 gültig ist. +
|
||||
siehe Funktion `+hook_modifier+` in der
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat Anleitung für API Erweiterung].
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat Anleitung für API Erweiterung ^↗^,window=_blank].
|
||||
|
||||
| hook_signal |
|
||||
xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy |
|
||||
pass:[*,irc_out_privmsg] +
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy
|
||||
| pass:[*,irc_out_privmsg] +
|
||||
pass:[*,irc_out_notice] +
|
||||
pass:[*,irc_outtags_privmsg] +
|
||||
pass:[*,irc_outtags_notice] |
|
||||
Eine Nachricht welche von der IRC Erweiterung versendet wurde, nachdem diese entsprechend
|
||||
pass:[*,irc_outtags_notice]
|
||||
| Eine Nachricht welche von der IRC Erweiterung versendet wurde, nachdem diese entsprechend
|
||||
der Benutzereinstellung `encode` Charset kodiert (falls abweichend von der `UTF-8` Standardeinstellung). +
|
||||
+
|
||||
Es wird empfohlen das Signal `+xxx,irc_out1_yyy+` zu nutzen, da die empfangene Zeichenkette
|
||||
immer UTF-8 gültig ist. +
|
||||
siehe Funktion `+hook_signal+` in der
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat Anleitung für API Erweiterung].
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat Anleitung für API Erweiterung ^↗^,window=_blank].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable |
|
||||
- |
|
||||
- |
|
||||
Ausgabe des Befehls, dass an den Callback gesendet wurde, kann ungültige UTF-8 Daten enthalten.
|
||||
hook_process_hashtable
|
||||
| -
|
||||
| -
|
||||
| Ausgabe des Befehls, dass an den Callback gesendet wurde, kann ungültige UTF-8 Daten enthalten.
|
||||
|
||||
|===
|
||||
|
||||
@@ -205,6 +205,12 @@ Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...)+`.
|
||||
|
||||
Funktionen werden aufgerufen mittels `+weechat::xxx arg1 arg2 ...+`.
|
||||
|
||||
Da Tcl nur String-Typen hat, gibt es keinen Null-Typ, der als Argument übergeben werden kann
|
||||
wenn eine Funktion Nullwerte akzeptiert. Um dies zu überwinden, können Sie die Konstante
|
||||
`$::weechat::WEECHAT_NULL` verwenden, das als Nullwert fungiert. Diese Konstante ist definiert
|
||||
als `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, es ist somit sehr unwahrscheinlich
|
||||
das es ungewollt verwendet wird.
|
||||
|
||||
[[language_guile]]
|
||||
==== Guile (Scheme)
|
||||
|
||||
@@ -384,7 +390,7 @@ ein Link in das entsprechende _autoload_ Verzeichnis erzeugt.
|
||||
Die Skripten API ist nahezu identisch mit der API der C Erweiterung.
|
||||
Um einen Überblick über alle API Funktionen (Prototyp, Argumente,
|
||||
Rückgabe werte, Beispiele) zu erhalten werfen Sie einen Blick in
|
||||
die link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
|
||||
die link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^,window=_blank] (Englisch).
|
||||
Es ist wichtig das man zwischen einer _Erweiterung_ und einem _Skript_
|
||||
unterscheidet: Eine _Erweiterung_ ist eine Binärdatei die kompiliert wurde
|
||||
und mittels `/plugin` geladen wird. Ein _Skript_ ist eine Textdatei welche
|
||||
@@ -553,25 +559,25 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
== Skript API
|
||||
|
||||
Um weiterführende Informationen zu den API Funktionen zu erhalten
|
||||
lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
|
||||
lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^,window=_blank] (Englisch).
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Funktionen
|
||||
|
||||
Liste der Skript API Funktionen:
|
||||
|
||||
[width="100%",cols="1,3",options="header"]
|
||||
[width="100%",cols="1,5",options="header"]
|
||||
|===
|
||||
| Kategorie | Funktionen
|
||||
|
||||
| Allgemein |
|
||||
register
|
||||
| Allgemein
|
||||
| register
|
||||
|
||||
| Erweiterungen |
|
||||
plugin_get_name
|
||||
| Erweiterungen
|
||||
| plugin_get_name
|
||||
|
||||
| Strings |
|
||||
charset_set +
|
||||
| Strings
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
@@ -583,6 +589,7 @@ Liste der Skript API Funktionen:
|
||||
string_has_highlight_regex +
|
||||
string_mask_to_regex +
|
||||
string_format_size +
|
||||
string_parse_size +
|
||||
string_color_code_size +
|
||||
string_remove_color +
|
||||
string_is_command_char +
|
||||
@@ -590,13 +597,13 @@ Liste der Skript API Funktionen:
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| Verzeichnisse |
|
||||
mkdir_home +
|
||||
| Verzeichnisse
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| sortierte Listen |
|
||||
list_new +
|
||||
| sortierte Listen
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
@@ -612,8 +619,8 @@ Liste der Skript API Funktionen:
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| Konfigurationsdatei |
|
||||
config_new +
|
||||
| Konfigurationsdatei
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
@@ -650,20 +657,21 @@ Liste der Skript API Funktionen:
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| Tastenbelegung |
|
||||
key_bind +
|
||||
| Tastenbelegung
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| Ausgabe |
|
||||
prefix +
|
||||
| Ausgabe
|
||||
| prefix +
|
||||
color +
|
||||
print (für Python: prnt) +
|
||||
print_date_tags (für Python: prnt_date_tags) +
|
||||
print_y (für Python: prnt_y) +
|
||||
print_y_date_tags (für Python: prnt_y_date_tags) +
|
||||
log_print
|
||||
|
||||
| Hooks |
|
||||
hook_command +
|
||||
| Hooks
|
||||
| hook_command +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
@@ -688,8 +696,9 @@ Liste der Skript API Funktionen:
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| Buffer |
|
||||
buffer_new +
|
||||
| Buffer
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
buffer_search_main +
|
||||
@@ -704,16 +713,16 @@ Liste der Skript API Funktionen:
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| Fenster |
|
||||
current_window +
|
||||
| Fenster
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| Nickliste |
|
||||
nicklist_add_group +
|
||||
| Nickliste
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
@@ -729,8 +738,8 @@ Liste der Skript API Funktionen:
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| Bars |
|
||||
bar_item_search +
|
||||
| Bars
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
@@ -740,23 +749,23 @@ Liste der Skript API Funktionen:
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| Befehle |
|
||||
command +
|
||||
| Befehle
|
||||
| command +
|
||||
command_options
|
||||
|
||||
| Vervollständigung |
|
||||
completion_new +
|
||||
| Vervollständigung
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| Informationen |
|
||||
info_get +
|
||||
| Informationen
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| Infolisten |
|
||||
infolist_new +
|
||||
| Infolisten
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
@@ -774,8 +783,8 @@ Liste der Skript API Funktionen:
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata |
|
||||
hdata_get +
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
@@ -796,8 +805,8 @@ Liste der Skript API Funktionen:
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| Upgrade |
|
||||
upgrade_new +
|
||||
| Upgrade
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
@@ -808,17 +817,17 @@ Liste der Skript API Funktionen:
|
||||
|
||||
Liste der Konstanten in Skript API:
|
||||
|
||||
[width="100%",cols="1,3",options="header"]
|
||||
[width="100%",cols="1,5",options="header"]
|
||||
|===
|
||||
| Kategorie | Konstanten
|
||||
|
||||
| return codes |
|
||||
`WEECHAT_RC_OK` (integer) +
|
||||
| return codes
|
||||
| `WEECHAT_RC_OK` (integer) +
|
||||
`WEECHAT_RC_OK_EAT` (integer) +
|
||||
`WEECHAT_RC_ERROR` (integer)
|
||||
|
||||
| Konfigurationsdatei |
|
||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
| Konfigurationsdatei
|
||||
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||
@@ -833,23 +842,23 @@ Liste der Konstanten in Skript API:
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||
|
||||
| sortierte Listen |
|
||||
`WEECHAT_LIST_POS_SORT` (string) +
|
||||
| sortierte Listen
|
||||
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||
`WEECHAT_LIST_POS_END` (string)
|
||||
|
||||
| Hotlist |
|
||||
`WEECHAT_HOTLIST_LOW` (string) +
|
||||
| Hotlist
|
||||
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||
|
||||
| hook Prozesse |
|
||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
| hook Prozesse
|
||||
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||
|
||||
| hook Connect |
|
||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
| hook Connect
|
||||
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||
@@ -861,8 +870,8 @@ Liste der Konstanten in Skript API:
|
||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||
|
||||
| hook Signal |
|
||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
| hook Signal
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||
|===
|
||||
@@ -873,7 +882,7 @@ Liste der Konstanten in Skript API:
|
||||
Dieses Kapitel beinhaltet einige Aufgaben mit Lösungsbeispielen.
|
||||
Die Skript API wird dabei nur sehr oberflächlich besprochen.Um eine vollständige
|
||||
Übersicht aller Befehle zu erhalten nutzen Sie bitte die
|
||||
link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
|
||||
link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^,window=_blank] (Englisch).
|
||||
|
||||
[[buffers]]
|
||||
=== Buffer
|
||||
@@ -893,7 +902,7 @@ Beispiele:
|
||||
weechat.prnt("", "Hallo")
|
||||
|
||||
# Gibt den Text "Hallo" im Core Buffer aus, schreibt diesen aber nicht in die Protokolldatei
|
||||
# (nur Version >= 0.3.3)
|
||||
# (nur Version ≥ 0.3.3)
|
||||
weechat.prnt_date_tags("", 0, "no_log", "hello")
|
||||
|
||||
# Gibt den Präfix "==>" gefolgt von dem Text "Hallo" im aktuellen Buffer aus
|
||||
@@ -1073,26 +1082,53 @@ Mit der Funktion `+hook_process+` kann ein Hintergrundprozess gestartet werden.
|
||||
Der Callback wird aufgerufen sobald der Hintergrundprozess abgearbeitet wurde.
|
||||
Dies kann auch mehrfach der Fall sein.
|
||||
|
||||
Für den letzten Aufruf des Callback wird _rc_ auf 0 oder einen positiven Wert
|
||||
gesetzt. Dies ist der Return Code des Befehls.
|
||||
Für den letzten Aufruf des Callback wird _return_code_ auf 0 oder einen positiven
|
||||
Wert gesetzt. Dies ist der Return Code des Befehls.
|
||||
|
||||
Beispiele:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
process_output = ""
|
||||
|
||||
def my_process_cb(data, command, rc, out, err):
|
||||
global process_output
|
||||
if out != "":
|
||||
process_output += out
|
||||
if int(rc) >= 0:
|
||||
weechat.prnt("", process_output)
|
||||
def my_process_cb(data, command, return_code, out, err):
|
||||
if return_code == weechat.WEECHAT_HOOK_PROCESS_ERROR:
|
||||
weechat.prnt("", "Error with command '%s'" % command)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
if return_code >= 0:
|
||||
weechat.prnt("", "return_code = %d" % return_code)
|
||||
if out:
|
||||
weechat.prnt("", "stdout: %s" % out)
|
||||
if err:
|
||||
weechat.prnt("", "stderr: %s" % err)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process("/bin/ls -l /etc", 10 * 1000, "my_process_cb", "")
|
||||
----
|
||||
|
||||
Sie können statt eines externen Befehls auch direkt eine
|
||||
Skriptfunktion aufrufen, die Weechat blockieren würde:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
def get_status(data):
|
||||
# do something blocking...
|
||||
# ...
|
||||
return "this is the result"
|
||||
|
||||
def my_process_cb(data, command, return_code, out, err):
|
||||
if return_code == weechat.WEECHAT_HOOK_PROCESS_ERROR:
|
||||
weechat.prnt("", "Error with command '%s'" % command)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
if return_code >= 0:
|
||||
weechat.prnt("", "return_code = %d" % return_code)
|
||||
if out:
|
||||
weechat.prnt("", "stdout: %s" % out)
|
||||
if err:
|
||||
weechat.prnt("", "stderr: %s" % err)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
hook = weechat.hook_process("func:get_status", 5000, "my_process_cb", "")
|
||||
----
|
||||
|
||||
[[url_transfer]]
|
||||
==== URL Übertragung
|
||||
|
||||
@@ -1107,15 +1143,15 @@ dabei in der Callback-Variable "out" gesichert (Standardausgabe des Prozesses):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# Zeigt die aktuelle stabile Version von WeeChat an.
|
||||
weechat_version = ""
|
||||
# Display latest stable version of WeeChat.
|
||||
weechat_latest_version = ""
|
||||
|
||||
def weechat_process_cb(data, command, rc, out, err):
|
||||
global weechat_version
|
||||
if out != "":
|
||||
weechat_version += out
|
||||
if int(rc) >= 0:
|
||||
weechat.prnt("", "aktuelle stabile WeeChat-Version: %s" % weechat_version)
|
||||
def weechat_process_cb(data, command, return_code, out, err):
|
||||
global weechat_latest_version
|
||||
if out:
|
||||
weechat_latest_version += out
|
||||
if return_code >= 0:
|
||||
weechat.prnt("", "Latest WeeChat version: %s" % weechat_latest_version)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
@@ -1123,16 +1159,17 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Alle Informationen die WeeChat betreffen findet man auf: https://weechat.org/dev/info
|
||||
Alle verfügbaren Informationen über WeeChat findet man unter
|
||||
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
|
||||
|
||||
Beispiel eines URL Transfers, mit zusätzliche Optionen: Es wird das neuste
|
||||
WeeChat Entwicklerpaket in die Datei _/tmp/weechat-devel.tar.gz_ gesichert:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
def my_process_cb(data, command, rc, out, err):
|
||||
if int(rc) >= 0:
|
||||
weechat.prnt("", "End of transfer (rc=%s)" % rc)
|
||||
def my_process_cb(data, command, return_code, out, err):
|
||||
if return_code >= 0:
|
||||
weechat.prnt("", "End of transfer (return code = %d)" % return_code)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.tar.gz",
|
||||
@@ -1142,7 +1179,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
|
||||
Für weitere Informationen zum URL Transfer und verfügbare Optionen, siehe Funktionen
|
||||
`+hook_process+` und `+hook_process_hashtable+` in
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference] (Englisch).
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank] (Englisch).
|
||||
|
||||
[[config_options]]
|
||||
=== Konfiguration / Optionen
|
||||
@@ -1298,63 +1335,71 @@ Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln
|
||||
|
||||
[width="100%",cols="3,^2,10,7",options="header"]
|
||||
|===
|
||||
| Schlüssel | Seit WeeChat ^(1)^ | Beschreibung | Beispiel
|
||||
| Schlüssel | Seit WeeChat ^(1)^ | Beschreibung | Beispiel
|
||||
|
||||
| Tags | 0.4.0 |
|
||||
Tags in der Nachricht (kann leer sein). |
|
||||
`+time=2015-06-27T16:40:35.000Z+`
|
||||
| Tags | 0.4.0
|
||||
| Tags in der Nachricht (kann leer sein).
|
||||
| `+time=2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| tag_xxx | 3.3 |
|
||||
Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag). |
|
||||
`+2015-06-27T16:40:35.000Z+`
|
||||
| tag_xxx | 3.3
|
||||
| Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag).
|
||||
| `+2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| message_without_tags | 0.4.0 |
|
||||
Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags). |
|
||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
| message_without_tags | 0.4.0
|
||||
| Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags).
|
||||
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
|
||||
| nick | 0.3.4 |
|
||||
der ursprüngliche Nick. |
|
||||
`+nick+`
|
||||
| nick | 0.3.4
|
||||
| der ursprüngliche Nick.
|
||||
| `+nick+`
|
||||
|
||||
| user | 2.7 |
|
||||
der ursprüngliche Benutzer. |
|
||||
`+user+`
|
||||
| user | 2.7
|
||||
| der ursprüngliche Benutzer.
|
||||
| `+user+`
|
||||
|
||||
| host | 0.3.4 |
|
||||
der ursprüngliche Host (beinhaltet den Nick). |
|
||||
`+nick!user@host+`
|
||||
| host | 0.3.4
|
||||
| der ursprüngliche Host (beinhaltet den Nick).
|
||||
| `+nick!user@host+`
|
||||
|
||||
| command | 0.3.4 |
|
||||
der Befehl (_PRIVMSG_, _NOTICE_, ...). |
|
||||
`+PRIVMSG+`
|
||||
| command | 0.3.4
|
||||
| der Befehl (_PRIVMSG_, _NOTICE_, ...).
|
||||
| `+PRIVMSG+`
|
||||
|
||||
| channel | 0.3.4 |
|
||||
der Zielchanne.l|
|
||||
| channel | 0.3.4
|
||||
| der Zielchanne.l|
|
||||
`+#weechat+`
|
||||
|
||||
| arguments | 0.3.4 |
|
||||
das Argument des Befehls (beinhaltet den Channel). |
|
||||
`+#weechat :hello!+`
|
||||
| arguments | 0.3.4
|
||||
| das Argument des Befehls (beinhaltet den Channel).
|
||||
| `+#weechat :hello!+`
|
||||
|
||||
| text | 1.3 |
|
||||
der Text (zum Beispiel eine Nachricht eines Users). |
|
||||
`+hello!+`
|
||||
| text | 1.3
|
||||
| der Text (zum Beispiel eine Nachricht eines Users).
|
||||
| `+hello!+`
|
||||
|
||||
| pos_command | 1.3 |
|
||||
Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird). |
|
||||
`+47+`
|
||||
| paramN | 3.4
|
||||
| Befehlsparameter (von 1 bis N).
|
||||
| `+#weechat+`
|
||||
|
||||
| pos_arguments | 1.3 |
|
||||
Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird). |
|
||||
`+55+`
|
||||
| num_params | 3.4
|
||||
| Anzahl der Befehlsparameter.
|
||||
| `+2+`
|
||||
|
||||
| pos_channel | 1.3 |
|
||||
Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird). |
|
||||
`+55+`
|
||||
| pos_command | 1.3
|
||||
| Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird).
|
||||
| `+47+`
|
||||
|
||||
| pos_text | 1.3 |
|
||||
Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird). |
|
||||
`+65+`
|
||||
| pos_arguments | 1.3
|
||||
| Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird).
|
||||
| `+55+`
|
||||
|
||||
| pos_channel | 1.3
|
||||
| Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird).
|
||||
| `+55+`
|
||||
|
||||
| pos_text | 1.3
|
||||
| Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird).
|
||||
| `+65+`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
@@ -1378,6 +1423,9 @@ dict = weechat.info_get_hashtable(
|
||||
# "channel": "#weechat",
|
||||
# "arguments": "#weechat :hello!",
|
||||
# "text": "hello!",
|
||||
# "param1": "#weechat",
|
||||
# "param2": "hello!",
|
||||
# "num_params": "2",
|
||||
# "pos_command": "65",
|
||||
# "pos_arguments": "73",
|
||||
# "pos_channel": "73",
|
||||
|
||||
@@ -1,148 +0,0 @@
|
||||
= WeeChat Anleitung für Testpersonen
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc: left
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
:sectnums:
|
||||
:docinfo1:
|
||||
|
||||
|
||||
Übersetzer:
|
||||
|
||||
* Juergen Descher <jhdl@gmx.net>, 2009
|
||||
* Nils Görs <weechatter@arcor.de>, 2009-2016
|
||||
|
||||
|
||||
[[purpose]]
|
||||
== Intention
|
||||
|
||||
Viele dankbare Anwender fragen uns wie sie bei der Entwicklung von WeeChat
|
||||
helfen können. Der einfachste (aber auch der kniffligste) Weg uns zu helfen ist:
|
||||
testen!
|
||||
|
||||
Testen ist ein sehr wichtiger Teil der Programmentwicklung und sollte daher
|
||||
nicht unterbewertet werden. Wenn neue Funktionen implementiert wurden dann
|
||||
müssen diese getestet werden. Für manche Funktionen gibt es sehr viele
|
||||
verschiedene Problemstellungen, oder diese sind äußerst Umfangreich. Dadurch
|
||||
können die Entwickler nicht jede einzelne Variante ausprobieren.
|
||||
|
||||
Ein Beispiel: Eine berüchtigte Zeichensatz-Erweiterung wurde in WeeChat 0.2.2
|
||||
eingeführt. Keiner von uns, Entwickler, Mithelfende und Tester, nutzten Channels
|
||||
in denen länderspezifische Zeichen im eigenen Namen Verwendung fanden. Somit wurde
|
||||
die Version 0.2.2 freigegeben und wir bekamen daraufhin eine Flut von Beschwerden
|
||||
durch russischen User, bei denen der Fehler sichtbar war. Hätten wir mehr Tester,
|
||||
dann sollte so etwas nicht mehr passieren.
|
||||
|
||||
Eine stabile Version von WeeChat zu testen bringt uns leider nicht weiter da die
|
||||
Entwickler in der Zwischenzeit neue Funktionen implementiert haben und vermutlich
|
||||
alte Fehler schon behoben wurden.
|
||||
|
||||
|
||||
[[prepare_system]]
|
||||
== Bereite Dein System vor
|
||||
|
||||
Es wäre uns schon sehr damit geholfen wenn Du Linux _core_ Dateien aktivieren würdest.
|
||||
Falls WeeChat abstürzen sollte wird eine Datei Namens _core_ erzeugt. Diese Datei
|
||||
beinhaltet viele nützliche Debug-Informationen um das genaue Problem in WeeChat
|
||||
zu lokalisieren.
|
||||
|
||||
Falls Du die _bash_ als shell benutzt, dann ergänze Deine _~/.bashrc_ durch folgende
|
||||
Zeile:
|
||||
|
||||
----
|
||||
ulimit -c unlimited
|
||||
----
|
||||
|
||||
|
||||
[[download]]
|
||||
== Besorge Dir die Entwickler-Version
|
||||
|
||||
aktueller Programmcode (mit den aktuellen Fehlern und Funktionen) ist im GIT Repository
|
||||
gespeichert.
|
||||
|
||||
Du könntest Dich dazu entscheiden es manuell zu bauen (empfohlen):
|
||||
|
||||
* die GIT Version kann parallel zur stabilen Version kompiliert und installiert
|
||||
werden.
|
||||
* Du benötigst keine Root-Rechte, und opfern brauchst Du Deine stabile Version
|
||||
von WeeChat auch nicht.
|
||||
|
||||
[[get_sources]]
|
||||
=== Beschaffe und baue die Quellen
|
||||
|
||||
Erstelle zuerst einen neuen Ordner, z.B. _weechat-git_:
|
||||
|
||||
----
|
||||
$ mkdir ~/weechat-git
|
||||
$ cd ~/weechat-git
|
||||
----
|
||||
|
||||
Falls Du git installiert hast, clone das git Repository (empfohlen):
|
||||
|
||||
----
|
||||
$ git clone https://github.com/weechat/weechat.git
|
||||
$ cd weechat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Um auf den aktuellen Stand zu kommen verwendest Du z.B. `git pull` in
|
||||
diesem Ordner.
|
||||
|
||||
Ansonsten kannst Du das _Entwickler-Paket_ herunterladen und entpacken:
|
||||
|
||||
----
|
||||
$ wget https://weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
Um die Quellen zu übersetzen, wird CMake empfohlen:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Falls Du CMake nicht hast, ist es auch möglich die autotools zu nutzen:
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||
$ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
[[install_binary_package]]
|
||||
=== Installieren des Programm-Paketes
|
||||
|
||||
Abhängig Deiner Linux Distribution:
|
||||
|
||||
* Debian: https://weechat.org/download/debian
|
||||
* Gentoo: https://weechat.org/download
|
||||
* ArchLinux: PKGBUILD von https://aur.archlinux.org/
|
||||
* andere: Wissen wir nicht! Eheh.
|
||||
|
||||
|
||||
[[run]]
|
||||
== WeeChat starten
|
||||
|
||||
Die Befehlszeile lautet:
|
||||
|
||||
----
|
||||
$ ~/weechat-git/bin/weechat
|
||||
----
|
||||
|
||||
Immer noch munter? Dann solltest Du jetzt das bekannte Interface sehen und nun
|
||||
prahle vor Anderen, dass Du die neueste WeeChat-Version verwendest :)
|
||||
|
||||
Solltest Du nun ein merkwürdiges Verhalten bemerken (es können diverse Probleme
|
||||
oder Abstürze auftreten oder einfach Dein Bier überkochen) zögere nicht, komme
|
||||
in den Channel _#weechat_ auf _irc.libera.chat_ (A.d.Ü.: englischsprachig) und
|
||||
berichte uns darüber.
|
||||
|
||||
Auch falls alles korrekt funktionieren sollte gib uns trotzdem Bescheid, wir
|
||||
brauchen Deine Rückmeldung!
|
||||
+2776
-2171
File diff suppressed because it is too large
Load Diff
+4
-3
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2008-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2008-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -487,7 +487,8 @@ class AutogenDoc():
|
||||
f'autogen_{name}.{self.locale[:2]}.adoc',
|
||||
)
|
||||
self.filename_tmp = f'{self.filename}.tmp'
|
||||
self._file = open(self.filename_tmp, 'w')
|
||||
# pylint: disable=consider-using-with
|
||||
self._file = open(self.filename_tmp, 'w', encoding='utf-8')
|
||||
|
||||
def write_autogen_files(self, weechat_doc):
|
||||
"""Write auto-generated files."""
|
||||
@@ -782,7 +783,7 @@ class AutogenDoc():
|
||||
self.write('// tag::url_options[]')
|
||||
self.write('[width="100%",cols="2,^1,7",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s ^(1)^ | %s ^(2)^\n',
|
||||
self.write('| %s | %s ^(1)^ | %s ^(2)^\n',
|
||||
_('Option'), _('Type'), _('Constants'))
|
||||
for option in url_options:
|
||||
constants = option['constants']
|
||||
|
||||
+223
-6
@@ -1,38 +1,255 @@
|
||||
<!--
|
||||
Custom styles for Asciidoctor
|
||||
Copyright (C) 2016-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2016-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
-->
|
||||
<style>
|
||||
#header,#content,#footnotes,#footer {
|
||||
|
||||
/* themes/colors */
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
/* dark theme */
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--body-bg-color: #1a1a1a;
|
||||
--body-color: #ddd;
|
||||
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
||||
--link-color: #7abeef;
|
||||
--table-thead-tfoot: #252525;
|
||||
--th-color: #fff;
|
||||
--toc-bg-color: #252525;
|
||||
--color-header1: #ddd;
|
||||
--color-header2: #da8975;
|
||||
--header-details-color: #aaa;
|
||||
--border: 1px solid #444;
|
||||
--code-bg-color: #252525;
|
||||
--pre-color: #ddd;
|
||||
--pre-bg-color: #202020;
|
||||
--pre-code-bg-color: #202020;
|
||||
--keyseq-color: #777;
|
||||
--kbd-bg-color: #252525;
|
||||
--kbd-border: 1px solid #333;
|
||||
--kbd-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), inset 0 0 0 .1em #2c2c2c;
|
||||
--icon-note-color: #4d7cc6;
|
||||
--icon-tip-color: #fff;
|
||||
--icon-warning-color: #f39c12;
|
||||
--icon-caution-color: #bf3400;
|
||||
--icon-important-color: #f44336;
|
||||
--mark-bg-color: #007;
|
||||
}
|
||||
}
|
||||
|
||||
@media (not (prefers-color-scheme: dark)), (prefers-color-scheme: light) {
|
||||
/* light theme */
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--body-bg-color: ##fff;
|
||||
--body-color: #353535;
|
||||
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
||||
--link-color: #3d6baf;
|
||||
--table-thead-tfoot: #f7f8f7;
|
||||
--th-color: #000;
|
||||
--toc-bg-color: #f8f8f7;
|
||||
--color-header1: #000;
|
||||
--color-header2: #ba3925;
|
||||
--header-details-color: #797979;
|
||||
--border: 1px solid #dddddf;
|
||||
--code-bg-color: #f7f7f8;
|
||||
--keyseq-color: #333c;
|
||||
--pre-color: #353535;
|
||||
--pre-bg-color: #f7f7f8;
|
||||
--pre-code-bg-color: #202020;
|
||||
--kbd-bg-color: #f7f7f7;
|
||||
--kbd-border: 1px solid #ccc;
|
||||
--kbd-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), inset 0 0 0 .1em #fff;
|
||||
--icon-note-color: #19407c;
|
||||
--icon-tip-color: #111;
|
||||
--icon-warning-color: #bf6900;
|
||||
--icon-caution-color: #ff0000;
|
||||
--icon-important-color: #bf0000;
|
||||
--mark-bg-color: #9df;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--body-bg-color);
|
||||
color: var(--body-color);
|
||||
font-family: var(--body-font);
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--color-header1) !important;
|
||||
}
|
||||
|
||||
h2, h3, h4, h5, h6 {
|
||||
color: var(--color-header2) !important;
|
||||
}
|
||||
|
||||
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 {
|
||||
font-family: var(--body-font);
|
||||
}
|
||||
|
||||
a:link, a:visited, #header .details span.email a {
|
||||
color: var(--link-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
table thead, table tfoot {
|
||||
background: var(--table-thead-tfoot) !important;
|
||||
}
|
||||
|
||||
table.tableblock, th.tableblock, td.tableblock {
|
||||
border: var(--border);
|
||||
}
|
||||
|
||||
th {
|
||||
color: var(--th-color) !important;
|
||||
}
|
||||
|
||||
td {
|
||||
background-color: var(--body-bg-color);
|
||||
color: var(--body-color) !important;
|
||||
}
|
||||
|
||||
#toc.toc2 {
|
||||
background-color: var(--toc-bg-color);
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
#toc.toc2 > ul {
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
@media screen and (max-width:767px) {
|
||||
#toc.toc2 {
|
||||
background-color: var(--body-bg-color);
|
||||
}
|
||||
}
|
||||
|
||||
p, .paragraph.lead > p, #preamble > .sectionbody > [class="paragraph"]:first-of-type p, #toctitle, .title {
|
||||
color: var(--body-color);
|
||||
}
|
||||
|
||||
#header .details {
|
||||
border-bottom: var(--border);
|
||||
color: var(--header-details-color);
|
||||
}
|
||||
|
||||
code, .prettyprint {
|
||||
background-color: var(--code-bg-color) !important;
|
||||
color: var(--body-color);
|
||||
}
|
||||
|
||||
pre {
|
||||
color: var(--pre-color) !important;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
background-color: var(--pre-code-bg-color) !important;
|
||||
}
|
||||
|
||||
.keyseq {
|
||||
color: var(--keyseq-color);
|
||||
}
|
||||
|
||||
kbd {
|
||||
background-color: var(--kbd-bg-color) !important;
|
||||
border: var(--kbd-border) !important;
|
||||
box-shadow: var(--kbd-box-shadow);
|
||||
color: var(--body-color);
|
||||
}
|
||||
|
||||
.literalblock pre, .listingblock > .content > pre:not(.highlight), .listingblock > .content > pre[class="highlight"], .listingblock > .content > pre[class^="highlight "] {
|
||||
background-color: var(--pre-bg-color);
|
||||
color: var(--body-color);
|
||||
}
|
||||
|
||||
.sect1 + .sect1 {
|
||||
border-top: var(--border);
|
||||
}
|
||||
|
||||
.admonitionblock td.icon .icon-note::before {
|
||||
color: var(--icon-note-color);
|
||||
}
|
||||
|
||||
.admonitionblock td.icon .icon-tip::before {
|
||||
color: var(--icon-tip-color);
|
||||
}
|
||||
|
||||
.admonitionblock td.icon .icon-warning::before {
|
||||
color: var(--icon-warning-color);
|
||||
}
|
||||
|
||||
.admonitionblock td.icon .icon-caution::before {
|
||||
color: var(--icon-caution-color);
|
||||
}
|
||||
|
||||
.admonitionblock td.icon .icon-important::before {
|
||||
color: var(--icon-important-color);
|
||||
}
|
||||
|
||||
.admonitionblock > table td.content {
|
||||
border-left: var(--border);
|
||||
}
|
||||
|
||||
mark {
|
||||
background-color: var(--mark-bg-color);
|
||||
color: var(--body-color);
|
||||
}
|
||||
|
||||
/* syntax highlighting tuning */
|
||||
|
||||
pre.pygments .tok-cp {
|
||||
color: #44cfaf;
|
||||
}
|
||||
|
||||
pre.pygments .tok-nc, pre.pygments .tok-nf {
|
||||
color: #649fef;
|
||||
}
|
||||
|
||||
pre.pygments .tok-gu, pre.pygments .tok-nc, pre.pygments .tok-nn {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* asciidoctor styles tuning */
|
||||
|
||||
#header, #content, #footnotes, #footer {
|
||||
max-width: none;
|
||||
padding-left: 3em;
|
||||
padding-right: 3em;
|
||||
}
|
||||
|
||||
#header #revnumber {
|
||||
text-transform: none;
|
||||
}
|
||||
h1,h2,h3,h4,h5 {
|
||||
|
||||
h1, h2, h3, h4, h5 {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.literalblock pre {
|
||||
font-family: monospace, 'Courier New', Courier;
|
||||
line-height: normal;
|
||||
font-family: "DejaVu Sans Mono", "Liberation Mono", "Lucida Console", monospace, 'Courier New', Courier;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
kbd {
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
.keyseq {
|
||||
margin-left: .2em;
|
||||
margin-right: .2em;
|
||||
}
|
||||
|
||||
.tableblock kbd {
|
||||
margin-top: .2em;
|
||||
margin-bottom: .2em;
|
||||
}
|
||||
|
||||
.hex {
|
||||
padding: 0 .2em;
|
||||
border: 1px solid #88b;
|
||||
border: var(--border);
|
||||
margin: 0 .2em;
|
||||
font-family: monospace;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
</style>
|
||||
|
||||
+1
-14
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -122,19 +122,6 @@ if(ENABLE_DOC)
|
||||
add_custom_target(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# tester's guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_tester.en.html"
|
||||
)
|
||||
add_custom_target(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# relay protocol
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
|
||||
|
||||
+1
-7
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -29,7 +29,6 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_scripting.en.adoc \
|
||||
weechat_faq.en.adoc \
|
||||
weechat_quickstart.en.adoc \
|
||||
weechat_tester.en.adoc \
|
||||
weechat_relay_protocol.en.adoc \
|
||||
weechat_dev.en.adoc \
|
||||
includes/autogen_api_completions.en.adoc \
|
||||
@@ -58,7 +57,6 @@ if DOC
|
||||
weechat_scripting.en.html \
|
||||
weechat_faq.en.html \
|
||||
weechat_quickstart.en.html \
|
||||
weechat_tester.en.html \
|
||||
weechat_relay_protocol.en.html \
|
||||
weechat_dev.en.html
|
||||
doc_install = install-doc
|
||||
@@ -92,10 +90,6 @@ weechat_faq.en.html: weechat_faq.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
weechat_quickstart.en.html: weechat_quickstart.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.adoc
|
||||
|
||||
# tester's guide
|
||||
weechat_tester.en.html: weechat_tester.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.adoc
|
||||
|
||||
# relay protocol
|
||||
weechat_relay_protocol.en.html: weechat_relay_protocol.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.adoc
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
| irc | irc_channels | channels on all IRC servers
|
||||
|
||||
| irc | irc_channels_autojoin | channels automatically joined on the current server (option "autojoin")
|
||||
|
||||
| irc | irc_ignores_numbers | numbers for defined ignores
|
||||
|
||||
| irc | irc_modelist_masks | modelist masks of current IRC channel; required argument: modelist mode
|
||||
@@ -92,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | list of scripts
|
||||
|
||||
| trigger | trigger_add_arguments | arguments for command that adds a trigger: trigger name, hooks, hook arguments, hook conditions, hook regex, hook command, hook return code, post actions
|
||||
|
||||
| trigger | trigger_hook_arguments | default arguments for a hook
|
||||
|
||||
| trigger | trigger_hook_command | default command for a hook
|
||||
@@ -146,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | areas ("chat" or bar name) for free cursor movement
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | arguments for command that adds a custom bar item: item name, conditions, content
|
||||
|
||||
| weechat | custom_bar_item_conditions | conditions for custom bar item
|
||||
|
||||
| weechat | custom_bar_item_contents | contents for custom bar item
|
||||
|
||||
| weechat | custom_bar_items_names | names of custom bar items
|
||||
|
||||
| weechat | env_value | value of an environment variable
|
||||
|
||||
| weechat | env_vars | environment variables
|
||||
|
||||
@@ -631,6 +631,8 @@ _text_search_input_ (string) +
|
||||
_highlight_words_ (string) +
|
||||
_highlight_regex_ (string) +
|
||||
_highlight_regex_compiled_ (pointer) +
|
||||
_highlight_disable_regex_ (string) +
|
||||
_highlight_disable_regex_compiled_ (pointer) +
|
||||
_highlight_tags_restrict_ (string) +
|
||||
_highlight_tags_restrict_count_ (integer) +
|
||||
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
||||
|
||||
@@ -128,6 +128,8 @@
|
||||
|
||||
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
||||
|
||||
| weechat | uptime_current | WeeChat uptime for the current process only (upgrades with /upgrade command are ignored) (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
||||
|
||||
| weechat | version | WeeChat version | -
|
||||
|
||||
| weechat | version_git | WeeChat git version (output of command "git describe" for a development version only, empty for a stable release) | -
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|===
|
||||
| Plugin | Name | Description | Hashtable (input) | Hashtable (output)
|
||||
|
||||
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "tag_xxx": unescaped value of tag "xxx" (one key per tag), "message_without_tags": message without the tags, "nick": nick, "user": user, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found)
|
||||
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "tag_xxx": unescaped value of tag "xxx" (one key per tag), "message_without_tags": message without the tags, "nick": nick, "user": user, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "param1" ... "paramN": parsed command parameters, "num_params": number of parsed command parameters, "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found)
|
||||
|
||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
|
||||
|
||||
|
||||
@@ -16,7 +16,14 @@
|
||||
. xfer (7000)
|
||||
. irc (6000)
|
||||
. relay (5000)
|
||||
. guile, javascript, lua, perl, php, python, ruby, tcl (4000)
|
||||
. guile (4007)
|
||||
. javascript (4006)
|
||||
. lua (4005)
|
||||
. perl (4004)
|
||||
. php (4003)
|
||||
. python (4002)
|
||||
. ruby (4001)
|
||||
. tcl (4000)
|
||||
. script (3000)
|
||||
. fset (2000)
|
||||
// end::plugins_priority[]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// tag::url_options[]
|
||||
[width="100%",cols="2,^1,7",options="header"]
|
||||
|===
|
||||
| Option | Type ^(1)^ | Constants ^(2)^
|
||||
| Option | Type ^(1)^ | Constants ^(2)^
|
||||
|
||||
| verbose | long |
|
||||
|
||||
|
||||
@@ -123,6 +123,36 @@ Examples:
|
||||
/auth user2 ${weechat_config_dir}/ecdsa2.pem
|
||||
----
|
||||
|
||||
[[command_irc_autojoin]]
|
||||
* `+autojoin+`: configure the "autojoin" server option
|
||||
|
||||
----
|
||||
/autojoin add [<channel1> [<channel2>...]]
|
||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||
del [<channel1> [<channel2>...]]
|
||||
apply
|
||||
sort
|
||||
|
||||
add: add current channel or a list of channels (with optional keys) to the autojoin option; if you are on the channel and the key is not provided, the key is read in the channel
|
||||
addraw: use the IRC raw format (same as /join command): all channels separated by commas, optional keys separated by commas
|
||||
del: delete current channel or a list of channels from the autojoin option
|
||||
channel: channel name
|
||||
key: key for the channel
|
||||
apply: set currently joined channels in the autojoin option
|
||||
sort: sort alphabetically channels in the autojoin option
|
||||
|
||||
Examples:
|
||||
/autojoin add
|
||||
/autojoin add #test
|
||||
/autojoin add #chan1 #chan2
|
||||
/allchan /autojoin add
|
||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||
/autojoin del
|
||||
/autojoin del #chan1
|
||||
/autojoin apply
|
||||
/autojoin sort
|
||||
----
|
||||
|
||||
[[command_irc_ban]]
|
||||
* `+ban+`: ban nicks or hosts
|
||||
|
||||
@@ -146,7 +176,7 @@ Without argument, this command displays the ban list for current channel.
|
||||
|
||||
ls: list the capabilities supported by the server
|
||||
list: list the capabilities currently enabled
|
||||
req: request a capability
|
||||
req: request a new capability or remove a capability (if starting with "-", for example: "-multi-prefix")
|
||||
ack: acknowledge capabilities which require client-side acknowledgement
|
||||
end: end the capability negotiation
|
||||
|
||||
@@ -157,8 +187,14 @@ Capabilities supported by WeeChat are: account-notify, away-notify, cap-notify,
|
||||
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
||||
|
||||
Examples:
|
||||
/cap
|
||||
/cap req multi-prefix away-notify
|
||||
display supported and enabled capabilities:
|
||||
/cap
|
||||
request capabilities multi-prefix and away-notify:
|
||||
/cap req multi-prefix away-notify
|
||||
request capability extended-join, remove capability multi-prefix:
|
||||
/cap req extended-join -multi-prefix
|
||||
remove capability away-notify:
|
||||
/cap req -away-notify
|
||||
----
|
||||
|
||||
[[command_irc_connect]]
|
||||
@@ -1302,8 +1338,8 @@ Examples:
|
||||
----
|
||||
/debug list
|
||||
set <plugin> <level>
|
||||
dump [<plugin>]
|
||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
||||
dump|hooks [<plugin>]
|
||||
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
time <command>
|
||||
@@ -1313,15 +1349,15 @@ Examples:
|
||||
plugin: name of plugin ("core" for WeeChat core)
|
||||
level: debug level for plugin (0 = disable debug)
|
||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
||||
hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin)
|
||||
buffer: dump buffer content with hexadecimal values in log file
|
||||
certs: display number of loaded trusted certificate authorities
|
||||
color: display infos about current color pairs
|
||||
cursor: toggle debug for cursor mode
|
||||
dirs: display directories
|
||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||
hooks: display infos about hooks
|
||||
infolists: display infos about infolists
|
||||
libs: display infos about external libraries used
|
||||
certs: display number of loaded trusted certificate authorities
|
||||
memory: display infos about memory usage
|
||||
mouse: toggle debug for mouse
|
||||
tags: display tags for lines
|
||||
@@ -1375,30 +1411,34 @@ To force a string comparison, you can add double quotes around each expression,
|
||||
|
||||
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
|
||||
1. the string itself without evaluation (format: "raw:xxx")
|
||||
2. an evaluated sub-string (format: "eval:xxx")
|
||||
3. an evaluated condition (format: "eval_cond:xxx")
|
||||
4. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||
5. a string with chars to hide (format: "hide:char,string")
|
||||
6. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||
2. a user-defined variable (format: "name")
|
||||
3. an evaluated sub-string (format: "eval:xxx")
|
||||
4. an evaluated condition (format: "eval_cond:xxx")
|
||||
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||
6. a string converted to lower case (format: "lower:xxx")
|
||||
7. a string converted to upper case (format: "upper:xxx")
|
||||
8. a string with chars to hide (format: "hide:char,string")
|
||||
9. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
|
||||
7. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
8. a repeated string (format: "repeat:count,string")
|
||||
9. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
10. split of a string (format: "split:number,separators,flags,xxx")
|
||||
11. split of shell argmuents (format: "split_shell:number,xxx")
|
||||
12. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
13. a modifier (format: "modifier:name,data,string")
|
||||
14. an info (format: "info:name,arguments", arguments are optional)
|
||||
15. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||
16. current date/time (format: "date" or "date:format")
|
||||
17. an environment variable (format: "env:XXX")
|
||||
18. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
19. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
20. a random integer number (format: "random:min,max")
|
||||
21. a translated string (format: "translate:xxx")
|
||||
22. an option (format: "file.section.option")
|
||||
23. a local variable in buffer
|
||||
24. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
10. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
11. a repeated string (format: "repeat:count,string")
|
||||
12. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
13. split of a string (format: "split:number,separators,flags,xxx")
|
||||
14. split of shell argmuents (format: "split_shell:number,xxx")
|
||||
15. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
16. a modifier (format: "modifier:name,data,string")
|
||||
17. an info (format: "info:name,arguments", arguments are optional)
|
||||
18. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||
19. current date/time (format: "date" or "date:format")
|
||||
20. an environment variable (format: "env:XXX")
|
||||
21. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
22. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
23. a random integer number (format: "random:min,max")
|
||||
24. a translated string (format: "translate:xxx")
|
||||
25. define a user variable (format: "define:name,value")
|
||||
26. an option (format: "file.section.option")
|
||||
27. a local variable in buffer
|
||||
28. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
Format for hdata can be one of following:
|
||||
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
||||
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
||||
@@ -1410,38 +1450,41 @@ Format for hdata can be one of following:
|
||||
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
|
||||
|
||||
Examples (simple strings):
|
||||
/eval -n ${raw:${info:version}} ==> ${info:version}
|
||||
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${sec.data.password} ==> secret
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||
/eval -n ${rev:Hello} ==> olleH
|
||||
/eval -n ${repeat:5,-} ==> -----
|
||||
/eval -n ${length:test} ==> 4
|
||||
/eval -n ${split:1,,,abc,def,ghi} ==> abc
|
||||
/eval -n ${split:-1,,,abc,def,ghi} ==> ghi
|
||||
/eval -n ${split:count,,,abc,def,ghi} ==> 3
|
||||
/eval -n ${split:random,,,abc,def,ghi} ==> def
|
||||
/eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1
|
||||
/eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2
|
||||
/eval -n ${split_shell:count,"arg 1" arg2} ==> 2
|
||||
/eval -n ${split_shell:random,"arg 1" arg2} ==> arg2
|
||||
/eval -n ${calc:(5+2)*3} ==> 21
|
||||
/eval -n ${random:0,10} ==> 3
|
||||
/eval -n ${base_encode:64,test} ==> dGVzdA==
|
||||
/eval -n ${base_decode:64,dGVzdA==} ==> test
|
||||
/eval -n ${translate:Plugin} ==> Extension
|
||||
/eval -n ${raw:${info:version}} ==> ${info:version}
|
||||
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${sec.data.password} ==> secret
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${lower:TEST} ==> test
|
||||
/eval -n ${upper:test} ==> TEST
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||
/eval -n ${rev:Hello} ==> olleH
|
||||
/eval -n ${repeat:5,-} ==> -----
|
||||
/eval -n ${length:test} ==> 4
|
||||
/eval -n ${split:1,,,abc,def,ghi} ==> abc
|
||||
/eval -n ${split:-1,,,abc,def,ghi} ==> ghi
|
||||
/eval -n ${split:count,,,abc,def,ghi} ==> 3
|
||||
/eval -n ${split:random,,,abc,def,ghi} ==> def
|
||||
/eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1
|
||||
/eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2
|
||||
/eval -n ${split_shell:count,"arg 1" arg2} ==> 2
|
||||
/eval -n ${split_shell:random,"arg 1" arg2} ==> arg2
|
||||
/eval -n ${calc:(5+2)*3} ==> 21
|
||||
/eval -n ${random:0,10} ==> 3
|
||||
/eval -n ${base_encode:64,test} ==> dGVzdA==
|
||||
/eval -n ${base_decode:64,dGVzdA==} ==> test
|
||||
/eval -n ${translate:Plugin} ==> Extension
|
||||
/eval -n ${define:len,${calc:5+3}}${len}x${len} ==> 8x8
|
||||
|
||||
Examples (conditions):
|
||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||
@@ -1465,7 +1508,7 @@ Examples (conditions):
|
||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||
rename <name> <new_name>
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
del <name>|-all [<name>...]
|
||||
|
||||
list: list all filters
|
||||
enable: enable filters (filters are enabled by default)
|
||||
@@ -1571,6 +1614,7 @@ list of actions:
|
||||
delete_previous_char: delete previous char
|
||||
delete_next_char: delete next char
|
||||
delete_previous_word: delete previous word
|
||||
delete_previous_word_whitespace: delete previous word (until whitespace)
|
||||
delete_next_word: delete next word
|
||||
delete_beginning_of_line: delete from beginning of line until cursor
|
||||
delete_end_of_line: delete from cursor until end of line
|
||||
@@ -1614,6 +1658,49 @@ list of actions:
|
||||
This command is used by key bindings or plugins.
|
||||
----
|
||||
|
||||
[[command_weechat_item]]
|
||||
* `+item+`: manage custom bar items
|
||||
|
||||
----
|
||||
/item list
|
||||
add|addreplace <name> "<conditions>" "<content>"
|
||||
rename <name> <new_name>
|
||||
refresh <name> [<name>...]
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
|
||||
list: list all custom bar items
|
||||
add: add a custom bar item
|
||||
addreplace: add or replace an existing custom bar item
|
||||
name: custom bar item name
|
||||
conditions: evaluated conditions to display the bar item (for example to display the bar item only in specific buffers)
|
||||
content: content (evaluated, see /help eval)
|
||||
rename: rename a custom bar item
|
||||
refresh: update content of item in all bars where the item is displayed; any item can be refreshed: default/plugin/custom bar items
|
||||
recreate: set input with the command used to edit the custom bar item
|
||||
del: delete a custom bar item
|
||||
-all: delete all custom bar items
|
||||
|
||||
Examples:
|
||||
add item with terminal size, displayed only in buffers with number = 1:
|
||||
/item add terminfo "${buffer.number} == 1" "term:${info:term_width}x${info:term_height}"
|
||||
add item with buffer info:
|
||||
/item add bufinfo "" "${buffer.number}:${buffer.name}${if:${buffer.zoomed}?(Z)}"
|
||||
add item with date/time using format "Dec 25, 12:34 +0100", refreshed every minute:
|
||||
/item add datetime "" "${date:%b %d, %H:%M %z}"
|
||||
/trigger add datetime_refresh timer "60000;60" "" "" "/item refresh datetime"
|
||||
add item with number of lines in buffer (displayed/total), refreshed each time a new line is displayed or if filtered lines have changed:
|
||||
/item add lines_count "" "${calc:${buffer.lines.lines_count}-${buffer.lines.lines_hidden}}/${buffer.lines.lines_count} lines"
|
||||
/trigger add lines_count_refresh_print print "" "" "" "/item refresh lines_count"
|
||||
/trigger add lines_count_refresh_signal signal "window_switch;buffer_switch;buffer_lines_hidden;filters_*" "" "" "/item refresh lines_count"
|
||||
force refresh of item "lines_count":
|
||||
/item refresh lines_count
|
||||
recreate item "lines_count" with different conditions or content:
|
||||
/item recreate lines_count
|
||||
delete item "lines_count":
|
||||
/item del lines_count
|
||||
----
|
||||
|
||||
[[command_weechat_key]]
|
||||
* `+key+`: bind/unbind keys
|
||||
|
||||
@@ -1990,6 +2077,32 @@ Examples:
|
||||
/set env ABC ""
|
||||
----
|
||||
|
||||
[[command_weechat_toggle]]
|
||||
* `+toggle+`: toggle value of a config option
|
||||
|
||||
----
|
||||
/toggle <option> [<value> [<value>...]]
|
||||
|
||||
option: name of an option
|
||||
value: possible values for the option (values are split like the shell command arguments: quotes can be used to preserve spaces at the beginning/end of values)
|
||||
|
||||
Behavior:
|
||||
- only an option of type boolean or string can be toggled without a value:
|
||||
- boolean: toggle between on/off according to current value
|
||||
- string: toggle between empty string and default value (works only if empty string is allowed for the option)
|
||||
- with a single value given, toggle between this value and the default value of option
|
||||
- with multiple values given, toggle between these values: the value used is the one following the current value of option; if the current value of option is not in list, the first value in the list is used
|
||||
- the special value "null" can be given, but only as first value in the list and without quotes around.
|
||||
|
||||
Examples:
|
||||
toggle display of time in chat area (without displaying the new value used):
|
||||
/mute /toggle weechat.look.buffer_time_format
|
||||
switch format of time in chat area (with seconds, without seconds, disabled):
|
||||
/toggle weechat.look.buffer_time_format "%H:%M:%S" "%H:%M" ""
|
||||
toggle autojoin of #weechat channel on libera server:
|
||||
/toggle irc.server.libera.autojoin null #weechat
|
||||
----
|
||||
|
||||
[[command_weechat_unset]]
|
||||
* `+unset+`: unset/reset config options
|
||||
|
||||
@@ -2010,19 +2123,22 @@ Examples:
|
||||
----
|
||||
|
||||
[[command_weechat_upgrade]]
|
||||
* `+upgrade+`: reload the WeeChat binary without disconnecting from servers
|
||||
* `+upgrade+`: save WeeChat session and reload the WeeChat binary without disconnecting from servers
|
||||
|
||||
----
|
||||
/upgrade [-yes] [<path_to_binary>|-quit]
|
||||
/upgrade [-yes] [<path_to_binary>|-save|-quit]
|
||||
|
||||
-yes: required if option "weechat.look.confirm_upgrade" is enabled
|
||||
path_to_binary: path to WeeChat binary (default is current binary)
|
||||
-dummy: do nothing (option used to prevent accidental completion with "-quit")
|
||||
-save: only save the session, do not quit nor reload WeeChat; the configuration files are not saved (if needed you can use /save before this command)
|
||||
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
|
||||
|
||||
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
||||
|
||||
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
||||
Note: SSL connections are lost during upgrade (except with -save), because the reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
||||
|
||||
Important: use of option -save can be dangerous, it is recommended to use only /upgrade (or with -quit) for a standard upgrade and a restart; the option -save can be used to save the session regularly and restore it in case of after abnormal exit (power outage, crash, etc.)
|
||||
|
||||
Upgrade process has 4 steps:
|
||||
1. save session into files for core and plugins (buffers, history, ..)
|
||||
@@ -2030,14 +2146,18 @@ Upgrade process has 4 steps:
|
||||
3. save WeeChat configuration (weechat.conf)
|
||||
4. execute new WeeChat binary and reload session.
|
||||
|
||||
With option "-quit", the process is slightly different:
|
||||
With option "-quit", the process is:
|
||||
1. close *ALL* connections (irc, xfer, relay, ...)
|
||||
2. save session into files (*.upgrade)
|
||||
3. unload all plugins
|
||||
4. save WeeChat configuration
|
||||
5. quit WeeChat
|
||||
Then later you can restore session with command: weechat --upgrade
|
||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
||||
|
||||
With option "-save", the process is:
|
||||
1. save session into files (*.upgrade) with a disconnected state for IRC servers and Relay clients (but no disconnection is made)
|
||||
|
||||
With -quit or -save, you can restore the session later with this command: weechat --upgrade
|
||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf) and if possible the same WeeChat version (or a more recent one).
|
||||
It is possible to restore WeeChat session on another machine if you copy the content of WeeChat home directories (see /debug dirs).
|
||||
----
|
||||
|
||||
@@ -2222,6 +2342,7 @@ The following variables can be used in these options:
|
||||
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
||||
- ${hotlist}: the raw hotlist
|
||||
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
||||
- ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight
|
||||
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
||||
- ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version)
|
||||
----
|
||||
@@ -2788,7 +2909,7 @@ protocol.name: protocol and name to relay:
|
||||
- protocol "weechat" (name is not used)
|
||||
|
||||
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces/
|
||||
|
||||
Without argument, this command opens buffer with list of relay clients.
|
||||
|
||||
@@ -2943,7 +3064,7 @@ Examples:
|
||||
----
|
||||
/spell enable|disable|toggle
|
||||
listdict
|
||||
setdict <dict>[,<dict>...]
|
||||
setdict -|<dict>[,<dict>...]
|
||||
deldict
|
||||
addword [<dict>] <word>
|
||||
|
||||
@@ -2951,7 +3072,7 @@ Examples:
|
||||
disable: disable spell checker
|
||||
toggle: toggle spell checker
|
||||
listdict: show installed dictionaries
|
||||
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
|
||||
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
|
||||
deldict: delete dictionary used on current buffer
|
||||
addword: add a word in personal dictionary
|
||||
|
||||
@@ -3080,6 +3201,8 @@ Examples (you can also look at default triggers with /trigger listdefault):
|
||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||
silently save config each hour:
|
||||
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
||||
silently save WeeChat session at midnight (see /help upgrade):
|
||||
/trigger add session_save signal day_changed "" "" "/mute /upgrade -save"
|
||||
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
|
||||
/trigger monitor @modifier,resize*
|
||||
----
|
||||
|
||||
@@ -750,6 +750,12 @@
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
|
||||
* [[option_weechat.look.highlight_disable_regex]] *weechat.look.highlight_disable_regex*
|
||||
** description: pass:none[POSIX extended regular expression used to prevent any highlight from a message: this option has higher priority over other highlight options (if the string is found in the message, the highlight is disabled and the other options are ignored), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "<flash.*>", "(?-i)<Flash.*>"]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
|
||||
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
||||
** description: pass:none[POSIX extended regular expression used to check if a message has highlight or not, at least one match in string must be surrounded by delimiters (chars different from: alphanumeric, "-", "_" and "|"), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
||||
** type: string
|
||||
@@ -1290,12 +1296,6 @@
|
||||
** values: any string
|
||||
** default value: `+"*"+`
|
||||
|
||||
* [[option_weechat.plugin.debug]] *weechat.plugin.debug*
|
||||
** description: pass:none[enable debug messages by default in all plugins (option disabled by default, which is highly recommended)]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_weechat.plugin.extension]] *weechat.plugin.extension*
|
||||
** description: pass:none[comma separated list of file name extensions for plugins]
|
||||
** type: string
|
||||
@@ -1403,7 +1403,7 @@
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
||||
** description: pass:none[automatically save content of buffers to files (unless a buffer disables log)]
|
||||
** description: pass:none[automatically save content of buffers to files (unless a buffer disables log); if disabled, logging is disabled on all buffers]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
@@ -1468,6 +1468,24 @@
|
||||
** values: any string
|
||||
** default value: `+"_"+`
|
||||
|
||||
* [[option_logger.file.rotation_compression_level]] *logger.file.rotation_compression_level*
|
||||
** description: pass:none[compression level for rotated log files (with extension ".1", ".2", etc.), if option logger.file.rotation_compression_type is enabled: 1 = low compression / fast ... 100 = best compression / slow; the value is a percentage converted to 1-9 for gzip and 1-19 for zstd; the default value is recommended, it offers a good compromise between compression and speed]
|
||||
** type: integer
|
||||
** values: 1 .. 100
|
||||
** default value: `+20+`
|
||||
|
||||
* [[option_logger.file.rotation_compression_type]] *logger.file.rotation_compression_type*
|
||||
** description: pass:none[compression type for rotated log files; if set to "none", rotated log files are not compressed; WARNING: if rotation was enabled with another type of compression (or no compression), you must first unload the logger plugin, compress files with the new type (or decompress files), then change the option in logger.conf, then load the logger plugin]
|
||||
** type: integer
|
||||
** values: none, gzip, zstd
|
||||
** default value: `+none+`
|
||||
|
||||
* [[option_logger.file.rotation_size_max]] *logger.file.rotation_size_max*
|
||||
** description: pass:none[when this size is reached, a rotation of log files is performed: the existing rotated log files are renamed (.1 becomes .2, .2 becomes .3, etc.) and the current file is renamed with extension .1; an integer number with a suffix is allowed: b = bytes (default if no unit given), k = kilobytes, m = megabytes, g = gigabytes, t = terabytes; example: "2g" causes a rotation if the file size is > 2,000,000,000 bytes; if set to "0", no rotation is performed (unlimited log size); WARNING: before changing this option, you should first set the compression type via option logger.file.rotation_compression_type]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"0"+`
|
||||
|
||||
* [[option_logger.file.time_format]] *logger.file.time_format*
|
||||
** description: pass:none[timestamp used in log files (see man strftime for date/time specifiers)]
|
||||
** type: string
|
||||
@@ -1550,6 +1568,12 @@
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||
** default value: `+lightmagenta+`
|
||||
|
||||
* [[option_trigger.color.identifier]] *trigger.color.identifier*
|
||||
** description: pass:none[text color for trigger context identifier in monitor buffer]
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||
** default value: `+cyan+`
|
||||
|
||||
* [[option_trigger.color.regex]] *trigger.color.regex*
|
||||
** description: pass:none[text color for regular expressions]
|
||||
** type: color
|
||||
@@ -1777,7 +1801,7 @@
|
||||
** default value: `+"${buffer.hidden}==0"+`
|
||||
|
||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||
** description: pass:none[enable buflist]
|
||||
** description: pass:none[enable buflist; it is recommended to use this option instead of just hiding the bar because it also removes some internal hooks that are not needed any more when the bar is hidden; you can also use the command "/buflist toggle" or use the default key alt+shift+b]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
@@ -2133,7 +2157,7 @@
|
||||
** default value: `+cyan+`
|
||||
|
||||
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
||||
** description: pass:none[color for text in chghost messages]
|
||||
** description: pass:none[color for text in "chghost" messages]
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||
** default value: `+brown+`
|
||||
@@ -2156,6 +2180,12 @@
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||
** default value: `+red+`
|
||||
|
||||
* [[option_irc.color.message_setname]] *irc.color.message_setname*
|
||||
** description: pass:none[color for text in "setname" messages]
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||
** default value: `+brown+`
|
||||
|
||||
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
||||
** description: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
|
||||
** type: string
|
||||
@@ -2336,6 +2366,12 @@
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_irc.look.display_pv_nick_change]] *irc.look.display_pv_nick_change*
|
||||
** description: pass:none[display nick change in private]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
||||
** description: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)]
|
||||
** type: boolean
|
||||
@@ -2552,6 +2588,12 @@
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_irc.look.smart_filter_setname]] *irc.look.smart_filter_setname*
|
||||
** description: pass:none[enable smart filter for "setname" messages]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
||||
** description: pass:none[enable automatic addition of temporary servers with command /connect]
|
||||
** type: boolean
|
||||
@@ -2696,6 +2738,12 @@
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
|
||||
* [[option_irc.server_default.autojoin_dynamic]] *irc.server_default.autojoin_dynamic*
|
||||
** description: pass:none[set automatically the "autojoin" option according to the channels you manually join and part with commands /join and /part]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_irc.server_default.autoreconnect]] *irc.server_default.autoreconnect*
|
||||
** description: pass:none[automatically reconnect to server when disconnected]
|
||||
** type: boolean
|
||||
@@ -3064,11 +3112,11 @@
|
||||
** values: -1 .. 43200
|
||||
** default value: `+0+`
|
||||
|
||||
* [[option_relay.network.compression_level]] *relay.network.compression_level*
|
||||
** description: pass:none[compression level for packets sent to client with WeeChat protocol (0 = disable compression, 1 = low compression ... 9 = best compression)]
|
||||
* [[option_relay.network.compression]] *relay.network.compression*
|
||||
** description: pass:none[compression of messages sent to clients with "weechat" protocol: 0 = disable compression, 1 = low compression / fast ... 100 = best compression / slow; the value is a percentage converted to 1-9 for zlib and 1-19 for zstd; the default value is recommended, it offers a good compromise between compression and speed]
|
||||
** type: integer
|
||||
** values: 0 .. 9
|
||||
** default value: `+6+`
|
||||
** values: 0 .. 100
|
||||
** default value: `+20+`
|
||||
|
||||
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
||||
** description: pass:none[listen on IPv6 socket by default (in addition to IPv4 which is default); protocols IPv4 and IPv6 can be forced (individually or together) in the protocol name (see /help relay)]
|
||||
@@ -3143,34 +3191,6 @@
|
||||
** default value: `+""+`
|
||||
// end::relay_options[]
|
||||
|
||||
// tag::javascript_options[]
|
||||
* [[option_javascript.look.check_license]] *javascript.look.check_license*
|
||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_javascript.look.eval_keep_context]] *javascript.look.eval_keep_context*
|
||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
// end::javascript_options[]
|
||||
|
||||
// tag::ruby_options[]
|
||||
* [[option_ruby.look.check_license]] *ruby.look.check_license*
|
||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_ruby.look.eval_keep_context]] *ruby.look.eval_keep_context*
|
||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
// end::ruby_options[]
|
||||
|
||||
// tag::guile_options[]
|
||||
* [[option_guile.look.check_license]] *guile.look.check_license*
|
||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||
@@ -3185,19 +3205,33 @@
|
||||
** default value: `+on+`
|
||||
// end::guile_options[]
|
||||
|
||||
// tag::tcl_options[]
|
||||
* [[option_tcl.look.check_license]] *tcl.look.check_license*
|
||||
// tag::javascript_options[]
|
||||
* [[option_javascript.look.check_license]] *javascript.look.check_license*
|
||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_tcl.look.eval_keep_context]] *tcl.look.eval_keep_context*
|
||||
* [[option_javascript.look.eval_keep_context]] *javascript.look.eval_keep_context*
|
||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
// end::tcl_options[]
|
||||
// end::javascript_options[]
|
||||
|
||||
// tag::lua_options[]
|
||||
* [[option_lua.look.check_license]] *lua.look.check_license*
|
||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_lua.look.eval_keep_context]] *lua.look.eval_keep_context*
|
||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
// end::lua_options[]
|
||||
|
||||
// tag::perl_options[]
|
||||
* [[option_perl.look.check_license]] *perl.look.check_license*
|
||||
@@ -3227,20 +3261,6 @@
|
||||
** default value: `+on+`
|
||||
// end::php_options[]
|
||||
|
||||
// tag::lua_options[]
|
||||
* [[option_lua.look.check_license]] *lua.look.check_license*
|
||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_lua.look.eval_keep_context]] *lua.look.eval_keep_context*
|
||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
// end::lua_options[]
|
||||
|
||||
// tag::python_options[]
|
||||
* [[option_python.look.check_license]] *python.look.check_license*
|
||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||
@@ -3255,6 +3275,34 @@
|
||||
** default value: `+on+`
|
||||
// end::python_options[]
|
||||
|
||||
// tag::ruby_options[]
|
||||
* [[option_ruby.look.check_license]] *ruby.look.check_license*
|
||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_ruby.look.eval_keep_context]] *ruby.look.eval_keep_context*
|
||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
// end::ruby_options[]
|
||||
|
||||
// tag::tcl_options[]
|
||||
* [[option_tcl.look.check_license]] *tcl.look.check_license*
|
||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_tcl.look.eval_keep_context]] *tcl.look.eval_keep_context*
|
||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
// end::tcl_options[]
|
||||
|
||||
// tag::script_options[]
|
||||
* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded*
|
||||
** description: pass:none[color for status "autoloaded" ("a")]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// tag::plugin_options[]
|
||||
For complete doc on plugin options, please look at plugins documentation in
|
||||
https://weechat.org/doc[WeeChat user's guide].
|
||||
https://weechat.org/doc/[WeeChat user's guide].
|
||||
|
||||
With irc plugin, you can connect to temporary server with an URL like:
|
||||
|
||||
@@ -100,7 +100,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
||||
the AUTHORS.adoc file).
|
||||
|
||||
Copyright (C) 2003-2021 {author}
|
||||
Copyright (C) 2003-2022 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -60,4 +60,4 @@ include::includes/man.en.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / REPORTING BUGS
|
||||
|
||||
For help or a bug report: https://weechat.org/about/support
|
||||
For help or a bug report: https://weechat.org/about/support/
|
||||
|
||||
@@ -57,4 +57,4 @@ include::includes/man.en.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / REPORTING BUGS
|
||||
|
||||
For help or a bug report: https://weechat.org/about/support
|
||||
For help or a bug report: https://weechat.org/about/support/
|
||||
|
||||
+240
-137
@@ -10,8 +10,8 @@
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
Latest version of this document can be found on this page:
|
||||
https://weechat.org/doc
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -31,8 +31,8 @@ This manual documents WeeChat internals:
|
||||
[[repositories]]
|
||||
== Repositories
|
||||
|
||||
WeeChat repositories are on GitHub organization "weechat":
|
||||
https://github.com/weechat
|
||||
WeeChat repositories are on GitHub organization
|
||||
https://github.com/weechat[weechat ^↗^,window=_blank].
|
||||
|
||||
List of repositories:
|
||||
|
||||
@@ -43,7 +43,7 @@ scripts::
|
||||
the _official_ scripts submitted on weechat.org
|
||||
|
||||
weechat.org::
|
||||
source of WeeChat website: https://weechat.org/
|
||||
source of https://weechat.org/[WeeChat website ^↗^,window=_blank]
|
||||
|
||||
weercd::
|
||||
IRC testing server
|
||||
@@ -284,6 +284,7 @@ WeeChat "core" is located in following directories:
|
||||
| irc-ignore.c | IRC Ignore.
|
||||
| irc-info.c | IRC info/infolists/hdata.
|
||||
| irc-input.c | Input of commands/text.
|
||||
| irc-join.c | Functions for list of channels to join.
|
||||
| irc-message.c | Functions to manipulate IRC messages.
|
||||
| irc-mode.c | Functions about channel/nick modes.
|
||||
| irc-modelist.c | IRC channel mode lists (+b, +e, +I, ...).
|
||||
@@ -296,6 +297,7 @@ WeeChat "core" is located in following directories:
|
||||
| irc-sasl.c | SASL authentication with IRC server.
|
||||
| irc-server.c | I/O communication with IRC server.
|
||||
| irc-tag.c | Functions to manipulate IRC message tags.
|
||||
| irc-typing.c | Typing status.
|
||||
| irc-upgrade.c | Save/restore of IRC data when upgrading WeeChat.
|
||||
| javascript/ | JavaScript plugin.
|
||||
| weechat-js.cpp | Main JavaScript functions (load/unload scripts, execute JavaScript code).
|
||||
@@ -389,58 +391,73 @@ WeeChat "core" is located in following directories:
|
||||
|
||||
[width="100%",cols="2m,3",options="header"]
|
||||
|===
|
||||
| Path/file | Description
|
||||
| tests/ | Root of tests.
|
||||
| tests.cpp | Program used to run all tests.
|
||||
| scripts/ | Root of scripting API tests.
|
||||
| test-scripts.cpp | Program used to run the scripting API tests.
|
||||
| python/ | Python scripts to generate and run the scripting API tests.
|
||||
| testapigen.py | Python script generating scripts in all languages to test the scripting API.
|
||||
| testapi.py | Python script with scripting API tests, used by script testapigen.py.
|
||||
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
||||
| unit/ | Root of unit tests.
|
||||
| test-plugins.cpp | Tests: plugins.
|
||||
| core/ | Root of unit tests for core.
|
||||
| test-core-arraylist.cpp | Tests: arraylists.
|
||||
| test-core-calc.cpp | Tests: calculation of expressions.
|
||||
| test-core-crypto.cpp | Tests: cryptographic functions.
|
||||
| test-core-dir.cpp | Tests: directory/file functions.
|
||||
| test-core-eval.cpp | Tests: evaluation of expressions.
|
||||
| test-core-hashtble.cpp | Tests: hashtables.
|
||||
| test-core-hdata.cpp | Tests: hdata.
|
||||
| test-core-hook.cpp | Tests: hooks.
|
||||
| test-core-infolist.cpp | Tests: infolists.
|
||||
| test-core-list.cpp | Tests: lists.
|
||||
| test-core-network.cpp | Tests: network functions.
|
||||
| test-core-secure.cpp | Tests: secured data.
|
||||
| test-core-signal.cpp | Tests: signals.
|
||||
| test-core-string.cpp | Tests: strings.
|
||||
| test-core-url.cpp | Tests: URLs.
|
||||
| test-core-utf8.cpp | Tests: UTF-8.
|
||||
| test-core-util.cpp | Tests: utility functions.
|
||||
| gui/ | Root of unit tests for interfaces.
|
||||
| test-gui-color.cpp | Tests: colors.
|
||||
| test-gui-line.cpp | Tests: lines.
|
||||
| test-gui-nick.cpp | Tests: nicks.
|
||||
| plugins/ | Root of unit tests for plugins.
|
||||
| irc/ | Root of unit tests for IRC plugin.
|
||||
| test-irc-channel.cpp | Tests: IRC channels.
|
||||
| test-irc-color.cpp | Tests: IRC colors.
|
||||
| test-irc-config.cpp | Tests: IRC configuration.
|
||||
| test-irc-ignore.cpp | Tests: IRC ignores.
|
||||
| test-irc-message.cpp | Tests: IRC messages.
|
||||
| test-irc-mode.cpp | Tests: IRC modes.
|
||||
| test-irc-nick.cpp | Tests: IRC nicks.
|
||||
| test-irc-protocol.cpp | Tests: IRC protocol.
|
||||
| test-irc-server.cpp | Tests: IRC server.
|
||||
| trigger/ | Root of unit tests for trigger plugin.
|
||||
| test-trigger.cpp | Tests: triggers.
|
||||
| typing/ | Root of unit tests for typing plugin.
|
||||
| test-typing.cpp | Tests: typing.
|
||||
| test-typing-status.cpp | Tests: typing status.
|
||||
| relay/ | Root of unit tests for Relay plugin.
|
||||
| test-relay-auth.cpp | Tests: clients authentication.
|
||||
|
||||
| Path/file | Description
|
||||
| tests/ | Root of tests.
|
||||
| tests.cpp | Program used to run all tests.
|
||||
| scripts/ | Root of scripting API tests.
|
||||
| test-scripts.cpp | Program used to run the scripting API tests.
|
||||
| python/ | Python scripts to generate and run the scripting API tests.
|
||||
| testapigen.py | Python script generating scripts in all languages to test the scripting API.
|
||||
| testapi.py | Python script with scripting API tests, used by script testapigen.py.
|
||||
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
||||
| unit/ | Root of unit tests.
|
||||
| test-plugins.cpp | Tests: plugins.
|
||||
| core/ | Root of unit tests for core.
|
||||
| test-core-arraylist.cpp | Tests: arraylists.
|
||||
| test-core-calc.cpp | Tests: calculation of expressions.
|
||||
| test-core-config-file.cpp | Tests: configuration files.
|
||||
| test-core-crypto.cpp | Tests: cryptographic functions.
|
||||
| test-core-dir.cpp | Tests: directory/file functions.
|
||||
| test-core-eval.cpp | Tests: evaluation of expressions.
|
||||
| test-core-hashtble.cpp | Tests: hashtables.
|
||||
| test-core-hdata.cpp | Tests: hdata.
|
||||
| test-core-hook.cpp | Tests: hooks.
|
||||
| test-core-infolist.cpp | Tests: infolists.
|
||||
| test-core-list.cpp | Tests: lists.
|
||||
| test-core-network.cpp | Tests: network functions.
|
||||
| test-core-secure.cpp | Tests: secured data.
|
||||
| test-core-signal.cpp | Tests: signals.
|
||||
| test-core-string.cpp | Tests: strings.
|
||||
| test-core-url.cpp | Tests: URLs.
|
||||
| test-core-utf8.cpp | Tests: UTF-8.
|
||||
| test-core-util.cpp | Tests: utility functions.
|
||||
| gui/ | Root of unit tests for interfaces.
|
||||
| test-gui-bar-window.cpp | Tests: bar window functions.
|
||||
| test-gui-buffer.cpp | Tests: buffer functions.
|
||||
| test-gui-chat.cpp | Tests: chat functions.
|
||||
| test-gui-color.cpp | Tests: colors.
|
||||
| test-gui-filter.cpp | Tests: filters.
|
||||
| test-gui-input.cpp | Tests: input functions.
|
||||
| test-gui-line.cpp | Tests: lines.
|
||||
| test-gui-nick.cpp | Tests: nicks.
|
||||
| plugins/ | Root of unit tests for plugins.
|
||||
| irc/ | Root of unit tests for IRC plugin.
|
||||
| test-irc-buffer.cpp | Tests: IRC buffers.
|
||||
| test-irc-channel.cpp | Tests: IRC channels.
|
||||
| test-irc-color.cpp | Tests: IRC colors.
|
||||
| test-irc-config.cpp | Tests: IRC configuration.
|
||||
| test-irc-ignore.cpp | Tests: IRC ignores.
|
||||
| test-irc-join.cpp | Tests: IRC join functions.
|
||||
| test-irc-message.cpp | Tests: IRC messages.
|
||||
| test-irc-mode.cpp | Tests: IRC modes.
|
||||
| test-irc-nick.cpp | Tests: IRC nicks.
|
||||
| test-irc-protocol.cpp | Tests: IRC protocol.
|
||||
| test-irc-sasl.cpp | Tests: SASL authentication with IRC protocol.
|
||||
| test-irc-server.cpp | Tests: IRC server.
|
||||
| test-irc-tag.cpp | Tests: IRC message tags.
|
||||
| logger/ | Root of unit tests for logger plugin.
|
||||
| test-logger-backlog.cpp | Tests: logger backlog.
|
||||
| trigger/ | Root of unit tests for trigger plugin.
|
||||
| test-trigger.cpp | Tests: triggers.
|
||||
| test-trigger-config.cpp | Tests: trigger configuration.
|
||||
| typing/ | Root of unit tests for typing plugin.
|
||||
| test-typing.cpp | Tests: typing.
|
||||
| test-typing-status.cpp | Tests: typing status.
|
||||
| relay/ | Root of unit tests for Relay plugin.
|
||||
| test-relay-auth.cpp | Tests: clients authentication.
|
||||
| xfer/ | Root of unit tests for Xfer plugin.
|
||||
| test-xfer-file.cpp | Tests: file functions.
|
||||
| test-xfer-network.cpp | Tests: network functions.
|
||||
|===
|
||||
|
||||
[[documentation_translations]]
|
||||
@@ -456,14 +473,13 @@ Documentation files:
|
||||
| docgen.py | Python script to build auto-generated files in _includes/_ directory (see below).
|
||||
| XX/ | Documentation for language XX (languages: en, fr, de, it, ...).
|
||||
| weechat.1.XX.adoc | Man page (`man weechat`).
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.en.html[Developer's guide] (this document).
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ].
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.en.html[Plugin API reference].
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.en.html[Quickstart guide].
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.en.html[Relay protocol] (for remote interfaces).
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide].
|
||||
| weechat_tester.XX.adoc | link:weechat_tester.en.html[Tester's guide].
|
||||
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide].
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.en.html[Developer's guide ^↗^,window=_blank] (this document).
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ ^↗^,window=_blank].
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.en.html[Plugin API reference ^↗^,window=_blank].
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.en.html[Quickstart guide ^↗^,window=_blank].
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.en.html[Relay protocol ^↗^,window=_blank] (for remote interfaces).
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide ^↗^,window=_blank].
|
||||
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide ^↗^,window=_blank].
|
||||
| includes/ | Files included in documentation.
|
||||
| autogen_api_completions.XX.adoc | Auto-generated file for Plugin API reference: completions (do *NEVER* update manually!).
|
||||
| autogen_api_hdata.XX.adoc | Auto-generated file for Plugin API reference: hdata (do *NEVER* update manually!).
|
||||
@@ -508,12 +524,12 @@ directory:
|
||||
|
||||
Example in C:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* Copyright (C) 2021 Your Name <your@email.com>
|
||||
* Copyright (C) 2022 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
@@ -546,7 +562,7 @@ Some basic rules you *must* follow when you write C code:
|
||||
|
||||
Example:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
/*
|
||||
* Checks if a string with boolean value is valid.
|
||||
@@ -577,7 +593,7 @@ foo ()
|
||||
Exception: in `for` loops, where variables like "i" or "n" are OK.
|
||||
* Initialize local variables after declaration, in body of function, example:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
void
|
||||
foo ()
|
||||
@@ -595,7 +611,7 @@ foo ()
|
||||
* Place curly brackets `+{ }+` alone on lines, and indent them with number of
|
||||
spaces used for line above opening curly bracket (the `if` in example):
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
if (nicks_count == 1)
|
||||
{
|
||||
@@ -606,7 +622,7 @@ if (nicks_count == 1)
|
||||
* Use empty lines to separate many different blocks inside functions, and if
|
||||
possible add a comment for each one, like this:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
/*
|
||||
* Sends a message from out queue.
|
||||
@@ -649,7 +665,7 @@ irc_server_outqueue_send (struct t_irc_server *server)
|
||||
* Indent the `if` conditions, and use parentheses around conditions with an
|
||||
operator (not needed for single boolean), like this:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
if (something)
|
||||
{
|
||||
@@ -673,7 +689,7 @@ else
|
||||
|
||||
* Indent the `switch` statements like this:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
switch (string[0])
|
||||
{
|
||||
@@ -691,7 +707,7 @@ switch (string[0])
|
||||
|
||||
* Use `typedef` for function prototypes but not for structures:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
typedef int (t_hook_callback_fd)(void *data, int fd);
|
||||
|
||||
@@ -728,7 +744,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
||||
[[coding_python_style]]
|
||||
=== Python style
|
||||
|
||||
See https://www.python.org/dev/peps/pep-0008/
|
||||
See https://www.python.org/dev/peps/pep-0008/[PEP 8 ^↗^,window=_blank].
|
||||
|
||||
[[core_internals]]
|
||||
== Core internals
|
||||
@@ -773,7 +789,7 @@ Structures have name _t_X_Y_ or _t_X_Y_Z_:
|
||||
|
||||
Example: an IRC nick (from _src/plugins/irc/irc-nick.h_):
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
struct t_irc_nick
|
||||
{
|
||||
@@ -803,7 +819,7 @@ _X_ is name of variable, using singular form).
|
||||
|
||||
Example: windows (from _src/gui/gui-window.c_):
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
struct t_gui_window *gui_windows = NULL; /* first window */
|
||||
struct t_gui_window *last_gui_window = NULL; /* last window */
|
||||
@@ -823,7 +839,7 @@ Naming convention for functions is the same as
|
||||
|
||||
Example: creation of a new window (from _src/gui/gui-window.c_):
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
/*
|
||||
* Creates a new window.
|
||||
@@ -859,7 +875,7 @@ and next node.
|
||||
|
||||
Example: list of buffers (from _src/gui/gui-buffer.h_):
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
struct t_gui_buffer
|
||||
{
|
||||
@@ -874,7 +890,7 @@ struct t_gui_buffer
|
||||
|
||||
Then the two list pointers, to the head and tail of list:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
struct t_gui_buffer *gui_buffers = NULL; /* first buffer */
|
||||
struct t_gui_buffer *last_gui_buffer = NULL; /* last buffer */
|
||||
@@ -889,18 +905,10 @@ underline, ...) and colors on screen.
|
||||
All attributes/colors are prefixed with a char in string, which can be:
|
||||
|
||||
* _0x19_: color code (followed by color code(s))
|
||||
* _0x1A_: set attribute (followed by attribute on one char)
|
||||
* _0x1B_: remove attribute (followed by attribute on one char)
|
||||
* _0x1A_: set attribute (followed by raw attribute on one char)
|
||||
* _0x1B_: remove attribute (followed by raw attribute on one char)
|
||||
* _0x1C_: reset (nothing after)
|
||||
|
||||
Allowed attributes are (one or more chars):
|
||||
|
||||
* `+*+`: bold
|
||||
* `+!+`: reverse
|
||||
* `+/+`: italic
|
||||
* `+_+`: underline
|
||||
* `+|+`: keep attributes
|
||||
|
||||
Possible colors are:
|
||||
|
||||
* standard color: optional attributes + number on 2 digits
|
||||
@@ -909,45 +917,55 @@ Possible colors are:
|
||||
In following table, these conventions are used:
|
||||
|
||||
* `STD`: standard color (2 digits)
|
||||
* `(A)STD`: standard color with optional attributes (attributes + 2 digits)
|
||||
* `(ATTR)STD`: standard color with optional attributes (attributes + 2 digits)
|
||||
* `EXT`: extended color (`+@+` + 5 digits)
|
||||
* `(A)EXT`: extended color with optional attributes (`+@+` + attributes + 5 digits)
|
||||
* `ATTR`: one attribute char (`+*+`, `+!+`, `+/+`, `+_+` or `+|+`)
|
||||
* `(ATTR)EXT`: extended color with optional attributes (`+@+` + attributes + 5 digits)
|
||||
* `(ATTR)`: one or more attribute chars:
|
||||
** `+*+`: bold
|
||||
** `+!+`: reverse
|
||||
** `+/+`: italic
|
||||
** `+_+`: underline
|
||||
** `+|+`: keep attributes
|
||||
* `(a)`: one raw attribute char:
|
||||
** _0x01_: bold
|
||||
** _0x02_: reverse
|
||||
** _0x03_: italic
|
||||
** _0x04_: underline
|
||||
|
||||
All combinations are summarized in this table:
|
||||
|
||||
[width="100%",cols="4,2,2,8",options="header"]
|
||||
[width="100%",cols="4,3,2,8",options="header"]
|
||||
|===
|
||||
| Code | Example | Areas | Description
|
||||
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | Set attributes and color using option, see table below.
|
||||
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Set color with a ncurses pair (used only on `/color` buffer).
|
||||
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | Set foreground (WeeChat color).
|
||||
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | Set foreground (extended color).
|
||||
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | Set background (WeeChat color).
|
||||
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
|
||||
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
|
||||
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
|
||||
| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||
| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||
| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||
| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||
| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||
| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||
| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | Set bar foreground color.
|
||||
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | Set bar delimiter color.
|
||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | Set bar background color.
|
||||
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
|
||||
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
|
||||
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
|
||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | Start item.
|
||||
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | bars | Start line item.
|
||||
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | Emphasize text _(WeeChat ≥ 0.4.2)_.
|
||||
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | Reset color (keep attributes).
|
||||
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | Set attribute.
|
||||
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | Remove attribute.
|
||||
| [hex]#1C# | [hex]#1C# | chat + bars | Reset attributes and color.
|
||||
| Code | Example | Areas | Description
|
||||
| [hex]#19# + `STD` | [hex]#19# `+01+` | chat + bars | Set attributes and color using option, see table below.
|
||||
| [hex]#19# + `EXT` | [hex]#19# `+@00001+` | chat | Set color with a ncurses pair (used only on `/color` buffer).
|
||||
| [hex]#19# + `F` + `(ATTR)STD` | [hex]#19# `+F*05+` | chat + bars | Set foreground (WeeChat color).
|
||||
| [hex]#19# + `F` + `(ATTR)EXT` | [hex]#19# `+F@00214+` | chat + bars | Set foreground (extended color).
|
||||
| [hex]#19# + `B` + `STD` | [hex]#19# `+B05+` | chat + bars | Set background (WeeChat color).
|
||||
| [hex]#19# + `B` + `EXT` | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
|
||||
| [hex]#19# + `*` + `(ATTR)STD` | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
|
||||
| [hex]#19# + `*` + `(ATTR)EXT` | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
|
||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `STD` ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `EXT` ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `STD` ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `EXT` ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `STD` | [hex]#19# `+*08~05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `EXT` | [hex]#19# `+*01~@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `STD` | [hex]#19# `+*@00214~05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `EXT` | [hex]#19# `+*@00214~@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||
| [hex]#19# + `b` + `F` | [hex]#19# `+bF+` | bars | Set bar foreground color.
|
||||
| [hex]#19# + `b` + `D` | [hex]#19# `+bD+` | bars | Set bar delimiter color.
|
||||
| [hex]#19# + `b` + `B` | [hex]#19# `+bB+` | bars | Set bar background color.
|
||||
| [hex]#19# + `b` + `_` | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
|
||||
| [hex]#19# + `b` + `-` | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
|
||||
| [hex]#19# + `b` + `#` | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
|
||||
| [hex]#19# + `b` + `i` | [hex]#19# `+bi+` | bars | Start item.
|
||||
| [hex]#19# + `b` + `l` (lower L) | [hex]#19# `+bl+` | bars | Start line item.
|
||||
| [hex]#19# + `E` | [hex]#19# `+E+` | chat + bars | Emphasize text _(WeeChat ≥ 0.4.2)_.
|
||||
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | Reset color (keep attributes).
|
||||
| [hex]#1A# + `(a)` | [hex]#1A# [hex]#01# | chat + bars | Set attribute.
|
||||
| [hex]#1B# + `(a)` | [hex]#1B# [hex]#01# | chat + bars | Remove attribute.
|
||||
| [hex]#1C# | [hex]#1C# | chat + bars | Reset attributes and color.
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
@@ -1064,7 +1082,7 @@ Then some macros are defined to call these functions.
|
||||
For example, function _hook_timer_ is defined in structure _t_weechat_plugin_
|
||||
like this:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
struct t_hook *(*hook_timer) (struct t_weechat_plugin *plugin,
|
||||
long interval,
|
||||
@@ -1077,7 +1095,7 @@ struct t_hook *(*hook_timer) (struct t_weechat_plugin *plugin,
|
||||
|
||||
And the macro used to call this function is:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
#define weechat_hook_timer(__interval, __align_second, __max_calls, \
|
||||
__callback, __data) \
|
||||
@@ -1088,7 +1106,7 @@ And the macro used to call this function is:
|
||||
|
||||
So in a plugin, the call to function will be for example:
|
||||
|
||||
[source,C]
|
||||
[source,c]
|
||||
----
|
||||
server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
0, 1,
|
||||
@@ -1102,7 +1120,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
[[git_repository]]
|
||||
=== Git repository
|
||||
|
||||
Git repository is at this URL: https://github.com/weechat/weechat
|
||||
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^,window=_blank].
|
||||
|
||||
Any patch for bug or new feature must be done on master branch, preferred way
|
||||
is a GitHub pull request. A patch can also be sent by e-mail
|
||||
@@ -1116,11 +1134,95 @@ component: fix a problem (closes #123)
|
||||
|
||||
Where _component_ is one of following:
|
||||
|
||||
* WeeChat core: _core_ (files in root directory, _po/_ and _src/_,
|
||||
except _src/plugins/_)
|
||||
* documentation files: _doc_ (files in directory _doc/_)
|
||||
* name of a plugin: _irc_, _python_, _relay_, ... (files in directory
|
||||
_src/plugins/_)
|
||||
[width="100%",cols="1m,4m,5",options="header"]
|
||||
|===
|
||||
| Component | Files | Description
|
||||
|
||||
| core
|
||||
| AUTHORS.adoc +
|
||||
ChangeLog.adoc +
|
||||
Contributing.adoc +
|
||||
.github/FUNDING.yml +
|
||||
.github/ISSUE_TEMPLATE/* +
|
||||
icons/* +
|
||||
po/* +
|
||||
README.adoc +
|
||||
ReleaseNotes.adoc +
|
||||
src/core/* +
|
||||
src/gui/* +
|
||||
version.sh +
|
||||
weechat.desktop
|
||||
| WeeChat core
|
||||
|
||||
| build
|
||||
| autogen.sh +
|
||||
CMakeLists.txt +
|
||||
cmake/* +
|
||||
configure.ac +
|
||||
Makefile.am +
|
||||
tools/* +
|
||||
weechat.cygport.in +
|
||||
weechat.spec
|
||||
| Build
|
||||
|
||||
| ci
|
||||
| .github/workflows/*
|
||||
| Continuous integration
|
||||
|
||||
| debian
|
||||
| debian-devel/* +
|
||||
debian-stable/*
|
||||
| Debian packaging
|
||||
|
||||
| tests
|
||||
| tests/*
|
||||
| Tests
|
||||
|
||||
| doc
|
||||
| doc/*
|
||||
| General doc updates, for example build
|
||||
|
||||
| doc/man
|
||||
| doc/xx/weechat.1.xx.adoc +
|
||||
doc/xx/weechat-headless.1.xx.adoc
|
||||
| Man pages
|
||||
|
||||
| doc/faq
|
||||
| doc/xx/weechat_faq.xx.adoc
|
||||
| Frequently asked questions (FAQ)
|
||||
|
||||
| doc/quickstart
|
||||
| doc/xx/weechat_quickstart.xx.adoc
|
||||
| Quickstart guide
|
||||
|
||||
| doc/user
|
||||
| doc/xx/weechat_user.xx.adoc
|
||||
| User's guide
|
||||
|
||||
| doc/scripting
|
||||
| doc/xx/weechat_scripting.xx.adoc
|
||||
| Scripting guide
|
||||
|
||||
| doc/api
|
||||
| doc/xx/weechat_plugin_api.xx.adoc
|
||||
| Plugin API reference
|
||||
|
||||
| doc/relay
|
||||
| doc/xx/weechat_relay_protocol.xx.adoc
|
||||
| Relay protocol
|
||||
|
||||
| doc/dev
|
||||
| doc/xx/weechat_dev.en.adoc
|
||||
| Developer's guide
|
||||
|
||||
| irc +
|
||||
python +
|
||||
relay +
|
||||
…
|
||||
| src/plugins/<name>/*
|
||||
| Plugin
|
||||
|
||||
|===
|
||||
|
||||
Some rules to follow:
|
||||
|
||||
@@ -1134,6 +1236,7 @@ Examples of commit messages:
|
||||
----
|
||||
core: add callback "nickcmp" for nick comparison in buffers
|
||||
core: update Japanese translations
|
||||
doc/user: add chapter on typing extension
|
||||
irc: add command /unquiet (closes #36)
|
||||
python: fix crash when unloading a script without pointer to interpreter
|
||||
ruby: add detection of ruby version 1.9.3 in CMake
|
||||
@@ -1167,8 +1270,8 @@ $ make translations && make update-po
|
||||
|
||||
Then you can edit .po files (if you can translate in a language).
|
||||
|
||||
When done, you *have* to check your file with script _msgcheck.py_
|
||||
(https://github.com/flashcode/msgcheck):
|
||||
When done, you *have* to check your file with
|
||||
https://github.com/flashcode/msgcheck[msgcheck ^↗^,window=_blank]:
|
||||
|
||||
----
|
||||
$ msgcheck.py xx.po
|
||||
@@ -1201,7 +1304,7 @@ work on it.
|
||||
The translations missing in files are indicated by this string:
|
||||
|
||||
----
|
||||
// TRANSLATION MISSING
|
||||
// TRANSLATION MISSING
|
||||
----
|
||||
|
||||
You must translate whole file except links and special keywords for notes,
|
||||
@@ -1218,7 +1321,7 @@ warnings, ... These words must be kept unchanged:
|
||||
[CAUTION]
|
||||
----
|
||||
|
||||
When there is a name after `<<link_name>>`, then you must translate it:
|
||||
When there is a name after `+<<link_name>>+`, then you must translate it:
|
||||
|
||||
----
|
||||
<<link_name,this text must be translated>>
|
||||
|
||||
+75
-35
@@ -32,7 +32,8 @@ apply to WeeChat!).
|
||||
|
||||
Because WeeChat is very light and brings innovating features.
|
||||
|
||||
More info on the WeeChat features page: https://weechat.org/about/features
|
||||
More info on the WeeChat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== Compilation / install
|
||||
@@ -40,16 +41,17 @@ More info on the WeeChat features page: https://weechat.org/about/features
|
||||
[[gui]]
|
||||
=== I've heard about many GUIs for WeeChat. How can I compile/use them?
|
||||
|
||||
Some remote GUIs are available, see the remote interfaces page:
|
||||
https://weechat.org/about/interfaces
|
||||
Some remote GUIs are available, see the
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== I can't compile WeeChat after cloning git repository, why?
|
||||
|
||||
The recommended way to compile WeeChat is with
|
||||
link:weechat_user.en.html#compile_with_cmake[CMake].
|
||||
link:weechat_user.en.html#compile_with_cmake[CMake ^↗^,window=_blank].
|
||||
|
||||
If you're compiling with link:weechat_user.en.html#compile_with_autotools[autotools]
|
||||
If you're compiling with
|
||||
link:weechat_user.en.html#compile_with_autotools[autotools ^↗^,window=_blank]
|
||||
(and not CMake), check that you have latest version of autoconf and automake.
|
||||
|
||||
The other way is to install the "devel package", which needs less dependencies.
|
||||
@@ -60,7 +62,8 @@ than git cloning for installing updates.
|
||||
[[compile_macos]]
|
||||
=== How can I install WeeChat on macOS?
|
||||
|
||||
It is recommended to use https://brew.sh/[Homebrew], you can get help with:
|
||||
It is recommended to use https://brew.sh/[Homebrew ^↗^,window=_blank],
|
||||
you can get help with:
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -76,12 +79,12 @@ brew install weechat
|
||||
=== I've launched WeeChat, but I'm lost, what can I do?
|
||||
|
||||
For help you can type `/help`. For help about a command, type `/help command`.
|
||||
link:weechat_user.en.html#key_bindings[Keys] and
|
||||
link:weechat_user.en.html#commands_and_options[commands] are listed
|
||||
in documentation.
|
||||
link:weechat_user.en.html#key_bindings[Keys ^↗^,window=_blank] and
|
||||
link:weechat_user.en.html#commands_and_options[commands ^↗^,window=_blank]
|
||||
are listed in documentation.
|
||||
|
||||
It's recommended for new users to read the
|
||||
link:weechat_quickstart.en.html[Quickstart guide].
|
||||
link:weechat_quickstart.en.html[Quickstart guide ^↗^,window=_blank].
|
||||
|
||||
[[display]]
|
||||
== Display
|
||||
@@ -109,7 +112,7 @@ It's a common issue with a variety of causes, please read carefully and check
|
||||
** If you are using screen, check that it is run with UTF-8 mode
|
||||
("`defutf8 on`" in ~/.screenrc or `screen -U` to run screen).
|
||||
* Check that option
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
is off (this option may cause display bugs).
|
||||
|
||||
[NOTE]
|
||||
@@ -124,10 +127,10 @@ This may be caused by a libc bug in function _wcwidth_, which should be fixed
|
||||
in glibc 2.22 (maybe not yet available in your distribution).
|
||||
|
||||
There is a workaround to use the fixed _wcwidth_ function:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank]
|
||||
|
||||
See this bug report for more information:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
for more information.
|
||||
|
||||
[[bars_background]]
|
||||
=== Bars like title and status are not filled, background color stops after text, why?
|
||||
@@ -184,7 +187,8 @@ windows.
|
||||
[[buffers_list]]
|
||||
=== How to display the buffers list on the left side?
|
||||
|
||||
With WeeChat ≥ 1.8, the plugin link:weechat_user.en.html#buflist_plugin[buflist]
|
||||
With WeeChat ≥ 1.8, the plugin
|
||||
link:weechat_user.en.html#buflist[buflist ^↗^,window=_blank]
|
||||
is loaded and enabled by default.
|
||||
|
||||
With an older version, you can install script _buffers.pl_:
|
||||
@@ -252,8 +256,8 @@ like `237` for dark gray.
|
||||
The buflist plugin provides lot of options that you can customize, please read
|
||||
the help on each option.
|
||||
|
||||
There's also a wiki page with examples of advanced buflist configuration:
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
with examples of advanced buflist configuration.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== How can I reduce length of nicks or remove nick alignment in chat area?
|
||||
@@ -296,8 +300,8 @@ These colors can be changed with the options __weechat.color.status_data_*__
|
||||
(buffers) and __weechat.color.status_count_*__ (counters). +
|
||||
Other hotlist options can be changed with the options __weechat.look.hotlist_*__.
|
||||
|
||||
See link:weechat_user.en.html#screen_layout[User's guide / Screen layout] for
|
||||
more info about the hotlist.
|
||||
See link:weechat_user.en.html#screen_layout[User's guide / Screen layout ^↗^,window=_blank]
|
||||
for more info about the hotlist.
|
||||
|
||||
[[input_bar_size]]
|
||||
=== How to use command line with more than one line?
|
||||
@@ -462,8 +466,8 @@ For version 0.3.4, you must use command `/color` to add new colors.
|
||||
For versions ≥ 0.3.5, you can use any color number in options (optional: you
|
||||
can add color aliases with command `/color`).
|
||||
|
||||
Please read the link:weechat_user.en.html#colors[User's guide / Colors] for more
|
||||
information about colors management.
|
||||
Please read the link:weechat_user.en.html#colors[User's guide / Colors ^↗^,window=_blank]
|
||||
for more information about colors management.
|
||||
|
||||
[[search_text]]
|
||||
=== How can I search text in buffer (like /lastlog in irssi)?
|
||||
@@ -471,8 +475,8 @@ information about colors management.
|
||||
The default key is kbd:[Ctrl+r] (command is: `+/input search_text_here+`).
|
||||
And jump to highlights: kbd:[Alt+p] / kbd:[Alt+n].
|
||||
|
||||
See link:weechat_user.en.html#key_bindings[User's guide / Key bindings] for more
|
||||
info about this feature.
|
||||
See link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^,window=_blank]
|
||||
for more info about this feature.
|
||||
|
||||
[[terminal_focus]]
|
||||
=== How can I execute commands when terminal gets/loses focus?
|
||||
@@ -645,7 +649,7 @@ You can bind a key, for example:
|
||||
----
|
||||
|
||||
List of default keys is in
|
||||
link:weechat_user.en.html#key_bindings[User's guide / Key bindings].
|
||||
link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^,window=_blank].
|
||||
|
||||
To jump to buffers with number ≥ 100, you could define a trigger and then use
|
||||
commands like `/123` to jump to buffer #123:
|
||||
@@ -829,8 +833,36 @@ join of channels):
|
||||
[[edit_autojoin]]
|
||||
=== How can I add/remove channels from autojoin option?
|
||||
|
||||
You can use the `/set` command to edit the list of autojoin channels,
|
||||
for example for the "libera" server:
|
||||
With WeeChat ≥ 3.5, you can automatically record the channels you manually
|
||||
join and part in the "autojoin" server option.
|
||||
|
||||
For all servers:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
For a single server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
With WeeChat ≥ 3.5, you can also add the current channel in the "autojoin"
|
||||
server option using the `/autojoin` command:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
Or another channel:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
With WeeChat ≤ 3.4, you can use the `/set` command to edit the list of autojoin
|
||||
channels, for example for the "libera" server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -847,7 +879,7 @@ You can also use the `/fset` command to edit the list of channels:
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
Another solution is to use a script:
|
||||
With WeeChat ≤ 3.4, another solution is to use a script:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -887,7 +919,7 @@ With a global filter (hide *all* join/part/quit):
|
||||
|
||||
[NOTE]
|
||||
For help: `/help filter`, `+/help irc.look.smart_filter+` and see
|
||||
link:weechat_user.en.html#irc_smart_filter_join_part_quit[User's guide / Smart filter for join/part/quit messages].
|
||||
link:weechat_user.en.html#irc_smart_filter_join_part_quit[User's guide / Smart filter for join/part/quit messages ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== How can I filter some messages displayed when I join an IRC channel?
|
||||
@@ -985,7 +1017,7 @@ Other scripts on this subject:
|
||||
=== How can I disable highlights for specific nicks?
|
||||
|
||||
With WeeChat ≥ 0.3.4 you can use the
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||
or per group of buffers (like IRC servers).
|
||||
|
||||
@@ -1083,6 +1115,14 @@ $ cd ~/.cache/weechat/script
|
||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
||||
----
|
||||
|
||||
If you're running macOS and the downloaded file has a size of 0 bytes,
|
||||
try to set this variable in your shell initialization file or on command line,
|
||||
before starting WeeChat:
|
||||
|
||||
----
|
||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||
----
|
||||
|
||||
[[spell_dictionaries]]
|
||||
=== I installed aspell dictionaries on my system, how can I use them without restarting WeeChat?
|
||||
|
||||
@@ -1180,7 +1220,7 @@ Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
||||
Define a passphrase and use secured data wherever you can for sensitive data
|
||||
like passwords: see `/help secure` and `/help` on options
|
||||
(if you can use secured data, it is written in the help).
|
||||
See also link:weechat_user.en.html#secured_data[User's guide / Secured data].
|
||||
See also link:weechat_user.en.html#secured_data[User's guide / Secured data ^↗^,window=_blank].
|
||||
|
||||
For example:
|
||||
|
||||
@@ -1201,7 +1241,7 @@ contains your passwords ciphered with your passphrase.
|
||||
Some other files may contain sensitive info like passwords (if they are not
|
||||
stored in _sec.conf_ with the `/secure` command).
|
||||
|
||||
See the link:weechat_user.en.html#files_and_directories[User's guide / Files and directories]
|
||||
See the link:weechat_user.en.html#files_and_directories[User's guide / Files and directories ^↗^,window=_blank]
|
||||
for more information about configuration files.
|
||||
|
||||
[[development]]
|
||||
@@ -1210,7 +1250,7 @@ for more information about configuration files.
|
||||
[[bug_task_patch]]
|
||||
=== How should I report bugs, ask for new features or send patches?
|
||||
|
||||
See: https://weechat.org/about/support
|
||||
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== When I run WeeChat under gdb, there is an error about threads, what can I do?
|
||||
@@ -1246,11 +1286,11 @@ some OS' we don't have, to test WeeChat.
|
||||
|
||||
There are many tasks to do (testing, code, documentation, etc.)
|
||||
|
||||
Please contact us via IRC or mail, look at support page:
|
||||
https://weechat.org/about/support
|
||||
Please contact us via IRC or mail, look at
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== Can I give money or other things to WeeChat developers?
|
||||
|
||||
You can give us money to help development.
|
||||
Details on https://weechat.org/donate
|
||||
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
|
||||
+2489
-2006
File diff suppressed because it is too large
Load Diff
@@ -194,10 +194,15 @@ To auto-join some channels when connecting to server:
|
||||
/set irc.server.libera.autojoin "#channel1,#channel2"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
You can complete name and value of options with the kbd:[Tab] key
|
||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||
the name of option).
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
To remove a value of a server option, and use the default value instead,
|
||||
for example to use default nicks (irc.server_default.nicks):
|
||||
@@ -213,6 +218,11 @@ option name):
|
||||
/set irc.server.libera.xxx value
|
||||
----
|
||||
|
||||
[TIP]
|
||||
You can complete name and value of options with the kbd:[Tab] key
|
||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||
the name of option).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Connect to IRC server
|
||||
|
||||
@@ -370,13 +380,14 @@ for example:
|
||||
|
||||
See `/help script` for more info.
|
||||
|
||||
A list of scripts is available in WeeChat with `/script` or at this URL:
|
||||
https://weechat.org/scripts
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== More documentation
|
||||
|
||||
You can now use WeeChat and read FAQ/documentation for any other questions:
|
||||
https://weechat.org/doc
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
Enjoy using WeeChat!
|
||||
|
||||
@@ -84,7 +84,7 @@ Fields are:
|
||||
|
||||
List of available commands (detail in next chapters):
|
||||
|
||||
[width="100%",cols="^3m,14",options="header"]
|
||||
[width="100%",cols="1m,8",options="header"]
|
||||
|===
|
||||
| Command | Description
|
||||
| handshake | Handshake: prepare client authentication and set options, before _init_ command.
|
||||
@@ -103,7 +103,7 @@ List of available commands (detail in next chapters):
|
||||
[[command_handshake]]
|
||||
=== handshake
|
||||
|
||||
_WeeChat ≥ 2.9._
|
||||
_WeeChat ≥ 2.9, updated in version 3.5._
|
||||
|
||||
Perform an handshake between the client and WeeChat: this is required in most
|
||||
cases to know the session settings and prepare the authentication with the
|
||||
@@ -127,10 +127,15 @@ Arguments:
|
||||
*** _sha512_: password salted and hashed with SHA512 algorithm
|
||||
*** _pbkdf2+sha256_: password salted and hashed with PBKDF2 algorithm (using SHA256 hash)
|
||||
*** _pbkdf2+sha512_: password salted and hashed with PBKDF2 algorithm (using SHA512 hash)
|
||||
** _compression_: compression type:
|
||||
*** _zlib_: enable _zlib_ compression for messages sent by _relay_
|
||||
(enabled by default if _relay_ supports _zlib_ compression)
|
||||
*** _off_: disable compression
|
||||
** _compression_: list of supported compression types supported by the client
|
||||
(separated by colons and sorted from most important to the fallback value);
|
||||
if compression is enabled, messages from _relay_ to client are compressed
|
||||
to save bandwidth; allowed values are:
|
||||
*** _off_: no compression (default if option is not given)
|
||||
*** _zlib_: compress with https://zlib.net/[zlib ^↗^,window=_blank] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]:
|
||||
better compression and much faster than _zlib_ for both compression and decompression
|
||||
_(WeeChat ≥ 3.5)_
|
||||
|
||||
Notes about option _password_hash_algo_:
|
||||
|
||||
@@ -169,8 +174,9 @@ WeeChat replies with a hashtable containing the following keys and values:
|
||||
and the user password (the _relay_ nonce + the client nonce is the salt used
|
||||
in the password hash algorithm)
|
||||
* _compression_: compression type:
|
||||
** _zlib_: messages are compressed with _zlib_
|
||||
** _off_: messages are not compressed
|
||||
** _zlib_: messages are compressed with https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
|
||||
[TIP]
|
||||
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
||||
@@ -196,7 +202,7 @@ htb: {
|
||||
'password_hash_iterations': '100000',
|
||||
'totp': 'on',
|
||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||
'compression': 'zlib',
|
||||
'compression': 'off',
|
||||
}
|
||||
----
|
||||
|
||||
@@ -216,7 +222,7 @@ htb: {
|
||||
'password_hash_iterations': '100000',
|
||||
'totp': 'on',
|
||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||
'compression': 'zlib',
|
||||
'compression': 'off',
|
||||
}
|
||||
----
|
||||
|
||||
@@ -236,7 +242,7 @@ htb: {
|
||||
'password_hash_iterations': '100000',
|
||||
'totp': 'on',
|
||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||
'compression': 'zlib',
|
||||
'compression': 'off',
|
||||
}
|
||||
----
|
||||
|
||||
@@ -248,10 +254,11 @@ the password is "test" in this example:
|
||||
init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:100000:ba7facc3edb89cd06ae810e29ced85980ff36de2bb596fcf513aaab626876440
|
||||
----
|
||||
|
||||
* Only "sha256" and "sha512" are supported by the client, disable compression:
|
||||
* Only "sha256" and "sha512" are supported by the client, enable zstd (preferred)
|
||||
or zlib compression:
|
||||
|
||||
----
|
||||
(handshake) handshake password_hash_algo=sha256:sha512,compression=off
|
||||
(handshake) handshake password_hash_algo=sha256:sha512,compression=zstd:zlib
|
||||
----
|
||||
|
||||
Response:
|
||||
@@ -264,14 +271,14 @@ htb: {
|
||||
'password_hash_iterations': '100000',
|
||||
'totp': 'on',
|
||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||
'compression': 'off',
|
||||
'compression': 'zstd',
|
||||
}
|
||||
----
|
||||
|
||||
[[command_init]]
|
||||
=== init
|
||||
|
||||
_Updated in versions 2.4, 2.8, 2.9._
|
||||
_Updated in versions 2.4, 2.8, 2.9, 3.5._
|
||||
|
||||
Authenticate with _relay_.
|
||||
|
||||
@@ -298,12 +305,6 @@ Arguments:
|
||||
factor, in addition to the password
|
||||
(option _relay.network.totp_secret_ in WeeChat)
|
||||
_(WeeChat ≥ 2.4)_
|
||||
** _compression_: compression type (*deprecated* since version 2.9, it is kept
|
||||
for compatibility reasons but should be sent in the
|
||||
<<command_handshake,handshake command>>):
|
||||
*** _zlib_: enable _zlib_ compression for messages sent by _relay_
|
||||
(enabled by default if _relay_ supports _zlib_ compression)
|
||||
*** _off_: disable compression
|
||||
|
||||
[NOTE]
|
||||
With WeeChat ≥ 1.6, commas can be escaped in the value, for example
|
||||
@@ -690,6 +691,8 @@ inl:
|
||||
text_search_found: 0
|
||||
text_search_input: None
|
||||
highlight_words: None
|
||||
highlight_disable_regex: None
|
||||
highlight_disable_regex_compiled: '0x0'
|
||||
highlight_regex: None
|
||||
highlight_regex_compiled: '0x0'
|
||||
highlight_tags_restrict: None
|
||||
@@ -992,7 +995,7 @@ Arguments:
|
||||
|
||||
WeeChat replies with a hdata:
|
||||
|
||||
[width="100%",cols="3m,2,10",options="header"]
|
||||
[width="100%",cols="2m,3,14",options="header"]
|
||||
|===
|
||||
| Name | Type | Description
|
||||
| context | string | Completion context: "null" (no completion), "command", "command_arg", "auto".
|
||||
@@ -1260,24 +1263,24 @@ Syntax:
|
||||
|
||||
Returned objects (in this order):
|
||||
|
||||
[width="100%",cols="^3,3m,5m",options="header"]
|
||||
[width="80%",cols="1m,2,6m",options="header"]
|
||||
|===
|
||||
| Type | Type (in message) | Value
|
||||
| char | chr | 65 ("A")
|
||||
| integer | int | 123456
|
||||
| integer | int | -123456
|
||||
| long | lon | 1234567890
|
||||
| long | lon | -1234567890
|
||||
| string | str | "a string"
|
||||
| string | str | ""
|
||||
| string | str | NULL
|
||||
| buffer | buf | "buffer"
|
||||
| buffer | buf | NULL
|
||||
| pointer | ptr | 0x1234abcd
|
||||
| pointer | ptr | NULL
|
||||
| time | tim | 1321993456
|
||||
| array of strings | arr str | [ "abc", "de" ]
|
||||
| array of integers | arr int | [ 123, 456, 789 ]
|
||||
| Type | Description | Value
|
||||
| chr | char | 65 ("A")
|
||||
| int | integer | 123456
|
||||
| int | integer | -123456
|
||||
| lon | long | 1234567890
|
||||
| lon | long | -1234567890
|
||||
| str | string | "a string"
|
||||
| str | string | ""
|
||||
| str | string | NULL
|
||||
| buf | buffer | "buffer"
|
||||
| buf | buffer | NULL
|
||||
| ptr | pointer | 0x1234abcd
|
||||
| ptr | pointer | NULL
|
||||
| tim | time | 1321993456
|
||||
| arr str | array of strings | [ "abc", "de" ]
|
||||
| arr int | array of integers | [ 123, 456, 789 ]
|
||||
|===
|
||||
|
||||
[IMPORTANT]
|
||||
@@ -1379,7 +1382,8 @@ Messages are sent as binary data, using following format (with size in bytes):
|
||||
(including this field)
|
||||
* _compression_ (byte): flag:
|
||||
** _0x00_: following data is not compressed
|
||||
** _0x01_: following data is compressed with _zlib_
|
||||
** _0x01_: following data is compressed with https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _0x02_: following data is compressed with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
* _id_ (string, 4 bytes + content): identifier sent by client (before command name); it can be
|
||||
empty (string with zero length and no content) if no identifier was given in
|
||||
command
|
||||
@@ -1389,8 +1393,10 @@ Messages are sent as binary data, using following format (with size in bytes):
|
||||
[[message_compression]]
|
||||
=== Compression
|
||||
|
||||
If flag _compression_ is equal to 0x01, then *all* data after is compressed
|
||||
with _zlib_, and therefore must be uncompressed before being processed.
|
||||
If flag _compression_ is equal to 0x01 or 0x02, then *all* data after is compressed
|
||||
with https://zlib.net/[zlib ^↗^,window=_blank] or
|
||||
https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank],
|
||||
and therefore must be uncompressed before being processed.
|
||||
|
||||
[[message_identifier]]
|
||||
=== Identifier
|
||||
@@ -1405,68 +1411,68 @@ WeeChat reserved identifiers:
|
||||
|
||||
[width="100%",cols="5m,5,3,4,7",options="header"]
|
||||
|===
|
||||
| Identifier | Received with _sync_ | Data sent |
|
||||
Description | Recommended action in client
|
||||
| Identifier | Received with _sync_ | Data sent
|
||||
| Description | Recommended action in client
|
||||
|
||||
| _buffer_opened | buffers / buffer | hdata: buffer |
|
||||
Buffer opened. | Open buffer.
|
||||
| _buffer_opened | buffers / buffer | hdata: buffer
|
||||
| Buffer opened. | Open buffer.
|
||||
|
||||
| _buffer_type_changed | buffers / buffer | hdata: buffer |
|
||||
Type of buffer changed. | Change type of buffer.
|
||||
| _buffer_type_changed | buffers / buffer | hdata: buffer
|
||||
| Type of buffer changed. | Change type of buffer.
|
||||
|
||||
| _buffer_moved | buffers / buffer | hdata: buffer |
|
||||
Buffer moved. | Move buffer.
|
||||
| _buffer_moved | buffers / buffer | hdata: buffer
|
||||
| Buffer moved. | Move buffer.
|
||||
|
||||
| _buffer_merged | buffers / buffer | hdata: buffer |
|
||||
Buffer merged. | Merge buffer.
|
||||
| _buffer_merged | buffers / buffer | hdata: buffer
|
||||
| Buffer merged. | Merge buffer.
|
||||
|
||||
| _buffer_unmerged | buffers / buffer | hdata: buffer |
|
||||
Buffer unmerged. | Unmerge buffer.
|
||||
| _buffer_unmerged | buffers / buffer | hdata: buffer
|
||||
| Buffer unmerged. | Unmerge buffer.
|
||||
|
||||
| _buffer_hidden | buffers / buffer | hdata: buffer |
|
||||
Buffer hidden. | Hide buffer.
|
||||
| _buffer_hidden | buffers / buffer | hdata: buffer
|
||||
| Buffer hidden. | Hide buffer.
|
||||
|
||||
| _buffer_unhidden | buffers / buffer | hdata: buffer |
|
||||
Buffer unhidden. | Unhide buffer.
|
||||
| _buffer_unhidden | buffers / buffer | hdata: buffer
|
||||
| Buffer unhidden. | Unhide buffer.
|
||||
|
||||
| _buffer_renamed | buffers / buffer | hdata: buffer |
|
||||
Buffer renamed. | Rename buffer.
|
||||
| _buffer_renamed | buffers / buffer | hdata: buffer
|
||||
| Buffer renamed. | Rename buffer.
|
||||
|
||||
| _buffer_title_changed | buffers / buffer | hdata: buffer |
|
||||
Title of buffer changed. | Change title of buffer.
|
||||
| _buffer_title_changed | buffers / buffer | hdata: buffer
|
||||
| Title of buffer changed. | Change title of buffer.
|
||||
|
||||
| _buffer_localvar_added | buffers / buffer | hdata: buffer |
|
||||
Local variable added. | Add local variable in buffer.
|
||||
| _buffer_localvar_added | buffers / buffer | hdata: buffer
|
||||
| Local variable added. | Add local variable in buffer.
|
||||
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata: buffer |
|
||||
Local variable changed. | Change local variable in buffer.
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata: buffer
|
||||
| Local variable changed. | Change local variable in buffer.
|
||||
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata: buffer |
|
||||
Local variable removed. | Remove local variable from buffer.
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata: buffer
|
||||
| Local variable removed. | Remove local variable from buffer.
|
||||
|
||||
| _buffer_closing | buffers / buffer | hdata: buffer |
|
||||
Buffer closing. | Close buffer.
|
||||
| _buffer_closing | buffers / buffer | hdata: buffer
|
||||
| Buffer closing. | Close buffer.
|
||||
|
||||
| _buffer_cleared | buffer | hdata: buffer |
|
||||
Buffer cleared. | Clear buffer.
|
||||
| _buffer_cleared | buffer | hdata: buffer
|
||||
| Buffer cleared. | Clear buffer.
|
||||
|
||||
| _buffer_line_added | buffer | hdata: line |
|
||||
Line added in buffer. | Display line in buffer.
|
||||
| _buffer_line_added | buffer | hdata: line
|
||||
| Line added in buffer. | Display line in buffer.
|
||||
|
||||
| _nicklist | nicklist | hdata: nicklist_item |
|
||||
Nicklist for a buffer. | Replace nicklist.
|
||||
| _nicklist | nicklist | hdata: nicklist_item
|
||||
| Nicklist for a buffer. | Replace nicklist.
|
||||
|
||||
| _nicklist_diff | nicklist | hdata: nicklist_item |
|
||||
Nicklist diffs for a buffer . | Update nicklist.
|
||||
| _nicklist_diff | nicklist | hdata: nicklist_item
|
||||
| Nicklist diffs for a buffer . | Update nicklist.
|
||||
|
||||
| _pong | (always) | string: ping arguments |
|
||||
Answer to a "ping". | Measure response time.
|
||||
| _pong | (always) | string: ping arguments
|
||||
| Answer to a "ping". | Measure response time.
|
||||
|
||||
| _upgrade | upgrade | (empty) |
|
||||
WeeChat is upgrading. | Desync from WeeChat (or disconnect).
|
||||
| _upgrade | upgrade | (empty)
|
||||
| WeeChat is upgrading. | Desync from WeeChat (or disconnect).
|
||||
|
||||
| _upgrade_ended | upgrade | (empty) |
|
||||
Upgrade of WeeChat done. | Sync/resync with WeeChat.
|
||||
| _upgrade_ended | upgrade | (empty)
|
||||
| Upgrade of WeeChat done. | Sync/resync with WeeChat.
|
||||
|===
|
||||
|
||||
[[message_buffer_opened]]
|
||||
@@ -2331,7 +2337,7 @@ commands sent on startup after the _init_.
|
||||
|
||||
Objects are identified by 3 letters, called _type_. Following types are used:
|
||||
|
||||
[width="100%",cols="^2m,5,10",options="header"]
|
||||
[width="100%",cols="1m,2,8",options="header"]
|
||||
|===
|
||||
| Type | Value | Length
|
||||
| chr | Signed char | 1 byte
|
||||
|
||||
+193
-145
@@ -11,8 +11,8 @@
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
Latest version of this document can be found on this page:
|
||||
https://weechat.org/doc
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -61,7 +61,7 @@ function, this can crash WeeChat. +
|
||||
If something must be run in background, the function `+hook_process+` can be used.
|
||||
See example in the chapter <<hook_process,Run a background process>>
|
||||
and the documentation on the function `+hook_process+` in the
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Languages specificities
|
||||
@@ -74,7 +74,7 @@ link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
|
||||
|
||||
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||
A Python stub for WeeChat API is available in the repository:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
|
||||
|
||||
[[python_functions]]
|
||||
===== Functions
|
||||
@@ -99,38 +99,38 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|
||||
|===
|
||||
| API function | Arguments | Examples | Description
|
||||
|
||||
| hook_modifier |
|
||||
irc_in_yyy |
|
||||
pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice] |
|
||||
A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||
| hook_modifier
|
||||
| irc_in_yyy
|
||||
| pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice]
|
||||
| A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||
internally). +
|
||||
+
|
||||
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
||||
is always UTF-8 valid. +
|
||||
See function `+hook_modifier+` in the
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
| hook_signal |
|
||||
xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy |
|
||||
pass:[*,irc_out_privmsg] +
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy
|
||||
| pass:[*,irc_out_privmsg] +
|
||||
pass:[*,irc_out_notice] +
|
||||
pass:[*,irc_outtags_privmsg] +
|
||||
pass:[*,irc_outtags_notice] |
|
||||
A message sent by IRC plugin, after it is encoded to the `encode` charset
|
||||
pass:[*,irc_outtags_notice]
|
||||
| A message sent by IRC plugin, after it is encoded to the `encode` charset
|
||||
defined by the user (if different from the default `UTF-8`). +
|
||||
+
|
||||
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
|
||||
is always UTF-8 valid. +
|
||||
See function `+hook_signal+` in the
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable |
|
||||
- |
|
||||
- |
|
||||
Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
||||
hook_process_hashtable
|
||||
| -
|
||||
| -
|
||||
| Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
||||
|
||||
|===
|
||||
|
||||
@@ -195,6 +195,12 @@ Functions are called with `+weechat.xxx(arg1, arg2, ...)+`.
|
||||
|
||||
Functions are called with `+weechat::xxx arg1 arg2 ...+`.
|
||||
|
||||
Since Tcl only has string types, there's no null type to pass as an argument
|
||||
when a function accepts null values. To overcome this you can use the constant
|
||||
`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined
|
||||
as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to
|
||||
appear unintentionally.
|
||||
|
||||
[[language_guile]]
|
||||
==== Guile (Scheme)
|
||||
|
||||
@@ -370,7 +376,7 @@ directory is automatically created.
|
||||
== Differences with C API
|
||||
|
||||
Script API is almost the same as C plugin API.
|
||||
You can look at link:weechat_plugin_api.en.html[WeeChat plugin API reference]
|
||||
You can look at link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank]
|
||||
for detail about each function in API: prototype, arguments, return values, examples.
|
||||
|
||||
It's important to make difference between a _plugin_ and a _script_: a
|
||||
@@ -537,25 +543,25 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
== Script API
|
||||
|
||||
For more information about functions in API, please read the
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Functions
|
||||
|
||||
List of functions in script API:
|
||||
|
||||
[width="100%",cols="1,3",options="header"]
|
||||
[width="100%",cols="1,5",options="header"]
|
||||
|===
|
||||
| Category | Functions
|
||||
|
||||
| general |
|
||||
register
|
||||
| general
|
||||
| register
|
||||
|
||||
| plugins |
|
||||
plugin_get_name
|
||||
| plugins
|
||||
| plugin_get_name
|
||||
|
||||
| strings |
|
||||
charset_set +
|
||||
| strings
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
@@ -567,6 +573,7 @@ List of functions in script API:
|
||||
string_has_highlight_regex +
|
||||
string_mask_to_regex +
|
||||
string_format_size +
|
||||
string_parse_size +
|
||||
string_color_code_size +
|
||||
string_remove_color +
|
||||
string_is_command_char +
|
||||
@@ -574,13 +581,13 @@ List of functions in script API:
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| directories |
|
||||
mkdir_home +
|
||||
| directories
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| sorted lists |
|
||||
list_new +
|
||||
| sorted lists
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
@@ -596,8 +603,8 @@ List of functions in script API:
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| configuration files |
|
||||
config_new +
|
||||
| configuration files
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
@@ -634,20 +641,21 @@ List of functions in script API:
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| key bindings |
|
||||
key_bind +
|
||||
| key bindings
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| display |
|
||||
prefix +
|
||||
| display
|
||||
| prefix +
|
||||
color +
|
||||
print (for python: prnt) +
|
||||
print_date_tags (for python: prnt_date_tags) +
|
||||
print_y (for python: prnt_y) +
|
||||
print_y_date_tags (for python: prnt_y_date_tags) +
|
||||
log_print
|
||||
|
||||
| hooks |
|
||||
hook_command +
|
||||
| hooks
|
||||
| hook_command +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
@@ -672,8 +680,9 @@ List of functions in script API:
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| buffers |
|
||||
buffer_new +
|
||||
| buffers
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
buffer_search_main +
|
||||
@@ -688,16 +697,16 @@ List of functions in script API:
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| windows |
|
||||
current_window +
|
||||
| windows
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| nicklist |
|
||||
nicklist_add_group +
|
||||
| nicklist
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
@@ -713,8 +722,8 @@ List of functions in script API:
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| bars |
|
||||
bar_item_search +
|
||||
| bars
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
@@ -724,23 +733,23 @@ List of functions in script API:
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| commands |
|
||||
command +
|
||||
| commands
|
||||
| command +
|
||||
command_options
|
||||
|
||||
| completion |
|
||||
completion_new +
|
||||
| completion
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| infos |
|
||||
info_get +
|
||||
| infos
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| infolists |
|
||||
infolist_new +
|
||||
| infolists
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
@@ -758,8 +767,8 @@ List of functions in script API:
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata |
|
||||
hdata_get +
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
@@ -780,8 +789,8 @@ List of functions in script API:
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| upgrade |
|
||||
upgrade_new +
|
||||
| upgrade
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
@@ -792,17 +801,17 @@ List of functions in script API:
|
||||
|
||||
List of constants in script API:
|
||||
|
||||
[width="100%",cols="1,3",options="header"]
|
||||
[width="100%",cols="1,5",options="header"]
|
||||
|===
|
||||
| Category | Constants
|
||||
|
||||
| return codes |
|
||||
`WEECHAT_RC_OK` (integer) +
|
||||
| return codes
|
||||
| `WEECHAT_RC_OK` (integer) +
|
||||
`WEECHAT_RC_OK_EAT` (integer) +
|
||||
`WEECHAT_RC_ERROR` (integer)
|
||||
|
||||
| configuration files |
|
||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
| configuration files
|
||||
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||
@@ -817,23 +826,23 @@ List of constants in script API:
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||
|
||||
| sorted lists |
|
||||
`WEECHAT_LIST_POS_SORT` (string) +
|
||||
| sorted lists
|
||||
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||
`WEECHAT_LIST_POS_END` (string)
|
||||
|
||||
| hotlist |
|
||||
`WEECHAT_HOTLIST_LOW` (string) +
|
||||
| hotlist
|
||||
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||
|
||||
| hook process |
|
||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
| hook process
|
||||
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||
|
||||
| hook connect |
|
||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
| hook connect
|
||||
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||
@@ -845,8 +854,8 @@ List of constants in script API:
|
||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||
|
||||
| hook signal |
|
||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
| hook signal
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||
|===
|
||||
@@ -856,7 +865,7 @@ List of constants in script API:
|
||||
|
||||
This chapter shows some common tasks, with examples.
|
||||
Only partial things in API are used here, for full reference, see the
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[buffers]]
|
||||
=== Buffers
|
||||
@@ -875,7 +884,7 @@ Examples:
|
||||
weechat.prnt("", "hello")
|
||||
|
||||
# display "hello" on core buffer, but do not write it to log file
|
||||
# (version >= 0.3.3 only)
|
||||
# (version ≥ 0.3.3 only)
|
||||
weechat.prnt_date_tags("", 0, "no_log", "hello")
|
||||
|
||||
# display prefix "==>" and message "hello" on current buffer
|
||||
@@ -1049,26 +1058,53 @@ weechat.hook_timer(60 * 1000, 60, 0, "timer_cb", "")
|
||||
You can run a background process with `+hook_process+`. Your callback will be
|
||||
called when data is ready. It may be called many times.
|
||||
|
||||
For the last call to your callback, _rc_ is set to 0 or positive value, it's
|
||||
return code of command.
|
||||
For the last call to your callback, _return_code_ is set to 0 or positive value,
|
||||
it is the return code of command.
|
||||
|
||||
Example:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
process_output = ""
|
||||
|
||||
def my_process_cb(data, command, rc, out, err):
|
||||
global process_output
|
||||
if out != "":
|
||||
process_output += out
|
||||
if int(rc) >= 0:
|
||||
weechat.prnt("", process_output)
|
||||
def my_process_cb(data, command, return_code, out, err):
|
||||
if return_code == weechat.WEECHAT_HOOK_PROCESS_ERROR:
|
||||
weechat.prnt("", "Error with command '%s'" % command)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
if return_code >= 0:
|
||||
weechat.prnt("", "return_code = %d" % return_code)
|
||||
if out:
|
||||
weechat.prnt("", "stdout: %s" % out)
|
||||
if err:
|
||||
weechat.prnt("", "stderr: %s" % err)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process("/bin/ls -l /etc", 10 * 1000, "my_process_cb", "")
|
||||
----
|
||||
|
||||
You can also call directly a script function that does something blocking,
|
||||
instead of an external command:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
def get_status(data):
|
||||
# do something blocking...
|
||||
# ...
|
||||
return "this is the result"
|
||||
|
||||
def my_process_cb(data, command, return_code, out, err):
|
||||
if return_code == weechat.WEECHAT_HOOK_PROCESS_ERROR:
|
||||
weechat.prnt("", "Error with command '%s'" % command)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
if return_code >= 0:
|
||||
weechat.prnt("", "return_code = %d" % return_code)
|
||||
if out:
|
||||
weechat.prnt("", "stdout: %s" % out)
|
||||
if err:
|
||||
weechat.prnt("", "stderr: %s" % err)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
hook = weechat.hook_process("func:get_status", 5000, "my_process_cb", "")
|
||||
----
|
||||
|
||||
[[url_transfer]]
|
||||
==== URL transfer
|
||||
|
||||
@@ -1082,15 +1118,15 @@ in callback (standard output of process):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# Display current stable version of WeeChat.
|
||||
weechat_version = ""
|
||||
# Display latest stable version of WeeChat.
|
||||
weechat_latest_version = ""
|
||||
|
||||
def weechat_process_cb(data, command, rc, out, err):
|
||||
global weechat_version
|
||||
if out != "":
|
||||
weechat_version += out
|
||||
if int(rc) >= 0:
|
||||
weechat.prnt("", "Current WeeChat stable is: %s" % weechat_version)
|
||||
def weechat_process_cb(data, command, return_code, out, err):
|
||||
global weechat_latest_version
|
||||
if out:
|
||||
weechat_latest_version += out
|
||||
if return_code >= 0:
|
||||
weechat.prnt("", "Latest WeeChat version: %s" % weechat_latest_version)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
@@ -1098,16 +1134,17 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
----
|
||||
|
||||
[TIP]
|
||||
All infos available about WeeChat are on page https://weechat.org/dev/info
|
||||
All infos available about WeeChat are on
|
||||
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
|
||||
|
||||
Example of URL transfer with an option: download latest WeeChat development
|
||||
package in file _/tmp/weechat-devel.tar.gz_:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
def my_process_cb(data, command, rc, out, err):
|
||||
if int(rc) >= 0:
|
||||
weechat.prnt("", "End of transfer (rc=%s)" % rc)
|
||||
def my_process_cb(data, command, return_code, out, err):
|
||||
if return_code >= 0:
|
||||
weechat.prnt("", "End of transfer (return code = %d)" % return_code)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.tar.gz",
|
||||
@@ -1117,7 +1154,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
|
||||
For more information about URL transfer and available options, see functions
|
||||
`+hook_process+` and `+hook_process_hashtable+` in
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[config_options]]
|
||||
=== Config / options
|
||||
@@ -1271,63 +1308,71 @@ The result is a hashtable with following keys
|
||||
|
||||
[width="100%",cols="3,^2,10,7",options="header"]
|
||||
|===
|
||||
| Key | Since WeeChat ^(1)^ | Description | Example
|
||||
| Key | Since WeeChat ^(1)^ | Description | Example
|
||||
|
||||
| tags | 0.4.0 |
|
||||
The tags in message (can be empty). |
|
||||
`+time=2015-06-27T16:40:35.000Z+`
|
||||
| tags | 0.4.0
|
||||
| The tags in message (can be empty).
|
||||
| `+time=2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| tag_xxx | 3.3 |
|
||||
Unescaped value of tag "xxx" (one key per tag). |
|
||||
`+2015-06-27T16:40:35.000Z+`
|
||||
| tag_xxx | 3.3
|
||||
| Unescaped value of tag "xxx" (one key per tag).
|
||||
| `+2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| message_without_tags | 0.4.0 |
|
||||
The message without the tags (the same as message if there are no tags). |
|
||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
| message_without_tags | 0.4.0
|
||||
| The message without the tags (the same as message if there are no tags).
|
||||
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
|
||||
| nick | 0.3.4 |
|
||||
The origin nick. |
|
||||
`+nick+`
|
||||
| nick | 0.3.4
|
||||
| The origin nick.
|
||||
| `+nick+`
|
||||
|
||||
| user | 2.7 |
|
||||
The origin user. |
|
||||
`+user+`
|
||||
| user | 2.7
|
||||
| The origin user.
|
||||
| `+user+`
|
||||
|
||||
| host | 0.3.4 |
|
||||
The origin host (includes the nick). |
|
||||
`+nick!user@host+`
|
||||
| host | 0.3.4
|
||||
| The origin host (includes the nick).
|
||||
| `+nick!user@host+`
|
||||
|
||||
| command | 0.3.4 |
|
||||
The command (_PRIVMSG_, _NOTICE_, ...). |
|
||||
`+PRIVMSG+`
|
||||
| command | 0.3.4
|
||||
| The command (_PRIVMSG_, _NOTICE_, ...).
|
||||
| `+PRIVMSG+`
|
||||
|
||||
| channel | 0.3.4 |
|
||||
The target channel. |
|
||||
`+#weechat+`
|
||||
| channel | 0.3.4
|
||||
| The target channel.
|
||||
| `+#weechat+`
|
||||
|
||||
| arguments | 0.3.4 |
|
||||
The command arguments (includes the channel). |
|
||||
`+#weechat :hello!+`
|
||||
| arguments | 0.3.4
|
||||
| The command arguments (includes the channel).
|
||||
| `+#weechat :hello!+`
|
||||
|
||||
| text | 1.3 |
|
||||
The text (for example user message). |
|
||||
`+hello!+`
|
||||
| text | 1.3
|
||||
| The text (for example user message).
|
||||
| `+hello!+`
|
||||
|
||||
| pos_command | 1.3 |
|
||||
The index of _command_ in message ("-1" if _command_ was not found). |
|
||||
`+47+`
|
||||
| paramN | 3.4
|
||||
| Command parameter (from 1 to N).
|
||||
| `+#weechat+`
|
||||
|
||||
| pos_arguments | 1.3 |
|
||||
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
|
||||
`+55+`
|
||||
| num_params | 3.4
|
||||
| Number of command parameters.
|
||||
| `+2+`
|
||||
|
||||
| pos_channel | 1.3 |
|
||||
The index of _channel_ in message ("-1" if _channel_ was not found). |
|
||||
`+55+`
|
||||
| pos_command | 1.3
|
||||
| The index of _command_ in message ("-1" if _command_ was not found).
|
||||
| `+47+`
|
||||
|
||||
| pos_text | 1.3 |
|
||||
The index of _text_ in message ("-1" if _text_ was not found). |
|
||||
`+65+`
|
||||
| pos_arguments | 1.3
|
||||
| The index of _arguments_ in message ("-1" if _arguments_ was not found).
|
||||
| `+55+`
|
||||
|
||||
| pos_channel | 1.3
|
||||
| The index of _channel_ in message ("-1" if _channel_ was not found).
|
||||
| `+55+`
|
||||
|
||||
| pos_text | 1.3
|
||||
| The index of _text_ in message ("-1" if _text_ was not found).
|
||||
| `+65+`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
@@ -1351,6 +1396,9 @@ dict = weechat.info_get_hashtable(
|
||||
# "channel": "#weechat",
|
||||
# "arguments": "#weechat :hello!",
|
||||
# "text": "hello!",
|
||||
# "param1": "#weechat",
|
||||
# "param2": "hello!",
|
||||
# "num_params": "2",
|
||||
# "pos_command": "65",
|
||||
# "pos_arguments": "73",
|
||||
# "pos_channel": "73",
|
||||
|
||||
@@ -1,131 +0,0 @@
|
||||
= WeeChat tester's guide
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
:toc: left
|
||||
:sectnums:
|
||||
:docinfo1:
|
||||
|
||||
|
||||
[[purpose]]
|
||||
== Purpose
|
||||
|
||||
Many thankful users ask us how can they help developing WeeChat. The
|
||||
easiest (and also most tricky) way to help developing WeeChat is testing!
|
||||
|
||||
Testing is a very important part of software development and should not be
|
||||
underestimated. When some features are implemented it should be tested, but for
|
||||
some features there are too many use cases or these cases are tricky and
|
||||
developers can't try out every case.
|
||||
|
||||
For example: A notorious charset plugin was introduced in WeeChat 0.2.2: none
|
||||
of us (developers, contributors and testers) used channels with national
|
||||
characters in their names and when 0.2.2 was released we got flooded by Russian
|
||||
users blaming us. If we have more testers it should not happen again in the
|
||||
future.
|
||||
|
||||
Testing the stable version of WeeChat is pointless because developers are busy
|
||||
implementing new stuff (and fixing old bugs) all the time.
|
||||
|
||||
|
||||
[[prepare_system]]
|
||||
== Prepare your system
|
||||
|
||||
It would help us a lot if you enable Linux _core_ files: if WeeChat crashes,
|
||||
Linux will write a file called _core_. This file contains very useful debug
|
||||
info, to know exactly where is problem in WeeChat.
|
||||
|
||||
If you're using the _bash_ shell, add following line to your _~/.bashrc_:
|
||||
|
||||
----
|
||||
ulimit -c unlimited
|
||||
----
|
||||
|
||||
|
||||
[[download]]
|
||||
== Download devel version
|
||||
|
||||
Fresh code (with latest bugs and features) is stored in a GIT repository.
|
||||
|
||||
You may decide to build it manually (recommended way):
|
||||
|
||||
* The GIT version can be built and installed in parallel to the stable version.
|
||||
* You don't need root access, and you don't need to sacrifice the stable
|
||||
version of WeeChat.
|
||||
|
||||
[[get_sources]]
|
||||
=== Get and build sources
|
||||
|
||||
First create a directory, for example _weechat-git_:
|
||||
|
||||
----
|
||||
$ mkdir ~/weechat-git
|
||||
$ cd ~/weechat-git
|
||||
----
|
||||
|
||||
If you have git installed, you can just clone the git repository (recommended
|
||||
way):
|
||||
|
||||
----
|
||||
$ git clone https://github.com/weechat/weechat.git
|
||||
$ cd weechat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Later, you can run `git pull` in this directory, to get deltas with
|
||||
the latest updates.
|
||||
|
||||
Otherwise you can download and unpack _devel_ package:
|
||||
|
||||
----
|
||||
$ wget https://weechat.org/files/src/weechat-devel.tar.bz2
|
||||
$ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
To build sources, CMake is recommended:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
If you don't have CMake, it's still possible to use autotools:
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||
$ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
[[install_binary_package]]
|
||||
=== Install binary package
|
||||
|
||||
According to your Linux distribution:
|
||||
|
||||
* Debian: https://weechat.org/download/debian
|
||||
* Gentoo: https://weechat.org/download
|
||||
* ArchLinux: PKGBUILD from https://aur.archlinux.org/
|
||||
* other: we don't know! Eheh.
|
||||
|
||||
|
||||
[[run]]
|
||||
== Run WeeChat
|
||||
|
||||
Command is:
|
||||
|
||||
----
|
||||
$ ~/weechat-git/bin/weechat
|
||||
----
|
||||
|
||||
If you're still awake you should see the familiar interface and brag about
|
||||
having the newest possible version of WeeChat. ;)
|
||||
|
||||
Now if you experience strange behavior (it may have issues or crash or boil
|
||||
your beer) don't hesitate to join _#weechat_ at _irc.libera.chat_ and tell us.
|
||||
|
||||
If it doesn't crash - tell us too, we need your feedback!
|
||||
+3334
-2740
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2012-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2012-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2012-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2012-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+86
-33
@@ -36,7 +36,9 @@ no se aplican a WeeChat!).
|
||||
|
||||
Porque WeeChat es muy ligero y ofrece funcionalidades innovadoras.
|
||||
|
||||
Más información de las funcionalidades de WeeChat en la página: https://weechat.org/about/features
|
||||
// TRANSLATION MISSING
|
||||
More info on the WeeChat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== Compilación / instalación
|
||||
@@ -44,16 +46,17 @@ Más información de las funcionalidades de WeeChat en la página: https://weech
|
||||
[[gui]]
|
||||
=== ¿He oido que hay muchas interfaces gráficas de susuario (GUI) para WeeChat. ¿Cómo puedo compilarlas o usarlas?
|
||||
|
||||
Hay disponibles algunas GUIs, eche un vistazo a la página de interfaces remotas:
|
||||
https://weechat.org/about/interfaces
|
||||
// TRANSLATION MISSING
|
||||
Some remote GUIs are available, see the
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== No puedo compilar WeeChat después de haber clonado el repositorio git, ¿por qué?
|
||||
|
||||
La manera recomendada para compilar WeeChat es con
|
||||
link:weechat_user.en.html#compile_with_cmake[CMake].
|
||||
link:weechat_user.en.html#compile_with_cmake[CMake ^↗^,window=_blank].
|
||||
|
||||
Si lo está compilando con link:weechat_user.en.html#compile_with_autotools[autotools]
|
||||
Si lo está compilando con link:weechat_user.en.html#compile_with_autotools[autotools ^↗^,window=_blank]
|
||||
(y no con CMake), compruebe que tiene la versión más reciente de autoconf y automake.
|
||||
|
||||
Otra forma es instalar "devel package", que necesita menos dependencias.
|
||||
@@ -64,7 +67,8 @@ que la opción de clonar el repositorio de git a la hora de instalar actualizaci
|
||||
[[compile_macos]]
|
||||
=== ¿Cómo puedo instalar WeeChat en macOS?
|
||||
|
||||
Se recomienda utilizar https://brew.sh/[Homebrew], puede obtener ayuda con el comando:
|
||||
Se recomienda utilizar https://brew.sh/[Homebrew ^↗^,window=_blank],
|
||||
puede obtener ayuda con el comando:
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -80,12 +84,12 @@ brew install weechat
|
||||
=== He lanzado WeeChat, pero estoy perdido, ¿qué puedo hacer?
|
||||
|
||||
Para consultar la ayuda, escriba `/help`. Para buscar ayuda con un comando, escriba `/help comando`.
|
||||
link:weechat_user.en.html#key_bindings[Las teclas] y
|
||||
link:weechat_user.en.html#commands_and_options[comandos] aparecen listados
|
||||
link:weechat_user.en.html#key_bindings[Las teclas ^↗^,window=_blank] y
|
||||
link:weechat_user.en.html#commands_and_options[comandos ^↗^,window=_blank] aparecen listados
|
||||
en la documentación.
|
||||
|
||||
Se recomienda a las personas recién llegadas leer la
|
||||
link:weechat_quickstart.es.html[guía rápida].
|
||||
link:weechat_quickstart.es.html[guía rápida ^↗^,window=_blank].
|
||||
|
||||
[[display]]
|
||||
== Visualización
|
||||
@@ -113,7 +117,7 @@ Es un problema común con una variedad de causas, por favor lea detenidamente y
|
||||
** Si está utilizando el multiplexador screen, compruebe que lo está ejecuando con el modo UTF-8
|
||||
("`defutf8 on`" en ~/.screenrc o `screen -U` al ejecutar screen).
|
||||
* Compruebe si la opción
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
está en off (esta opción puede causar errores a la hora de mostrar el texto).
|
||||
|
||||
[NOTE]
|
||||
@@ -128,10 +132,11 @@ Esto puede estar causado por un error en libc en la función _wcwidth_, que debe
|
||||
en glibc 2.22 (quizás todavía no está disponible en su distribución).
|
||||
|
||||
Hay una solución temporal que es utilizar una función de _wcwidth_ sin ese error:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank].
|
||||
|
||||
Vea este reporte de error para más información:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
// TRANSLATION MISSING
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
for more information.
|
||||
|
||||
[[bars_background]]
|
||||
=== Las barras del título y de estado no aparecen rellenadas, el color de fondo desaparece después del texto, ¿por qué?
|
||||
@@ -188,7 +193,7 @@ ventanas.
|
||||
[[buffers_list]]
|
||||
=== ¿Cómo mostrar un listado de los buffers en la parte izquierda?
|
||||
|
||||
Con WeeChat ≥ 1.8, el complemento link:weechat_user.en.html#buflist_plugin[buflist]
|
||||
Con WeeChat ≥ 1.8, el complemento link:weechat_user.en.html#buflist[buflist ^↗^,window=_blank]
|
||||
está cargado y habilitado de manera predeterminada.
|
||||
|
||||
Con versiones anteriores, puede instalar el script _buffers.pl_:
|
||||
@@ -256,8 +261,9 @@ como `237` para gris oscuro.
|
||||
El complemento del listado de buffers _buflist_ ofrece múltiples opciones que puede configurar, por favor lea
|
||||
la ayuda de cada opción.
|
||||
|
||||
También hay una página wiki con ejemplos de configuraciones más completas:
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
// TRANSLATION MISSING
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
with examples of advanced buflist configuration.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== ¿Cómo puedo reducir la longitud de los apodos o eliminar la alineación de los apodos en el área del chat?
|
||||
@@ -300,7 +306,7 @@ Estos colores pueden ser cambiados con las opciones __weechat.color.status_data_
|
||||
(buffers) y __weechat.color.status_count_*__ (contadores). +
|
||||
Otras opciones de la lista rápida o _hotlist_ pueden ser cambiadas con las opciones __weechat.look.hotlist_*__.
|
||||
|
||||
Vea la link:weechat_user.en.html#screen_layout[Guía de usuario / diseño de la pantalla] para
|
||||
Vea la link:weechat_user.en.html#screen_layout[Guía de usuario / diseño de la pantalla ^↗^,window=_blank] para
|
||||
más información sobre este tema.
|
||||
|
||||
[[input_bar_size]]
|
||||
@@ -465,7 +471,7 @@ Para la versión 0.3.4, deberá utilizar el comando `/color` para añadir nuevos
|
||||
Para versiones ≥ 0.3.5, puede utilizar cualquier número de color en las opciones (opcional: puede
|
||||
añadir alias al color con el comando `/color`).
|
||||
|
||||
Por favor lea la link:weechat_user.en.html#colors[Guía del usuario / Colores] para más
|
||||
Por favor lea la link:weechat_user.en.html#colors[Guía del usuario / Colores ^↗^,window=_blank] para más
|
||||
información sobre la gestión de los colores.
|
||||
|
||||
[[search_text]]
|
||||
@@ -474,8 +480,8 @@ información sobre la gestión de los colores.
|
||||
La tecla predeterminada es kbd:[Ctrl+r] (el comando es: `+/input texto_a_buscar_aquí+`).
|
||||
Y para saltar a los textos resaltados: kbd:[Alt+p] / kbd:[Alt+n].
|
||||
|
||||
Vea la link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado] para más
|
||||
información sobre esta funcionalidad.
|
||||
Vea la link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^,window=_blank]
|
||||
para más información sobre esta funcionalidad.
|
||||
|
||||
[[terminal_focus]]
|
||||
=== ¿Cómo puedo ejecutar comandos cuando la terminal tiene o pierde el foco?
|
||||
@@ -648,7 +654,7 @@ Puede crear un atajo de teclado, por ejemplo:
|
||||
----
|
||||
|
||||
Tiene una lista de las teclas predeterminadas en la
|
||||
link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado].
|
||||
link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^,window=_blank].
|
||||
|
||||
Para saltar a un buffer mayor de 100, podría definir un disparador y después utilizar
|
||||
comandos como `/123` para saltar al buffer #123:
|
||||
@@ -832,8 +838,42 @@ unirse a los canales):
|
||||
[[edit_autojoin]]
|
||||
=== ¿Cómo puedo añadir/eliminar canales de la opción autojoin?
|
||||
|
||||
Puede utilizar el comando `/set` para editar la lista de canales con autojoin,
|
||||
por ejemplo, para el servidor "libera":
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≥ 3.5, you can automatically record the channels you manually
|
||||
join and part in the "autojoin" server option.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For all servers:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For a single server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≥ 3.5, you can also add the current channel in the "autojoin"
|
||||
server option using the `/autojoin` command:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Or another channel:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.4, puede utilizar el comando `/set` para editar la lista de
|
||||
canales con autojoin, por ejemplo, para el servidor "libera":
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -850,7 +890,8 @@ También puede utilizar el comando `/fset` para editar la lista de canales:
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
Otra solución es utilizar un script:
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.4, otra solución es utilizar un script:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -890,7 +931,7 @@ Con un filtro global (oculta *todos* los mensajes join/part/quit):
|
||||
|
||||
[NOTE]
|
||||
Para más ayuda: `/help filter`, `+/help irc.look.smart_filter+` y vea la
|
||||
link:weechat_user.en.html#irc_smart_filter_join_part_quit[Guía del usuario / Filtros inteligente para mensajes join/part/quit].
|
||||
link:weechat_user.en.html#irc_smart_filter_join_part_quit[Guía del usuario / Filtros inteligente para mensajes join/part/quit ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== ¿Cómo puedo filtrar algunos mensajes mostrados cuando me uno a un canal IRC?
|
||||
@@ -988,7 +1029,7 @@ Otros scripts para este tema:
|
||||
=== ¿Cómo puedo inhabilitar las menciones de unos apodos específicos?
|
||||
|
||||
Con WeeChat ≥ 0.3.4 puede utilizar
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
esta propiedad del buffer para configurar el nivel máximo de la hotlist para algunos apodos, por buffer,
|
||||
o por grupo de buffers (como servidores IRC).
|
||||
|
||||
@@ -1086,6 +1127,15 @@ $ cd ~/.cache/weechat/script
|
||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
If you're running macOS and the downloaded file has a size of 0 bytes,
|
||||
try to set this variable in your shell initialization file or on command line,
|
||||
before starting WeeChat:
|
||||
|
||||
----
|
||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||
----
|
||||
|
||||
[[spell_dictionaries]]
|
||||
=== Instalé los diccionarios aspell en mi sistema, ¿cómo puedo utilizarlos sin necesidad de reiniciar WeeChat?
|
||||
|
||||
@@ -1183,7 +1233,7 @@ Elimine de la memoria e inhabilite la carga automática del complemento "xfer" (
|
||||
Defina una frase de paso y utilice datos seguros cada vez que pueda para datos sensibles
|
||||
como contraseñas: vea `/help secure` y `/help` en las opciones
|
||||
(si puede utilice datos seguros, está escrito en la ayuda).
|
||||
Ver también link:weechat_user.en.html#secured_data[Guía del usuario / Datos seguros].
|
||||
Ver también link:weechat_user.en.html#secured_data[Guía del usuario / Datos seguros ^↗^,window=_blank].
|
||||
|
||||
Por ejemplo:
|
||||
|
||||
@@ -1204,7 +1254,7 @@ contiene sus contraseñas cifradas con su frase de paso.
|
||||
Algunos otros archivos pueden contener información sensible como contraseñas (si no están
|
||||
almacenadas en _sec.conf_ con el comando `/secure`).
|
||||
|
||||
Vea la link:weechat_user.en.html#files_and_directories[Guía del usuario / Archivos y directorios]
|
||||
Vea la link:weechat_user.en.html#files_and_directories[Guía del usuario / Archivos y directorios ^↗^,window=_blank]
|
||||
para más información relacionada con los archivos de configuración.
|
||||
|
||||
[[development]]
|
||||
@@ -1213,7 +1263,8 @@ para más información relacionada con los archivos de configuración.
|
||||
[[bug_task_patch]]
|
||||
=== ¿Cómo podría informar de errores, pedir nuevas funcionalidades o enviar parches?
|
||||
|
||||
Vea: https://weechat.org/about/support
|
||||
// TRANSLATION MISSING
|
||||
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Cuando ejecuto WeeChat bajo gdb, hay un error con la muestra de las conversaciones, ¿qué puedo hacer?
|
||||
@@ -1249,11 +1300,13 @@ algunos sistemas operativos en los que no podemos probar WeeChat.
|
||||
|
||||
Hay muchas tareas que hacer (probar, escribir código, documentación, etc.)
|
||||
|
||||
Por favor, contacte con nosotros mediante IRC o correo electrónico, eche un vistazo a la página de soporte:
|
||||
https://weechat.org/about/support
|
||||
// TRANSLATION MISSING
|
||||
Please contact us via IRC or mail, look at
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== ¿Puedo donar dinero u otras cosas a las personas que desarrollan WeeChat?
|
||||
|
||||
Puede donar dinero para ayudar en el desarrollo.
|
||||
Más detalles en https://weechat.org/donate
|
||||
// TRANSLATION MISSING
|
||||
You can give us money to help development.
|
||||
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
|
||||
@@ -207,10 +207,17 @@ Para unirse automáticamente a canales cuando el servidor se conecte:
|
||||
/set irc.server.libera.autojoin "#uncanal,#otrocanal"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Puede completar el nombre y el valor de las opciones con la tecla kbd:[Tab]
|
||||
y kbd:[Shift+Tab] para un autocompletado parcial (útil para palabras largas como
|
||||
el nombre de la opción).
|
||||
// TRANSLATION MISSING
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Para eliminar un valor asignado a una opción de servidor y usar los
|
||||
valores predeterminados en su lugar, por ejemplo, usar el nick predeterminado
|
||||
@@ -227,6 +234,11 @@ donde "xxx" es el nombre de la opción.
|
||||
/set irc.server.libera.xxx valor
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Puede completar el nombre y el valor de las opciones con la tecla kbd:[Tab]
|
||||
y kbd:[Shift+Tab] para un autocompletado parcial (útil para palabras largas como
|
||||
el nombre de la opción).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Conectarse a un servidor IRC
|
||||
|
||||
@@ -390,13 +402,16 @@ por ejemplo:
|
||||
|
||||
Vea `/help script` para obtener más información.
|
||||
|
||||
Hay una lista de scripts disponibles en WeeChat mediante el comando `/script` o en este enlace:
|
||||
https://weechat.org/scripts
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== Más documentación
|
||||
|
||||
Ahora puede usar WeeChat y leer las FAQ/documentación para cada pregunta
|
||||
en: https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
¡Disfrute de WeeChat!
|
||||
|
||||
+1
-14
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -122,19 +122,6 @@ if(ENABLE_DOC)
|
||||
add_custom_target(doc-quickstart-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# tester's guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_tester.fr.html"
|
||||
)
|
||||
add_custom_target(doc-tester-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# relay protocol
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html
|
||||
|
||||
+1
-7
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -29,7 +29,6 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_scripting.fr.adoc \
|
||||
weechat_faq.fr.adoc \
|
||||
weechat_quickstart.fr.adoc \
|
||||
weechat_tester.fr.adoc \
|
||||
weechat_relay_protocol.fr.adoc \
|
||||
weechat_dev.fr.adoc \
|
||||
includes/autogen_api_completions.fr.adoc \
|
||||
@@ -58,7 +57,6 @@ if DOC
|
||||
weechat_scripting.fr.html \
|
||||
weechat_faq.fr.html \
|
||||
weechat_quickstart.fr.html \
|
||||
weechat_tester.fr.html \
|
||||
weechat_relay_protocol.fr.html \
|
||||
weechat_dev.fr.html
|
||||
doc_install = install-doc
|
||||
@@ -92,10 +90,6 @@ weechat_faq.fr.html: weechat_faq.fr.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
weechat_quickstart.fr.html: weechat_quickstart.fr.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.fr.html $(abs_top_srcdir)/doc/fr/weechat_quickstart.fr.adoc
|
||||
|
||||
# tester's guide
|
||||
weechat_tester.fr.html: weechat_tester.fr.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_tester.fr.html $(abs_top_srcdir)/doc/fr/weechat_tester.fr.adoc
|
||||
|
||||
# relay protocol
|
||||
weechat_relay_protocol.fr.html: weechat_relay_protocol.fr.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_relay_protocol.fr.html $(abs_top_srcdir)/doc/fr/weechat_relay_protocol.fr.adoc
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
| irc | irc_channels | canaux sur tous les serveurs IRC
|
||||
|
||||
| irc | irc_channels_autojoin | canaux automatiquement rejoints sur le serveur courant (option "autojoin")
|
||||
|
||||
| irc | irc_ignores_numbers | numéros pour les ignores définis
|
||||
|
||||
| irc | irc_modelist_masks | masques de la liste de modes du canal IRC courant ; argument obligatoire : mode de la liste de modes
|
||||
@@ -92,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | liste des scripts
|
||||
|
||||
| trigger | trigger_add_arguments | paramètres pour la commande qui ajoute un trigger : nom du trigger, hooks, paramètres du hook, conditions du hook, regex du hook, commande du hook, code retour du hook, actions "post"
|
||||
|
||||
| trigger | trigger_hook_arguments | paramètres par défaut pour un hook
|
||||
|
||||
| trigger | trigger_hook_command | commande par défaut pour un hook
|
||||
@@ -146,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | zones ("chat" ou un nom de barre) pour le mouvement libre du curseur
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | paramètres pour la commande qui ajoute un objet de barre personnalisé : nom de l'objet, conditions, contenu
|
||||
|
||||
| weechat | custom_bar_item_conditions | conditions pour l'objet de barre personnalisé
|
||||
|
||||
| weechat | custom_bar_item_contents | contenus pour l'objet de barre personnalisé
|
||||
|
||||
| weechat | custom_bar_items_names | noms des objets de barre personnalisés
|
||||
|
||||
| weechat | env_value | valeur d'une variable d'environnement
|
||||
|
||||
| weechat | env_vars | variables d'environnement
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user