mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
Compare commits
1418 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9df8044cae | |||
| 679a87c571 | |||
| da301b41d3 | |||
| c12c488933 | |||
| 345d99a9b5 | |||
| c6ad4bfd20 | |||
| 43697033cf | |||
| eb7fd8ac9e | |||
| 2325d43447 | |||
| 7cb991667c | |||
| 22370481a0 | |||
| 3d40f96e2d | |||
| f29dd1585e | |||
| 3d041a0364 | |||
| f418b4204e | |||
| 680426100d | |||
| b1a4cd3fab | |||
| 486ea8837a | |||
| e5725a366d | |||
| 1de31fc6a2 | |||
| 4dd47188f5 | |||
| 35df848e73 | |||
| 1cec7e8126 | |||
| a70ca92b74 | |||
| 684f10c442 | |||
| 2d081b0ef3 | |||
| 19be144d2f | |||
| fb9a69c6ae | |||
| c82486d437 | |||
| 802e462ce5 | |||
| 126a42235c | |||
| ddb1db9a2c | |||
| 26c000c6b0 | |||
| 59e292a5be | |||
| 8617bd7d2a | |||
| e262cd47b4 | |||
| 5a7db09eb2 | |||
| 5fc7813643 | |||
| dc319af254 | |||
| e920903354 | |||
| 6457394042 | |||
| 7516774474 | |||
| a9d1b2990f | |||
| 13198697a9 | |||
| 2a0e578ae7 | |||
| 571da9f056 | |||
| 88b021f1b7 | |||
| 7eb04b77fe | |||
| b615e6cee7 | |||
| d1d7d4573c | |||
| 43d9c20e36 | |||
| 8ea0aa5f41 | |||
| f02ecf3e83 | |||
| 490a0b9db0 | |||
| 0ce38e7d58 | |||
| bc380447eb | |||
| 73c8b5f93c | |||
| a6519001c8 | |||
| 8b106be58e | |||
| 66e63bf8cf | |||
| 94ff5e5758 | |||
| 73720cf792 | |||
| b407de4c3b | |||
| 8444670ef1 | |||
| 657805ca25 | |||
| 12378b3a19 | |||
| 7684d5a3d1 | |||
| 2488466b0c | |||
| 647ca0c047 | |||
| 1452497b32 | |||
| 2c7057bf22 | |||
| e97dc832e5 | |||
| 7b4d374efd | |||
| 5294249515 | |||
| 2b81cce9e0 | |||
| 8814d1d5c4 | |||
| 4a4fbce5dd | |||
| f4a789c327 | |||
| 037afc5e92 | |||
| 17435d5532 | |||
| 6704b1b21c | |||
| cb08919baf | |||
| c67eb4e656 | |||
| 9605501c66 | |||
| e9c14d6548 | |||
| 54f2c7f2e0 | |||
| 44ca4b41f3 | |||
| cc544e3e3a | |||
| a749e3423f | |||
| 8949a65f52 | |||
| 2423fdbf2d | |||
| 839ffc4b0c | |||
| 5c79933faa | |||
| 47f40f961a | |||
| 1100b0e694 | |||
| 761d2dec12 | |||
| 6db01bee34 | |||
| 4c565413bb | |||
| b916ed6cf7 | |||
| 484abc68fc | |||
| f116061868 | |||
| 878c0a5d66 | |||
| 8009b21803 | |||
| 05e12c0232 | |||
| 8de2a36ac2 | |||
| 539a51f9e1 | |||
| 3aec35aeec | |||
| 3bfb7d7f04 | |||
| dcb8fcb6ed | |||
| fb4d2d30f4 | |||
| e7b2d98b6e | |||
| e57777acb1 | |||
| fa07d98f06 | |||
| c1083d022d | |||
| 464b019929 | |||
| 1a0b9427e0 | |||
| 32b01a606c | |||
| a456c3db86 | |||
| 77145d32ad | |||
| cdeac1b693 | |||
| 827a056790 | |||
| 7634774327 | |||
| e69cffd9bc | |||
| 5991278637 | |||
| 1a8c40826e | |||
| d14bc12282 | |||
| 0c9bbb5d4f | |||
| df52b57c33 | |||
| 7addd1bf00 | |||
| 28f75d17dc | |||
| 1050ba851f | |||
| 103684b15e | |||
| 7546ee08ca | |||
| 1aeea38355 | |||
| 9ce666fc31 | |||
| b2c7682242 | |||
| 2aa1b950cd | |||
| 0df1cde496 | |||
| 9f536d3dc7 | |||
| 4d0458afdd | |||
| 92dfd2425f | |||
| be621205e9 | |||
| 4ad497ce01 | |||
| da8353c54f | |||
| 44c96f6abf | |||
| 177b0a4299 | |||
| 75270d7841 | |||
| 6526cc230a | |||
| 211cd11c2a | |||
| 9ceea3697b | |||
| 0cf504dce7 | |||
| 6839974a07 | |||
| 25e3a631b9 | |||
| 998bb89c98 | |||
| ccf23ae51e | |||
| 6321669cd5 | |||
| 586e66d6fa | |||
| a21fa3359d | |||
| 4ac120e435 | |||
| b21b64bc44 | |||
| 68ff525d2e | |||
| 7e79dd92ba | |||
| cefc6820c1 | |||
| 9f7b4c497e | |||
| d85205ca8a | |||
| 06d10ad193 | |||
| 8f86f319ca | |||
| fef2ecec9b | |||
| cf42c7da38 | |||
| 9e6b9ca54d | |||
| d22c3344d4 | |||
| 93064b8401 | |||
| 573f1046ac | |||
| 3aeea2d6aa | |||
| afe037c579 | |||
| c5268bc5f9 | |||
| c47e4fa883 | |||
| 6c1f21f10c | |||
| ee3fb67a0c | |||
| b8f6468590 | |||
| de24921609 | |||
| 1d9cdba58e | |||
| 9cd7fd38a9 | |||
| ded599b272 | |||
| 6c706caa50 | |||
| f87347d44f | |||
| 96ff7248ef | |||
| eac442a855 | |||
| f1fa143b21 | |||
| dcd872bc45 | |||
| 4a058ae0f5 | |||
| 2b919b0a01 | |||
| 9c3eda660d | |||
| 17090ade74 | |||
| ba97a39565 | |||
| 42cba25453 | |||
| 7438d2c737 | |||
| ed48819b77 | |||
| 2c300424b4 | |||
| 3e520cb1ff | |||
| 114084a4fc | |||
| 1a31512503 | |||
| a7b21fa647 | |||
| 890caf4e8e | |||
| ad33036fea | |||
| a59fa70a94 | |||
| ac7cc25763 | |||
| ee51e6c05f | |||
| 61ff0b8587 | |||
| 561dd92d8e | |||
| 619b40b42f | |||
| 409a06982e | |||
| 7af01a56ca | |||
| 3057d846d9 | |||
| 9a5a1fb300 | |||
| f11c7c1bf4 | |||
| 0b2d9bcb9b | |||
| 1ad0b4b669 | |||
| 529a22e342 | |||
| 828ca37225 | |||
| 6cf163f00c | |||
| 2b6fbe26ac | |||
| 3eed74a75c | |||
| e73bff95fa | |||
| b56b34711d | |||
| 590d9453a0 | |||
| ea85d180e5 | |||
| 0e3b6a9c77 | |||
| 1f104d06a0 | |||
| 3973258628 | |||
| f79153ace7 | |||
| 7ee57af8e3 | |||
| b138510cff | |||
| c472b9a733 | |||
| 0ac2e54b46 | |||
| 3e994e3c5a | |||
| 128d2a4e12 | |||
| 846c785531 | |||
| 2bbf289635 | |||
| f3a9bfe55e | |||
| 852b8a5cdb | |||
| 1ae33517e9 | |||
| 5ad977a6ed | |||
| f92606a317 | |||
| c3750a02e3 | |||
| c242c8e3f9 | |||
| 4baf0e8526 | |||
| 1e08b1119a | |||
| fb9d677020 | |||
| d0f0a7834d | |||
| eadb7e95ef | |||
| 634f467c8d | |||
| c1b49f71a5 | |||
| 42b073629d | |||
| 731871dd78 | |||
| b7d07840d1 | |||
| 9defa13bbe | |||
| 984fdb2b58 | |||
| a4236be509 | |||
| 92d27d8676 | |||
| e1b1946ee4 | |||
| 252787c457 | |||
| 18d32cb613 | |||
| b909522307 | |||
| 5eb47ccf53 | |||
| 8c3f16dbe3 | |||
| 3bfe4e52ca | |||
| c112d0aafa | |||
| b0b733a8f0 | |||
| ae892d2893 | |||
| 90998bd296 | |||
| 976e5e8ae4 | |||
| f40f3cfa40 | |||
| 5046a9b596 | |||
| dbf9068909 | |||
| e8081fe4f7 | |||
| ed2becf8fe | |||
| f7c27b0801 | |||
| fadf9c47c9 | |||
| a3c9a5b897 | |||
| 2fe215276e | |||
| 419515845d | |||
| 5eaac71d25 | |||
| fd5f42dc06 | |||
| ec8c4cc042 | |||
| 86dea12b71 | |||
| ec3b3d47be | |||
| 8cb302e600 | |||
| eacd0002dd | |||
| 91a9af72b1 | |||
| cb6c2fd637 | |||
| ef12c93f1b | |||
| 14beee8a91 | |||
| 7c2f44e74e | |||
| 89fe540b53 | |||
| 40a68549b5 | |||
| a499b50b7b | |||
| b6647004a5 | |||
| 2cf66de423 | |||
| 08bc6404eb | |||
| 4adb64284b | |||
| 3cce916035 | |||
| 64db1b958d | |||
| cb785d5035 | |||
| 9d7e887d8e | |||
| 643adecff5 | |||
| 4460f92727 | |||
| f507be4128 | |||
| a3f3c9d09c | |||
| 90b855e1aa | |||
| fd32192464 | |||
| c2343ecb74 | |||
| c4c220f0a3 | |||
| 3f993f9422 | |||
| 786f889251 | |||
| a89bc85dc0 | |||
| 40bfded594 | |||
| 2c3c9a3ee7 | |||
| 74729ce677 | |||
| d81170b010 | |||
| f3f9dc388f | |||
| 7e997f87e8 | |||
| 965beb37de | |||
| a7c92e2d24 | |||
| 1fb6fda89b | |||
| a23b5b5a37 | |||
| acef7dd317 | |||
| 3d8607673e | |||
| 5a3dff1b97 | |||
| 372ffc1690 | |||
| fd06c67b58 | |||
| 0778d37924 | |||
| 6e5eb5eb25 | |||
| 2f5936bc9f | |||
| 3db4dd2790 | |||
| 26630ada2d | |||
| 8482e14630 | |||
| a7f8c32797 | |||
| 9bc4352089 | |||
| 907643bc9c | |||
| 947155f325 | |||
| 59d8857646 | |||
| d6386cd364 | |||
| 7d5503e84b | |||
| 762d71012a | |||
| 7aa5d718a8 | |||
| 77bc38d21d | |||
| 34a72ac02e | |||
| 0b0ab94aa3 | |||
| c516ff64f2 | |||
| 1f47e7c4f8 | |||
| f7b8e81941 | |||
| e29f496a96 | |||
| 55203680ba | |||
| c05b228078 | |||
| d462667ee6 | |||
| 8eafc0624c | |||
| 29b502a06a | |||
| 25a317280f | |||
| f856173e1f | |||
| 6f660f2430 | |||
| 41fb29bbd0 | |||
| ea86f75319 | |||
| c98d12b4af | |||
| 305b046370 | |||
| 080eecef2c | |||
| fe01faa9ab | |||
| 811390ebb1 | |||
| dd128dace8 | |||
| 4d83adc7d8 | |||
| fd541395f4 | |||
| 97f87932fe | |||
| b0581ac1f8 | |||
| 3b9e2f480d | |||
| f76d236015 | |||
| 1797fe18a3 | |||
| 63733d81d8 | |||
| 23e0533ea1 | |||
| 24c4029c96 | |||
| bb346f8c6c | |||
| 48ca390f79 | |||
| aa989767a1 | |||
| 7ad3c1979c | |||
| 99f0a2e002 | |||
| 6325add517 | |||
| e791535773 | |||
| 0ac377d306 | |||
| 59c977ddc9 | |||
| 4f9bcc73ca | |||
| 8c5db76271 | |||
| 80709292d4 | |||
| f2f6afb59c | |||
| 3045322822 | |||
| 29d4bc3102 | |||
| f9e8c7faab | |||
| 5af0415508 | |||
| c71e6a50eb | |||
| 4ffd62b206 | |||
| afc4dff71b | |||
| 9e0dd18152 | |||
| c85b57b8b3 | |||
| 34e99987bf | |||
| 1ab62e37cb | |||
| 3f49b1b44a | |||
| 431cf23a0c | |||
| a6c509611a | |||
| ec56a1103f | |||
| ccc5c75a03 | |||
| 732887cef7 | |||
| cb6ecb6818 | |||
| 70828a7dd1 | |||
| ab2e29fb0f | |||
| 8c1df496ae | |||
| 68598de958 | |||
| a1bee89ecc | |||
| 7385f767e3 | |||
| 5c88ee9c45 | |||
| a8a0053211 | |||
| 12521898f9 | |||
| 6c72d6f66d | |||
| 81599b88d4 | |||
| 84437ab672 | |||
| 014dc845e8 | |||
| 361d55d9d7 | |||
| 8f0b3ab9c7 | |||
| 1451e12c78 | |||
| 6817542f95 | |||
| c3eff15a56 | |||
| 0bf560f9b7 | |||
| ff2189f3d9 | |||
| 439a2d9c7a | |||
| 6d549d0da9 | |||
| 22686da40c | |||
| f649ccc3b8 | |||
| c5800178a0 | |||
| c5887354bd | |||
| 3f08785aee | |||
| 191701a5f3 | |||
| d52fea1d5e | |||
| 24f0e95de7 | |||
| 40deb493d5 | |||
| ef2ef9846d | |||
| e02ee703f0 | |||
| 27331dec5e | |||
| db6b96f629 | |||
| ef5ebc19e9 | |||
| 76998665f4 | |||
| b5a32c0fa9 | |||
| 4c5f98946a | |||
| a44ffa147f | |||
| a167322d8b | |||
| f19808cedd | |||
| 0f30a4e020 | |||
| 9b9b36bb02 | |||
| c4ac9046b2 | |||
| 61a8e4e27e | |||
| 780be1e1b7 | |||
| 4858d88567 | |||
| 6659bf1642 | |||
| b3a214252b | |||
| 4c6db9711a | |||
| 213483e678 | |||
| 9b9e0f042c | |||
| 831dcac808 | |||
| 4e0f7dfd25 | |||
| a35ac5e8d9 | |||
| 90c87e7553 | |||
| 162bcb2622 | |||
| 8b6452eb91 | |||
| e4e6fde80f | |||
| e0ec8da76a | |||
| 635dd818b5 | |||
| 0cfc61a17e | |||
| f153b6e6c3 | |||
| 9ce435fa5e | |||
| 5a00f1a138 | |||
| 9eb3403008 | |||
| e191d9225b | |||
| e08f6aab55 | |||
| 19bf6c9672 | |||
| e9dbf23a18 | |||
| caa51160da | |||
| 5c6e6f43d1 | |||
| 0414c139b0 | |||
| b7ecf93a22 | |||
| 162dc87796 | |||
| 7f2f60dab0 | |||
| 820a3e8767 | |||
| 052db75805 | |||
| 5c869722c1 | |||
| bc464679a7 | |||
| 86685f4af4 | |||
| 6acf1af828 | |||
| 3f902dba28 | |||
| de72fe1db5 | |||
| 89aeb03a13 | |||
| 83567fd871 | |||
| 70907fc169 | |||
| f126255d6a | |||
| 6cfb31c306 | |||
| 8971fc069a | |||
| 179d53a12e | |||
| 2469dc6df9 | |||
| e3af6a91d4 | |||
| 73a1c9753a | |||
| 1ac38a4cf9 | |||
| 09e01133d2 | |||
| b7735632b8 | |||
| da79574ca7 | |||
| 971d5b6b64 | |||
| 88d391bca3 | |||
| fe52f7c78c | |||
| 06b4e46977 | |||
| 750e677490 | |||
| 017d9bd975 | |||
| 05fdb2929f | |||
| d5b61f565e | |||
| ff1c3d37d1 | |||
| f5a0a6c507 | |||
| bee3fb311b | |||
| 3efcdbd521 | |||
| 869fba9f74 | |||
| becdf76224 | |||
| 8e252955da | |||
| 71fee810c9 | |||
| d8704d5c74 | |||
| 6efa574483 | |||
| 4ffe67eafd | |||
| b5ea82da48 | |||
| 5df85c7a53 | |||
| 57a206287a | |||
| eb8ca14d83 | |||
| 9d9a47f111 | |||
| 4a1e5e7eaa | |||
| f6ba789c3d | |||
| e88882f0ae | |||
| 89517d44a5 | |||
| 1875217509 | |||
| 3dbfa5350d | |||
| eecb2a997e | |||
| 934ef60151 | |||
| 124c5adf62 | |||
| 5c65a73432 | |||
| 9fb3d3f14c | |||
| 57f80a4c1f | |||
| 5ccb0c23f9 | |||
| 31881ebacf | |||
| 28fc733aaf | |||
| 7700228823 | |||
| 76a3f85831 | |||
| 75dc8b9d6c | |||
| 07fbd30948 | |||
| 1cc59edfcc | |||
| fa0b320178 | |||
| ffa933bcf8 | |||
| b3422b96c0 | |||
| 3db8eb65ff | |||
| 73e3d0e693 | |||
| 4bc0fd588d | |||
| a39a1832a1 | |||
| d6ccfb5862 | |||
| 80fa597a71 | |||
| dab17e8d59 | |||
| d70ef53973 | |||
| 33e320ac95 | |||
| 8c3b7b6c6e | |||
| 6223639b71 | |||
| a788ca13d8 | |||
| bc08d9a2b3 | |||
| 52f32e5612 | |||
| f4926cbd20 | |||
| ba33e1db7d | |||
| d6796edac0 | |||
| 36b9a58c72 | |||
| 038eae07bd | |||
| 445d1d0ec5 | |||
| 51fec9257e | |||
| de5b0aae47 | |||
| 9711d2dc76 | |||
| 7974f4f40a | |||
| 22fcb91e8b | |||
| 0f1b18d415 | |||
| f13c5b0b51 | |||
| 996d1def22 | |||
| de82d50768 | |||
| f7b7e3975a | |||
| e51152e6a4 | |||
| 9aa9bf4c9f | |||
| e74b5db253 | |||
| 6d427421de | |||
| d4220e8144 | |||
| e01fa0aac9 | |||
| 86cf456bb7 | |||
| 479ab5bc58 | |||
| 87f74e9f95 | |||
| 2b0c2747ad | |||
| 6b0b3996cd | |||
| 794dc115e5 | |||
| 117efa2716 | |||
| b9c8f215f3 | |||
| ca388bdd53 | |||
| 3cec88506a | |||
| 7b86f31764 | |||
| 5d38149578 | |||
| 75582b9262 | |||
| d1aeca9ca9 | |||
| acd67bf34d | |||
| e4720e5d5b | |||
| f00904afaa | |||
| 6f90c7ef08 | |||
| 97a90ac65a | |||
| b83b428c5c | |||
| b2ce312e82 | |||
| ecc900ba3a | |||
| 515d4241ad | |||
| 977fd3b6f7 | |||
| 252240a1b1 | |||
| 11d95fce11 | |||
| 7d403d41e6 | |||
| d96a3e6b55 | |||
| c90c71ea30 | |||
| 028902b0e3 | |||
| 2260214797 | |||
| ab2684fd52 | |||
| d4cba7b7a3 | |||
| d90eebf6ca | |||
| f16857fc3d | |||
| 082cbe519b | |||
| 6d69cde186 | |||
| f53983bc79 | |||
| 1dd535da5d | |||
| 02f26517f3 | |||
| 3c62ae482b | |||
| fd78c2f9ac | |||
| 23289dcb2c | |||
| 81b31d9e6c | |||
| e8a4c1d813 | |||
| 4d884729f9 | |||
| f8c459453d | |||
| bd187cd668 | |||
| 24c46cf3e5 | |||
| 1a5ff442cb | |||
| 21759171d2 | |||
| 7406c8b94c | |||
| 5c41d6c4a4 | |||
| 6631d44a8d | |||
| df1f48cc9b | |||
| 57475499bf | |||
| 8f4a1a2dea | |||
| c156fee0e1 | |||
| 0fe7eec90b | |||
| 3cc400a9d6 | |||
| d6343020aa | |||
| 8a389395b9 | |||
| 02679e8001 | |||
| fce5386d5c | |||
| 96b7c60c5a | |||
| 6452be4a28 | |||
| a88b8f7ed2 | |||
| 1896c50c11 | |||
| fa1e82d500 | |||
| 7702ed56ea | |||
| f65556f3b2 | |||
| ce5de07dbd | |||
| efa1f44317 | |||
| d60859138f | |||
| 55ef9536c5 | |||
| 58bab65fd1 | |||
| 79581019aa | |||
| aa32fa6d3e | |||
| 2aaa14b616 | |||
| cfa5f3324a | |||
| 05b160b5bc | |||
| 2a4faf566b | |||
| bbf42a5d09 | |||
| e34071131e | |||
| 9bc9df47d7 | |||
| 3898449dc2 | |||
| aed5c543ec | |||
| ed98425b1b | |||
| 0c45083324 | |||
| 13e73d52d3 | |||
| 59d11533dd | |||
| 99a56b99f2 | |||
| aebf6d7ab3 | |||
| 35660f8b1d | |||
| 1a579e03e8 | |||
| 1d6e1fd752 | |||
| 18b3c7a30b | |||
| 775b9c9cdf | |||
| 6bc7d6fad3 | |||
| 9aefe4ae09 | |||
| 13a057f0b2 | |||
| 3735397a0f | |||
| 57b2efd82b | |||
| 6468f7761f | |||
| a83121b847 | |||
| 02a05f63d5 | |||
| 408901d772 | |||
| bea9d5a2bf | |||
| feb5ee8886 | |||
| b46ed5a2a2 | |||
| 1d104bb940 | |||
| 4600aeea53 | |||
| 6bd0c63192 | |||
| 879a548bea | |||
| e928bce76c | |||
| 8bd4994ccd | |||
| 360e971b01 | |||
| 0bb5998988 | |||
| b58f704542 | |||
| bcd23ff585 | |||
| 169eecb5cf | |||
| b433afbd26 | |||
| 082ccb05bb | |||
| f72fb3be4b | |||
| 7f0efa3a8f | |||
| c96971eebb | |||
| d6e4e87faf | |||
| 12106ae7ba | |||
| 91bb1ebf5d | |||
| 439410a388 | |||
| 36ab6c3bc7 | |||
| f0e4494205 | |||
| 83dcb84ea6 | |||
| fb00bc1f4b | |||
| 24d2ba3338 | |||
| 63922ca038 | |||
| a5f4c3770b | |||
| 23d3ce7ad8 | |||
| f49810ec0e | |||
| 85b5bacfe3 | |||
| e62ff286ff | |||
| cb680ef9df | |||
| 63fc9aace8 | |||
| a2c3322df7 | |||
| 049e9d23c5 | |||
| 4c3ab508c7 | |||
| 747d6122bc | |||
| aad846583d | |||
| 4e173c1972 | |||
| ef99d544fa | |||
| 684bfd64c6 | |||
| 29c4aa4620 | |||
| d100d62a72 | |||
| 3021b2f9c5 | |||
| 6fcdb50dab | |||
| 54a5815105 | |||
| c4c58e0914 | |||
| 8eb2604704 | |||
| ddd859886e | |||
| ae50f6688e | |||
| 6170ebd396 | |||
| 82372115ae | |||
| 71dfbdc419 | |||
| 79d0a134e3 | |||
| 3882b2e881 | |||
| 6b356d4208 | |||
| a2e9c74b50 | |||
| d9555cc567 | |||
| 9fada89f96 | |||
| 46b76af645 | |||
| b30b492e66 | |||
| 2c251cd285 | |||
| 7fd20269e7 | |||
| 374262a8d7 | |||
| 89739421cf | |||
| 1be5209e9f | |||
| 65e092ab25 | |||
| 5f5f05805f | |||
| 6eb3f5672f | |||
| 1f1416dd50 | |||
| 1ee3bad88b | |||
| 7f0f947667 | |||
| 23d70b5101 | |||
| 2a40743ed0 | |||
| ac8418de8e | |||
| e1ecf992f3 | |||
| cf6ec7657e | |||
| 75c5ccecfa | |||
| 722cb27d04 | |||
| 13ce1147fc | |||
| b7cd446822 | |||
| 5691518e91 | |||
| 2b3fb62065 | |||
| c2b6523d9f | |||
| 620fce4bba | |||
| 8b3311860b | |||
| 58d61cb153 | |||
| 32f52ae236 | |||
| c5ceacd68f | |||
| aa4bc616b9 | |||
| b203c4109b | |||
| a16b3d25ce | |||
| cc2b44a8ec | |||
| 5ecb1adc34 | |||
| d328d7f2b8 | |||
| 711d3afa5c | |||
| 99822fc5e7 | |||
| 181f4c041d | |||
| 3ca4f2d3e5 | |||
| 300adb42fa | |||
| e5e027b9fa | |||
| 9a268ec7cc | |||
| b0ed5b99e9 | |||
| 4a95d78c45 | |||
| dd0c20f6b6 | |||
| 42c925b672 | |||
| ff4596e45c | |||
| cc2bb4b8cf | |||
| 015ff084e3 | |||
| 11943ebaaf | |||
| 2092715ac7 | |||
| 272bcf3c97 | |||
| d14e74ccf6 | |||
| 3a59f2f65e | |||
| 817d1eaf8e | |||
| 6737859330 | |||
| fd07b2888f | |||
| 5d9af29024 | |||
| 965c6ac2ea | |||
| d2d3cd1b46 | |||
| 0c6bcf3e78 | |||
| 303fe6744e | |||
| 3aef8b7292 | |||
| 6aa66b5363 | |||
| c2426e88c9 | |||
| 09eae3e2af | |||
| 25b3f2eae7 | |||
| 9462c87ce5 | |||
| 03927a3283 | |||
| 7afc43901d | |||
| 49f52cc051 | |||
| c0bd12bdf0 | |||
| 0871024eda | |||
| 4566ed2bf9 | |||
| 9591af8be8 | |||
| 28ff9d602a | |||
| a3382f5a09 | |||
| 212741af05 | |||
| 00dbb24658 | |||
| fdebcf690b | |||
| 763e8bd3a0 | |||
| 6950c953a1 | |||
| fd6bdd3b59 | |||
| f098a112a1 | |||
| ce4f4fb3fa | |||
| faf9d1600f | |||
| f4b9cad720 | |||
| 6def0cf502 | |||
| 6969b9b2b8 | |||
| 5ffce90f23 | |||
| 64cb3e6a63 | |||
| 1fe1e1a1e8 | |||
| ed5467c4a9 | |||
| fadfffc0b6 | |||
| 08e110c835 | |||
| 2c8657826f | |||
| b756598070 | |||
| 14334880d8 | |||
| 2ad8a0d868 | |||
| f89d4a60cd | |||
| 5bf78f40e5 | |||
| aac4b38432 | |||
| 41d23a448a | |||
| 274f5f9d53 | |||
| d8bd0b7da8 | |||
| 773013cde7 | |||
| 921b7fc2d3 | |||
| 8b9cdc8329 | |||
| 43d341feac | |||
| 81e09bd6e1 | |||
| 48e6a1e387 | |||
| 41dbcb1a81 | |||
| e94a18268e | |||
| 409bd256a9 | |||
| 17927cc09f | |||
| cfc734b7c5 | |||
| 09e0ffe935 | |||
| 938e9c13cd | |||
| b75c956c02 | |||
| 9727861d66 | |||
| 2829a8ee2b | |||
| 46cea77585 | |||
| 4290876e64 | |||
| 510756935c | |||
| beb93ada1e | |||
| 0bfdaa25bf | |||
| 017f4cca18 | |||
| 2f1de098bd | |||
| d25a4213fe | |||
| 17674f7b11 | |||
| 356712f44d | |||
| c6b18e9654 | |||
| ff41a79aa9 | |||
| 1826decb0b | |||
| 070f0da1c0 | |||
| e0e839e7cc | |||
| e5948b0d44 | |||
| 03daae3059 | |||
| b0549e4d09 | |||
| 8e48503253 | |||
| c198e875ce | |||
| 73439d5a50 | |||
| 36ab9d97e4 | |||
| 8bfd25e2e6 | |||
| 1ffd0a58b9 | |||
| 4fc90b86bf | |||
| 63f9289769 | |||
| 06fa5923e8 | |||
| 13241cdca5 | |||
| 93dfc8b105 | |||
| 874a24956c | |||
| a457e22d57 | |||
| 6b9dd2add3 | |||
| eb71be4219 | |||
| 8cd13ef580 | |||
| 622410a64e | |||
| 7c805aa699 | |||
| 9237852b26 | |||
| f46f759975 | |||
| 5d222c8d5c | |||
| 363d2d5e68 | |||
| ba6f21d910 | |||
| 2a02bb10e5 | |||
| 107f83c923 | |||
| 38f3b40894 | |||
| 3070c12fa3 | |||
| 1d5433485c | |||
| 4c0c7d9adc | |||
| 8985607951 | |||
| 89137552a7 | |||
| 5b2cf75f6e | |||
| 481e8f197d | |||
| 66cb9f6ea2 | |||
| 8f9d88edd0 | |||
| f1e372b5e2 | |||
| 7b6c9328be | |||
| 4fa9ddc6b9 | |||
| d7a6fcba5f | |||
| f811621611 | |||
| 6c8d6eef58 | |||
| 59cdade5f0 | |||
| e5586e14d9 | |||
| b43883a814 | |||
| 20560f0a63 | |||
| e36b066dc8 | |||
| b696e3d67f | |||
| 7340fd1637 | |||
| f03e2ff95c | |||
| 3247974eb4 | |||
| 824cfb6427 | |||
| 7b5585239f | |||
| 92e5696236 | |||
| a80f4c7681 | |||
| 930b42aecf | |||
| c84274cd2b | |||
| b13ed3b816 | |||
| b52047c69e | |||
| b551d6f247 | |||
| 4c9fd4a625 | |||
| fc41ad336d | |||
| 1d4509ddd8 | |||
| b4da825f60 | |||
| ca35b67307 | |||
| f62022e812 | |||
| 54dd19da92 | |||
| bc4294e297 | |||
| 5e0ca4740b | |||
| 70c41f614a | |||
| e0c8f2867d | |||
| 763b8ec050 | |||
| 9d0d8231e8 | |||
| 11177a0967 | |||
| c5a3bbc474 | |||
| 50bb175e7f | |||
| 1c449f3c2e | |||
| 7c7a9484fb | |||
| eacb807448 | |||
| 001cf3376d | |||
| e1d1831fa8 | |||
| 3e42d95f40 | |||
| 1b78cd3bd2 | |||
| 9d7766ce3d | |||
| 2d25cac44a | |||
| 09b512337a | |||
| 3af4ccff38 | |||
| 964d882c61 | |||
| a9544af15c | |||
| 8c73634e1b | |||
| fc91ee59c9 | |||
| 1145d9f188 | |||
| 5de7152383 | |||
| 5d06ab76df | |||
| 2eacbe6153 | |||
| 0b51c2d0be | |||
| 4185e7b9f6 | |||
| 0d92c8703f | |||
| dccd1a348c | |||
| ab9b8e0b01 | |||
| 7f07782208 | |||
| 7a754d93ab | |||
| 3a4f51b352 | |||
| 48b35bdc63 | |||
| 4e705afdf6 | |||
| 615069caef | |||
| 5e35ead044 | |||
| 4712fabbb0 | |||
| e04d8894a0 | |||
| 7f4c3a660a | |||
| 31e2e7d45c | |||
| 43dee8ce54 | |||
| 682fc40708 | |||
| 482fe6604c | |||
| 2660164118 | |||
| 5e85bce2b7 | |||
| dd4eb80e81 | |||
| 498aa3256f | |||
| ac9dc3b9c8 | |||
| 911c976f9b | |||
| 5eb1a31552 | |||
| 02a20507cb | |||
| 3d8c55722c | |||
| 19a0cfe72d | |||
| f7149dc7be | |||
| c0300ec0a4 | |||
| 310af25226 | |||
| 7f11d44e40 | |||
| 47bca29e3c | |||
| 614f423498 | |||
| 71b85f1238 | |||
| eda62e1218 | |||
| f917d22655 | |||
| c96cc7a008 | |||
| 6f3a67fdc1 | |||
| 96f41ce4bf | |||
| f1a826a116 | |||
| a4c2d7f808 | |||
| 3826d1150d | |||
| 031bcf5ff2 | |||
| ea38779c85 | |||
| 193d290285 | |||
| 50f5be70aa | |||
| 1651c48856 | |||
| 649b9d0ca6 | |||
| a41dff7acc | |||
| 3a0141174b | |||
| dbcb8d3dbf | |||
| a2e73d64d6 | |||
| 0babf5db23 | |||
| 93d447ffc7 | |||
| be0b082463 | |||
| 80532862d5 | |||
| a6769e46f9 | |||
| b61cbefd30 | |||
| 30b86e08fd | |||
| 10b803fd59 | |||
| 4c6f503cc7 | |||
| c1ee493073 | |||
| e8f508a7cc | |||
| afdd24591a | |||
| 2654961e1c | |||
| e50be16730 | |||
| d9789e522f | |||
| 809f59dfd1 | |||
| 45fb1ae4ba | |||
| 3a8525bb95 | |||
| f9e358b76c | |||
| ad1ae12321 | |||
| 64c3f3f0cd | |||
| 8f5a3cb639 | |||
| 8abde49ba2 | |||
| 20bfe4c1ba | |||
| 3cb5f25681 | |||
| f3e1da894b | |||
| eb7435f8b9 | |||
| 126d3559ca | |||
| c0b3f63985 | |||
| 4f5dac4f85 | |||
| c3c218035a | |||
| 7461a5cb87 | |||
| db931b7806 | |||
| cbde92c44e | |||
| 00f4ae760d | |||
| 1ad45598b5 | |||
| b1759ab25a | |||
| 3ca3ea32fd | |||
| f767db22a8 | |||
| ecdcf239fe | |||
| b9cc0cf839 | |||
| 3c3bb933e9 | |||
| 6edc88f7d6 | |||
| de3ee174e4 | |||
| 6c567c813e | |||
| a2b21df6ab | |||
| 338f7028ec | |||
| a0894a794b | |||
| 6095a0fe40 | |||
| 8d838e89ee | |||
| e237f7488f | |||
| 098bbb6927 | |||
| 100509866f | |||
| caf166eb90 | |||
| 9a0eda2433 | |||
| 1360489a05 | |||
| 43553f7c28 | |||
| 99b84a76ad | |||
| 6ae04c4947 | |||
| fbf68dcc14 | |||
| 359ec5d2db | |||
| 980b075ce9 | |||
| d0f1859ef5 | |||
| 6d32a99d50 | |||
| 1f21cdc0bd | |||
| e11ce668a2 | |||
| 91bcfbb4e8 | |||
| 17f3687e28 | |||
| 357323b8fc | |||
| cfc85b7fea | |||
| 2a3d98c996 | |||
| 8d35e67dd6 | |||
| d857c91a59 | |||
| 518c0e3ae3 | |||
| 20b7f406f8 | |||
| e589f3471b | |||
| 2c22626106 | |||
| bd4507e99d | |||
| 46b9428f9e | |||
| 78ebe63105 | |||
| 1aded6eaf4 | |||
| a6b8c95519 | |||
| 060cb48094 | |||
| 283c9d7ccf | |||
| ac83130dd7 | |||
| c31af39ada | |||
| 537d18ede5 | |||
| 128fbe0d5b | |||
| 1116474c45 | |||
| 176a106771 | |||
| e8b5d73421 | |||
| 2154b440d2 | |||
| 2c39906816 | |||
| c0f574d036 | |||
| 6415c09a07 | |||
| adbfd27660 | |||
| 6d7f10ef20 | |||
| 25d7192677 | |||
| bbbe83370f | |||
| c73191ab05 | |||
| 7aaa617643 | |||
| f6b69c9098 | |||
| bd5e8dc33b | |||
| e6bddcafee | |||
| 629afd3301 | |||
| 21f972b0a5 | |||
| e75009a461 | |||
| 385b1d0133 | |||
| b8f9b83500 | |||
| 5c245af669 | |||
| 87b7d03cce | |||
| ed2ab8a6d0 | |||
| 000d550ff8 | |||
| d8d00926ff | |||
| b127bed0fc | |||
| 66d79e2d23 | |||
| 9f2e5a98ea | |||
| f90d8667a4 | |||
| 8822843254 | |||
| bc5baf1f05 | |||
| 3ba2934dfa | |||
| a025518509 | |||
| 2e42da35f9 | |||
| 4f3524dbac | |||
| d35218e991 | |||
| c12b7ffd3e | |||
| 156bdc6444 | |||
| 855f75369d | |||
| 3f2a377e7a | |||
| 8c9e90524b | |||
| 6f1a66924f | |||
| c4c4ae3715 | |||
| 5973ceffb8 | |||
| 875d6e7e6f | |||
| cd1d80c1cb | |||
| 6d6c99f2ac | |||
| 6f0440e459 | |||
| e8c48c0a1f | |||
| ff402fb6ec | |||
| 5481af963c | |||
| 6edf0ef003 | |||
| 8d430aa2eb | |||
| df6dfcea11 | |||
| a22d6a1bf6 | |||
| 71382b6c0f | |||
| ac25043b27 | |||
| 0debd47d3e | |||
| ea734b5924 | |||
| e51ffc1a6e | |||
| a401fbf217 | |||
| e00ec6710d | |||
| 28bb33aa5a | |||
| 9f5e8efbe0 | |||
| 2d93f9d703 | |||
| 3d79e2c9d2 | |||
| da49adebc3 | |||
| 3a9ac529d5 | |||
| 731c2d66bc | |||
| 2c82a1a35f | |||
| 078da85f5e | |||
| 5193c0aeea | |||
| e5573bfb4d | |||
| 07fa6b12a6 | |||
| 031bd45e36 | |||
| 2b7f745369 | |||
| 19baa79d64 | |||
| 389e719302 | |||
| ee7cd3de5c | |||
| b5e81f931b | |||
| 2eaaa19beb | |||
| 1eb8e21d4b | |||
| 412b9de263 | |||
| c8780d2d7a | |||
| a5f5008c77 | |||
| bbc5c4948a | |||
| c391a49cc1 | |||
| 4090680ef7 | |||
| 72477b49d7 | |||
| 15d5fce00a | |||
| 49ff42bef5 | |||
| 70bf3f8671 | |||
| 2085c470e6 | |||
| aa1d2a709d | |||
| fe1ab06924 | |||
| 6e17d39adf | |||
| e516a0714f | |||
| 55a853eb76 | |||
| 95b30f8da5 | |||
| 8eb096b3ef | |||
| dec237b104 | |||
| 23b870ec1d | |||
| ff2f94c12b | |||
| 9ccdc5aff6 | |||
| 62171c5974 | |||
| e5c1945931 | |||
| 00c847ee56 | |||
| d58d4dd8fa | |||
| 49df360652 | |||
| 5f7ead023f | |||
| 7ced1821db | |||
| 6be7960e1c | |||
| cd740fc18b | |||
| 127c8e0eb6 | |||
| ce1adf0fd7 | |||
| 6247598d3f | |||
| f4c8b9e29f | |||
| 41c1cc6e0b | |||
| f1e7f861e9 | |||
| 0b20cb449a | |||
| 5c801f2741 | |||
| 87216279ca | |||
| b6a59be317 | |||
| e75c61d7aa | |||
| 924c543430 | |||
| 1c3b871204 | |||
| b8f40cfa99 | |||
| 058c9f8b84 | |||
| ff85d00e7f | |||
| e15bd25f37 | |||
| 4aabe8681f | |||
| 3e9524ee65 | |||
| e23100c09b | |||
| f330ff865c | |||
| 6665cc866a | |||
| 10b2fa3a61 | |||
| 7558fe7c1b | |||
| 0f3f7c3b37 | |||
| 0cf723ec1a | |||
| 1684f60207 | |||
| 613dc73fd4 | |||
| 867536f8ce | |||
| 7e7b015aa1 | |||
| 672945a359 | |||
| 6a2ecc90b3 | |||
| 35067512e9 | |||
| 7c6d490a4e | |||
| a62f2dac58 | |||
| c243e4add9 | |||
| d24f6295d4 | |||
| 3eeef346b1 | |||
| 6dbfb638c6 | |||
| 4548b25b78 | |||
| 974ac9ad5f | |||
| 7c5d484f59 | |||
| 742871fd3e | |||
| e816381777 | |||
| 77a30e09cb | |||
| 4b5987e37c | |||
| debf79118f | |||
| b894166d1b | |||
| 181cd4f276 | |||
| c63321bb7a | |||
| af493ac976 | |||
| fe41da1506 | |||
| 9bb3acd2c7 | |||
| ec671fe447 | |||
| a508640fa0 | |||
| e6b1905679 | |||
| 9ac30381fa | |||
| 20cea84917 | |||
| 56d38184b4 | |||
| bfca5e3c44 | |||
| fa057f663e | |||
| c03a432f7a | |||
| e21144eb1f | |||
| 5b33d1e21b | |||
| cd119b9ee5 | |||
| fcbfa13bf3 | |||
| 2586b0326d | |||
| eeb680783b | |||
| b71b6a48a0 | |||
| f86972513b | |||
| 3e331d3772 | |||
| d15203dbf5 | |||
| 68040f210a | |||
| 37decf3a7c | |||
| 99f6f9e454 | |||
| cfaf68ae61 | |||
| 8fe4c84b72 | |||
| 94cbed2585 | |||
| 675e63948c | |||
| 1b99f861a3 | |||
| 2da5eaf81c | |||
| cf3ba52828 | |||
| 2550153f26 | |||
| a2ddfdf5a6 | |||
| 15f0f7e369 | |||
| 92b0bc9f10 | |||
| dc8f78163f | |||
| 29ac28f94a | |||
| 952779a74c | |||
| 98a599d079 | |||
| f48f1c4700 | |||
| 6edcc6ed41 | |||
| be64e8cddc | |||
| 8475b216a4 | |||
| e2286a36b4 | |||
| dd54e26b4f | |||
| 40fa2605b1 | |||
| cee14f10d6 | |||
| e4f181beb3 | |||
| 6bd49dd595 | |||
| b31666cc86 | |||
| e385eec1d6 | |||
| 3ebfe3e117 | |||
| b846df9e0e | |||
| 8c4f02fe5a | |||
| c7090ae14a | |||
| 111525792d | |||
| 0f4ef874ca | |||
| d47d9c5ed5 | |||
| 16f2c21061 | |||
| ca7da2c961 | |||
| 3e5d77fdff | |||
| 0d49ffd053 | |||
| 2e82c41c1a | |||
| 89701a3cc0 | |||
| 34e34d28db | |||
| ff544f48fb | |||
| 5f475ab8cf | |||
| f7a6bd422a | |||
| 99ca276556 | |||
| 64a553f91f | |||
| 3640d187b8 | |||
| 313b40235a | |||
| fe6b69c41c | |||
| e060a0e7f2 | |||
| 2b1da0d910 | |||
| c1db5c9549 | |||
| a54663d60c | |||
| d9e084869a | |||
| 9afbf02a42 | |||
| 0c4a5528ac | |||
| 3b8f9d4547 | |||
| 042968b016 | |||
| 8a5a778293 | |||
| 46ce8d7e81 | |||
| bf51a081d9 | |||
| bb0c7b39fe | |||
| a0c3fbbde9 | |||
| 03e6d4563f | |||
| d94979fe3e | |||
| 7f1f6a6e84 | |||
| a686fa6407 | |||
| 55d9989b85 | |||
| 79f7c1cf83 | |||
| ccc649d06c | |||
| c82df8f22e | |||
| c647d540a7 | |||
| d1adec29f9 | |||
| 5b5c9afa29 | |||
| 1f5c791c37 | |||
| 5b5ccb236f | |||
| 66571a0b63 | |||
| 7b8e5b36c0 | |||
| 31bf962bba | |||
| 15587ac72f | |||
| 21910b7050 | |||
| 0781f29726 | |||
| 5441c52d64 | |||
| b21bc63313 | |||
| 7ba9f9ac7b | |||
| e36eda5404 | |||
| a5aa3304a4 | |||
| 7cda6cfd49 | |||
| 5f5535b466 | |||
| eb71880e18 | |||
| f604cf19c7 | |||
| e3f588679c |
@@ -3,6 +3,5 @@
|
||||
.git* export-ignore
|
||||
debian-devel export-ignore
|
||||
debian-stable export-ignore
|
||||
weechat.spec export-ignore
|
||||
.mailmap export-ignore
|
||||
tools/build_debian.sh export-ignore
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a bug report (please do not report security issues here)
|
||||
labels: bug
|
||||
|
||||
---
|
||||
|
||||
<!-- Please do not report any security issue here, see file Contributing.adoc -->
|
||||
|
||||
## Bug summary
|
||||
|
||||
|
||||
|
||||
## Steps to reproduce
|
||||
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
## Current behavior
|
||||
|
||||
|
||||
|
||||
## Expected behavior
|
||||
|
||||
|
||||
|
||||
## Suggested solutions
|
||||
|
||||
|
||||
|
||||
## Additional information
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
<!-- MANDATORY INFO: -->
|
||||
|
||||
- WeeChat version:
|
||||
- OS, distribution and version:
|
||||
- Terminal:
|
||||
- Terminal multiplexer (screen/tmux/…/none):
|
||||
@@ -0,0 +1,110 @@
|
||||
name: Bug report
|
||||
description: Create a bug report
|
||||
labels: ["bug"]
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Before submitting a bug, please check that it has not already been reported by searching in [open and closed bugs](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Abug).
|
||||
If you don't use the latest version, please try if possible with the latest stable release to be sure the issue is still present and report the issue on this version.
|
||||
|
||||
**IMPORTANT**: please do not report any security issue here, see [Contributing.adoc](https://github.com/weechat/weechat/blob/master/Contributing.adoc#security-reports).
|
||||
|
||||
- type: textarea
|
||||
id: bug-description
|
||||
attributes:
|
||||
label: Describe the bug
|
||||
description: A clear and concise description of what the bug is.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: steps-to-reproduce
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: |
|
||||
Steps to reproduce the issue.
|
||||
If possible, please try to reproduce with a default configuration and no scripts loaded (`weechat -t`). If the issue is related to a script, please mention the list of all scripts loaded.
|
||||
placeholder: |
|
||||
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: current-behavior
|
||||
attributes:
|
||||
label: Current behavior
|
||||
description: |
|
||||
What currently happens.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: What is actually supposed to happen.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: suggested-solutions
|
||||
attributes:
|
||||
label: Suggested solutions
|
||||
description: How you think this issue can be resolved.
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: additional-information
|
||||
attributes:
|
||||
label: Additional information
|
||||
description: |
|
||||
For a crash, please include a backtrace from gdb, see the [User's guide](https://weechat.org/doc/weechat/user/#report_crashes).
|
||||
For a display issue, please add a screenshot if it makes sense.
|
||||
Please mention if other versions are affected as well and if some versions are not affected (regression?).
|
||||
And any additional information you deem relevant.
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: input
|
||||
id: weechat-version
|
||||
attributes:
|
||||
label: WeeChat version
|
||||
description: |
|
||||
For a stable release: output of `weechat --version`.
|
||||
For the development version: output of command `/v` in WeeChat.
|
||||
placeholder: "4.1.1"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: os-version
|
||||
attributes:
|
||||
label: What OS are you using?
|
||||
description: Name of the operating system and its version.
|
||||
placeholder: Debian 12, Ubuntu 23.10, MacOS 14, ...
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: terminal
|
||||
attributes:
|
||||
label: On which terminal are you running WeeChat?
|
||||
description: The name of terminal if you think it can be related to the issue (mainly for display issues).
|
||||
placeholder: Terminator, Xterm, GNOME Terminal, Urxvt, ...
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: input
|
||||
id: terminal-multiplexer
|
||||
attributes:
|
||||
label: Which terminal multiplexer are you using?
|
||||
description: The name of the terminal multiplexer if you think it can be related to the issue (mainly for display issues).
|
||||
placeholder: none, tmux, screen, ...
|
||||
validations:
|
||||
required: false
|
||||
@@ -1,8 +0,0 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Request a new feature / enhancement
|
||||
labels: feature
|
||||
|
||||
---
|
||||
|
||||
## Feature description
|
||||
@@ -0,0 +1,17 @@
|
||||
name: Feature request
|
||||
description: Request a new feature / enhancement
|
||||
labels: ["feature"]
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Before submitting a feature request, please check that it has not already been reported by searching in [open and closed feature requests](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Afeature).
|
||||
|
||||
- type: textarea
|
||||
id: feature
|
||||
attributes:
|
||||
label: Feature description
|
||||
description: A description of the feature you would like.
|
||||
validations:
|
||||
required: true
|
||||
@@ -1,15 +0,0 @@
|
||||
---
|
||||
name: Question
|
||||
about: Ask a question (please read first FAQ and docs)
|
||||
labels: question
|
||||
|
||||
---
|
||||
|
||||
## Question
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
- WeeChat version:
|
||||
- OS, distribution and version:
|
||||
@@ -0,0 +1,19 @@
|
||||
name: Question
|
||||
description: Ask a question
|
||||
labels: ["question"]
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Before opening an issue with a question:
|
||||
- please read the [FAQ](https://weechat.org/doc/weechat/faq) and [documentation](https://weechat.org/doc/weechat/)
|
||||
- please ask on #weechat channel (on server irc.libera.chat).
|
||||
|
||||
- type: textarea
|
||||
id: question
|
||||
attributes:
|
||||
label: Question
|
||||
description: Your question.
|
||||
validations:
|
||||
required: true
|
||||
+104
-9
@@ -1,11 +1,47 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '22 9 * * 2'
|
||||
|
||||
env:
|
||||
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-3.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php-dev libphp-embed libargon2-dev libsodium-dev flake8 pylint python3-bandit asciidoctor ruby-pygments.rb shellcheck
|
||||
WEECHAT_DEPENDENCIES: >-
|
||||
asciidoctor
|
||||
cmake
|
||||
curl
|
||||
devscripts
|
||||
equivs
|
||||
flake8
|
||||
gem2deb
|
||||
guile-3.0-dev
|
||||
lcov
|
||||
libargon2-dev
|
||||
libaspell-dev
|
||||
libcjson-dev
|
||||
libcpputest-dev
|
||||
libcurl4-gnutls-dev
|
||||
libgcrypt20-dev
|
||||
libgnutls28-dev
|
||||
liblua5.3-dev
|
||||
libncurses-dev
|
||||
libperl-dev
|
||||
libphp-embed
|
||||
libsodium-dev
|
||||
libv8-dev
|
||||
libzstd-dev
|
||||
ninja-build
|
||||
php-dev
|
||||
pkg-config
|
||||
pylint
|
||||
python3-bandit
|
||||
python3-dev
|
||||
python3-pip
|
||||
ruby-pygments.rb
|
||||
shellcheck
|
||||
tcl8.6-dev
|
||||
zlib1g-dev
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -18,7 +54,9 @@ jobs:
|
||||
config:
|
||||
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
||||
- { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" }
|
||||
- { name: "gcc_no_nls", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_NLS=OFF" }
|
||||
- { name: "gcc_no_nls", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_NLS=OFF -DENABLE_DOC=OFF" }
|
||||
- { name: "gcc_no_zstd", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_ZSTD=OFF -DENABLE_DOC=OFF" }
|
||||
- { name: "gcc_no_cjson", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CJSON=OFF -DENABLE_DOC=OFF" }
|
||||
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
||||
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
||||
|
||||
@@ -33,6 +71,8 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
||||
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||
sudo apt-get --yes purge php8.1-imagick
|
||||
sudo -H pip3 install --ignore-installed msgcheck
|
||||
|
||||
- name: Check gettext files
|
||||
@@ -42,7 +82,7 @@ jobs:
|
||||
run: ./tools/check_scripts.sh
|
||||
|
||||
- name: Check Python stub file
|
||||
run: ./doc/python_stub.py | diff src/plugins/python/weechat.pyi -
|
||||
run: ./tools/generate_python_stub.py | diff src/plugins/python/weechat.pyi -
|
||||
|
||||
- name: Check Curl symbols
|
||||
run: curl --silent --show-error --fail --retry 10 https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
|
||||
@@ -65,6 +105,22 @@ jobs:
|
||||
weechat --version
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
- name: Test Relay OpenAPI
|
||||
if: ${{ matrix.config.name == 'gcc' }}
|
||||
env:
|
||||
RELAY_PASSWORD: test
|
||||
run: |
|
||||
sudo -H pip3 install --ignore-installed schemathesis
|
||||
weechat-headless \
|
||||
--dir /tmp/weechat-test-api \
|
||||
--run-command '/set relay.network.password "${{ env.RELAY_PASSWORD }}"' \
|
||||
--run-command '/relay add api 9000' \
|
||||
--daemon \
|
||||
;
|
||||
sleep 5
|
||||
./tools/test_relay_api.sh http://localhost:9000
|
||||
echo '*/quit' >/tmp/weechat-test-api/weechat_fifo_*
|
||||
|
||||
- name: Code coverage
|
||||
if: ${{ matrix.config.name == 'gcc_coverage' }}
|
||||
env:
|
||||
@@ -82,7 +138,6 @@ jobs:
|
||||
matrix:
|
||||
os:
|
||||
- macos-12
|
||||
- macos-11
|
||||
config:
|
||||
- { name: "gcc", cc: "gcc", cxx: "g++" }
|
||||
- { name: "clang", cc: "clang", cxx: "clang++" }
|
||||
@@ -92,7 +147,9 @@ jobs:
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Homebrew
|
||||
id: setup-homebrew
|
||||
uses: Homebrew/actions/setup-homebrew@master
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@@ -110,7 +167,9 @@ jobs:
|
||||
/usr/local/bin/python3.11 \
|
||||
/usr/local/bin/python3.11-config \
|
||||
;
|
||||
brew install asciidoctor guile lua pkg-config ruby
|
||||
brew install asciidoctor cjson guile lua pkg-config ruby
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
@@ -118,7 +177,7 @@ jobs:
|
||||
CXX: ${{ matrix.config.cxx }}
|
||||
run: |
|
||||
mkdir build-tmp && cd build-tmp
|
||||
cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_PHP=OFF
|
||||
cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_DOC_INCOMPLETE=ON -DENABLE_PHP=OFF
|
||||
make VERBOSE=1 -j2
|
||||
sudo make install
|
||||
|
||||
@@ -169,3 +228,39 @@ jobs:
|
||||
weechat-curses --help
|
||||
weechat --version
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
codeql-analysis:
|
||||
|
||||
name: CodeQL
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
||||
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||
sudo apt-get --yes purge php8.1-imagick
|
||||
sudo -H pip3 install --ignore-installed msgcheck
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: cpp
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:cpp"
|
||||
|
||||
+9
-55
@@ -1,57 +1,11 @@
|
||||
# ignored files for Git
|
||||
|
||||
*.a
|
||||
*.gmo
|
||||
*.la
|
||||
*.lai
|
||||
*.lo
|
||||
*.m4
|
||||
*.o
|
||||
*.Plo
|
||||
*.Po
|
||||
*.so
|
||||
*.so.0
|
||||
*.so.0.0.0
|
||||
*.1
|
||||
|
||||
ABOUT-NLS
|
||||
autom4te*
|
||||
build/*
|
||||
builddir/*
|
||||
compile
|
||||
config.guess
|
||||
config.h
|
||||
config.h.in*
|
||||
config-git.h
|
||||
config.log
|
||||
config.rpath
|
||||
config.status
|
||||
config.sub
|
||||
configure
|
||||
debian
|
||||
!tools/debian
|
||||
debian-devel/changelog
|
||||
debian-devel/*.log
|
||||
debian-stable/*.log
|
||||
depcomp
|
||||
insert-header.sin
|
||||
install-sh
|
||||
intl/*
|
||||
libtool
|
||||
ltmain.sh
|
||||
Makefile
|
||||
Makefile.in*
|
||||
Makevars.template
|
||||
missing
|
||||
po/*quot*
|
||||
POTFILES
|
||||
remove-potcdate.sed
|
||||
Rules-quot
|
||||
weechat.pc
|
||||
weechat-*.cygport
|
||||
|
||||
*stamp
|
||||
stamp*
|
||||
|
||||
src/gui/curses/weechat
|
||||
src/gui/curses/weechat-curses
|
||||
/build
|
||||
/builddir
|
||||
/debian
|
||||
/debian-devel/changelog
|
||||
/debian-devel/*.log
|
||||
/debian-devel/*-stamp
|
||||
/debian-stable/*.log
|
||||
/debian-stable/*-stamp
|
||||
/release
|
||||
|
||||
@@ -67,6 +67,7 @@ Alphabetically:
|
||||
* Jiri Golembiovsky (GolemJ)
|
||||
* Joey Pabalinas (alyptik)
|
||||
* Johan Rylander
|
||||
* Johannes Kuhn
|
||||
* Joram Schrijver
|
||||
* Jos Ahrens
|
||||
* Joseph Kichline
|
||||
@@ -81,10 +82,12 @@ Alphabetically:
|
||||
* Lázaro A.
|
||||
* Leonid Evdokimov
|
||||
* Linus Heckemann
|
||||
* LuK1337
|
||||
* Maarten de Vries
|
||||
* Mantas Mikulėnas (grawity)
|
||||
* Marco Paolone
|
||||
* Marco Sirabella
|
||||
* Mario Campos
|
||||
* Mateusz Poszwa
|
||||
* Matt Robinson
|
||||
* Matthew Horan
|
||||
@@ -149,6 +152,7 @@ Alphabetically:
|
||||
* Vasco Almeida
|
||||
* Victorhck
|
||||
* Voroskoi
|
||||
* wfrsk
|
||||
* Wojciech Kwolek
|
||||
* W. Trevor King
|
||||
* Yannick Palanque
|
||||
|
||||
+115
-106
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -19,28 +19,35 @@
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(weechat C)
|
||||
|
||||
# CMake options
|
||||
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||
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 -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
|
||||
# compiler options
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration -Wformat -Werror=format-security")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
|
||||
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
||||
# extra options specific to gcc/g++
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat-overflow=2 -Wformat-truncation=2")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat-overflow=2 -Wformat-truncation=2")
|
||||
endif()
|
||||
|
||||
# version
|
||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-minor OUTPUT_VARIABLE VERSION_MINOR)
|
||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-patch OUTPUT_VARIABLE VERSION_PATCH)
|
||||
execute_process(COMMAND "${CMAKE_SOURCE_DIR}/version.sh" devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
||||
execute_process(COMMAND "${CMAKE_SOURCE_DIR}/version.sh" devel-minor OUTPUT_VARIABLE VERSION_MINOR)
|
||||
execute_process(COMMAND "${CMAKE_SOURCE_DIR}/version.sh" devel-patch OUTPUT_VARIABLE VERSION_PATCH)
|
||||
string(REGEX REPLACE "\n" "" VERSION_MAJOR "${VERSION_MAJOR}")
|
||||
string(REGEX REPLACE "\n" "" VERSION_MINOR "${VERSION_MINOR}")
|
||||
string(REGEX REPLACE "\n" "" VERSION_PATCH "${VERSION_PATCH}")
|
||||
if(VERSION_PATCH STREQUAL "")
|
||||
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
|
||||
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}")
|
||||
else()
|
||||
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
|
||||
endif()
|
||||
|
||||
# license
|
||||
@@ -59,67 +66,70 @@ set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
||||
|
||||
if(NOT DEFINED LIBDIR)
|
||||
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib)
|
||||
set(LIBDIR "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED WEECHAT_LIBDIR)
|
||||
set(WEECHAT_LIBDIR ${LIBDIR}/${PROJECT_NAME})
|
||||
set(WEECHAT_LIBDIR "${LIBDIR}/${PROJECT_NAME}")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED DATAROOTDIR)
|
||||
set(DATAROOTDIR ${CMAKE_INSTALL_PREFIX}/share)
|
||||
set(DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED WEECHAT_SHAREDIR)
|
||||
set(WEECHAT_SHAREDIR ${DATAROOTDIR}/weechat)
|
||||
set(WEECHAT_SHAREDIR "${DATAROOTDIR}/weechat")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED MANDIR)
|
||||
set(MANDIR ${DATAROOTDIR}/man)
|
||||
set(MANDIR "${DATAROOTDIR}/man")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED LOCALEDIR)
|
||||
set(LOCALEDIR ${DATAROOTDIR}/locale)
|
||||
set(LOCALEDIR "${DATAROOTDIR}/locale")
|
||||
endif()
|
||||
|
||||
if(DEFINED INCLUDEDIR)
|
||||
set(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
|
||||
set(INCLUDEDIR "${INCLUDEDIR}/${PROJECT_NAME}")
|
||||
else()
|
||||
set(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
|
||||
set(INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME}")
|
||||
endif()
|
||||
|
||||
option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
|
||||
option(ENABLE_HEADLESS "Compile the headless binary (required for tests)" ON)
|
||||
option(ENABLE_NLS "Enable Native Language Support" ON)
|
||||
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||
option(ENABLE_EXEC "Enable Exec plugin" ON)
|
||||
option(ENABLE_FIFO "Enable FIFO plugin" ON)
|
||||
option(ENABLE_FSET "Enable Fast Set plugin" ON)
|
||||
option(ENABLE_IRC "Enable IRC plugin" ON)
|
||||
option(ENABLE_LOGGER "Enable Logger plugin" ON)
|
||||
option(ENABLE_RELAY "Enable Relay plugin" ON)
|
||||
option(ENABLE_SCRIPT "Enable Script plugin (script manager)" ON)
|
||||
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
||||
option(ENABLE_PERL "Enable Perl scripting language" ON)
|
||||
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
||||
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
||||
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
||||
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" OFF)
|
||||
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 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)
|
||||
option(ENABLE_TESTS "Enable tests" OFF)
|
||||
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
|
||||
option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
|
||||
option(ENABLE_HEADLESS "Compile the headless binary" ON)
|
||||
option(ENABLE_NLS "Enable Native Language Support" ON)
|
||||
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||
option(ENABLE_ZSTD "Enable Zstandard compression" ON)
|
||||
option(ENABLE_CJSON "Enable cJSON support" ON)
|
||||
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||
option(ENABLE_EXEC "Enable Exec plugin" ON)
|
||||
option(ENABLE_FIFO "Enable FIFO plugin" ON)
|
||||
option(ENABLE_FSET "Enable Fast Set plugin" ON)
|
||||
option(ENABLE_IRC "Enable IRC plugin" ON)
|
||||
option(ENABLE_LOGGER "Enable Logger plugin" ON)
|
||||
option(ENABLE_RELAY "Enable Relay plugin" ON)
|
||||
option(ENABLE_SCRIPT "Enable Script plugin (script manager)" ON)
|
||||
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, …)" ON)
|
||||
option(ENABLE_PERL "Enable Perl scripting language" ON)
|
||||
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
||||
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
||||
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
||||
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" OFF)
|
||||
option(ENABLE_PHP "Enable PHP scripting language" ON)
|
||||
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
|
||||
option(ENABLE_ENCHANT "Use Enchant lib in Spell checker plugin" OFF)
|
||||
option(ENABLE_TRIGGER "Enable Trigger 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)
|
||||
option(ENABLE_DOC_INCOMPLETE "Enable incomplete doc" OFF)
|
||||
option(ENABLE_TESTS "Enable tests" OFF)
|
||||
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
|
||||
|
||||
# code coverage
|
||||
add_library(coverage_config INTERFACE)
|
||||
@@ -128,6 +138,29 @@ if(ENABLE_CODE_COVERAGE)
|
||||
target_link_libraries(coverage_config INTERFACE --coverage)
|
||||
endif()
|
||||
|
||||
# headless mode is required for documentation
|
||||
if(ENABLE_DOC AND NOT ENABLE_HEADLESS)
|
||||
message(FATAL_ERROR "Headless mode is required to build documentation.")
|
||||
endif()
|
||||
|
||||
# all plugins (except javascript) are required for documentation
|
||||
if(ENABLE_DOC AND NOT ENABLE_DOC_INCOMPLETE
|
||||
AND (NOT ENABLE_NLS OR NOT ENABLE_ALIAS OR NOT ENABLE_BUFLIST
|
||||
OR NOT ENABLE_CHARSET OR NOT ENABLE_EXEC OR NOT ENABLE_FIFO
|
||||
OR NOT ENABLE_FSET OR NOT ENABLE_IRC OR NOT ENABLE_LOGGER
|
||||
OR NOT ENABLE_RELAY OR NOT ENABLE_SCRIPT OR NOT ENABLE_SCRIPTS
|
||||
OR NOT ENABLE_PERL OR NOT ENABLE_PYTHON OR NOT ENABLE_RUBY
|
||||
OR NOT ENABLE_LUA OR NOT ENABLE_TCL OR NOT ENABLE_GUILE
|
||||
OR NOT ENABLE_PHP OR NOT ENABLE_SPELL OR NOT ENABLE_TRIGGER
|
||||
OR NOT ENABLE_TYPING OR NOT ENABLE_XFER))
|
||||
message(
|
||||
FATAL_ERROR
|
||||
" All plugins are required to build documentation.\n"
|
||||
" If you really want to build incomplete docs, enable this option:\n"
|
||||
" -DENABLE_DOC_INCOMPLETE=ON"
|
||||
)
|
||||
endif()
|
||||
|
||||
# headless mode is required for tests
|
||||
if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
|
||||
message(FATAL_ERROR "Headless mode is required for tests.")
|
||||
@@ -159,6 +192,9 @@ include(CheckSymbolExists)
|
||||
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
||||
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
||||
|
||||
check_include_files("malloc.h" HAVE_MALLOC_H)
|
||||
check_symbol_exists("malloc_trim" "malloc.h" HAVE_MALLOC_TRIM)
|
||||
|
||||
check_function_exists(mallinfo HAVE_MALLINFO)
|
||||
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
||||
|
||||
@@ -169,24 +205,11 @@ if(ENABLE_LARGEFILE)
|
||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
|
||||
endif()
|
||||
|
||||
# Check for Gettext
|
||||
if(ENABLE_NLS)
|
||||
find_package(Gettext)
|
||||
if(GETTEXT_FOUND)
|
||||
add_definitions(-DENABLE_NLS)
|
||||
find_package(Intl)
|
||||
if(Intl_FOUND)
|
||||
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
||||
endif()
|
||||
else()
|
||||
message(SEND_ERROR "Gettext not found")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Check for libgcrypt
|
||||
find_package(GCRYPT REQUIRED)
|
||||
pkg_check_modules(LIBGCRYPT REQUIRED libgcrypt)
|
||||
add_definitions(-DHAVE_GCRYPT)
|
||||
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
|
||||
include_directories(${LIBGCRYPT_INCLUDE_DIRS})
|
||||
list(APPEND EXTRA_LIBS ${LIBGCRYPT_LDFLAGS})
|
||||
|
||||
# Check for GnuTLS
|
||||
find_package(GnuTLS REQUIRED)
|
||||
@@ -199,7 +222,16 @@ list(APPEND EXTRA_LIBS gnutls)
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
||||
# Check for zstd
|
||||
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
||||
if(ENABLE_ZSTD)
|
||||
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
||||
add_definitions(-DHAVE_ZSTD)
|
||||
endif()
|
||||
|
||||
# Check for cJSON
|
||||
if(ENABLE_CJSON)
|
||||
pkg_check_modules(LIBCJSON REQUIRED libcjson)
|
||||
add_definitions(-DHAVE_CJSON)
|
||||
endif()
|
||||
|
||||
# Check for iconv
|
||||
find_package(Iconv)
|
||||
@@ -227,7 +259,13 @@ endif()
|
||||
add_subdirectory(icons)
|
||||
|
||||
if(ENABLE_NLS)
|
||||
find_package(Gettext REQUIRED)
|
||||
add_definitions(-DENABLE_NLS)
|
||||
find_package(Intl REQUIRED)
|
||||
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
||||
add_subdirectory(po)
|
||||
else()
|
||||
add_custom_target(translations COMMAND true)
|
||||
endif()
|
||||
|
||||
add_subdirectory(src)
|
||||
@@ -266,7 +304,7 @@ add_custom_target(uninstall
|
||||
|
||||
add_custom_target(dist
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/tools/makedist.sh" "${VERSION}" "HEAD" "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
)
|
||||
|
||||
# pkgconfig file
|
||||
@@ -275,52 +313,23 @@ set(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||
set(exec_prefix "\${prefix}")
|
||||
string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${prefix}" libdir "${LIBDIR}")
|
||||
set(includedir "\${prefix}/include")
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/pkgconfig)
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/weechat.pc" @ONLY)
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat.pc" DESTINATION "${LIBDIR}/pkgconfig")
|
||||
|
||||
# cygport file (used to build Cygwin packages)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in" "${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport" @ONLY)
|
||||
|
||||
# install some files (only on Cygwin)
|
||||
if(CYGWIN)
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Contributing.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/README.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.adoc
|
||||
DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/Contributing.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/README.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.adoc"
|
||||
DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}"
|
||||
)
|
||||
endif()
|
||||
|
||||
# desktop file
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.desktop DESTINATION ${DATAROOTDIR}/applications)
|
||||
|
||||
# packages
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
||||
set(CPACK_PACKAGE_VENDOR "Sébastien Helleu")
|
||||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.adoc")
|
||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
|
||||
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
|
||||
|
||||
# binary package
|
||||
set(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
|
||||
set(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
|
||||
|
||||
# source package
|
||||
set(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
|
||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
|
||||
set(CPACK_SOURCE_IGNORE_FILES
|
||||
"/\\\\.git" "/build/" "/m4/"
|
||||
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
|
||||
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
|
||||
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
|
||||
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
|
||||
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
|
||||
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
|
||||
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
|
||||
)
|
||||
|
||||
include(CPack)
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/weechat.desktop" DESTINATION "${DATAROOTDIR}/applications")
|
||||
|
||||
+731
-13
File diff suppressed because it is too large
Load Diff
+24
-4
@@ -29,7 +29,7 @@ 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 Bullseye,
|
||||
* Your *operating system*: its name and version (examples: Linux Debian Bookworm,
|
||||
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. +
|
||||
@@ -38,7 +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/doc/user/#report_crashes[User's guide] for more info).
|
||||
https://weechat.org/doc/weechat/user/#report_crashes[User's guide] for more info).
|
||||
* The *actual result*.
|
||||
* The *expected result*: the correct result you are expecting.
|
||||
|
||||
@@ -68,7 +68,7 @@ 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/doc/dev/#translations[translations]
|
||||
https://weechat.org/doc/weechat/dev/#translations[translations]
|
||||
in Developer's guide.
|
||||
|
||||
== Feature requests
|
||||
@@ -84,6 +84,26 @@ 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/doc/dev/#coding_rules[coding rules]
|
||||
https://weechat.org/doc/weechat/dev/#coding_rules[coding rules]
|
||||
in Developer's guide, which contains info about styles used, naming convention
|
||||
and other useful info.
|
||||
|
||||
== Semantic versioning
|
||||
|
||||
Since version 4.0.0, WeeChat is following a "practical" semantic versioning.
|
||||
|
||||
It is based on https://semver.org/[Semantic Versioning] but in a less strict way: breaking changes in API with low user impact don't bump the major version.
|
||||
|
||||
The version number is on three digits `X.Y.Z`, where:
|
||||
|
||||
* `X` is the major version
|
||||
* `Y` is the minor version
|
||||
* `Z` is the patch version.
|
||||
|
||||
Rules to increment the version number:
|
||||
|
||||
* the *major version* number (`X`) is incremented only when intentional breaking changes target feature areas that are actively consumed by users, scripts or C plugin API
|
||||
* the *minor version* number (`Y`) is incremented for any new release of WeeChat that includes new features and bug fixes, possibly breaking API with low impact on users
|
||||
* the *patch version* number (`Z`) is reserved for releases that address severe bugs or security issues found after the release.
|
||||
|
||||
For more information, see the https://specs.weechat.org/specs/2023-003-practical-semantic-versioning.html[specification].
|
||||
|
||||
+11
-7
@@ -5,9 +5,9 @@
|
||||
|
||||
pass:[<p align="center">] image:https://weechat.org/media/images/weechat_logo_large.png[align="center"] pass:[</p>]
|
||||
|
||||
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
||||
image:https://img.shields.io/badge/mastodon-follow-blue.svg["Mastodon", link="https://hostux.social/@weechat"]
|
||||
image:https://img.shields.io/badge/twitter-follow-blue.svg["Twitter", link="https://twitter.com/WeeChatClient"]
|
||||
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
||||
image:https://img.shields.io/badge/x-follow-blue.svg["Twitter", link="https://x.com/WeeChatClient"]
|
||||
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="https://blog.weechat.org/"]
|
||||
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="https://www.slant.co/topics/1323/~best-irc-clients-for-linux"]
|
||||
image:https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg["Donate", link="https://weechat.org/donate/"]
|
||||
@@ -23,13 +23,13 @@ Homepage: https://weechat.org/
|
||||
|
||||
== Features
|
||||
|
||||
* *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.
|
||||
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/doc/weechat/user/#plugins[plugins]. All plugins (including https://weechat.org/doc/weechat/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].
|
||||
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://datatracker.ietf.org/doc/html/rfc1459[1459], https://datatracker.ietf.org/doc/html/rfc2810[2810], https://datatracker.ietf.org/doc/html/rfc2811[2811], https://datatracker.ietf.org/doc/html/rfc2812[2812], https://datatracker.ietf.org/doc/html/rfc2813[2813] and https://datatracker.ietf.org/doc/html/rfc7194[7194].
|
||||
* *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.
|
||||
* *Fully documented*: there is comprehensive https://weechat.org/doc/weechat/[documentation], which is https://weechat.org/doc/weechat/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].
|
||||
|
||||
@@ -41,11 +41,15 @@ On WeeChat's website you can find https://weechat.org/about/screenshots/[more sc
|
||||
|
||||
WeeChat can be installed using your favorite package manager (recommended) or by compiling it yourself.
|
||||
|
||||
For detailed instructions, please check the https://weechat.org/doc/user/#install[WeeChat user's guide].
|
||||
For detailed instructions, please check the https://weechat.org/doc/weechat/user/#install[WeeChat user's guide].
|
||||
|
||||
== Semantic versioning
|
||||
|
||||
WeeChat is following a "practical" semantic versioning, see file link:Contributing.adoc#semantic-versioning[Contributing.adoc].
|
||||
|
||||
== Copyright
|
||||
|
||||
Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
|
||||
+757
-140
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2014-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2014-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Gcrypt
|
||||
# This module finds if libgcrypt is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# GCRYPT_CFLAGS = cflags to use to compile
|
||||
# GCRYPT_LDFLAGS = ldflags to use to compile
|
||||
#
|
||||
|
||||
find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
|
||||
|
||||
set(GCRYPT_LDFLAGS)
|
||||
set(GCRYPT_CFLAGS)
|
||||
|
||||
if(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||
|
||||
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --libs RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
|
||||
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --cflags RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
|
||||
|
||||
if(NOT DEFINED ${GCRYPT_CFLAGS})
|
||||
set(GCRYPT_CFLAGS " ")
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
|
||||
|
||||
if(GCRYPT_FOUND)
|
||||
mark_as_advanced(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
|
||||
endif()
|
||||
+23
-21
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -45,26 +45,28 @@ set(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
|
||||
|
||||
check_include_files(libintl.h HAVE_LIBINTL_H)
|
||||
|
||||
if(HAVE_LIBINTL_H)
|
||||
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
|
||||
if(LIBC_HAS_DGETTEXT)
|
||||
set(GETTEXT_FOUND TRUE)
|
||||
else()
|
||||
find_library(LIBINTL_LIBRARY NAMES intl
|
||||
PATHS
|
||||
/usr/local/lib
|
||||
/usr/lib
|
||||
)
|
||||
if(LIBINTL_LIBRARY)
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||
set(CMAKE_REQUIRED_LIBRARIES "iconv")
|
||||
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||
else()
|
||||
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||
endif()
|
||||
if(LIBINTL_HAS_DGETTEXT)
|
||||
set(GETTEXT_FOUND TRUE)
|
||||
endif()
|
||||
if(NOT HAVE_LIBINTL_H)
|
||||
message(SEND_ERROR "Header libintl.h not found, required if ENABLE_NLS is enabled")
|
||||
endif()
|
||||
|
||||
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
|
||||
if(LIBC_HAS_DGETTEXT)
|
||||
set(GETTEXT_FOUND TRUE)
|
||||
else()
|
||||
find_library(LIBINTL_LIBRARY NAMES intl
|
||||
PATHS
|
||||
/usr/local/lib
|
||||
/usr/lib
|
||||
)
|
||||
if(LIBINTL_LIBRARY)
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||
set(CMAKE_REQUIRED_LIBRARIES "iconv")
|
||||
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||
else()
|
||||
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||
endif()
|
||||
if(LIBINTL_HAS_DGETTEXT)
|
||||
set(GETTEXT_FOUND TRUE)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 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-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2011-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 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-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
||||
# Copyright (C) 2017-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2017-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -48,7 +48,7 @@ if(NOT PHP_FOUND)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
if(${PHP_VERSION} MATCHES "^[78]")
|
||||
find_library(PHP_LIB
|
||||
NAMES php8.2 php8.1 php8.0 php8 php7.4 php7.3 php7.2 php7.1 php7.0 php7 php
|
||||
NAMES php8.2 php82 php8.1 php81 php8.0 php80 php8 php7.4 php74 php7.3 php73 php7.2 php72 php7.1 php71 php7.0 php70 php7 php
|
||||
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
|
||||
)
|
||||
if(PHP_LIB)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -37,7 +37,7 @@ if(PKG_CONFIG_FOUND)
|
||||
# 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.2 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)
|
||||
pkg_search_module(RUBY ruby-3.3 ruby-3.2 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")
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2015-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2015-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+2
-1
@@ -1,4 +1,3 @@
|
||||
#cmakedefine HAVE_LIBINTL_H
|
||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||
#cmakedefine HAVE_FLOCK
|
||||
#cmakedefine HAVE_LANGINFO_CODESET
|
||||
@@ -6,6 +5,8 @@
|
||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||
#cmakedefine HAVE_MALLINFO
|
||||
#cmakedefine HAVE_MALLINFO2
|
||||
#cmakedefine HAVE_MALLOC_H
|
||||
#cmakedefine HAVE_MALLOC_TRIM
|
||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
||||
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
||||
|
||||
@@ -7,7 +7,7 @@ Build-Depends:
|
||||
ruby-pygments.rb,
|
||||
debhelper (>= 12),
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
libncurses-dev,
|
||||
gem2deb,
|
||||
libperl-dev,
|
||||
python3-dev,
|
||||
@@ -21,8 +21,9 @@ Build-Depends:
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
libzstd-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 4.6.0.1
|
||||
zlib1g-dev,
|
||||
libcjson-dev
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
tar-ignore = ".git"
|
||||
tar-ignore = "build"
|
||||
tar-ignore = "release"
|
||||
@@ -1,41 +0,0 @@
|
||||
weechat (2.1-1) unstable; urgency=medium
|
||||
|
||||
This release introduces a new headless client and a new PHP plugin for
|
||||
scripting (respectively weechat-headless and weechat-php binary
|
||||
packages).
|
||||
To avoid at least unnecessary dependencies, each plugin has its own
|
||||
separate binary package:
|
||||
weechat-{perl,python,ruby,lua,guile,javascript,php}
|
||||
Depending on your needs about scripting with weechat you should consider
|
||||
to install the missing packages.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 21 Mar 2018 07:53:40 +0100
|
||||
|
||||
weechat (1.1.1-1) unstable; urgency=medium
|
||||
|
||||
Since version 1.1, there is a new format for regexp replacement in
|
||||
triggers. This format is incompatible with version 1.0. The existing
|
||||
triggers will not be automatically updated.
|
||||
See https://weechat.org/files/releasenotes/ReleaseNotes-1.1.html
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 25 Jan 2015 20:41:50 +0100
|
||||
|
||||
weechat (0.3.1-1) unstable; urgency=low
|
||||
|
||||
This release introduces important changes with the usage of SSL. There
|
||||
are stronger checks while connecting with SSL. By default, if a connection
|
||||
is not fully trusted it will fail.
|
||||
You can find more information on how to handle this new behaviour here:
|
||||
https://blog.weechat.org/post/2009/12/01/SSL-certificates
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
|
||||
|
||||
weechat (0.3.0-1) unstable; urgency=low
|
||||
|
||||
This release introduces major changes. Large part of code was
|
||||
rewritten without keeping compatibility with older versions.
|
||||
|
||||
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
|
||||
for more information on upgrade from a version 0.2.x to 0.3.x.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
|
||||
@@ -1,3 +1,51 @@
|
||||
weechat (4.3.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #1067608)
|
||||
- fix FTBFS against libgcrypt 1.11 (Closes: #1071960)
|
||||
* Add build dependency on libcjson-dev
|
||||
* Replace pkg-config build dependency by pkgconf
|
||||
* Minor updates in debian/copyright
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 01 Jun 2024 14:21:02 +0000
|
||||
|
||||
weechat (4.1.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #1055278)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 03 Nov 2023 20:23:37 +0000
|
||||
|
||||
weechat (4.0.5-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 24 Sep 2023 07:49:41 +0000
|
||||
|
||||
weechat (4.0.2-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #1040248)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 22 Jul 2023 05:48:35 +0000
|
||||
|
||||
weechat (4.0.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Remove NEWS file, no longer required
|
||||
* Update build dependency from libncursesw5-dev to libncurses-dev
|
||||
* Bump Standards-Version to 4.6.2
|
||||
* Remove all patches (no longer required)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 04 Jul 2023 19:02:41 +0000
|
||||
|
||||
weechat (3.8-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Add a patch remove some autotools leftovers
|
||||
* Update debian/copyright (new year)
|
||||
* Update debian/rules to remove workarounds which avoid issues with
|
||||
autotools build system
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 15 Jan 2023 08:34:04 +0000
|
||||
|
||||
weechat (3.7.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
|
||||
@@ -7,7 +7,7 @@ Build-Depends:
|
||||
ruby-pygments.rb,
|
||||
debhelper (>= 12),
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
libncurses-dev,
|
||||
gem2deb,
|
||||
libperl-dev,
|
||||
python3-dev,
|
||||
@@ -21,8 +21,9 @@ Build-Depends:
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
libzstd-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 4.6.1.0
|
||||
zlib1g-dev,
|
||||
libcjson-dev
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||
|
||||
+13
-13
@@ -4,26 +4,26 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Source: https://weechat.org/
|
||||
|
||||
Files: *
|
||||
Copyright: 2003-2023, Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright: 2003-2024, Sébastien Helleu <flashcode@flashtux.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-command.c
|
||||
src/core/wee-command.h
|
||||
Files: src/core/core-command.c
|
||||
src/core/core-command.h
|
||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-config-file.c
|
||||
src/core/wee-config-file.h
|
||||
src/core/wee-config.c
|
||||
src/core/wee-config.h
|
||||
Files: src/core/core-config-file.c
|
||||
src/core/core-config-file.h
|
||||
src/core/core-config.c
|
||||
src/core/core-config.h
|
||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/hook/wee-hook-connect.c
|
||||
Files: src/core/hook/hook-connect.c
|
||||
Copyright: 2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/hook/wee-hook-connect.h
|
||||
Files: src/core/hook/hook-connect.h
|
||||
Copyright: 2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
@@ -31,9 +31,9 @@ Files: src/gui/gui-history.c
|
||||
Copyright: 2005, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-completion.c
|
||||
src/core/wee-log.c
|
||||
src/core/wee-utf8.c
|
||||
Files: src/core/core-completion.c
|
||||
src/core/core-log.c
|
||||
src/core/core-utf8.c
|
||||
src/core/weechat.h
|
||||
src/plugins/spell/spell-config.c
|
||||
src/plugins/spell/spell-config.h
|
||||
@@ -45,7 +45,7 @@ Files: src/core/wee-completion.c
|
||||
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-network.c
|
||||
Files: src/core/core-network.c
|
||||
Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2010, Gu1ll4um3r0m41n <aeroxteam@gmail.com>
|
||||
2012, Simon Arlott
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
tar-ignore = ".git"
|
||||
tar-ignore = "build"
|
||||
tar-ignore = "release"
|
||||
+304
-33
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -19,10 +19,97 @@
|
||||
#
|
||||
|
||||
if(ENABLE_MAN OR ENABLE_DOC)
|
||||
|
||||
# docs languages
|
||||
set(AUTOGEN_LANG de en fr it ja pl sr)
|
||||
set(MAN_LANG cs de en fr it ja pl ru sr)
|
||||
set(USER_LANG de en fr it ja pl sr)
|
||||
set(PLUGIN_API_LANG en fr it ja sr)
|
||||
set(SCRIPTING_LANG de en fr it ja pl sr)
|
||||
set(FAQ_LANG de en es fr it ja pl sr)
|
||||
set(QUICKSTART_LANG cs de en es fr it ja pl ru sr)
|
||||
set(RELAY_LANG en fr ja sr)
|
||||
set(DEV_LANG en fr ja sr)
|
||||
|
||||
find_package(Asciidoctor)
|
||||
if(ASCIIDOCTOR_FOUND)
|
||||
# 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)
|
||||
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
|
||||
-a docinfodir="${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
-a autogendir="${CMAKE_CURRENT_BINARY_DIR}/autogen"
|
||||
)
|
||||
|
||||
# asciidoctor arguments for user's guide
|
||||
set(ASCIIDOCTOR_USER_ARGS
|
||||
-a toc=left
|
||||
-a toclevels=3
|
||||
-a sectnums
|
||||
-a sectnumlevels=2
|
||||
-a docinfo1
|
||||
)
|
||||
|
||||
# asciidoctor arguments for plugin API reference
|
||||
set(ASCIIDOCTOR_PLUGIN_API_ARGS
|
||||
-a toc=left
|
||||
-a toclevels=3
|
||||
-a sectnums
|
||||
-a sectnumlevels=2
|
||||
-a docinfo1
|
||||
)
|
||||
|
||||
# asciidoctor arguments for scripting guide
|
||||
set(ASCIIDOCTOR_SCRIPTING_ARGS
|
||||
-a toc=left
|
||||
-a toclevels=3
|
||||
-a sectnums
|
||||
-a sectnumlevels=2
|
||||
-a docinfo1
|
||||
)
|
||||
|
||||
# asciidoctor arguments for FAQ
|
||||
set(ASCIIDOCTOR_FAQ_ARGS
|
||||
-a toc=left
|
||||
-a toclevels=2
|
||||
-a sectnums
|
||||
-a sectnumlevels=2
|
||||
-a docinfo1
|
||||
)
|
||||
|
||||
# asciidoctor arguments for quickstart
|
||||
set(ASCIIDOCTOR_QUICKSTART_ARGS
|
||||
-a toc=left
|
||||
-a toclevels=2
|
||||
-a sectnums
|
||||
-a sectnumlevels=2
|
||||
-a docinfo1
|
||||
)
|
||||
|
||||
# asciidoctor arguments for relay protocol
|
||||
set(ASCIIDOCTOR_RELAY_ARGS
|
||||
-a toc=left
|
||||
-a toclevels=3
|
||||
-a sectnums
|
||||
-a sectnumlevels=2
|
||||
-a docinfo1
|
||||
)
|
||||
|
||||
# asciidoctor arguments for developer's guide
|
||||
set(ASCIIDOCTOR_DEV_ARGS
|
||||
-a toc=left
|
||||
-a toclevels=3
|
||||
-a sectnums
|
||||
-a sectnumlevels=2
|
||||
-a docinfo1
|
||||
)
|
||||
|
||||
# sed arguments used to replace links in ChangeLog and release notes
|
||||
set(SED_LINKS_ARGS
|
||||
@@ -36,54 +123,238 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
|
||||
# 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
|
||||
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}
|
||||
"${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
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -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}
|
||||
"${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)
|
||||
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
|
||||
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}
|
||||
"${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
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -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}
|
||||
"${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)
|
||||
add_custom_target(rn DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html")
|
||||
|
||||
if(ENABLE_DOC)
|
||||
set(AUTOGEN_FILES "")
|
||||
foreach(lang ${AUTOGEN_LANG})
|
||||
LIST(APPEND AUTOGEN_FILES
|
||||
# plugin API reference
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_config_priority.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_hdata.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infolists.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infos.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infos_hashtable.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_plugins_priority.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_url_options.${lang}.adoc"
|
||||
# user's guide
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_default_aliases.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_irc_colors.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_options.${lang}.adoc"
|
||||
# scripting duide
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
||||
)
|
||||
endforeach()
|
||||
add_custom_target(doc-autogen ALL
|
||||
COMMAND "${CMAKE_COMMAND}" -E env "WEECHAT_EXTRA_LIBDIR=${PROJECT_BINARY_DIR}/src" "WEECHAT_DOCGEN_LOCALEDIR=${PROJECT_BINARY_DIR}/po" "${CMAKE_BINARY_DIR}/src/gui/curses/headless/weechat-headless" --temp-dir --doc-gen "${CMAKE_CURRENT_BINARY_DIR}/autogen"
|
||||
DEPENDS
|
||||
# the headless binary is required
|
||||
weechat-headless
|
||||
# translations must be compiled
|
||||
translations
|
||||
# all plugins must be loaded during doc generation
|
||||
alias buflist charset exec fifo fset guile irc logger lua perl php python relay ruby script spell tcl trigger typing xfer
|
||||
BYPRODUCTS ${AUTOGEN_FILES}
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ENABLE_MAN)
|
||||
foreach(lang ${MAN_LANG})
|
||||
if(${lang} STREQUAL "en")
|
||||
set(MANDIR_LANG "${MANDIR}/man1")
|
||||
else()
|
||||
set(MANDIR_LANG "${MANDIR}/${lang}/man1")
|
||||
endif()
|
||||
# man page: weechat
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat.${lang}.1"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o "weechat.${lang}.1" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat.1.${lang}.adoc"
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat.1.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/man.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat.1 (${lang})"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat.${lang}.1")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat.${lang}.1" DESTINATION "${MANDIR_LANG}" RENAME "weechat.1")
|
||||
# man page: weechat-headless
|
||||
if(ENABLE_HEADLESS)
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.${lang}.1"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o "weechat-headless.${lang}.1" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat-headless.1.${lang}.adoc"
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat-headless.1.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/man.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat-headless.1 (${lang})"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-headless-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.${lang}.1")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.${lang}.1" DESTINATION "${MANDIR_LANG}" RENAME "weechat-headless.1")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
if(ENABLE_DOC)
|
||||
# user's guide
|
||||
foreach(lang ${USER_LANG})
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_user.${lang}.html"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_USER_ARGS} -o "weechat_user.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
||||
doc-autogen
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_default_aliases.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_irc_colors.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_options.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_user.${lang}.html"
|
||||
)
|
||||
add_custom_target(doc-user-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_user.${lang}.html")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_user.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||
endforeach()
|
||||
# plugin API reference
|
||||
foreach(lang ${PLUGIN_API_LANG})
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.${lang}.html"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_PLUGIN_API_ARGS} -o "weechat_plugin_api.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
||||
doc-autogen
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_config_priority.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_hdata.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infolists.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infos.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infos_hashtable.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_plugins_priority.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_url_options.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_plugin_api.${lang}.html"
|
||||
)
|
||||
add_custom_target(doc-plugin-api-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.${lang}.html")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||
endforeach()
|
||||
# scripting guide
|
||||
foreach(lang ${SCRIPTING_LANG})
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.${lang}.html"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_SCRIPTING_ARGS} -o "weechat_scripting.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
||||
doc-autogen
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_scripting.${lang}.html"
|
||||
)
|
||||
add_custom_target(doc-scripting-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.${lang}.html")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||
endforeach()
|
||||
# FAQ
|
||||
foreach(lang ${FAQ_LANG})
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.${lang}.html"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_FAQ_ARGS} -o "weechat_faq.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_faq.${lang}.html"
|
||||
)
|
||||
add_custom_target(doc-faq-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.${lang}.html")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||
endforeach()
|
||||
# quickstart
|
||||
foreach(lang ${QUICKSTART_LANG})
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_QUICKSTART_ARGS} -o "weechat_quickstart.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_quickstart.${lang}.html"
|
||||
)
|
||||
add_custom_target(doc-quickstart-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||
endforeach()
|
||||
# relay protocol
|
||||
foreach(lang ${RELAY_LANG})
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.${lang}.html"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_RELAY_ARGS} -o "weechat_relay_protocol.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_protocol.${lang}.adoc"
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_protocol.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_relay_protocol.${lang}.html"
|
||||
)
|
||||
add_custom_target(doc-relay-protocol-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.${lang}.html")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||
endforeach()
|
||||
# developer's guide
|
||||
foreach(lang ${DEV_LANG})
|
||||
add_custom_command(
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.${lang}.html"
|
||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_DEV_ARGS} -o "weechat_dev.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_dev.${lang}.html"
|
||||
)
|
||||
add_custom_target(doc-dev-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.${lang}.html")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
# man/doc in all languages
|
||||
add_subdirectory(cs)
|
||||
add_subdirectory(de)
|
||||
add_subdirectory(en)
|
||||
add_subdirectory(es)
|
||||
add_subdirectory(fr)
|
||||
add_subdirectory(it)
|
||||
add_subdirectory(ja)
|
||||
add_subdirectory(pl)
|
||||
add_subdirectory(ru)
|
||||
add_subdirectory(sr)
|
||||
else()
|
||||
message(SEND_ERROR "Asciidoctor not found")
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
# man page: weechat
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.cs.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.cs.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat.1 (cs)"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-cs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/cs/man1)
|
||||
|
||||
if(ENABLE_HEADLESS)
|
||||
# man page: weechat-headless
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat-headless.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.cs.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.cs.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat-headless.1 (cs)"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-headless-cs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1 DESTINATION ${MANDIR}/cs/man1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(ENABLE_DOC)
|
||||
|
||||
# quickstart
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.cs.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_quickstart.cs.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.cs.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.cs.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_quickstart.cs.html"
|
||||
)
|
||||
add_custom_target(doc-quickstart-cs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.cs.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.cs.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
endif()
|
||||
@@ -1 +0,0 @@
|
||||
../docinfo.html
|
||||
@@ -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-2023 {author}
|
||||
Copyright (C) 2003-2024 {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
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: cs
|
||||
:toc: left
|
||||
:sectnums:
|
||||
:docinfo1:
|
||||
|
||||
|
||||
[[start]]
|
||||
== Spuštění WeeChatu
|
||||
@@ -113,7 +109,7 @@ Použijte příkaz `/plugin` k zobrazení nahraných pluginů, pravděpodobně u
|
||||
Můžete přidat irc server příkazem `/server`, například:
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -ssl
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -403,14 +399,14 @@ Zkuste `/help script` pro více informací.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
https://weechat.org/scripts/[this page ^↗^^].
|
||||
|
||||
[[more_doc]]
|
||||
== Další dokumentace
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^^]
|
||||
for any other questions.
|
||||
|
||||
Ať máte radost z použití WeeChatu!
|
||||
|
||||
@@ -1,110 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
# man page: weechat
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.de.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat.1 (de)"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1)
|
||||
|
||||
if(ENABLE_HEADLESS)
|
||||
# man page: weechat-headless
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat-headless.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.de.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.de.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat-headless.1 (de)"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-headless-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1 DESTINATION ${MANDIR}/de/man1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(ENABLE_DOC)
|
||||
|
||||
file(GLOB AUTOGEN_USER "${CMAKE_CURRENT_SOURCE_DIR}/includes/autogen_user_*.adoc")
|
||||
|
||||
# user's guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.de.adoc
|
||||
${AUTOGEN_USER}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_user.de.html"
|
||||
)
|
||||
add_custom_target(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# scripting guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_scripting.de.html"
|
||||
)
|
||||
add_custom_target(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# FAQ
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_faq.de.html"
|
||||
)
|
||||
add_custom_target(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# quickstart
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_quickstart.de.html"
|
||||
)
|
||||
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})
|
||||
|
||||
endif()
|
||||
@@ -1 +0,0 @@
|
||||
../docinfo.html
|
||||
@@ -1,204 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::completions[]
|
||||
[width="100%",cols="^1,^2,7",options="header"]
|
||||
|===
|
||||
| Erweiterung | Name | Beschreibung
|
||||
|
||||
| alias | alias | Liste der Alias
|
||||
|
||||
| alias | alias_value | Wert von Alias
|
||||
|
||||
| exec | exec_commands_ids | IDs (Nummern und Namen) von ausgeführten Befehlen
|
||||
|
||||
| fset | fset_options | Konfigurationsdateien, Sektionen, Optionen und Worte von Optionen
|
||||
|
||||
| guile | guile_script | Liste der Skripten
|
||||
|
||||
| irc | irc_channel | aktueller IRC-Kanal
|
||||
|
||||
| irc | irc_channel_nicks_hosts | Liste der Nicks und Hostnamen des aktuellen Kanals
|
||||
|
||||
| irc | irc_channel_topic | Thema des aktuellen IRC-Kanals
|
||||
|
||||
| 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
|
||||
|
||||
| irc | irc_modelist_numbers | Modelist Nummern für aktuellen IRC Kanal; benötigtes Argument: modelist mode
|
||||
|
||||
| irc | irc_msg_kick | Standardmitteilung wenn man jemanden aus einem Kanal wirftchannel
|
||||
|
||||
| irc | irc_msg_part | Standardmitteilung beim Verlassen (/part) eines IRC-Kanals
|
||||
|
||||
| irc | irc_notify_nicks | Nicks für die eine Benachrichtigung existiert
|
||||
|
||||
| irc | irc_privates | Private auf allen IRC Servern
|
||||
|
||||
| irc | irc_raw_filters | Filter für IRC Rohbuffer
|
||||
|
||||
| irc | irc_server | aktueller IRC-Server
|
||||
|
||||
| irc | irc_server_channels | Kanäle des derzeitigen IRC-Server
|
||||
|
||||
| irc | irc_server_nick | Nick beim derzeitigen IRC-Server
|
||||
|
||||
| irc | irc_server_nicks | Nicks für alle Kanäle auf dem aktuellen IRC-Server
|
||||
|
||||
| irc | irc_server_privates | Privat auf aktuellem IRC Server
|
||||
|
||||
| irc | irc_servers | IRC-Server (interne Namen)
|
||||
|
||||
| irc | nick | Liste der Nicks im aktuellen Kanal
|
||||
|
||||
| javascript | javascript_script | Liste der Skripten
|
||||
|
||||
| lua | lua_script | Liste der Skripten
|
||||
|
||||
| perl | perl_script | Liste der Skripten
|
||||
|
||||
| php | php_script | Liste der Skripten
|
||||
|
||||
| python | python_script | Liste der Skripten
|
||||
|
||||
| relay | relay_free_port | erster freier Port für Relay-Erweiterung
|
||||
|
||||
| relay | relay_protocol_name | alle möglichen Protokoll.Name der Relay-Erweiterung
|
||||
|
||||
| relay | relay_relays | Protokoll.Name des aktuellen Relays von der Relay-Erweiterung
|
||||
|
||||
| ruby | ruby_script | Liste der Skripten
|
||||
|
||||
| script | script_extensions | Liste der Skripterweiterungen
|
||||
|
||||
| script | script_files | Dateien die sich in den Skript-Verzeichnissen befinden
|
||||
|
||||
| script | script_languages | Liste der Skriptsprache
|
||||
|
||||
| script | script_scripts | Liste der Skripten im Repositorium
|
||||
|
||||
| script | script_scripts_installed | Auflistung der installierten Skripten (vom Repositorium)
|
||||
|
||||
| script | script_tags | Schlagwortliste für Skripten im Repositorium
|
||||
|
||||
| spell | spell_dicts | Auflistung der installierten Wörterbücher
|
||||
|
||||
| spell | spell_langs | Liste aller Sprachen die unterstützt werden
|
||||
|
||||
| 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
|
||||
|
||||
| trigger | trigger_hook_conditions | Standardbedingungen für einen Hook
|
||||
|
||||
| trigger | trigger_hook_rc | Standardrückgabewerte für einen Hook-Callback
|
||||
|
||||
| trigger | trigger_hook_regex | standardmäßiger regulärer Ausdruck für einen Hook
|
||||
|
||||
| trigger | trigger_hooks | Hooks für Trigger
|
||||
|
||||
| trigger | trigger_hooks_filter | Hooks für Trigger (definiert den Filter für den Monitor-Buffer)
|
||||
|
||||
| trigger | trigger_names | trigger
|
||||
|
||||
| trigger | trigger_names_default | voreingestellte Trigger
|
||||
|
||||
| trigger | trigger_option_value | Werte für Trigger-Einstellung
|
||||
|
||||
| trigger | trigger_options | Einstellungen für Trigger
|
||||
|
||||
| trigger | trigger_post_action | nachfolgende Aktion für Trigger
|
||||
|
||||
| weechat | bars_names | Namen der Infobars
|
||||
|
||||
| weechat | bars_options | Einstellungen für Infobars
|
||||
|
||||
| weechat | buffer_local_variable_value | Wert einer lokalen Buffervariablen
|
||||
|
||||
| weechat | buffer_local_variables | lokale Buffervariablen
|
||||
|
||||
| weechat | buffer_properties_get | Eigenschaften die für den Buffer gelesen werden können
|
||||
|
||||
| weechat | buffer_properties_set | Eigenschaften die für den Buffer gesetzt werden können
|
||||
|
||||
| weechat | buffers_names | Auflistung der vorhandenen Buffer
|
||||
|
||||
| weechat | buffers_numbers | Anzahl der Buffer
|
||||
|
||||
| weechat | buffers_plugins_names | Liste der Buffer (inklusive der Erweiterungen)
|
||||
|
||||
| weechat | colors | Farbnamen
|
||||
|
||||
| weechat | commands | Befehle (weechat und Erweiterungen); optionales Argument: Präfix welcher vor den Befehlen hinzugefügt wird
|
||||
|
||||
| weechat | config_files | Konfigurationsdateien
|
||||
|
||||
| weechat | config_option_values | Werte für eine Konfigurationsoption
|
||||
|
||||
| weechat | config_options | Konfigurationsoptionen
|
||||
|
||||
| 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
|
||||
|
||||
| weechat | filename | Dateiname; optionales Argument: default path (Hinweis: Inhalt wird evaluiert, siehe /help eval)
|
||||
|
||||
| weechat | filters_names | Liste der Filter
|
||||
|
||||
| weechat | infolists | Namen der gehookten Infolisten
|
||||
|
||||
| weechat | infos | Namen der gehookten Infos
|
||||
|
||||
| weechat | keys_codes | Tastaturcodes
|
||||
|
||||
| weechat | keys_codes_for_reset | Tastenbelegungen die zurückgesetzt werden können (hinzugefügte/verändert/gelöschte Tastenbelegungen)
|
||||
|
||||
| weechat | keys_contexts | Tastaturkontext
|
||||
|
||||
| weechat | layouts_names | Namen der Layouts
|
||||
|
||||
| weechat | nicks | Nicks in Benutzerliste für aktuellen Buffer
|
||||
|
||||
| weechat | palette_colors | Farbpalette
|
||||
|
||||
| weechat | plugins_commands | Befehle definiert durch Erweiterungen; optionales Argument: Präfix welcher vor den Befehlen hinzugefügt wird
|
||||
|
||||
| weechat | plugins_installed | Namen der installierten Erweiterungen
|
||||
|
||||
| weechat | plugins_names | Liste der Erweiterungen
|
||||
|
||||
| weechat | proxies_names | Namen aller Proxys
|
||||
|
||||
| weechat | proxies_options | Einstellungen für Proxys
|
||||
|
||||
| weechat | secured_data | Namen der geschützten Daten (Datei sec.conf, section data)
|
||||
|
||||
| weechat | weechat_commands | weechat Befehle; optionales Argument: Präfix welcher vor den Befehlen hinzugefügt wird
|
||||
|
||||
| weechat | windows_numbers | Nummern der Fenster
|
||||
|
||||
| xfer | nick | Nicks vom DCC Chat
|
||||
|
||||
|===
|
||||
// end::completions[]
|
||||
@@ -1,36 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::config_priority[]
|
||||
[width="30%",cols="1,3,2",options="header"]
|
||||
|===
|
||||
| Rang | Datei | Priorität
|
||||
| 1 | sec.conf | 120000
|
||||
| 2 | weechat.conf | 110000
|
||||
| 3 | plugins.conf | 100000
|
||||
| 4 | charset.conf | 16000
|
||||
| 5 | logger.conf | 15000
|
||||
| 6 | exec.conf | 14000
|
||||
| 7 | trigger.conf | 13000
|
||||
| 8 | spell.conf | 12000
|
||||
| 9 | alias.conf | 11000
|
||||
| 10 | buflist.conf | 10000
|
||||
| 11 | fifo.conf | 9000
|
||||
| 12 | typing.conf | 8000
|
||||
| 13 | xfer.conf | 7000
|
||||
| 14 | irc.conf | 6000
|
||||
| 15 | relay.conf | 5000
|
||||
| 16 | guile.conf | 4070
|
||||
| 17 | javascript.conf | 4060
|
||||
| 18 | lua.conf | 4050
|
||||
| 19 | perl.conf | 4040
|
||||
| 20 | php.conf | 4030
|
||||
| 21 | python.conf | 4020
|
||||
| 22 | ruby.conf | 4010
|
||||
| 23 | tcl.conf | 4000
|
||||
| 24 | script.conf | 3000
|
||||
| 25 | fset.conf | 2000
|
||||
|===
|
||||
// end::config_priority[]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,94 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::infolists[]
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
|===
|
||||
| Erweiterung | Name | Beschreibung | Pointer | Argumente
|
||||
|
||||
| alias | alias | Liste der Alias | Alias Pointer (optional) | Name des Alias (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| alias | alias_default | Liste der standardmäßigen Aliase | - | -
|
||||
|
||||
| buflist | buflist | Liste der Buffer in buflist Bar-Item | - | buflist Bar-Item Name (optional)
|
||||
|
||||
| fset | fset_option | Auflistung der fset Optionen | fset Option-Pointer (optional) | Name einer Einstellung (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| irc | irc_channel | Liste der Kanäle eines IRC-Servers | Pointer vom Kanal (optional) | Server,Kanal (Kanal ist optional)
|
||||
|
||||
| irc | irc_color_weechat | Zuordnung der IRC Farbkodierung und der WeeChat Farbnamen | - | -
|
||||
|
||||
| irc | irc_ignore | Liste von ignorierten IRCs | Ignore Pointer (optional) | -
|
||||
|
||||
| irc | irc_modelist | Liste der Kanalmoduslisten für einen IRC-Kanal | Modelist Pointer (optional) | Server,Channel,Type (Type ist optional)
|
||||
|
||||
| irc | irc_modelist_item | Liste der Items in der Kanal-Modeliste | Modelist Item Pointer (optional) | Server,Channel,Type,Nummer (Nummer ist optional)
|
||||
|
||||
| irc | irc_nick | Liste der Nicks im IRC-Kanal | Nick Pointer (optional) | server,channel,nick (nick ist optional)
|
||||
|
||||
| irc | irc_notify | Liste mit Benachrichtigungen | Benachrichtigungspointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| irc | irc_server | Liste der IRC-Server | Server Pointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| javascript | javascript_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| logger | logger_buffer | Auflistung der protokollierten Buffer | Logger-Pointer (optional) | -
|
||||
|
||||
| lua | lua_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| perl | perl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| php | php_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| python | python_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| relay | relay | Liste der Relay-Clients | Relay Pointer (optional) | -
|
||||
|
||||
| ruby | ruby_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| script | script_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes, mit Dateierweiterung (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| tcl | tcl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| weechat | bar | Auflistung der Bars | Bar Pointer (optional) | Name der Bar (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| weechat | bar_item | Auflistung der Bar-Items | Bar Item Pointer (optional) | Name des Bar-Item (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| weechat | bar_window | Auflistung der Bar-Fenster | Bar-Fenster Pointer (optional) | -
|
||||
|
||||
| weechat | buffer | Auflistung der Buffer | Buffer Pointer (optional) | Name des Buffers (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| weechat | buffer_lines | Zeilen des Buffers | Buffer Pointer | -
|
||||
|
||||
| weechat | filter | Auflistung der Filter | - | Name des Filters (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| weechat | history | Verlaufspeicher der Befehle | Buffer Pointer (falls nicht gesetzt, wird der globale Verlauf zurückgegeben) (optional) | -
|
||||
|
||||
| weechat | hook | Auflistung der Hooks | Hook-Pointer (optional) | type,arguments (type ist ein command/timer/.., arguments dient dazu nur einige hooks abzufragen (Platzhalter "*" kann verwendet werden), beide Einstellungen sind optional)
|
||||
|
||||
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
|
||||
|
||||
| weechat | key | Auflistung der Tastenzuweisungen | - | Kontext ("default", "search", "cursor" oder "mouse") (optional)
|
||||
|
||||
| weechat | layout | Auflistung der Layouts | - | -
|
||||
|
||||
| weechat | nicklist | Nicks in Benutzerliste für einen Buffer | Buffer Pointer | nick_xxx oder group_xxx um nur den Nick/Group xxx abzufragen (optional)
|
||||
|
||||
| weechat | option | Auflistung der Einstellungen | - | Name einer Einstellung (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| weechat | plugin | Auflistung der Erweiterungen | Pointer der Erweiterung (optional) | Name einer Erweiterung (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| weechat | proxy | Liste der Proxys | Proxy Pointer (optional) | Name des Proxy (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| weechat | url_options | Einstellungen für URL | - | -
|
||||
|
||||
| weechat | window | Auflistung der Fenster | Fenster Pointer (optional) | "current" für aktuelles Fenster oder die Nummer eines Fensters (optional)
|
||||
|
||||
| xfer | xfer | Transferliste | Transferpointer (optional) | -
|
||||
|
||||
|===
|
||||
// end::infolists[]
|
||||
@@ -1,164 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::infos[]
|
||||
[width="100%",cols="^1,^2,6,6",options="header"]
|
||||
|===
|
||||
| Erweiterung | Name | Beschreibung | Argumente
|
||||
|
||||
| fifo | fifo_filename | Name der FIFO-Pipe | -
|
||||
|
||||
| guile | guile_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||
|
||||
| guile | guile_interpreter | Name des verwendeten Interpreters | -
|
||||
|
||||
| guile | guile_version | Version des verwendeten Interpreters | -
|
||||
|
||||
| irc | irc_buffer | holt Buffer Pointer für einen IRC Server/Kanal/Nick | server,channel,nick (Kanal und Nicks sind optional)
|
||||
|
||||
| irc | irc_is_channel | 1, falls die Zeichenkette ein gültiger IRC-Kanalname für den Server ist | Server,Kanal (Server ist optional)
|
||||
|
||||
| irc | irc_is_message_ignored | 1, wenn der Nick ignoriert wird (Meldung wird nicht angezeigt) | Server,Nachricht (Nachricht ist die unverarbeitete IRC Nachricht)
|
||||
|
||||
| irc | irc_is_nick | 1, falls die Zeichenkette ein gültiger IRC Nickname ist | Server,Nickname (Server ist optional)
|
||||
|
||||
| irc | irc_nick | aktuellen Nicknamen für den Server erhalten | Servername
|
||||
|
||||
| irc | irc_nick_color | erhalte nick color code (*veraltet* ab Version 1.5, wird ersetzt durch "nick_color") | Nickname
|
||||
|
||||
| irc | irc_nick_color_name | erhalte nick color name (*veraltet* ab Version 1.5, wird ersetzt durch "nick_color_name") | Nickname
|
||||
|
||||
| irc | irc_nick_from_host | Nicknamen des IRC-Hosts erhalten | IRC host (in der Form `:nick!name@server.com`)
|
||||
|
||||
| irc | irc_server_isupport | 1 falls der Server die Funktion unterstützen sollte (durch IRC Message 005) | Server,Funktion
|
||||
|
||||
| irc | irc_server_isupport_value | Wert der Funktion, sofern es vom Server unterstützt wird (durch IRC Message 005) | Server,Funktion
|
||||
|
||||
| javascript | javascript_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||
|
||||
| javascript | javascript_interpreter | Name des verwendeten Interpreters | -
|
||||
|
||||
| javascript | javascript_version | Version des verwendeten Interpreters | -
|
||||
|
||||
| lua | lua_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||
|
||||
| lua | lua_interpreter | Name des verwendeten Interpreters | -
|
||||
|
||||
| lua | lua_version | Version des verwendeten Interpreters | -
|
||||
|
||||
| perl | perl_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||
|
||||
| perl | perl_interpreter | Name des verwendeten Interpreters | -
|
||||
|
||||
| perl | perl_version | Version des verwendeten Interpreters | -
|
||||
|
||||
| php | php_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||
|
||||
| php | php_interpreter | Name des verwendeten Interpreters | -
|
||||
|
||||
| php | php_version | Version des verwendeten Interpreters | -
|
||||
|
||||
| python | python_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||
|
||||
| python | python_interpreter | Name des verwendeten Interpreters | -
|
||||
|
||||
| python | python_version | Version des verwendeten Interpreters | -
|
||||
|
||||
| relay | relay_client_count | Anzahl an Clients für Relay | Protokoll,Status (beide sind Optional, bei beiden Argumenten bedeutet "*", alle; Protokolle: irc, weechat; Status: connecting, waiting_auth, connected, auth_failed, disconnected)
|
||||
|
||||
| ruby | ruby_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||
|
||||
| ruby | ruby_interpreter | Name des verwendeten Interpreters | -
|
||||
|
||||
| ruby | ruby_version | Version des verwendeten Interpreters | -
|
||||
|
||||
| spell | spell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.libera.#weechat")
|
||||
|
||||
| tcl | tcl_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||
|
||||
| tcl | tcl_interpreter | Name des verwendeten Interpreters | -
|
||||
|
||||
| tcl | tcl_version | Version des verwendeten Interpreters | -
|
||||
|
||||
| weechat | auto_connect | 1, falls die automatische Verbindung zu Servern aktiviert ist, 0, wenn sie vom Benutzer deaktiviert wurde (Option "-a" oder "--no-connect") | -
|
||||
|
||||
| weechat | charset_internal | Interner WeeChat Zeichensatz | -
|
||||
|
||||
| weechat | charset_terminal | Terminal Zeichensatz | -
|
||||
|
||||
| weechat | color_ansi_regex | Erweiterte reguläre POSIX Ausdrücke um ANSI Escapesequenz zu suchen | -
|
||||
|
||||
| weechat | color_rgb2term | RGB Farbe wurde umgewandelt in Terminalfarbe (0-255) | RGB,limit (Obergrenze ist optional und ist Standardmäßig 256)
|
||||
|
||||
| weechat | color_term2rgb | Terminalfarbe (0-255) wurde umgewandelt in RGB Farbe | Farben (Terminalfarben: 0-255)
|
||||
|
||||
| weechat | cursor_mode | 1, falls Cursor-Modus aktiviert ist | -
|
||||
|
||||
| weechat | date | Datum/Zeit der WeeChat Kompilierung | -
|
||||
|
||||
| weechat | dir_separator | Trennzeichen für Verzeichnis | -
|
||||
|
||||
| weechat | filters_enabled | 1, falls Filter aktiviert sind | -
|
||||
|
||||
| weechat | inactivity | Inaktivität der Tastatur (Sekunden) | -
|
||||
|
||||
| weechat | locale | Spracheinstellung die für die übersetzten Nachrichten verwendet werden soll | -
|
||||
|
||||
| weechat | nick_color | zeigt Farbecode des Nick | Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene Nickfarben ignoriert)
|
||||
|
||||
| weechat | nick_color_name | zeigt Farbnamen des Nick | Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene Nickfarben ignoriert)
|
||||
|
||||
| weechat | pid | WeeChat PID (Prozess-ID) | -
|
||||
|
||||
| weechat | term_color_pairs | Anzahl der Farbpaare die durch das Terminal unterstützt werden | -
|
||||
|
||||
| weechat | term_colors | Anzahl der Farben die durch das Terminal unterstützt werden | -
|
||||
|
||||
| weechat | term_height | Höhe des Terminals | -
|
||||
|
||||
| weechat | term_width | Breite des Terminals | -
|
||||
|
||||
| weechat | totp_generate | generiert ein Time-based One-Time Passwort (TOTP) | geheime Zeichenkette (in base32), Zeitstempel (optional, standardmäßig aktuelle Zeit), Anzahl an Zeichen (optional, zwischen 4 und 10, standardmäßig 6)
|
||||
|
||||
| weechat | totp_validate | validiert ein Time-based One-Time Passwort (TOTP): 1 falls TOTP korrekt ist, ansonsten 0 | geheim (in base32), einmaliges Passwort, Zeitstempel (optional, standardmäßig aktuelle Zeit), Anzahl der zu testenden Passwörtern vorher/nachher (optional, standardmäßig 0)
|
||||
|
||||
| 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) | -
|
||||
|
||||
| weechat | version_number | WeeChat-Version (als Zahl) | -
|
||||
|
||||
| weechat | weechat_cache_dir | WeeChat Cache-Verzeichnis | -
|
||||
|
||||
| weechat | weechat_config_dir | WeeChat Konfigurationsverzeichnis | -
|
||||
|
||||
| weechat | weechat_daemon | 1, falls WeeChat im Daemon-Modus ausgeführt wird (ohne Oberfläche, im Hintergrund) | -
|
||||
|
||||
| weechat | weechat_data_dir | WeeChat-Datenverzeichnis | -
|
||||
|
||||
| weechat | weechat_dir | WeeChat-Verzeichnis (*veraltet* seit Version 3.2, ersetzt durch "weechat_config_dir", "weechat_data_dir", "weechat_cache_dir" und "weechat_runtime_dir") | -
|
||||
|
||||
| weechat | weechat_headless | 1, falls WeeChat im Hintergrundmodus ausgeführt wird | -
|
||||
|
||||
| weechat | weechat_libdir | WeeChat "lib" Verzeichnis | -
|
||||
|
||||
| weechat | weechat_localedir | "lokales" Verzeichnis von WeeChat | -
|
||||
|
||||
| weechat | weechat_runtime_dir | WeeChat-Laufzeitverzeichnis | -
|
||||
|
||||
| weechat | weechat_sharedir | WeeChat "share" Verzeichnis | -
|
||||
|
||||
| weechat | weechat_site | WeeChat Seite | -
|
||||
|
||||
| weechat | weechat_site_download | Download-Seite von WeeChat | -
|
||||
|
||||
| weechat | weechat_upgrading | 1 falls WeeChat ein Upgrade durchführt (Befehl `/upgrade`) | -
|
||||
|
||||
|===
|
||||
// end::infos[]
|
||||
@@ -1,20 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::infos_hashtable[]
|
||||
[width="100%",cols="^1,^2,6,6,8",options="header"]
|
||||
|===
|
||||
| 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), "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
|
||||
|
||||
| weechat | focus_info | Fokusinformationen abrufen | "x": x-Koordinate (Zeichenfolge mit Ganzzahl >= 0), "y": y-Koordinate (Zeichenfolge mit Ganzzahl >= 0) | siehe Funktion "hook_focus" in API Dokumentation
|
||||
|
||||
| weechat | secured_data | schutzwürdige Daten | - | schutzwürdige Daten: Namen und Werte (Vorsicht: Dies sind vertrauliche Daten: drucken oder protokollieren Sie diese NICHT)
|
||||
|
||||
|===
|
||||
// end::infos_hashtable[]
|
||||
@@ -1,33 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::plugins_priority[]
|
||||
[width="30%",cols="1,3,2",options="header"]
|
||||
|===
|
||||
| Rang | Erweiterung | Priorität
|
||||
| 1 | charset | 16000
|
||||
| 2 | logger | 15000
|
||||
| 3 | exec | 14000
|
||||
| 4 | trigger | 13000
|
||||
| 5 | spell | 12000
|
||||
| 6 | alias | 11000
|
||||
| 7 | buflist | 10000
|
||||
| 8 | fifo | 9000
|
||||
| 9 | typing | 8000
|
||||
| 10 | xfer | 7000
|
||||
| 11 | irc | 6000
|
||||
| 12 | relay | 5000
|
||||
| 13 | guile | 4070
|
||||
| 14 | javascript | 4060
|
||||
| 15 | lua | 4050
|
||||
| 16 | perl | 4040
|
||||
| 17 | php | 4030
|
||||
| 18 | python | 4020
|
||||
| 19 | ruby | 4010
|
||||
| 20 | tcl | 4000
|
||||
| 21 | script | 3000
|
||||
| 22 | fset | 2000
|
||||
|===
|
||||
// end::plugins_priority[]
|
||||
@@ -1,462 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::url_options[]
|
||||
[width="100%",cols="2,^1,7",options="header"]
|
||||
|===
|
||||
| Einstellung | Type ^(1)^ | Konstanten ^(2)^
|
||||
|
||||
| verbose | long |
|
||||
|
||||
| header | long |
|
||||
|
||||
| noprogress | long |
|
||||
|
||||
| nosignal | long |
|
||||
|
||||
| wildcardmatch | long |
|
||||
|
||||
| failonerror | long |
|
||||
|
||||
| keep_sending_on_error | long |
|
||||
|
||||
| proxy | string |
|
||||
|
||||
| proxyport | long |
|
||||
|
||||
| port | long |
|
||||
|
||||
| pre_proxy | string |
|
||||
|
||||
| httpproxytunnel | long |
|
||||
|
||||
| interface | string |
|
||||
|
||||
| dns_cache_timeout | long |
|
||||
|
||||
| proxytype | long | http, socks4, socks5, socks4a, socks5_hostname, http_1_0, https
|
||||
|
||||
| buffersize | long |
|
||||
|
||||
| tcp_nodelay | long |
|
||||
|
||||
| localport | long |
|
||||
|
||||
| localportrange | long |
|
||||
|
||||
| address_scope | long |
|
||||
|
||||
| noproxy | string |
|
||||
|
||||
| socks5_gssapi_nec | long |
|
||||
|
||||
| tcp_keepalive | long |
|
||||
|
||||
| tcp_keepidle | long |
|
||||
|
||||
| tcp_keepintvl | long |
|
||||
|
||||
| unix_socket_path | string |
|
||||
|
||||
| abstract_unix_socket | string |
|
||||
|
||||
| path_as_is | long |
|
||||
|
||||
| proxy_service_name | string |
|
||||
|
||||
| service_name | string |
|
||||
|
||||
| default_protocol | string |
|
||||
|
||||
| tcp_fastopen | long |
|
||||
|
||||
| socks5_auth | long |
|
||||
|
||||
| haproxyprotocol | long |
|
||||
|
||||
| doh_url | string |
|
||||
|
||||
| protocols_str | string |
|
||||
|
||||
| redir_protocols_str | string |
|
||||
|
||||
| netrc | long | ignored, optional, required
|
||||
|
||||
| userpwd | string |
|
||||
|
||||
| proxyuserpwd | string |
|
||||
|
||||
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer, aws_sigv4
|
||||
|
||||
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer, aws_sigv4
|
||||
|
||||
| netrc_file | string |
|
||||
|
||||
| username | string |
|
||||
|
||||
| password | string |
|
||||
|
||||
| proxyusername | string |
|
||||
|
||||
| proxypassword | string |
|
||||
|
||||
| tlsauth_type | mask | none, srp
|
||||
|
||||
| tlsauth_username | string |
|
||||
|
||||
| tlsauth_password | string |
|
||||
|
||||
| sasl_authzid | string |
|
||||
|
||||
| sasl_ir | long |
|
||||
|
||||
| xoauth2_bearer | string |
|
||||
|
||||
| login_options | string |
|
||||
|
||||
| disallow_username_in_url | long |
|
||||
|
||||
| autoreferer | long |
|
||||
|
||||
| followlocation | long |
|
||||
|
||||
| post | long |
|
||||
|
||||
| postfields | string |
|
||||
|
||||
| referer | string |
|
||||
|
||||
| useragent | string |
|
||||
|
||||
| httpheader | list |
|
||||
|
||||
| cookie | string |
|
||||
|
||||
| cookiefile | string |
|
||||
|
||||
| postfieldsize | long |
|
||||
|
||||
| maxredirs | long |
|
||||
|
||||
| httpget | long |
|
||||
|
||||
| cookiejar | string |
|
||||
|
||||
| http_version | long | none, 1_0, 1_1, 2_0, 2, 2tls, 2_prior_knowledge, 3
|
||||
|
||||
| cookiesession | long |
|
||||
|
||||
| http200aliases | list |
|
||||
|
||||
| unrestricted_auth | long |
|
||||
|
||||
| postfieldsize_large | long long |
|
||||
|
||||
| cookielist | string |
|
||||
|
||||
| ignore_content_length | long |
|
||||
|
||||
| accept_encoding | string |
|
||||
|
||||
| transfer_encoding | long |
|
||||
|
||||
| http_content_decoding | long |
|
||||
|
||||
| http_transfer_decoding | long |
|
||||
|
||||
| copypostfields | string |
|
||||
|
||||
| postredir | mask | post_301, post_302
|
||||
|
||||
| expect_100_timeout_ms | long |
|
||||
|
||||
| headeropt | mask | unified, separate
|
||||
|
||||
| proxyheader | list |
|
||||
|
||||
| pipewait | long |
|
||||
|
||||
| stream_weight | long |
|
||||
|
||||
| request_target | string |
|
||||
|
||||
| http09_allowed | long |
|
||||
|
||||
| hsts | string |
|
||||
|
||||
| hsts_ctrl | mask | enable, readonlyfile
|
||||
|
||||
| mail_from | string |
|
||||
|
||||
| mail_rcpt | list |
|
||||
|
||||
| mail_auth | string |
|
||||
|
||||
| mail_rcpt_alllowfails | long |
|
||||
|
||||
| tftp_blksize | long |
|
||||
|
||||
| tftp_no_options | long |
|
||||
|
||||
| ftpport | string |
|
||||
|
||||
| quote | list |
|
||||
|
||||
| postquote | list |
|
||||
|
||||
| ftp_use_epsv | long |
|
||||
|
||||
| prequote | list |
|
||||
|
||||
| ftp_use_eprt | long |
|
||||
|
||||
| ftp_create_missing_dirs | long |
|
||||
|
||||
| ftpsslauth | long | default, ssl, tls
|
||||
|
||||
| ftp_account | string |
|
||||
|
||||
| ftp_skip_pasv_ip | long |
|
||||
|
||||
| ftp_filemethod | long | multicwd, nocwd, singlecwd
|
||||
|
||||
| ftp_alternative_to_user | string |
|
||||
|
||||
| ftp_ssl_ccc | long | ccc_none, ccc_active, ccc_passive
|
||||
|
||||
| dirlistonly | long |
|
||||
|
||||
| append | long |
|
||||
|
||||
| ftp_use_pret | long |
|
||||
|
||||
| rtsp_request | long | options, describe, announce, setup, play, pause, teardown, get_parameter, set_parameter, record, receive
|
||||
|
||||
| rtsp_session_id | string |
|
||||
|
||||
| rtsp_stream_uri | string |
|
||||
|
||||
| rtsp_transport | string |
|
||||
|
||||
| rtsp_client_cseq | long |
|
||||
|
||||
| rtsp_server_cseq | long |
|
||||
|
||||
| aws_sigv4 | string |
|
||||
|
||||
| crlf | long |
|
||||
|
||||
| range | string |
|
||||
|
||||
| resume_from | long |
|
||||
|
||||
| customrequest | string |
|
||||
|
||||
| nobody | long |
|
||||
|
||||
| infilesize | long |
|
||||
|
||||
| upload | long |
|
||||
|
||||
| timecondition | long | none, ifmodsince, ifunmodsince, lastmod
|
||||
|
||||
| timevalue | long |
|
||||
|
||||
| transfertext | long |
|
||||
|
||||
| filetime | long |
|
||||
|
||||
| maxfilesize | long |
|
||||
|
||||
| proxy_transfer_mode | long |
|
||||
|
||||
| resume_from_large | long long |
|
||||
|
||||
| infilesize_large | long long |
|
||||
|
||||
| maxfilesize_large | long long |
|
||||
|
||||
| timevalue_large | long long |
|
||||
|
||||
| upload_buffersize | long |
|
||||
|
||||
| mime_options | mask | formescape
|
||||
|
||||
| timeout | long |
|
||||
|
||||
| low_speed_limit | long |
|
||||
|
||||
| low_speed_time | long |
|
||||
|
||||
| fresh_connect | long |
|
||||
|
||||
| forbid_reuse | long |
|
||||
|
||||
| connecttimeout | long |
|
||||
|
||||
| ipresolve | long | whatever, v4, v6
|
||||
|
||||
| connect_only | long |
|
||||
|
||||
| max_send_speed_large | long long |
|
||||
|
||||
| max_recv_speed_large | long long |
|
||||
|
||||
| timeout_ms | long |
|
||||
|
||||
| connecttimeout_ms | long |
|
||||
|
||||
| maxage_conn | long |
|
||||
|
||||
| maxconnects | long |
|
||||
|
||||
| use_ssl | long | none, try, control, all
|
||||
|
||||
| resolve | list |
|
||||
|
||||
| dns_servers | string |
|
||||
|
||||
| accepttimeout_ms | long |
|
||||
|
||||
| dns_interface | string |
|
||||
|
||||
| dns_local_ip4 | string |
|
||||
|
||||
| dns_local_ip6 | string |
|
||||
|
||||
| connect_to | list |
|
||||
|
||||
| happy_eyeballs_timeout_ms | long |
|
||||
|
||||
| dns_shuffle_addresses | long |
|
||||
|
||||
| upkeep_interval_ms | long |
|
||||
|
||||
| maxlifetime_conn | long |
|
||||
|
||||
| sslcert | string |
|
||||
|
||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||
|
||||
| ssl_verifypeer | long |
|
||||
|
||||
| cainfo | string |
|
||||
|
||||
| ssl_verifyhost | long |
|
||||
|
||||
| ssl_cipher_list | string |
|
||||
|
||||
| sslcerttype | string |
|
||||
|
||||
| sslkey | string |
|
||||
|
||||
| sslkeytype | string |
|
||||
|
||||
| sslengine | string |
|
||||
|
||||
| sslengine_default | long |
|
||||
|
||||
| capath | string |
|
||||
|
||||
| ssl_sessionid_cache | long |
|
||||
|
||||
| krblevel | string |
|
||||
|
||||
| keypasswd | string |
|
||||
|
||||
| issuercert | string |
|
||||
|
||||
| crlfile | string |
|
||||
|
||||
| certinfo | long |
|
||||
|
||||
| gssapi_delegation | long | none, policy_flag, flag
|
||||
|
||||
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend, no_partialchain, revoke_best_effort, native_ca, auto_client_cert
|
||||
|
||||
| ssl_enable_alpn | long |
|
||||
|
||||
| pinnedpublickey | string |
|
||||
|
||||
| ssl_verifystatus | long |
|
||||
|
||||
| ssl_falsestart | long |
|
||||
|
||||
| proxy_cainfo | string |
|
||||
|
||||
| proxy_capath | string |
|
||||
|
||||
| proxy_crlfile | string |
|
||||
|
||||
| proxy_keypasswd | string |
|
||||
|
||||
| proxy_pinnedpublickey | string |
|
||||
|
||||
| proxy_sslcert | string |
|
||||
|
||||
| proxy_sslcerttype | string |
|
||||
|
||||
| proxy_sslkey | string |
|
||||
|
||||
| proxy_sslkeytype | string |
|
||||
|
||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||
|
||||
| proxy_ssl_cipher_list | list |
|
||||
|
||||
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend, no_partialchain, revoke_best_effort, native_ca, auto_client_cert
|
||||
|
||||
| proxy_ssl_verifyhost | long |
|
||||
|
||||
| proxy_ssl_verifypeer | long |
|
||||
|
||||
| proxy_tlsauth_password | string |
|
||||
|
||||
| proxy_tlsauth_type | string |
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| tls13_ciphers | list |
|
||||
|
||||
| proxy_tls13_ciphers | list |
|
||||
|
||||
| proxy_issuercert | string |
|
||||
|
||||
| ssl_ec_curves | string |
|
||||
|
||||
| doh_ssl_verifyhost | long |
|
||||
|
||||
| doh_ssl_verifypeer | long |
|
||||
|
||||
| doh_ssl_verifystatus | long |
|
||||
|
||||
| ca_cache_timeout | long |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
|
||||
| ssh_private_keyfile | string |
|
||||
|
||||
| ssh_host_public_key_md5 | string |
|
||||
|
||||
| ssh_knownhosts | string |
|
||||
|
||||
| ssh_compression | long |
|
||||
|
||||
| ssh_host_public_key_sha256 | string |
|
||||
|
||||
| telnetoptions | list |
|
||||
|
||||
| ws_options | mask | binary, close, cont, offset, ping, pong, raw_mode, text
|
||||
|
||||
| new_file_perms | long |
|
||||
|
||||
| new_directory_perms | long |
|
||||
|
||||
| quick_exit | long |
|
||||
|
||||
|===
|
||||
// end::url_options[]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,44 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::default_aliases[]
|
||||
[width="100%",cols="2m,5m,5",options="header"]
|
||||
|===
|
||||
| Alias | Befehl | Vervollständigung
|
||||
|
||||
| /aaway | /allserv /away | -
|
||||
| /anick | /allserv /nick | -
|
||||
| /beep | /print -beep | -
|
||||
| /bye | /quit | -
|
||||
| /c | /buffer clear | -
|
||||
| /cl | /buffer clear | -
|
||||
| /close | /buffer close | -
|
||||
| /chat | /dcc chat | -
|
||||
| /exit | /quit | -
|
||||
| /ig | /ignore | -
|
||||
| /j | /join | -
|
||||
| /k | /kick | -
|
||||
| /kb | /kickban | -
|
||||
| /leave | /part | -
|
||||
| /m | /msg | -
|
||||
| /mub | /unban * | -
|
||||
| /msgbuf | /command -buffer $1 * /input send $2- | %(buffers_plugins_names)
|
||||
| /n | /names | -
|
||||
| /q | /query | -
|
||||
| /redraw | /window refresh | -
|
||||
| /say | /msg * | -
|
||||
| /signoff | /quit | -
|
||||
| /t | /topic | -
|
||||
| /ub | /unban | -
|
||||
| /umode | /mode $nick | -
|
||||
| /v | /command core version | -
|
||||
| /w | /who | -
|
||||
| /wc | /window close | -
|
||||
| /wi | /whois | -
|
||||
| /wii | /whois $1 $1 | -
|
||||
| /wm | /window merge | -
|
||||
| /ww | /whowas | -
|
||||
|===
|
||||
// end::default_aliases[]
|
||||
@@ -1,112 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::irc_colors[]
|
||||
[width="50%",cols="^2m,3",options="header"]
|
||||
|===
|
||||
| IRC-Farbe | WeeChat-Farbe
|
||||
|
||||
| 00 | white
|
||||
| 01 | black
|
||||
| 02 | blue
|
||||
| 03 | green
|
||||
| 04 | lightred
|
||||
| 05 | red
|
||||
| 06 | magenta
|
||||
| 07 | brown
|
||||
| 08 | yellow
|
||||
| 09 | lightgreen
|
||||
| 10 | cyan
|
||||
| 11 | lightcyan
|
||||
| 12 | lightblue
|
||||
| 13 | lightmagenta
|
||||
| 14 | darkgray
|
||||
| 15 | gray
|
||||
| 16 | 52
|
||||
| 17 | 94
|
||||
| 18 | 100
|
||||
| 19 | 58
|
||||
| 20 | 22
|
||||
| 21 | 29
|
||||
| 22 | 23
|
||||
| 23 | 24
|
||||
| 24 | 17
|
||||
| 25 | 54
|
||||
| 26 | 53
|
||||
| 27 | 89
|
||||
| 28 | 88
|
||||
| 29 | 130
|
||||
| 30 | 142
|
||||
| 31 | 64
|
||||
| 32 | 28
|
||||
| 33 | 35
|
||||
| 34 | 30
|
||||
| 35 | 25
|
||||
| 36 | 18
|
||||
| 37 | 91
|
||||
| 38 | 90
|
||||
| 39 | 125
|
||||
| 40 | 124
|
||||
| 41 | 166
|
||||
| 42 | 184
|
||||
| 43 | 106
|
||||
| 44 | 34
|
||||
| 45 | 49
|
||||
| 46 | 37
|
||||
| 47 | 33
|
||||
| 48 | 19
|
||||
| 49 | 129
|
||||
| 50 | 127
|
||||
| 51 | 161
|
||||
| 52 | 196
|
||||
| 53 | 208
|
||||
| 54 | 226
|
||||
| 55 | 154
|
||||
| 56 | 46
|
||||
| 57 | 86
|
||||
| 58 | 51
|
||||
| 59 | 75
|
||||
| 60 | 21
|
||||
| 61 | 171
|
||||
| 62 | 201
|
||||
| 63 | 198
|
||||
| 64 | 203
|
||||
| 65 | 215
|
||||
| 66 | 227
|
||||
| 67 | 191
|
||||
| 68 | 83
|
||||
| 69 | 122
|
||||
| 70 | 87
|
||||
| 71 | 111
|
||||
| 72 | 63
|
||||
| 73 | 177
|
||||
| 74 | 207
|
||||
| 75 | 205
|
||||
| 76 | 217
|
||||
| 77 | 223
|
||||
| 78 | 229
|
||||
| 79 | 193
|
||||
| 80 | 157
|
||||
| 81 | 158
|
||||
| 82 | 159
|
||||
| 83 | 153
|
||||
| 84 | 147
|
||||
| 85 | 183
|
||||
| 86 | 219
|
||||
| 87 | 212
|
||||
| 88 | 16
|
||||
| 89 | 233
|
||||
| 90 | 235
|
||||
| 91 | 237
|
||||
| 92 | 239
|
||||
| 93 | 241
|
||||
| 94 | 244
|
||||
| 95 | 247
|
||||
| 96 | 250
|
||||
| 97 | 254
|
||||
| 98 | 231
|
||||
| 99 | default
|
||||
|===
|
||||
// end::irc_colors[]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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-2023 {author}
|
||||
Copyright (C) 2003-2024 {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
|
||||
|
||||
+121
-98
@@ -2,22 +2,13 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc: left
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
:toclevels: 2
|
||||
:sectnums:
|
||||
:sectnumlevels: 2
|
||||
:docinfo1:
|
||||
|
||||
|
||||
Übersetzer:
|
||||
|
||||
* Juergen Descher <jhdl@gmx.net>, 2009
|
||||
* Nils Görs <weechatter@arcor.de>, 2009-2022
|
||||
|
||||
toc::[]
|
||||
|
||||
|
||||
[[general]]
|
||||
== Allgemein
|
||||
|
||||
@@ -36,7 +27,7 @@ Aber diese Bedeutung trifft nicht auf WeeChat zu!)
|
||||
WeeChat ist sehr speicherschonend und besticht durch innovative Funktionen.
|
||||
|
||||
Weitere Infomationen über Weechat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
https://weechat.org/about/features/[features page ^↗^^].
|
||||
|
||||
[[compilation_install]]
|
||||
== Kompilierung / Installation
|
||||
@@ -45,14 +36,14 @@ https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
=== Ich habe gehört es gibt verschiedene GUIs für WeeChat. Wie kann ich diese kompilieren bzw. nutzen?
|
||||
|
||||
Einige Remote-GUIs sind verfügbar, siehe
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^^].
|
||||
|
||||
[[compile_git]]
|
||||
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
||||
|
||||
WeeChat muss mit CMake kompiliert werden.
|
||||
|
||||
Bitte folgen Sie link:weechat_user.en.html#source_package[build instructions ^↗^,window=_blank]
|
||||
Bitte folgen Sie link:weechat_user.en.html#source_package[build instructions ^↗^^]
|
||||
und stellen Sie sicher, dass alle erforderlichen Abhängigkeiten installiert sind.
|
||||
|
||||
Wenn Sie weiterhin Probleme haben, melden Sie diese bitte den Entwicklern.
|
||||
@@ -60,7 +51,7 @@ Wenn Sie weiterhin Probleme haben, melden Sie diese bitte den Entwicklern.
|
||||
[[compile_macos]]
|
||||
=== Wie installiere ich WeeChat auf macOS?
|
||||
|
||||
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew ^↗^,window=_blank] genutzt wird.
|
||||
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew ^↗^^] genutzt wird.
|
||||
Hilfe erhält man mittels:
|
||||
|
||||
----
|
||||
@@ -78,12 +69,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 ^↗^,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.
|
||||
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.
|
||||
|
||||
Neuen Anwendern wird empfohlen,
|
||||
die link:weechat_quickstart.de.html[Quickstart Anleitung ^↗^,window=_blank] zu lesen.
|
||||
die link:weechat_quickstart.de.html[Quickstart Anleitung ^↗^^] zu lesen.
|
||||
|
||||
[[display]]
|
||||
== Anzeige
|
||||
@@ -116,7 +107,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_ ^↗^,window=_blank]
|
||||
link:weechat_user.de.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^^]
|
||||
(diese Option kann schwerwiegenden Darstellungsfehler verursachen, wenn man die Option aktiviert hat).
|
||||
|
||||
[NOTE]
|
||||
@@ -132,9 +123,9 @@ 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 ^↗^,window=_blank].
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^^].
|
||||
|
||||
Siehe https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
Siehe https://github.com/weechat/weechat/issues/79[bug report ^↗^^]
|
||||
für weitere Informationen.
|
||||
|
||||
[[bars_background]]
|
||||
@@ -190,7 +181,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?
|
||||
|
||||
Diese Erweiterung, link:weechat_user.de.html#buflist[buflist ^↗^,window=_blank],
|
||||
Diese Erweiterung, link:weechat_user.de.html#buflist[buflist ^↗^^],
|
||||
wird standardmäßig geladen und aktiviert.
|
||||
|
||||
Um die maximale Breite der buflist-Spalte zu reduzieren, nutze folgende Option:
|
||||
@@ -235,7 +226,7 @@ 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 zusätzlich die https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
Es gibt zusätzlich die https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^^]
|
||||
mit Beispielen für die erweiterte buflist Konfiguration.
|
||||
|
||||
[[customize_prefix]]
|
||||
@@ -282,7 +273,7 @@ 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 ^↗^,window=_blank]
|
||||
Siehe link:weechat_user.de.html#screen_layout[Benutzerhandbuch / Screen layout ^↗^^]
|
||||
für weitere Informationen zur Hotlist.
|
||||
|
||||
[[input_bar_size]]
|
||||
@@ -451,7 +442,7 @@ anpassen:
|
||||
Sie können eine beliebige Farbnummer in den Optionen verwenden (optional: Sie können Farbaliase,
|
||||
mit dem Befehl `/color`, erstellen.
|
||||
|
||||
Bitte lese link:weechat_user.de.html#colors[Benutzerhandbuch / Farben ^↗^,window=_blank]
|
||||
Bitte lese link:weechat_user.de.html#colors[Benutzerhandbuch / Farben ^↗^^]
|
||||
für weitere Informationen die das Farbmanagement betreffen.
|
||||
|
||||
[[search_text]]
|
||||
@@ -462,7 +453,7 @@ 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 ^↗^,window=_blank]
|
||||
siehe link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung ^↗^^]
|
||||
für weitere Informationen zu dieser Funktion.
|
||||
|
||||
[[terminal_focus]]
|
||||
@@ -490,15 +481,15 @@ Zusätzlich sollten noch zwei Tastenbefehle eingebunden werden
|
||||
(der Befehl `/print` sollte durch einen Befehl Ihrer Wahl ersetzt werden):
|
||||
|
||||
----
|
||||
/key bind meta2-I /print -core focus
|
||||
/key bind meta2-O /print -core unfocus
|
||||
/key bind meta-[I /print -core focus
|
||||
/key bind meta-[O /print -core unfocus
|
||||
----
|
||||
|
||||
Um zum Beispiel Buffer als gelesen zu markieren,
|
||||
wenn das Terminal den Fokus verlieren sollte:
|
||||
|
||||
----
|
||||
/key bind meta2-O /allbuf /buffer set unread
|
||||
/key bind meta-[O /allbuf /buffer set unread
|
||||
----
|
||||
|
||||
[[screen_paste]]
|
||||
@@ -622,6 +613,30 @@ Sollte die macOS Terminal Applikation genutzt werden, empfiehlt es sich,
|
||||
die Option "Use option as meta key" in den Menü-Einstellungen zu aktivieren.
|
||||
Dadurch kann man die kbd:[Option] Taste als Meta-Taste verwenden.
|
||||
|
||||
[[enter_key]]
|
||||
=== Einige Tasten, einschließlich Enter, funktionieren nicht. Weshalb?
|
||||
|
||||
Wenn eine WeeChat Version < 4.0.0 mit Konfigurationsdateien ausgeführt wird,
|
||||
die von einer Weechat Version ≥ 4.0.0 erstellt wurde, sind die Tastennamen ungültig und viele Tasten funktionieren überhaupt nicht mehr. +
|
||||
Um dies zu reparieren, muss WeeChat beendet und alle Einträge aus dem Abschnitt `[key*]` innerhalb der weechat.conf entfernt werden.
|
||||
Wenn WeeChat erneut gestartet wird, wird die Standardtastenbelegung neu erstellt.
|
||||
|
||||
[[key_f11]]
|
||||
=== Die Taste F11 maximiert das Terminalfenster. Wie kann ich aber in der Nicklist nach oben scrollen?
|
||||
|
||||
Die kbd:[F11] Taste wird häufig von Terminals verwendet, um das Fenster zu maximieren. Aber
|
||||
kbd:[F11]/kbd:[F12] sind ebenso die Standardtasten, in WeeChat, um in der Nickliste zu scrollen.
|
||||
|
||||
Man kann andere Tasten nutzen, zum Beispiel kbd:[Shift+F11] und kbd:[Shift+F12],
|
||||
mit WeeChat ≥ 4.0.0:
|
||||
|
||||
----
|
||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
||||
----
|
||||
|
||||
Eine andere Möglichkeit besteht darin, die Maus zu aktivieren (Taste: kbd:[Alt+m]) und mit dem Mausrad zu scrollen (siehe auch Fragen zu <<mouse,mouse>>).
|
||||
|
||||
[[customize_key_bindings]]
|
||||
=== Wie kann ich die Tastaturbelegung anpassen?
|
||||
|
||||
@@ -643,7 +658,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 ^↗^,window=_blank].
|
||||
link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung ^↗^^].
|
||||
|
||||
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:
|
||||
@@ -652,6 +667,12 @@ werden um dann z.B. mit einem Kurzbefehl `/123` zum Buffer #123 zu springen:
|
||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||
----
|
||||
|
||||
Um einfach von einem Buffer zu einem anderen zu springen, kann man das _go.py_ Skript installieren:
|
||||
|
||||
----
|
||||
/script install go.py
|
||||
----
|
||||
|
||||
[[global_history]]
|
||||
=== Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen?
|
||||
|
||||
@@ -660,15 +681,19 @@ genutzt: kbd:[Ctrl+↑] und kbd:[Ctrl+↓]).
|
||||
|
||||
Beispiele:
|
||||
|
||||
----
|
||||
/key bind up /input history_global_previous
|
||||
/key bind down /input history_global_next
|
||||
----
|
||||
|
||||
Ab WeeChat ≤ 3.8 muß der rohe Schlüsselwert verwenden werden (drücken Sie kbd:[Alt+k] und dann die
|
||||
entsprechende Taste um den Wert anzuzeigen):
|
||||
|
||||
----
|
||||
/key bind meta2-A /input history_global_previous
|
||||
/key bind meta2-B /input history_global_next
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Die Tasten "meta2-A" und "meta2-B" 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.
|
||||
|
||||
[[mouse]]
|
||||
== Mausunterstützung
|
||||
|
||||
@@ -725,8 +750,8 @@ anstelle der kbd:[Shift]-Taste gedrückt werden).
|
||||
[[irc]]
|
||||
== IRC
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
=== Es treten Probleme bei einer Serververbindung mittels SSL auf. Was kann ich tun?
|
||||
[[irc_tls_connection]]
|
||||
=== Es treten Probleme bei einer Serververbindung mittels TLS auf. Was kann ich tun?
|
||||
|
||||
Falls macOS genutzt wird,
|
||||
muss mittels Homebrew `openssl` installiert werden.
|
||||
@@ -737,16 +762,16 @@ dass der gnutls Handshake fehlgeschlagen ist,
|
||||
sollte ein kleinerer Diffie-Hellman-Schlüssel verwendet werden (Standardgröße: 2048):
|
||||
|
||||
----
|
||||
/set irc.server.example.ssl_dhkey_size 1024
|
||||
/set irc.server.example.tls_dhkey_size 1024
|
||||
----
|
||||
|
||||
Falls Fehlermeldungen auftreten, die besagen,
|
||||
dass das Zertifikat ungültig ist,
|
||||
dann kann die "ssl_verify" Überprüfung deaktiviert werden
|
||||
dann kann die "tls_verify" Überprüfung deaktiviert werden
|
||||
(die Verbindung ist in diesem Fall weniger sicher):
|
||||
|
||||
----
|
||||
/set irc.server.example.ssl_verify off
|
||||
/set irc.server.example.tls_verify off
|
||||
----
|
||||
|
||||
Sollte das Zertifikat für den Server (laut CA) ungültig sein,
|
||||
@@ -755,30 +780,30 @@ dann kann (ersatzweise) der Fingerabdruck (SHA-512, SHA-256 or SHA-1)
|
||||
des Zertifikats von Hand eingetragen werden:
|
||||
|
||||
----
|
||||
/set irc.server.example.ssl_fingerprint 0c06e399d3c3597511dc8550848bfd2a502f0ce19883b728b73f6b7e8604243b
|
||||
/set irc.server.example.tls_fingerprint 0c06e399d3c3597511dc8550848bfd2a502f0ce19883b728b73f6b7e8604243b
|
||||
----
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
=== Bei einem Verbindungsaufbau zum Server via SSL erhalte ich "TLS Handshake fehlgeschlagen". Wie kann ich das beheben?
|
||||
[[irc_tls_handshake_error]]
|
||||
=== Bei einem Verbindungsaufbau zum Server via TLS erhalte ich "TLS Handshake fehlgeschlagen". Wie kann ich das beheben?
|
||||
|
||||
Man sollte versuchen, eine andere Priorität zu nutzen; Im folgenden Beispiel
|
||||
muss "xxx" durch den betroffenen Servernamen ersetzt werden:
|
||||
|
||||
----
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----
|
||||
|
||||
[[irc_ssl_libera]]
|
||||
=== Wie kann ich eine SSL gesicherte Verbindung zum libera Server herstellen?
|
||||
[[irc_tls_libera]]
|
||||
=== Wie kann ich eine TLS gesicherte Verbindung zum libera Server herstellen?
|
||||
|
||||
Überprüfen Sie, ob auf Ihrem System Zertifikate installiert sind. Dies wird häufig
|
||||
durch das Paket "ca-certificates" bereitgestellt.
|
||||
|
||||
Konfiguration des Servers, Port angeben, SSL aktivieren und Verbindung herstellen:
|
||||
Konfiguration des Servers, Port angeben, TLS aktivieren und Verbindung herstellen:
|
||||
|
||||
----
|
||||
/set irc.server.libera.addresses "irc.libera.chat/6697"
|
||||
/set irc.server.libera.ssl on
|
||||
/set irc.server.libera.tls on
|
||||
/connect libera
|
||||
----
|
||||
|
||||
@@ -882,27 +907,9 @@ 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 Kanälen filtern/unterdrücken?
|
||||
=== Wie kann ich join/part/quit und andere unerwünschte Nachrichten in IRC-Kanälen filtern?
|
||||
|
||||
Zum einen mit dem Smart-Filter.
|
||||
Bei dessen Anwendung werden join/part/quit-Meldungen von Usern angezeigt,
|
||||
die kürzlich noch etwas geschrieben haben:
|
||||
|
||||
----
|
||||
/set irc.look.smart_filter on
|
||||
/filter add irc_smart * irc_smart_filter *
|
||||
----
|
||||
|
||||
Es besteht auch die Möglichkeit einer globalen Filterung.
|
||||
Dabei werden *alle* join/part/quit Nachrichten unterdrückt:
|
||||
|
||||
----
|
||||
/filter add joinquit * irc_join,irc_part,irc_quit *
|
||||
----
|
||||
|
||||
[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 ^↗^,window=_blank].
|
||||
siehe link:weechat_user.de.html#irc_smart_filter[User's guide / IRC smart filter ^↗^^].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== Wie kann ich die Server-Nachrichten filtern, wenn ich einen IRC Kanal betrete?
|
||||
@@ -1005,40 +1012,24 @@ Es gibt weitere Skripten, die auch zu diesem Thema passen:
|
||||
[[disable_highlights_for_specific_nicks]]
|
||||
=== Wie kann ich Highlights (Hervorhebungen) von bestimmten Nicks deaktivieren?
|
||||
|
||||
Dafür sollte link:weechat_user.de.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
Dafür sollte link:weechat_user.de.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^^]
|
||||
die Buffer-Eigenschaft genutzt werden, um das maximale Hotlist-Level für einige Nicks pro Puffer festzulegen,
|
||||
oder pro Gruppe von Buffern (wie IRC-Server).
|
||||
|
||||
Um nun Highlights (Hervorhebungen) für bestimmte Nicks zu deaktivieren, muss
|
||||
man die entsprechende Eigenschaft auf 2 setzen:
|
||||
man die entsprechende Eigenschaft auf 2 setzen.
|
||||
|
||||
Für den aktuellen Buffer:
|
||||
----
|
||||
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
||||
----
|
||||
|
||||
Diese Buffereigenschaft wird aber nicht permanent in der Konfiguration
|
||||
gespeichert. Um diese Eigenschaften permanent zu verwenden, muss man
|
||||
das Skript _buffer_autoset.py_ nutzen:
|
||||
Für alle Kanäle auf dem Server "libera":
|
||||
|
||||
----
|
||||
/script install buffer_autoset.py
|
||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
||||
----
|
||||
|
||||
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Kanal
|
||||
#weechat auf dem IRC Server libera zu deaktivieren:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
Um dies auf den kompletten libera Server anzuwenden:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
Für weitere Beispiele, siehe `+/help buffer_autoset+`.
|
||||
|
||||
[[irc_target_buffer]]
|
||||
=== Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
|
||||
|
||||
@@ -1071,7 +1062,7 @@ Die Skripten für WeeChat sind mit anderen IRC-Clients nicht kompatibel und vice
|
||||
[[scripts_update]]
|
||||
=== Der Befehl "/script update" liest die Skriptliste nicht ein, wie kann ich das beheben?
|
||||
|
||||
Als erstes sollte das Kapitel über SSL Verbindungen in dieser FAQ gelesen werden.
|
||||
Als erstes sollte das Kapitel über TLS Verbindungen in dieser FAQ gelesen werden.
|
||||
|
||||
Wenn das nicht hilft, sollte die Skriptliste von Hand gelöscht werden. Dazu
|
||||
folgenden Befehl in der Shell ausführen:
|
||||
@@ -1158,7 +1149,7 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
||||
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Spell, Xfer
|
||||
(wird für DCC benötigst), siehe `/help weechat.plugin.autoload`.
|
||||
* installiere ausschließlich Skripten die Du auch nutzt
|
||||
* Laden Sie keine Systemzertifikate, wenn SSL *NICHT* verwendet wird: Deaktivieren Sie diese Option:
|
||||
* Laden Sie keine Systemzertifikate, wenn TLS *NICHT* verwendet wird: Deaktivieren Sie diese Option:
|
||||
_weechat.network.gnutls_ca_system_.
|
||||
* der Wert der Option _weechat.history.max_buffer_lines_number_ sollte möglichst
|
||||
niedrig eingestellt werden oder die Option _weechat.history.max_buffer_lines_minutes_
|
||||
@@ -1171,7 +1162,8 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
||||
Man sollte sich die Tipps zum <<memory_usage,Speicherverbrauch>> ansehen
|
||||
und zusätzlich diese Tipps beherzigen:
|
||||
|
||||
* "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist`
|
||||
* "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist` (Taste: kbd:[Alt+Shift+N]).
|
||||
* deaktiviere "buflist": `/buflist disable` (Taste: kbd:[Alt+Shift+B]).
|
||||
* die Sekundenanzeigen in der Statusbar sollte deaktiviert werden:
|
||||
`+/set weechat.look.item_time_format "%H:%M"+` (dies ist die Standardeinstellung)
|
||||
* die Echtzeit Rechtschreibkorrektur sollte deaktiviert werden (falls sie aktiviert wurde):
|
||||
@@ -1193,14 +1185,19 @@ Deaktiviere die automatische Antwort für alle CTCP Anfragen:
|
||||
|
||||
----
|
||||
/set irc.ctcp.clientinfo ""
|
||||
/set irc.ctcp.finger ""
|
||||
/set irc.ctcp.source ""
|
||||
/set irc.ctcp.time ""
|
||||
/set irc.ctcp.userinfo ""
|
||||
/set irc.ctcp.version ""
|
||||
/set irc.ctcp.ping ""
|
||||
----
|
||||
|
||||
Mit WeeChat < 4.1.0 wurden andere CTCP-Anfragen standardmäßig beantwortet und müssen ebenfalls deaktiviert werden:
|
||||
|
||||
----
|
||||
/set irc.ctcp.finger ""
|
||||
/set irc.ctcp.userinfo ""
|
||||
----
|
||||
|
||||
Entferne und deaktiviere das automatische Ausführen der "xfer"-Erweiterung, die beispielsweise für "IRC DCC" verantwortlich ist:
|
||||
|
||||
----
|
||||
@@ -1212,7 +1209,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 ^↗^,window=_blank].
|
||||
Siehe auch link:weechat_user.de.html#secured_data[Benutzerhandbuch / sensible Daten ^↗^^].
|
||||
|
||||
Beispiel:
|
||||
|
||||
@@ -1233,16 +1230,42 @@ 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 ^↗^,window=_blank]
|
||||
Siehe link:weechat_user.de.html#files_and_directories[Benutzerhandbuch / Dateien und Verzeichnisse ^↗^^]
|
||||
für weitere Informationen über Konfigurationsdateien.
|
||||
|
||||
[[move_to_another_device]]
|
||||
=== Ich möchte mein WeeChat auf ein anderes Gerät verschieben und meine Konfiguration behalten. Was muss ich kopieren?
|
||||
|
||||
Überprüfen Sie zunächst die von WeeChat verwendeten Verzeichnisse mit diesem Befehl: `/debug dirs`. +
|
||||
Die Verzeichnisse home/config und home/data müssen kopiert werden (alle Dateien und Unterverzeichnisse).
|
||||
|
||||
Falls beispielsweise XDG-Verzeichnisse verwendet werden (Standard bei WeeChat ≥ 3.2), sollten die
|
||||
Verzeichnisse `$HOME/.config/weechat` und `$HOME/.local/share/weechat` lauten. +
|
||||
Sollte ein einzelnes Verzeichnis verwenden werden (Standard bei WeeChat < 3.2), sollte das Verzeichnis
|
||||
`$HOME/.weechat` lauuten.
|
||||
|
||||
[IMPORTANT]
|
||||
Die WeeChat-Version auf dem Zielgerät muss größer oder gleich der Version sein des Ausganggerätes. +
|
||||
Ein Downgrade der WeeChat-Konfiguration wird *NICHT UNTERSTÜTZT* und kann zu Schäden führen und ein
|
||||
unbrauchbares WeeChat verursachen.
|
||||
|
||||
Schritte:
|
||||
|
||||
. Weechat beenden: `/quit` (oder `/upgrade -quit`, falls eine Sitzung fortgesetzt werden soll,
|
||||
einschließlich des Inhalts aller Buffer).
|
||||
. Kopieren Sie alle Verzeichnisse, Unterverzeichnisse und Dateien auf das neue Gerät und behalten Sie die
|
||||
Namen und Berechtigungen bei.
|
||||
. Optional: Kopieren Sie alle Dateien außerhalb dieser Verzeichnisse, die auf Ihre Konfiguration verweisen
|
||||
(es wird nicht empfohlen, Dateien außerhalb von WeeChat-Verzeichnissen zu verwenden).
|
||||
. WeeChat auf dem neuen Gerät starten: `weechat` (oder `weechat --upgrade`, falls die Sitzung gesichert wurde).
|
||||
|
||||
[[development]]
|
||||
== Entwicklung
|
||||
|
||||
[[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/[this page ^↗^,window=_blank].
|
||||
siehe https://weechat.org/about/support/[this page ^↗^^].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Wenn man WeeChat in gdb startet, kann ein Thread-Fehler auftreten. Was beudeutet das?
|
||||
@@ -1281,10 +1304,10 @@ Das Gleiche gilt für Systeme, zu denen wir keinen Zugang haben.
|
||||
Es gibt einiges zu tun - z.B. testen, programmieren, dokumentieren, ...
|
||||
|
||||
Bitte kontaktieren Sie uns per IRC oder Mail, siehe
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
https://weechat.org/about/support/[support page ^↗^^].
|
||||
|
||||
[[donate]]
|
||||
=== Kann ich Geld oder anderes an die WeeChat Entwickler spenden?
|
||||
|
||||
Sie können uns Geld spenden, um die Entwicklung zu unterstützen.
|
||||
Details dazu, unter https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
Details dazu, unter https://weechat.org/donate/[donation page ^↗^^].
|
||||
|
||||
@@ -2,11 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc: left
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
:sectnums:
|
||||
:docinfo1:
|
||||
|
||||
|
||||
Übersetzer:
|
||||
|
||||
@@ -14,7 +10,6 @@
|
||||
* Juergen Descher <jhdl@gmx.net>, 2009
|
||||
* Nils Görs <weechatter@arcor.de>, 2009-2018
|
||||
|
||||
|
||||
[[start]]
|
||||
== Start von WeeChat
|
||||
|
||||
@@ -123,7 +118,7 @@ Um eine Verbindung zu einem IRC Server herzustellen, wird der
|
||||
`/server` Befehl verwendet. Beispiel:
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -ssl
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
----
|
||||
|
||||
In diesem Beispiel ist `libera` der interne, von Weechat genutzte Servername.
|
||||
@@ -442,13 +437,13 @@ Zeige eine liste aller verfügbaren Skripten:
|
||||
----
|
||||
|
||||
Eine Liste von Skripten ist in WeeChat mittels `/script` oder auf
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank] verfügbar.
|
||||
https://weechat.org/scripts/[this page ^↗^^] verfügbar.
|
||||
|
||||
[[more_doc]]
|
||||
== Weitere Dokumentation
|
||||
|
||||
WeeChat kann nun verwendet werden und lesen Sie
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^^]
|
||||
falls Sie weitere Fragen haben.
|
||||
|
||||
Viel Spass mit WeeChat!
|
||||
|
||||
@@ -2,24 +2,16 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc: left
|
||||
:toclevels: 4
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
:sectnums:
|
||||
:sectnumlevels: 3
|
||||
:docinfo1:
|
||||
|
||||
|
||||
Übersetzer:
|
||||
|
||||
* Nils Görs <weechatter@arcor.de>, 2010-2016
|
||||
|
||||
|
||||
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
|
||||
|
||||
Die neueste Version dieses Dokuments finden Sie unter
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
https://weechat.org/doc/[this page ^↗^^].
|
||||
|
||||
[[introduction]]
|
||||
== Einleitung
|
||||
@@ -67,7 +59,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 ^↗^,window=_blank] (Englisch).
|
||||
und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^^] (Englisch).
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Besonderheiten der einzelnen Skriptsprachen
|
||||
@@ -81,7 +73,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 ^↗^,window=_blank].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
|
||||
[[python_functions]]
|
||||
===== Funktionen
|
||||
@@ -119,7 +111,7 @@ Liste ist nicht vollständig):
|
||||
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 ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat Anleitung für API Erweiterung ^↗^^].
|
||||
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
@@ -134,7 +126,7 @@ Liste ist nicht vollständig):
|
||||
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 ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat Anleitung für API Erweiterung ^↗^^].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable
|
||||
@@ -215,7 +207,7 @@ Sie können diese Konstante übergeben, wenn eine Funktion NULL als Argument akz
|
||||
und Sie erhält es als Wert eines Arguments in einer Callback-Funktion zurück, wenn
|
||||
der Wert des Arguments NULL ist. Um zu sehen, welche Funktionen Nullwerte akzeptieren
|
||||
und Nullwerte in Rückrufen übergeben, schauen Sie sich die Python-Prototypen an
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^^].
|
||||
|
||||
[[language_guile]]
|
||||
==== Guile (Scheme)
|
||||
@@ -396,7 +388,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 ^↗^,window=_blank] (Englisch).
|
||||
die link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^^] (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
|
||||
@@ -565,322 +557,21 @@ 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 ^↗^,window=_blank] (Englisch).
|
||||
lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^^] (Englisch).
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Funktionen
|
||||
|
||||
Liste der Skript API Funktionen:
|
||||
|
||||
[width="100%",cols="1,5",options="header"]
|
||||
|===
|
||||
| Kategorie | Funktionen
|
||||
|
||||
| Allgemein
|
||||
| register
|
||||
|
||||
| Erweiterungen
|
||||
| plugin_get_name
|
||||
|
||||
| Strings
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
ngettext +
|
||||
strlen_screen +
|
||||
string_match +
|
||||
string_match_list +
|
||||
string_has_highlight +
|
||||
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 +
|
||||
string_input_for_buffer +
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| Verzeichnisse
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| sortierte Listen
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
list_casesearch +
|
||||
list_casesearch_pos +
|
||||
list_get +
|
||||
list_set +
|
||||
list_next +
|
||||
list_prev +
|
||||
list_string +
|
||||
list_size +
|
||||
list_remove +
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| Konfigurationsdatei
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
config_search_option +
|
||||
config_string_to_boolean +
|
||||
config_option_reset +
|
||||
config_option_set +
|
||||
config_option_set_null +
|
||||
config_option_unset +
|
||||
config_option_rename +
|
||||
config_option_is_null +
|
||||
config_option_default_is_null +
|
||||
config_boolean +
|
||||
config_boolean_default +
|
||||
config_integer +
|
||||
config_integer_default +
|
||||
config_string +
|
||||
config_string_default +
|
||||
config_color +
|
||||
config_color_default +
|
||||
config_write_option +
|
||||
config_write_line +
|
||||
config_write +
|
||||
config_read +
|
||||
config_reload +
|
||||
config_option_free +
|
||||
config_section_free_options +
|
||||
config_section_free +
|
||||
config_free +
|
||||
config_get +
|
||||
config_get_plugin +
|
||||
config_is_set_plugin +
|
||||
config_set_plugin +
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| Tastenbelegung
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| 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 +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
hook_process +
|
||||
hook_process_hashtable +
|
||||
hook_connect +
|
||||
hook_line +
|
||||
hook_print +
|
||||
hook_signal +
|
||||
hook_signal_send +
|
||||
hook_hsignal +
|
||||
hook_hsignal_send +
|
||||
hook_config +
|
||||
hook_completion +
|
||||
hook_modifier +
|
||||
hook_modifier_exec +
|
||||
hook_info +
|
||||
hook_info_hashtable +
|
||||
hook_infolist +
|
||||
hook_focus +
|
||||
hook_set +
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| Buffer
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
buffer_search_main +
|
||||
buffer_clear +
|
||||
buffer_close +
|
||||
buffer_merge +
|
||||
buffer_unmerge +
|
||||
buffer_get_integer +
|
||||
buffer_get_string +
|
||||
buffer_get_pointer +
|
||||
buffer_set +
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| Fenster
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| Nickliste
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
nicklist_remove_group +
|
||||
nicklist_remove_nick +
|
||||
nicklist_remove_all +
|
||||
nicklist_group_get_integer +
|
||||
nicklist_group_get_string +
|
||||
nicklist_group_get_pointer +
|
||||
nicklist_group_set +
|
||||
nicklist_nick_get_integer +
|
||||
nicklist_nick_get_string +
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| Bars
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
bar_search +
|
||||
bar_new +
|
||||
bar_set +
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| Befehle
|
||||
| command +
|
||||
command_options
|
||||
|
||||
| Vervollständigung
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| Informationen
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| Infolisten
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
infolist_new_var_pointer +
|
||||
infolist_new_var_time +
|
||||
infolist_get +
|
||||
infolist_next +
|
||||
infolist_prev +
|
||||
infolist_reset_item_cursor +
|
||||
infolist_search_var +
|
||||
infolist_fields +
|
||||
infolist_integer +
|
||||
infolist_string +
|
||||
infolist_pointer +
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
hdata_get_var_array_size_string +
|
||||
hdata_get_var_hdata +
|
||||
hdata_get_list +
|
||||
hdata_check_pointer +
|
||||
hdata_move +
|
||||
hdata_search +
|
||||
hdata_char +
|
||||
hdata_integer +
|
||||
hdata_long +
|
||||
hdata_string +
|
||||
hdata_pointer +
|
||||
hdata_time +
|
||||
hdata_hashtable +
|
||||
hdata_compare +
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| Upgrade
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
|===
|
||||
include::{autogendir}/autogen_scripting_functions.de.adoc[tag=functions]
|
||||
|
||||
[[script_api_constants]]
|
||||
=== Konstanten
|
||||
|
||||
Liste der Konstanten in Skript API:
|
||||
|
||||
[width="100%",cols="1,5",options="header"]
|
||||
|===
|
||||
| Kategorie | Konstanten
|
||||
|
||||
| return codes
|
||||
| `WEECHAT_RC_OK` (integer) +
|
||||
`WEECHAT_RC_OK_EAT` (integer) +
|
||||
`WEECHAT_RC_ERROR` (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) +
|
||||
`WEECHAT_CONFIG_WRITE_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_SET_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||
|
||||
| sortierte Listen
|
||||
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||
`WEECHAT_LIST_POS_END` (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) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (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) +
|
||||
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||
|
||||
| hook Signal
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||
|===
|
||||
include::{autogendir}/autogen_scripting_constants.de.adoc[tag=constants]
|
||||
|
||||
[[common_tasks]]
|
||||
== Gemeinschaftsaufgabe
|
||||
@@ -888,7 +579,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 ^↗^,window=_blank] (Englisch).
|
||||
link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^^] (Englisch).
|
||||
|
||||
[[buffers]]
|
||||
=== Buffer
|
||||
@@ -1166,7 +857,7 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
|
||||
[TIP]
|
||||
Alle verfügbaren Informationen über WeeChat findet man unter
|
||||
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
|
||||
https://weechat.org/dev/info/[this page ^↗^^].
|
||||
|
||||
Beispiel eines URL Transfers, mit zusätzliche Optionen: Es wird das neuste
|
||||
WeeChat Entwicklerpaket in die Datei _/tmp/weechat-devel.tar.gz_ gesichert:
|
||||
@@ -1185,7 +876,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 ^↗^,window=_blank] (Englisch).
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^^] (Englisch).
|
||||
|
||||
[[config_options]]
|
||||
=== Konfiguration / Optionen
|
||||
|
||||
+982
-686
File diff suppressed because it is too large
Load Diff
-896
@@ -1,896 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2008-2023 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
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
"""
|
||||
Documentation generator for WeeChat: build include files with:
|
||||
|
||||
- commands
|
||||
- config options
|
||||
- default aliases
|
||||
- IRC colors
|
||||
- infos
|
||||
- infos hashtable
|
||||
- infolists
|
||||
- hdata
|
||||
- completions
|
||||
- URL options
|
||||
- plugins priority
|
||||
- config files priority.
|
||||
|
||||
Instructions to build config files yourself in WeeChat directories
|
||||
(replace "path" with the path to the docgen.py script in WeeChat repository):
|
||||
|
||||
weechat -t -r "/python load /path/docgen.py;/docgen;/quit"
|
||||
|
||||
There's one output file per language (where xx is language):
|
||||
|
||||
/path/xx/includes/autogen.xx.adoc
|
||||
|
||||
This script requires Python 3.6+.
|
||||
"""
|
||||
|
||||
SCRIPT_NAME = 'docgen'
|
||||
SCRIPT_AUTHOR = 'Sébastien Helleu <flashcode@flashtux.org>'
|
||||
SCRIPT_VERSION = '0.3'
|
||||
SCRIPT_LICENSE = 'GPL3'
|
||||
SCRIPT_DESC = 'Documentation generator for WeeChat'
|
||||
|
||||
SCRIPT_COMMAND = 'docgen'
|
||||
|
||||
IMPORT_OK = True
|
||||
|
||||
# pylint: disable=wrong-import-position
|
||||
try:
|
||||
from collections import defaultdict
|
||||
from operator import itemgetter
|
||||
import gettext
|
||||
import hashlib
|
||||
import inspect
|
||||
import os
|
||||
import re
|
||||
except ImportError as exc:
|
||||
print(f'Missing package(s) for {SCRIPT_NAME}: {exc}')
|
||||
IMPORT_OK = False
|
||||
|
||||
try:
|
||||
import weechat # pylint: disable=import-error
|
||||
except ImportError:
|
||||
print('This script must be run under WeeChat.')
|
||||
print('Get WeeChat now at: https://weechat.org/')
|
||||
IMPORT_OK = False
|
||||
|
||||
# list of locales for which we want to build doc files to include
|
||||
LOCALE_LIST = (
|
||||
'de_DE',
|
||||
'en_US',
|
||||
'fr_FR',
|
||||
'it_IT',
|
||||
'ja_JP',
|
||||
'pl_PL',
|
||||
'sr_RS',
|
||||
)
|
||||
|
||||
# all commands/options/.. of following plugins will produce a file
|
||||
# non-listed plugins will be ignored
|
||||
# value: "c" = plugin may have many commands
|
||||
# "o" = write config options for plugin
|
||||
# if plugin is listed without "c", that means plugin has only one command
|
||||
# /name (where "name" is name of plugin)
|
||||
# Note: we consider core is a plugin called "weechat"
|
||||
PLUGIN_LIST = {
|
||||
'sec': 'o',
|
||||
'weechat': 'co',
|
||||
'alias': '',
|
||||
'buflist': 'co',
|
||||
'charset': 'o',
|
||||
'exec': 'o',
|
||||
'fifo': 'o',
|
||||
'fset': 'o',
|
||||
'irc': 'co',
|
||||
'logger': 'o',
|
||||
'relay': 'o',
|
||||
'script': 'o',
|
||||
'perl': 'o',
|
||||
'python': 'o',
|
||||
'ruby': 'o',
|
||||
'lua': 'o',
|
||||
'tcl': 'o',
|
||||
'guile': 'o',
|
||||
'javascript': 'o',
|
||||
'php': 'o',
|
||||
'spell': 'o',
|
||||
'trigger': 'o',
|
||||
'xfer': 'co',
|
||||
'typing': 'o',
|
||||
}
|
||||
|
||||
# options to ignore
|
||||
IGNORE_OPTIONS = (
|
||||
r'charset\.decode\..*',
|
||||
r'charset\.encode\..*',
|
||||
r'irc\.msgbuffer\..*',
|
||||
r'irc\.ctcp\..*',
|
||||
r'irc\.ignore\..*',
|
||||
r'irc\.server\..*',
|
||||
r'logger\.level\..*',
|
||||
r'logger\.mask\..*',
|
||||
r'relay\.port\..*',
|
||||
r'spell\.dict\..*',
|
||||
r'spell\.option\..*',
|
||||
r'trigger\.trigger\..*',
|
||||
r'weechat\.palette\..*',
|
||||
r'weechat\.proxy\..*',
|
||||
r'weechat\.bar\..*',
|
||||
r'weechat\.debug\..*',
|
||||
r'weechat\.notify\..*',
|
||||
)
|
||||
|
||||
# completions to ignore
|
||||
IGNORE_COMPLETIONS_ITEMS = (
|
||||
'docgen.*',
|
||||
)
|
||||
|
||||
|
||||
def translate(string):
|
||||
"""Translate a string."""
|
||||
return _(string) if string else string
|
||||
|
||||
|
||||
def escape(string):
|
||||
"""Escape a string."""
|
||||
return string.replace('|', '\\|')
|
||||
|
||||
|
||||
def sha256_file(filename, default=None):
|
||||
"""Return SHA256 checksum of a file."""
|
||||
try:
|
||||
with open(filename, 'rb') as _file:
|
||||
checksum = hashlib.sha256(_file.read()).hexdigest()
|
||||
except IOError:
|
||||
checksum = default
|
||||
return checksum
|
||||
|
||||
|
||||
class WeechatDoc(): # pylint: disable=too-few-public-methods
|
||||
"""A class to read documentation from WeeChat API."""
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def read_doc(self):
|
||||
"""Get documentation from WeeChat API."""
|
||||
functions = sorted([
|
||||
func[0]
|
||||
for func in inspect.getmembers(self, predicate=inspect.isfunction)
|
||||
if func[0].startswith('_read_')
|
||||
])
|
||||
return {
|
||||
function[6:]: getattr(self, function)()
|
||||
for function in functions
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
def _read_user_commands():
|
||||
"""
|
||||
Get list of WeeChat/plugins commands as dictionary with 3 indexes:
|
||||
plugin, command, xxx.
|
||||
"""
|
||||
commands = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'command')
|
||||
while weechat.infolist_next(infolist):
|
||||
plugin = (weechat.infolist_string(infolist, 'plugin_name')
|
||||
or 'weechat')
|
||||
if plugin in PLUGIN_LIST:
|
||||
command = weechat.infolist_string(infolist, 'command')
|
||||
if command == plugin or 'c' in PLUGIN_LIST[plugin]:
|
||||
for key in ('description', 'args', 'args_description',
|
||||
'completion'):
|
||||
commands[plugin][command][key] = \
|
||||
weechat.infolist_string(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return commands
|
||||
|
||||
@staticmethod
|
||||
def _read_user_options():
|
||||
"""
|
||||
Get list of WeeChat/plugins config options as dictionary with
|
||||
4 indexes: config, section, option, xxx.
|
||||
"""
|
||||
options = \
|
||||
defaultdict(lambda: defaultdict(lambda: defaultdict(defaultdict)))
|
||||
infolist = weechat.infolist_get('option', '', '')
|
||||
while weechat.infolist_next(infolist):
|
||||
full_name = weechat.infolist_string(infolist, 'full_name')
|
||||
if not re.search('|'.join(IGNORE_OPTIONS), full_name):
|
||||
config = weechat.infolist_string(infolist, 'config_name')
|
||||
if config in PLUGIN_LIST and 'o' in PLUGIN_LIST[config]:
|
||||
section = weechat.infolist_string(infolist, 'section_name')
|
||||
option = weechat.infolist_string(infolist, 'option_name')
|
||||
for key in ('type', 'string_values', 'default_value',
|
||||
'description'):
|
||||
options[config][section][option][key] = \
|
||||
weechat.infolist_string(infolist, key)
|
||||
for key in ('min', 'max', 'null_value_allowed'):
|
||||
options[config][section][option][key] = \
|
||||
weechat.infolist_integer(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return options
|
||||
|
||||
@staticmethod
|
||||
def _read_api_infos():
|
||||
"""
|
||||
Get list of WeeChat/plugins infos as dictionary with 3 indexes:
|
||||
plugin, name, xxx.
|
||||
"""
|
||||
infos = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'info')
|
||||
while weechat.infolist_next(infolist):
|
||||
info_name = weechat.infolist_string(infolist, 'info_name')
|
||||
plugin = (weechat.infolist_string(infolist, 'plugin_name')
|
||||
or 'weechat')
|
||||
for key in ('description', 'args_description'):
|
||||
infos[plugin][info_name][key] = \
|
||||
weechat.infolist_string(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return infos
|
||||
|
||||
@staticmethod
|
||||
def _read_api_infos_hashtable():
|
||||
"""
|
||||
Get list of WeeChat/plugins infos (hashtable) as dictionary with
|
||||
3 indexes: plugin, name, xxx.
|
||||
"""
|
||||
infos_hashtable = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'info_hashtable')
|
||||
while weechat.infolist_next(infolist):
|
||||
info_name = weechat.infolist_string(infolist, 'info_name')
|
||||
plugin = (weechat.infolist_string(infolist, 'plugin_name')
|
||||
or 'weechat')
|
||||
for key in ('description', 'args_description',
|
||||
'output_description'):
|
||||
infos_hashtable[plugin][info_name][key] = \
|
||||
weechat.infolist_string(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return infos_hashtable
|
||||
|
||||
@staticmethod
|
||||
def _read_api_infolists():
|
||||
"""
|
||||
Get list of WeeChat/plugins infolists as dictionary with 3 indexes:
|
||||
plugin, name, xxx.
|
||||
"""
|
||||
infolists = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'infolist')
|
||||
while weechat.infolist_next(infolist):
|
||||
infolist_name = weechat.infolist_string(infolist, 'infolist_name')
|
||||
plugin = (weechat.infolist_string(infolist, 'plugin_name')
|
||||
or 'weechat')
|
||||
for key in ('description', 'pointer_description',
|
||||
'args_description'):
|
||||
infolists[plugin][infolist_name][key] = \
|
||||
weechat.infolist_string(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return infolists
|
||||
|
||||
@staticmethod
|
||||
def _read_api_hdata(): # pylint: disable=too-many-locals
|
||||
"""
|
||||
Get list of WeeChat/plugins hdata as dictionary with 3 indexes:
|
||||
plugin, name, xxx.
|
||||
"""
|
||||
hdata = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'hdata')
|
||||
while weechat.infolist_next(infolist):
|
||||
hdata_name = weechat.infolist_string(infolist, 'hdata_name')
|
||||
plugin = (weechat.infolist_string(infolist, 'plugin_name')
|
||||
or 'weechat')
|
||||
hdata[plugin][hdata_name]['description'] = \
|
||||
weechat.infolist_string(infolist, 'description')
|
||||
variables = ''
|
||||
vars_update = ''
|
||||
lists = ''
|
||||
ptr_hdata = weechat.hdata_get(hdata_name)
|
||||
if ptr_hdata:
|
||||
hdata2 = []
|
||||
string = weechat.hdata_get_string(ptr_hdata, 'var_keys_values')
|
||||
if string:
|
||||
for item in string.split(','):
|
||||
key = item.split(':')[0]
|
||||
var_offset = weechat.hdata_get_var_offset(
|
||||
ptr_hdata,
|
||||
key,
|
||||
)
|
||||
var_array_size = \
|
||||
weechat.hdata_get_var_array_size_string(
|
||||
ptr_hdata,
|
||||
'',
|
||||
key,
|
||||
)
|
||||
if var_array_size:
|
||||
var_array_size = \
|
||||
f', array_size: "{var_array_size}"'
|
||||
var_hdata = weechat.hdata_get_var_hdata(ptr_hdata, key)
|
||||
if var_hdata:
|
||||
var_hdata = f', hdata: "{var_hdata}"'
|
||||
type_string = weechat.hdata_get_var_type_string(
|
||||
ptr_hdata,
|
||||
key,
|
||||
)
|
||||
hdata2.append({
|
||||
'offset': var_offset,
|
||||
'text': f'_{key}_ ({type_string})',
|
||||
'textlong': (f'_{key}_ ({type_string}'
|
||||
f'{var_array_size}{var_hdata})'),
|
||||
'update': weechat.hdata_update(
|
||||
ptr_hdata, '', {'__update_allowed': key}),
|
||||
})
|
||||
hdata2 = sorted(hdata2, key=itemgetter('offset'))
|
||||
for item in hdata2:
|
||||
variables += f'{item["textlong"]} +\n'
|
||||
if item['update']:
|
||||
vars_update += f' {item["text"]} +\n'
|
||||
if weechat.hdata_update(ptr_hdata, '',
|
||||
{'__create_allowed': ''}):
|
||||
vars_update += ' _{hdata_update_create}_ +\n'
|
||||
if weechat.hdata_update(ptr_hdata, '',
|
||||
{'__delete_allowed': ''}):
|
||||
vars_update += ' _{hdata_update_delete}_ +\n'
|
||||
hdata[plugin][hdata_name]['vars'] = variables
|
||||
hdata[plugin][hdata_name]['vars_update'] = vars_update.rstrip()
|
||||
|
||||
string = weechat.hdata_get_string(ptr_hdata, 'list_keys')
|
||||
if string:
|
||||
list_lists = string.split(',')
|
||||
lists_std = [lst for lst in list_lists
|
||||
if not lst.startswith('last_')]
|
||||
lists_last = [lst for lst in list_lists
|
||||
if lst.startswith('last_')]
|
||||
for item in sorted(lists_std) + sorted(lists_last):
|
||||
lists += f'_{item}_ +\n'
|
||||
hdata[plugin][hdata_name]['lists'] = lists
|
||||
weechat.infolist_free(infolist)
|
||||
return hdata
|
||||
|
||||
@staticmethod
|
||||
def _read_api_completions():
|
||||
"""
|
||||
Get list of WeeChat/plugins completions as dictionary with 3 indexes:
|
||||
plugin, item, xxx.
|
||||
"""
|
||||
completions = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'completion')
|
||||
while weechat.infolist_next(infolist):
|
||||
completion_item = weechat.infolist_string(infolist,
|
||||
'completion_item')
|
||||
if not re.search('|'.join(IGNORE_COMPLETIONS_ITEMS),
|
||||
completion_item):
|
||||
plugin = (weechat.infolist_string(infolist, 'plugin_name')
|
||||
or 'weechat')
|
||||
completions[plugin][completion_item]['description'] = \
|
||||
weechat.infolist_string(infolist, 'description')
|
||||
weechat.infolist_free(infolist)
|
||||
return completions
|
||||
|
||||
@staticmethod
|
||||
def _read_api_url_options():
|
||||
"""
|
||||
Get list of URL options as list of dictionaries.
|
||||
"""
|
||||
url_options = []
|
||||
infolist = weechat.infolist_get('url_options', '', '')
|
||||
while weechat.infolist_next(infolist):
|
||||
url_options.append({
|
||||
'name': weechat.infolist_string(infolist, 'name').lower(),
|
||||
'option': weechat.infolist_integer(infolist, 'option'),
|
||||
'type': weechat.infolist_string(infolist, 'type'),
|
||||
'constants': weechat.infolist_string(
|
||||
infolist, 'constants').lower().replace(',', ', ')
|
||||
})
|
||||
weechat.infolist_free(infolist)
|
||||
return url_options
|
||||
|
||||
@staticmethod
|
||||
def _read_user_default_aliases():
|
||||
"""
|
||||
Get list of default aliases as list of dictionaries.
|
||||
"""
|
||||
default_aliases = []
|
||||
infolist = weechat.infolist_get('alias_default', '', '')
|
||||
while weechat.infolist_next(infolist):
|
||||
default_aliases.append({
|
||||
'name': '/' + weechat.infolist_string(infolist, 'name'),
|
||||
'command': '/' + weechat.infolist_string(infolist, 'command'),
|
||||
'completion': weechat.infolist_string(infolist, 'completion'),
|
||||
})
|
||||
weechat.infolist_free(infolist)
|
||||
return default_aliases
|
||||
|
||||
@staticmethod
|
||||
def _read_user_irc_colors():
|
||||
"""
|
||||
Get list of IRC colors as list of dictionaries.
|
||||
"""
|
||||
irc_colors = []
|
||||
infolist = weechat.infolist_get('irc_color_weechat', '', '')
|
||||
while weechat.infolist_next(infolist):
|
||||
irc_colors.append({
|
||||
'color_irc': weechat.infolist_string(infolist, 'color_irc'),
|
||||
'color_weechat': weechat.infolist_string(infolist,
|
||||
'color_weechat'),
|
||||
})
|
||||
weechat.infolist_free(infolist)
|
||||
return irc_colors
|
||||
|
||||
@staticmethod
|
||||
def _read_api_plugins_priority():
|
||||
"""
|
||||
Get priority of default WeeChat plugins as a dictionary.
|
||||
"""
|
||||
plugins_priority = {}
|
||||
infolist = weechat.infolist_get('plugin', '', '')
|
||||
while weechat.infolist_next(infolist):
|
||||
name = weechat.infolist_string(infolist, 'name')
|
||||
priority = weechat.infolist_integer(infolist, 'priority')
|
||||
if priority in plugins_priority:
|
||||
plugins_priority[priority].append(name)
|
||||
else:
|
||||
plugins_priority[priority] = [name]
|
||||
weechat.infolist_free(infolist)
|
||||
return plugins_priority
|
||||
|
||||
@staticmethod
|
||||
def _read_api_config_priority():
|
||||
"""
|
||||
Get priority of default configuration files as a dictionary.
|
||||
"""
|
||||
config_priority = {}
|
||||
ptr_hdata = weechat.hdata_get('config_file')
|
||||
ptr_config = weechat.hdata_get_list(ptr_hdata, 'config_files')
|
||||
while ptr_config:
|
||||
name = weechat.hdata_string(ptr_hdata, ptr_config, 'name')
|
||||
config_name = f'{name}.conf'
|
||||
priority = weechat.hdata_integer(ptr_hdata, ptr_config, 'priority')
|
||||
if priority in config_priority:
|
||||
config_priority[priority].append(config_name)
|
||||
else:
|
||||
config_priority[priority] = [config_name]
|
||||
ptr_config = weechat.hdata_move(ptr_hdata, ptr_config, 1)
|
||||
return config_priority
|
||||
|
||||
|
||||
class AutogenDoc():
|
||||
"""A class to write auto-generated doc files."""
|
||||
|
||||
def __init__(self, weechat_doc, doc_directory, locale):
|
||||
"""Initialize auto-generated doc file."""
|
||||
self.doc_directory = doc_directory
|
||||
self.locale = locale
|
||||
self.count_files = 0
|
||||
self.count_updated = 0
|
||||
self.filename = None
|
||||
self.filename_tmp = None
|
||||
self._file = None
|
||||
self.install_translations()
|
||||
self.write_autogen_files(weechat_doc)
|
||||
|
||||
def install_translations(self):
|
||||
"""Install translations."""
|
||||
trans = gettext.translation(
|
||||
'weechat',
|
||||
weechat.info_get('weechat_localedir', ''),
|
||||
languages=[f'{self.locale}.UTF-8'],
|
||||
fallback=True,
|
||||
)
|
||||
trans.install()
|
||||
|
||||
def open_file(self, name):
|
||||
"""Open temporary auto-generated file."""
|
||||
self.filename = os.path.join(
|
||||
self.doc_directory,
|
||||
self.locale[:2],
|
||||
'includes',
|
||||
f'autogen_{name}.{self.locale[:2]}.adoc',
|
||||
)
|
||||
self.filename_tmp = f'{self.filename}.tmp'
|
||||
# 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."""
|
||||
for name, doc in weechat_doc.items():
|
||||
self.open_file(name)
|
||||
self.write_autogen_file(name, doc)
|
||||
self.update_autogen_file()
|
||||
|
||||
def write_autogen_file(self, name, doc):
|
||||
"""Write auto-generated file."""
|
||||
self.write('//')
|
||||
self.write('// This file is auto-generated by script docgen.py.')
|
||||
self.write('// DO NOT EDIT BY HAND!')
|
||||
self.write('//')
|
||||
getattr(self, f'_write_{name}')(doc)
|
||||
|
||||
def write(self, *args):
|
||||
"""Write a line in auto-generated doc file."""
|
||||
if args:
|
||||
if len(args) > 1:
|
||||
self._file.write(args[0] % args[1:])
|
||||
else:
|
||||
self._file.write(args[0])
|
||||
self._file.write('\n')
|
||||
|
||||
def update_autogen_file(self):
|
||||
"""Update doc file if needed (if content has changed)."""
|
||||
self.count_files += 1
|
||||
# close temp file
|
||||
self._file.close()
|
||||
sha_old = sha256_file(self.filename, 'old')
|
||||
sha_new = sha256_file(self.filename_tmp, 'new')
|
||||
# compare checksums
|
||||
if sha_old != sha_new:
|
||||
# update doc file
|
||||
if os.path.exists(self.filename):
|
||||
os.unlink(self.filename)
|
||||
os.rename(self.filename_tmp, self.filename)
|
||||
self.count_updated += 1
|
||||
else:
|
||||
os.unlink(self.filename_tmp)
|
||||
|
||||
def __str__(self):
|
||||
"""Get status string."""
|
||||
if self.count_updated > 0:
|
||||
color_count = weechat.color('yellow')
|
||||
color_updated = weechat.color('green')
|
||||
color_reset = weechat.color('reset')
|
||||
str_updated = (f', {color_count}{self.count_updated} '
|
||||
f'{color_updated}updated{color_reset}')
|
||||
else:
|
||||
str_updated = ''
|
||||
return f'{self.locale}: {self.count_files} files{str_updated}'
|
||||
|
||||
def _write_user_commands(self, commands):
|
||||
"""Write commands."""
|
||||
for plugin in commands:
|
||||
self.write()
|
||||
self.write(f'// tag::{plugin}_commands[]')
|
||||
for i, command in enumerate(sorted(commands[plugin])):
|
||||
if i > 0:
|
||||
self.write()
|
||||
_cmd = commands[plugin][command]
|
||||
args = translate(_cmd['args'])
|
||||
args_formats = args.split(' || ')
|
||||
desc = translate(_cmd['description'])
|
||||
args_desc = translate(_cmd['args_description'])
|
||||
self.write(f'[[command_{plugin}_{command}]]')
|
||||
self.write(f'* `+{command}+`: {desc}\n')
|
||||
self.write('----')
|
||||
prefix = '/' + command + ' '
|
||||
if args_formats != ['']:
|
||||
for fmt in args_formats:
|
||||
self.write(prefix + fmt)
|
||||
prefix = ' ' * len(prefix)
|
||||
if args_desc:
|
||||
self.write()
|
||||
self.write(args_desc)
|
||||
self.write('----')
|
||||
self.write(f'// end::{plugin}_commands[]')
|
||||
|
||||
# pylint: disable=too-many-locals,too-many-branches
|
||||
def _write_user_options(self, options):
|
||||
"""Write config options."""
|
||||
for config in options:
|
||||
self.write()
|
||||
self.write(f'// tag::{config}_options[]')
|
||||
i = 0
|
||||
for section in sorted(options[config]):
|
||||
for option in sorted(options[config][section]):
|
||||
if i > 0:
|
||||
self.write()
|
||||
i += 1
|
||||
_opt = options[config][section][option]
|
||||
opt_type = _opt['type']
|
||||
string_values = _opt['string_values']
|
||||
default_value = _opt['default_value']
|
||||
opt_min = _opt['min']
|
||||
opt_max = _opt['max']
|
||||
null_value_allowed = _opt['null_value_allowed']
|
||||
desc = translate(_opt['description'])
|
||||
type_nls = translate(opt_type)
|
||||
values = ''
|
||||
if opt_type == 'boolean':
|
||||
values = 'on, off'
|
||||
elif opt_type == 'integer':
|
||||
if string_values:
|
||||
values = string_values.replace('|', ', ')
|
||||
else:
|
||||
values = f'{opt_min} .. {opt_max}'
|
||||
elif opt_type == 'string':
|
||||
if opt_max <= 0:
|
||||
values = _('any string')
|
||||
elif opt_max == 1:
|
||||
values = _('any char')
|
||||
elif opt_max > 1:
|
||||
values = (_('any string')
|
||||
+ '(' + _('max chars') + ': '
|
||||
+ opt_max + ')')
|
||||
else:
|
||||
values = _('any string')
|
||||
default_value = ('"%s"' %
|
||||
default_value.replace('"', '\\"'))
|
||||
elif opt_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 blink, '
|
||||
'\".\" for \"dim\" (half bright), '
|
||||
'\"*\" for bold, '
|
||||
'\"!\" for reverse, '
|
||||
'\"/\" for italic, '
|
||||
'\"_\" for underline'
|
||||
)
|
||||
self.write(f'* [[option_{config}.{section}.{option}]] '
|
||||
f'*{config}.{section}.{option}*')
|
||||
self.write('** %s: pass:none[%s]',
|
||||
_('description'), desc.replace(']', '\\]'))
|
||||
self.write('** %s: %s', _('type'), type_nls)
|
||||
self.write('** %s: %s', _('values'), values)
|
||||
self.write('** %s: `+%s+`',
|
||||
_('default value'), default_value)
|
||||
if null_value_allowed:
|
||||
self.write('** %s',
|
||||
_('undefined value allowed (null)'))
|
||||
self.write(f'// end::{config}_options[]')
|
||||
|
||||
def _write_user_default_aliases(self, default_aliases):
|
||||
"""Write default aliases."""
|
||||
self.write()
|
||||
self.write('// tag::default_aliases[]')
|
||||
self.write('[width="100%",cols="2m,5m,5",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s | %s\n',
|
||||
_('Alias'), _('Command'), _('Completion'))
|
||||
for alias in default_aliases:
|
||||
self.write('| %s | %s | %s',
|
||||
escape(alias['name']),
|
||||
escape(alias['command']),
|
||||
escape(alias['completion'] or '-'))
|
||||
self.write('|===')
|
||||
self.write('// end::default_aliases[]')
|
||||
|
||||
def _write_user_irc_colors(self, irc_colors):
|
||||
"""Write IRC colors."""
|
||||
self.write()
|
||||
self.write('// tag::irc_colors[]')
|
||||
self.write('[width="50%",cols="^2m,3",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s\n', _('IRC color'), _('WeeChat color'))
|
||||
for color in irc_colors:
|
||||
self.write('| %s | %s',
|
||||
escape(color['color_irc']),
|
||||
escape(color['color_weechat']))
|
||||
self.write('|===')
|
||||
self.write('// end::irc_colors[]')
|
||||
|
||||
def _write_api_infos(self, infos):
|
||||
"""Write infos."""
|
||||
self.write()
|
||||
self.write('// tag::infos[]')
|
||||
self.write('[width="100%",cols="^1,^2,6,6",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s | %s | %s\n',
|
||||
_('Plugin'), _('Name'), _('Description'), _('Arguments'))
|
||||
for plugin in sorted(infos):
|
||||
for info in sorted(infos[plugin]):
|
||||
_inf = infos[plugin][info]
|
||||
desc = translate(_inf['description'])
|
||||
args_desc = translate(_inf['args_description']) or '-'
|
||||
self.write('| %s | %s | %s | %s\n',
|
||||
escape(plugin), escape(info), escape(desc),
|
||||
escape(args_desc))
|
||||
self.write('|===')
|
||||
self.write('// end::infos[]')
|
||||
|
||||
def _write_api_infos_hashtable(self, infos_hashtable):
|
||||
"""Write infos hashtable."""
|
||||
self.write()
|
||||
self.write('// tag::infos_hashtable[]')
|
||||
self.write('[width="100%",cols="^1,^2,6,6,8",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s | %s | %s | %s\n',
|
||||
_('Plugin'), _('Name'), _('Description'),
|
||||
_('Hashtable (input)'), _('Hashtable (output)'))
|
||||
for plugin in sorted(infos_hashtable):
|
||||
for info in sorted(infos_hashtable[plugin]):
|
||||
_inh = infos_hashtable[plugin][info]
|
||||
desc = translate(_inh['description'])
|
||||
args_desc = translate(_inh['args_description']) or '-'
|
||||
output_desc = translate(_inh['output_description']) or '-'
|
||||
self.write('| %s | %s | %s | %s | %s\n',
|
||||
escape(plugin), escape(info), escape(desc),
|
||||
escape(args_desc), escape(output_desc))
|
||||
self.write('|===')
|
||||
self.write('// end::infos_hashtable[]')
|
||||
|
||||
def _write_api_infolists(self, infolists):
|
||||
"""Write infolists."""
|
||||
self.write()
|
||||
self.write('// tag::infolists[]')
|
||||
self.write('[width="100%",cols="^1,^2,5,5,5",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s | %s | %s | %s\n',
|
||||
_('Plugin'), _('Name'), _('Description'), _('Pointer'),
|
||||
_('Arguments'))
|
||||
for plugin in sorted(infolists):
|
||||
for infolist in sorted(infolists[plugin]):
|
||||
_inl = infolists[plugin][infolist]
|
||||
desc = translate(_inl['description'])
|
||||
pointer_desc = translate(_inl['pointer_description']) or '-'
|
||||
args_desc = translate(_inl['args_description']) or '-'
|
||||
self.write('| %s | %s | %s | %s | %s\n',
|
||||
escape(plugin), escape(infolist), escape(desc),
|
||||
escape(pointer_desc), escape(args_desc))
|
||||
self.write('|===')
|
||||
self.write('// end::infolists[]')
|
||||
|
||||
def _write_api_hdata(self, hdata):
|
||||
"""Write hdata."""
|
||||
self.write()
|
||||
self.write('// tag::hdata[]')
|
||||
self.write(':hdata_update_create: __create')
|
||||
self.write(':hdata_update_delete: __delete')
|
||||
self.write('[width="100%",cols="^1,^2,2,2,5",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s | %s | %s | %s\n',
|
||||
_('Plugin'), _('Name'), _('Description'), _('Lists'),
|
||||
_('Variables'))
|
||||
for plugin in sorted(hdata):
|
||||
for hdata_name in sorted(hdata[plugin]):
|
||||
_hda = hdata[plugin][hdata_name]
|
||||
anchor = f'hdata_{hdata_name}'
|
||||
desc = translate(_hda['description'])
|
||||
variables = _hda['vars']
|
||||
vars_update = _hda['vars_update']
|
||||
lists = _hda['lists']
|
||||
self.write(f'| {escape(plugin)}')
|
||||
self.write(f'| [[{escape(anchor)}]]<<{escape(anchor)},'
|
||||
f'{escape(hdata_name)}>>')
|
||||
self.write(f'| {escape(desc)}')
|
||||
str_lists = escape(lists) if lists else '-'
|
||||
self.write(f'| {str_lists}')
|
||||
self.write(f'| {escape(variables)}')
|
||||
if vars_update:
|
||||
self.write('*%s* +\n%s',
|
||||
_('Update allowed:'), escape(vars_update))
|
||||
self.write()
|
||||
self.write('|===')
|
||||
self.write('// end::hdata[]')
|
||||
|
||||
def _write_api_completions(self, completions):
|
||||
"""Write completions."""
|
||||
self.write()
|
||||
self.write('// tag::completions[]')
|
||||
self.write('[width="100%",cols="^1,^2,7",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s | %s\n',
|
||||
_('Plugin'), _('Name'), _('Description'))
|
||||
for plugin in sorted(completions):
|
||||
for completion_item in sorted(completions[plugin]):
|
||||
_cmp = completions[plugin][completion_item]
|
||||
desc = translate(_cmp['description'])
|
||||
self.write('| %s | %s | %s\n',
|
||||
escape(plugin), escape(completion_item),
|
||||
escape(desc))
|
||||
self.write('|===')
|
||||
self.write('// end::completions[]')
|
||||
|
||||
def _write_api_url_options(self, url_options):
|
||||
"""Write URL options."""
|
||||
self.write()
|
||||
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',
|
||||
_('Option'), _('Type'), _('Constants'))
|
||||
for option in url_options:
|
||||
constants = option['constants']
|
||||
if constants:
|
||||
constants = ' ' + constants
|
||||
self.write('| %s | %s |%s\n',
|
||||
escape(option['name']), escape(option['type']),
|
||||
escape(constants))
|
||||
self.write('|===')
|
||||
self.write('// end::url_options[]')
|
||||
|
||||
def _write_api_plugins_priority(self, plugins_priority):
|
||||
"""Write plugins priority."""
|
||||
self.write()
|
||||
self.write('// tag::plugins_priority[]')
|
||||
self.write('[width="30%",cols="1,3,2",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s | %s',
|
||||
_('Rank'), _('Plugin'), _('Priority'))
|
||||
for i, priority in enumerate(sorted(plugins_priority, reverse=True)):
|
||||
plugins = ', '.join(sorted(plugins_priority[priority]))
|
||||
self.write('| %d | %s | %d', i + 1, escape(plugins), priority)
|
||||
self.write('|===')
|
||||
self.write('// end::plugins_priority[]')
|
||||
|
||||
def _write_api_config_priority(self, config_priority):
|
||||
"""Write configuration files priority."""
|
||||
self.write()
|
||||
self.write('// tag::config_priority[]')
|
||||
self.write('[width="30%",cols="1,3,2",options="header"]')
|
||||
self.write('|===')
|
||||
self.write('| %s | %s | %s',
|
||||
_('Rank'), _('File'), _('Priority'))
|
||||
for i, priority in enumerate(sorted(config_priority, reverse=True)):
|
||||
configs = ', '.join(sorted(config_priority[priority]))
|
||||
self.write('| %d | %s | %d', i + 1, escape(configs), priority)
|
||||
self.write('|===')
|
||||
self.write('// end::config_priority[]')
|
||||
|
||||
|
||||
def docgen_cmd_cb(data, buf, args):
|
||||
"""Callback for /docgen command."""
|
||||
doc_directory = data
|
||||
locales = args.split(' ') if args else sorted(LOCALE_LIST)
|
||||
|
||||
weechat_doc = WeechatDoc().read_doc()
|
||||
|
||||
weechat.prnt('', '-' * 75)
|
||||
|
||||
for locale in locales:
|
||||
autogen = AutogenDoc(weechat_doc, doc_directory, locale)
|
||||
weechat.prnt('', f'docgen: {autogen}')
|
||||
|
||||
weechat.prnt('', '-' * 75)
|
||||
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
|
||||
def docgen_completion_cb(data, completion_item, buf, completion):
|
||||
"""Callback for completion."""
|
||||
for locale in LOCALE_LIST:
|
||||
weechat.completion_list_add(completion, locale, 0,
|
||||
weechat.WEECHAT_LIST_POS_SORT)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
|
||||
if __name__ == '__main__' and IMPORT_OK:
|
||||
if weechat.register(SCRIPT_NAME, SCRIPT_AUTHOR, SCRIPT_VERSION,
|
||||
SCRIPT_LICENSE, SCRIPT_DESC, '', ''):
|
||||
weechat.hook_command(
|
||||
SCRIPT_COMMAND,
|
||||
'Documentation generator.',
|
||||
'[locales]',
|
||||
'locales: list of locales to build (by default build all locales)',
|
||||
'%(docgen_locales)|%*',
|
||||
'docgen_cmd_cb',
|
||||
os.path.dirname(__file__),
|
||||
)
|
||||
weechat.hook_completion(
|
||||
'docgen_locales',
|
||||
'locales for docgen',
|
||||
'docgen_completion_cb',
|
||||
'',
|
||||
)
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<!--
|
||||
Custom styles for Asciidoctor
|
||||
Copyright (C) 2016-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2016-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
-->
|
||||
<style>
|
||||
|
||||
|
||||
@@ -1,151 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
# man page: weechat
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.en.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.en.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat.1 (en)"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/man1)
|
||||
|
||||
if(ENABLE_HEADLESS)
|
||||
# man page: weechat-headless
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat-headless.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.en.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.en.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.en.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat-headless.1 (en)"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-headless-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1 DESTINATION ${MANDIR}/man1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(ENABLE_DOC)
|
||||
|
||||
file(GLOB AUTOGEN_USER "${CMAKE_CURRENT_SOURCE_DIR}/includes/autogen_user_*.adoc")
|
||||
file(GLOB AUTOGEN_PLUGIN "${CMAKE_CURRENT_SOURCE_DIR}/includes/autogen_api_*.adoc")
|
||||
|
||||
# user's guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.en.adoc
|
||||
${AUTOGEN_USER}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_user.en.html"
|
||||
)
|
||||
add_custom_target(doc-user-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# plugin API reference
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.adoc
|
||||
${AUTOGEN_PLUGIN}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_plugin_api.en.html"
|
||||
)
|
||||
add_custom_target(doc-plugin-api-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# scripting guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_scripting.en.html"
|
||||
)
|
||||
add_custom_target(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# FAQ
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_faq.en.html"
|
||||
)
|
||||
add_custom_target(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# quickstart
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_quickstart.en.html"
|
||||
)
|
||||
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})
|
||||
|
||||
# relay protocol
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_relay_protocol.en.html"
|
||||
)
|
||||
add_custom_target(doc-relay-protocol-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# developer's guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_dev.en.html"
|
||||
)
|
||||
add_custom_target(doc-dev-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
endif()
|
||||
@@ -1 +0,0 @@
|
||||
../docinfo.html
|
||||
@@ -1,204 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::completions[]
|
||||
[width="100%",cols="^1,^2,7",options="header"]
|
||||
|===
|
||||
| Plugin | Name | Description
|
||||
|
||||
| alias | alias | list of aliases
|
||||
|
||||
| alias | alias_value | value of alias
|
||||
|
||||
| exec | exec_commands_ids | ids (numbers and names) of executed commands
|
||||
|
||||
| fset | fset_options | configuration files, sections, options and words of options
|
||||
|
||||
| guile | guile_script | list of scripts
|
||||
|
||||
| irc | irc_channel | current IRC channel
|
||||
|
||||
| irc | irc_channel_nicks_hosts | nicks and hostnames of current IRC channel
|
||||
|
||||
| irc | irc_channel_topic | topic of current IRC channel
|
||||
|
||||
| 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
|
||||
|
||||
| irc | irc_modelist_numbers | modelist numbers of current IRC channel; required argument: modelist mode
|
||||
|
||||
| irc | irc_msg_kick | default kick message
|
||||
|
||||
| irc | irc_msg_part | default part message for IRC channel
|
||||
|
||||
| irc | irc_notify_nicks | nicks in notify list
|
||||
|
||||
| irc | irc_privates | privates on all IRC servers
|
||||
|
||||
| irc | irc_raw_filters | filters for irc raw buffer
|
||||
|
||||
| irc | irc_server | current IRC server
|
||||
|
||||
| irc | irc_server_channels | channels on current IRC server
|
||||
|
||||
| irc | irc_server_nick | nick on current IRC server
|
||||
|
||||
| irc | irc_server_nicks | nicks on all channels of current IRC server
|
||||
|
||||
| irc | irc_server_privates | privates on current IRC server
|
||||
|
||||
| irc | irc_servers | IRC servers (internal names)
|
||||
|
||||
| irc | nick | nicks of current IRC channel
|
||||
|
||||
| javascript | javascript_script | list of scripts
|
||||
|
||||
| lua | lua_script | list of scripts
|
||||
|
||||
| perl | perl_script | list of scripts
|
||||
|
||||
| php | php_script | list of scripts
|
||||
|
||||
| python | python_script | list of scripts
|
||||
|
||||
| relay | relay_free_port | first free port for relay plugin
|
||||
|
||||
| relay | relay_protocol_name | all possible protocol.name for relay plugin
|
||||
|
||||
| relay | relay_relays | protocol.name of current relays for relay plugin
|
||||
|
||||
| ruby | ruby_script | list of scripts
|
||||
|
||||
| script | script_extensions | list of script extensions
|
||||
|
||||
| script | script_files | files in script directories
|
||||
|
||||
| script | script_languages | list of script languages
|
||||
|
||||
| script | script_scripts | list of scripts in repository
|
||||
|
||||
| script | script_scripts_installed | list of scripts installed (from repository)
|
||||
|
||||
| script | script_tags | tags of scripts in repository
|
||||
|
||||
| spell | spell_dicts | list of installed dictionaries
|
||||
|
||||
| spell | spell_langs | list of all languages supported
|
||||
|
||||
| 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
|
||||
|
||||
| trigger | trigger_hook_conditions | default conditions for a hook
|
||||
|
||||
| trigger | trigger_hook_rc | default return codes for hook callback
|
||||
|
||||
| trigger | trigger_hook_regex | default regular expression for a hook
|
||||
|
||||
| trigger | trigger_hooks | hooks for triggers
|
||||
|
||||
| trigger | trigger_hooks_filter | hooks for triggers (for filter in monitor buffer)
|
||||
|
||||
| trigger | trigger_names | triggers
|
||||
|
||||
| trigger | trigger_names_default | default triggers
|
||||
|
||||
| trigger | trigger_option_value | value of a trigger option
|
||||
|
||||
| trigger | trigger_options | options for triggers
|
||||
|
||||
| trigger | trigger_post_action | trigger post actions
|
||||
|
||||
| weechat | bars_names | names of bars
|
||||
|
||||
| weechat | bars_options | options for bars
|
||||
|
||||
| weechat | buffer_local_variable_value | value of a buffer local variable
|
||||
|
||||
| weechat | buffer_local_variables | buffer local variables
|
||||
|
||||
| weechat | buffer_properties_get | properties that can be read on a buffer
|
||||
|
||||
| weechat | buffer_properties_set | properties that can be set on a buffer
|
||||
|
||||
| weechat | buffers_names | names of buffers
|
||||
|
||||
| weechat | buffers_numbers | numbers of buffers
|
||||
|
||||
| weechat | buffers_plugins_names | names of buffers (including plugins names)
|
||||
|
||||
| weechat | colors | color names
|
||||
|
||||
| weechat | commands | commands (weechat and plugins); optional argument: prefix to add before the commands
|
||||
|
||||
| weechat | config_files | configuration files
|
||||
|
||||
| weechat | config_option_values | values for a configuration option
|
||||
|
||||
| weechat | config_options | configuration options
|
||||
|
||||
| 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
|
||||
|
||||
| weechat | filename | filename; optional argument: default path (evaluated, see /help eval)
|
||||
|
||||
| weechat | filters_names | names of filters
|
||||
|
||||
| weechat | infolists | names of infolists hooked
|
||||
|
||||
| weechat | infos | names of infos hooked
|
||||
|
||||
| weechat | keys_codes | key codes
|
||||
|
||||
| weechat | keys_codes_for_reset | key codes that can be reset (keys added, redefined or removed)
|
||||
|
||||
| weechat | keys_contexts | key contexts
|
||||
|
||||
| weechat | layouts_names | names of layouts
|
||||
|
||||
| weechat | nicks | nicks in nicklist of current buffer
|
||||
|
||||
| weechat | palette_colors | palette colors
|
||||
|
||||
| weechat | plugins_commands | commands defined by plugins; optional argument: prefix to add before the commands
|
||||
|
||||
| weechat | plugins_installed | names of plugins installed
|
||||
|
||||
| weechat | plugins_names | names of plugins
|
||||
|
||||
| weechat | proxies_names | names of proxies
|
||||
|
||||
| weechat | proxies_options | options for proxies
|
||||
|
||||
| weechat | secured_data | names of secured data (file sec.conf, section data)
|
||||
|
||||
| weechat | weechat_commands | weechat commands; optional argument: prefix to add before the commands
|
||||
|
||||
| weechat | windows_numbers | numbers of windows
|
||||
|
||||
| xfer | nick | nicks of DCC chat
|
||||
|
||||
|===
|
||||
// end::completions[]
|
||||
@@ -1,36 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::config_priority[]
|
||||
[width="30%",cols="1,3,2",options="header"]
|
||||
|===
|
||||
| Rank | File | Priority
|
||||
| 1 | sec.conf | 120000
|
||||
| 2 | weechat.conf | 110000
|
||||
| 3 | plugins.conf | 100000
|
||||
| 4 | charset.conf | 16000
|
||||
| 5 | logger.conf | 15000
|
||||
| 6 | exec.conf | 14000
|
||||
| 7 | trigger.conf | 13000
|
||||
| 8 | spell.conf | 12000
|
||||
| 9 | alias.conf | 11000
|
||||
| 10 | buflist.conf | 10000
|
||||
| 11 | fifo.conf | 9000
|
||||
| 12 | typing.conf | 8000
|
||||
| 13 | xfer.conf | 7000
|
||||
| 14 | irc.conf | 6000
|
||||
| 15 | relay.conf | 5000
|
||||
| 16 | guile.conf | 4070
|
||||
| 17 | javascript.conf | 4060
|
||||
| 18 | lua.conf | 4050
|
||||
| 19 | perl.conf | 4040
|
||||
| 20 | php.conf | 4030
|
||||
| 21 | python.conf | 4020
|
||||
| 22 | ruby.conf | 4010
|
||||
| 23 | tcl.conf | 4000
|
||||
| 24 | script.conf | 3000
|
||||
| 25 | fset.conf | 2000
|
||||
|===
|
||||
// end::config_priority[]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,94 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::infolists[]
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
|===
|
||||
| Plugin | Name | Description | Pointer | Arguments
|
||||
|
||||
| alias | alias | list of aliases | alias pointer (optional) | alias name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| alias | alias_default | list of default aliases | - | -
|
||||
|
||||
| buflist | buflist | list of buffers in a buflist bar item | - | buflist bar item name (optional)
|
||||
|
||||
| fset | fset_option | list of fset options | fset option pointer (optional) | option name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| guile | guile_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| irc | irc_channel | list of channels for an IRC server | channel pointer (optional) | server,channel (channel is optional)
|
||||
|
||||
| irc | irc_color_weechat | mapping between IRC color codes and WeeChat color names | - | -
|
||||
|
||||
| irc | irc_ignore | list of IRC ignores | ignore pointer (optional) | -
|
||||
|
||||
| irc | irc_modelist | list of channel mode lists for an IRC channel | mode list pointer (optional) | server,channel,type (type is optional)
|
||||
|
||||
| irc | irc_modelist_item | list of items in a channel mode list | mode list item pointer (optional) | server,channel,type,number (number is optional)
|
||||
|
||||
| irc | irc_nick | list of nicks for an IRC channel | nick pointer (optional) | server,channel,nick (nick is optional)
|
||||
|
||||
| irc | irc_notify | list of notify | notify pointer (optional) | server name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| irc | irc_server | list of IRC servers | server pointer (optional) | server name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| javascript | javascript_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| logger | logger_buffer | list of logger buffers | logger pointer (optional) | -
|
||||
|
||||
| lua | lua_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| perl | perl_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| php | php_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| python | python_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| relay | relay | list of relay clients | relay pointer (optional) | -
|
||||
|
||||
| ruby | ruby_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| script | script_script | list of scripts | script pointer (optional) | script name with extension (wildcard "*" is allowed) (optional)
|
||||
|
||||
| tcl | tcl_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| weechat | bar | list of bars | bar pointer (optional) | bar name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| weechat | bar_item | list of bar items | bar item pointer (optional) | bar item name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| weechat | bar_window | list of bar windows | bar window pointer (optional) | -
|
||||
|
||||
| weechat | buffer | list of buffers | buffer pointer (optional) | buffer name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| weechat | buffer_lines | lines of a buffer | buffer pointer | -
|
||||
|
||||
| weechat | filter | list of filters | - | filter name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| weechat | history | history of commands | buffer pointer (if not set, return global history) (optional) | -
|
||||
|
||||
| weechat | hook | list of hooks | hook pointer (optional) | type,arguments (type is command/timer/.., arguments to get only some hooks (wildcard "*" is allowed), both are optional)
|
||||
|
||||
| weechat | hotlist | list of buffers in hotlist | - | -
|
||||
|
||||
| weechat | key | list of key bindings | - | context ("default", "search", "cursor" or "mouse") (optional)
|
||||
|
||||
| weechat | layout | list of layouts | - | -
|
||||
|
||||
| weechat | nicklist | nicks in nicklist for a buffer | buffer pointer | nick_xxx or group_xxx to get only nick/group xxx (optional)
|
||||
|
||||
| weechat | option | list of options | - | option name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| weechat | plugin | list of plugins | plugin pointer (optional) | plugin name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| weechat | proxy | list of proxies | proxy pointer (optional) | proxy name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| weechat | url_options | options for URL | - | -
|
||||
|
||||
| weechat | window | list of windows | window pointer (optional) | "current" for current window or a window number (optional)
|
||||
|
||||
| xfer | xfer | list of xfer | xfer pointer (optional) | -
|
||||
|
||||
|===
|
||||
// end::infolists[]
|
||||
@@ -1,164 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::infos[]
|
||||
[width="100%",cols="^1,^2,6,6",options="header"]
|
||||
|===
|
||||
| Plugin | Name | Description | Arguments
|
||||
|
||||
| fifo | fifo_filename | name of FIFO pipe | -
|
||||
|
||||
| guile | guile_eval | evaluation of source code | source code to execute
|
||||
|
||||
| guile | guile_interpreter | name of the interpreter used | -
|
||||
|
||||
| guile | guile_version | version of the interpreter used | -
|
||||
|
||||
| irc | irc_buffer | get buffer pointer for an IRC server/channel/nick | server,channel,nick (channel and nicks are optional)
|
||||
|
||||
| irc | irc_is_channel | 1 if string is a valid IRC channel name for server | server,channel (server is optional)
|
||||
|
||||
| irc | irc_is_message_ignored | 1 if the nick is ignored (message is not displayed) | server,message (message is the raw IRC message)
|
||||
|
||||
| irc | irc_is_nick | 1 if string is a valid IRC nick name | server,nickname (server is optional)
|
||||
|
||||
| irc | irc_nick | get current nick on a server | server name
|
||||
|
||||
| irc | irc_nick_color | get nick color code (*deprecated* since version 1.5, replaced by "nick_color") | nickname
|
||||
|
||||
| irc | irc_nick_color_name | get nick color name (*deprecated* since version 1.5, replaced by "nick_color_name") | nickname
|
||||
|
||||
| irc | irc_nick_from_host | get nick from IRC host | IRC host (like `:nick!name@server.com`)
|
||||
|
||||
| irc | irc_server_isupport | 1 if server supports this feature (from IRC message 005) | server,feature
|
||||
|
||||
| irc | irc_server_isupport_value | value of feature, if supported by server (from IRC message 005) | server,feature
|
||||
|
||||
| javascript | javascript_eval | evaluation of source code | source code to execute
|
||||
|
||||
| javascript | javascript_interpreter | name of the interpreter used | -
|
||||
|
||||
| javascript | javascript_version | version of the interpreter used | -
|
||||
|
||||
| lua | lua_eval | evaluation of source code | source code to execute
|
||||
|
||||
| lua | lua_interpreter | name of the interpreter used | -
|
||||
|
||||
| lua | lua_version | version of the interpreter used | -
|
||||
|
||||
| perl | perl_eval | evaluation of source code | source code to execute
|
||||
|
||||
| perl | perl_interpreter | name of the interpreter used | -
|
||||
|
||||
| perl | perl_version | version of the interpreter used | -
|
||||
|
||||
| php | php_eval | evaluation of source code | source code to execute
|
||||
|
||||
| php | php_interpreter | name of the interpreter used | -
|
||||
|
||||
| php | php_version | version of the interpreter used | -
|
||||
|
||||
| python | python_eval | evaluation of source code | source code to execute
|
||||
|
||||
| python | python_interpreter | name of the interpreter used | -
|
||||
|
||||
| python | python_version | version of the interpreter used | -
|
||||
|
||||
| relay | relay_client_count | number of clients for relay | protocol,status (both are optional, for each argument "*" means all; protocols: irc, weechat; statuses: connecting, waiting_auth, connected, auth_failed, disconnected)
|
||||
|
||||
| ruby | ruby_eval | evaluation of source code | source code to execute
|
||||
|
||||
| ruby | ruby_interpreter | name of the interpreter used | -
|
||||
|
||||
| ruby | ruby_version | version of the interpreter used | -
|
||||
|
||||
| spell | spell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.libera.#weechat")
|
||||
|
||||
| tcl | tcl_eval | evaluation of source code | source code to execute
|
||||
|
||||
| tcl | tcl_interpreter | name of the interpreter used | -
|
||||
|
||||
| tcl | tcl_version | version of the interpreter used | -
|
||||
|
||||
| weechat | auto_connect | 1 if automatic connection to servers is enabled, 0 if it has been disabled by the user (option "-a" or "--no-connect") | -
|
||||
|
||||
| weechat | charset_internal | WeeChat internal charset | -
|
||||
|
||||
| weechat | charset_terminal | terminal charset | -
|
||||
|
||||
| weechat | color_ansi_regex | POSIX extended regular expression to search ANSI escape codes | -
|
||||
|
||||
| weechat | color_rgb2term | RGB color converted to terminal color (0-255) | rgb,limit (limit is optional and is set to 256 by default)
|
||||
|
||||
| weechat | color_term2rgb | terminal color (0-255) converted to RGB color | color (terminal color: 0-255)
|
||||
|
||||
| weechat | cursor_mode | 1 if cursor mode is enabled | -
|
||||
|
||||
| weechat | date | WeeChat compilation date/time | -
|
||||
|
||||
| weechat | dir_separator | directory separator | -
|
||||
|
||||
| weechat | filters_enabled | 1 if filters are enabled | -
|
||||
|
||||
| weechat | inactivity | keyboard inactivity (seconds) | -
|
||||
|
||||
| weechat | locale | locale used for translating messages | -
|
||||
|
||||
| weechat | nick_color | get nick color code | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | nick_color_name | get nick color name | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | pid | WeeChat PID (process ID) | -
|
||||
|
||||
| weechat | term_color_pairs | number of color pairs supported in terminal | -
|
||||
|
||||
| weechat | term_colors | number of colors supported in terminal | -
|
||||
|
||||
| weechat | term_height | height of terminal | -
|
||||
|
||||
| weechat | term_width | width of terminal | -
|
||||
|
||||
| weechat | totp_generate | generate a Time-based One-Time Password (TOTP) | secret (in base32), timestamp (optional, current time by default), number of digits (optional, between 4 and 10, 6 by default)
|
||||
|
||||
| weechat | totp_validate | validate a Time-based One-Time Password (TOTP): 1 if TOTP is correct, otherwise 0 | secret (in base32), one-time password, timestamp (optional, current time by default), number of passwords before/after to test (optional, 0 by default)
|
||||
|
||||
| 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) | -
|
||||
|
||||
| weechat | version_number | WeeChat version (as number) | -
|
||||
|
||||
| weechat | weechat_cache_dir | WeeChat cache directory | -
|
||||
|
||||
| weechat | weechat_config_dir | WeeChat config directory | -
|
||||
|
||||
| weechat | weechat_daemon | 1 if WeeChat is running in daemon mode (headless, in background) | -
|
||||
|
||||
| weechat | weechat_data_dir | WeeChat data directory | -
|
||||
|
||||
| weechat | weechat_dir | WeeChat directory (*deprecated* since version 3.2, replaced by "weechat_config_dir", "weechat_data_dir", "weechat_cache_dir" and "weechat_runtime_dir") | -
|
||||
|
||||
| weechat | weechat_headless | 1 if WeeChat is running headless | -
|
||||
|
||||
| weechat | weechat_libdir | WeeChat "lib" directory | -
|
||||
|
||||
| weechat | weechat_localedir | WeeChat "locale" directory | -
|
||||
|
||||
| weechat | weechat_runtime_dir | WeeChat runtime directory | -
|
||||
|
||||
| weechat | weechat_sharedir | WeeChat "share" directory | -
|
||||
|
||||
| weechat | weechat_site | WeeChat site | -
|
||||
|
||||
| weechat | weechat_site_download | WeeChat site, download page | -
|
||||
|
||||
| weechat | weechat_upgrading | 1 if WeeChat is upgrading (command `/upgrade`) | -
|
||||
|
||||
|===
|
||||
// end::infos[]
|
||||
@@ -1,20 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::infos_hashtable[]
|
||||
[width="100%",cols="^1,^2,6,6,8",options="header"]
|
||||
|===
|
||||
| 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), "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
|
||||
|
||||
| weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference
|
||||
|
||||
| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
|
||||
|
||||
|===
|
||||
// end::infos_hashtable[]
|
||||
@@ -1,33 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::plugins_priority[]
|
||||
[width="30%",cols="1,3,2",options="header"]
|
||||
|===
|
||||
| Rank | Plugin | Priority
|
||||
| 1 | charset | 16000
|
||||
| 2 | logger | 15000
|
||||
| 3 | exec | 14000
|
||||
| 4 | trigger | 13000
|
||||
| 5 | spell | 12000
|
||||
| 6 | alias | 11000
|
||||
| 7 | buflist | 10000
|
||||
| 8 | fifo | 9000
|
||||
| 9 | typing | 8000
|
||||
| 10 | xfer | 7000
|
||||
| 11 | irc | 6000
|
||||
| 12 | relay | 5000
|
||||
| 13 | guile | 4070
|
||||
| 14 | javascript | 4060
|
||||
| 15 | lua | 4050
|
||||
| 16 | perl | 4040
|
||||
| 17 | php | 4030
|
||||
| 18 | python | 4020
|
||||
| 19 | ruby | 4010
|
||||
| 20 | tcl | 4000
|
||||
| 21 | script | 3000
|
||||
| 22 | fset | 2000
|
||||
|===
|
||||
// end::plugins_priority[]
|
||||
@@ -1,462 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::url_options[]
|
||||
[width="100%",cols="2,^1,7",options="header"]
|
||||
|===
|
||||
| Option | Type ^(1)^ | Constants ^(2)^
|
||||
|
||||
| verbose | long |
|
||||
|
||||
| header | long |
|
||||
|
||||
| noprogress | long |
|
||||
|
||||
| nosignal | long |
|
||||
|
||||
| wildcardmatch | long |
|
||||
|
||||
| failonerror | long |
|
||||
|
||||
| keep_sending_on_error | long |
|
||||
|
||||
| proxy | string |
|
||||
|
||||
| proxyport | long |
|
||||
|
||||
| port | long |
|
||||
|
||||
| pre_proxy | string |
|
||||
|
||||
| httpproxytunnel | long |
|
||||
|
||||
| interface | string |
|
||||
|
||||
| dns_cache_timeout | long |
|
||||
|
||||
| proxytype | long | http, socks4, socks5, socks4a, socks5_hostname, http_1_0, https
|
||||
|
||||
| buffersize | long |
|
||||
|
||||
| tcp_nodelay | long |
|
||||
|
||||
| localport | long |
|
||||
|
||||
| localportrange | long |
|
||||
|
||||
| address_scope | long |
|
||||
|
||||
| noproxy | string |
|
||||
|
||||
| socks5_gssapi_nec | long |
|
||||
|
||||
| tcp_keepalive | long |
|
||||
|
||||
| tcp_keepidle | long |
|
||||
|
||||
| tcp_keepintvl | long |
|
||||
|
||||
| unix_socket_path | string |
|
||||
|
||||
| abstract_unix_socket | string |
|
||||
|
||||
| path_as_is | long |
|
||||
|
||||
| proxy_service_name | string |
|
||||
|
||||
| service_name | string |
|
||||
|
||||
| default_protocol | string |
|
||||
|
||||
| tcp_fastopen | long |
|
||||
|
||||
| socks5_auth | long |
|
||||
|
||||
| haproxyprotocol | long |
|
||||
|
||||
| doh_url | string |
|
||||
|
||||
| protocols_str | string |
|
||||
|
||||
| redir_protocols_str | string |
|
||||
|
||||
| netrc | long | ignored, optional, required
|
||||
|
||||
| userpwd | string |
|
||||
|
||||
| proxyuserpwd | string |
|
||||
|
||||
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer, aws_sigv4
|
||||
|
||||
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer, aws_sigv4
|
||||
|
||||
| netrc_file | string |
|
||||
|
||||
| username | string |
|
||||
|
||||
| password | string |
|
||||
|
||||
| proxyusername | string |
|
||||
|
||||
| proxypassword | string |
|
||||
|
||||
| tlsauth_type | mask | none, srp
|
||||
|
||||
| tlsauth_username | string |
|
||||
|
||||
| tlsauth_password | string |
|
||||
|
||||
| sasl_authzid | string |
|
||||
|
||||
| sasl_ir | long |
|
||||
|
||||
| xoauth2_bearer | string |
|
||||
|
||||
| login_options | string |
|
||||
|
||||
| disallow_username_in_url | long |
|
||||
|
||||
| autoreferer | long |
|
||||
|
||||
| followlocation | long |
|
||||
|
||||
| post | long |
|
||||
|
||||
| postfields | string |
|
||||
|
||||
| referer | string |
|
||||
|
||||
| useragent | string |
|
||||
|
||||
| httpheader | list |
|
||||
|
||||
| cookie | string |
|
||||
|
||||
| cookiefile | string |
|
||||
|
||||
| postfieldsize | long |
|
||||
|
||||
| maxredirs | long |
|
||||
|
||||
| httpget | long |
|
||||
|
||||
| cookiejar | string |
|
||||
|
||||
| http_version | long | none, 1_0, 1_1, 2_0, 2, 2tls, 2_prior_knowledge, 3
|
||||
|
||||
| cookiesession | long |
|
||||
|
||||
| http200aliases | list |
|
||||
|
||||
| unrestricted_auth | long |
|
||||
|
||||
| postfieldsize_large | long long |
|
||||
|
||||
| cookielist | string |
|
||||
|
||||
| ignore_content_length | long |
|
||||
|
||||
| accept_encoding | string |
|
||||
|
||||
| transfer_encoding | long |
|
||||
|
||||
| http_content_decoding | long |
|
||||
|
||||
| http_transfer_decoding | long |
|
||||
|
||||
| copypostfields | string |
|
||||
|
||||
| postredir | mask | post_301, post_302
|
||||
|
||||
| expect_100_timeout_ms | long |
|
||||
|
||||
| headeropt | mask | unified, separate
|
||||
|
||||
| proxyheader | list |
|
||||
|
||||
| pipewait | long |
|
||||
|
||||
| stream_weight | long |
|
||||
|
||||
| request_target | string |
|
||||
|
||||
| http09_allowed | long |
|
||||
|
||||
| hsts | string |
|
||||
|
||||
| hsts_ctrl | mask | enable, readonlyfile
|
||||
|
||||
| mail_from | string |
|
||||
|
||||
| mail_rcpt | list |
|
||||
|
||||
| mail_auth | string |
|
||||
|
||||
| mail_rcpt_alllowfails | long |
|
||||
|
||||
| tftp_blksize | long |
|
||||
|
||||
| tftp_no_options | long |
|
||||
|
||||
| ftpport | string |
|
||||
|
||||
| quote | list |
|
||||
|
||||
| postquote | list |
|
||||
|
||||
| ftp_use_epsv | long |
|
||||
|
||||
| prequote | list |
|
||||
|
||||
| ftp_use_eprt | long |
|
||||
|
||||
| ftp_create_missing_dirs | long |
|
||||
|
||||
| ftpsslauth | long | default, ssl, tls
|
||||
|
||||
| ftp_account | string |
|
||||
|
||||
| ftp_skip_pasv_ip | long |
|
||||
|
||||
| ftp_filemethod | long | multicwd, nocwd, singlecwd
|
||||
|
||||
| ftp_alternative_to_user | string |
|
||||
|
||||
| ftp_ssl_ccc | long | ccc_none, ccc_active, ccc_passive
|
||||
|
||||
| dirlistonly | long |
|
||||
|
||||
| append | long |
|
||||
|
||||
| ftp_use_pret | long |
|
||||
|
||||
| rtsp_request | long | options, describe, announce, setup, play, pause, teardown, get_parameter, set_parameter, record, receive
|
||||
|
||||
| rtsp_session_id | string |
|
||||
|
||||
| rtsp_stream_uri | string |
|
||||
|
||||
| rtsp_transport | string |
|
||||
|
||||
| rtsp_client_cseq | long |
|
||||
|
||||
| rtsp_server_cseq | long |
|
||||
|
||||
| aws_sigv4 | string |
|
||||
|
||||
| crlf | long |
|
||||
|
||||
| range | string |
|
||||
|
||||
| resume_from | long |
|
||||
|
||||
| customrequest | string |
|
||||
|
||||
| nobody | long |
|
||||
|
||||
| infilesize | long |
|
||||
|
||||
| upload | long |
|
||||
|
||||
| timecondition | long | none, ifmodsince, ifunmodsince, lastmod
|
||||
|
||||
| timevalue | long |
|
||||
|
||||
| transfertext | long |
|
||||
|
||||
| filetime | long |
|
||||
|
||||
| maxfilesize | long |
|
||||
|
||||
| proxy_transfer_mode | long |
|
||||
|
||||
| resume_from_large | long long |
|
||||
|
||||
| infilesize_large | long long |
|
||||
|
||||
| maxfilesize_large | long long |
|
||||
|
||||
| timevalue_large | long long |
|
||||
|
||||
| upload_buffersize | long |
|
||||
|
||||
| mime_options | mask | formescape
|
||||
|
||||
| timeout | long |
|
||||
|
||||
| low_speed_limit | long |
|
||||
|
||||
| low_speed_time | long |
|
||||
|
||||
| fresh_connect | long |
|
||||
|
||||
| forbid_reuse | long |
|
||||
|
||||
| connecttimeout | long |
|
||||
|
||||
| ipresolve | long | whatever, v4, v6
|
||||
|
||||
| connect_only | long |
|
||||
|
||||
| max_send_speed_large | long long |
|
||||
|
||||
| max_recv_speed_large | long long |
|
||||
|
||||
| timeout_ms | long |
|
||||
|
||||
| connecttimeout_ms | long |
|
||||
|
||||
| maxage_conn | long |
|
||||
|
||||
| maxconnects | long |
|
||||
|
||||
| use_ssl | long | none, try, control, all
|
||||
|
||||
| resolve | list |
|
||||
|
||||
| dns_servers | string |
|
||||
|
||||
| accepttimeout_ms | long |
|
||||
|
||||
| dns_interface | string |
|
||||
|
||||
| dns_local_ip4 | string |
|
||||
|
||||
| dns_local_ip6 | string |
|
||||
|
||||
| connect_to | list |
|
||||
|
||||
| happy_eyeballs_timeout_ms | long |
|
||||
|
||||
| dns_shuffle_addresses | long |
|
||||
|
||||
| upkeep_interval_ms | long |
|
||||
|
||||
| maxlifetime_conn | long |
|
||||
|
||||
| sslcert | string |
|
||||
|
||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||
|
||||
| ssl_verifypeer | long |
|
||||
|
||||
| cainfo | string |
|
||||
|
||||
| ssl_verifyhost | long |
|
||||
|
||||
| ssl_cipher_list | string |
|
||||
|
||||
| sslcerttype | string |
|
||||
|
||||
| sslkey | string |
|
||||
|
||||
| sslkeytype | string |
|
||||
|
||||
| sslengine | string |
|
||||
|
||||
| sslengine_default | long |
|
||||
|
||||
| capath | string |
|
||||
|
||||
| ssl_sessionid_cache | long |
|
||||
|
||||
| krblevel | string |
|
||||
|
||||
| keypasswd | string |
|
||||
|
||||
| issuercert | string |
|
||||
|
||||
| crlfile | string |
|
||||
|
||||
| certinfo | long |
|
||||
|
||||
| gssapi_delegation | long | none, policy_flag, flag
|
||||
|
||||
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend, no_partialchain, revoke_best_effort, native_ca, auto_client_cert
|
||||
|
||||
| ssl_enable_alpn | long |
|
||||
|
||||
| pinnedpublickey | string |
|
||||
|
||||
| ssl_verifystatus | long |
|
||||
|
||||
| ssl_falsestart | long |
|
||||
|
||||
| proxy_cainfo | string |
|
||||
|
||||
| proxy_capath | string |
|
||||
|
||||
| proxy_crlfile | string |
|
||||
|
||||
| proxy_keypasswd | string |
|
||||
|
||||
| proxy_pinnedpublickey | string |
|
||||
|
||||
| proxy_sslcert | string |
|
||||
|
||||
| proxy_sslcerttype | string |
|
||||
|
||||
| proxy_sslkey | string |
|
||||
|
||||
| proxy_sslkeytype | string |
|
||||
|
||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||
|
||||
| proxy_ssl_cipher_list | list |
|
||||
|
||||
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend, no_partialchain, revoke_best_effort, native_ca, auto_client_cert
|
||||
|
||||
| proxy_ssl_verifyhost | long |
|
||||
|
||||
| proxy_ssl_verifypeer | long |
|
||||
|
||||
| proxy_tlsauth_password | string |
|
||||
|
||||
| proxy_tlsauth_type | string |
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| tls13_ciphers | list |
|
||||
|
||||
| proxy_tls13_ciphers | list |
|
||||
|
||||
| proxy_issuercert | string |
|
||||
|
||||
| ssl_ec_curves | string |
|
||||
|
||||
| doh_ssl_verifyhost | long |
|
||||
|
||||
| doh_ssl_verifypeer | long |
|
||||
|
||||
| doh_ssl_verifystatus | long |
|
||||
|
||||
| ca_cache_timeout | long |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
|
||||
| ssh_private_keyfile | string |
|
||||
|
||||
| ssh_host_public_key_md5 | string |
|
||||
|
||||
| ssh_knownhosts | string |
|
||||
|
||||
| ssh_compression | long |
|
||||
|
||||
| ssh_host_public_key_sha256 | string |
|
||||
|
||||
| telnetoptions | list |
|
||||
|
||||
| ws_options | mask | binary, close, cont, offset, ping, pong, raw_mode, text
|
||||
|
||||
| new_file_perms | long |
|
||||
|
||||
| new_directory_perms | long |
|
||||
|
||||
| quick_exit | long |
|
||||
|
||||
|===
|
||||
// end::url_options[]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,44 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::default_aliases[]
|
||||
[width="100%",cols="2m,5m,5",options="header"]
|
||||
|===
|
||||
| Alias | Command | Completion
|
||||
|
||||
| /aaway | /allserv /away | -
|
||||
| /anick | /allserv /nick | -
|
||||
| /beep | /print -beep | -
|
||||
| /bye | /quit | -
|
||||
| /c | /buffer clear | -
|
||||
| /cl | /buffer clear | -
|
||||
| /close | /buffer close | -
|
||||
| /chat | /dcc chat | -
|
||||
| /exit | /quit | -
|
||||
| /ig | /ignore | -
|
||||
| /j | /join | -
|
||||
| /k | /kick | -
|
||||
| /kb | /kickban | -
|
||||
| /leave | /part | -
|
||||
| /m | /msg | -
|
||||
| /mub | /unban * | -
|
||||
| /msgbuf | /command -buffer $1 * /input send $2- | %(buffers_plugins_names)
|
||||
| /n | /names | -
|
||||
| /q | /query | -
|
||||
| /redraw | /window refresh | -
|
||||
| /say | /msg * | -
|
||||
| /signoff | /quit | -
|
||||
| /t | /topic | -
|
||||
| /ub | /unban | -
|
||||
| /umode | /mode $nick | -
|
||||
| /v | /command core version | -
|
||||
| /w | /who | -
|
||||
| /wc | /window close | -
|
||||
| /wi | /whois | -
|
||||
| /wii | /whois $1 $1 | -
|
||||
| /wm | /window merge | -
|
||||
| /ww | /whowas | -
|
||||
|===
|
||||
// end::default_aliases[]
|
||||
@@ -1,112 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::irc_colors[]
|
||||
[width="50%",cols="^2m,3",options="header"]
|
||||
|===
|
||||
| IRC color | WeeChat color
|
||||
|
||||
| 00 | white
|
||||
| 01 | black
|
||||
| 02 | blue
|
||||
| 03 | green
|
||||
| 04 | lightred
|
||||
| 05 | red
|
||||
| 06 | magenta
|
||||
| 07 | brown
|
||||
| 08 | yellow
|
||||
| 09 | lightgreen
|
||||
| 10 | cyan
|
||||
| 11 | lightcyan
|
||||
| 12 | lightblue
|
||||
| 13 | lightmagenta
|
||||
| 14 | darkgray
|
||||
| 15 | gray
|
||||
| 16 | 52
|
||||
| 17 | 94
|
||||
| 18 | 100
|
||||
| 19 | 58
|
||||
| 20 | 22
|
||||
| 21 | 29
|
||||
| 22 | 23
|
||||
| 23 | 24
|
||||
| 24 | 17
|
||||
| 25 | 54
|
||||
| 26 | 53
|
||||
| 27 | 89
|
||||
| 28 | 88
|
||||
| 29 | 130
|
||||
| 30 | 142
|
||||
| 31 | 64
|
||||
| 32 | 28
|
||||
| 33 | 35
|
||||
| 34 | 30
|
||||
| 35 | 25
|
||||
| 36 | 18
|
||||
| 37 | 91
|
||||
| 38 | 90
|
||||
| 39 | 125
|
||||
| 40 | 124
|
||||
| 41 | 166
|
||||
| 42 | 184
|
||||
| 43 | 106
|
||||
| 44 | 34
|
||||
| 45 | 49
|
||||
| 46 | 37
|
||||
| 47 | 33
|
||||
| 48 | 19
|
||||
| 49 | 129
|
||||
| 50 | 127
|
||||
| 51 | 161
|
||||
| 52 | 196
|
||||
| 53 | 208
|
||||
| 54 | 226
|
||||
| 55 | 154
|
||||
| 56 | 46
|
||||
| 57 | 86
|
||||
| 58 | 51
|
||||
| 59 | 75
|
||||
| 60 | 21
|
||||
| 61 | 171
|
||||
| 62 | 201
|
||||
| 63 | 198
|
||||
| 64 | 203
|
||||
| 65 | 215
|
||||
| 66 | 227
|
||||
| 67 | 191
|
||||
| 68 | 83
|
||||
| 69 | 122
|
||||
| 70 | 87
|
||||
| 71 | 111
|
||||
| 72 | 63
|
||||
| 73 | 177
|
||||
| 74 | 207
|
||||
| 75 | 205
|
||||
| 76 | 217
|
||||
| 77 | 223
|
||||
| 78 | 229
|
||||
| 79 | 193
|
||||
| 80 | 157
|
||||
| 81 | 158
|
||||
| 82 | 159
|
||||
| 83 | 153
|
||||
| 84 | 147
|
||||
| 85 | 183
|
||||
| 86 | 219
|
||||
| 87 | 212
|
||||
| 88 | 16
|
||||
| 89 | 233
|
||||
| 90 | 235
|
||||
| 91 | 237
|
||||
| 92 | 239
|
||||
| 93 | 241
|
||||
| 94 | 244
|
||||
| 95 | 247
|
||||
| 96 | 250
|
||||
| 97 | 254
|
||||
| 98 | 231
|
||||
| 99 | default
|
||||
|===
|
||||
// end::irc_colors[]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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-2023 {author}
|
||||
Copyright (C) 2003-2024 {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
|
||||
|
||||
+409
-381
@@ -2,17 +2,11 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
:toc: left
|
||||
:toclevels: 3
|
||||
:sectnums:
|
||||
:docinfo1:
|
||||
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
https://weechat.org/doc/[this page ^↗^^].
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
@@ -32,7 +26,7 @@ This manual documents WeeChat internals:
|
||||
== Repositories
|
||||
|
||||
WeeChat repositories are on GitHub organization
|
||||
https://github.com/weechat[weechat ^↗^,window=_blank].
|
||||
https://github.com/weechat[weechat ^↗^^].
|
||||
|
||||
List of repositories:
|
||||
|
||||
@@ -43,7 +37,7 @@ scripts::
|
||||
the _official_ scripts submitted on weechat.org
|
||||
|
||||
weechat.org::
|
||||
source of https://weechat.org/[WeeChat website ^↗^,window=_blank]
|
||||
source of https://weechat.org/[WeeChat website ^↗^^]
|
||||
|
||||
weercd::
|
||||
IRC testing server
|
||||
@@ -118,94 +112,97 @@ WeeChat "core" is located in following directories:
|
||||
|
||||
[width="100%",cols="2m,3",options="header"]
|
||||
|===
|
||||
| Path/file | Description
|
||||
| core/ | Core functions: entry point, internal structures.
|
||||
| wee-arraylist.c | Array lists.
|
||||
| wee-backtrace.c | Display a backtrace after a crash.
|
||||
| wee-calc.c | Calculate result of expressions.
|
||||
| wee-command.c | WeeChat core commands.
|
||||
| wee-completion.c | Default completions.
|
||||
| wee-config-file.c | Configuration file management.
|
||||
| wee-config.c | Configuration options for WeeChat core (file weechat.conf).
|
||||
| wee-crypto.c | Cryptographic functions.
|
||||
| wee-debug.c | Some debug functions.
|
||||
| wee-dir.c | Directory/file functions.
|
||||
| wee-eval.c | Evaluation of expressions with references to internal vars.
|
||||
| wee-hashtable.c | Hashtables.
|
||||
| wee-hdata.c | Hdata (direct access to data using hashtables).
|
||||
| wee-hook.c | Hooks.
|
||||
| wee-infolist.c | Infolists (lists with objects data).
|
||||
| wee-input.c | Input of commands/text.
|
||||
| wee-list.c | Sorted lists.
|
||||
| wee-log.c | Write to WeeChat log file (weechat.log).
|
||||
| wee-network.c | Network functions (connection to servers/proxies).
|
||||
| wee-proxy.c | Proxy management.
|
||||
| wee-secure.c | Secured data functions.
|
||||
| wee-secure-buffer.c | Secured data buffer.
|
||||
| wee-secure-config.c | Secured data options (file sec.conf).
|
||||
| wee-signal.c | Signal functions.
|
||||
| wee-string.c | Functions on strings.
|
||||
| wee-upgrade-file.c | Internal upgrade system.
|
||||
| wee-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...).
|
||||
| wee-url.c | URL transfer (using libcurl).
|
||||
| wee-utf8.c | UTF-8 functions.
|
||||
| wee-util.c | Some other functions.
|
||||
| wee-version.c | Functions for WeeChat version.
|
||||
| weechat.c | Main functions: command line options, startup.
|
||||
| hook/ | Hook functions.
|
||||
| wee-hook-command-run.c | Hook "command_run".
|
||||
| wee-hook-command.c | Hook "command".
|
||||
| wee-hook-completion.c | Hook "completion".
|
||||
| wee-hook-config.c | Hook "config".
|
||||
| wee-hook-connect.c | Hook "connect".
|
||||
| wee-hook-fd.c | Hook "fd".
|
||||
| wee-hook-focus.c | Hook "focus".
|
||||
| wee-hook-hdata.c | Hook "hdata".
|
||||
| wee-hook-hsignal.c | Hook "hsignal".
|
||||
| wee-hook-info-hashtable.c | Hook "info_hashtable".
|
||||
| wee-hook-info.c | Hook "info".
|
||||
| wee-hook-infolist.c | Hook "infolist".
|
||||
| wee-hook-line.c | Hook "line".
|
||||
| wee-hook-modifier.c | Hook "modifier".
|
||||
| wee-hook-print.c | Hook "print".
|
||||
| wee-hook-process.c | Hook "process".
|
||||
| wee-hook-signal.c | Hook "signal".
|
||||
| wee-hook-timer.c | Hook "timer".
|
||||
| gui/ | Functions for buffers, windows, ... (used by all interfaces).
|
||||
| gui-bar-item.c | Bar items.
|
||||
| gui-bar-window.c | Bar windows.
|
||||
| gui-bar.c | Bars.
|
||||
| gui-buffer.c | Buffers.
|
||||
| gui-chat.c | Chat functions (display message, ...).
|
||||
| gui-color.c | Color functions.
|
||||
| gui-completion.c | Completion on command line.
|
||||
| gui-cursor.c | Cursor mode (free movement of cursor).
|
||||
| gui-filter.c | Filters.
|
||||
| gui-focus.c | Functions about focus (for cursor mode and mouse).
|
||||
| gui-history.c | Commands/text saved in buffers.
|
||||
| gui-hotlist.c | Hotlist management (list of buffers with activity).
|
||||
| gui-input.c | Input functions (input bar).
|
||||
| gui-key.c | Keyboard functions.
|
||||
| gui-layout.c | Layout.
|
||||
| gui-line.c | Lines in buffers.
|
||||
| gui-mouse.c | Mouse.
|
||||
| gui-nick.c | Nick functions.
|
||||
| gui-nicklist.c | Nicklist in buffers.
|
||||
| gui-window.c | Windows.
|
||||
| curses/ | Curses interface.
|
||||
| gui-curses-bar-window.c | Display in bar windows.
|
||||
| gui-curses-chat.c | Display in chat area (messages).
|
||||
| gui-curses-color.c | Color functions.
|
||||
| gui-curses-key.c | Keyboard functions (default keys, read of input).
|
||||
| gui-curses-main.c | WeeChat main loop (waiting for keyboard/network events).
|
||||
| gui-curses-mouse.c | Mouse.
|
||||
| gui-curses-term.c | Functions about terminal.
|
||||
| gui-curses-window.c | Windows.
|
||||
| headless/ | Headless mode (no interface).
|
||||
| main.c | Entry point for headless mode.
|
||||
| ncurses-fake.c | Fake ncurses library.
|
||||
| normal/ | Curses interface.
|
||||
| main.c | Entry point for Curses interface.
|
||||
| Path/file | Description
|
||||
| core/ | Core functions: entry point, internal structures.
|
||||
| core-arraylist.c | Array lists.
|
||||
| core-backtrace.c | Display a backtrace after a crash.
|
||||
| core-calc.c | Calculate result of expressions.
|
||||
| core-command.c | WeeChat core commands.
|
||||
| core-completion.c | Default completions.
|
||||
| core-config-file.c | Configuration file management.
|
||||
| core-config.c | Configuration options for WeeChat core (file weechat.conf).
|
||||
| core-crypto.c | Cryptographic functions.
|
||||
| core-debug.c | Some debug functions.
|
||||
| core-doc.c | Build of files for documentation.
|
||||
| core-dir.c | Directory/file functions.
|
||||
| core-eval.c | Evaluation of expressions with references to internal vars.
|
||||
| core-hashtable.c | Hashtables.
|
||||
| core-hdata.c | Hdata (direct access to data using hashtables).
|
||||
| core-hook.c | Hooks.
|
||||
| core-infolist.c | Infolists (lists with objects data).
|
||||
| core-input.c | Input of commands/text.
|
||||
| core-list.c | Sorted lists.
|
||||
| core-log.c | Write to WeeChat log file (weechat.log).
|
||||
| core-network.c | Network functions (connection to servers/proxies).
|
||||
| core-proxy.c | Proxy management.
|
||||
| core-secure.c | Secured data functions.
|
||||
| core-secure-buffer.c | Secured data buffer.
|
||||
| core-secure-config.c | Secured data options (file sec.conf).
|
||||
| core-signal.c | Signal functions.
|
||||
| core-string.c | Functions on strings.
|
||||
| core-sys.c | System functions.
|
||||
| core-upgrade-file.c | Internal upgrade system.
|
||||
| core-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...).
|
||||
| core-url.c | URL transfer (using libcurl).
|
||||
| core-utf8.c | UTF-8 functions.
|
||||
| core-util.c | Some other functions.
|
||||
| core-version.c | Functions for WeeChat version.
|
||||
| weechat.c | Main functions: command line options, startup.
|
||||
| hook/ | Hook functions.
|
||||
| hook-command-run.c | Hook "command_run".
|
||||
| hook-command.c | Hook "command".
|
||||
| hook-completion.c | Hook "completion".
|
||||
| hook-config.c | Hook "config".
|
||||
| hook-connect.c | Hook "connect".
|
||||
| hook-fd.c | Hook "fd".
|
||||
| hook-focus.c | Hook "focus".
|
||||
| hook-hdata.c | Hook "hdata".
|
||||
| hook-hsignal.c | Hook "hsignal".
|
||||
| hook-info-hashtable.c | Hook "info_hashtable".
|
||||
| hook-info.c | Hook "info".
|
||||
| hook-infolist.c | Hook "infolist".
|
||||
| hook-line.c | Hook "line".
|
||||
| hook-modifier.c | Hook "modifier".
|
||||
| hook-print.c | Hook "print".
|
||||
| hook-process.c | Hook "process".
|
||||
| hook-signal.c | Hook "signal".
|
||||
| hook-timer.c | Hook "timer".
|
||||
| hook-url.c | Hook "url".
|
||||
| gui/ | Functions for buffers, windows, ... (used by all interfaces).
|
||||
| gui-bar-item.c | Bar items.
|
||||
| gui-bar-window.c | Bar windows.
|
||||
| gui-bar.c | Bars.
|
||||
| gui-buffer.c | Buffers.
|
||||
| gui-chat.c | Chat functions (display message, ...).
|
||||
| gui-color.c | Color functions.
|
||||
| gui-completion.c | Completion on command line.
|
||||
| gui-cursor.c | Cursor mode (free movement of cursor).
|
||||
| gui-filter.c | Filters.
|
||||
| gui-focus.c | Functions about focus (for cursor mode and mouse).
|
||||
| gui-history.c | Commands/text saved in buffers.
|
||||
| gui-hotlist.c | Hotlist management (list of buffers with activity).
|
||||
| gui-input.c | Input functions (input bar).
|
||||
| gui-key.c | Keyboard functions.
|
||||
| gui-layout.c | Layout.
|
||||
| gui-line.c | Lines in buffers.
|
||||
| gui-mouse.c | Mouse.
|
||||
| gui-nick.c | Nick functions.
|
||||
| gui-nicklist.c | Nicklist in buffers.
|
||||
| gui-window.c | Windows.
|
||||
| curses/ | Curses interface.
|
||||
| gui-curses-bar-window.c | Display in bar windows.
|
||||
| gui-curses-chat.c | Display in chat area (messages).
|
||||
| gui-curses-color.c | Color functions.
|
||||
| gui-curses-key.c | Keyboard functions (default keys, read of input).
|
||||
| gui-curses-main.c | WeeChat main loop (waiting for keyboard/network events).
|
||||
| gui-curses-mouse.c | Mouse.
|
||||
| gui-curses-term.c | Functions about terminal.
|
||||
| gui-curses-window.c | Windows.
|
||||
| headless/ | Headless mode (no interface).
|
||||
| main.c | Entry point for headless mode.
|
||||
| ncurses-fake.c | Fake ncurses library.
|
||||
| normal/ | Curses interface.
|
||||
| main.c | Entry point for Curses interface.
|
||||
|===
|
||||
|
||||
[[sources_plugins]]
|
||||
@@ -213,177 +210,189 @@ WeeChat "core" is located in following directories:
|
||||
|
||||
[width="100%",cols="2m,3",options="header"]
|
||||
|===
|
||||
| Path/file | Description
|
||||
| plugins/ | Root of plugins.
|
||||
| plugin.c | Plugins management (load/unload dynamic C libraries).
|
||||
| plugin-api.c | Extra functions for plugin API (wrapper around WeeChat core functions).
|
||||
| plugin-api-info.c | Extra info/infolist functions for plugin API.
|
||||
| plugin-config.c | Plugin configuration options (file plugins.conf).
|
||||
| plugin-script.c | Common functions used by script plugins.
|
||||
| plugin-script-api.c | Script API functions: wrappers around some plugin API functions.
|
||||
| plugin-script-config.c | Script plugin configuration options (files python.conf, perl.conf, ...).
|
||||
| weechat-plugin.h | Header designed to be distributed with WeeChat plugins, in order to compile them.
|
||||
| alias/ | Alias plugin.
|
||||
| alias.c | Main alias functions.
|
||||
| alias-command.c | Alias commands.
|
||||
| alias-completion.c | Alias completions.
|
||||
| alias-config.c | Alias config options (file alias.conf).
|
||||
| alias-info.c | Alias info/infolists/hdata.
|
||||
| spell/ | Spell checker plugin.
|
||||
| spell.c | Main spell checker functions.
|
||||
| spell-bar-item.c | Spell checker bar items.
|
||||
| spell-command.c | Spell checker commands.
|
||||
| spell-completion.c | Spell checker completions.
|
||||
| spell-config.c | Spell checker config options (file spell.conf).
|
||||
| spell-info.c | Spell checker info/infolists/hdata.
|
||||
| spell-speller.c | Spellers management.
|
||||
| buflist/ | Buflist plugin.
|
||||
| buflist.c | Main buflist functions.
|
||||
| buflist-bar-item.c | Buflist bar items.
|
||||
| buflist-command.c | Buflist commands.
|
||||
| buflist-config.c | Buflist config options (file buflist.conf).
|
||||
| buflist-info.c | Buflist info/infolists/hdata.
|
||||
| buflist-mouse.c | Buflist mouse actions.
|
||||
| charset/ | Charset plugin.
|
||||
| charset.c | Charset functions.
|
||||
| exec/ | Exec plugin.
|
||||
| exec.c | Main exec functions.
|
||||
| exec-buffer.c | Exec buffer.
|
||||
| exec-command.c | Exec commands.
|
||||
| exec-completion.c | Exec completions.
|
||||
| exec-config.c | Exec config options (file exec.conf).
|
||||
| fifo/ | Fifo plugin.
|
||||
| fifo.c | Main fifo functions.
|
||||
| fifo-command.c | Fifo commands.
|
||||
| fifo-config.c | Fifo config options (file fifo.conf).
|
||||
| fifo-info.c | Fifo info/infolists/hdata.
|
||||
| fset/ | Fset plugin.
|
||||
| fset.c | Main fset functions.
|
||||
| fset-bar-item.c | Fset bar items.
|
||||
| fset-buffer.c | Fset buffer.
|
||||
| fset-command.c | Fset commands.
|
||||
| fset-completion.c | Fset completions.
|
||||
| fset-config.c | Fset config options (file fset.conf).
|
||||
| fset-info.c | Fset info/infolists/hdata.
|
||||
| fset-mouse.c | Fset mouse actions.
|
||||
| fset-option.c | Fset options management.
|
||||
| guile/ | Guile (scheme) plugin.
|
||||
| weechat-guile.c | Main guile functions (load/unload scripts, execute guile code).
|
||||
| weechat-guile-api.c | Guile scripting API functions.
|
||||
| irc/ | IRC (Internet Relay Chat) plugin.
|
||||
| irc.c | Main IRC functions.
|
||||
| irc-bar-item.c | IRC bar items.
|
||||
| irc-buffer.c | IRC buffers.
|
||||
| irc-channel.c | IRC channels.
|
||||
| irc-color.c | IRC colors.
|
||||
| irc-command.c | IRC commands.
|
||||
| irc-completion.c | IRC completions.
|
||||
| irc-config.c | IRC config options (file irc.conf).
|
||||
| irc-ctcp.c | IRC CTCP.
|
||||
| irc-debug.c | IRC debug functions.
|
||||
| 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, ...).
|
||||
| irc-msgbuffer.c | Target buffer for IRC messages.
|
||||
| irc-nick.c | IRC nicks.
|
||||
| irc-notify.c | IRC notify lists.
|
||||
| irc-protocol.c | IRC protocol (RFCs 1459/2810/2811/2812/2813).
|
||||
| irc-raw.c | IRC raw buffer.
|
||||
| irc-redirect.c | Redirection of IRC command output.
|
||||
| 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).
|
||||
| weechat-js-api.cpp | JavaScript scripting API functions.
|
||||
| weechat-js-v8.cpp | JavaScript v8 functions.
|
||||
| logger/ | Logger plugin.
|
||||
| logger.c | Main logger functions.
|
||||
| logger-backlog.c | Logger backlog functions.
|
||||
| logger-buffer.c | Logger buffer list management.
|
||||
| logger-command.c | Logger commands.
|
||||
| logger-config.c | Logger config options (file logger.conf).
|
||||
| logger-info.c | Logger info/infolists/hdata.
|
||||
| logger-tail.c | Functions to get last lines of a file.
|
||||
| lua/ | Lua plugin.
|
||||
| weechat-lua.c | Main lua functions (load/unload scripts, execute lua code).
|
||||
| weechat-lua-api.c | Lua scripting API functions.
|
||||
| perl/ | Perl plugin.
|
||||
| weechat-perl.c | Main perl functions (load/unload scripts, execute perl code).
|
||||
| weechat-perl-api.c | Perl scripting API functions.
|
||||
| php/ | PHP plugin.
|
||||
| weechat-php.c | Main PHP functions (load/unload scripts, execute PHP code).
|
||||
| weechat-php-api.c | PHP scripting API functions.
|
||||
| python/ | Python plugin.
|
||||
| weechat-python.c | Main python functions (load/unload scripts, execute python code).
|
||||
| weechat-python-api.c | Python scripting API functions.
|
||||
| relay/ | Relay plugin (IRC proxy and relay for remote interfaces).
|
||||
| relay.c | Main relay functions.
|
||||
| relay-auth.c | Clients authentication.
|
||||
| relay-buffer.c | Relay buffer.
|
||||
| relay-client.c | Clients of relay.
|
||||
| relay-command.c | Relay commands.
|
||||
| relay-completion.c | Relay completions.
|
||||
| relay-config.c | Relay config options (file relay.conf).
|
||||
| relay-info.c | Relay info/infolists/hdata.
|
||||
| relay-network.c | Network functions for relay.
|
||||
| relay-raw.c | Relay raw buffer.
|
||||
| relay-server.c | Relay server.
|
||||
| relay-upgrade.c | Save/restore of relay data when upgrading WeeChat.
|
||||
| relay-websocket.c | WebSocket server functions (RFC 6455).
|
||||
| irc/ | IRC proxy.
|
||||
| relay-irc.c | Main IRC proxy functions.
|
||||
| weechat/ | Relay for remote interfaces.
|
||||
| relay-weechat.c | Relay for remote interfaces (main functions).
|
||||
| relay-weechat-msg.c | Send binary messages to clients.
|
||||
| relay-weechat-nicklist.c | Nicklist functions.
|
||||
| relay-weechat-protocol.c | Read commands from clients.
|
||||
| ruby/ | Ruby plugin.
|
||||
| weechat-ruby.c | Main ruby functions (load/unload scripts, execute ruby code).
|
||||
| weechat-ruby-api.c | Ruby scripting API functions.
|
||||
| script/ | Script manager.
|
||||
| script.c | Main functions for script manager.
|
||||
| script-action.c | Actions on scripts (load/unload, install/remove, ...).
|
||||
| script-buffer.c | Buffer for script manager.
|
||||
| script-command.c | Commands for script manager.
|
||||
| script-completion.c | Completions for script manager.
|
||||
| script-config.c | Config options for script manager (file script.conf).
|
||||
| script-info.c | Script manager info/infolists/hdata.
|
||||
| script-mouse.c | Script mouse actions.
|
||||
| script-repo.c | Download and read repository file.
|
||||
| tcl/ | Tcl plugin.
|
||||
| weechat-tcl.c | Main tcl functions (load/unload scripts, execute tcl code).
|
||||
| weechat-tcl-api.c | Tcl scripting API functions.
|
||||
| trigger/ | Trigger plugin.
|
||||
| trigger.c | Main trigger functions.
|
||||
| trigger-buffer.c | Trigger buffer.
|
||||
| trigger-callback.c | Trigger callbacks.
|
||||
| trigger-command.c | Trigger commands.
|
||||
| trigger-completion.c | Trigger completions.
|
||||
| trigger-config.c | Trigger config options (file trigger.conf).
|
||||
| typing/ | Typing plugin.
|
||||
| typing.c | Main typing functions.
|
||||
| typing-bar-item.c | Typing bar items.
|
||||
| typing-config.c | Typing config options (file typing.conf).
|
||||
| typing-status.c | Messages typing status on buffers.
|
||||
| xfer/ | Xfer plugin (IRC DCC file/chat).
|
||||
| xfer.c | Main xfer functions.
|
||||
| xfer-buffer.c | Xfer buffer.
|
||||
| xfer-chat.c | DCC chat.
|
||||
| xfer-command.c | Xfer commands.
|
||||
| xfer-completion.c | Xfer completions.
|
||||
| xfer-config.c | Xfer config options (file xfer.conf).
|
||||
| xfer-dcc.c | DCC file transfer.
|
||||
| xfer-file.c | File functions for xfer.
|
||||
| xfer-info.c | Xfer info/infolists/hdata.
|
||||
| xfer-network.c | Network functions for xfer.
|
||||
| xfer-upgrade.c | Save/restore of xfer data when upgrading WeeChat.
|
||||
| Path/file | Description
|
||||
| plugins/ | Root of plugins.
|
||||
| plugin.c | Plugins management (load/unload dynamic C libraries).
|
||||
| plugin-api.c | Extra functions for plugin API (wrapper around WeeChat core functions).
|
||||
| plugin-api-info.c | Extra info/infolist functions for plugin API.
|
||||
| plugin-config.c | Plugin configuration options (file plugins.conf).
|
||||
| plugin-script.c | Common functions used by script plugins.
|
||||
| plugin-script-api.c | Script API functions: wrappers around some plugin API functions.
|
||||
| plugin-script-config.c | Script plugin configuration options (files python.conf, perl.conf, ...).
|
||||
| weechat-plugin.h | Header designed to be distributed with WeeChat plugins, in order to compile them.
|
||||
| alias/ | Alias plugin.
|
||||
| alias.c | Main alias functions.
|
||||
| alias-command.c | Alias commands.
|
||||
| alias-completion.c | Alias completions.
|
||||
| alias-config.c | Alias config options (file alias.conf).
|
||||
| alias-info.c | Alias info/infolists/hdata.
|
||||
| spell/ | Spell checker plugin.
|
||||
| spell.c | Main spell checker functions.
|
||||
| spell-bar-item.c | Spell checker bar items.
|
||||
| spell-command.c | Spell checker commands.
|
||||
| spell-completion.c | Spell checker completions.
|
||||
| spell-config.c | Spell checker config options (file spell.conf).
|
||||
| spell-info.c | Spell checker info/infolists/hdata.
|
||||
| spell-speller.c | Spellers management.
|
||||
| buflist/ | Buflist plugin.
|
||||
| buflist.c | Main buflist functions.
|
||||
| buflist-bar-item.c | Buflist bar items.
|
||||
| buflist-command.c | Buflist commands.
|
||||
| buflist-completion.c | Buflist completions.
|
||||
| buflist-config.c | Buflist config options (file buflist.conf).
|
||||
| buflist-info.c | Buflist info/infolists/hdata.
|
||||
| buflist-mouse.c | Buflist mouse actions.
|
||||
| charset/ | Charset plugin.
|
||||
| charset.c | Charset functions.
|
||||
| exec/ | Exec plugin.
|
||||
| exec.c | Main exec functions.
|
||||
| exec-buffer.c | Exec buffer.
|
||||
| exec-command.c | Exec commands.
|
||||
| exec-completion.c | Exec completions.
|
||||
| exec-config.c | Exec config options (file exec.conf).
|
||||
| fifo/ | Fifo plugin.
|
||||
| fifo.c | Main fifo functions.
|
||||
| fifo-command.c | Fifo commands.
|
||||
| fifo-config.c | Fifo config options (file fifo.conf).
|
||||
| fifo-info.c | Fifo info/infolists/hdata.
|
||||
| fset/ | Fset plugin.
|
||||
| fset.c | Main fset functions.
|
||||
| fset-bar-item.c | Fset bar items.
|
||||
| fset-buffer.c | Fset buffer.
|
||||
| fset-command.c | Fset commands.
|
||||
| fset-completion.c | Fset completions.
|
||||
| fset-config.c | Fset config options (file fset.conf).
|
||||
| fset-info.c | Fset info/infolists/hdata.
|
||||
| fset-mouse.c | Fset mouse actions.
|
||||
| fset-option.c | Fset options management.
|
||||
| guile/ | Guile (scheme) plugin.
|
||||
| weechat-guile.c | Main guile functions (load/unload scripts, execute guile code).
|
||||
| weechat-guile-api.c | Guile scripting API functions.
|
||||
| irc/ | IRC (Internet Relay Chat) plugin.
|
||||
| irc.c | Main IRC functions.
|
||||
| irc-bar-item.c | IRC bar items.
|
||||
| irc-batch.c | IRC batched events.
|
||||
| irc-buffer.c | IRC buffers.
|
||||
| irc-channel.c | IRC channels.
|
||||
| irc-color.c | IRC colors.
|
||||
| irc-command.c | IRC commands.
|
||||
| irc-completion.c | IRC completions.
|
||||
| irc-config.c | IRC config options (file irc.conf).
|
||||
| irc-ctcp.c | IRC CTCP.
|
||||
| irc-debug.c | IRC debug functions.
|
||||
| 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-list.c | Buffer for reply to /list command.
|
||||
| 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, ...).
|
||||
| irc-msgbuffer.c | Target buffer for IRC messages.
|
||||
| irc-nick.c | IRC nicks.
|
||||
| irc-notify.c | IRC notify lists.
|
||||
| irc-protocol.c | IRC protocol (RFCs 1459/2810/2811/2812/2813/7194).
|
||||
| irc-raw.c | IRC raw buffer.
|
||||
| irc-redirect.c | Redirection of IRC command output.
|
||||
| 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).
|
||||
| weechat-js-api.cpp | JavaScript scripting API functions.
|
||||
| weechat-js-v8.cpp | JavaScript v8 functions.
|
||||
| logger/ | Logger plugin.
|
||||
| logger.c | Main logger functions.
|
||||
| logger-backlog.c | Logger backlog functions.
|
||||
| logger-buffer.c | Logger buffer list management.
|
||||
| logger-command.c | Logger commands.
|
||||
| logger-config.c | Logger config options (file logger.conf).
|
||||
| logger-info.c | Logger info/infolists/hdata.
|
||||
| logger-tail.c | Functions to get last lines of a file.
|
||||
| lua/ | Lua plugin.
|
||||
| weechat-lua.c | Main lua functions (load/unload scripts, execute lua code).
|
||||
| weechat-lua-api.c | Lua scripting API functions.
|
||||
| perl/ | Perl plugin.
|
||||
| weechat-perl.c | Main perl functions (load/unload scripts, execute perl code).
|
||||
| weechat-perl-api.c | Perl scripting API functions.
|
||||
| php/ | PHP plugin.
|
||||
| weechat-php.c | Main PHP functions (load/unload scripts, execute PHP code).
|
||||
| weechat-php-api.c | PHP scripting API functions.
|
||||
| python/ | Python plugin.
|
||||
| weechat-python.c | Main python functions (load/unload scripts, execute python code).
|
||||
| weechat-python-api.c | Python scripting API functions.
|
||||
| relay/ | Relay plugin (IRC proxy and relay for remote interfaces).
|
||||
| relay.c | Main relay functions.
|
||||
| relay-auth.c | Clients authentication.
|
||||
| relay-buffer.c | Relay buffer.
|
||||
| relay-client.c | Clients of relay.
|
||||
| relay-command.c | Relay commands.
|
||||
| relay-completion.c | Relay completions.
|
||||
| relay-config.c | Relay config options (file relay.conf).
|
||||
| relay-http.c | HTTP functions.
|
||||
| relay-info.c | Relay info/infolists/hdata.
|
||||
| relay-network.c | Network functions for relay.
|
||||
| relay-raw.c | Relay raw buffer.
|
||||
| relay-remote.c | Relay remote.
|
||||
| relay-server.c | Relay server.
|
||||
| relay-upgrade.c | Save/restore of relay data when upgrading WeeChat.
|
||||
| relay-websocket.c | WebSocket server functions (RFC 6455).
|
||||
| api/ | Relay for remote interfaces (using HTTP REST API).
|
||||
| relay-api.c | Main API functions for HTTP REST API.
|
||||
| relay-api-msg.c | Send JSON messages to clients.
|
||||
| relay-api-protocol.c | HTTP REST API protocol.
|
||||
| remote/ | Relay remote functions, specific to API.
|
||||
| relay-remote-event.c | Process events received from relay remote.
|
||||
| relay-remote-network.c | Network functions for relay remote.
|
||||
| irc/ | IRC proxy.
|
||||
| relay-irc.c | Main IRC proxy functions.
|
||||
| weechat/ | Relay for remote interfaces (using "weechat" binary protocol).
|
||||
| relay-weechat.c | Relay for remote interfaces (main functions).
|
||||
| relay-weechat-msg.c | Send binary messages to clients.
|
||||
| relay-weechat-nicklist.c | Nicklist functions.
|
||||
| relay-weechat-protocol.c | Read commands from clients.
|
||||
| ruby/ | Ruby plugin.
|
||||
| weechat-ruby.c | Main ruby functions (load/unload scripts, execute ruby code).
|
||||
| weechat-ruby-api.c | Ruby scripting API functions.
|
||||
| script/ | Script manager.
|
||||
| script.c | Main functions for script manager.
|
||||
| script-action.c | Actions on scripts (load/unload, install/remove, ...).
|
||||
| script-buffer.c | Buffer for script manager.
|
||||
| script-command.c | Commands for script manager.
|
||||
| script-completion.c | Completions for script manager.
|
||||
| script-config.c | Config options for script manager (file script.conf).
|
||||
| script-info.c | Script manager info/infolists/hdata.
|
||||
| script-mouse.c | Script mouse actions.
|
||||
| script-repo.c | Download and read repository file.
|
||||
| tcl/ | Tcl plugin.
|
||||
| weechat-tcl.c | Main tcl functions (load/unload scripts, execute tcl code).
|
||||
| weechat-tcl-api.c | Tcl scripting API functions.
|
||||
| trigger/ | Trigger plugin.
|
||||
| trigger.c | Main trigger functions.
|
||||
| trigger-buffer.c | Trigger buffer.
|
||||
| trigger-callback.c | Trigger callbacks.
|
||||
| trigger-command.c | Trigger commands.
|
||||
| trigger-completion.c | Trigger completions.
|
||||
| trigger-config.c | Trigger config options (file trigger.conf).
|
||||
| typing/ | Typing plugin.
|
||||
| typing.c | Main typing functions.
|
||||
| typing-bar-item.c | Typing bar items.
|
||||
| typing-config.c | Typing config options (file typing.conf).
|
||||
| typing-status.c | Messages typing status on buffers.
|
||||
| xfer/ | Xfer plugin (IRC DCC file/chat).
|
||||
| xfer.c | Main xfer functions.
|
||||
| xfer-buffer.c | Xfer buffer.
|
||||
| xfer-chat.c | DCC chat.
|
||||
| xfer-command.c | Xfer commands.
|
||||
| xfer-completion.c | Xfer completions.
|
||||
| xfer-config.c | Xfer config options (file xfer.conf).
|
||||
| xfer-dcc.c | DCC file transfer.
|
||||
| xfer-file.c | File functions for xfer.
|
||||
| xfer-info.c | Xfer info/infolists/hdata.
|
||||
| xfer-network.c | Network functions for xfer.
|
||||
| xfer-upgrade.c | Save/restore of xfer data when upgrading WeeChat.
|
||||
|===
|
||||
|
||||
[[sources_tests]]
|
||||
@@ -391,75 +400,119 @@ 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-command.cpp | Tests: commands.
|
||||
| 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-key.cpp | Tests: keys.
|
||||
| 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.
|
||||
| Path/file | Description
|
||||
| tests/ | Root of tests.
|
||||
| tests.cpp | Program used to run all tests.
|
||||
| tests-record.cpp | Record and search in messages displayed.
|
||||
| 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.
|
||||
| test-plugin-api-info.cpp | Tests: plugin API info functions.
|
||||
| test-plugin-config.cpp | Tests: plugin config functions.
|
||||
| core/ | Root of unit tests for core.
|
||||
| test-core-arraylist.cpp | Tests: arraylists.
|
||||
| test-core-calc.cpp | Tests: calculation of expressions.
|
||||
| test-core-command.cpp | Tests: commands.
|
||||
| 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.
|
||||
| test-core-sys.cpp | Tests: system functions.
|
||||
| hook/ | Root of unit tests for hooks.
|
||||
| test-hook-command.cpp | Tests: hooks "command".
|
||||
| test-hook-command-run.cpp | Tests: hooks "command_run".
|
||||
| test-hook-completion.cpp | Tests: hooks "completion".
|
||||
| test-hook-config.cpp | Tests: hooks "config".
|
||||
| test-hook-connect.cpp | Tests: hooks "connect".
|
||||
| test-hook-fd.cpp | Tests: hooks "fd".
|
||||
| test-hook-focus.cpp | Tests: hooks "focus".
|
||||
| test-hook-hdata.cpp | Tests: hooks "hdata".
|
||||
| test-hook-hsignal.cpp | Tests: hooks "hsignal".
|
||||
| test-hook-info-hashtable.cpp | Tests: hooks "info_hashtable".
|
||||
| test-hook-info.cpp | Tests: hooks "info".
|
||||
| test-hook-infolist.cpp | Tests: hooks "infolist".
|
||||
| test-hook-line.cpp | Tests: hooks "line".
|
||||
| test-hook-modifier.cpp | Tests: hooks "modifier".
|
||||
| test-hook-print.cpp | Tests: hooks "print".
|
||||
| test-hook-process.cpp | Tests: hooks "process".
|
||||
| test-hook-signal.cpp | Tests: hooks "signal".
|
||||
| test-hook-timer.cpp | Tests: hooks "timer".
|
||||
| test-hook-url.cpp | Tests: hooks "url".
|
||||
| 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-hotlist.cpp | Tests: hotlist functions.
|
||||
| test-gui-input.cpp | Tests: input functions.
|
||||
| test-gui-key.cpp | Tests: keys.
|
||||
| test-gui-line.cpp | Tests: lines.
|
||||
| test-gui-nick.cpp | Tests: nicks.
|
||||
| test-gui-nicklist.cpp | Tests: nicklist functions.
|
||||
| curses/ | Root of unit tests for Curses interface.
|
||||
| test-gui-curses-mouse.cpp | Tests: mouse (Curses interface).
|
||||
| plugins/ | Root of unit tests for plugins.
|
||||
| irc/ | Root of unit tests for IRC plugin.
|
||||
| test-irc-batch.cpp | Tests: IRC batched events.
|
||||
| test-irc-buffer.cpp | Tests: IRC buffers.
|
||||
| test-irc-channel.cpp | Tests: IRC channels.
|
||||
| test-irc-color.cpp | Tests: IRC colors.
|
||||
| test-irc-command.cpp | Tests: IRC commands.
|
||||
| test-irc-config.cpp | Tests: IRC configuration.
|
||||
| test-irc-ctcp.cpp | Tests: IRC CTCP.
|
||||
| test-irc-ignore.cpp | Tests: IRC ignores.
|
||||
| test-irc-info.cpp | Tests: IRC info.
|
||||
| test-irc-join.cpp | Tests: IRC join functions.
|
||||
| test-irc-list.cpp | Tests: IRC buffer for reply to /list command.
|
||||
| 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.cpp | Tests: logger.
|
||||
| test-logger-backlog.cpp | Tests: logger backlog.
|
||||
| test-logger-tail.cpp | Tests: logger tail functions.
|
||||
| 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.
|
||||
| test-relay-http.cpp | Tests: HTTP functions for Relay plugin.
|
||||
| test-relay-remote.cpp | Tests: remote functions for Relay plugin.
|
||||
| test-relay-websocket.cpp | Tests: websocket functions for Relay plugin.
|
||||
| api/ | Root of unit tests for Relay "api" protocol.
|
||||
| test-relay-api.cpp | Tests: Relay "api" protocol: general functions.
|
||||
| test-relay-api-msg.cpp | Tests: Relay "api" protocol: messages.
|
||||
| test-relay-api-protocol.cpp | Tests: Relay "api" protocol: protocol.
|
||||
| irc/ | Root of unit tests for Relay "irc" protocol.
|
||||
| test-relay-irc.cpp | Tests: Relay "irc" protocol.
|
||||
| xfer/ | Root of unit tests for Xfer plugin.
|
||||
| test-xfer-file.cpp | Tests: file functions.
|
||||
| test-xfer-network.cpp | Tests: network functions.
|
||||
|===
|
||||
|
||||
[[documentation_translations]]
|
||||
@@ -472,28 +525,16 @@ Documentation files:
|
||||
| Path/file | Description
|
||||
| doc/ | Documentation.
|
||||
| docinfo.html | Asciidoctor style.
|
||||
| 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 ^↗^,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].
|
||||
| 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_user.XX.adoc | link:weechat_user.en.html[User's guide ^↗^^].
|
||||
| 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!).
|
||||
| autogen_api_infolists.XX.adoc | Auto-generated file for Plugin API reference: infolists (do *NEVER* update manually!).
|
||||
| autogen_api_infos.XX.adoc | Auto-generated file for Plugin API reference: infos (do *NEVER* update manually!).
|
||||
| autogen_api_infos_hashtable.XX.adoc | Auto-generated file for Plugin API reference: infos hashtable (do *NEVER* update manually!).
|
||||
| autogen_api_plugins_priority.XX.adoc | Auto-generated file for Plugin API reference: plugins priority (do *NEVER* update manually!).
|
||||
| autogen_api_url_options.XX.adoc | Auto-generated file for Plugin API reference: URL options (do *NEVER* update manually!).
|
||||
| autogen_user_commands.XX.adoc | Auto-generated file for User's guide: commands (do *NEVER* update manually!).
|
||||
| autogen_user_default_aliases.XX.adoc | Auto-generated file for User's guide: default aliases (do *NEVER* update manually!).
|
||||
| autogen_user_irc_colors.XX.adoc | Auto-generated file for User's guide: IRC colors (do *NEVER* update manually!).
|
||||
| autogen_user_options.XX.adoc | Auto-generated file for User's guide: configuration options (do *NEVER* update manually!).
|
||||
| cmdline_options.XX.adoc | Command-line options (file included in man pages and user's guide).
|
||||
| man.XX.adoc | Part of man pages: plugin options, files and copyright.
|
||||
|===
|
||||
@@ -531,7 +572,7 @@ Example in C:
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* Copyright (C) 2023 Your Name <your@email.com>
|
||||
* Copyright (C) 2024 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
@@ -555,9 +596,8 @@ Example in C:
|
||||
|
||||
Some basic rules you *must* follow when you write C code:
|
||||
|
||||
* Use 4 spaces for indentation. Don't use tabs, they are evil.
|
||||
* Try to not exceed 80 chars by line, except if this is needed to increase
|
||||
readability.
|
||||
* Use 4 spaces for indentation (no tabs).
|
||||
* Try to not exceed 80 chars by line, except if this is needed to increase readability.
|
||||
* Use comments `+/* comment */+` (not C99-style comments like `+// comment+`).
|
||||
* Add a comment before any function, to explain what it does (always use a
|
||||
multi-line comment, even if description is very short).
|
||||
@@ -746,7 +786,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
||||
[[coding_python_style]]
|
||||
=== Python style
|
||||
|
||||
See https://www.python.org/dev/peps/pep-0008/[PEP 8 ^↗^,window=_blank].
|
||||
See https://www.python.org/dev/peps/pep-0008/[PEP 8 ^↗^^].
|
||||
|
||||
[[core_internals]]
|
||||
== Core internals
|
||||
@@ -769,7 +809,7 @@ Examples:
|
||||
[width="100%",cols="2m,3",options="header"]
|
||||
|===
|
||||
| Directory | Files
|
||||
| src/core/ | weechat.c, wee-backtrace.c, wee-command.c, ...
|
||||
| src/core/ | weechat.c, core-backtrace.c, core-command.c, ...
|
||||
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
||||
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
||||
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
||||
@@ -777,8 +817,8 @@ Examples:
|
||||
| src/plugins/python/ | weechat-python.c, weechat-python-api.c, ...
|
||||
|===
|
||||
|
||||
The headers of C files have same name as file, for example _wee-command.h_ for
|
||||
file _wee-command.c_.
|
||||
The headers of C files have same name as file, for example _core-command.h_ for
|
||||
file _core-command.c_.
|
||||
|
||||
[[naming_convention_structures]]
|
||||
==== Structures
|
||||
@@ -1033,6 +1073,8 @@ _src/gui/gui-color.h_):
|
||||
| 42 | weechat.color.emphasized _(WeeChat ≥ 0.4.2)_
|
||||
| 43 | weechat.color.chat_day_change _(WeeChat ≥ 0.4.2)_
|
||||
| 44 | weechat.color.chat_value_null _(WeeChat ≥ 1.4)_
|
||||
| 45 | weechat.color.chat_status_disabled _(WeeChat ≥ 4.0.0)_
|
||||
| 46 | weechat.color.chat_status_enabled _(WeeChat ≥ 4.0.0)_
|
||||
|===
|
||||
|
||||
WeeChat colors are:
|
||||
@@ -1126,7 +1168,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
[[git_repository]]
|
||||
=== Git repository
|
||||
|
||||
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^,window=_blank].
|
||||
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^].
|
||||
|
||||
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
|
||||
@@ -1164,8 +1206,7 @@ Where _component_ is one of following:
|
||||
| CMakeLists.txt +
|
||||
cmake/* +
|
||||
tools/* +
|
||||
weechat.cygport.in +
|
||||
weechat.spec
|
||||
weechat.cygport.in
|
||||
| Build
|
||||
|
||||
| ci
|
||||
@@ -1274,7 +1315,7 @@ $ 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
|
||||
https://github.com/flashcode/msgcheck[msgcheck ^↗^,window=_blank]:
|
||||
https://github.com/flashcode/msgcheck[msgcheck ^↗^^]:
|
||||
|
||||
----
|
||||
$ msgcheck.py xx.po
|
||||
@@ -1282,19 +1323,6 @@ $ msgcheck.py xx.po
|
||||
|
||||
And then you can recompile WeeChat to use the new translations.
|
||||
|
||||
[[build_autogen_files]]
|
||||
===== Build auto-generated files
|
||||
|
||||
Files named `+autogen_*+` in directory _doc/XX/includes/_ are auto-generated by
|
||||
script _doc/docgen.py_.
|
||||
|
||||
You can rebuild auto-generated files directly in your WeeChat sources by
|
||||
running WeeChat in a temporary directory and loading the script:
|
||||
|
||||
----
|
||||
weechat -t -r "/python load /path/to/weechat/doc/docgen.py;/docgen;/quit"
|
||||
----
|
||||
|
||||
[[asciidoc]]
|
||||
==== Asciidoc
|
||||
|
||||
|
||||
+125
-94
@@ -2,15 +2,6 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
:toc: left
|
||||
:toclevels: 2
|
||||
:sectnums:
|
||||
:sectnumlevels: 2
|
||||
:docinfo1:
|
||||
|
||||
|
||||
toc::[]
|
||||
|
||||
|
||||
[[general]]
|
||||
== General
|
||||
@@ -30,7 +21,7 @@ apply to WeeChat!).
|
||||
Because WeeChat is very light and brings innovating features.
|
||||
|
||||
More info on the WeeChat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
https://weechat.org/about/features/[features page ^↗^^].
|
||||
|
||||
[[compilation_install]]
|
||||
== Compilation / install
|
||||
@@ -39,14 +30,14 @@ https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
=== I've heard about many GUIs for WeeChat. How can I compile/use them?
|
||||
|
||||
Some remote GUIs are available, see the
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^^].
|
||||
|
||||
[[compile_git]]
|
||||
=== I can't compile WeeChat after cloning git repository, why?
|
||||
|
||||
WeeChat must be compiled with CMake.
|
||||
|
||||
Please follow link:weechat_user.en.html#source_package[build instructions ^↗^,window=_blank]
|
||||
Please follow link:weechat_user.en.html#source_package[build instructions ^↗^^]
|
||||
and ensure all required dependencies are installed.
|
||||
|
||||
If you still have issues, please report them to the developers.
|
||||
@@ -54,7 +45,7 @@ If you still have issues, please report them to the developers.
|
||||
[[compile_macos]]
|
||||
=== How can I install WeeChat on macOS?
|
||||
|
||||
It is recommended to use https://brew.sh/[Homebrew ^↗^,window=_blank],
|
||||
It is recommended to use https://brew.sh/[Homebrew ^↗^^],
|
||||
you can get help with:
|
||||
|
||||
----
|
||||
@@ -71,12 +62,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 ^↗^,window=_blank] and
|
||||
link:weechat_user.en.html#commands_and_options[commands ^↗^,window=_blank]
|
||||
link:weechat_user.en.html#key_bindings[Keys ^↗^^] and
|
||||
link:weechat_user.en.html#commands_and_options[commands ^↗^^]
|
||||
are listed in documentation.
|
||||
|
||||
It's recommended for new users to read the
|
||||
link:weechat_quickstart.en.html[Quickstart guide ^↗^,window=_blank].
|
||||
link:weechat_quickstart.en.html[Quickstart guide ^↗^^].
|
||||
|
||||
[[display]]
|
||||
== Display
|
||||
@@ -104,7 +95,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_ ^↗^,window=_blank]
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^^]
|
||||
is off (this option may cause display bugs).
|
||||
|
||||
[NOTE]
|
||||
@@ -119,9 +110,9 @@ 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 ^↗^,window=_blank]
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^^]
|
||||
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^^]
|
||||
for more information.
|
||||
|
||||
[[bars_background]]
|
||||
@@ -179,7 +170,7 @@ windows.
|
||||
[[buffers_list]]
|
||||
=== How to display the buffers list on the left side?
|
||||
|
||||
The plugin link:weechat_user.en.html#buflist[buflist ^↗^,window=_blank]
|
||||
The plugin link:weechat_user.en.html#buflist[buflist ^↗^^]
|
||||
is loaded and enabled by default.
|
||||
|
||||
To limit size of bar:
|
||||
@@ -225,7 +216,7 @@ 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 https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^^]
|
||||
with examples of advanced buflist configuration.
|
||||
|
||||
[[customize_prefix]]
|
||||
@@ -269,7 +260,7 @@ 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 ^↗^,window=_blank]
|
||||
See link:weechat_user.en.html#screen_layout[User's guide / Screen layout ^↗^^]
|
||||
for more info about the hotlist.
|
||||
|
||||
[[input_bar_size]]
|
||||
@@ -429,7 +420,7 @@ you can change it with these two commands:
|
||||
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 ^↗^,window=_blank]
|
||||
Please read the link:weechat_user.en.html#colors[User's guide / Colors ^↗^^]
|
||||
for more information about colors management.
|
||||
|
||||
[[search_text]]
|
||||
@@ -438,7 +429,7 @@ for more 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 ^↗^,window=_blank]
|
||||
See link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^^]
|
||||
for more info about this feature.
|
||||
|
||||
[[terminal_focus]]
|
||||
@@ -465,14 +456,14 @@ And then you bind two keys for the focus (replace the `/print` commands by the
|
||||
commands of your choice):
|
||||
|
||||
----
|
||||
/key bind meta2-I /print -core focus
|
||||
/key bind meta2-O /print -core unfocus
|
||||
/key bind meta-[I /print -core focus
|
||||
/key bind meta-[O /print -core unfocus
|
||||
----
|
||||
|
||||
For example to mark buffers as read when the terminal loses the focus:
|
||||
|
||||
----
|
||||
/key bind meta2-O /allbuf /buffer set unread
|
||||
/key bind meta-[O /allbuf /buffer set unread
|
||||
----
|
||||
|
||||
[[screen_paste]]
|
||||
@@ -592,6 +583,31 @@ If you are using the macOS Terminal app, enable the option
|
||||
"Use option as meta key" in menu Settings/Keyboard after which you can use the
|
||||
kbd:[Option] key as meta key.
|
||||
|
||||
[[enter_key]]
|
||||
=== Some keys including Enter are not working, why?
|
||||
|
||||
If you run a WeeChat < 4.0.0 with configuration files created by any
|
||||
version ≥ 4.0.0, the keys names become invalid and many keys won't work at all. +
|
||||
To repair them, exit WeeChat, remove all sections `[key*]` from weechat.conf
|
||||
and start WeeChat again: all default keys will be created.
|
||||
|
||||
[[key_f11]]
|
||||
=== Key F11 maximizes the terminal window, how can I scroll up the nicklist?
|
||||
|
||||
The key kbd:[F11] is commonly used by terminals to maximize the window, and
|
||||
kbd:[F11]/kbd:[F12] are the default keys in WeeChat to scroll the nicklist.
|
||||
|
||||
You can bind other keys, for example kbd:[Shift+F11] and kbd:[Shift+F12],
|
||||
with WeeChat ≥ 4.0.0:
|
||||
|
||||
----
|
||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
||||
----
|
||||
|
||||
Other solution is to enable mouse (key: kbd:[Alt+m]) and scroll with the mouse
|
||||
wheel (see also questions about <<mouse,mouse>>).
|
||||
|
||||
[[customize_key_bindings]]
|
||||
=== How can I customize key bindings?
|
||||
|
||||
@@ -612,7 +628,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 ^↗^,window=_blank].
|
||||
link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^^].
|
||||
|
||||
To jump to buffers with number ≥ 100, you could define a trigger and then use
|
||||
commands like `/123` to jump to buffer #123:
|
||||
@@ -621,6 +637,12 @@ commands like `/123` to jump to buffer #123:
|
||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||
----
|
||||
|
||||
For an easy jump to buffers, you can also install the _go.py_ script:
|
||||
|
||||
----
|
||||
/script install go.py
|
||||
----
|
||||
|
||||
[[global_history]]
|
||||
=== How to use global history (instead of buffer history) with up and down keys?
|
||||
|
||||
@@ -629,15 +651,19 @@ history are kbd:[Ctrl+↑] and kbd:[Ctrl+↓]).
|
||||
|
||||
Example:
|
||||
|
||||
----
|
||||
/key bind up /input history_global_previous
|
||||
/key bind down /input history_global_next
|
||||
----
|
||||
|
||||
With WeeChat ≤ 3.8, you must use the raw key code (press kbd:[Alt+k] then key
|
||||
to display its code):
|
||||
|
||||
----
|
||||
/key bind meta2-A /input history_global_previous
|
||||
/key bind meta2-B /input history_global_next
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Keys "meta2-A" and "meta2-B" may be different in your terminal. To find key
|
||||
code press kbd:[Alt+k] then key.
|
||||
|
||||
[[mouse]]
|
||||
== Mouse
|
||||
|
||||
@@ -687,8 +713,8 @@ you have to use kbd:[Alt] instead of kbd:[Shift]).
|
||||
[[irc]]
|
||||
== IRC
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
=== I have some problems when connecting to a server using SSL, what can I do?
|
||||
[[irc_tls_connection]]
|
||||
=== I have some problems when connecting to a server using TLS, what can I do?
|
||||
|
||||
If you are using macOS, you must install `openssl` from Homebrew.
|
||||
A CA file will be bootstrapped using certificates from the system keychain.
|
||||
@@ -697,43 +723,43 @@ If you see errors about gnutls handshake, you can try to use a smaller
|
||||
Diffie-Hellman key (default is 2048):
|
||||
|
||||
----
|
||||
/set irc.server.example.ssl_dhkey_size 1024
|
||||
/set irc.server.example.tls_dhkey_size 1024
|
||||
----
|
||||
|
||||
If you see errors about certificate, you can disable "ssl_verify" (be careful,
|
||||
If you see errors about certificate, you can disable "tls_verify" (be careful,
|
||||
connection will be less secure by doing that):
|
||||
|
||||
----
|
||||
/set irc.server.example.ssl_verify off
|
||||
/set irc.server.example.tls_verify off
|
||||
----
|
||||
|
||||
If the server has an invalid certificate and you know what the certificate
|
||||
should be, you can specify the fingerprint (SHA-512, SHA-256 or SHA-1):
|
||||
|
||||
----
|
||||
/set irc.server.example.ssl_fingerprint 0c06e399d3c3597511dc8550848bfd2a502f0ce19883b728b73f6b7e8604243b
|
||||
/set irc.server.example.tls_fingerprint 0c06e399d3c3597511dc8550848bfd2a502f0ce19883b728b73f6b7e8604243b
|
||||
----
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
=== When connecting to server with SSL, I only see the error "TLS handshake failed", what can I do?
|
||||
[[irc_tls_handshake_error]]
|
||||
=== When connecting to server with TLS, I only see the error "TLS handshake failed", what can I do?
|
||||
|
||||
You can try a different priority string, replace "xxx" by your server name:
|
||||
|
||||
----
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----
|
||||
|
||||
[[irc_ssl_libera]]
|
||||
=== How can I connect to libera server using SSL?
|
||||
[[irc_tls_libera]]
|
||||
=== How can I connect to libera server using TLS?
|
||||
|
||||
Check that you have certificates installed on your system, this is commonly
|
||||
provided by the package "ca-certificates".
|
||||
|
||||
Setup server port, SSL, then connect:
|
||||
Setup server port, TLS, then connect:
|
||||
|
||||
----
|
||||
/set irc.server.libera.addresses "irc.libera.chat/6697"
|
||||
/set irc.server.libera.ssl on
|
||||
/set irc.server.libera.tls on
|
||||
/connect libera
|
||||
----
|
||||
|
||||
@@ -824,24 +850,9 @@ Filtered lines are only hidden, not deleted, and you can see them if you
|
||||
disable filters (by default, the key kbd:[Alt+=] toggles filters).
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
=== How can I filter join/part/quit messages on IRC channels?
|
||||
=== How can I filter join/part/quit and other annoying messages on IRC channels?
|
||||
|
||||
With smart filter (keep join/part/quit from users who spoke recently):
|
||||
|
||||
----
|
||||
/set irc.look.smart_filter on
|
||||
/filter add irc_smart * irc_smart_filter *
|
||||
----
|
||||
|
||||
With a global filter (hide *all* join/part/quit):
|
||||
|
||||
----
|
||||
/filter add joinquit * irc_join,irc_part,irc_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 ^↗^,window=_blank].
|
||||
See link:weechat_user.en.html#irc_smart_filter[User's guide / IRC smart filter ^↗^^].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== How can I filter some messages displayed when I join an IRC channel?
|
||||
@@ -935,39 +946,24 @@ Other scripts on this subject:
|
||||
=== How can I disable highlights for specific nicks?
|
||||
|
||||
You can use the
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^^]
|
||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||
or per group of buffers (like IRC servers).
|
||||
|
||||
To only disable highlights, you'd have to set it to 2:
|
||||
To only disable highlights, you'd have to set it to 2.
|
||||
|
||||
For the current buffer:
|
||||
|
||||
----
|
||||
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
||||
----
|
||||
|
||||
This buffer property isn't stored in the configuration though.
|
||||
To automatically reapply these buffer properties, you would need the
|
||||
_buffer_autoset.py_ script:
|
||||
For all channels on server "libera":
|
||||
|
||||
----
|
||||
/script install buffer_autoset.py
|
||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
||||
----
|
||||
|
||||
For example, to permanently disable highlights from "mike" on #weechat
|
||||
on the IRC server libera:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
To apply it to the entire libera server instead:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
For more examples, see `+/help buffer_autoset+`.
|
||||
|
||||
[[irc_target_buffer]]
|
||||
=== How can I change target buffer for commands on merged buffers (like buffer with servers)?
|
||||
|
||||
@@ -999,7 +995,7 @@ Scripts are not compatible with other IRC clients.
|
||||
[[scripts_update]]
|
||||
=== The command "/script update" can not read scripts, how to fix that?
|
||||
|
||||
First check questions about SSL connection in this FAQ.
|
||||
First check questions about TLS connection in this FAQ.
|
||||
|
||||
If still not working, try to manually delete the scripts file (in your shell):
|
||||
|
||||
@@ -1083,7 +1079,7 @@ You can try following tips to consume less memory:
|
||||
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php, spell,
|
||||
xfer (used for DCC). See `/help weechat.plugin.autoload`.
|
||||
* Load only scripts that you really need.
|
||||
* Do not load system certificates if SSL is *NOT* used: turn off this option:
|
||||
* Do not load system certificates if TLS is *NOT* used: turn off this option:
|
||||
_weechat.network.gnutls_ca_system_.
|
||||
* Reduce value of option _weechat.history.max_buffer_lines_number_ or set value
|
||||
of option _weechat.history.max_buffer_lines_minutes_.
|
||||
@@ -1094,7 +1090,8 @@ You can try following tips to consume less memory:
|
||||
|
||||
You can follow same tips as for <<memory_usage,memory>>, and these ones:
|
||||
|
||||
* Hide "nicklist" bar: `/bar hide nicklist`.
|
||||
* Hide "nicklist" bar: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
|
||||
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
|
||||
* Remove display of seconds in status bar time:
|
||||
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value).
|
||||
* Disable real time check of misspelled words in command line (if you enabled it):
|
||||
@@ -1116,14 +1113,20 @@ Disable answers to all CTCP queries:
|
||||
|
||||
----
|
||||
/set irc.ctcp.clientinfo ""
|
||||
/set irc.ctcp.finger ""
|
||||
/set irc.ctcp.source ""
|
||||
/set irc.ctcp.time ""
|
||||
/set irc.ctcp.userinfo ""
|
||||
/set irc.ctcp.version ""
|
||||
/set irc.ctcp.ping ""
|
||||
----
|
||||
|
||||
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
|
||||
disabled as well:
|
||||
|
||||
----
|
||||
/set irc.ctcp.finger ""
|
||||
/set irc.ctcp.userinfo ""
|
||||
----
|
||||
|
||||
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
||||
|
||||
----
|
||||
@@ -1134,7 +1137,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 ^↗^,window=_blank].
|
||||
See also link:weechat_user.en.html#secured_data[User's guide / Secured data ^↗^^].
|
||||
|
||||
For example:
|
||||
|
||||
@@ -1155,16 +1158,44 @@ 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 ^↗^,window=_blank]
|
||||
See the link:weechat_user.en.html#files_and_directories[User's guide / Files and directories ^↗^^]
|
||||
for more information about configuration files.
|
||||
|
||||
[[move_to_another_device]]
|
||||
=== I want to move my WeeChat to another device and keep my config, what should I copy?
|
||||
|
||||
First check directories used by WeeChat with this command: `/debug dirs`. +
|
||||
Directories home/config and home/data must be copied (all files and sub-directories).
|
||||
|
||||
For example if you're using XDG directories (default with WeeChat ≥ 3.2),
|
||||
the directories should be `$HOME/.config/weechat` and `$HOME/.local/share/weechat`. +
|
||||
If you're using a single directory (default with WeeChat < 3.2), the directory
|
||||
should be `$HOME/.weechat`.
|
||||
|
||||
[IMPORTANT]
|
||||
The WeeChat version on the new device must be greater than or equal to the version
|
||||
on the initial device. +
|
||||
Downgrading WeeChat configuration is *NOT SUPPORTED* and can break it,
|
||||
leading to unusable WeeChat.
|
||||
|
||||
Steps:
|
||||
|
||||
. Quit Weechat: `/quit` (or `/upgrade -quit` if you want to resume the session,
|
||||
which includes content of all buffers).
|
||||
. Copy all directories, sub-directories and files to the new device, keeping
|
||||
same names and permissions.
|
||||
. Optional: copy any file outside these directories that you refer to in your
|
||||
configuration (it's not recommended to use files outside WeeChat directories).
|
||||
. Start WeeChat on the new device: `weechat` (or `weechat --upgrade` if you
|
||||
saved the session).
|
||||
|
||||
[[development]]
|
||||
== Development
|
||||
|
||||
[[bug_task_patch]]
|
||||
=== How should I report bugs, ask for new features or send patches?
|
||||
|
||||
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
See https://weechat.org/about/support/[this page ^↗^^].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== When I run WeeChat under gdb, there is an error about threads, what can I do?
|
||||
@@ -1201,10 +1232,10 @@ 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
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
https://weechat.org/about/support/[support page ^↗^^].
|
||||
|
||||
[[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/[donation page ^↗^,window=_blank].
|
||||
Details on https://weechat.org/donate/[donation page ^↗^^].
|
||||
|
||||
+1380
-255
File diff suppressed because it is too large
Load Diff
@@ -2,10 +2,6 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
:toc: left
|
||||
:sectnums:
|
||||
:docinfo1:
|
||||
|
||||
|
||||
[[start]]
|
||||
== Start WeeChat
|
||||
@@ -105,7 +101,7 @@ other plugins in the list.
|
||||
You can add an IRC server with the `/server` command, for example:
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -ssl
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
----
|
||||
|
||||
In this command, `libera` is the internal server name used by WeeChat:
|
||||
@@ -381,13 +377,13 @@ for example:
|
||||
See `/help script` for more info.
|
||||
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
https://weechat.org/scripts/[this page ^↗^^].
|
||||
|
||||
[[more_doc]]
|
||||
== More documentation
|
||||
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^^]
|
||||
for any other questions.
|
||||
|
||||
Enjoy using WeeChat!
|
||||
|
||||
@@ -2,11 +2,6 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
:toc: left
|
||||
:toclevels: 3
|
||||
:sectnums:
|
||||
:docinfo1:
|
||||
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
@@ -103,7 +98,7 @@ List of available commands (detail in next chapters):
|
||||
[[command_handshake]]
|
||||
=== handshake
|
||||
|
||||
_WeeChat ≥ 2.9, updated in version 3.5._
|
||||
_WeeChat ≥ 2.9, updated in versions 3.5, 4.0.0._
|
||||
|
||||
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
|
||||
@@ -132,10 +127,15 @@ Arguments:
|
||||
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]:
|
||||
*** _zlib_: compress with https://zlib.net/[zlib ^↗^^] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard ^↗^^]:
|
||||
better compression and much faster than _zlib_ for both compression and decompression
|
||||
_(WeeChat ≥ 3.5)_
|
||||
** _escape_commands_: commands sent by the client to relay must be escaped:
|
||||
all backslashes are interpreted and a single backslash must be escaped (`\\`);
|
||||
this allows for example the client to send multiline messages (chars `\n` are
|
||||
converted to newlines, see <<command_input,input command>>)
|
||||
_(WeeChat ≥ 4.0.0)_
|
||||
|
||||
Notes about option _password_hash_algo_:
|
||||
|
||||
@@ -175,8 +175,11 @@ WeeChat replies with a hashtable containing the following keys and values:
|
||||
in the password hash algorithm)
|
||||
* _compression_: compression type:
|
||||
** _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]
|
||||
** _zlib_: messages are compressed with https://zlib.net/[zlib ^↗^^]
|
||||
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard ^↗^^]
|
||||
* _escape_commands_:
|
||||
** _on_: all backslashes are interpreted in the client messages
|
||||
** _off_: backslashes are *NOT* interpreted in the client messages and used as-is
|
||||
|
||||
[TIP]
|
||||
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
||||
@@ -203,6 +206,28 @@ htb: {
|
||||
'totp': 'on',
|
||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||
'compression': 'off',
|
||||
'escape_commands': 'off',
|
||||
}
|
||||
----
|
||||
|
||||
* Escape of commands enabled by the client _(WeeChat ≥ 4.0.0)_:
|
||||
|
||||
----
|
||||
(handshake) handshake escape_commands=on
|
||||
----
|
||||
|
||||
Response:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
id: 'handshake'
|
||||
htb: {
|
||||
'password_hash_algo': 'plain',
|
||||
'password_hash_iterations': '100000',
|
||||
'totp': 'on',
|
||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||
'compression': 'off',
|
||||
'escape_commands': 'on',
|
||||
}
|
||||
----
|
||||
|
||||
@@ -223,6 +248,7 @@ htb: {
|
||||
'totp': 'on',
|
||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||
'compression': 'off',
|
||||
'escape_commands': 'off',
|
||||
}
|
||||
----
|
||||
|
||||
@@ -243,6 +269,7 @@ htb: {
|
||||
'totp': 'on',
|
||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||
'compression': 'off',
|
||||
'escape_commands': 'off',
|
||||
}
|
||||
----
|
||||
|
||||
@@ -272,6 +299,7 @@ htb: {
|
||||
'totp': 'on',
|
||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||
'compression': 'zstd',
|
||||
'escape_commands': 'off',
|
||||
}
|
||||
----
|
||||
|
||||
@@ -460,7 +488,9 @@ hda:
|
||||
'buffer': 'ptr',
|
||||
'y': 'int',
|
||||
'date': 'tim',
|
||||
'date_usec': 'int',
|
||||
'date_printed': 'tim',
|
||||
'date_usec_printed': 'int',
|
||||
'str_time': 'str',
|
||||
'tags_count': 'int',
|
||||
'tags_array': 'arr',
|
||||
@@ -478,7 +508,9 @@ hda:
|
||||
buffer: '0x558d61ea3e60'
|
||||
y: -1
|
||||
date: 1588404926
|
||||
date_usec: 118712
|
||||
date_printed: 1588404926
|
||||
date_usec_printed: 118712
|
||||
str_time: 'F@0025209F@0024535F@0024026'
|
||||
tags_count: 0
|
||||
tags_array: []
|
||||
@@ -494,7 +526,9 @@ hda:
|
||||
buffer: '0x558d61ea3e60'
|
||||
y: -1
|
||||
date: 1588404930
|
||||
date_usec: 25
|
||||
date_printed: 1588404930
|
||||
date_usec_printed: 25
|
||||
str_time: 'F@0025209F@0024535F@0024030'
|
||||
tags_count: 0
|
||||
tags_array: []
|
||||
@@ -607,7 +641,7 @@ Request an _infolist_.
|
||||
|
||||
[IMPORTANT]
|
||||
Content of infolist is a duplication of actual data. Wherever possible, use
|
||||
command <<command_hdata,hdata>>, which is direct access to data (it is
|
||||
<<command_hdata,hdata command>>, which is direct access to data (it is
|
||||
faster, uses less memory and returns smaller objects in message).
|
||||
|
||||
Syntax:
|
||||
@@ -673,6 +707,7 @@ inl:
|
||||
nicklist_visible_count: 0
|
||||
title: 'WeeChat 2.9-dev (C) 2003-2020 - https://weechat.org/'
|
||||
input: 1
|
||||
input_get_any_user_data: 0
|
||||
input_get_unknown_commands: 0
|
||||
input_get_empty: 0
|
||||
input_multiline: 0
|
||||
@@ -684,11 +719,14 @@ inl:
|
||||
input_buffer_1st_display: 0
|
||||
num_history: 0
|
||||
text_search: 0
|
||||
text_search_direction: 0
|
||||
text_search_exact: 0
|
||||
text_search_regex: 0
|
||||
text_search_regex_compiled: '0x0'
|
||||
text_search_where: 0
|
||||
text_search_history: 0
|
||||
text_search_found: 0
|
||||
text_search_ptr_history: '0x0'
|
||||
text_search_input: None
|
||||
highlight_words: None
|
||||
highlight_disable_regex: None
|
||||
@@ -969,6 +1007,14 @@ input core.weechat /help filter
|
||||
input irc.libera.#weechat hello!
|
||||
----
|
||||
|
||||
* Send multiline message to #test channel (option _escape_commands_ must have
|
||||
been enabled in <<command_handshake,handshake command>> and requires
|
||||
WeeChat ≥ 4.0.0):
|
||||
|
||||
----
|
||||
input irc.ergo.#test this message has\n2 lines
|
||||
----
|
||||
|
||||
[[command_completion]]
|
||||
=== completion
|
||||
|
||||
@@ -1216,7 +1262,7 @@ Arguments:
|
||||
specify all buffers
|
||||
* _options_: one of following keywords, separated by commas (default is
|
||||
_buffers,upgrade,buffer,nicklist_ for "*" and _buffer,nicklist_ for a buffer);
|
||||
see <<command_sync,command sync>> for values
|
||||
see <<command_sync,sync command>> for values
|
||||
|
||||
[NOTE]
|
||||
When using buffer "*", the other buffers synchronized (using a name) are kept. +
|
||||
@@ -1382,8 +1428,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 https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _0x02_: following data is compressed with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
** _0x01_: following data is compressed with https://zlib.net/[zlib ^↗^^]
|
||||
** _0x02_: following data is compressed with https://facebook.github.io/zstd/[Zstandard ^↗^^]
|
||||
* _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
|
||||
@@ -1394,8 +1440,8 @@ Messages are sent as binary data, using following format (with size in bytes):
|
||||
=== Compression
|
||||
|
||||
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],
|
||||
with https://zlib.net/[zlib ^↗^^] or
|
||||
https://facebook.github.io/zstd/[Zstandard ^↗^^],
|
||||
and therefore must be uncompressed before being processed.
|
||||
|
||||
[[message_identifier]]
|
||||
@@ -2011,16 +2057,18 @@ Data sent as hdata:
|
||||
|
||||
[width="100%",cols="3m,2,10",options="header"]
|
||||
|===
|
||||
| Name | Type | Description
|
||||
| buffer | pointer | Buffer pointer.
|
||||
| date | time | Date of message.
|
||||
| date_printed | time | Date when WeeChat displayed message.
|
||||
| displayed | char | 1 if message is displayed, 0 if message is filtered (hidden).
|
||||
| notify_level | char | Notify level: -1 = notify disabled, 0 = low, 1 = message, 2 = private, 3 = highlight.
|
||||
| highlight | char | 1 if line has a highlight, otherwise 0.
|
||||
| tags_array | array of strings | List of tags for line.
|
||||
| prefix | string | Prefix.
|
||||
| message | string | Message.
|
||||
| Name | Type | Description
|
||||
| buffer | pointer | Buffer pointer.
|
||||
| date | time | Date of message.
|
||||
| date_usec | integer | Microseconds of date.
|
||||
| date_printed | time | Date when WeeChat displayed message.
|
||||
| date_usec_printed | integer | Microseconds of date when WeeChat displayed message.
|
||||
| displayed | char | 1 if message is displayed, 0 if message is filtered (hidden).
|
||||
| notify_level | char | Notify level: -1 = notify disabled, 0 = low, 1 = message, 2 = private, 3 = highlight.
|
||||
| highlight | char | 1 if line has a highlight, otherwise 0.
|
||||
| tags_array | array of strings | List of tags for line.
|
||||
| prefix | string | Prefix.
|
||||
| message | string | Message.
|
||||
|===
|
||||
|
||||
Example: new message _hello!_ from nick _FlashCode_ on buffer _irc.libera.#weechat_:
|
||||
@@ -2032,7 +2080,9 @@ hda:
|
||||
keys: {
|
||||
'buffer': 'ptr',
|
||||
'date': 'tim',
|
||||
'date_usec': 'int',
|
||||
'date_printed': 'tim',
|
||||
'date_usec_printed': 'int',
|
||||
'displayed': 'chr',
|
||||
'notify_level': 'chr',
|
||||
'highlight': 'chr',
|
||||
@@ -2045,7 +2095,9 @@ hda:
|
||||
__path: ['0x4a49600']
|
||||
buffer: '0x4a715d0'
|
||||
date: 1362728993
|
||||
date_usec: 902765
|
||||
date_printed: 1362728993
|
||||
date_usec_printed: 902765
|
||||
displayed: 1
|
||||
notify_level: 1
|
||||
highlight: 0
|
||||
@@ -2317,7 +2369,7 @@ will change).
|
||||
|
||||
[NOTE]
|
||||
During WeeChat upgrade, the socket remains opened (except if connection uses
|
||||
SSL).
|
||||
TLS).
|
||||
|
||||
[[message_upgrade_ended]]
|
||||
==== _upgrade_ended
|
||||
|
||||
@@ -2,18 +2,11 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
:toc: left
|
||||
:toclevels: 4
|
||||
:sectnums:
|
||||
:sectnumlevels: 3
|
||||
:docinfo1:
|
||||
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
https://weechat.org/doc/[this page ^↗^^].
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
@@ -61,7 +54,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 ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^^].
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Languages specificities
|
||||
@@ -74,7 +67,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 ^↗^,window=_blank].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
|
||||
[[python_functions]]
|
||||
===== Functions
|
||||
@@ -109,7 +102,7 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|
||||
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 ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference ^↗^^].
|
||||
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
@@ -124,7 +117,7 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|
||||
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 ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference ^↗^^].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable
|
||||
@@ -205,7 +198,7 @@ You can pass this constant when a function accepts null as an argument and you
|
||||
will get it as the value of an argument in a callback function if the argument
|
||||
value is null. To see which functions accept null values and passes null values
|
||||
to callbacks, look at the Python prototypes in the
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^^].
|
||||
|
||||
[[language_guile]]
|
||||
==== Guile (Scheme)
|
||||
@@ -382,7 +375,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 ^↗^,window=_blank]
|
||||
You can look at link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^^]
|
||||
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
|
||||
@@ -549,329 +542,28 @@ 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 ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^^].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Functions
|
||||
|
||||
List of functions in script API:
|
||||
|
||||
[width="100%",cols="1,5",options="header"]
|
||||
|===
|
||||
| Category | Functions
|
||||
|
||||
| general
|
||||
| register
|
||||
|
||||
| plugins
|
||||
| plugin_get_name
|
||||
|
||||
| strings
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
ngettext +
|
||||
strlen_screen +
|
||||
string_match +
|
||||
string_match_list +
|
||||
string_has_highlight +
|
||||
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 +
|
||||
string_input_for_buffer +
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| directories
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| sorted lists
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
list_casesearch +
|
||||
list_casesearch_pos +
|
||||
list_get +
|
||||
list_set +
|
||||
list_next +
|
||||
list_prev +
|
||||
list_string +
|
||||
list_size +
|
||||
list_remove +
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| configuration files
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
config_search_option +
|
||||
config_string_to_boolean +
|
||||
config_option_reset +
|
||||
config_option_set +
|
||||
config_option_set_null +
|
||||
config_option_unset +
|
||||
config_option_rename +
|
||||
config_option_is_null +
|
||||
config_option_default_is_null +
|
||||
config_boolean +
|
||||
config_boolean_default +
|
||||
config_integer +
|
||||
config_integer_default +
|
||||
config_string +
|
||||
config_string_default +
|
||||
config_color +
|
||||
config_color_default +
|
||||
config_write_option +
|
||||
config_write_line +
|
||||
config_write +
|
||||
config_read +
|
||||
config_reload +
|
||||
config_option_free +
|
||||
config_section_free_options +
|
||||
config_section_free +
|
||||
config_free +
|
||||
config_get +
|
||||
config_get_plugin +
|
||||
config_is_set_plugin +
|
||||
config_set_plugin +
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| key bindings
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| 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 +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
hook_process +
|
||||
hook_process_hashtable +
|
||||
hook_connect +
|
||||
hook_line +
|
||||
hook_print +
|
||||
hook_signal +
|
||||
hook_signal_send +
|
||||
hook_hsignal +
|
||||
hook_hsignal_send +
|
||||
hook_config +
|
||||
hook_completion +
|
||||
hook_modifier +
|
||||
hook_modifier_exec +
|
||||
hook_info +
|
||||
hook_info_hashtable +
|
||||
hook_infolist +
|
||||
hook_focus +
|
||||
hook_set +
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| buffers
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
buffer_search_main +
|
||||
buffer_clear +
|
||||
buffer_close +
|
||||
buffer_merge +
|
||||
buffer_unmerge +
|
||||
buffer_get_integer +
|
||||
buffer_get_string +
|
||||
buffer_get_pointer +
|
||||
buffer_set +
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| windows
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| nicklist
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
nicklist_remove_group +
|
||||
nicklist_remove_nick +
|
||||
nicklist_remove_all +
|
||||
nicklist_group_get_integer +
|
||||
nicklist_group_get_string +
|
||||
nicklist_group_get_pointer +
|
||||
nicklist_group_set +
|
||||
nicklist_nick_get_integer +
|
||||
nicklist_nick_get_string +
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| bars
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
bar_search +
|
||||
bar_new +
|
||||
bar_set +
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| commands
|
||||
| command +
|
||||
command_options
|
||||
|
||||
| completion
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| infos
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| infolists
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
infolist_new_var_pointer +
|
||||
infolist_new_var_time +
|
||||
infolist_get +
|
||||
infolist_next +
|
||||
infolist_prev +
|
||||
infolist_reset_item_cursor +
|
||||
infolist_search_var +
|
||||
infolist_fields +
|
||||
infolist_integer +
|
||||
infolist_string +
|
||||
infolist_pointer +
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
hdata_get_var_array_size_string +
|
||||
hdata_get_var_hdata +
|
||||
hdata_get_list +
|
||||
hdata_check_pointer +
|
||||
hdata_move +
|
||||
hdata_search +
|
||||
hdata_char +
|
||||
hdata_integer +
|
||||
hdata_long +
|
||||
hdata_string +
|
||||
hdata_pointer +
|
||||
hdata_time +
|
||||
hdata_hashtable +
|
||||
hdata_compare +
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| upgrade
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
|===
|
||||
include::{autogendir}/autogen_scripting_functions.en.adoc[tag=functions]
|
||||
|
||||
[[script_api_constants]]
|
||||
=== Constants
|
||||
|
||||
List of constants in script API:
|
||||
|
||||
[width="100%",cols="1,5",options="header"]
|
||||
|===
|
||||
| Category | Constants
|
||||
|
||||
| return codes
|
||||
| `WEECHAT_RC_OK` (integer) +
|
||||
`WEECHAT_RC_OK_EAT` (integer) +
|
||||
`WEECHAT_RC_ERROR` (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) +
|
||||
`WEECHAT_CONFIG_WRITE_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_SET_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||
|
||||
| sorted lists
|
||||
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||
`WEECHAT_LIST_POS_END` (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) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (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) +
|
||||
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||
|
||||
| hook signal
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||
|===
|
||||
include::{autogendir}/autogen_scripting_constants.en.adoc[tag=constants]
|
||||
|
||||
[[common_tasks]]
|
||||
== Common tasks
|
||||
|
||||
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 ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^^].
|
||||
|
||||
[[buffers]]
|
||||
=== Buffers
|
||||
@@ -1141,7 +833,7 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
|
||||
[TIP]
|
||||
All infos available about WeeChat are on
|
||||
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
|
||||
https://weechat.org/dev/info/[this page ^↗^^].
|
||||
|
||||
Example of URL transfer with an option: download latest WeeChat development
|
||||
package in file _/tmp/weechat-devel.tar.gz_:
|
||||
@@ -1160,7 +852,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 ^↗^,window=_blank].
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^^].
|
||||
|
||||
[[config_options]]
|
||||
=== Config / options
|
||||
|
||||
+975
-673
File diff suppressed because it is too large
Load Diff
@@ -1,48 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2012-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_DOC)
|
||||
|
||||
# FAQ
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.es.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_faq.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.es.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.es.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_faq.es.html"
|
||||
)
|
||||
add_custom_target(doc-faq-es ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.es.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.es.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# quickstart
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_quickstart.es.html"
|
||||
)
|
||||
add_custom_target(doc-quickstart-es ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
endif()
|
||||
@@ -1 +0,0 @@
|
||||
../docinfo.html
|
||||
+137
-94
@@ -2,20 +2,12 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: es
|
||||
:toc: left
|
||||
:toclevels: 2
|
||||
:sectnums:
|
||||
:sectnumlevels: 2
|
||||
:docinfo1:
|
||||
:toc-title: Índice
|
||||
|
||||
Traductores
|
||||
|
||||
* Victorhck <victorhck.mailbox.org>, 2021
|
||||
|
||||
|
||||
toc::[]
|
||||
|
||||
|
||||
[[general]]
|
||||
== General
|
||||
|
||||
@@ -35,7 +27,7 @@ Porque WeeChat es muy ligero y ofrece funcionalidades innovadoras.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
More info on the WeeChat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
https://weechat.org/about/features/[features page ^↗^^].
|
||||
|
||||
[[compilation_install]]
|
||||
== Compilación / instalación
|
||||
@@ -45,7 +37,7 @@ https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Some remote GUIs are available, see the
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^^].
|
||||
|
||||
[[compile_git]]
|
||||
=== No puedo compilar WeeChat después de haber clonado el repositorio git, ¿por qué?
|
||||
@@ -54,7 +46,7 @@ https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blan
|
||||
WeeChat must be compiled with CMake.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Please follow link:weechat_user.en.html#source_package[build instructions ^↗^,window=_blank]
|
||||
Please follow link:weechat_user.en.html#source_package[build instructions ^↗^^]
|
||||
and ensure all required dependencies are installed.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -63,7 +55,7 @@ If you still have issues, please report them to the developers.
|
||||
[[compile_macos]]
|
||||
=== ¿Cómo puedo instalar WeeChat en macOS?
|
||||
|
||||
Se recomienda utilizar https://brew.sh/[Homebrew ^↗^,window=_blank],
|
||||
Se recomienda utilizar https://brew.sh/[Homebrew ^↗^^],
|
||||
puede obtener ayuda con el comando:
|
||||
|
||||
----
|
||||
@@ -80,12 +72,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 ^↗^,window=_blank] y
|
||||
link:weechat_user.en.html#commands_and_options[comandos ^↗^,window=_blank] aparecen listados
|
||||
link:weechat_user.en.html#key_bindings[Las teclas ^↗^^] y
|
||||
link:weechat_user.en.html#commands_and_options[comandos ^↗^^] 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 ^↗^,window=_blank].
|
||||
link:weechat_quickstart.es.html[guía rápida ^↗^^].
|
||||
|
||||
[[display]]
|
||||
== Visualización
|
||||
@@ -113,7 +105,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_ ^↗^,window=_blank]
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^^]
|
||||
está en off (esta opción puede causar errores a la hora de mostrar el texto).
|
||||
|
||||
[NOTE]
|
||||
@@ -128,10 +120,10 @@ 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 ^↗^,window=_blank].
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^^].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^^]
|
||||
for more information.
|
||||
|
||||
[[bars_background]]
|
||||
@@ -189,7 +181,7 @@ ventanas.
|
||||
[[buffers_list]]
|
||||
=== ¿Cómo mostrar un listado de los buffers en la parte izquierda?
|
||||
|
||||
El complemento link:weechat_user.en.html#buflist[buflist ^↗^,window=_blank]
|
||||
El complemento link:weechat_user.en.html#buflist[buflist ^↗^^]
|
||||
está cargado y habilitado de manera predeterminada.
|
||||
|
||||
Para limitar el tamaño de la barra:
|
||||
@@ -236,7 +228,7 @@ El complemento del listado de buffers _buflist_ ofrece múltiples opciones que p
|
||||
la ayuda de cada opción.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^^]
|
||||
with examples of advanced buflist configuration.
|
||||
|
||||
[[customize_prefix]]
|
||||
@@ -280,7 +272,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 ^↗^,window=_blank] para
|
||||
Vea la link:weechat_user.en.html#screen_layout[Guía de usuario / diseño de la pantalla ^↗^^] para
|
||||
más información sobre este tema.
|
||||
|
||||
[[input_bar_size]]
|
||||
@@ -443,7 +435,7 @@ puede cambiarlo con estos dos comandos:
|
||||
You can use any color number in options (optional: you can add color aliases
|
||||
with command `/color`).
|
||||
|
||||
Por favor lea la link:weechat_user.en.html#colors[Guía del usuario / Colores ^↗^,window=_blank] para más
|
||||
Por favor lea la link:weechat_user.en.html#colors[Guía del usuario / Colores ^↗^^] para más
|
||||
información sobre la gestión de los colores.
|
||||
|
||||
[[search_text]]
|
||||
@@ -452,7 +444,7 @@ 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 ^↗^,window=_blank]
|
||||
Vea la link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^^]
|
||||
para más información sobre esta funcionalidad.
|
||||
|
||||
[[terminal_focus]]
|
||||
@@ -479,14 +471,14 @@ Y después enlazar dos teclas para el foco (reemplazar los comandos `/print` por
|
||||
comandos que prefiera):
|
||||
|
||||
----
|
||||
/key bind meta2-I /print -core focus
|
||||
/key bind meta2-O /print -core unfocus
|
||||
/key bind meta-[I /print -core focus
|
||||
/key bind meta-[O /print -core unfocus
|
||||
----
|
||||
|
||||
Por ejemplo, para marcar buffers como leidos cuando una terminal pierde el foco:
|
||||
|
||||
----
|
||||
/key bind meta2-O /allbuf /buffer set unread
|
||||
/key bind meta-[O /allbuf /buffer set unread
|
||||
----
|
||||
|
||||
[[screen_paste]]
|
||||
@@ -606,6 +598,33 @@ Si está utilizando aplicación Terminal de macOS, habilite la opción
|
||||
"Use option as meta key" en el menú Settings/Keyboard después de la cual puede utilizar la tecla
|
||||
kbd:[Option] como tecla meta.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[enter_key]]
|
||||
=== Some keys including Enter are not working, why?
|
||||
|
||||
If you run a WeeChat < 4.0.0 with configuration files created by any
|
||||
version ≥ 4.0.0, the keys names become invalid and many keys won't work at all. +
|
||||
To repair them, exit WeeChat, remove all sections `[key*]` from weechat.conf
|
||||
and start WeeChat again: all default keys will be created.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[key_f11]]
|
||||
=== Key F11 maximizes the terminal window, how can I scroll up the nicklist?
|
||||
|
||||
The key kbd:[F11] is commonly used by terminals to maximize the window, and
|
||||
kbd:[F11]/kbd:[F12] are the default keys in WeeChat to scroll the nicklist.
|
||||
|
||||
You can bind other keys, for example kbd:[Shift+F11] and kbd:[Shift+F12],
|
||||
with WeeChat ≥ 4.0.0:
|
||||
|
||||
----
|
||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
||||
----
|
||||
|
||||
Other solution is to enable mouse (key: kbd:[Alt+m]) and scroll with the mouse
|
||||
wheel (see also questions about <<mouse,mouse>>).
|
||||
|
||||
[[customize_key_bindings]]
|
||||
=== ¿Cómo puedo personalizar los atajos de teclado?
|
||||
|
||||
@@ -626,7 +645,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 ^↗^,window=_blank].
|
||||
link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^^].
|
||||
|
||||
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:
|
||||
@@ -635,6 +654,13 @@ comandos como `/123` para saltar al buffer #123:
|
||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For an easy jump to buffers, you can also install the _go.py_ script:
|
||||
|
||||
----
|
||||
/script install go.py
|
||||
----
|
||||
|
||||
[[global_history]]
|
||||
=== ¿Cómo utilizar el historial global (en vez del historial del buffer) con las teclas de las flechas arriba y abajo?
|
||||
|
||||
@@ -643,15 +669,20 @@ global son kbd:[Ctrl+↑] y kbd:[Ctrl+↓]).
|
||||
|
||||
Ejemplo:
|
||||
|
||||
----
|
||||
/key bind up /input history_global_previous
|
||||
/key bind down /input history_global_next
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.8, you must use the raw key code (press kbd:[Alt+k] then key
|
||||
to display its code):
|
||||
|
||||
----
|
||||
/key bind meta2-A /input history_global_previous
|
||||
/key bind meta2-B /input history_global_next
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Las telcas "meta2-A" y "meta2-B" pueden ser diferentes en su terminal. Para encontrar el código
|
||||
de la tecla pulse kbd:[Alt+k] y después la tecla.
|
||||
|
||||
[[mouse]]
|
||||
== Ratón
|
||||
|
||||
@@ -701,8 +732,8 @@ tiene que utilizar kbd:[Alt] en vez de kbd:[Shift]).
|
||||
[[irc]]
|
||||
== IRC
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
=== Tengo algunos problemas al conectarme a un servidor utilizando SSL, ¿qué puedo hacer?
|
||||
[[irc_tls_connection]]
|
||||
=== Tengo algunos problemas al conectarme a un servidor utilizando TLS, ¿qué puedo hacer?
|
||||
|
||||
Si está utilizando macOS, deberá instalar `openssl` desde Homebrew.
|
||||
Se añadirá un archivo CA que utiliza los certificados del sistema.
|
||||
@@ -711,45 +742,45 @@ Si ve errores en gnutls handshake, puede intentar utilizar una clave de cifrado
|
||||
Diffie-Hellman (la predeterminada es 2048):
|
||||
|
||||
----
|
||||
/set irc.server.example.ssl_dhkey_size 1024
|
||||
/set irc.server.example.tls_dhkey_size 1024
|
||||
----
|
||||
|
||||
Si ve errores sobre el certificado, puede inhabilitar "ssl_verify" (tenga cuidado,
|
||||
Si ve errores sobre el certificado, puede inhabilitar "tls_verify" (tenga cuidado,
|
||||
la conexión será menos segura haciendo esto):
|
||||
|
||||
----
|
||||
/set irc.server.example.ssl_verify off
|
||||
/set irc.server.example.tls_verify off
|
||||
----
|
||||
|
||||
Si el servidor tiene un certificado inválido y usted conoce qué certificado
|
||||
debería ser, puede especificar la huella (fingerprint) (SHA-512, SHA-256 or SHA-1):
|
||||
|
||||
----
|
||||
/set irc.server.example.ssl_fingerprint 0c06e399d3c3597511dc8550848bfd2a502f0ce19883b728b73f6b7e8604243b
|
||||
/set irc.server.example.tls_fingerprint 0c06e399d3c3597511dc8550848bfd2a502f0ce19883b728b73f6b7e8604243b
|
||||
----
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
=== Al conectar a un servidor con SSL, solo veo el error "TLS handshake failed", ¿qué puedo hacer?
|
||||
[[irc_tls_handshake_error]]
|
||||
=== Al conectar a un servidor con TLS, solo veo el error "TLS handshake failed", ¿qué puedo hacer?
|
||||
|
||||
Puede intentar una cadena de prioridad diferente, reemplace "xxx" por el nombre
|
||||
de su servidor:
|
||||
|
||||
----
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----
|
||||
|
||||
[[irc_ssl_libera]]
|
||||
=== ¿Cómo puedo conectarme al servidor libera utilizando SSL?
|
||||
[[irc_tls_libera]]
|
||||
=== ¿Cómo puedo conectarme al servidor libera utilizando TLS?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Check that you have certificates installed on your system, this is commonly
|
||||
provided by the package "ca-certificates".
|
||||
|
||||
Establezca el puerto del servidor, SSL, después conecte:
|
||||
Establezca el puerto del servidor, TLS, después conecte:
|
||||
|
||||
----
|
||||
/set irc.server.libera.addresses "irc.libera.chat/6697"
|
||||
/set irc.server.libera.ssl on
|
||||
/set irc.server.libera.tls on
|
||||
/connect libera
|
||||
----
|
||||
|
||||
@@ -845,25 +876,11 @@ prefijar el contenido de la línea.
|
||||
Las líneas flitradas solo son ocultadas, no eliminadas, y podrá verlas si
|
||||
inhabilita los filtros (de manera predeteminada, la tecla kbd:[Alt+=] alterna esos filtros).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[filter_irc_join_part_quit]]
|
||||
=== ¿Cómo puedo filtrar los mensajes join/part/quit en los canales IRC?
|
||||
=== How can I filter join/part/quit and other annoying messages on IRC channels?
|
||||
|
||||
Con el filtro inteligente (mantiene los mensajes join/part/quit de usuarios que hayan hablado recientemente):
|
||||
|
||||
----
|
||||
/set irc.look.smart_filter on
|
||||
/filter add irc_smart * irc_smart_filter *
|
||||
----
|
||||
|
||||
Con un filtro global (oculta *todos* los mensajes join/part/quit):
|
||||
|
||||
----
|
||||
/filter add joinquit * irc_join,irc_part,irc_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 ^↗^,window=_blank].
|
||||
See link:weechat_user.en.html#irc_smart_filter[User's guide / IRC smart filter ^↗^^].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== ¿Cómo puedo filtrar algunos mensajes mostrados cuando me uno a un canal IRC?
|
||||
@@ -960,39 +977,26 @@ Otros scripts para este tema:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can use the
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^^]
|
||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||
or per group of buffers (like IRC servers).
|
||||
|
||||
Para únicamente inhabilitar las notificaciones, debería establecerlo a 2:
|
||||
Para únicamente inhabilitar las notificaciones, debería establecerlo a 2.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For the current buffer:
|
||||
|
||||
----
|
||||
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
||||
----
|
||||
|
||||
Esta propiedad del buffer no es almacenada en la configuración.
|
||||
Para volver a aplicar automáticamente estas propiedades del buffer, necesitaría el script
|
||||
_buffer_autoset.py_:
|
||||
// TRANSLATION MISSING
|
||||
For all channels on server "libera":
|
||||
|
||||
----
|
||||
/script install buffer_autoset.py
|
||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
||||
----
|
||||
|
||||
Por ejemplo, para inhabilitar automáticamente las menciones de "mike" en #weechat
|
||||
en el servidor IRC de libera:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
Para aplicarlo al servidor completo de libera:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
Para más ejemplos, vea `+/help buffer_autoset+`.
|
||||
|
||||
[[irc_target_buffer]]
|
||||
=== ¿Cómo puedo cambiar el objetivo del buffer para comandos en buffers unidos (como en un buffer con servidores)?
|
||||
|
||||
@@ -1025,7 +1029,7 @@ Los scripts no son compatibles con otros clientes IRC.
|
||||
[[scripts_update]]
|
||||
=== El comando "/script update" no puede leer los scripts, ¿Cómo puedo solucionar eso?
|
||||
|
||||
Primero compruebe las preguntas sobre la conexión SSL en este documento.
|
||||
Primero compruebe las preguntas sobre la conexión TLS en este documento.
|
||||
|
||||
Si todavía no funciona, trate de manera manual eliminar los archivos de scripts (escriba en su terminal):
|
||||
|
||||
@@ -1111,7 +1115,7 @@ Puede intentar estos trucos para consumir menos memoria:
|
||||
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php, spell,
|
||||
xfer (usado para DCC). Vea `/help weechat.plugin.autoload`.
|
||||
* Cargue solo los scripts que realmente necesite.
|
||||
* No cargue los certificados del sistema si SSL *NO* es utilizado: inhabilite esta opción mediante:
|
||||
* No cargue los certificados del sistema si TLS *NO* es utilizado: inhabilite esta opción mediante:
|
||||
_weechat.network.gnutls_ca_system_.
|
||||
* Reduzca el valor de la opción _weechat.history.max_buffer_lines_number_ o establezca
|
||||
el valor de la opción _weechat.history.max_buffer_lines_minutes_.
|
||||
@@ -1122,7 +1126,10 @@ Puede intentar estos trucos para consumir menos memoria:
|
||||
|
||||
Puede seguir los mismos consejo que para la <<memory_usage,memoria>> y estos otros:
|
||||
|
||||
* Oculte la barra de la lista de apodos: `/bar hide nicklist`.
|
||||
// TRANSLATION MISSING
|
||||
* Oculte la barra de la lista de apodos: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
|
||||
// TRANSLATION MISSING
|
||||
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
|
||||
* Elimine que se muestren los segundos en la hora de la barra de estado:
|
||||
`+/set weechat.look.item_time_format "%H:%M"+` (este es el valor predeterminado).
|
||||
* Inhabilite la comprobación en tiempo real de palabras erróneas en la línea de comandos (si lo había habilitado previamente):
|
||||
@@ -1144,14 +1151,21 @@ Inhabilite las respuestas a todas las peticiones CTCP:
|
||||
|
||||
----
|
||||
/set irc.ctcp.clientinfo ""
|
||||
/set irc.ctcp.finger ""
|
||||
/set irc.ctcp.source ""
|
||||
/set irc.ctcp.time ""
|
||||
/set irc.ctcp.userinfo ""
|
||||
/set irc.ctcp.version ""
|
||||
/set irc.ctcp.ping ""
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
|
||||
disabled as well:
|
||||
|
||||
----
|
||||
/set irc.ctcp.finger ""
|
||||
/set irc.ctcp.userinfo ""
|
||||
----
|
||||
|
||||
Elimine de la memoria e inhabilite la carga automática del complemento "xfer" (utilizdo para IRC DCC):
|
||||
|
||||
----
|
||||
@@ -1162,7 +1176,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 ^↗^,window=_blank].
|
||||
Ver también link:weechat_user.en.html#secured_data[Guía del usuario / Datos seguros ^↗^^].
|
||||
|
||||
Por ejemplo:
|
||||
|
||||
@@ -1183,9 +1197,38 @@ 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 ^↗^,window=_blank]
|
||||
Vea la link:weechat_user.en.html#files_and_directories[Guía del usuario / Archivos y directorios ^↗^^]
|
||||
para más información relacionada con los archivos de configuración.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[move_to_another_device]]
|
||||
=== I want to move my WeeChat to another device and keep my config, what should I copy?
|
||||
|
||||
First check directories used by WeeChat with this command: `/debug dirs`. +
|
||||
Directories home/config and home/data must be copied (all files and sub-directories).
|
||||
|
||||
For example if you're using XDG directories (default with WeeChat ≥ 3.2),
|
||||
the directories should be `$HOME/.config/weechat` and `$HOME/.local/share/weechat`. +
|
||||
If you're using a single directory (default with WeeChat < 3.2), the directory
|
||||
should be `$HOME/.weechat`.
|
||||
|
||||
[IMPORTANT]
|
||||
The WeeChat version on the new device must be greater than or equal to the version
|
||||
on the initial device. +
|
||||
Downgrading WeeChat configuration is *NOT SUPPORTED* and can break it,
|
||||
leading to unusable WeeChat.
|
||||
|
||||
Steps:
|
||||
|
||||
. Quit Weechat: `/quit` (or `/upgrade -quit` if you want to resume the session,
|
||||
which includes content of all buffers).
|
||||
. Copy all directories, sub-directories and files to the new device, keeping
|
||||
same names and permissions.
|
||||
. Optional: copy any file outside these directories that you refer to in your
|
||||
configuration (it's not recommended to use files outside WeeChat directories).
|
||||
. Start WeeChat on the new device: `weechat` (or `weechat --upgrade` if you
|
||||
saved the session).
|
||||
|
||||
[[development]]
|
||||
== Desarrollo
|
||||
|
||||
@@ -1193,7 +1236,7 @@ para más información relacionada con los archivos de configuración.
|
||||
=== ¿Cómo podría informar de errores, pedir nuevas funcionalidades o enviar parches?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
See https://weechat.org/about/support/[this page ^↗^^].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Cuando ejecuto WeeChat bajo gdb, hay un error con la muestra de las conversaciones, ¿qué puedo hacer?
|
||||
@@ -1231,11 +1274,11 @@ Hay muchas tareas que hacer (probar, escribir código, documentación, etc.)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Please contact us via IRC or mail, look at
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
https://weechat.org/about/support/[support page ^↗^^].
|
||||
|
||||
[[donate]]
|
||||
=== ¿Puedo donar dinero u otras cosas a las personas que desarrollan WeeChat?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can give us money to help development.
|
||||
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
Details on https://weechat.org/donate/[donation page ^↗^^].
|
||||
|
||||
@@ -2,17 +2,13 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: es
|
||||
:toc: left
|
||||
:sectnums:
|
||||
:docinfo1:
|
||||
|
||||
:toc-title: Índice
|
||||
|
||||
Traductores:
|
||||
|
||||
* Lázaro A. <uranio-235@myopera.com>, 2012
|
||||
* Victorhck <victorhck@mailbox.org>, 2021
|
||||
|
||||
|
||||
[[start]]
|
||||
== Iniciar WeeChat
|
||||
|
||||
@@ -115,7 +111,7 @@ seguramente vera irc y otros.
|
||||
Puede añadir un servidor IRC mediante el comando `/server`, por ejemplo:
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -ssl
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
----
|
||||
|
||||
En este comando, `libera` es el nombre interno del servidor utilizado por WeeChat:
|
||||
@@ -404,14 +400,14 @@ Vea `/help script` para obtener más información.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
https://weechat.org/scripts/[this page ^↗^^].
|
||||
|
||||
[[more_doc]]
|
||||
== Más documentación
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^^]
|
||||
for any other questions.
|
||||
|
||||
¡Disfrute de WeeChat!
|
||||
|
||||
@@ -1,151 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
# man page: weechat
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.fr.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.fr.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat.1 (fr)"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/fr/man1)
|
||||
|
||||
if(ENABLE_HEADLESS)
|
||||
# man page: weechat-headless
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat-headless.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.fr.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.fr.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.fr.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat-headless.1 (fr)"
|
||||
)
|
||||
add_custom_target(doc-man-weechat-headless-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1 DESTINATION ${MANDIR}/fr/man1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(ENABLE_DOC)
|
||||
|
||||
file(GLOB AUTOGEN_USER "${CMAKE_CURRENT_SOURCE_DIR}/includes/autogen_user_*.adoc")
|
||||
file(GLOB AUTOGEN_PLUGIN "${CMAKE_CURRENT_SOURCE_DIR}/includes/autogen_api_*.adoc")
|
||||
|
||||
# user's guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.fr.adoc
|
||||
${AUTOGEN_USER}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_user.fr.html"
|
||||
)
|
||||
add_custom_target(doc-user-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# plugin API reference
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.adoc
|
||||
${AUTOGEN_PLUGIN}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_plugin_api.fr.html"
|
||||
)
|
||||
add_custom_target(doc-plugin-api-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# scripting guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_scripting.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_scripting.fr.html"
|
||||
)
|
||||
add_custom_target(doc-scripting-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# FAQ
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_faq.fr.html"
|
||||
)
|
||||
add_custom_target(doc-faq-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# quickstart
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_quickstart.fr.html"
|
||||
)
|
||||
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})
|
||||
|
||||
# relay protocol
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_relay_protocol.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.fr.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_relay_protocol.fr.html"
|
||||
)
|
||||
add_custom_target(doc-relay-protocol-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# developer's guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.fr.html
|
||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_dev.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.fr.adoc
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.fr.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_dev.fr.html"
|
||||
)
|
||||
add_custom_target(doc-dev-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.fr.html)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
endif()
|
||||
@@ -1 +0,0 @@
|
||||
../docinfo.html
|
||||
@@ -1,204 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::completions[]
|
||||
[width="100%",cols="^1,^2,7",options="header"]
|
||||
|===
|
||||
| Extension | Nom | Description
|
||||
|
||||
| alias | alias | liste des alias
|
||||
|
||||
| alias | alias_value | valeur de l'alias
|
||||
|
||||
| exec | exec_commands_ids | ids (nombres et noms) des commandes exécutées
|
||||
|
||||
| fset | fset_options | fichiers de configuration, section, options et mots des options
|
||||
|
||||
| guile | guile_script | liste des scripts
|
||||
|
||||
| irc | irc_channel | canal IRC courant
|
||||
|
||||
| irc | irc_channel_nicks_hosts | pseudos et noms d'hôtes du canal IRC courant
|
||||
|
||||
| irc | irc_channel_topic | titre du canal IRC courant
|
||||
|
||||
| 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
|
||||
|
||||
| irc | irc_modelist_numbers | nombres de la liste de modes du canal IRC courant ; argument obligatoire : mode de la liste de modes
|
||||
|
||||
| irc | irc_msg_kick | message d'éjection par défaut
|
||||
|
||||
| irc | irc_msg_part | message de fin par défaut pour le canal IRC
|
||||
|
||||
| irc | irc_notify_nicks | pseudos dans la liste de notifications
|
||||
|
||||
| irc | irc_privates | privés sur tous les serveurs IRC
|
||||
|
||||
| irc | irc_raw_filters | filtres pour le tampon de données brutes irc
|
||||
|
||||
| irc | irc_server | serveur IRC courant
|
||||
|
||||
| irc | irc_server_channels | canaux sur le serveur IRC courant
|
||||
|
||||
| irc | irc_server_nick | pseudo sur le serveur IRC courant
|
||||
|
||||
| irc | irc_server_nicks | pseudos sur tous les canaux du serveur IRC courant
|
||||
|
||||
| irc | irc_server_privates | privés sur le serveur IRC courant
|
||||
|
||||
| irc | irc_servers | serveurs IRC (noms internes)
|
||||
|
||||
| irc | nick | pseudos du canal IRC courant
|
||||
|
||||
| javascript | javascript_script | liste des scripts
|
||||
|
||||
| lua | lua_script | liste des scripts
|
||||
|
||||
| perl | perl_script | liste des scripts
|
||||
|
||||
| php | php_script | liste des scripts
|
||||
|
||||
| python | python_script | liste des scripts
|
||||
|
||||
| relay | relay_free_port | premier port libre pour l'extension relay
|
||||
|
||||
| relay | relay_protocol_name | tous les protocole.nom possible pour l'extension relay
|
||||
|
||||
| relay | relay_relays | protocole.nom des relais courants pour l'extension relay
|
||||
|
||||
| ruby | ruby_script | liste des scripts
|
||||
|
||||
| script | script_extensions | liste des extensions de script
|
||||
|
||||
| script | script_files | fichiers dans les répertoires de script
|
||||
|
||||
| script | script_languages | liste des langages de script
|
||||
|
||||
| script | script_scripts | liste des scripts du dépôt
|
||||
|
||||
| script | script_scripts_installed | liste des scripts installés (du dépôt)
|
||||
|
||||
| script | script_tags | étiquettes des scripts dans le dépôt
|
||||
|
||||
| spell | spell_dicts | liste des dictionnaires installés
|
||||
|
||||
| spell | spell_langs | liste de toutes les langues supportées
|
||||
|
||||
| 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
|
||||
|
||||
| trigger | trigger_hook_conditions | conditions par défaut pour un hook
|
||||
|
||||
| trigger | trigger_hook_rc | code retour par défaut pour une fonction de rappel de hook
|
||||
|
||||
| trigger | trigger_hook_regex | expression régulière par défaut pour le hook
|
||||
|
||||
| trigger | trigger_hooks | hooks pour les triggers
|
||||
|
||||
| trigger | trigger_hooks_filter | hooks pour les triggers (pour filtrer dans le tampon moniteur)
|
||||
|
||||
| trigger | trigger_names | triggers
|
||||
|
||||
| trigger | trigger_names_default | triggers par défaut
|
||||
|
||||
| trigger | trigger_option_value | valeur d'une option de trigger
|
||||
|
||||
| trigger | trigger_options | options pour les triggers
|
||||
|
||||
| trigger | trigger_post_action | actions "post" pour les triggers
|
||||
|
||||
| weechat | bars_names | noms des barres
|
||||
|
||||
| weechat | bars_options | options pour les barres
|
||||
|
||||
| weechat | buffer_local_variable_value | valeur d'une variable locale du tampon
|
||||
|
||||
| weechat | buffer_local_variables | variables locales du tampon
|
||||
|
||||
| weechat | buffer_properties_get | propriétés qui peuvent être lues sur un tampon
|
||||
|
||||
| weechat | buffer_properties_set | propriétés qui peuvent être changées sur un tampon
|
||||
|
||||
| weechat | buffers_names | noms des tampons
|
||||
|
||||
| weechat | buffers_numbers | numéros des tampons
|
||||
|
||||
| weechat | buffers_plugins_names | noms des tampons (incluant les noms d'extensions)
|
||||
|
||||
| weechat | colors | noms des couleurs
|
||||
|
||||
| weechat | commands | commandes (weechat et extensions) ; paramètre optionnel : préfixe à ajouter avant les commandes
|
||||
|
||||
| weechat | config_files | fichiers de configuration
|
||||
|
||||
| weechat | config_option_values | valeurs pour une option de configuration
|
||||
|
||||
| weechat | config_options | options de configuration
|
||||
|
||||
| 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
|
||||
|
||||
| weechat | filename | nom de fichier ; paramètre optionnel : chemin par défaut (évalué, voir /help eval)
|
||||
|
||||
| weechat | filters_names | noms des filtres
|
||||
|
||||
| weechat | infolists | noms des infolistes accrochées
|
||||
|
||||
| weechat | infos | noms des infos accrochées
|
||||
|
||||
| weechat | keys_codes | codes des touches
|
||||
|
||||
| weechat | keys_codes_for_reset | codes des touches pouvant être réinitialisées (touches ajoutées, redéfinies ou supprimées)
|
||||
|
||||
| weechat | keys_contexts | contextes de touches
|
||||
|
||||
| weechat | layouts_names | noms des dispositions
|
||||
|
||||
| weechat | nicks | pseudos dans la liste des pseudos du tampon courant
|
||||
|
||||
| weechat | palette_colors | couleurs de la palette
|
||||
|
||||
| weechat | plugins_commands | commandes définies par les extensions ; paramètre optionnel : préfixe à ajouter avant les commandes
|
||||
|
||||
| weechat | plugins_installed | noms des extensions installées
|
||||
|
||||
| weechat | plugins_names | noms des extensions
|
||||
|
||||
| weechat | proxies_names | noms des proxies
|
||||
|
||||
| weechat | proxies_options | options pour les proxies
|
||||
|
||||
| weechat | secured_data | noms de données sécurisées (fichier sec.conf, section data)
|
||||
|
||||
| weechat | weechat_commands | commandes weechat ; paramètre optionnel : préfixe à ajouter avant les commandes
|
||||
|
||||
| weechat | windows_numbers | numéros des fenêtres
|
||||
|
||||
| xfer | nick | pseudos de la discussion DCC
|
||||
|
||||
|===
|
||||
// end::completions[]
|
||||
@@ -1,36 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::config_priority[]
|
||||
[width="30%",cols="1,3,2",options="header"]
|
||||
|===
|
||||
| Rang | Fichier | Priorité
|
||||
| 1 | sec.conf | 120000
|
||||
| 2 | weechat.conf | 110000
|
||||
| 3 | plugins.conf | 100000
|
||||
| 4 | charset.conf | 16000
|
||||
| 5 | logger.conf | 15000
|
||||
| 6 | exec.conf | 14000
|
||||
| 7 | trigger.conf | 13000
|
||||
| 8 | spell.conf | 12000
|
||||
| 9 | alias.conf | 11000
|
||||
| 10 | buflist.conf | 10000
|
||||
| 11 | fifo.conf | 9000
|
||||
| 12 | typing.conf | 8000
|
||||
| 13 | xfer.conf | 7000
|
||||
| 14 | irc.conf | 6000
|
||||
| 15 | relay.conf | 5000
|
||||
| 16 | guile.conf | 4070
|
||||
| 17 | javascript.conf | 4060
|
||||
| 18 | lua.conf | 4050
|
||||
| 19 | perl.conf | 4040
|
||||
| 20 | php.conf | 4030
|
||||
| 21 | python.conf | 4020
|
||||
| 22 | ruby.conf | 4010
|
||||
| 23 | tcl.conf | 4000
|
||||
| 24 | script.conf | 3000
|
||||
| 25 | fset.conf | 2000
|
||||
|===
|
||||
// end::config_priority[]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,94 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::infolists[]
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
|===
|
||||
| Extension | Nom | Description | Pointeur | Paramètres
|
||||
|
||||
| alias | alias | liste des alias | pointeur vers l'alias (optionnel) | nom d'alias (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| alias | alias_default | liste des alias par défaut | - | -
|
||||
|
||||
| buflist | buflist | liste des tampons dans un objet de barre buflist | - | nom d'objet de barre buflist (optionnel)
|
||||
|
||||
| fset | fset_option | liste des options fset | pointeur vers l'option fset (optionnel) | nom d'option (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| guile | guile_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| irc | irc_channel | liste des canaux pour un serveur IRC | pointeur vers le canal (optionnel) | serveur,canal (le canal est optionnel)
|
||||
|
||||
| irc | irc_color_weechat | correspondance entre les codes couleur IRC et les noms de couleur WeeChat | - | -
|
||||
|
||||
| irc | irc_ignore | liste des ignores IRC | pointeur vers l'ignore (optionnel) | -
|
||||
|
||||
| irc | irc_modelist | liste des listes de modes pour un canal IRC | pointeur vers une liste de modes (optionnel) | serveur,canal,type (le type est optionnel)
|
||||
|
||||
| irc | irc_modelist_item | listes des éléments dans une liste de modes de canal | pointeur vers un élément de liste de modes (optionnel) | serveur,canal,type,nombre (le nombre est optionnel)
|
||||
|
||||
| irc | irc_nick | liste des pseudos pour un canal IRC | pointeur vers le pseudo (optionnel) | serveur,canal,pseudo (le pseudo est optionnel)
|
||||
|
||||
| irc | irc_notify | liste des notifications | pointeur vers la notification (optionnel) | nom de serveur (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| irc | irc_server | liste des serveurs IRC | pointeur vers le serveur (optionnel) | nom de serveur (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| javascript | javascript_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| logger | logger_buffer | liste des enregistreurs de tampons (loggers) | pointeur vers le logger (optionnel) | -
|
||||
|
||||
| lua | lua_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| perl | perl_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| php | php_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| python | python_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| relay | relay | liste des clients pour le relai | pointeur vers le relay (optionnel) | -
|
||||
|
||||
| ruby | ruby_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| script | script_script | liste des scripts | pointeur vers le script (optionnel) | nom du script avec extension (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| tcl | tcl_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| weechat | bar | liste des barres | pointeur vers la barre (optionnel) | nom de barre (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| weechat | bar_item | liste des objets de barres | pointeur vers l'objet de barre (optionnel) | nom d'objet de barre (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| weechat | bar_window | liste des fenêtres de barre | pointeur vers la fenêtre de barre (optionnel) | -
|
||||
|
||||
| weechat | buffer | liste des tampons | pointeur vers le tampon (optionnel) | nom de tampon (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| weechat | buffer_lines | lignes d'un tampon | pointeur vers le tampon | -
|
||||
|
||||
| weechat | filter | liste des filtres | - | nom de filtre (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| weechat | history | historique des commandes | pointeur vers le tampon (si non défini, retourne l'historique global) (optionnel) | -
|
||||
|
||||
| weechat | hook | liste des hooks | pointeur vers le hook (optionnel) | type,paramètres (le type est command/timer/.., paramètres pour avoir seulement quelques hooks (le caractère joker "*" est autorisé), les deux sont optionnels)
|
||||
|
||||
| weechat | hotlist | liste des tampons dans la hotlist | - | -
|
||||
|
||||
| weechat | key | liste des associations de touches | - | contexte ("default", "search", "cursor" ou "mouse") (optionnel)
|
||||
|
||||
| weechat | layout | liste des dispositions | - | -
|
||||
|
||||
| weechat | nicklist | pseudos dans la liste des pseudos pour un tampon | pointeur vers le tampon | nick_xxx ou group_xxx pour avoir seulement le pseudo/groupe xxx (optionnel)
|
||||
|
||||
| weechat | option | liste des options | - | nom d'option (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| weechat | plugin | liste des extensions | pointeur vers l'extension (optionnel) | nom d'extension (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| weechat | proxy | liste des proxies | pointeur vers le proxy (optionnel) | nom de proxy (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| weechat | url_options | options pour l'URL | - | -
|
||||
|
||||
| weechat | window | liste des fenêtres | pointeur vers la fenêtre (optionnel) | "current" pour la fenêtre courante ou un numéro de fenêtre (optionnel)
|
||||
|
||||
| xfer | xfer | liste des xfer | pointeur vers le xfer (optionnel) | -
|
||||
|
||||
|===
|
||||
// end::infolists[]
|
||||
@@ -1,164 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::infos[]
|
||||
[width="100%",cols="^1,^2,6,6",options="header"]
|
||||
|===
|
||||
| Extension | Nom | Description | Paramètres
|
||||
|
||||
| fifo | fifo_filename | nom du tube FIFO | -
|
||||
|
||||
| guile | guile_eval | évaluation de code source | code source à exécuter
|
||||
|
||||
| guile | guile_interpreter | nom de l'interpréteur utilisé | -
|
||||
|
||||
| guile | guile_version | version de l'interpréteur utilisé | -
|
||||
|
||||
| irc | irc_buffer | retourne le pointeur vers le tampon pour un serveur/canal/pseudo IRC | serveur,canal,pseudo (canal et pseudo sont optionnels)
|
||||
|
||||
| irc | irc_is_channel | 1 si la chaîne est un nom de canal IRC valide pour le serveur | serveur,canal (le serveur est optionnel)
|
||||
|
||||
| irc | irc_is_message_ignored | 1 si le pseudo est ignoré (le message n'est pas affiché) | serveur,message (message est le message brut IRC)
|
||||
|
||||
| irc | irc_is_nick | 1 si la chaîne est un pseudo IRC valide | serveur,pseudo (le serveur est optionnel)
|
||||
|
||||
| irc | irc_nick | retourne le pseudo utilisé actuellement sur un serveur | nom de serveur
|
||||
|
||||
| irc | irc_nick_color | retourne le code couleur du pseudo (*obsolète* depuis la version 1.5, remplacé par "nick_color") | pseudo
|
||||
|
||||
| irc | irc_nick_color_name | retourne le nom de la couleur du pseudo (*obsolète* depuis la version 1.5, remplacé par "nick_color_name") | pseudo
|
||||
|
||||
| irc | irc_nick_from_host | retourne le pseudo à partir d'un host IRC | host IRC (comme `:pseudo!nom@serveur.com`)
|
||||
|
||||
| irc | irc_server_isupport | 1 si le serveur supporte cette fonctionnalité (du message IRC 005) | serveur,fonctionnalité
|
||||
|
||||
| irc | irc_server_isupport_value | valeur de la fonctionnalité, si supportée par le serveur (du message IRC 005) | serveur,fonctionnalité
|
||||
|
||||
| javascript | javascript_eval | évaluation de code source | code source à exécuter
|
||||
|
||||
| javascript | javascript_interpreter | nom de l'interpréteur utilisé | -
|
||||
|
||||
| javascript | javascript_version | version de l'interpréteur utilisé | -
|
||||
|
||||
| lua | lua_eval | évaluation de code source | code source à exécuter
|
||||
|
||||
| lua | lua_interpreter | nom de l'interpréteur utilisé | -
|
||||
|
||||
| lua | lua_version | version de l'interpréteur utilisé | -
|
||||
|
||||
| perl | perl_eval | évaluation de code source | code source à exécuter
|
||||
|
||||
| perl | perl_interpreter | nom de l'interpréteur utilisé | -
|
||||
|
||||
| perl | perl_version | version de l'interpréteur utilisé | -
|
||||
|
||||
| php | php_eval | évaluation de code source | code source à exécuter
|
||||
|
||||
| php | php_interpreter | nom de l'interpréteur utilisé | -
|
||||
|
||||
| php | php_version | version de l'interpréteur utilisé | -
|
||||
|
||||
| python | python_eval | évaluation de code source | code source à exécuter
|
||||
|
||||
| python | python_interpreter | nom de l'interpréteur utilisé | -
|
||||
|
||||
| python | python_version | version de l'interpréteur utilisé | -
|
||||
|
||||
| relay | relay_client_count | nombre de clients pour le relai | protocole,statut (les deux sont optionnels, pour chaque paramètre "*" signifie tous ; protocoles : irc, weechat ; statuts : connecting, waiting_auth, connected, auth_failed, disconnected)
|
||||
|
||||
| ruby | ruby_eval | évaluation de code source | code source à exécuter
|
||||
|
||||
| ruby | ruby_interpreter | nom de l'interpréteur utilisé | -
|
||||
|
||||
| ruby | ruby_version | version de l'interpréteur utilisé | -
|
||||
|
||||
| spell | spell_dict | liste de dictionnaires (séparés par des virgules) utilisés sur le tampon | pointeur vers un tampon ("0x12345678") ou nom complet de tampon ("irc.libera.#weechat")
|
||||
|
||||
| tcl | tcl_eval | évaluation de code source | code source à exécuter
|
||||
|
||||
| tcl | tcl_interpreter | nom de l'interpréteur utilisé | -
|
||||
|
||||
| tcl | tcl_version | version de l'interpréteur utilisé | -
|
||||
|
||||
| weechat | auto_connect | 1 si la connexion automatique aux serveurs est activée, 0 si elle a été désactivée par l'utilisateur (option "-a" ou "--no-connect") | -
|
||||
|
||||
| weechat | charset_internal | charset interne à WeeChat | -
|
||||
|
||||
| weechat | charset_terminal | charset du terminal | -
|
||||
|
||||
| weechat | color_ansi_regex | expression régulière POSIX étendue pour chercher les codes ANSI échappés | -
|
||||
|
||||
| weechat | color_rgb2term | couleur RGB convertie en couleur du terminal (0-255) | rgb,limite (la limite est optionnelle et vaut 256 par défaut)
|
||||
|
||||
| weechat | color_term2rgb | couleur du terminal (0-255) convertie en couleur RGB | couleur (couleur du terminal : 0-255)
|
||||
|
||||
| weechat | cursor_mode | 1 si le mode curseur est activé | -
|
||||
|
||||
| weechat | date | date/heure de compilation de WeeChat | -
|
||||
|
||||
| weechat | dir_separator | séparateur de répertoire | -
|
||||
|
||||
| weechat | filters_enabled | 1 si les filtres sont activés | -
|
||||
|
||||
| weechat | inactivity | inactivité du clavier (secondes) | -
|
||||
|
||||
| weechat | locale | locale utilisée pour la traduction des messages | -
|
||||
|
||||
| weechat | nick_color | retourne le code couleur du pseudo | pseudo;couleurs (couleurs est une liste de couleurs facultative, séparée par des virgules ; un fond est autorisé pour la couleur avec le format texte:fond ; si couleurs est présent, les options WeeChat avec les couleurs de pseudos et couleurs forcées de pseudos sons ignorées)
|
||||
|
||||
| weechat | nick_color_name | retourne le nom de la couleur du pseudo | pseudo;couleurs (couleurs est une liste de couleurs facultative, séparée par des virgules ; un fond est autorisé pour la couleur avec le format texte:fond ; si couleurs est présent, les options WeeChat avec les couleurs de pseudos et couleurs forcées de pseudos sons ignorées)
|
||||
|
||||
| weechat | pid | PID (ID de processus) de WeeChat | -
|
||||
|
||||
| weechat | term_color_pairs | nombre de paires de couleurs supportées dans le terminal | -
|
||||
|
||||
| weechat | term_colors | nombre de couleurs supportées dans le terminal | -
|
||||
|
||||
| weechat | term_height | hauteur du terminal | -
|
||||
|
||||
| weechat | term_width | largeur du terminal | -
|
||||
|
||||
| weechat | totp_generate | générer un mot de passe à usage unique basé sur le temps (TOTP) | secret (en base32), horodatage (optionnel, heure courante par défaut), nombre de chiffres (optionnel, entre 4 et 10, 6 par défaut)
|
||||
|
||||
| weechat | totp_validate | valider un mot de passe à usage unique basé sur le temps (TOTP) : 1 si le TOTP est correct, sinon 0 | secret (en base32), mot de passe à usage unique, horodatage (optionnel, heure courante par défaut), nombre de mots de passe avant/après à tester (optionnel, 0 par défaut)
|
||||
|
||||
| weechat | uptime | Durée de fonctionnement de WeeChat (format : "jours:hh:mm:ss") | "days" (nombre de jours) ou "seconds" (nombre de secondes) (optionnel)
|
||||
|
||||
| weechat | uptime_current | Durée de fonctionnement de WeeChat pour le processus actuel seulement (les mises à jour par la commande /upgrade sont ignorées) (format : "jours:hh:mm:ss") | "days" (nombre de jours) ou "seconds" (nombre de secondes) (optionnel)
|
||||
|
||||
| weechat | version | version de WeeChat | -
|
||||
|
||||
| weechat | version_git | version git de WeeChat (sortie de la commande "git describe" pour une version de développement seulement, vide pour une version stable) | -
|
||||
|
||||
| weechat | version_number | version de WeeChat (sous forme de nombre) | -
|
||||
|
||||
| weechat | weechat_cache_dir | répertoire du cache WeeChat | -
|
||||
|
||||
| weechat | weechat_config_dir | répertoire de la configuration WeeChat | -
|
||||
|
||||
| weechat | weechat_daemon | 1 si WeeChat tourne en mode démon (sans interface, en tâche de fond) | -
|
||||
|
||||
| weechat | weechat_data_dir | répertoire des données WeeChat | -
|
||||
|
||||
| weechat | weechat_dir | répertoire de WeeChat (*obsolète depuis la version 3.2, remplacé par "weechat_config_dir", "weechat_data_dir", "weechat_cache_dir" et "weechat_runtime_dir") | -
|
||||
|
||||
| weechat | weechat_headless | 1 si WeeChat tourne sans interface | -
|
||||
|
||||
| weechat | weechat_libdir | répertoire "lib" de WeeChat | -
|
||||
|
||||
| weechat | weechat_localedir | répertoire "locale" de WeeChat | -
|
||||
|
||||
| weechat | weechat_runtime_dir | répertoire de "runtime" WeeChat | -
|
||||
|
||||
| weechat | weechat_sharedir | répertoire "share" de WeeChat | -
|
||||
|
||||
| weechat | weechat_site | site WeeChat | -
|
||||
|
||||
| weechat | weechat_site_download | site WeeChat, page de téléchargement | -
|
||||
|
||||
| weechat | weechat_upgrading | 1 si WeeChat est en cours de mise à jour (commande `/upgrade`) | -
|
||||
|
||||
|===
|
||||
// end::infos[]
|
||||
@@ -1,20 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::infos_hashtable[]
|
||||
[width="100%",cols="^1,^2,6,6,8",options="header"]
|
||||
|===
|
||||
| Extension | Nom | Description | Table de hachage (entrée) | Table de hachage (sortie)
|
||||
|
||||
| irc | irc_message_parse | analyse un message IRC | "message" : message IRC, "server" : nom du serveur (optionnel) | "tags" : étiquettes, "tag_xxx" : valeur de l'étiquette "xxx" sans échappements (une clé par étiquette), "message_without_tags" : message sans les étiquettes, "nick" : pseudo, "user" : nom d'utilisateur, "host" : nom d'hôte, "command" : commande, "channel" : canal, "arguments" : paramètres (inclut le canal), "text" : texte (par exemple message utilisateur), "param1" ... "paramN" : paramètres de la commande, "num_params" : nombre de paramètres dans la commande, "pos_command" : index de "command" dans le message ("-1" si "command" n'a pas été trouvé), "pos_arguments" : index de "arguments" dans le message ("-1" si "arguments" n'a pas été trouvé), "pos_channel" : index de "channel" dans le message ("-1" si "channel" n'a pas été trouvé), "pos_text" : index de "text" dans le message ("-1" si "text" n'a pas été trouvé)
|
||||
|
||||
| irc | irc_message_split | découper un message IRC (pour tenir dans les 512 octets par défaut) | "message" : message IRC, "server" : nom du serveur (optionnel) | "msg1" ... "msgN" : messages à envoyer (sans le "\r\n" final), "args1" ... "argsN" : paramètres des messages, "count" : nombre de messages
|
||||
|
||||
| weechat | focus_info | obtenir l'information de focus | "x" : coordonnée x (chaîne avec un entier >= 0), "y" : coordonnée y (chaîne avec un entier >= 0) | voir la fonction hook_focus dans la Référence API extension
|
||||
|
||||
| weechat | secured_data | données sécurisées | - | données sécurisées : noms et valeurs (attention : les valeurs sont des données sensibles : il ne faut PAS les afficher/logger)
|
||||
|
||||
|===
|
||||
// end::infos_hashtable[]
|
||||
@@ -1,33 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
|
||||
// tag::plugins_priority[]
|
||||
[width="30%",cols="1,3,2",options="header"]
|
||||
|===
|
||||
| Rang | Extension | Priorité
|
||||
| 1 | charset | 16000
|
||||
| 2 | logger | 15000
|
||||
| 3 | exec | 14000
|
||||
| 4 | trigger | 13000
|
||||
| 5 | spell | 12000
|
||||
| 6 | alias | 11000
|
||||
| 7 | buflist | 10000
|
||||
| 8 | fifo | 9000
|
||||
| 9 | typing | 8000
|
||||
| 10 | xfer | 7000
|
||||
| 11 | irc | 6000
|
||||
| 12 | relay | 5000
|
||||
| 13 | guile | 4070
|
||||
| 14 | javascript | 4060
|
||||
| 15 | lua | 4050
|
||||
| 16 | perl | 4040
|
||||
| 17 | php | 4030
|
||||
| 18 | python | 4020
|
||||
| 19 | ruby | 4010
|
||||
| 20 | tcl | 4000
|
||||
| 21 | script | 3000
|
||||
| 22 | fset | 2000
|
||||
|===
|
||||
// end::plugins_priority[]
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user