mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 05:46:38 +02:00
Compare commits
622 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6330ec76e0 | |||
| bc3f14eacb | |||
| f07a63755c | |||
| c6f30816dd | |||
| c55b5836f0 | |||
| e93db7f99d | |||
| 22ee76cdd6 | |||
| cf2d0733d3 | |||
| 75b72e7f69 | |||
| 03a6d9306a | |||
| 398cfc473a | |||
| e5df225d9f | |||
| f5fa814fa4 | |||
| 34cbe56a6f | |||
| a17a80f1d0 | |||
| 405707d544 | |||
| 2a272a7543 | |||
| d4b15ea432 | |||
| 3a954405d7 | |||
| 42ae480f0a | |||
| f4fe63c312 | |||
| 68b017935a | |||
| 97ceefd183 | |||
| 7a757d94c0 | |||
| f07d439cec | |||
| 3f670d31fe | |||
| 558087325d | |||
| 3766d52bd3 | |||
| 2df0b3e2c3 | |||
| c1115c04d5 | |||
| e6d850daa0 | |||
| a0ffb9e5dd | |||
| 95a940294e | |||
| d49c6515e4 | |||
| 2f375b652b | |||
| 8a024dddad | |||
| 951c030082 | |||
| 5def4f72fe | |||
| 3db2f71112 | |||
| 09917a807b | |||
| 334f88ae2c | |||
| 2e14645691 | |||
| 2c0bbdf9b9 | |||
| 5839df90e7 | |||
| 6082453002 | |||
| d0568dce79 | |||
| 00a873dda0 | |||
| 18e2badfbd | |||
| 120b048efb | |||
| 600e438b90 | |||
| bf3a8628ae | |||
| 1478ecd77d | |||
| 5c9d9bc8fc | |||
| ff00323363 | |||
| 1d2e5ce700 | |||
| 2eebe241ab | |||
| e93cebf02c | |||
| c3db4946b2 | |||
| 86d4da2fd1 | |||
| e39ef93903 | |||
| 9663f79746 | |||
| e0b7d2a645 | |||
| 99bb1454a4 | |||
| caa7af253a | |||
| 36300c763d | |||
| e3ffef457f | |||
| 6d11468059 | |||
| 6b19987e7f | |||
| d91039ebd0 | |||
| 2e6249588f | |||
| 847ce17718 | |||
| 15e2da3aac | |||
| ca22e49041 | |||
| 764b309e92 | |||
| c0402bce52 | |||
| 9fe5fa23a0 | |||
| e8a335a3e3 | |||
| e9983821e7 | |||
| b25a9b11a0 | |||
| f5038bccbc | |||
| 20b2bdedc2 | |||
| 95366c37b7 | |||
| 80bb54fed8 | |||
| 68d452b559 | |||
| 357b7e0d55 | |||
| d8106f863a | |||
| 2e570c599b | |||
| 8280a3b65b | |||
| f7cf044f33 | |||
| 98aca3343a | |||
| d9ee4a3c13 | |||
| 19d84e975e | |||
| c33a28cfca | |||
| 145423c11f | |||
| 4865fe07e2 | |||
| cc163a0e7e | |||
| 17e7796669 | |||
| 83c4b940a6 | |||
| 8c1379e820 | |||
| e86e558f3f | |||
| 718a317cfb | |||
| c275f9d994 | |||
| 9285afc3e2 | |||
| c7d21a3ea6 | |||
| 1b54cd24ed | |||
| d3a9e4e74b | |||
| 8fd4a80af8 | |||
| 091a17b138 | |||
| e89d6d69ad | |||
| 3c9eb6dcac | |||
| 8e9692809d | |||
| 6388d36858 | |||
| 8198aade2e | |||
| ca6e483cdc | |||
| 547e2b934e | |||
| 07deaf97ec | |||
| daef5971ae | |||
| 04aea1bcb5 | |||
| 4b7be27028 | |||
| 68c70e5538 | |||
| 865dd61d31 | |||
| b53f3c2db8 | |||
| 56698151db | |||
| 1285a7d391 | |||
| 36b62cfc5e | |||
| d97fed80cb | |||
| 80ca209e70 | |||
| d302294723 | |||
| 60422ca6b1 | |||
| 9d3388b09e | |||
| d10af1037b | |||
| 10b4fffaca | |||
| c48dee3211 | |||
| cf726265d1 | |||
| 8b2cdf3032 | |||
| 3523b5e4e2 | |||
| c6c420c698 | |||
| cfe34388fb | |||
| 3eaa1a3a6e | |||
| de88cd3b58 | |||
| b88582c7ec | |||
| cab9496a70 | |||
| c0c837b1be | |||
| 7c30dbcf05 | |||
| d665e2d489 | |||
| 16346255f1 | |||
| 2a7f557f05 | |||
| 8e8e982af6 | |||
| 883c12dec2 | |||
| ad5fde5966 | |||
| 119664d090 | |||
| 97ede70307 | |||
| c26ff6c51b | |||
| 9e34a0e917 | |||
| befcd09d63 | |||
| 8aba934c50 | |||
| 3b88065266 | |||
| ce2c4b74a2 | |||
| d3d0948e2e | |||
| 68dce2b47a | |||
| b45d2105a5 | |||
| 74c63c0541 | |||
| 770d87c3d6 | |||
| 099e11d7b8 | |||
| 8af3a4cef8 | |||
| 7226b005e9 | |||
| 45509e1cd1 | |||
| cdb4823fad | |||
| 82f0b3b121 | |||
| e6409355b6 | |||
| e2675f5afe | |||
| e6388c1d1a | |||
| 9779f56125 | |||
| 818a4c95a9 | |||
| 8f43dceedf | |||
| 05c60a2292 | |||
| 798c7a5262 | |||
| 732f24b6ba | |||
| 0fc0071297 | |||
| e8b73aa711 | |||
| 33232f3f05 | |||
| 5e5278b6a3 | |||
| eee806370b | |||
| f8b2e1d525 | |||
| 82a2f764bc | |||
| 680e7dc95f | |||
| a0b7220d23 | |||
| 48a92276e5 | |||
| e483113345 | |||
| ea11623793 | |||
| 107650d7d7 | |||
| 2555c378a2 | |||
| 6e7df56592 | |||
| 9250d769fd | |||
| 5bdbcae892 | |||
| 11faf85402 | |||
| ca07c03bf3 | |||
| 18364586d9 | |||
| 669f1894e6 | |||
| 45a1b9b20e | |||
| a414fb9da5 | |||
| bd7c503e7b | |||
| eaace4acdb | |||
| 328aa8f202 | |||
| 244595d94f | |||
| 61d7a4c678 | |||
| 3e579c94f6 | |||
| 7184d34371 | |||
| 9a8010eead | |||
| 3fd298bfbe | |||
| 7c1586e8ff | |||
| 1c30fe9b0a | |||
| 9c016af6fb | |||
| 08d5839fa1 | |||
| b11e2b82f4 | |||
| 85b9d72e37 | |||
| 4511996b84 | |||
| 93646c0b24 | |||
| 5ddd786332 | |||
| 9731f5a8e6 | |||
| 6e19e9d8b2 | |||
| 9f6caa4e03 | |||
| 74cc16ef07 | |||
| 1fc8c551d8 | |||
| 764fb7c4ad | |||
| c1b34b0ff5 | |||
| 328fc3845e | |||
| 524c813485 | |||
| 2dea224a38 | |||
| 84f65e1339 | |||
| 24fbeaf36e | |||
| d1013b31bd | |||
| 945782195f | |||
| 06771e66fb | |||
| d83167b586 | |||
| cd4d958e82 | |||
| 254ecbf4c6 | |||
| ad6ec011bd | |||
| 26e16fdea7 | |||
| 50a9c88b79 | |||
| 97e81e197d | |||
| 488b3f8e7b | |||
| 3160d2accd | |||
| fea5b868ee | |||
| 6dccc3181a | |||
| 16dac7193b | |||
| 4503dbb013 | |||
| fb57abbadf | |||
| bc675bd270 | |||
| 0f8fede68a | |||
| 958863b4a8 | |||
| d9e1b545b4 | |||
| 1bf4e466f9 | |||
| de4231c842 | |||
| 19cb459685 | |||
| 51dfb1fb78 | |||
| fec71ae30c | |||
| 99b4f9a98d | |||
| 17fc815da9 | |||
| ba746dcb1b | |||
| 90c23ef418 | |||
| bca7c7438a | |||
| 709b2b5796 | |||
| ec78084f49 | |||
| 5eb64b2dfa | |||
| 977b3581fa | |||
| 00578a70e1 | |||
| ffd7cc90fb | |||
| 8223da0fe6 | |||
| 453e60ed23 | |||
| e29332ead6 | |||
| 139787b26f | |||
| 0bcae707fc | |||
| e0ac58a26a | |||
| 423f609828 | |||
| 94312b6622 | |||
| 66f9b1762a | |||
| c627743b29 | |||
| f482b611a1 | |||
| b450ccdb6c | |||
| d42d837924 | |||
| fc7b00562c | |||
| 0e9f841974 | |||
| 58e6e41948 | |||
| 8f2bcb1a09 | |||
| 2202cd9f85 | |||
| 7fb77aabfa | |||
| 8fee9c1778 | |||
| 17eedc35e2 | |||
| 57b19b6c74 | |||
| 7415eaa1f1 | |||
| 42c8f86533 | |||
| dcd62f7ee6 | |||
| 7f93f81a82 | |||
| 358b8ad2a6 | |||
| e1d7459660 | |||
| e3b8a6d21a | |||
| 9a7c45e7f6 | |||
| 87f2bb0a23 | |||
| 90ed422afd | |||
| aee09ad0a0 | |||
| 9f67ae369c | |||
| c0fbb5aaf5 | |||
| 67d4c96de3 | |||
| 9e5bfd70a8 | |||
| a0cac1a5dd | |||
| c30949b411 | |||
| e6cd8c9519 | |||
| 89e162fced | |||
| 4c68c4cd48 | |||
| 1aa5b46ba5 | |||
| 80def4a36b | |||
| d97467ff67 | |||
| 05464f866b | |||
| 4e0ffd18c2 | |||
| 6fdf39165a | |||
| 5e2091e802 | |||
| c28696e602 | |||
| 0505a0ff76 | |||
| 4ef3011ea9 | |||
| 08895863d9 | |||
| fd1899aa12 | |||
| 3eb4b203f2 | |||
| 969376c88a | |||
| 17381d983f | |||
| 631ca3f8df | |||
| a464135f39 | |||
| ef107fd66d | |||
| d3ceabf5de | |||
| 02ea93e88f | |||
| 824c172984 | |||
| 759ffc3d21 | |||
| 6534919868 | |||
| 02847246b2 | |||
| 2b702f21d3 | |||
| fc16a4c141 | |||
| 1cf65df089 | |||
| 01103cb02a | |||
| 6908eec160 | |||
| cfd4ab909f | |||
| 554892131d | |||
| a15ae18c81 | |||
| 7ed85f3ed3 | |||
| df4acd5d3d | |||
| bb83685ac6 | |||
| 91961433e3 | |||
| 9aa0a94156 | |||
| 970f20af31 | |||
| 62d0347d4b | |||
| 5564baf424 | |||
| 315f769ab2 | |||
| 5f62eb1f2b | |||
| 143f694fe2 | |||
| 230c436dd4 | |||
| b3f34ecf33 | |||
| 3253500d15 | |||
| fce44675c4 | |||
| 0ab7c20f0d | |||
| b36c6c2e26 | |||
| 9b969be1f9 | |||
| 954a7462c0 | |||
| 434c1ee3c4 | |||
| 6bb4d64512 | |||
| 4572e46ced | |||
| c1130446eb | |||
| 9f44a1087b | |||
| 08ad5be78d | |||
| cba7c764da | |||
| c3fd7e4e44 | |||
| 62f769e736 | |||
| d4ca32832e | |||
| c5a1744c09 | |||
| 99d42ba297 | |||
| fca21cac3f | |||
| dfef851516 | |||
| 584f54d443 | |||
| ed79b8c2e9 | |||
| 1f6a7e23ad | |||
| 452a20c05e | |||
| bf19d0482c | |||
| 27b3b50fa9 | |||
| 237955efcc | |||
| cd5ffb21cb | |||
| a79c3b6141 | |||
| e215e6b7ae | |||
| cba83f08a2 | |||
| fa2a87b2e5 | |||
| 9f3a68ed15 | |||
| 94f906fd8a | |||
| 532008e172 | |||
| 55d7e4c474 | |||
| f153b7e463 | |||
| c8dffad56c | |||
| 4de6fa11d5 | |||
| 0182153511 | |||
| 6de0195d0a | |||
| e2edc019cc | |||
| b31a8bc1ef | |||
| bbb2515b0e | |||
| b6cccb7cee | |||
| 5b58356390 | |||
| 17d225ad73 | |||
| e810cc5f70 | |||
| 22453e1a37 | |||
| 8e2dda1bc9 | |||
| 9c8a39b09e | |||
| 0a99ed5f2c | |||
| 071f8f87e7 | |||
| f09855540e | |||
| 0637e9f629 | |||
| b63f63f001 | |||
| 1de8fec2ee | |||
| 970aa55f7f | |||
| a317c785fb | |||
| fc6811341a | |||
| 6e0f8392b9 | |||
| 8010eeece3 | |||
| aeac9f02f9 | |||
| 24734c4fe0 | |||
| 41ab22554c | |||
| bb2387ec38 | |||
| b00f94dc70 | |||
| 07ef722c06 | |||
| 0296957cce | |||
| b4d0054f07 | |||
| 995cbe542e | |||
| 6e775e4768 | |||
| e5b6eab2f6 | |||
| c132adc52c | |||
| 78f0a3e087 | |||
| eb5399518e | |||
| 87a5620623 | |||
| 828c498a12 | |||
| eaf6d33f22 | |||
| 4e1a0731e7 | |||
| 5fe3b38892 | |||
| e051af0376 | |||
| ab2bcbac4e | |||
| 8c48b2f310 | |||
| 9ece7b4d8c | |||
| cadd04693a | |||
| 1c04f9419c | |||
| 03d8fddafd | |||
| e4e0b9764d | |||
| d3ca619526 | |||
| fc197df056 | |||
| 484b90d39a | |||
| 66707dbdf9 | |||
| 66792445b4 | |||
| b316a7a0c6 | |||
| c486a4f60a | |||
| 2646d1b5ad | |||
| 40b074c6d6 | |||
| ceba5f4947 | |||
| 620e0dd8b6 | |||
| a957266279 | |||
| 2d534aed68 | |||
| b86bd39975 | |||
| 5bd581f8cf | |||
| 8e2275cebc | |||
| 7e73da310e | |||
| a75db3488d | |||
| 8511fd7b7b | |||
| 9d98dee7d9 | |||
| c6092b67d0 | |||
| 42fd085388 | |||
| 06685b6e68 | |||
| 62c89c1e3b | |||
| cac5717b41 | |||
| a9ed58fae3 | |||
| 8f13a9cff0 | |||
| 3828a9f987 | |||
| 270a822f41 | |||
| 259615d436 | |||
| 1cacbde6b7 | |||
| f8f6e100d0 | |||
| 2184af9d99 | |||
| 86c4f3979a | |||
| 701f64afc1 | |||
| e6e0843698 | |||
| de6fe1f3e1 | |||
| 3993aa310f | |||
| 7d6afff01c | |||
| 555632b615 | |||
| d5975c96e9 | |||
| e9d46b41a1 | |||
| b04e1ffd27 | |||
| f076db4767 | |||
| 0e9ed21edf | |||
| 74fabe1946 | |||
| 476708923c | |||
| c6a4ffb1a7 | |||
| 85c7494dc7 | |||
| 3d3d8f2ea7 | |||
| dc283dd1c7 | |||
| cb4aa8ea65 | |||
| 7cab57fba1 | |||
| 830b152776 | |||
| c325dedf05 | |||
| 03048895ec | |||
| 0f1441a78c | |||
| c885a5031f | |||
| 4fbea53439 | |||
| c34d522bb7 | |||
| 2a6b16d1de | |||
| bdfa1bd51c | |||
| a75a947f5f | |||
| 0d8e3a48ee | |||
| 7cd8312bf9 | |||
| 1fcf5ac5b3 | |||
| eb83e8d018 | |||
| 7d4e0acfef | |||
| b18af8dcf4 | |||
| 94bcf98c63 | |||
| 23e3a60e4e | |||
| 7b39706716 | |||
| 8e7597815f | |||
| 8f952a4b29 | |||
| 3155764eb5 | |||
| 36ca300b8d | |||
| 740aa49271 | |||
| d171c1682c | |||
| 8923ecc7d8 | |||
| f8d98bbd5e | |||
| d0830b9255 | |||
| e482360eba | |||
| e64ab3c675 | |||
| ce79d218a4 | |||
| c83b08fae8 | |||
| ce3c5f0caa | |||
| 8945b7bf33 | |||
| 24e023d467 | |||
| 79a7766466 | |||
| 9b356733a9 | |||
| 63148c5cc8 | |||
| 8366c32b0a | |||
| 70417a1ac6 | |||
| 93433e5dd7 | |||
| dc902b4e0a | |||
| 26c01e30c3 | |||
| 023a3b90fa | |||
| 7395387ebe | |||
| 3ee5341fbc | |||
| 39cb0942a2 | |||
| 920d06bd27 | |||
| 3835351226 | |||
| b0f0afd7fa | |||
| 8824ff7d6c | |||
| fb86ddc770 | |||
| d63553a73d | |||
| 85c8866407 | |||
| 337c9c840d | |||
| eaead31b11 | |||
| a8525b41b3 | |||
| b7d2bd5c9e | |||
| f4aab20bb4 | |||
| b45584114f | |||
| 37eda67776 | |||
| e06e4d1457 | |||
| ea3486dae3 | |||
| 6499d77e1d | |||
| df67f7a0ea | |||
| 12b8ebe4e4 | |||
| 6306bac20b | |||
| 843dcd49b5 | |||
| 44238650bc | |||
| 6b7137aa25 | |||
| 3d20ad8b5c | |||
| da97614e03 | |||
| c6481451cb | |||
| f59eb83da4 | |||
| 2648d87a65 | |||
| 1a21ab10fa | |||
| 396f47e9ae | |||
| 0b1e940829 | |||
| 7cf45707ea | |||
| f104b4119a | |||
| 4d0378d579 | |||
| a12419b888 | |||
| 26fa0ea1b8 | |||
| 7b90b1fbf4 | |||
| 61f31eafcf | |||
| 9264803bc3 | |||
| d05df9ee21 | |||
| 8dad5403ee | |||
| e39a309365 | |||
| b5b063a836 | |||
| 2dd083554b | |||
| d6e69792ca | |||
| cd75ad0545 | |||
| d6ffe1857b | |||
| b38cf0e9a3 | |||
| 768416983c | |||
| ce1fc02dee | |||
| e841c11b54 | |||
| 6152812bff | |||
| 5cff9c0e46 | |||
| bd8e0d8bfa | |||
| 3d39f7e86c | |||
| 030d82148c | |||
| bf4e47b9f2 | |||
| 85c02e9137 | |||
| 8d86d85b66 | |||
| 5a8751b9eb | |||
| 96f9942aed | |||
| 449e5ae705 | |||
| 51d2d71a04 | |||
| 4e01c077d6 | |||
| 917054c58d | |||
| d1ae17a8e0 | |||
| d616f5bc55 | |||
| 14187b3834 | |||
| 9bd1ea1e5e | |||
| 6f774a8e8e | |||
| 62ab68715d | |||
| 603c44a64d | |||
| a86c329b4c | |||
| d0d1d2e4b9 | |||
| 5d0784bd52 | |||
| 3653f4b7a2 | |||
| 8260421767 | |||
| 688c77d9f5 |
@@ -0,0 +1,25 @@
|
|||||||
|
# To use this config on you editor, follow the instructions at:
|
||||||
|
# https://editorconfig.org
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
tab_width = 8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[{*.{c,cpp,h}}]
|
||||||
|
max_line_length = 80
|
||||||
|
|
||||||
|
[{CMakeLists.txt,*.cmake}]
|
||||||
|
max_line_length = 80
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.html]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_size = 2
|
||||||
@@ -9,7 +9,7 @@ body:
|
|||||||
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).
|
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.
|
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).
|
**IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/main/CONTRIBUTING.md#security-reports).
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: bug-description
|
id: bug-description
|
||||||
@@ -85,9 +85,9 @@ body:
|
|||||||
- type: input
|
- type: input
|
||||||
id: os-version
|
id: os-version
|
||||||
attributes:
|
attributes:
|
||||||
label: What OS are you using?
|
label: What OS/distribution are you using?
|
||||||
description: Name of the operating system and its version.
|
description: Name of the operating system and its version.
|
||||||
placeholder: Debian 12, Ubuntu 23.10, MacOS 14, ...
|
placeholder: Debian 12, Ubuntu 24.04, macOS 14, ...
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ body:
|
|||||||
- please read the [FAQ](https://weechat.org/doc/weechat/faq) and [documentation](https://weechat.org/doc/weechat/)
|
- 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).
|
- please ask on #weechat channel (on server irc.libera.chat).
|
||||||
|
|
||||||
|
**IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/main/CONTRIBUTING.md#security-reports).
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: question
|
id: question
|
||||||
attributes:
|
attributes:
|
||||||
|
|||||||
+232
-90
@@ -7,8 +7,9 @@ on:
|
|||||||
- cron: '22 9 * * 2'
|
- cron: '22 9 * * 2'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WEECHAT_DEPENDENCIES: >-
|
WEECHAT_DEPS_UBUNTU: >-
|
||||||
asciidoctor
|
asciidoctor
|
||||||
|
build-essential
|
||||||
cmake
|
cmake
|
||||||
curl
|
curl
|
||||||
devscripts
|
devscripts
|
||||||
@@ -33,24 +34,75 @@ env:
|
|||||||
libzstd-dev
|
libzstd-dev
|
||||||
ninja-build
|
ninja-build
|
||||||
php-dev
|
php-dev
|
||||||
pkg-config
|
pipx
|
||||||
|
pkgconf
|
||||||
pylint
|
pylint
|
||||||
python3-bandit
|
python3-bandit
|
||||||
python3-dev
|
python3-dev
|
||||||
python3-pip
|
|
||||||
ruby-pygments.rb
|
ruby-pygments.rb
|
||||||
shellcheck
|
shellcheck
|
||||||
tcl8.6-dev
|
tcl8.6-dev
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
|
WEECHAT_DEPS_ROCKYLINUX: >-
|
||||||
|
asciidoctor
|
||||||
|
aspell-devel
|
||||||
|
cjson-devel
|
||||||
|
clang
|
||||||
|
cmake
|
||||||
|
cpputest-devel
|
||||||
|
gcc
|
||||||
|
gettext
|
||||||
|
glibc-langpack-en
|
||||||
|
gnutls-devel
|
||||||
|
guile30-devel
|
||||||
|
libcurl-devel
|
||||||
|
libgcrypt-devel
|
||||||
|
libzstd-devel
|
||||||
|
lua-devel
|
||||||
|
ncurses-devel
|
||||||
|
perl-devel
|
||||||
|
php-devel
|
||||||
|
php-embedded
|
||||||
|
python-devel
|
||||||
|
ruby-devel
|
||||||
|
sudo
|
||||||
|
tcl-devel
|
||||||
|
zlib-devel
|
||||||
|
WEECHAT_DEPS_FREEBSD: >-
|
||||||
|
aspell
|
||||||
|
cmake
|
||||||
|
cpputest
|
||||||
|
curl
|
||||||
|
gcc
|
||||||
|
gettext
|
||||||
|
git
|
||||||
|
gnutls
|
||||||
|
guile3
|
||||||
|
libargon2
|
||||||
|
libcjson
|
||||||
|
libgcrypt
|
||||||
|
libiconv
|
||||||
|
llvm
|
||||||
|
lua54
|
||||||
|
ncurses
|
||||||
|
perl5
|
||||||
|
php83
|
||||||
|
pkgconf
|
||||||
|
python3
|
||||||
|
ruby
|
||||||
|
rubygem-asciidoctor
|
||||||
|
sudo
|
||||||
|
tcl86
|
||||||
|
zstd
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
tests_linux:
|
tests_ubuntu:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-22.04
|
- ubuntu-24.04
|
||||||
config:
|
config:
|
||||||
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
||||||
- { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" }
|
- { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" }
|
||||||
@@ -60,20 +112,20 @@ jobs:
|
|||||||
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
||||||
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
||||||
|
|
||||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
name: "${{ matrix.os }} (${{ matrix.config.name }})"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
|
||||||
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||||
sudo apt-get --yes purge php8.1-imagick
|
sudo apt-get --yes purge php8.3-imagick
|
||||||
sudo -H pip3 install --ignore-installed msgcheck
|
pipx install msgcheck
|
||||||
|
|
||||||
- name: Check gettext files
|
- name: Check gettext files
|
||||||
run: msgcheck po/*.po
|
run: msgcheck po/*.po
|
||||||
@@ -100,9 +152,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
weechat --help
|
weechat --help
|
||||||
weechat-curses --help
|
weechat-curses --help
|
||||||
|
weechat --version
|
||||||
|
weechat --build-info
|
||||||
weechat --colors
|
weechat --colors
|
||||||
weechat --license
|
weechat --license
|
||||||
weechat --version
|
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
- name: Test Relay OpenAPI
|
- name: Test Relay OpenAPI
|
||||||
@@ -110,7 +163,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RELAY_PASSWORD: test
|
RELAY_PASSWORD: test
|
||||||
run: |
|
run: |
|
||||||
sudo -H pip3 install --ignore-installed schemathesis
|
pipx install schemathesis==3.39.16
|
||||||
weechat-headless \
|
weechat-headless \
|
||||||
--dir /tmp/weechat-test-api \
|
--dir /tmp/weechat-test-api \
|
||||||
--run-command '/set relay.network.password "${{ env.RELAY_PASSWORD }}"' \
|
--run-command '/set relay.network.password "${{ env.RELAY_PASSWORD }}"' \
|
||||||
@@ -132,17 +185,178 @@ jobs:
|
|||||||
lcov --list coverage.info
|
lcov --list coverage.info
|
||||||
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
|
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
|
||||||
|
|
||||||
|
build_debian:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-24.04
|
||||||
|
|
||||||
|
name: "${{ matrix.os }} (build Debian)"
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
|
||||||
|
|
||||||
|
- name: Test Debian patches
|
||||||
|
run: ./tools/build_debian.sh test-patches
|
||||||
|
|
||||||
|
- name: Build Debian packages
|
||||||
|
run: ./tools/build_debian.sh devel ubuntu/noble
|
||||||
|
|
||||||
|
- name: Install Debian packages
|
||||||
|
run: sudo dpkg -i ../weechat-devel*.deb
|
||||||
|
|
||||||
|
- name: Run WeeChat
|
||||||
|
env:
|
||||||
|
TERM: xterm-256color
|
||||||
|
run: |
|
||||||
|
weechat --help
|
||||||
|
weechat-curses --help
|
||||||
|
weechat --version
|
||||||
|
weechat --build-info
|
||||||
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
|
codeql-analysis:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-24.04
|
||||||
|
|
||||||
|
name: "${{ matrix.os }} (CodeQL)"
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
|
||||||
|
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||||
|
sudo apt-get --yes purge php8.3-imagick
|
||||||
|
pipx install 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"
|
||||||
|
|
||||||
|
tests_rockylinux:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-24.04
|
||||||
|
config:
|
||||||
|
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
||||||
|
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
||||||
|
|
||||||
|
name: "rockylinux-9 (${{ matrix.config.name }})"
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
container:
|
||||||
|
image: rockylinux:9
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
dnf install -y epel-release
|
||||||
|
dnf config-manager --set-enabled crb
|
||||||
|
dnf install -y ${{ env.WEECHAT_DEPS_ROCKYLINUX }}
|
||||||
|
|
||||||
|
- name: Build and run tests
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.config.cc }}
|
||||||
|
CXX: ${{ matrix.config.cxx }}
|
||||||
|
BUILDARGS: ${{ matrix.config.buildargs }}
|
||||||
|
run: ./tools/build_test.sh
|
||||||
|
|
||||||
|
- name: Run WeeChat
|
||||||
|
env:
|
||||||
|
TERM: xterm-256color
|
||||||
|
run: |
|
||||||
|
weechat --help
|
||||||
|
weechat-curses --help
|
||||||
|
weechat --version
|
||||||
|
weechat --build-info
|
||||||
|
weechat --colors
|
||||||
|
weechat --license
|
||||||
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
|
tests_freebsd:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-24.04
|
||||||
|
config:
|
||||||
|
# - { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
||||||
|
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
||||||
|
|
||||||
|
name: "freebsd-14 (${{ matrix.config.name }})"
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install dependencies, build and run tests, run WeeChat
|
||||||
|
uses: vmactions/freebsd-vm@v1
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.config.cc }}
|
||||||
|
CXX: ${{ matrix.config.cxx }}
|
||||||
|
BUILDARGS: ${{ matrix.config.buildargs }}
|
||||||
|
TERM: xterm-256color
|
||||||
|
with:
|
||||||
|
envs: "CC CXX BUILDARGS TERM"
|
||||||
|
usesh: true
|
||||||
|
prepare: pkg install -y ${{ env.WEECHAT_DEPS_FREEBSD }}
|
||||||
|
run: |
|
||||||
|
./tools/build_test.sh
|
||||||
|
weechat --help
|
||||||
|
weechat-curses --help
|
||||||
|
weechat --version
|
||||||
|
weechat --build-info
|
||||||
|
weechat --colors
|
||||||
|
weechat --license
|
||||||
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
tests_macos:
|
tests_macos:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- macos-12
|
- macos-14
|
||||||
config:
|
config:
|
||||||
- { name: "gcc", cc: "gcc", cxx: "g++" }
|
- { name: "gcc", cc: "gcc", cxx: "g++" }
|
||||||
- { name: "clang", cc: "clang", cxx: "clang++" }
|
- { name: "clang", cc: "clang", cxx: "clang++" }
|
||||||
|
|
||||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
name: "${{ matrix.os }} (${{ matrix.config.name }})"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -167,9 +381,9 @@ jobs:
|
|||||||
/usr/local/bin/python3.11 \
|
/usr/local/bin/python3.11 \
|
||||||
/usr/local/bin/python3.11-config \
|
/usr/local/bin/python3.11-config \
|
||||||
;
|
;
|
||||||
brew install asciidoctor cjson guile lua pkg-config ruby
|
brew install asciidoctor aspell cjson guile lua pkg-config ruby
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
@@ -187,80 +401,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
weechat --help
|
weechat --help
|
||||||
weechat-curses --help
|
weechat-curses --help
|
||||||
|
weechat --version
|
||||||
|
weechat --build-info
|
||||||
weechat --colors
|
weechat --colors
|
||||||
weechat --license
|
weechat --license
|
||||||
weechat --version
|
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
build_debian:
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- ubuntu-22.04
|
|
||||||
|
|
||||||
name: "Build Debian on ${{ matrix.os }}"
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update -qq
|
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
|
||||||
|
|
||||||
- name: Test Debian patches
|
|
||||||
run: ./tools/build_debian.sh test-patches
|
|
||||||
|
|
||||||
- name: Build Debian packages
|
|
||||||
run: ./tools/build_debian.sh devel ubuntu/jammy
|
|
||||||
|
|
||||||
- name: Install Debian packages
|
|
||||||
run: sudo dpkg -i ../weechat-devel*.deb
|
|
||||||
|
|
||||||
- name: Run WeeChat
|
|
||||||
env:
|
|
||||||
TERM: xterm-256color
|
|
||||||
run: |
|
|
||||||
weechat --help
|
|
||||||
weechat-curses --help
|
|
||||||
weechat --version
|
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|||||||
-164
@@ -1,164 +0,0 @@
|
|||||||
= WeeChat Authors
|
|
||||||
:author: Sébastien Helleu
|
|
||||||
:email: flashcode@flashtux.org
|
|
||||||
:lang: en
|
|
||||||
|
|
||||||
|
|
||||||
== Developers
|
|
||||||
|
|
||||||
* General code
|
|
||||||
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
|
|
||||||
* Scripts plugins, debian packager
|
|
||||||
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
|
|
||||||
|
|
||||||
== Contributors
|
|
||||||
|
|
||||||
Alphabetically:
|
|
||||||
|
|
||||||
* Adam Saponara (adsr)
|
|
||||||
* Adrian Bjugård
|
|
||||||
* Ailin Nemui (Nei)
|
|
||||||
* Aleksey V Zapparov
|
|
||||||
* Alex Tarkovsky
|
|
||||||
* Anders Bergh
|
|
||||||
* Andrew Potter (talisein)
|
|
||||||
* Antoine Pietri (seirl)
|
|
||||||
* Arvydas Sidorenko
|
|
||||||
* Asakura
|
|
||||||
* Bazerka
|
|
||||||
* Benoit Papillault (benoit)
|
|
||||||
* Chris Hills
|
|
||||||
* Christian Duerr
|
|
||||||
* Christian Heinz
|
|
||||||
* Christopher O'Neill (deltafire)
|
|
||||||
* coypoop
|
|
||||||
* Danilo Spinella
|
|
||||||
* David Flatz
|
|
||||||
* Dmitry Kobylin
|
|
||||||
* Dominik Honnef
|
|
||||||
* Dominique Martinet
|
|
||||||
* dotflac
|
|
||||||
* Eduardo Elias
|
|
||||||
* Eli Schwartz
|
|
||||||
* Elizabeth Myers (Elizacat)
|
|
||||||
* Elián Hanisch (m4v)
|
|
||||||
* Emanuele Giaquinta
|
|
||||||
* Emir Sarı
|
|
||||||
* emk
|
|
||||||
* Érico Nogueira
|
|
||||||
* Esteban I. Ruiz Moreno (Exio)
|
|
||||||
* Evgeny Shmarnev
|
|
||||||
* Felix Eckhofer
|
|
||||||
* Frank Zacharias
|
|
||||||
* Fredrik Fornwall
|
|
||||||
* Grant Wu
|
|
||||||
* Gu1ll4um3r0m41n
|
|
||||||
* Guido Berhoerster
|
|
||||||
* Gwenn
|
|
||||||
* Hasan Kiran (turgay)
|
|
||||||
* Ivan Pešić
|
|
||||||
* Ivan Sichmann Freitas
|
|
||||||
* Jakub Jirutka
|
|
||||||
* Jan Palus
|
|
||||||
* Jason A. Donenfeld (zx2c4)
|
|
||||||
* JD Horelick (jdhore)
|
|
||||||
* jesopo
|
|
||||||
* Jim Ramsay (lack)
|
|
||||||
* Jiri Golembiovsky (GolemJ)
|
|
||||||
* Joey Pabalinas (alyptik)
|
|
||||||
* Johan Rylander
|
|
||||||
* Johannes Kuhn
|
|
||||||
* Joram Schrijver
|
|
||||||
* Jos Ahrens
|
|
||||||
* Joseph Kichline
|
|
||||||
* Juan Francisco Cantero Hurtado
|
|
||||||
* Julien Louis (ptitlouis)
|
|
||||||
* Karthik K
|
|
||||||
* Koka El Kiwi (KiwiDash)
|
|
||||||
* Krzysztof Koroscik (soltys)
|
|
||||||
* Kyle Fuller (kylef)
|
|
||||||
* Kyle Sabo
|
|
||||||
* Latchezar Tzvetkoff
|
|
||||||
* 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
|
|
||||||
* Matthew Martin
|
|
||||||
* Matti Virkkunen
|
|
||||||
* Max Anton Teufel
|
|
||||||
* Maxim Baz
|
|
||||||
* Michael Siegel
|
|
||||||
* Miroslav Koskar
|
|
||||||
* Murilo Opsfelder Araujo
|
|
||||||
* Neui
|
|
||||||
* Nick (SolitaryCipher)
|
|
||||||
* Nicolas Cavigneaux
|
|
||||||
* Nils Görs (nils_2)
|
|
||||||
* nyuszika7h
|
|
||||||
* Odin
|
|
||||||
* Ondřej Súkup
|
|
||||||
* Patrick Steinhardt
|
|
||||||
* Patrik Janoušek
|
|
||||||
* Paul Komkoff
|
|
||||||
* Pavel Shevchuk (Stalwart)
|
|
||||||
* Peter Boström (pbos)
|
|
||||||
* Phillip Sz
|
|
||||||
* Pierre Carru
|
|
||||||
* Piotr Szymaniak
|
|
||||||
* Pistos
|
|
||||||
* Quentin Glidic (SardemFF7)
|
|
||||||
* Quentin Pradet
|
|
||||||
* Quico Noizeux
|
|
||||||
* rafasc
|
|
||||||
* Raghavendra Prabhu
|
|
||||||
* raspbeguy
|
|
||||||
* Rettub
|
|
||||||
* Rob Campbell
|
|
||||||
* Romero B. de S. Malaquias
|
|
||||||
* Rudolf Polzer (divVerent)
|
|
||||||
* Ruslan Bekenev
|
|
||||||
* Ryan Farley
|
|
||||||
* Ryan Qian
|
|
||||||
* Ryuunosuke Ayanokouzi
|
|
||||||
* scumjr
|
|
||||||
* Sergio Durigan Junior
|
|
||||||
* Shane McCarron
|
|
||||||
* Shawn Smith
|
|
||||||
* Shun Sakai
|
|
||||||
* Simmo Saan (sim642)
|
|
||||||
* Simon Arlott
|
|
||||||
* Simon Kuhnle
|
|
||||||
* Simon Ser
|
|
||||||
* Stefano Pigozzi
|
|
||||||
* Stfn
|
|
||||||
* Sven Knurr (Cthulhux)
|
|
||||||
* Tim D. Smith
|
|
||||||
* Tim Harder
|
|
||||||
* Tobias Stoeckmann
|
|
||||||
* Tom Alsberg
|
|
||||||
* Tom Fitzhenry
|
|
||||||
* Tomoe Mami
|
|
||||||
* Tor Hveem (xt)
|
|
||||||
* Trevor Bergeron
|
|
||||||
* Valentin Lorentz (progval)
|
|
||||||
* Vasco Almeida
|
|
||||||
* Victorhck
|
|
||||||
* Voroskoi
|
|
||||||
* wfrsk
|
|
||||||
* Wojciech Kwolek
|
|
||||||
* W. Trevor King
|
|
||||||
* Yannick Palanque
|
|
||||||
* ZethJack
|
|
||||||
* Ørjan Malde
|
|
||||||
|
|
||||||
== Contact
|
|
||||||
|
|
||||||
See the https://weechat.org/about/support/[support page].
|
|
||||||
+167
@@ -0,0 +1,167 @@
|
|||||||
|
# WeeChat Authors
|
||||||
|
|
||||||
|
## Developers
|
||||||
|
|
||||||
|
- General code
|
||||||
|
- [Sébastien Helleu](https://github.com/flashcode) (FlashCode)
|
||||||
|
- Scripts plugins, debian packager
|
||||||
|
- [Emmanuel Bouthenot](https://github.com/k0lter) (kolter)
|
||||||
|
|
||||||
|
## Contributors
|
||||||
|
|
||||||
|
Alphabetically:
|
||||||
|
|
||||||
|
- Adam Saponara (adsr)
|
||||||
|
- Adrian Bjugård
|
||||||
|
- Ailin Nemui (Nei)
|
||||||
|
- Aleksey V Zapparov
|
||||||
|
- Alex Tarkovsky
|
||||||
|
- Anders Bergh
|
||||||
|
- Andrew Potter (talisein)
|
||||||
|
- Antoine Pietri (seirl)
|
||||||
|
- Arvydas Sidorenko
|
||||||
|
- Asakura
|
||||||
|
- Bazerka
|
||||||
|
- Benoit Papillault (benoit)
|
||||||
|
- Chris Hills
|
||||||
|
- Christian Duerr
|
||||||
|
- Christian Heinz
|
||||||
|
- Christopher O'Neill (deltafire)
|
||||||
|
- coypoop
|
||||||
|
- Daniel Lublin
|
||||||
|
- Danilo Spinella
|
||||||
|
- David Flatz
|
||||||
|
- Dmitry Kobylin
|
||||||
|
- Dominik Honnef
|
||||||
|
- Dominique Martinet
|
||||||
|
- dotflac
|
||||||
|
- Eduardo Elias
|
||||||
|
- Eli Schwartz
|
||||||
|
- Elizabeth Myers (Elizacat)
|
||||||
|
- Elián Hanisch (m4v)
|
||||||
|
- Emanuele Giaquinta
|
||||||
|
- Emil Velikov
|
||||||
|
- Emir Sarı
|
||||||
|
- emk
|
||||||
|
- Érico Nogueira
|
||||||
|
- Esteban I. Ruiz Moreno (Exio)
|
||||||
|
- Evgeny Shmarnev
|
||||||
|
- Felix Eckhofer
|
||||||
|
- Frank Zacharias
|
||||||
|
- Fredrik Fornwall
|
||||||
|
- Grant Wu
|
||||||
|
- Gu1ll4um3r0m41n
|
||||||
|
- Guido Berhoerster
|
||||||
|
- Gwenn
|
||||||
|
- Hasan Kiran (turgay)
|
||||||
|
- Ivan Pešić
|
||||||
|
- Ivan Sichmann Freitas
|
||||||
|
- Jakub Jirutka
|
||||||
|
- James C. Morey
|
||||||
|
- Jan Palus
|
||||||
|
- Jason A. Donenfeld (zx2c4)
|
||||||
|
- JD Horelick (jdhore)
|
||||||
|
- jesopo
|
||||||
|
- Jim Ramsay (lack)
|
||||||
|
- Jiri Golembiovsky (GolemJ)
|
||||||
|
- Joe Hermaszewski
|
||||||
|
- Joey Pabalinas (alyptik)
|
||||||
|
- Johan Rylander
|
||||||
|
- Johannes Kuhn
|
||||||
|
- Joram Schrijver
|
||||||
|
- Jos Ahrens
|
||||||
|
- Joseph Kichline
|
||||||
|
- Josh Soref
|
||||||
|
- Juan Francisco Cantero Hurtado
|
||||||
|
- Julien Louis (ptitlouis)
|
||||||
|
- Karthik K
|
||||||
|
- Koka El Kiwi (KiwiDash)
|
||||||
|
- Krzysztof Koroscik (soltys)
|
||||||
|
- Kyle Fuller (kylef)
|
||||||
|
- Kyle Sabo
|
||||||
|
- Latchezar Tzvetkoff
|
||||||
|
- 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
|
||||||
|
- Matthew Martin
|
||||||
|
- Matti Virkkunen
|
||||||
|
- Max Anton Teufel
|
||||||
|
- Maxim Baz
|
||||||
|
- Michael Siegel
|
||||||
|
- Miko
|
||||||
|
- Miroslav Koskar
|
||||||
|
- Murilo Opsfelder Araujo
|
||||||
|
- Neui
|
||||||
|
- Nick (SolitaryCipher)
|
||||||
|
- Nicolas Cavigneaux
|
||||||
|
- Nils Görs (nils_2)
|
||||||
|
- nyuszika7h
|
||||||
|
- Odin
|
||||||
|
- Ondřej Súkup
|
||||||
|
- Patrick Steinhardt
|
||||||
|
- Patrik Janoušek
|
||||||
|
- Paul Komkoff
|
||||||
|
- Pavel Shevchuk (Stalwart)
|
||||||
|
- Peter Boström (pbos)
|
||||||
|
- Phillip Sz
|
||||||
|
- Pierre Carru
|
||||||
|
- Piotr Szymaniak
|
||||||
|
- Pistos
|
||||||
|
- Quentin Glidic (SardemFF7)
|
||||||
|
- Quentin Pradet
|
||||||
|
- Quico Noizeux
|
||||||
|
- rafasc
|
||||||
|
- Raghavendra Prabhu
|
||||||
|
- raspbeguy
|
||||||
|
- Rettub
|
||||||
|
- Rob Campbell
|
||||||
|
- Romero B. de S. Malaquias
|
||||||
|
- Rudolf Polzer (divVerent)
|
||||||
|
- Ruslan Bekenev
|
||||||
|
- Ryan Farley
|
||||||
|
- Ryan Qian
|
||||||
|
- Ryuunosuke Ayanokouzi
|
||||||
|
- scumjr
|
||||||
|
- Sergio Durigan Junior
|
||||||
|
- Shane McCarron
|
||||||
|
- Shawn Smith
|
||||||
|
- Shun Sakai
|
||||||
|
- Simmo Saan (sim642)
|
||||||
|
- Simon Arlott
|
||||||
|
- Simon Kuhnle
|
||||||
|
- Simon Ser
|
||||||
|
- Stefano Pigozzi
|
||||||
|
- Stfn
|
||||||
|
- Sven Knurr (Cthulhux)
|
||||||
|
- Tim D. Smith
|
||||||
|
- Tim Harder
|
||||||
|
- Tobias Stoeckmann
|
||||||
|
- Tom Alsberg
|
||||||
|
- Tom Fitzhenry
|
||||||
|
- Tomoe Mami
|
||||||
|
- Tor Hveem (xt)
|
||||||
|
- Trevor Bergeron
|
||||||
|
- Valentin Lorentz (progval)
|
||||||
|
- Vasco Almeida
|
||||||
|
- Victorhck
|
||||||
|
- Voroskoi
|
||||||
|
- wfrsk
|
||||||
|
- Wojciech Kwolek
|
||||||
|
- W. Trevor King
|
||||||
|
- Yannick Palanque
|
||||||
|
- Yiheng Cao
|
||||||
|
- ZethJack
|
||||||
|
- Ørjan Malde
|
||||||
|
|
||||||
|
## Contact
|
||||||
|
|
||||||
|
See the [support page](https://weechat.org/about/support/).
|
||||||
+4421
File diff suppressed because it is too large
Load Diff
+50
-24
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.5)
|
cmake_minimum_required(VERSION 3.18)
|
||||||
|
|
||||||
project(weechat C)
|
project(weechat C)
|
||||||
|
|
||||||
@@ -166,6 +166,16 @@ if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
|
|||||||
message(FATAL_ERROR "Headless mode is required for tests.")
|
message(FATAL_ERROR "Headless mode is required for tests.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Set this to override aspell's dictionaries directory
|
||||||
|
if(ASPELL_DICT_DIR)
|
||||||
|
add_definitions(-DASPELL_DICT_DIR="${ASPELL_DICT_DIR}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Set this to override the myspell dictionaries directory when using enchant
|
||||||
|
if(ENCHANT_MYSPELL_DICT_DIR)
|
||||||
|
add_definitions(-DENCHANT_MYSPELL_DICT_DIR="${ENCHANT_MYSPELL_DICT_DIR}")
|
||||||
|
endif()
|
||||||
|
|
||||||
# option WEECHAT_HOME
|
# option WEECHAT_HOME
|
||||||
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
||||||
STRING "Force a single WeeChat home directory for config, logs, scripts, etc."
|
STRING "Force a single WeeChat home directory for config, logs, scripts, etc."
|
||||||
@@ -188,6 +198,7 @@ include(FindPkgConfig)
|
|||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
include(CheckFunctionExists)
|
include(CheckFunctionExists)
|
||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
|
include(CheckLibraryExists)
|
||||||
|
|
||||||
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
||||||
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
||||||
@@ -198,24 +209,42 @@ check_symbol_exists("malloc_trim" "malloc.h" HAVE_MALLOC_TRIM)
|
|||||||
check_function_exists(mallinfo HAVE_MALLINFO)
|
check_function_exists(mallinfo HAVE_MALLINFO)
|
||||||
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
||||||
|
|
||||||
|
check_symbol_exists("htonll" "sys/types.h;netinet/in.h;inttypes.h" HAVE_HTONLL)
|
||||||
|
|
||||||
check_symbol_exists("eat_newline_glitch" "term.h" HAVE_EAT_NEWLINE_GLITCH)
|
check_symbol_exists("eat_newline_glitch" "term.h" HAVE_EAT_NEWLINE_GLITCH)
|
||||||
|
|
||||||
|
# Check if res_init requires libresolv
|
||||||
|
check_function_exists(res_init, LIBC_HAS_RES_INIT)
|
||||||
|
if(NOT LIBC_HAS_RES_INIT)
|
||||||
|
find_library(RESOLV_LIBRARY resolv)
|
||||||
|
if(RESOLV_LIBRARY)
|
||||||
|
check_library_exists("${RESOLV_LIBRARY}" res_init "" LIBRESOLV_HAS_RES_INIT)
|
||||||
|
if(LIBRESOLV_HAS_RES_INIT)
|
||||||
|
list(APPEND EXTRA_LIBS ${RESOLV_LIBRARY})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
# Check for Large File Support
|
# Check for Large File Support
|
||||||
if(ENABLE_LARGEFILE)
|
if(ENABLE_LARGEFILE)
|
||||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
|
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# _XPG4_2 is needed for macros like CMSG_SPACE
|
||||||
|
# __EXTENSIONS__ is needed for constants like NI_MAXHOST and for struct timeval
|
||||||
|
if(CMAKE_HOST_SOLARIS)
|
||||||
|
add_definitions(-D_XPG4_2 -D__EXTENSIONS__)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Check for libgcrypt
|
# Check for libgcrypt
|
||||||
find_package(GCRYPT REQUIRED)
|
pkg_check_modules(LIBGCRYPT REQUIRED libgcrypt)
|
||||||
add_definitions(-DHAVE_GCRYPT)
|
include_directories(${LIBGCRYPT_INCLUDE_DIRS})
|
||||||
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
|
list(APPEND EXTRA_LIBS ${LIBGCRYPT_LDFLAGS})
|
||||||
|
|
||||||
# Check for GnuTLS
|
# Check for GnuTLS
|
||||||
find_package(GnuTLS REQUIRED)
|
pkg_check_modules(GNUTLS REQUIRED gnutls>=3.3.0)
|
||||||
string(REGEX REPLACE "/[^/]*$" "" GNUTLS_LIBRARY_PATH "${GNUTLS_LIBRARY}")
|
include_directories(${GNUTLS_INCLUDE_DIRS})
|
||||||
include_directories(${GNUTLS_INCLUDE_PATH})
|
list(APPEND EXTRA_LIBS ${GNUTLS_LDFLAGS})
|
||||||
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${GNUTLS_LIBRARY_PATH}")
|
|
||||||
list(APPEND EXTRA_LIBS gnutls)
|
|
||||||
|
|
||||||
# Check for zlib
|
# Check for zlib
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
@@ -239,28 +268,25 @@ if(ICONV_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Check for CURL
|
# Check for CURL
|
||||||
find_package(CURL REQUIRED)
|
# NOTE: keep version in sync with tools/check_curl_symbols.py
|
||||||
|
pkg_check_modules(LIBCURL REQUIRED libcurl>=7.47.0)
|
||||||
# weechat_gui_common MUST be the first lib in the list
|
include_directories(${LIBCURL_INCLUDE_DIRS})
|
||||||
set(STATIC_LIBS weechat_gui_common)
|
list(APPEND EXTRA_LIBS ${LIBCURL_LDFLAGS})
|
||||||
|
|
||||||
find_library(DL_LIBRARY
|
find_library(DL_LIBRARY
|
||||||
NAMES dl
|
NAMES dl
|
||||||
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
|
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
|
||||||
)
|
)
|
||||||
list(APPEND STATIC_LIBS weechat_plugins)
|
|
||||||
if(DL_LIBRARY)
|
if(DL_LIBRARY)
|
||||||
string(REGEX REPLACE "/[^/]*$" "" DL_LIBRARY_PATH "${DL_LIBRARY}")
|
list(APPEND EXTRA_LIBS ${DL_LIBRARY})
|
||||||
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${DL_LIBRARY_PATH}")
|
|
||||||
list(APPEND EXTRA_LIBS dl)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(icons)
|
add_subdirectory(icons)
|
||||||
|
|
||||||
if(ENABLE_NLS)
|
if(ENABLE_NLS)
|
||||||
find_package(Gettext REQUIRED)
|
find_package(Gettext REQUIRED)
|
||||||
add_definitions(-DENABLE_NLS)
|
|
||||||
find_package(Intl REQUIRED)
|
find_package(Intl REQUIRED)
|
||||||
|
include_directories(${Intl_INCLUDE_DIRS})
|
||||||
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
||||||
add_subdirectory(po)
|
add_subdirectory(po)
|
||||||
else()
|
else()
|
||||||
@@ -321,11 +347,11 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in" "${CMAKE_CURRENT
|
|||||||
# install some files (only on Cygwin)
|
# install some files (only on Cygwin)
|
||||||
if(CYGWIN)
|
if(CYGWIN)
|
||||||
install(FILES
|
install(FILES
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.md"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG.md"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/Contributing.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/CONTRIBUTING.md"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/README.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/README.md"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/UPGRADING.md"
|
||||||
DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}"
|
DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
+109
@@ -0,0 +1,109 @@
|
|||||||
|
# Contributing to WeeChat
|
||||||
|
|
||||||
|
## Reporting bugs
|
||||||
|
|
||||||
|
First, some basic things:
|
||||||
|
|
||||||
|
- Use only English to communicate with developers.
|
||||||
|
- Search in issues if the same problem or feature request has already been
|
||||||
|
reported (a duplicate is waste of time for you and the developers!).
|
||||||
|
- If you can, please check if the problem has been fixed in development version
|
||||||
|
(if you are using a stable release or old version).
|
||||||
|
- Report only one bug or feature request per issue.
|
||||||
|
|
||||||
|
### Security reports
|
||||||
|
|
||||||
|
Please **DO NOT** file a GitHub issue for security related problems, but send an
|
||||||
|
email to [security@weechat.org](mailto:security@weechat.org) instead.
|
||||||
|
|
||||||
|
### Required info
|
||||||
|
|
||||||
|
When reporting [issues](https://github.com/weechat/weechat/issues) on GitHub,
|
||||||
|
please include:
|
||||||
|
|
||||||
|
- Your **WeeChat version**: the output of `/v` in WeeChat, for example:
|
||||||
|
`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 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.\
|
||||||
|
It's even better if you can reproduce the problem with a new config (and no
|
||||||
|
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
|
||||||
|
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
|
||||||
|
[User's guide](https://weechat.org/doc/weechat/user/#report_crashes) for more info).
|
||||||
|
- The **actual result**.
|
||||||
|
- The **expected result**: the correct result you are expecting.
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Most of times, the WeeChat crash log file (_weechat_crash_YYYYMMDD_xxx.log_)
|
||||||
|
is **NOT USEFUL** to fix the bug, so please report this file **ONLY** if a developer
|
||||||
|
asked you to send it (and be extremely careful, this file can contain personal
|
||||||
|
data like passwords and contents of your chats).
|
||||||
|
|
||||||
|
### Scripts related issues
|
||||||
|
|
||||||
|
If you are using scripts, they can cause problems/crashes. To check if the
|
||||||
|
problem is related to one script, try to unload them one by one (using
|
||||||
|
command `/script unload <name>`).
|
||||||
|
|
||||||
|
Many issues reported are in fact related to bugs in scripts, so please first
|
||||||
|
check that before reporting any issue on WeeChat itself.
|
||||||
|
|
||||||
|
If you think the problem comes from a specific script, please report the issue
|
||||||
|
in the [scripts git repository](https://github.com/weechat/scripts/issues) instead.
|
||||||
|
|
||||||
|
## Translations
|
||||||
|
|
||||||
|
Pull requests on GitHub for fixes or new translations are welcome at any
|
||||||
|
time, for [WeeChat](https://github.com/weechat/weechat) and the website
|
||||||
|
[weechat.org](https://github.com/weechat/weechat.org).
|
||||||
|
|
||||||
|
To start a translation in a new language (not yet supported), please look at
|
||||||
|
[translations](https://weechat.org/doc/weechat/dev/#translations)
|
||||||
|
in Developer's guide.
|
||||||
|
|
||||||
|
## Feature requests
|
||||||
|
|
||||||
|
WeeChat is under active development, so your idea may already have been
|
||||||
|
implemented, or scheduled for a future version (you can check in
|
||||||
|
[roadmap](https://weechat.org/dev/) or
|
||||||
|
[milestones](https://github.com/weechat/weechat/milestones) on GitHub.
|
||||||
|
|
||||||
|
Pull requests on GitHub are welcome for minor new features.
|
||||||
|
|
||||||
|
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
|
||||||
|
[coding rules](https://weechat.org/doc/weechat/dev/#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 [Semantic Versioning](https://semver.org/) 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
|
||||||
|
[specification](https://specs.weechat.org/specs/2023-003-practical-semantic-versioning.html).
|
||||||
-4195
File diff suppressed because it is too large
Load Diff
@@ -1,109 +0,0 @@
|
|||||||
= Contributing to WeeChat
|
|
||||||
:author: Sébastien Helleu
|
|
||||||
:email: flashcode@flashtux.org
|
|
||||||
:lang: en
|
|
||||||
|
|
||||||
|
|
||||||
== Reporting bugs
|
|
||||||
|
|
||||||
First, some basic things:
|
|
||||||
|
|
||||||
* Use only English to communicate with developers.
|
|
||||||
* Search in issues if the same problem or feature request has already been
|
|
||||||
reported (a duplicate is waste of time for you and the developers!).
|
|
||||||
* If you can, please check if the problem has been fixed in development version
|
|
||||||
(if you are using a stable release or old version).
|
|
||||||
* Report only one bug or feature request per issue.
|
|
||||||
|
|
||||||
=== Security reports
|
|
||||||
|
|
||||||
Please *DO NOT* file a GitHub issue for security related problems, but send an
|
|
||||||
email to <security@weechat.org> instead.
|
|
||||||
|
|
||||||
=== Required info
|
|
||||||
|
|
||||||
When reporting https://github.com/weechat/weechat/issues[issues] on GitHub,
|
|
||||||
please include:
|
|
||||||
|
|
||||||
* Your *WeeChat version*: the output of `/v` in WeeChat, for example:
|
|
||||||
_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 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. +
|
|
||||||
It's even better if you can reproduce the problem with a new config (and no
|
|
||||||
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
|
|
||||||
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/weechat/user/#report_crashes[User's guide] for more info).
|
|
||||||
* The *actual result*.
|
|
||||||
* The *expected result*: the correct result you are expecting.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
Most of times, the WeeChat crash log file (_weechat_crash_YYYYMMDD_xxx.log_) is
|
|
||||||
*NOT USEFUL* to fix the bug, so please report this file *ONLY* if a developer
|
|
||||||
asked you to send it (and be extremely careful, this file can contain personal
|
|
||||||
data like passwords and contents of your chats).
|
|
||||||
|
|
||||||
=== Scripts related issues
|
|
||||||
|
|
||||||
If you are using scripts, they can cause problems/crashes. To check if the
|
|
||||||
problem is related to one script, try to unload them one by one (using
|
|
||||||
command `/script unload <name>`).
|
|
||||||
|
|
||||||
Many issues reported are in fact related to bugs in scripts, so please first
|
|
||||||
check that before reporting any issue on WeeChat itself.
|
|
||||||
|
|
||||||
If you think the problem comes from a specific script, please report the issue
|
|
||||||
in the https://github.com/weechat/scripts/issues[scripts git repository]
|
|
||||||
instead.
|
|
||||||
|
|
||||||
== Translations
|
|
||||||
|
|
||||||
Pull requests on GitHub for fixes or new translations are welcome at any
|
|
||||||
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/weechat/dev/#translations[translations]
|
|
||||||
in Developer's guide.
|
|
||||||
|
|
||||||
== Feature requests
|
|
||||||
|
|
||||||
WeeChat is under active development, so your idea may already have been
|
|
||||||
implemented, or scheduled for a future version (you can check in
|
|
||||||
https://weechat.org/dev/[roadmap] or
|
|
||||||
https://github.com/weechat/weechat/milestones[milestones] on GitHub.
|
|
||||||
|
|
||||||
Pull requests on GitHub are welcome for minor new features.
|
|
||||||
|
|
||||||
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/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].
|
|
||||||
-67
@@ -1,67 +0,0 @@
|
|||||||
:author: Sébastien Helleu
|
|
||||||
:email: flashcode@flashtux.org
|
|
||||||
:lang: en
|
|
||||||
|
|
||||||
|
|
||||||
pass:[<p align="center">] image:https://weechat.org/media/images/weechat_logo_large.png[align="center"] pass:[</p>]
|
|
||||||
|
|
||||||
image:https://img.shields.io/badge/mastodon-follow-blue.svg["Mastodon", link="https://hostux.social/@weechat"]
|
|
||||||
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/"]
|
|
||||||
|
|
||||||
image:https://github.com/weechat/weechat/workflows/CI/badge.svg["CI", link="https://github.com/weechat/weechat/actions"]
|
|
||||||
image:https://codecov.io/gh/weechat/weechat/branch/master/graph/badge.svg["Code coverage", link="https://codecov.io/gh/weechat/weechat"]
|
|
||||||
|
|
||||||
*WeeChat* (Wee Enhanced Environment for Chat) is a free chat client, fast and
|
|
||||||
light, designed for many operating systems.
|
|
||||||
It is highly customizable and extensible with scripts.
|
|
||||||
|
|
||||||
Homepage: https://weechat.org/
|
|
||||||
|
|
||||||
== Features
|
|
||||||
|
|
||||||
* *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://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/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].
|
|
||||||
|
|
||||||
pass:[<p align="center">] image:https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"] pass:[</p>]
|
|
||||||
|
|
||||||
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
|
|
||||||
|
|
||||||
== Installation
|
|
||||||
|
|
||||||
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/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-2024 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/>.
|
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
# WeeChat
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img src="https://weechat.org/media/images/weechat_logo_large.png" alt="WeeChat" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
[](https://hostux.social/@weechat)
|
||||||
|
[](https://diasp.eu/u/weechat)
|
||||||
|
[](https://x.com/WeeChatClient)
|
||||||
|
[](https://blog.weechat.org/)
|
||||||
|
[](https://www.slant.co/topics/1323/~best-irc-clients-for-linux)
|
||||||
|
[](https://weechat.org/donate/)
|
||||||
|
|
||||||
|
[](https://github.com/weechat/weechat/actions)
|
||||||
|
[](https://codecov.io/gh/weechat/weechat)
|
||||||
|
|
||||||
|
**WeeChat** (Wee Enhanced Environment for Chat) is a free chat client, fast and light, designed for many operating systems.\
|
||||||
|
It is highly customizable and extensible with scripts.
|
||||||
|
|
||||||
|
Homepage: [https://weechat.org/](https://weechat.org/)
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **Modular chat client**: WeeChat has a lightweight core and optional [plugins](https://weechat.org/doc/weechat/user/#plugins). All plugins (including [IRC](https://weechat.org/doc/weechat/user/#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 [1459](https://datatracker.ietf.org/doc/html/rfc1459), [2810](https://datatracker.ietf.org/doc/html/rfc2810), [2811](https://datatracker.ietf.org/doc/html/rfc2811), [2812](https://datatracker.ietf.org/doc/html/rfc2812), [2813](https://datatracker.ietf.org/doc/html/rfc2813) and [7194](https://datatracker.ietf.org/doc/html/rfc7194).
|
||||||
|
- **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 [scripts](https://weechat.org/scripts/) ([Perl](https://weechat.org/scripts/language/perl/), [Python](https://weechat.org/scripts/language/python/), [Ruby](https://weechat.org/scripts/language/ruby), [Lua](https://weechat.org/scripts/language/lua/), [Tcl](https://weechat.org/scripts/language/tcl/), [Scheme](https://weechat.org/scripts/language/guile/), [JavaScript](https://weechat.org/scripts/language/javascript/) and [PHP](https://weechat.org/scripts/language/php/)).
|
||||||
|
- **Fully documented**: there is comprehensive [documentation](https://weechat.org/doc/weechat/), which is [translated](https://weechat.org/doc/weechat/dev/#translations) 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 [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html).
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img src="https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png" alt="WeeChat" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
On WeeChat's website you can find [more screenshots](https://weechat.org/about/screenshots/).
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
WeeChat can be installed using your favorite package manager (recommended) or by compiling it yourself.\
|
||||||
|
For detailed instructions, please check the [WeeChat user's guide](https://weechat.org/doc/weechat/user/#install).
|
||||||
|
|
||||||
|
## Semantic versioning
|
||||||
|
|
||||||
|
WeeChat is following a "practical" semantic versioning, see file [CONTRIBUTING.md](CONTRIBUTING.md#semantic-versioning).
|
||||||
|
|
||||||
|
## Copyright
|
||||||
|
|
||||||
|
Copyright © 2003-2025 [Sébastien Helleu](https://github.com/flashcode)
|
||||||
|
|
||||||
|
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/>.
|
||||||
+1040
-1508
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2014-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2014-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,53 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2003-2024 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()
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,75 +0,0 @@
|
|||||||
#
|
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
# 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 GnuTLS
|
|
||||||
# This module finds if libgnutls is installed and determines where
|
|
||||||
# the include files and libraries are.
|
|
||||||
#
|
|
||||||
# This code sets the following variables:
|
|
||||||
#
|
|
||||||
# GNUTLS_INCLUDE_PATH = path to where <gnutls/gnutls.h> can be found
|
|
||||||
# GNUTLS_LIBRARY = path to where libgnutls.so* can be found
|
|
||||||
# GNUTLS_CFLAGS = cflags to use to compile
|
|
||||||
# GNUTLS_LDFLAGS = ldflags to use to compile
|
|
||||||
|
|
||||||
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
|
||||||
# Already in cache, be silent
|
|
||||||
set(GNUTLS_FIND_QUIETLY TRUE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
|
|
||||||
|
|
||||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
|
|
||||||
OUTPUT_VARIABLE GNUTLS_PREFIX
|
|
||||||
)
|
|
||||||
|
|
||||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
|
|
||||||
OUTPUT_VARIABLE GNUTLS_CFLAGS
|
|
||||||
)
|
|
||||||
string(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_CFLAGS}")
|
|
||||||
|
|
||||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
|
|
||||||
OUTPUT_VARIABLE GNUTLS_LDFLAGS
|
|
||||||
)
|
|
||||||
string(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
|
|
||||||
|
|
||||||
set(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
|
|
||||||
set(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
|
|
||||||
|
|
||||||
find_path(GNUTLS_INCLUDE_PATH
|
|
||||||
NAMES gnutls/gnutls.h
|
|
||||||
PATHS GNUTLS_POSSIBLE_INCLUDE_PATH
|
|
||||||
)
|
|
||||||
|
|
||||||
find_library(GNUTLS_LIBRARY
|
|
||||||
NAMES gnutls
|
|
||||||
PATHS GNUTLS_POSSIBLE_LIB_DIR
|
|
||||||
)
|
|
||||||
|
|
||||||
if(NOT GNUTLS_INCLUDE_PATH OR NOT GNUTLS_LIBRARY)
|
|
||||||
message(FATAL_ERROR "GnuTLS was not found")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
mark_as_advanced(
|
|
||||||
GNUTLS_INCLUDE_PATH
|
|
||||||
GNUTLS_LIBRARY
|
|
||||||
GNUTLS_CFLAGS
|
|
||||||
GNUTLS_LDFLAGS
|
|
||||||
)
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2011-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -35,5 +35,5 @@ endif()
|
|||||||
|
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
if(PKG_CONFIG_FOUND)
|
if(PKG_CONFIG_FOUND)
|
||||||
pkg_search_module(LUA lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
|
pkg_search_module(LUA lua lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+4
-2
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
||||||
# Copyright (C) 2017-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2017-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -29,6 +29,8 @@ endif()
|
|||||||
|
|
||||||
if(NOT PHP_FOUND)
|
if(NOT PHP_FOUND)
|
||||||
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
||||||
|
php-config8.4 php-config84
|
||||||
|
php-config8.3 php-config83
|
||||||
php-config8.2 php-config82
|
php-config8.2 php-config82
|
||||||
php-config8.1 php-config81
|
php-config8.1 php-config81
|
||||||
php-config8.0 php-config80
|
php-config8.0 php-config80
|
||||||
@@ -48,7 +50,7 @@ if(NOT PHP_FOUND)
|
|||||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
if(${PHP_VERSION} MATCHES "^[78]")
|
if(${PHP_VERSION} MATCHES "^[78]")
|
||||||
find_library(PHP_LIB
|
find_library(PHP_LIB
|
||||||
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
|
NAMES php8.4 php84 php8.3 php83 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
|
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
|
||||||
)
|
)
|
||||||
if(PHP_LIB)
|
if(PHP_LIB)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
#
|
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
# 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 Python
|
|
||||||
# This module finds if Python is installed and determines where the include files
|
|
||||||
# and libraries are. It also determines what the name of the library is. This
|
|
||||||
# code sets the following variables:
|
|
||||||
#
|
|
||||||
# PYTHON_EXECUTABLE = full path to the python binary
|
|
||||||
# PYTHON_INCLUDE_DIRS = path to where python.h can be found
|
|
||||||
# PYTHON_LIBRARIES = path to where libpython.so* can be found
|
|
||||||
# PYTHON_LDFLAGS = python compiler options for linking
|
|
||||||
|
|
||||||
pkg_check_modules(PYTHON python3-embed IMPORTED_TARGET GLOBAL)
|
|
||||||
if(NOT PYTHON_FOUND)
|
|
||||||
pkg_check_modules(PYTHON python3 IMPORTED_TARGET GLOBAL)
|
|
||||||
endif()
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2003-2024 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 Ruby
|
|
||||||
# This module finds if Ruby is installed and determines where the include files
|
|
||||||
# and libraries are. It also determines what the name of the library is. This
|
|
||||||
# code sets the following variables:
|
|
||||||
#
|
|
||||||
# RUBY_INCLUDE_DIRS = C flags to compile with ruby
|
|
||||||
# RUBY_LIBRARY_DIRS = linker flags to compile with ruby (found with pkg-config)
|
|
||||||
# RUBY_LIB = ruby library (found without pkg-config)
|
|
||||||
|
|
||||||
if(RUBY_FOUND)
|
|
||||||
# Already in cache, be silent
|
|
||||||
set(RUBY_FIND_QUIETLY TRUE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
find_package(PkgConfig)
|
|
||||||
if(PKG_CONFIG_FOUND)
|
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
||||||
# set specific search path for macOS
|
|
||||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig")
|
|
||||||
endif()
|
|
||||||
pkg_search_module(RUBY ruby-3.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")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2015-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2015-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,3 +1,39 @@
|
|||||||
|
#cmakedefine01 ENABLE_NCURSES
|
||||||
|
#cmakedefine01 ENABLE_HEADLESS
|
||||||
|
#cmakedefine01 ENABLE_NLS
|
||||||
|
#cmakedefine01 ENABLE_LARGEFILE
|
||||||
|
#cmakedefine01 ENABLE_ZSTD
|
||||||
|
#cmakedefine01 ENABLE_CJSON
|
||||||
|
#cmakedefine01 ENABLE_ALIAS
|
||||||
|
#cmakedefine01 ENABLE_BUFLIST
|
||||||
|
#cmakedefine01 ENABLE_CHARSET
|
||||||
|
#cmakedefine01 ENABLE_EXEC
|
||||||
|
#cmakedefine01 ENABLE_FIFO
|
||||||
|
#cmakedefine01 ENABLE_FSET
|
||||||
|
#cmakedefine01 ENABLE_IRC
|
||||||
|
#cmakedefine01 ENABLE_LOGGER
|
||||||
|
#cmakedefine01 ENABLE_RELAY
|
||||||
|
#cmakedefine01 ENABLE_SCRIPT
|
||||||
|
#cmakedefine01 ENABLE_SCRIPTS
|
||||||
|
#cmakedefine01 ENABLE_PERL
|
||||||
|
#cmakedefine01 ENABLE_PYTHON
|
||||||
|
#cmakedefine01 ENABLE_RUBY
|
||||||
|
#cmakedefine01 ENABLE_LUA
|
||||||
|
#cmakedefine01 ENABLE_TCL
|
||||||
|
#cmakedefine01 ENABLE_GUILE
|
||||||
|
#cmakedefine01 ENABLE_JAVASCRIPT
|
||||||
|
#cmakedefine01 ENABLE_PHP
|
||||||
|
#cmakedefine01 ENABLE_SPELL
|
||||||
|
#cmakedefine01 ENABLE_ENCHANT
|
||||||
|
#cmakedefine01 ENABLE_TRIGGER
|
||||||
|
#cmakedefine01 ENABLE_TYPING
|
||||||
|
#cmakedefine01 ENABLE_XFER
|
||||||
|
#cmakedefine01 ENABLE_MAN
|
||||||
|
#cmakedefine01 ENABLE_DOC
|
||||||
|
#cmakedefine01 ENABLE_DOC_INCOMPLETE
|
||||||
|
#cmakedefine01 ENABLE_TESTS
|
||||||
|
#cmakedefine01 ENABLE_CODE_COVERAGE
|
||||||
|
|
||||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||||
#cmakedefine HAVE_FLOCK
|
#cmakedefine HAVE_FLOCK
|
||||||
#cmakedefine HAVE_LANGINFO_CODESET
|
#cmakedefine HAVE_LANGINFO_CODESET
|
||||||
@@ -7,10 +43,15 @@
|
|||||||
#cmakedefine HAVE_MALLINFO2
|
#cmakedefine HAVE_MALLINFO2
|
||||||
#cmakedefine HAVE_MALLOC_H
|
#cmakedefine HAVE_MALLOC_H
|
||||||
#cmakedefine HAVE_MALLOC_TRIM
|
#cmakedefine HAVE_MALLOC_TRIM
|
||||||
|
#cmakedefine HAVE_HTONLL
|
||||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||||
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
||||||
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
||||||
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
|
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
|
||||||
|
|
||||||
|
#define CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
|
||||||
|
#define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
|
||||||
|
|
||||||
#define PACKAGE_VERSION "@VERSION@"
|
#define PACKAGE_VERSION "@VERSION@"
|
||||||
#define PACKAGE "@PROJECT_NAME@"
|
#define PACKAGE "@PROJECT_NAME@"
|
||||||
#define PACKAGE_NAME "@PROJECT_NAME@"
|
#define PACKAGE_NAME "@PROJECT_NAME@"
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ Build-Depends:
|
|||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
ruby-pygments.rb,
|
ruby-pygments.rb,
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake, pkg-config,
|
cmake,
|
||||||
|
pkgconf,
|
||||||
libncurses-dev,
|
libncurses-dev,
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
@@ -23,7 +24,7 @@ Build-Depends:
|
|||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev,
|
||||||
libcjson-dev
|
libcjson-dev
|
||||||
Standards-Version: 4.6.2
|
Standards-Version: 4.7.2
|
||||||
Homepage: https://weechat.org/
|
Homepage: https://weechat.org/
|
||||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||||
|
|||||||
@@ -16,8 +16,5 @@ override_dh_auto_configure:
|
|||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
override_dh_installchangelogs:
|
|
||||||
dh_installchangelogs ChangeLog.adoc
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --builddirectory=$(BUILDDIR)
|
dh $@ --builddirectory=$(BUILDDIR)
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-dev-sr
|
||||||
|
Title: WeeChat developer's guide (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat internals and
|
||||||
|
how to contribute to WeeChat (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_dev.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_dev.sr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-faq-sr
|
||||||
|
Title: WeeChat FAQ (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document answers frequently asked questions
|
||||||
|
about the WeeChat IRC client (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.sr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-plugin-sr
|
||||||
|
Title: WeeChat plugin API reference (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes the API to create plugins
|
||||||
|
for WeeChat (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.sr.html
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
Document: weechat-quickstart-cs
|
||||||
|
Title: WeeChat quick start guide (Czech)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: A short HowTo for new WeeChat users (Czech version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.cs.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.cs.html
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
Document: weechat-quickstart-sr
|
||||||
|
Title: WeeChat quick start guide (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: A short HowTo for new WeeChat users (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.sr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-api-en
|
||||||
|
Title: WeeChat Relay "api" protocol (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
||||||
|
remote GUI or WeeChat to communicate with Relay plugin (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-api-fr
|
||||||
|
Title: WeeChat Relay "api" protocol (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
||||||
|
remote GUI or WeeChat to communicate with Relay plugin (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-protocol-en
|
|
||||||
Title: WeeChat Relay protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.en.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-protocol-fr
|
|
||||||
Title: WeeChat Relay protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.fr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-protocol-ja
|
|
||||||
Title: WeeChat Relay protocol (Japanese)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.ja.html
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-weechat-en
|
||||||
|
Title: WeeChat Relay "weechat" protocol (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.en.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-weechat-fr
|
||||||
|
Title: WeeChat Relay "weechat" protocol (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.fr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-weechat-ja
|
||||||
|
Title: WeeChat Relay "weechat" protocol (Japanese)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (Japanese version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.ja.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.ja.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-weechat-sr
|
||||||
|
Title: WeeChat Relay "weechat" protocol (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.sr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-scripting-sr
|
||||||
|
Title: WeeChat scripting guide (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes the API to create scripts
|
||||||
|
for WeeChat (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.sr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-user-sr
|
||||||
|
Title: WeeChat user's guide (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes how to use the WeeChat
|
||||||
|
IRC client (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_user.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_user.sr.html
|
||||||
+51
-4
@@ -1,3 +1,50 @@
|
|||||||
|
weechat (4.6.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release (Closes: #1102450, #1098090)
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 16 Apr 2025 20:31:07 +0000
|
||||||
|
|
||||||
|
weechat (4.5.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release
|
||||||
|
* Update copyright file (new year)
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 20 Jan 2025 14:39:42 +0000
|
||||||
|
|
||||||
|
weechat (4.4.3-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release
|
||||||
|
* Remove (fixed upstream) the fix for a possible privacy breach with html
|
||||||
|
documentation which includes stylesheets and fonts (font-awesome) hosted
|
||||||
|
on remote CDN (Cloudflare).
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 06 Nov 2024 21:27:08 +0000
|
||||||
|
|
||||||
|
weechat (4.4.2-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release
|
||||||
|
- fix crash where exiting (Closes: #1076532)
|
||||||
|
- fix a minor security issue (Closes: #1081942)
|
||||||
|
* Bump Standards-Version to 4.7.0
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 22 Sep 2024 13:08:28 +0000
|
||||||
|
|
||||||
|
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
|
weechat (4.0.5-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
@@ -512,7 +559,7 @@ weechat (0.3.6-1) unstable; urgency=low
|
|||||||
documentation when weechat-doc is installed (Closes: #632621)
|
documentation when weechat-doc is installed (Closes: #632621)
|
||||||
* Add a Suggest on weechat-doc for weechat and weechat-curses. Thanks to
|
* Add a Suggest on weechat-doc for weechat and weechat-curses. Thanks to
|
||||||
Jonathan Nieder for the proposal.
|
Jonathan Nieder for the proposal.
|
||||||
* Fix the cmake invokation from debian/rules (cflags and ldflags)
|
* Fix the cmake invocation from debian/rules (cflags and ldflags)
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 26 Oct 2011 20:10:09 +0000
|
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 26 Oct 2011 20:10:09 +0000
|
||||||
|
|
||||||
@@ -734,7 +781,7 @@ weechat (0.2.3-1) unstable; urgency=low
|
|||||||
* New upstream release
|
* New upstream release
|
||||||
* Bump lua build-dependency to liblua5.1-0-dev
|
* Bump lua build-dependency to liblua5.1-0-dev
|
||||||
* Add pkg-config to Build-Depends
|
* Add pkg-config to Build-Depends
|
||||||
* Remove some duplited changelog entries.
|
* Remove some duplicated changelog entries.
|
||||||
* Improve weechat-plugins description
|
* Improve weechat-plugins description
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 12 Jan 2007 09:01:46 +0100
|
-- Julien Louis <ptitlouis@sysif.net> Fri, 12 Jan 2007 09:01:46 +0100
|
||||||
@@ -742,7 +789,7 @@ weechat (0.2.3-1) unstable; urgency=low
|
|||||||
weechat (0.2.1-1) unstable; urgency=low
|
weechat (0.2.1-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
* Overrive lintian menu-icon-missing warning
|
* Override lintian menu-icon-missing warning
|
||||||
since the icon is in the weechat-common package.
|
since the icon is in the weechat-common package.
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Mon, 2 Oct 2006 15:30:06 +0200
|
-- Julien Louis <ptitlouis@sysif.net> Mon, 2 Oct 2006 15:30:06 +0200
|
||||||
@@ -887,7 +934,7 @@ weechat (0.1.1-2) unstable; urgency=low
|
|||||||
|
|
||||||
* debian/control:
|
* debian/control:
|
||||||
- Add myself to uploaders.
|
- Add myself to uploaders.
|
||||||
- Remove unecessary dependency on weechat-gtk (Closes: #308287).
|
- Remove unnecessary dependency on weechat-gtk (Closes: #308287).
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
|
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ Build-Depends:
|
|||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
ruby-pygments.rb,
|
ruby-pygments.rb,
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake, pkg-config,
|
cmake,
|
||||||
|
pkgconf,
|
||||||
libncurses-dev,
|
libncurses-dev,
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
@@ -23,7 +24,7 @@ Build-Depends:
|
|||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev,
|
||||||
libcjson-dev
|
libcjson-dev
|
||||||
Standards-Version: 4.6.2
|
Standards-Version: 4.7.2
|
||||||
Homepage: https://weechat.org/
|
Homepage: https://weechat.org/
|
||||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
|||||||
Source: https://weechat.org/
|
Source: https://weechat.org/
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2003-2024, Sébastien Helleu <flashcode@flashtux.org>
|
Copyright: 2003-2025, Sébastien Helleu <flashcode@flashtux.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-command.c
|
Files: src/core/core-command.c
|
||||||
|
|||||||
@@ -16,8 +16,5 @@ override_dh_auto_configure:
|
|||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
override_dh_installchangelogs:
|
|
||||||
dh_installchangelogs ChangeLog.adoc
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --builddirectory=$(BUILDDIR)
|
dh $@ --builddirectory=$(BUILDDIR)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
AUTHORS.adoc
|
AUTHORS.md
|
||||||
Contributing.adoc
|
CHANGELOG.md
|
||||||
README.adoc
|
CONTRIBUTING.md
|
||||||
ReleaseNotes.adoc
|
README.md
|
||||||
|
UPGRADING.md
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
|
|||||||
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
|
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
|
||||||
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
|
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
|
||||||
usr/share/man/ru/man1/weechat.1.gz usr/share/man/ru/man1/weechat-curses.1.gz
|
usr/share/man/ru/man1/weechat.1.gz usr/share/man/ru/man1/weechat-curses.1.gz
|
||||||
|
usr/share/man/sr/man1/weechat.1.gz usr/share/man/sr/man1/weechat-curses.1.gz
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-api-en
|
||||||
|
Title: WeeChat Relay "api" protocol (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
||||||
|
remote GUI or WeeChat to communicate with Relay plugin (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-api-fr
|
||||||
|
Title: WeeChat Relay "api" protocol (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
||||||
|
remote GUI or WeeChat to communicate with Relay plugin (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-dev-sr
|
||||||
|
Title: WeeChat developer's guide (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat internals and
|
||||||
|
how to contribute to WeeChat (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_dev.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_dev.sr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-faq-sr
|
||||||
|
Title: WeeChat FAQ (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document answers frequently asked questions
|
||||||
|
about the WeeChat IRC client (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_faq.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_faq.sr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-plugin-sr
|
||||||
|
Title: WeeChat plugin API reference (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes the API to create plugins
|
||||||
|
for WeeChat (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.sr.html
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
Document: weechat-quickstart-cs
|
||||||
|
Title: WeeChat quick start guide (Czech)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: A short HowTo for new WeeChat users (Czech version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.cs.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.cs.html
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
Document: weechat-quickstart-sr
|
||||||
|
Title: WeeChat quick start guide (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: A short HowTo for new WeeChat users (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.sr.html
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-protocol-en
|
|
||||||
Title: WeeChat Relay protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-protocol-fr
|
|
||||||
Title: WeeChat Relay protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-protocol-ja
|
|
||||||
Title: WeeChat Relay protocol (Japanese)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-weechat-en
|
||||||
|
Title: WeeChat Relay "weechat" protocol (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-weechat-fr
|
||||||
|
Title: WeeChat Relay "weechat" protocol (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.fr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-weechat-ja
|
||||||
|
Title: WeeChat Relay "weechat" protocol (Japanese)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (Japanese version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.ja.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.ja.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-weechat-sr
|
||||||
|
Title: WeeChat Relay "weechat" protocol (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.sr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-scripting-sr
|
||||||
|
Title: WeeChat scripting guide (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes the API to create scripts
|
||||||
|
for WeeChat (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.sr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-user-sr
|
||||||
|
Title: WeeChat user's guide (Serbian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes how to use the WeeChat
|
||||||
|
IRC client (Serbian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_user.sr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_user.sr.html
|
||||||
+46
-61
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -28,7 +28,8 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
set(SCRIPTING_LANG de en fr it ja pl sr)
|
set(SCRIPTING_LANG de en fr it ja pl sr)
|
||||||
set(FAQ_LANG de en es 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(QUICKSTART_LANG cs de en es fr it ja pl ru sr)
|
||||||
set(RELAY_LANG en fr ja sr)
|
set(RELAY_API_LANG en fr)
|
||||||
|
set(RELAY_WEECHAT_LANG en fr ja sr)
|
||||||
set(DEV_LANG en fr ja sr)
|
set(DEV_LANG en fr ja sr)
|
||||||
|
|
||||||
find_package(Asciidoctor)
|
find_package(Asciidoctor)
|
||||||
@@ -39,7 +40,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
-a reproducible
|
-a reproducible
|
||||||
-a "prewrap!"
|
-a "prewrap!"
|
||||||
-a "webfonts!"
|
-a "webfonts!"
|
||||||
-a icons=font
|
|
||||||
-a revnumber="${VERSION}"
|
-a revnumber="${VERSION}"
|
||||||
-a sectanchors
|
-a sectanchors
|
||||||
-a source-highlighter=pygments
|
-a source-highlighter=pygments
|
||||||
@@ -93,8 +93,17 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
-a docinfo1
|
-a docinfo1
|
||||||
)
|
)
|
||||||
|
|
||||||
# asciidoctor arguments for relay protocol
|
# asciidoctor arguments for relay "api"
|
||||||
set(ASCIIDOCTOR_RELAY_ARGS
|
set(ASCIIDOCTOR_RELAY_API_ARGS
|
||||||
|
-a toc=left
|
||||||
|
-a toclevels=3
|
||||||
|
-a sectnums
|
||||||
|
-a sectnumlevels=2
|
||||||
|
-a docinfo1
|
||||||
|
)
|
||||||
|
|
||||||
|
# asciidoctor arguments for relay "weechat"
|
||||||
|
set(ASCIIDOCTOR_RELAY_WEECHAT_ARGS
|
||||||
-a toc=left
|
-a toc=left
|
||||||
-a toclevels=3
|
-a toclevels=3
|
||||||
-a sectnums
|
-a sectnums
|
||||||
@@ -111,54 +120,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
-a docinfo1
|
-a docinfo1
|
||||||
)
|
)
|
||||||
|
|
||||||
# sed arguments used to replace links in ChangeLog and release notes
|
|
||||||
set(SED_LINKS_ARGS
|
|
||||||
-e "'s/issue #\\([0-9][0-9]*\\)/https:\\/\\/github.com\\/weechat\\/weechat\\/issues\\/\\1[issue #\\1^]/g'"
|
|
||||||
-e "'s/bug #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/bugs\\/?\\1[bug #\\1^]/g'"
|
|
||||||
-e "'s/task #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/task\\/?\\1[task #\\1^]/g'"
|
|
||||||
-e "'s/patch #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/patch\\/?\\1[patch #\\1^]/g'"
|
|
||||||
-e "'s/debian #\\([0-9][0-9]*\\)/http:\\/\\/bugs.debian.org\\/cgi-bin\\/bugreport.cgi?bug=\\1[debian bug #\\1^]/g'"
|
|
||||||
-e "'s/\\(CVE-[0-9][0-9]*-[0-9][0-9]*\\)/https:\\/\\/cve.mitre.org\\/cgi-bin\\/cvename.cgi?name=\\1[\\1^]/g'"
|
|
||||||
)
|
|
||||||
|
|
||||||
# ChangeLog
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc"
|
|
||||||
COMMAND sed ARGS ${SED_LINKS_ARGS} "${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc" > "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
)
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -o ChangeLog.html "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building ChangeLog.html"
|
|
||||||
)
|
|
||||||
add_custom_target(changelog DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html")
|
|
||||||
|
|
||||||
# Release notes
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc"
|
|
||||||
COMMAND sed ARGS ${SED_LINKS_ARGS} "${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc" > "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
)
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -o ReleaseNotes.html "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building ReleaseNotes.html"
|
|
||||||
)
|
|
||||||
add_custom_target(rn DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html")
|
|
||||||
|
|
||||||
if(ENABLE_DOC)
|
if(ENABLE_DOC)
|
||||||
set(AUTOGEN_FILES "")
|
set(AUTOGEN_FILES "")
|
||||||
foreach(lang ${AUTOGEN_LANG})
|
foreach(lang ${AUTOGEN_LANG})
|
||||||
@@ -243,6 +204,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
||||||
doc-autogen
|
doc-autogen
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
||||||
@@ -263,6 +225,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
doc-autogen
|
doc-autogen
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
|
"${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_config_priority.${lang}.adoc"
|
||||||
@@ -286,6 +249,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
doc-autogen
|
doc-autogen
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
||||||
@@ -303,6 +267,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_faq.${lang}.html"
|
COMMENT "Building weechat_faq.${lang}.html"
|
||||||
)
|
)
|
||||||
@@ -317,25 +282,44 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_quickstart.${lang}.html"
|
COMMENT "Building weechat_quickstart.${lang}.html"
|
||||||
)
|
)
|
||||||
add_custom_target(doc-quickstart-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/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}")
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||||
endforeach()
|
endforeach()
|
||||||
# relay protocol
|
# relay "api"
|
||||||
foreach(lang ${RELAY_LANG})
|
foreach(lang ${RELAY_API_LANG})
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.${lang}.html"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${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"
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_RELAY_API_ARGS} -o "weechat_relay_api.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_protocol.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_relay_protocol.${lang}.html"
|
COMMENT "Building weechat_relay_api.${lang}.html"
|
||||||
)
|
)
|
||||||
add_custom_target(doc-relay-protocol-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.${lang}.html")
|
add_custom_target(doc-relay-api-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${lang}.html")
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||||
|
endforeach()
|
||||||
|
# relay "weechat"
|
||||||
|
foreach(lang ${RELAY_WEECHAT_LANG})
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html"
|
||||||
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_RELAY_WEECHAT_ARGS} -o "weechat_relay_weechat.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
|
||||||
|
DEPENDS
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
||||||
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
|
COMMENT "Building weechat_relay_weechat.${lang}.html"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-relay-weechat-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html")
|
||||||
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||||
endforeach()
|
endforeach()
|
||||||
# developer's guide
|
# developer's guide
|
||||||
foreach(lang ${DEV_LANG})
|
foreach(lang ${DEV_LANG})
|
||||||
@@ -345,6 +329,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_dev.${lang}.html"
|
COMMENT "Building weechat_dev.${lang}.html"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
// czech translation, for reference only; matches the built-in behavior of core
|
||||||
|
:appendix-caption: Příloha
|
||||||
|
:appendix-refsig: {appendix-caption}
|
||||||
|
:caution-caption: Upozornění
|
||||||
|
:chapter-signifier: Kapitola
|
||||||
|
:chapter-refsig: {chapter-signifier}
|
||||||
|
:example-caption: Příklad
|
||||||
|
:figure-caption: Obrázek
|
||||||
|
:important-caption: Důležité
|
||||||
|
:last-update-label: Změněno
|
||||||
|
ifdef::listing-caption[:listing-caption: Seznam]
|
||||||
|
ifdef::manname-title[:manname-title: Název]
|
||||||
|
:note-caption: Poznámka
|
||||||
|
:part-signifier: Část
|
||||||
|
:part-refsig: {part-signifier}
|
||||||
|
ifdef::preface-title[:preface-title: Úvod]
|
||||||
|
:section-refsig: Oddíl
|
||||||
|
:table-caption: Tabulka
|
||||||
|
:tip-caption: Tip
|
||||||
|
:toc-title: Obsah
|
||||||
|
:untitled-label: Nepojmenovaný
|
||||||
|
:version-label: Verze
|
||||||
|
:warning-caption: Varování
|
||||||
@@ -39,6 +39,10 @@
|
|||||||
*-h*, *--help*::
|
*-h*, *--help*::
|
||||||
Zobrazí nápovědu.
|
Zobrazí nápovědu.
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
*-i*, *--build-info*::
|
||||||
|
Display build information and exit.
|
||||||
|
|
||||||
*-l*, *--license*::
|
*-l*, *--license*::
|
||||||
Zobrazí licenci WeeChatu.
|
Zobrazí licenci WeeChatu.
|
||||||
|
|
||||||
|
|||||||
@@ -97,9 +97,9 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
|
|
||||||
// tag::copyright[]
|
// tag::copyright[]
|
||||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||||
souboru AUTHORS.adoc).
|
souboru AUTHORS.md).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2025 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: cs
|
:lang: cs
|
||||||
|
include::includes/attributes-cs.adoc[]
|
||||||
|
|
||||||
[[start]]
|
[[start]]
|
||||||
== Spuštění WeeChatu
|
== Spuštění WeeChatu
|
||||||
@@ -12,8 +13,9 @@ klávesových zkratek.
|
|||||||
|
|
||||||
Spustění z Vašeho shellu:
|
Spustění z Vašeho shellu:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat
|
weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[help]]
|
[[help]]
|
||||||
@@ -285,7 +287,7 @@ Close a server, channel or private buffer (`/close` is an alias for
|
|||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
[WARNING]
|
[CAUTION]
|
||||||
Closing the server buffer will close all channel/private buffers.
|
Closing the server buffer will close all channel/private buffers.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
// German translation, courtesy of Florian Wilhelm
|
||||||
|
:appendix-caption: Anhang
|
||||||
|
:appendix-refsig: {appendix-caption}
|
||||||
|
:caution-caption: Achtung
|
||||||
|
:chapter-signifier: Kapitel
|
||||||
|
:chapter-refsig: {chapter-signifier}
|
||||||
|
:example-caption: Beispiel
|
||||||
|
:figure-caption: Abbildung
|
||||||
|
:important-caption: Wichtig
|
||||||
|
:last-update-label: Zuletzt aktualisiert
|
||||||
|
ifdef::listing-caption[:listing-caption: Listing]
|
||||||
|
ifdef::manname-title[:manname-title: Bezeichnung]
|
||||||
|
:note-caption: Anmerkung
|
||||||
|
:part-signifier: Teil
|
||||||
|
:part-refsig: {part-signifier}
|
||||||
|
ifdef::preface-title[:preface-title: Vorwort]
|
||||||
|
:section-refsig: Abschnitt
|
||||||
|
:table-caption: Tabelle
|
||||||
|
:tip-caption: Hinweis
|
||||||
|
:toc-title: Inhaltsverzeichnis
|
||||||
|
:untitled-label: Ohne Titel
|
||||||
|
:version-label: Version
|
||||||
|
:warning-caption: Warnung
|
||||||
@@ -35,6 +35,9 @@
|
|||||||
*-h*, *--help*::
|
*-h*, *--help*::
|
||||||
zeigt einen Hilfstext an.
|
zeigt einen Hilfstext an.
|
||||||
|
|
||||||
|
*-i*, *--build-info*::
|
||||||
|
Build-Informationen anzeigen und beenden.
|
||||||
|
|
||||||
*-l*, *--license*::
|
*-l*, *--license*::
|
||||||
zeigt die Lizenz von WeeChat an.
|
zeigt die Lizenz von WeeChat an.
|
||||||
|
|
||||||
|
|||||||
@@ -98,9 +98,9 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
|
|
||||||
// tag::copyright[]
|
// tag::copyright[]
|
||||||
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
||||||
findet man in der AUTHORS.adoc Datei).
|
findet man in der AUTHORS.md Datei).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2025 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: de
|
:lang: de
|
||||||
:toc-title: Inhaltsverzeichnis
|
include::includes/attributes-de.adoc[]
|
||||||
|
|
||||||
Übersetzer:
|
Übersetzer:
|
||||||
|
|
||||||
@@ -54,12 +54,14 @@ Wenn Sie weiterhin Probleme haben, melden Sie diese bitte den Entwicklern.
|
|||||||
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew ^↗^^] genutzt wird.
|
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew ^↗^^] genutzt wird.
|
||||||
Hilfe erhält man mittels:
|
Hilfe erhält man mittels:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
brew info weechat
|
brew info weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
WeeChat kann durch folgenden Befehl installiert werden:
|
WeeChat kann durch folgenden Befehl installiert werden:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
brew install weechat
|
brew install weechat
|
||||||
----
|
----
|
||||||
@@ -331,11 +333,14 @@ unterstützt (rxvt-unicode, konsole, gnome-terminal, ... um nur einige zu nennen
|
|||||||
Im Normalfall erfolgt die Markierung des Textes mittels der Tasten kbd:[Ctrl+Alt]
|
Im Normalfall erfolgt die Markierung des Textes mittels der Tasten kbd:[Ctrl+Alt]
|
||||||
in Verbindung mit der Auswahl durch die Maus.
|
in Verbindung mit der Auswahl durch die Maus.
|
||||||
|
|
||||||
|
Die Nickliste kann umgeschaltet und nur bei Bedarf sichtbar gemacht werden, mit der Taste kbd:[Alt+Shift+N].
|
||||||
|
|
||||||
Eine weitere Möglichkeit besteht darin,
|
Eine weitere Möglichkeit besteht darin,
|
||||||
die Benutzerliste am oberen oder unteren Rand des WeeChat-Bildschirmes zu positionieren:
|
die Benutzerliste am oberen oder unteren Rand des WeeChat-Bildschirmes zu positionieren:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
|
/set weechat.bar.nicklist.size_max 8
|
||||||
----
|
----
|
||||||
|
|
||||||
[[urls]]
|
[[urls]]
|
||||||
@@ -345,10 +350,13 @@ Dazu kann man den vereinfachten Anzeigemodus nutzen (Standardtaste: kbd:[Alt+l]
|
|||||||
|
|
||||||
Um URLs einfacher zu öffnen, können alternativ folgende Optionen gesetzt werden:
|
Um URLs einfacher zu öffnen, können alternativ folgende Optionen gesetzt werden:
|
||||||
|
|
||||||
|
* Nickliste umschalten und nur bei Bedarf darstellen, mit dem Tastenkurzbefehl kbd:[Alt+Shift+N]
|
||||||
|
|
||||||
* Die Benutzerliste am oberen Bildschirmbereich positionieren.
|
* Die Benutzerliste am oberen Bildschirmbereich positionieren.
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
|
/set weechat.bar.nicklist.size_max 8
|
||||||
----
|
----
|
||||||
|
|
||||||
* Die Ausrichtung bei einem Zeilenumbruch innerhalb eines Wortes deaktivieren.
|
* Die Ausrichtung bei einem Zeilenumbruch innerhalb eines Wortes deaktivieren.
|
||||||
@@ -399,6 +407,7 @@ Umgebungsvariable `TZ` muss auf einen entsprechenden Wert eingestellt werden.
|
|||||||
Am Besten machen Sie dies in Ihrer Shell-Initialisierungsdatei oder in der
|
Am Besten machen Sie dies in Ihrer Shell-Initialisierungsdatei oder in der
|
||||||
Befehlszeile, bevor Sie WeeChat starten:
|
Befehlszeile, bevor Sie WeeChat starten:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
export TZ=Europe/Berlin
|
export TZ=Europe/Berlin
|
||||||
----
|
----
|
||||||
@@ -713,8 +722,9 @@ Entsprechend der ausgegebenen Information, wird ggf. eine Maus nicht unterstütz
|
|||||||
Um zu testen ob eine Mausunterstützung vom Terminal bereitgestellt wird, sollte
|
Um zu testen ob eine Mausunterstützung vom Terminal bereitgestellt wird, sollte
|
||||||
man folgende Zeile im Terminal eingeben:
|
man folgende Zeile im Terminal eingeben:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ printf '\033[?1002h'
|
printf '\033[?1002h'
|
||||||
----
|
----
|
||||||
|
|
||||||
Jetzt klickt man mit der Maus auf das erste Zeichen im Terminal (linke obere
|
Jetzt klickt man mit der Maus auf das erste Zeichen im Terminal (linke obere
|
||||||
@@ -722,8 +732,9 @@ Ecke). Als Ergebnis sollte man folgende Zeichenkette erhalten: " !!#!!".
|
|||||||
|
|
||||||
Um die Mausunterstützung im Terminal zu beenden:
|
Um die Mausunterstützung im Terminal zu beenden:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ printf '\033[?1002l'
|
printf '\033[?1002l'
|
||||||
----
|
----
|
||||||
|
|
||||||
[[mouse_coords]]
|
[[mouse_coords]]
|
||||||
@@ -790,7 +801,7 @@ Man sollte versuchen, eine andere Priorität zu nutzen; Im folgenden Beispiel
|
|||||||
muss "xxx" durch den betroffenen Servernamen ersetzt werden:
|
muss "xxx" durch den betroffenen Servernamen ersetzt werden:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_tls_libera]]
|
[[irc_tls_libera]]
|
||||||
@@ -1067,8 +1078,9 @@ Als erstes sollte das Kapitel über TLS Verbindungen in dieser FAQ gelesen werde
|
|||||||
Wenn das nicht hilft, sollte die Skriptliste von Hand gelöscht werden. Dazu
|
Wenn das nicht hilft, sollte die Skriptliste von Hand gelöscht werden. Dazu
|
||||||
folgenden Befehl in der Shell ausführen:
|
folgenden Befehl in der Shell ausführen:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ rm ~/.cache/weechat/script/plugins.xml.gz
|
rm ~/.cache/weechat/script/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1092,15 +1104,17 @@ Das bedeutet aber auch, dass die Skripten von Hand aktuell gehalten werden müss
|
|||||||
|
|
||||||
* und in der Shell, mit installiertem curl:
|
* und in der Shell, mit installiertem curl:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cd ~/.cache/weechat/script
|
cd ~/.cache/weechat/script
|
||||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
curl -O https://weechat.org/files/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
Wenn Sie macOS ausführen und die heruntergeladene Datei eine Größe von 0 Byte hat,
|
Wenn Sie macOS ausführen und die heruntergeladene Datei eine Größe von 0 Byte hat,
|
||||||
versuchen Sie, diese Variable in Ihrer Shell-Initialisierungsdatei oder auf der
|
versuchen Sie, diese Variable in Ihrer Shell-Initialisierungsdatei oder auf der
|
||||||
Befehlszeile zu setzen. Bevor Sie WeeChat starten:
|
Befehlszeile zu setzen. Bevor Sie WeeChat starten:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||||
----
|
----
|
||||||
@@ -1272,6 +1286,7 @@ siehe https://weechat.org/about/support/[this page ^↗^^].
|
|||||||
|
|
||||||
Falls man WeeChat in gdb ausführt, kann folgende Fehlermeldung erscheinen:
|
Falls man WeeChat in gdb ausführt, kann folgende Fehlermeldung erscheinen:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ gdb /Pfad/zu/weechat
|
$ gdb /Pfad/zu/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1282,6 +1297,7 @@ Cannot find new threads: generic error
|
|||||||
Um diesen Fehler zu beheben, sollte man gdb wie folgt aufrufen (der Pfad zu
|
Um diesen Fehler zu beheben, sollte man gdb wie folgt aufrufen (der Pfad zu
|
||||||
libpthread und WeeChat muss natürlich an das eigene System angepasst werden):
|
libpthread und WeeChat muss natürlich an das eigene System angepasst werden):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
|
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1290,7 +1306,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
|
|||||||
[[supported_os]]
|
[[supported_os]]
|
||||||
=== Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssysteme portiert?
|
=== Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssysteme portiert?
|
||||||
|
|
||||||
WeeChat läuft auf den meisten Linux/BSD-Distributionen, GNU/Hurd, Mac OS und
|
WeeChat läuft auf den meisten Linux/BSD-Distributionen, GNU/Hurd, macOS und
|
||||||
Windows (Cygwin und Windows Subsystem für Linux) einwandfrei.
|
Windows (Cygwin und Windows Subsystem für Linux) einwandfrei.
|
||||||
|
|
||||||
Wir geben unser Bestes, WeeChat auf möglichst viele Plattformen zu portieren.
|
Wir geben unser Bestes, WeeChat auf möglichst viele Plattformen zu portieren.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: de
|
:lang: de
|
||||||
:toc-title: Inhaltsverzeichnis
|
include::includes/attributes-de.adoc[]
|
||||||
|
|
||||||
Übersetzer:
|
Übersetzer:
|
||||||
|
|
||||||
@@ -19,8 +19,9 @@ keine Probleme mit der Standard Tastaturbelegung.
|
|||||||
|
|
||||||
Programmstart aus deiner Shell:
|
Programmstart aus deiner Shell:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat
|
weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[help]]
|
[[help]]
|
||||||
@@ -300,7 +301,7 @@ Einen Buffer schließen (Server, Channel, privater Buffer);
|
|||||||
/close
|
/close
|
||||||
----
|
----
|
||||||
|
|
||||||
[WARNING]
|
[CAUTION]
|
||||||
Wird ein Server-Buffer geschlossen,
|
Wird ein Server-Buffer geschlossen,
|
||||||
schließt WeeChat ebenfalls alle zum Server
|
schließt WeeChat ebenfalls alle zum Server
|
||||||
gehörenden Channels und privaten Buffer.
|
gehörenden Channels und privaten Buffer.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: de
|
:lang: de
|
||||||
:toc-title: Inhaltsverzeichnis
|
include::includes/attributes-de.adoc[]
|
||||||
|
|
||||||
Übersetzer:
|
Übersetzer:
|
||||||
|
|
||||||
@@ -73,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`
|
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
|
||||||
importiert werden muss. +
|
importiert werden muss. +
|
||||||
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
|
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
|
||||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||||
|
|
||||||
[[python_functions]]
|
[[python_functions]]
|
||||||
===== Funktionen
|
===== Funktionen
|
||||||
@@ -373,9 +373,10 @@ anlegen, der in das Verzeichnis _Skriptsprache/autoload_ zeigt.
|
|||||||
|
|
||||||
Ein Beispiel für ein Python-Skript:
|
Ein Beispiel für ein Python-Skript:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cd ~/.local/share/weechat/python/autoload
|
cd ~/.local/share/weechat/python/autoload
|
||||||
$ ln -s ../script.py
|
ln -s ../script.py
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
|
|||||||
+234
-192
@@ -2,7 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: de
|
:lang: de
|
||||||
:toc-title: Inhaltsverzeichnis
|
include::includes/attributes-de.adoc[]
|
||||||
|
|
||||||
Übersetzer:
|
Übersetzer:
|
||||||
|
|
||||||
@@ -115,7 +115,7 @@ Die folgende Tabelle zeigt eine Auflistung der Pakete, die zum Erstellen von Wee
|
|||||||
| cmake | ≥ 3.0
|
| cmake | ≥ 3.0
|
||||||
| bauen.
|
| bauen.
|
||||||
|
|
||||||
| pkg-config |
|
| pkgconf / pkg-config |
|
||||||
| entdeckt installierte Bibliotheken.
|
| entdeckt installierte Bibliotheken.
|
||||||
|
|
||||||
| libncurses-dev |
|
| libncurses-dev |
|
||||||
@@ -227,8 +227,9 @@ Falls eine Debian/Ubuntu basierte Distribution genutzt wird und man einen
|
|||||||
es mit folgendem Befehl möglich alle notwendigen Abhängigkeiten zu
|
es mit folgendem Befehl möglich alle notwendigen Abhängigkeiten zu
|
||||||
installieren:
|
installieren:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
# apt-get build-dep weechat
|
sudo apt-get build-dep weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[build]]
|
[[build]]
|
||||||
@@ -236,22 +237,24 @@ installieren:
|
|||||||
|
|
||||||
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir build
|
mkdir build
|
||||||
$ cd build
|
cd build
|
||||||
$ cmake ..
|
cmake ..
|
||||||
$ make
|
make
|
||||||
$ sudo make install
|
sudo make install
|
||||||
----
|
----
|
||||||
|
|
||||||
* Installation in ein benutzerdefiniertes Verzeichnis (zum Beispiel ins Heimatverzeichnis):
|
* Installation in ein benutzerdefiniertes Verzeichnis (zum Beispiel ins Heimatverzeichnis):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir build
|
mkdir build
|
||||||
$ cd build
|
cd build
|
||||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/Pfad/zum/Verzeichnis
|
cmake .. -DCMAKE_INSTALL_PREFIX=/Pfad/zum/Verzeichnis
|
||||||
$ make
|
make
|
||||||
$ make install
|
make install
|
||||||
----
|
----
|
||||||
|
|
||||||
Optionen für CMake können mit dem Format, `-DOPTION=VALUE`, genutzt werden.
|
Optionen für CMake können mit dem Format, `-DOPTION=VALUE`, genutzt werden.
|
||||||
@@ -387,14 +390,16 @@ Liste der verfügbaren Optionen:
|
|||||||
|
|
||||||
Weitere Optionen können mit folgendem Befehl angezeigt werden:
|
Weitere Optionen können mit folgendem Befehl angezeigt werden:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cmake -LA
|
cmake -LA
|
||||||
----
|
----
|
||||||
|
|
||||||
oder mittels der Curses-Oberfläche:
|
oder mittels der Curses-Oberfläche:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ ccmake ..
|
ccmake ..
|
||||||
----
|
----
|
||||||
|
|
||||||
[[tests]]
|
[[tests]]
|
||||||
@@ -407,14 +412,16 @@ Folgende Pakete werden *benötigt* um Tests zu kompilieren:
|
|||||||
|
|
||||||
Tests muss aktiviert werden wenn WeeChat kompiliert wird:
|
Tests muss aktiviert werden wenn WeeChat kompiliert wird:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cmake .. -DENABLE_TESTS=ON
|
cmake .. -DENABLE_TESTS=ON
|
||||||
----
|
----
|
||||||
|
|
||||||
Nach der Kompilierung wird die Testumgebung im build-Verzeichnis ausgeführt:
|
Nach der Kompilierung wird die Testumgebung im build-Verzeichnis ausgeführt:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ ctest -V
|
ctest -V
|
||||||
----
|
----
|
||||||
|
|
||||||
[[git_sources]]
|
[[git_sources]]
|
||||||
@@ -425,8 +432,9 @@ sich die Quellen nicht kompilieren oder der Code ist nicht stabil. Sie sind hier
|
|||||||
|
|
||||||
Um die Git Quellen zu beziehen nutzen Sie folgende Befehle:
|
Um die Git Quellen zu beziehen nutzen Sie folgende Befehle:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ git clone https://github.com/weechat/weechat.git
|
git clone https://github.com/weechat/weechat.git
|
||||||
----
|
----
|
||||||
|
|
||||||
Folgen Sie bitte der Anleitung zur Erstellung aus Quellpaketen (siehe <<source_package,Quellpakete>>).
|
Folgen Sie bitte der Anleitung zur Erstellung aus Quellpaketen (siehe <<source_package,Quellpakete>>).
|
||||||
@@ -447,8 +455,9 @@ Falls WeeChat abgestürzt sein sollte und Sie diesen Fehler melden möchten:
|
|||||||
|
|
||||||
Bei der Kompilierung mit CMake muss folgende Option gesetzt werden:
|
Bei der Kompilierung mit CMake muss folgende Option gesetzt werden:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
----
|
----
|
||||||
|
|
||||||
[[address_sanitizer]]
|
[[address_sanitizer]]
|
||||||
@@ -457,18 +466,20 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
|||||||
Sie können zusätzlich den Adress-Sanitizer aktivieren, der bei Problemen sofort
|
Sie können zusätzlich den Adress-Sanitizer aktivieren, der bei Problemen sofort
|
||||||
zum Absturz von WeeChat führt:
|
zum Absturz von WeeChat führt:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||||
----
|
----
|
||||||
|
|
||||||
[WARNING]
|
[CAUTION]
|
||||||
Sie sollten die Adressbereinigung nur aktivieren, wenn Sie versuchen, einen
|
Sie sollten die Adressbereinigung nur aktivieren, wenn Sie versuchen, einen
|
||||||
Absturz zu provozieren. Diese Funktion wird im produktiven Einsatz nicht empfohlen.
|
Absturz zu provozieren. Diese Funktion wird im produktiven Einsatz nicht empfohlen.
|
||||||
|
|
||||||
Nach dem Kompilieren und Installieren müssen Sie WeeChat folgendermaßen ausführen:
|
Nach dem Kompilieren und Installieren müssen Sie WeeChat folgendermaßen ausführen:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat
|
ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
Im Falle eines Absturzes befinden sich zusätzliche Informationen in der Datei, `asan.log`.
|
Im Falle eines Absturzes befinden sich zusätzliche Informationen in der Datei, `asan.log`.
|
||||||
@@ -489,12 +500,14 @@ aktivieren, bevor WeeChat gestaret wird, wird der Befehl `ulimit` benötigt.
|
|||||||
Zum Beispiel muss unter Linux in einer _bash_ Shell folgender Befehl in die `~/.bashrc`
|
Zum Beispiel muss unter Linux in einer _bash_ Shell folgender Befehl in die `~/.bashrc`
|
||||||
Datei eingetragen werden:
|
Datei eingetragen werden:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
----
|
----
|
||||||
|
|
||||||
optional kann noch die maximale Dateigröße bestimmt werden:
|
optional kann noch die maximale Dateigröße bestimmt werden:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
ulimit -c 200000
|
ulimit -c 200000
|
||||||
----
|
----
|
||||||
@@ -518,6 +531,7 @@ https://wiki.archlinux.org/title/Core_dump[wiki page ^↗^^].
|
|||||||
Beispiel: _weechat_ ist in _/usr/bin/_ installiert und die _core_ Datei befindet sich
|
Beispiel: _weechat_ ist in _/usr/bin/_ installiert und die _core_ Datei befindet sich
|
||||||
in _/home/user/_. Nun wird gdb mit folgendem Befehl aufgerufen:
|
in _/home/user/_. Nun wird gdb mit folgendem Befehl aufgerufen:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
gdb /usr/bin/weechat /home/user/core
|
gdb /usr/bin/weechat /home/user/core
|
||||||
----
|
----
|
||||||
@@ -565,6 +579,7 @@ Um eine laufende Sitzung von WeeChat zu debuggen (zum Beispiel wenn WeeChat nich
|
|||||||
mehr reagieren sollte) sollte man gdb mit der Prozess-ID starten (_12345_ muss durch
|
mehr reagieren sollte) sollte man gdb mit der Prozess-ID starten (_12345_ muss durch
|
||||||
die PID des laufenden weechat Prozesses ersetzt werden):
|
die PID des laufenden weechat Prozesses ersetzt werden):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
gdb /usr/bin/weechat 12345
|
gdb /usr/bin/weechat 12345
|
||||||
----
|
----
|
||||||
@@ -580,8 +595,9 @@ Sollte WeeChat abgestürzt sein, muss der Befehl `bt full` genutzt werden:
|
|||||||
|
|
||||||
Um WeeChat zu starten muss folgender Befehl ausgeführt werden:
|
Um WeeChat zu starten muss folgender Befehl ausgeführt werden:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat
|
weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
Wird WeeChat das erste mal ausgeführt, wird die Standardkonfiguration und
|
Wird WeeChat das erste mal ausgeführt, wird die Standardkonfiguration und
|
||||||
@@ -595,7 +611,7 @@ include::includes/cmdline_options.de.adoc[tag=standard]
|
|||||||
|
|
||||||
Einige zusätzliche Optionen sollten nur für Debug-Zwecke genutzt werden:
|
Einige zusätzliche Optionen sollten nur für Debug-Zwecke genutzt werden:
|
||||||
|
|
||||||
[WARNING]
|
[CAUTION]
|
||||||
*KEINE* dieser Optionen sollte für ein Produktivsystem genutzt werden!
|
*KEINE* dieser Optionen sollte für ein Produktivsystem genutzt werden!
|
||||||
|
|
||||||
include::includes/cmdline_options.de.adoc[tag=debug]
|
include::includes/cmdline_options.de.adoc[tag=debug]
|
||||||
@@ -799,25 +815,24 @@ Dies speichert den aktuellen Status in `*.upgrade`-Dateien. Sie können dann ent
|
|||||||
die gesamten WeeChat-Verzeichnisse (Konfiguration, Daten, Cache) neu starten oder auf
|
die gesamten WeeChat-Verzeichnisse (Konfiguration, Daten, Cache) neu starten oder auf
|
||||||
einen anderen Computer verschieben und WeeChat später mit diesem Befehl neu starten:
|
einen anderen Computer verschieben und WeeChat später mit diesem Befehl neu starten:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat --upgrade
|
weechat --upgrade
|
||||||
----
|
----
|
||||||
|
|
||||||
[[restart_after_upgrade]]
|
[[restart_after_upgrade]]
|
||||||
=== Neustart nach Upgrade
|
=== Neustart nach Upgrade
|
||||||
|
|
||||||
[[restart_release_notes]]
|
[[restart_upgrading_notes]]
|
||||||
==== Versionshinweise
|
==== Hinweise zum Upgrade
|
||||||
|
|
||||||
Nach einem Upgrade wird *dringend empfohlen* die,
|
Nach einem Upgrade, wird *dringend empfohlen* das Dokukment
|
||||||
https://weechat.org/files/doc/weechat/ReleaseNotes-devel.html[Versionshinweise ^↗^^]
|
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||||
zu lesen, denn dort sind wichtige Informationen zu Änderungen enthalten und ob
|
zu lesen. Dieses Dokument enthält wichtige Informationen zu wichtigen Änderungen und
|
||||||
eventuell ein manuelles Eingreifen erforderlich sein könnte.
|
einige manuelle Aktionen, die erforderlich sein könnten.
|
||||||
|
|
||||||
Sie müssen die Versionshinweise aller Versionen zwischen Ihrer alten (abgelaufenen)
|
Es sollten die Versionen zwischen der alten (abgelaufenen) und der neuen Version (eingeschlossen) gelesen werden. +
|
||||||
und Ihrer neuen Version (enthalten) lesen. +
|
Wenn beispielsweise von Version 4.0.0 auf 4.3.0 gewechselt wurde, ist es ratsam die Versionen von 4.0.1 bis 4.3.0 zu lesen.
|
||||||
Wenn Sie beispielsweise von Version 3.0 auf 3.2 wechseln, müssen Sie die Versionshinweise
|
|
||||||
der Versionen 3.1 und 3.2 lesen.
|
|
||||||
|
|
||||||
[[restart_configuration_upgrade]]
|
[[restart_configuration_upgrade]]
|
||||||
==== Konfigurations-Upgrade
|
==== Konfigurations-Upgrade
|
||||||
@@ -867,7 +882,7 @@ Beispiel des WeeChat-Terminals:
|
|||||||
│ │ │ │
|
│ │ │ │
|
||||||
│ │ │ │
|
│ │ │ │
|
||||||
│ │ │ │
|
│ │ │ │
|
||||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* M [H: 3:#abc(2,5), 5] │
|
||||||
│ │[@Flashy(i)] hi peter!█ │
|
│ │[@Flashy(i)] hi peter!█ │
|
||||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
▲ Bars "status" und "input" Bar "nicklist" ▲
|
▲ Bars "status" und "input" Bar "nicklist" ▲
|
||||||
@@ -906,32 +921,34 @@ Die _status_-Bar besitzt als Standardeinträge:
|
|||||||
|
|
||||||
[width="100%",cols="^3,^3,9",options="header"]
|
[width="100%",cols="^3,^3,9",options="header"]
|
||||||
|===
|
|===
|
||||||
| Item | Beispiel | Beschreibung
|
| Item | Beispiel | Beschreibung
|
||||||
| time | `[12:55]` | Uhrzeit.
|
| time | `12:55` | Uhrzeit.
|
||||||
| buffer_last_number | `[5]` | Nummer des letzten Buffers.
|
| buffer_last_number | `5` | Nummer des letzten Buffers (kann sich unterscheiden von `buffer_count` wenn Option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> deaktiviert (`off`) ist).
|
||||||
| buffer_plugin | `[irc/libera]` | Erweiterung des aktuellen Buffers (IRC Erweiterung setzt den IRC Servername für den Buffer).
|
| buffer_plugin | `irc/libera` | Erweiterung des aktuellen Buffers (IRC Erweiterung setzt den IRC Servername für den Buffer).
|
||||||
| buffer_number | `2` | Aktuelle Nummer des Buffers.
|
| buffer_number | `2` | Aktuelle Nummer des Buffers.
|
||||||
| buffer_name | `#test` | Name des aktuellen Buffers.
|
| buffer_name | `#test` | Name des aktuellen Buffers.
|
||||||
| buffer_modes | `+n` | IRC Kanal-Modi.
|
| buffer_modes | `+n` | IRC Kanal-Modi.
|
||||||
| buffer_nicklist_count | `{4}` | Anzahl der Nicks die in der Nickliste angezeigt werden.
|
| buffer_nicklist_count | `4` | Anzahl der Nicks die in der Nickliste angezeigt werden.
|
||||||
| buffer_zoom | ! | `!` bedeutet, dass ein zusammengefügter Buffer gezoomed (nur dieser Buffer wird angezeigt) wird.
|
| buffer_zoom | ! | `!` bedeutet, dass ein zusammengefügter Buffer gezoomed (nur dieser Buffer wird angezeigt) wird.
|
||||||
| buffer_filter | `+*+` | Filteranzeige: `+*+` bedeutet das Zeilen gefiltert (unterdrückt) werden. Ein leerer Eintrag zeigt an, dass alle Zeilen dargestellt werden.
|
| buffer_filter | `+*+` | Filteranzeige: `+*+` bedeutet das Zeilen gefiltert (unterdrückt) werden. Ein leerer Eintrag zeigt an, dass alle Zeilen dargestellt werden.
|
||||||
| scroll | `-MORE(50)-` | Scroll Indikator, zeigt an wie viele Zeilen unterhalb der zur Zeit dargestellten Zeile vorhanden sind.
|
| mouse_status | `M` | Mouse status (empty if mouse is disabled), see command <<command_weechat_mouse,/mouse>> and <<key_bindings_toggle_keys,Tasten zum Umschalten von Funktionen>>.
|
||||||
| lag | `[Lag: 2.5]` | Verzögerungsanzeige, in Sekunden (keine Anzeige falls Verzögerung gering).
|
| scroll | `-MORE(50)-` | Scroll Indikator, zeigt an wie viele Zeilen unterhalb der zur Zeit dargestellten Zeile vorhanden sind.
|
||||||
| hotlist | `[H: 3:#abc(2,5), 5]` | Liste der Buffer mit Aktivität (ungelesene Nachrichten) (für das Beispiel: 2 Highlights und 5 ungelesene Nachrichten im Kanal _#abc_, eine ungelesene Nachricht in Buffer #5).
|
| lag | `Lag: 2.5` | Verzögerungsanzeige, in Sekunden (keine Anzeige falls Verzögerung gering).
|
||||||
| completion | `abc(2) def(5)` | Liste von Wörtern für Vervollständigung, die Zahl zeigt an wie viele Varianten möglich sind.
|
| hotlist | `H: 3:#abc(2,5), 5` | Liste der Buffer mit Aktivität (ungelesene Nachrichten) (für das Beispiel: 2 Highlights und 5 ungelesene Nachrichten im Kanal _#abc_, eine ungelesene Nachricht in Buffer #5).
|
||||||
|
| typing | `Typing: bob, (alice)` | Schreibbenachrichtigung, siehe <<typing_notifications,Schreibbenachrichtigung>>.
|
||||||
|
| completion | `abc(2) def(5)` | Liste von Wörtern für Vervollständigung, die Zahl zeigt an wie viele Varianten möglich sind.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
In der _input_ Bar lautet die Standardeinstellung:
|
In der _input_ Bar lautet die Standardeinstellung:
|
||||||
|
|
||||||
[width="100%",cols="^3,^3,9",options="header"]
|
[width="100%",cols="^3,^3,9",options="header"]
|
||||||
|===
|
|===
|
||||||
| Item | Beispiel | Beschreibung
|
| Item | Beispiel | Beschreibung
|
||||||
| input_prompt | `[@Flashy(i)]` | Input prompt, für irc: Nick und Modi (Modus "+i" bedeutet auf libera, unsichtbar).
|
| input_prompt | `@Flashy(i)` | Input prompt, für irc: Nick und Modi (Modus "+i" bedeutet auf libera, unsichtbar).
|
||||||
| away | `(away)` | Abwesenheitsanzeige.
|
| away | `away` | Abwesenheitsanzeige.
|
||||||
| input_search | `[Search lines (~ str,msg)]` | Suchindikatoren ("`~`": Groß-und Kleinschreibung ignorieren, "`==`": Groß-und Kleinschreibung berücksichtigen, "`str`": einfache Textsuche, "`regex`": suche mit regulären Ausdrücken, "`msg`": Suche in Nachrichten, "`pre`": Suche in Präfix, "`pre\|msg`": Suche in Präfix und Nachrichten).
|
| input_search | `Search lines (~ str,msg)` | Suchindikatoren ("`~`": Groß-und Kleinschreibung ignorieren, "`==`": Groß-und Kleinschreibung berücksichtigen, "`str`": einfache Textsuche, "`regex`": suche mit regulären Ausdrücken, "`msg`": Suche in Nachrichten, "`pre`": Suche in Präfix, "`pre\|msg`": Suche in Präfix und Nachrichten).
|
||||||
| input_paste | `[Paste 7 lines ? [ctrl-y] Ja [ctrl-n] Nein]` | Nachfrage, ob sieben Zeilen eingefügt werden sollen.
|
| input_paste | `Paste 7 lines ? [ctrl-y] Ja [ctrl-n] Nein` | Nachfrage, ob sieben Zeilen eingefügt werden sollen.
|
||||||
| input_text | `hi peter!` | Text der eingegeben wird.
|
| input_text | `hi peter!` | Text der eingegeben wird.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Es existieren zwei Suchmodi:
|
Es existieren zwei Suchmodi:
|
||||||
@@ -966,8 +983,7 @@ andere Items die zur Verfügung stehen (die aber nicht standardmäßig in einer
|
|||||||
[width="100%",cols="^3,^3,9",options="header"]
|
[width="100%",cols="^3,^3,9",options="header"]
|
||||||
|===
|
|===
|
||||||
| Item | Beispiel | Beschreibung
|
| Item | Beispiel | Beschreibung
|
||||||
| buffer_count | `10` | absolute Anzahl an geöffneten Buffern.
|
| buffer_count | `5` | absolute Anzahl an geöffneten Buffern.
|
||||||
| buffer_last_number | `10` | Nummer des letzten Buffers (kann sich unterscheiden von `buffer_count` wenn Option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> deaktiviert (`off`) ist).
|
|
||||||
| buffer_nicklist_count_all | `4` | Anzahl der sichtbaren Gruppen und Nicks in der Nickliste.
|
| buffer_nicklist_count_all | `4` | Anzahl der sichtbaren Gruppen und Nicks in der Nickliste.
|
||||||
| buffer_nicklist_count_groups | `0` | Anzahl der sichtbaren Gruppen in der Nickliste.
|
| buffer_nicklist_count_groups | `0` | Anzahl der sichtbaren Gruppen in der Nickliste.
|
||||||
| buffer_short_name | `#test` | Kurzname des aktuellen Buffers.
|
| buffer_short_name | `#test` | Kurzname des aktuellen Buffers.
|
||||||
@@ -982,7 +998,7 @@ andere Items die zur Verfügung stehen (die aber nicht standardmäßig in einer
|
|||||||
| irc_nick_host | `+Flashy!user@host.com+` | aktueller IRC Nick und Host.
|
| irc_nick_host | `+Flashy!user@host.com+` | aktueller IRC Nick und Host.
|
||||||
| irc_nick_modes | `i` | IRC Modi für den eigenen Nick.
|
| irc_nick_modes | `i` | IRC Modi für den eigenen Nick.
|
||||||
| irc_nick_prefix | `@` | IRC Nick-Präfix für den Kanal.
|
| irc_nick_prefix | `@` | IRC Nick-Präfix für den Kanal.
|
||||||
| mouse_status | `M` | Status der Maus (keine Anzeige, falls Maus deaktiviert).
|
| spacer | | spezielles Item um Text in einer Bar auszurichten, siehe <<item_spacer,Spacer item>>.
|
||||||
| spell_dict | `de,en` | zeigt an welche Wörterbücher für die Rechtschreibung im aktuellen Buffer genutzt werden.
|
| spell_dict | `de,en` | zeigt an welche Wörterbücher für die Rechtschreibung im aktuellen Buffer genutzt werden.
|
||||||
| spell_suggest | `Glück,Glocke,Block` | Vorschläge für ein falsch geschriebenes Wort.
|
| spell_suggest | `Glück,Glocke,Block` | Vorschläge für ein falsch geschriebenes Wort.
|
||||||
| tls_version | `TLS1.3` | TLS Version die für den IRC Server genutzt wird.
|
| tls_version | `TLS1.3` | TLS Version die für den IRC Server genutzt wird.
|
||||||
@@ -1342,7 +1358,7 @@ Tags die häufig verwendet werden (keine vollständige Auflistung):
|
|||||||
| no_filter | Zeile kann nicht gefiltert werden.
|
| no_filter | Zeile kann nicht gefiltert werden.
|
||||||
| no_highlight | die Zeile kann nicht gehiglighted werden.
|
| no_highlight | die Zeile kann nicht gehiglighted werden.
|
||||||
| no_log | Zeile wird nicht in die Log-Datei geschrieben.
|
| no_log | Zeile wird nicht in die Log-Datei geschrieben.
|
||||||
| log0 … log9 | Grad der Protokollierung (siehe `/help logger`).
|
| log0 … log9 | Grad der Protokollierung (siehe den Befehl <<command_logger_logger,/logger>>).
|
||||||
| notify_none | Diese Zeile wird erzeugt keinen Hotlist-Eintrag. ^(1)^
|
| notify_none | Diese Zeile wird erzeugt keinen Hotlist-Eintrag. ^(1)^
|
||||||
| notify_message | Diese Zeile ist eine User Nachricht. ^(1)^
|
| notify_message | Diese Zeile ist eine User Nachricht. ^(1)^
|
||||||
| notify_private | Diese Zeile ist eine private Nachricht. ^(1)^
|
| notify_private | Diese Zeile ist eine private Nachricht. ^(1)^
|
||||||
@@ -1748,11 +1764,12 @@ Sie können mit dem Befehl <<command_weechat_key,/key>> geändert und neue hinzu
|
|||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Taste | Beschreibung | Befehl
|
| Taste | Beschreibung | Befehl
|
||||||
| kbd:[Alt+m] | schaltet Mausfunktion ein/aus. | `+/mouse toggle+`
|
| kbd:[Alt+m] | schaltet Mausfunktion ein/aus. | `+/mouse toggle+`
|
||||||
| kbd:[Alt+s] | Umschalten der Rechtschreibprüfung. | `+/mute spell toggle+`
|
| kbd:[Alt+s] | Umschalten der Rechtschreibprüfung. | `+/mute spell toggle+`
|
||||||
| kbd:[Alt+=] | schaltet Filterfunktion an/aus. | `+/filter toggle+`
|
| kbd:[Alt+=] | schaltet Filterfunktion an/aus. | `+/filter toggle+`
|
||||||
| kbd:[Alt+-] | schaltet, für den aktuellen Buffer, Filterfunktion an/aus. | `+/filter toggle @+`
|
| kbd:[Alt+-] | schaltet, für den aktuellen Buffer, Filterfunktion an/aus. | `+/filter toggle @+`
|
||||||
|
| kbd:[Alt+Ctrl+l] (`L`) | Umschalten zwischen Remote- und lokalen Befehlen in einem Remote-Buffer (relay "api"). | `+/remote togglecmd+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[key_bindings_search_context]]
|
[[key_bindings_search_context]]
|
||||||
@@ -2022,27 +2039,27 @@ Beispiel des fset-Buffer, der Optionen anzeigt, die mit `weechat.look` beginnen
|
|||||||
[subs="quotes"]
|
[subs="quotes"]
|
||||||
....
|
....
|
||||||
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
||||||
│1.weechat│1/121 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggle │
|
│1.weechat│7/125 | Filter: weechat.look.* | Sortierung: ~name | Taste(input): alt+Lee>>│
|
||||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
│2.fset │weechat.look.bare_display_exit_on_input: beendet den einfachen Anzeigemodus │
|
||||||
│ │hanges in input [default: on] │
|
│ │durch Tastendruck [Standardwert: on] │
|
||||||
│ │----------------------------------------------------------------------------│
|
│ │----------------------------------------------------------------------------│
|
||||||
│ │ weechat.look.align_end_of_lines enum message │
|
│ │ weechat.look.align_end_of_lines Aufzählung message │
|
||||||
│ │ weechat.look.align_multiline_words boolean on │
|
│ │ weechat.look.align_multiline_words boolesch on │
|
||||||
│ │ weechat.look.bar_more_down string "++" │
|
│ │ weechat.look.bar_more_down Zeichenkette "++" │
|
||||||
│ │ weechat.look.bar_more_left string "<<" │
|
│ │ weechat.look.bar_more_left Zeichenkette "<<" │
|
||||||
│ │ weechat.look.bar_more_right string ">>" │
|
│ │ weechat.look.bar_more_right Zeichenkette ">>" │
|
||||||
│ │ weechat.look.bar_more_up string "--" │
|
│ │ weechat.look.bar_more_up Zeichenkette "--" │
|
||||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
│ │## weechat.look.bare_display_exit_on_input boolesch on ##│
|
||||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
│ │ weechat.look.bare_display_time_format Zeichenkette "%H:%M" │
|
||||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
│ │ weechat.look.buffer_auto_renumber boolesch on │
|
||||||
│ │ weechat.look.buffer_notify_default enum all │
|
│ │ weechat.look.buffer_notify_default Aufzählung all │
|
||||||
│ │ weechat.look.buffer_position enum end │
|
│ │ weechat.look.buffer_position Aufzählung end │
|
||||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
│ │ weechat.look.buffer_search_case_sensitive boolesch off │
|
||||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
│ │ weechat.look.buffer_search_force_default boolesch off │
|
||||||
│ │ weechat.look.buffer_search_regex boolean off │
|
│ │ weechat.look.buffer_search_history Aufzählung local │
|
||||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
│ │ weechat.look.buffer_search_regex boolesch off │
|
||||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
│ │ weechat.look.buffer_search_where Aufzählung prefix_message │
|
||||||
│ │ weechat.look.buffer_time_same string "" │
|
│ │ weechat.look.buffer_time_format Zeichenkette "%H:%M:%S" │
|
||||||
│ │[12:55] [2] [fset] 2:fset │
|
│ │[12:55] [2] [fset] 2:fset │
|
||||||
│ │█ │
|
│ │█ │
|
||||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
@@ -2849,8 +2866,9 @@ Option in die Sektion "option" der Aspell-Konfiguration hinzufügt.
|
|||||||
Den Name der Option findet man in der ASpell-Konfigurationsdatei. Eine Auflistung aller
|
Den Name der Option findet man in der ASpell-Konfigurationsdatei. Eine Auflistung aller
|
||||||
möglichen Optionen erhält man durch:
|
möglichen Optionen erhält man durch:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ aspell config
|
aspell config
|
||||||
----
|
----
|
||||||
|
|
||||||
Um zum Beispiel die Option "ignore-case" einzuschalten:
|
Um zum Beispiel die Option "ignore-case" einzuschalten:
|
||||||
@@ -3302,7 +3320,7 @@ Passwörter beinhalten. Dies dient dazu Passwörter nicht im Klartext als
|
|||||||
Wert einer Option zu sichern. Dazu wird folgendes Format, anstelle des
|
Wert einer Option zu sichern. Dazu wird folgendes Format, anstelle des
|
||||||
Passwortes, verwendet: "${sec.data.xxx}". "xxx" ist hierbei der Name den man
|
Passwortes, verwendet: "${sec.data.xxx}". "xxx" ist hierbei der Name den man
|
||||||
dem Passwort zugeordnet hat (siehe oben, mittels `/secure set xxx ...`). +
|
dem Passwort zugeordnet hat (siehe oben, mittels `/secure set xxx ...`). +
|
||||||
Für eine vollständige Liste aller unterstützten Optionen, siehe `/help secure`.
|
Für eine vollständige Liste der unterstützen Optionen, siehe den Befehl <<command_weechat_secure,/secure>>.
|
||||||
|
|
||||||
Um z.B. das oben eingestellte _libera_ Passwort für eine
|
Um z.B. das oben eingestellte _libera_ Passwort für eine
|
||||||
<<irc_sasl_authentication,SASL Authentifizierung>> zu nutzen:
|
<<irc_sasl_authentication,SASL Authentifizierung>> zu nutzen:
|
||||||
@@ -3425,8 +3443,9 @@ irc[6][s]://[nick[:password]@]irc.example.org[:port][/channel][,channel[...]]
|
|||||||
Beispiel: Anmelden beim Server _irc.libera.chat_ mit dem Nick _alice_ und betreten
|
Beispiel: Anmelden beim Server _irc.libera.chat_ mit dem Nick _alice_ und betreten
|
||||||
der Kanäle _#weechat_ und _#weechat-fr_ (Standardport (6667) wird genutzt):
|
der Kanäle _#weechat_ und _#weechat-fr_ (Standardport (6667) wird genutzt):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat irc://alice@irc.libera.chat/#weechat,#weechat-fr
|
weechat irc://alice@irc.libera.chat/#weechat,#weechat-fr
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_servers]]
|
[[irc_servers]]
|
||||||
@@ -3439,14 +3458,16 @@ Standardmäßig sind keine Server angelegt. Es gibt keine Begrenzung für die
|
|||||||
Anzahl von Servern. Server können mit dem Befehl <<command_irc_server,/server>>
|
Anzahl von Servern. Server können mit dem Befehl <<command_irc_server,/server>>
|
||||||
angelegt werden.
|
angelegt werden.
|
||||||
|
|
||||||
Um zum Beispiel eine TLS verschlüsselte Verbindung zu
|
Zum Beispiel für eine Verbindung zu https://libera.chat/[libera.chat ^↗^^]:
|
||||||
https://libera.chat/[libera.chat ^↗^^] herzustellen:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add libera irc.libera.chat/6697 -tls
|
/server add libera irc.libera.chat
|
||||||
----
|
----
|
||||||
|
|
||||||
Um WeeChat beim Start direkt mit dem Server zu verbinden:
|
[NOTE]
|
||||||
|
Der Standardport ist 6697 und TLS (verschlüsselter Datenverkehr) ist aktiviert.
|
||||||
|
|
||||||
|
Um WeeChat, beim Programmstart, direkt mit einem Server zu verbinden:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autoconnect on
|
/set irc.server.libera.autoconnect on
|
||||||
@@ -3463,7 +3484,7 @@ Kapitel über <<irc_sasl_authentication,SASL authentication>>):
|
|||||||
----
|
----
|
||||||
|
|
||||||
Wenn SASL nicht unterstützt wird, können Sie einen Befehl verwenden, um eine
|
Wenn SASL nicht unterstützt wird, können Sie einen Befehl verwenden, um eine
|
||||||
Nachricht an nickserv zu senden, um sich zu Authentifizieren:
|
Nachricht an nickserv zu senden, um sich zu authentifizieren:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.command "/msg nickserv identify ${sec.data.libera}"
|
/set irc.server.libera.command "/msg nickserv identify ${sec.data.libera}"
|
||||||
@@ -3487,51 +3508,52 @@ Wenn Sie beispielsweise den _libera_-Server mit den obigen Befehlen erstellt hab
|
|||||||
sehen Sie dies mit dem Befehl `/fset libera`:
|
sehen Sie dies mit dem Befehl `/fset libera`:
|
||||||
|
|
||||||
....
|
....
|
||||||
irc.server.libera.addresses string "irc.libera.chat/6697"
|
irc.server.libera.addresses Zeichenkette "irc.libera.chat"
|
||||||
irc.server.libera.anti_flood_prio_high integer null -> 2
|
irc.server.libera.anti_flood integer null -> 2000
|
||||||
irc.server.libera.anti_flood_prio_low integer null -> 2
|
irc.server.libera.autoconnect boolesch on
|
||||||
irc.server.libera.autoconnect boolean on
|
irc.server.libera.autojoin Zeichenkette null -> ""
|
||||||
irc.server.libera.autojoin string null -> ""
|
irc.server.libera.autojoin_delay integer null -> 0
|
||||||
irc.server.libera.autojoin_dynamic boolean null -> off
|
irc.server.libera.autojoin_dynamic boolesch null -> off
|
||||||
irc.server.libera.autoreconnect boolean null -> on
|
irc.server.libera.autoreconnect boolesch null -> on
|
||||||
irc.server.libera.autoreconnect_delay integer null -> 10
|
irc.server.libera.autoreconnect_delay integer null -> 10
|
||||||
irc.server.libera.autorejoin boolean null -> off
|
irc.server.libera.autorejoin boolesch null -> off
|
||||||
irc.server.libera.autorejoin_delay integer null -> 30
|
irc.server.libera.autorejoin_delay integer null -> 30
|
||||||
irc.server.libera.away_check integer null -> 0
|
irc.server.libera.away_check integer null -> 0
|
||||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||||
irc.server.libera.capabilities string null -> "*"
|
irc.server.libera.capabilities Zeichenkette null -> "*"
|
||||||
irc.server.libera.charset_message enum null -> message
|
irc.server.libera.charset_message Aufzählung null -> message
|
||||||
irc.server.libera.command string null -> ""
|
irc.server.libera.command Zeichenkette null -> ""
|
||||||
irc.server.libera.command_delay integer null -> 0
|
irc.server.libera.command_delay integer null -> 0
|
||||||
irc.server.libera.connection_timeout integer null -> 60
|
irc.server.libera.connection_timeout integer null -> 60
|
||||||
irc.server.libera.default_chantypes string null -> "#&"
|
irc.server.libera.default_chantypes Zeichenkette null -> "#&"
|
||||||
irc.server.libera.ipv6 boolean null -> on
|
irc.server.libera.ipv6 Aufzählung null -> auto
|
||||||
irc.server.libera.local_hostname string null -> ""
|
irc.server.libera.local_hostname Zeichenkette null -> ""
|
||||||
irc.server.libera.msg_kick string null -> ""
|
irc.server.libera.msg_kick Zeichenkette null -> ""
|
||||||
irc.server.libera.msg_part string null -> "WeeChat ${info:version}"
|
irc.server.libera.msg_part Zeichenkette null -> "WeeChat ${info:version}"
|
||||||
irc.server.libera.msg_quit string null -> "WeeChat ${info:version}"
|
irc.server.libera.msg_quit Zeichenkette null -> "WeeChat ${info:version}"
|
||||||
irc.server.libera.nicks string null -> "alice,alice1,alice2,alice3,alice4"
|
irc.server.libera.nicks Zeichenkette null -> "${username},${username}2,${username}3,${username}4,${username}5"
|
||||||
irc.server.libera.nicks_alternate boolean null -> on
|
irc.server.libera.nicks_alternate boolesch null -> on
|
||||||
irc.server.libera.notify string null -> ""
|
irc.server.libera.notify Zeichenkette null -> ""
|
||||||
irc.server.libera.password string null -> ""
|
irc.server.libera.password Zeichenkette null -> ""
|
||||||
irc.server.libera.proxy string null -> ""
|
irc.server.libera.proxy Zeichenkette null -> ""
|
||||||
irc.server.libera.realname string null -> ""
|
irc.server.libera.realname Zeichenkette null -> ""
|
||||||
irc.server.libera.sasl_fail enum null -> reconnect
|
irc.server.libera.registered_mode Zeichenkette null -> "r"
|
||||||
irc.server.libera.sasl_key string null -> ""
|
irc.server.libera.sasl_fail Aufzählung null -> reconnect
|
||||||
irc.server.libera.sasl_mechanism enum null -> plain
|
irc.server.libera.sasl_key Zeichenkette null -> ""
|
||||||
irc.server.libera.sasl_password string "${sec.data.libera}"
|
irc.server.libera.sasl_mechanism Aufzählung null -> plain
|
||||||
irc.server.libera.sasl_timeout integer null -> 15
|
irc.server.libera.sasl_password Zeichenkette "${sec.data.libera}"
|
||||||
irc.server.libera.sasl_username string "alice"
|
irc.server.libera.sasl_timeout integer null -> 15
|
||||||
irc.server.libera.split_msg_max_length integer null -> 512
|
irc.server.libera.sasl_username Zeichenkette "alice"
|
||||||
irc.server.libera.tls boolean on
|
irc.server.libera.split_msg_max_length integer null -> 512
|
||||||
irc.server.libera.tls_cert string null -> ""
|
irc.server.libera.tls boolesch null -> on
|
||||||
irc.server.libera.tls_dhkey_size integer null -> 2048
|
irc.server.libera.tls_cert Zeichenkette null -> ""
|
||||||
irc.server.libera.tls_fingerprint string null -> ""
|
irc.server.libera.tls_dhkey_size integer null -> 2048
|
||||||
irc.server.libera.tls_password string null -> ""
|
irc.server.libera.tls_fingerprint Zeichenkette null -> ""
|
||||||
irc.server.libera.tls_priorities string null -> "NORMAL:-VERS-SSL3.0"
|
irc.server.libera.tls_password Zeichenkette null -> ""
|
||||||
irc.server.libera.tls_verify boolean null -> on
|
irc.server.libera.tls_priorities Zeichenkette null -> "NORMAL"
|
||||||
irc.server.libera.usermode string null -> ""
|
irc.server.libera.tls_verify boolesch null -> on
|
||||||
irc.server.libera.username string null -> "alice"
|
irc.server.libera.usermode Zeichenkette null -> ""
|
||||||
|
irc.server.libera.username Zeichenkette null -> "${username}"
|
||||||
....
|
....
|
||||||
|
|
||||||
Wenn Sie beispielsweise automatisch eine Verbindung zu allen von Ihnen
|
Wenn Sie beispielsweise automatisch eine Verbindung zu allen von Ihnen
|
||||||
@@ -3584,9 +3606,10 @@ die Verbindung mit einer vorherigen Version (<0.3.1) funktioniert hat.
|
|||||||
|
|
||||||
* Importieren Sie die Zertifikate in einer Shell:
|
* Importieren Sie die Zertifikate in einer Shell:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir -p ~/.config/weechat/tls
|
mkdir -p ~/.config/weechat/tls
|
||||||
$ wget -O ~/.config/weechat/tls/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
|
wget -O ~/.config/weechat/tls/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -3607,10 +3630,11 @@ Es ist möglich mehrere Zertifikate in der Datei CAs.pem zu verwenden.
|
|||||||
|
|
||||||
* Erstellen Sie ein Zertifikat in der Shell:
|
* Erstellen Sie ein Zertifikat in der Shell:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir -p ~/.config/weechat/tls
|
mkdir -p ~/.config/weechat/tls
|
||||||
$ cd ~/.config/weechat/tls
|
cd ~/.config/weechat/tls
|
||||||
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
|
openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -3659,8 +3683,9 @@ dadurch kein Passwort während des Verbindungsaufbaus benötigt).
|
|||||||
|
|
||||||
Ein Schlüssel kann mit folgendem Befehl erzeugt werden:
|
Ein Schlüssel kann mit folgendem Befehl erzeugt werden:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.config/weechat/ecdsa.pem
|
openssl ecparam -genkey -name prime256v1 -out ~/.config/weechat/ecdsa.pem
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -3670,8 +3695,9 @@ das auch beispielsweise `~/.weechat` sein kann.
|
|||||||
Um den öffentlichen Schlüssel zu erhalten (base64 enkodiert) muss
|
Um den öffentlichen Schlüssel zu erhalten (base64 enkodiert) muss
|
||||||
folgender Befehl ausgeführt werden:
|
folgender Befehl ausgeführt werden:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ openssl ec -noout -text -conv_form compressed -in ~/.config/weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64
|
openssl ec -noout -text -conv_form compressed -in ~/.config/weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64
|
||||||
----
|
----
|
||||||
|
|
||||||
Nun Verbindung zum Server herstellen, identifizieren (z.B. mittels "nickserv identify")
|
Nun Verbindung zum Server herstellen, identifizieren (z.B. mittels "nickserv identify")
|
||||||
@@ -3741,8 +3767,9 @@ Privatsphäre und Sicherheit im Internet verbessern können.
|
|||||||
|
|
||||||
Im ersten Schritt muss Tor installiert werden. Für Debian (und Derivate):
|
Im ersten Schritt muss Tor installiert werden. Für Debian (und Derivate):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ sudo apt-get install tor
|
sudo apt-get install tor
|
||||||
----
|
----
|
||||||
|
|
||||||
In WeeChat muss nun ein socks5-Proxy für den Tor Service erstellt werden (Hostname/IP
|
In WeeChat muss nun ein socks5-Proxy für den Tor Service erstellt werden (Hostname/IP
|
||||||
@@ -4026,7 +4053,7 @@ Spezifikation: https://ircv3.net/specs/extensions/message-tags[message-tags ^
|
|||||||
Diese Funktion ermöglicht das Hinzufügen von Metadaten zu Nachrichten. +
|
Diese Funktion ermöglicht das Hinzufügen von Metadaten zu Nachrichten. +
|
||||||
Diese Tags können mit dem Befehl `/debug tags` angezeigt werden.
|
Diese Tags können mit dem Befehl `/debug tags` angezeigt werden.
|
||||||
|
|
||||||
Um diese Funktion zu verwenden, muss sie aktiviert werden: <<typing_notifications,typing notifications>>.
|
Um diese Funktion zu verwenden, muss sie aktiviert werden: <<typing_notifications,Schreibbenachrichtigung>>.
|
||||||
|
|
||||||
[[irc_ircv3_monitor]]
|
[[irc_ircv3_monitor]]
|
||||||
==== monitor
|
==== monitor
|
||||||
@@ -4097,7 +4124,7 @@ Mit dieser Funktion können Sie Ihren richtigen Namen ändern, indem Sie den
|
|||||||
|
|
||||||
Spezifikation: https://ircv3.net/specs/client-tags/typing[typing ^↗^^]
|
Spezifikation: https://ircv3.net/specs/client-tags/typing[typing ^↗^^]
|
||||||
|
|
||||||
Siehe das entsprechende Kapitel <<typing_notifications,Typing notifications>>.
|
Siehe das entsprechende Kapitel <<typing_notifications,Schreibbenachrichtigung>>.
|
||||||
|
|
||||||
[[irc_ircv3_userhost_in_names]]
|
[[irc_ircv3_userhost_in_names]]
|
||||||
==== userhost-in-names
|
==== userhost-in-names
|
||||||
@@ -4166,7 +4193,7 @@ Schlüssel erfordert, aber nicht `#channel2`:
|
|||||||
/set irc.server.libera.autojoin "#channel1,#channel2 key1"
|
/set irc.server.libera.autojoin "#channel1,#channel2 key1"
|
||||||
----
|
----
|
||||||
|
|
||||||
Um eine Hilfe über das Format zu erhalten, siehe `/help irc.server.libera.autojoin`.
|
Hilfe zum Format findet man unter Option <<option_irc.server_default.autojoin,irc.server_default.autojoin>>.
|
||||||
|
|
||||||
[[irc_private_messages]]
|
[[irc_private_messages]]
|
||||||
=== private Nachrichten
|
=== private Nachrichten
|
||||||
@@ -4215,7 +4242,7 @@ damit die Zeilen im Buffer unterdrückt werden. Zum Beispiel:
|
|||||||
----
|
----
|
||||||
|
|
||||||
Dabei ist es möglich, einen Filter für nur einen Kanal oder für mehrere Kanäle zu erstellen, die mit
|
Dabei ist es möglich, einen Filter für nur einen Kanal oder für mehrere Kanäle zu erstellen, die mit
|
||||||
dem selben Namen beginnen (siehe `/help filter`):
|
dem selben Namen beginnen (siehe den Befehl <<command_weechat_filter,/filter>>):
|
||||||
|
|
||||||
----
|
----
|
||||||
/filter add irc_smart_weechat irc.libera.#weechat* irc_smart_filter *
|
/filter add irc_smart_weechat irc.libera.#weechat* irc_smart_filter *
|
||||||
@@ -4671,10 +4698,11 @@ Der Standardpfad zum Zertifikat/Schlüssel wird durch die Option definiert
|
|||||||
Ein Zertifikat und einen privaten Schlüssel kann man mit folgenden Befehlen
|
Ein Zertifikat und einen privaten Schlüssel kann man mit folgenden Befehlen
|
||||||
erstellen:
|
erstellen:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir -p ~/.config/weechat/tls
|
mkdir -p ~/.config/weechat/tls
|
||||||
$ cd ~/.config/weechat/tls
|
cd ~/.config/weechat/tls
|
||||||
$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4750,13 +4778,21 @@ Zum Beispiel:
|
|||||||
Jetzt kann man sich über Port 9000 mit einem WeeChat oder einer Remote-Schnittstelle
|
Jetzt kann man sich über Port 9000 mit einem WeeChat oder einer Remote-Schnittstelle
|
||||||
verbinden, indem das Passwort „mypassword“ verwendet wird.
|
verbinden, indem das Passwort „mypassword“ verwendet wird.
|
||||||
|
|
||||||
So stellt man mit WeeChat eine Verbindung zu einem _api_ Relay her:
|
Um eine lokale Verbindung via _api_ Relay mittels WeeChat herzustelen:
|
||||||
|
|
||||||
----
|
----
|
||||||
/remote add weechat http://localhost:9000 -password=mypassword
|
/remote add weechat http://localhost:9000 -password=mypassword
|
||||||
/remote connect weechat
|
/remote connect weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
|
Um eine entfernte Verbindung via _api_Relay mittels WeeChat herzustelen
|
||||||
|
(TLS wird dringend empfohlen):
|
||||||
|
|
||||||
|
----
|
||||||
|
/remote add weechat https://example.com:9000 -password=mypassword
|
||||||
|
/remote connect weechat
|
||||||
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Der Remote-WeeChat muss dieselbe API-Version wie der lokale WeeChat nutzen.
|
Der Remote-WeeChat muss dieselbe API-Version wie der lokale WeeChat nutzen.
|
||||||
Daher wird dringend empfohlen, auf dem Remote- und dem lokalen Client genau
|
Daher wird dringend empfohlen, auf dem Remote- und dem lokalen Client genau
|
||||||
@@ -4778,10 +4814,10 @@ dieses Protokoll verbinden.
|
|||||||
Zum Beispiel:
|
Zum Beispiel:
|
||||||
|
|
||||||
----
|
----
|
||||||
/relay add weechat 9000
|
/relay add weechat 9500
|
||||||
----
|
----
|
||||||
|
|
||||||
Nun kann man über den Port 9000 mittels einer Oberfläche und dem Passwort
|
Nun kann man über den Port 9500 mittels einer Oberfläche und dem Passwort
|
||||||
"meinPasswort" eine Verbindung zu WeeChat herstellen.
|
"meinPasswort" eine Verbindung zu WeeChat herstellen.
|
||||||
|
|
||||||
[[relay_websocket]]
|
[[relay_websocket]]
|
||||||
@@ -4798,10 +4834,10 @@ Ein WebSocket kann in HTML5, mit einer JavaScript Zeile, geöffnet werden:
|
|||||||
|
|
||||||
[source,javascript]
|
[source,javascript]
|
||||||
----
|
----
|
||||||
websocket = new WebSocket("ws://server.com:9000/weechat");
|
websocket = new WebSocket("ws://example.com:9500/weechat");
|
||||||
----
|
----
|
||||||
|
|
||||||
Der Port (im Beispiel: 9000) ist der Port der in der Relay Erweiterung angegeben wurde.
|
Der Port (im Beispiel: 9500) ist der Port der in der Relay Erweiterung angegeben wurde.
|
||||||
|
|
||||||
Die URI muss mit „/weechat“ für die Protokolle _irc_ und _weechat_ und mit „/api“
|
Die URI muss mit „/weechat“ für die Protokolle _irc_ und _weechat_ und mit „/api“
|
||||||
für das Protokoll _api_ enden.
|
für das Protokoll _api_ enden.
|
||||||
@@ -4824,8 +4860,9 @@ andere Ports nicht geöffnet werden können.
|
|||||||
|
|
||||||
OpenSSH nutzen:
|
OpenSSH nutzen:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
ssh -L 9000:.weechat/relay_socket user@hostname
|
||||||
----
|
----
|
||||||
|
|
||||||
Dies leitet lokale relay Client Verbindungen von Port 9000 um, zu
|
Dies leitet lokale relay Client Verbindungen von Port 9000 um, zu
|
||||||
@@ -4913,34 +4950,39 @@ einige Beispiele:
|
|||||||
|
|
||||||
* Ändert den eigenen Nick auf dem IRC Server libera in "newnick":
|
* Ändert den eigenen Nick auf dem IRC Server libera in "newnick":
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_12345
|
echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
* Schickt eine Nachrich in den IRC #weechat Channel:
|
* Schickt eine Nachrich in den IRC #weechat Channel:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
|
echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
* Sendet eine mehrzeilige Nachricht in den IRC Kanal #test, wenn die Fähigkeit "draft/multiline"
|
* Sendet eine mehrzeilige Nachricht in den IRC Kanal #test, wenn die Fähigkeit "draft/multiline"
|
||||||
auf dem Ergo Server aktiviert ist:
|
auf dem Ergo Server aktiviert ist:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
|
echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
* Schickt eine Nachricht in den aktuellen Buffer:
|
* Schickt eine Nachricht in den aktuellen Buffer:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ echo '*hello!' >/run/user/1000/weechat/weechat_fifo_12345
|
echo '*hello!' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
* Sendet zwei Befehle um alle Python-Skripten zu entfernen und dann neu zu laden (die beiden Befehle müssen
|
* Sendet zwei Befehle um alle Python-Skripten zu entfernen und dann neu zu laden (die beiden Befehle müssen
|
||||||
mit "\n" getrennt werden):
|
mit "\n" getrennt werden):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ printf '%b' '*/python unload\n*/python autoload\n' >/run/user/1000/weechat/weechat_fifo_12345
|
printf '%b' '*/python unload\n*/python autoload\n' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
[[fifo_commands]]
|
[[fifo_commands]]
|
||||||
@@ -5858,7 +5900,7 @@ Aus Datenschutzgründen ist das Herunterladen von Skripten standardmäßig deakt
|
|||||||
Um es zu aktivieren, geben Sie diesen Befehl ein:
|
Um es zu aktivieren, geben Sie diesen Befehl ein:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set script.scripts.download_enabled on
|
/script enable
|
||||||
----
|
----
|
||||||
|
|
||||||
Dann können Sie die Liste der Skripte herunterladen und in einem separaten Buffer,
|
Dann können Sie die Liste der Skripte herunterladen und in einem separaten Buffer,
|
||||||
@@ -5868,33 +5910,33 @@ mit dem Befehl <<command_script_script,/script>>, anzeigen lassen:
|
|||||||
:x: *
|
:x: *
|
||||||
....
|
....
|
||||||
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||||
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
|
│1.weechat│322/322 Skripten (Filter: {x}) | Sortierung: i,p,n | Alt+Taste/Eingabe: i=installieren, r=entfernen,>>│
|
||||||
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
|
│2.scripts│{x} autosort.py 3.10 2023-12-31 | Behält die Gruppierung der Buffer nach S│
|
||||||
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
|
│ │{x} highmon.pl 2.7 2020-06-21 | Startet einen Highlight Monitor Buffer. │
|
||||||
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
│ │{x}ia r grep.py 0.8.6 0.8.6 2022-11-11 | Sucht nach regulären Ausdrücken in Buffe│
|
||||||
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
|
│ │{x} colorize_nicks.py 32 2023-10-30 | Im Textbereich oder der Eingabezeile wir│
|
||||||
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
|
│ │##{x}ia r go.py 3.0.1 3.0.1 2024-05-30 | Schneller Wechsel zu Buffern. ##│
|
||||||
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
|
│ │ aesthetic.py 1.0.6 2020-10-25 | Macht Nachrichten Ä S T H E T I S C H an│
|
||||||
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
|
│ │ aformat.py 0.2 2018-06-21 | Alternative Textformatierung, nützlich f│
|
||||||
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
|
│ │ alternatetz.py 0.4 2022-01-25 | Fügt der Bar-Item eine zusätzliche Zeitz│
|
||||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
|
│ │ amarok2.pl 0.7 2012-05-08 | Fernbedienung für Amarok2 und zum anzeig│
|
||||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
|
│ │ amqp_notify.rb 0.1 2011-01-12 | Schickt private Nachrichten und Highligh│
|
||||||
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
|
│ │ announce_url_title.py 19 2021-06-05 | Schickt einen URL Titel an einen User od│
|
||||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
|
│ │ anotify.py 1.0.2 2020-05-16 | Benachrichtigung von privaten Nachrichte│
|
||||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
|
│ │ anti_password.py 1.2.1 2021-03-13 | Verhindert, dass ein Kennwort versehentl│
|
||||||
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
|
│ │ apply_corrections.py 1.3 2018-06-21 | Zeigt den korrigierten Text an wenn der │
|
||||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
|
│ │ arespond.py 0.1.2 2022-01-25 | Anfragen werden automatisch beantwortet.│
|
||||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
|
│ │ atcomplete.pl 0.001 2016-10-29 | Fügt "@" Präfix bei der Nick Tab-Vervoll│
|
||||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
|
│ │ audacious.pl 0.3 2009-05-03 | Zeigt an welche Musik gerade von Audacio│
|
||||||
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
|
│ │ auth.rb 0.3 2014-05-30 | Automatische Authentifizierung mittels S│
|
||||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
|
│ │ auto_away.py 0.4 2018-11-11 | Ein einfaches Abwesenheit-Skript. │
|
||||||
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
|
│ │ autoauth.py 1.3 2021-11-07 | Erlaubt automatische Authentisierung, we│
|
||||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
|
│ │ autobump.py 0.1.0 2019-06-14 | Springt zu Buffern nach deren Aktivität.│
|
||||||
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
│ │ autoconf.py 0.4 2021-05-11 | Automatisches speichern/laden von Option│
|
||||||
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
|
│ │ autoconnect.py 0.3.3 2019-10-06 | Öffnet erneut die Server und Channel die│
|
||||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
│ │ autojoin_on_invite.py 0.9 2022-10-25 | Betritt automatisch einen Kanal wenn man│
|
||||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
|
│ │ automarkbuffer.py 1.0 2015-03-31 | Buffer werden als gelesen markiert falls│
|
||||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
|
│ │ automerge.py 0.2 2018-03-03 | Automatische Zusammenführung neuer Buffe│
|
||||||
│ │[12:55] [2] [script] 2:scripts │
|
│ │[12:55] [2] [script] 2:scripts │
|
||||||
│ │█ │
|
│ │█ │
|
||||||
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
|
|||||||
+5
-1
@@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
Custom styles for Asciidoctor
|
Custom styles for Asciidoctor
|
||||||
Copyright (C) 2016-2024 Sébastien Helleu <flashcode@flashtux.org>
|
Copyright (C) 2016-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
-->
|
-->
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
@@ -198,6 +198,10 @@ mark {
|
|||||||
|
|
||||||
/* syntax highlighting tuning */
|
/* syntax highlighting tuning */
|
||||||
|
|
||||||
|
pre.pygments {
|
||||||
|
color: #ddd !important;
|
||||||
|
}
|
||||||
|
|
||||||
pre.pygments .tok-cp {
|
pre.pygments .tok-cp {
|
||||||
color: #44cfaf;
|
color: #44cfaf;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
// English translation, for reference only; matches the built-in behavior of core
|
||||||
|
:appendix-caption: Appendix
|
||||||
|
:appendix-refsig: {appendix-caption}
|
||||||
|
:caution-caption: Caution
|
||||||
|
:chapter-signifier: Chapter
|
||||||
|
:chapter-refsig: {chapter-signifier}
|
||||||
|
:example-caption: Example
|
||||||
|
:figure-caption: Figure
|
||||||
|
:important-caption: Important
|
||||||
|
:last-update-label: Last updated
|
||||||
|
ifdef::listing-caption[:listing-caption: Listing]
|
||||||
|
ifdef::manname-title[:manname-title: Name]
|
||||||
|
:note-caption: Note
|
||||||
|
:part-signifier: Part
|
||||||
|
:part-refsig: {part-signifier}
|
||||||
|
ifdef::preface-title[:preface-title: Preface]
|
||||||
|
:section-refsig: Section
|
||||||
|
:table-caption: Table
|
||||||
|
:tip-caption: Tip
|
||||||
|
:toc-title: Table of Contents
|
||||||
|
:untitled-label: Untitled
|
||||||
|
:version-label: Version
|
||||||
|
:warning-caption: Warning
|
||||||
@@ -35,6 +35,9 @@
|
|||||||
*-h*, *--help*::
|
*-h*, *--help*::
|
||||||
Display help.
|
Display help.
|
||||||
|
|
||||||
|
*-i*, *--build-info*::
|
||||||
|
Display build information and exit.
|
||||||
|
|
||||||
*-l*, *--license*::
|
*-l*, *--license*::
|
||||||
Display WeeChat license.
|
Display WeeChat license.
|
||||||
|
|
||||||
|
|||||||
@@ -98,9 +98,9 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
|
|
||||||
// tag::copyright[]
|
// tag::copyright[]
|
||||||
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
||||||
the AUTHORS.adoc file).
|
the AUTHORS.md file).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2025 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
// tag::diagram[]
|
||||||
|
....
|
||||||
|
┌──────────┐ Workstation
|
||||||
|
┌────────┐ ┌───┤ client 1 │ (Linux, Windows,
|
||||||
|
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └──────────┘ BSD, macOS, …)
|
||||||
|
└────────┘ └──╢ │ ║◄───┘ ┌──────────┐
|
||||||
|
...... ║ WeeChat │ Relay ║◄───────┤ client 2 │ Mobile device
|
||||||
|
┌────────┐ ┌──╢ │ ║◄───┐ └──────────┘ (Android, iPhone, …)
|
||||||
|
│ jabber │◄──┘ ╚═══════════╧═══════╝ │ ......
|
||||||
|
└────────┘ │ ┌──────────┐
|
||||||
|
...... └───┤ client N │ Other devices
|
||||||
|
└──────────┘
|
||||||
|
|
||||||
|
|
||||||
|
└────────────┘ └───────────────────┘╘══════╛└────────────────────────────────┘
|
||||||
|
network servers ncurses interface relay remote interfaces
|
||||||
|
....
|
||||||
|
// end::diagram[]
|
||||||
+35
-26
@@ -2,6 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
|
include::includes/attributes-en.adoc[]
|
||||||
|
|
||||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||||
|
|
||||||
@@ -326,6 +327,7 @@ WeeChat "core" is located in following directories:
|
|||||||
| relay/ | Relay plugin (IRC proxy and relay for remote interfaces).
|
| relay/ | Relay plugin (IRC proxy and relay for remote interfaces).
|
||||||
| relay.c | Main relay functions.
|
| relay.c | Main relay functions.
|
||||||
| relay-auth.c | Clients authentication.
|
| relay-auth.c | Clients authentication.
|
||||||
|
| relay-bar-item.c | Relay bar items.
|
||||||
| relay-buffer.c | Relay buffer.
|
| relay-buffer.c | Relay buffer.
|
||||||
| relay-client.c | Clients of relay.
|
| relay-client.c | Clients of relay.
|
||||||
| relay-command.c | Relay commands.
|
| relay-command.c | Relay commands.
|
||||||
@@ -422,10 +424,11 @@ WeeChat "core" is located in following directories:
|
|||||||
| test-core-crypto.cpp | Tests: cryptographic functions.
|
| test-core-crypto.cpp | Tests: cryptographic functions.
|
||||||
| test-core-dir.cpp | Tests: directory/file functions.
|
| test-core-dir.cpp | Tests: directory/file functions.
|
||||||
| test-core-eval.cpp | Tests: evaluation of expressions.
|
| test-core-eval.cpp | Tests: evaluation of expressions.
|
||||||
| test-core-hashtble.cpp | Tests: hashtables.
|
| test-core-hashtable.cpp | Tests: hashtables.
|
||||||
| test-core-hdata.cpp | Tests: hdata.
|
| test-core-hdata.cpp | Tests: hdata.
|
||||||
| test-core-hook.cpp | Tests: hooks.
|
| test-core-hook.cpp | Tests: hooks.
|
||||||
| test-core-infolist.cpp | Tests: infolists.
|
| test-core-infolist.cpp | Tests: infolists.
|
||||||
|
| test-core-input.cpp | Tests: input functions.
|
||||||
| test-core-list.cpp | Tests: lists.
|
| test-core-list.cpp | Tests: lists.
|
||||||
| test-core-network.cpp | Tests: network functions.
|
| test-core-network.cpp | Tests: network functions.
|
||||||
| test-core-secure.cpp | Tests: secured data.
|
| test-core-secure.cpp | Tests: secured data.
|
||||||
@@ -502,6 +505,7 @@ WeeChat "core" is located in following directories:
|
|||||||
| relay/ | Root of unit tests for Relay plugin.
|
| relay/ | Root of unit tests for Relay plugin.
|
||||||
| test-relay-auth.cpp | Tests: clients authentication.
|
| test-relay-auth.cpp | Tests: clients authentication.
|
||||||
| test-relay-http.cpp | Tests: HTTP functions for Relay plugin.
|
| test-relay-http.cpp | Tests: HTTP functions for Relay plugin.
|
||||||
|
| test-relay-raw.cpp | Tests: raw messages functions for Relay plugin.
|
||||||
| test-relay-remote.cpp | Tests: remote functions for Relay plugin.
|
| test-relay-remote.cpp | Tests: remote functions for Relay plugin.
|
||||||
| test-relay-websocket.cpp | Tests: websocket functions for Relay plugin.
|
| test-relay-websocket.cpp | Tests: websocket functions for Relay plugin.
|
||||||
| api/ | Root of unit tests for Relay "api" protocol.
|
| api/ | Root of unit tests for Relay "api" protocol.
|
||||||
@@ -531,7 +535,8 @@ Documentation files:
|
|||||||
| weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ ^↗^^].
|
| 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_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_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_relay_api.XX.adoc | link:weechat_relay_api.en.html[Relay "api" protocol ^↗^^] (for remote interfaces).
|
||||||
|
| weechat_relay_weechat.XX.adoc | link:weechat_relay_weechat.en.html[Relay "weechat" protocol ^↗^^] (for remote interfaces).
|
||||||
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide ^↗^^].
|
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide ^↗^^].
|
||||||
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide ^↗^^].
|
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide ^↗^^].
|
||||||
| includes/ | Files included in documentation.
|
| includes/ | Files included in documentation.
|
||||||
@@ -572,7 +577,7 @@ Example in C:
|
|||||||
/*
|
/*
|
||||||
* weechat.c - core functions for WeeChat
|
* weechat.c - core functions for WeeChat
|
||||||
*
|
*
|
||||||
* Copyright (C) 2024 Your Name <your@email.com>
|
* Copyright (C) 2025 Your Name <your@email.com>
|
||||||
*
|
*
|
||||||
* This file is part of WeeChat, the extensible chat client.
|
* This file is part of WeeChat, the extensible chat client.
|
||||||
*
|
*
|
||||||
@@ -1045,16 +1050,16 @@ _src/gui/gui-color.h_):
|
|||||||
| 14 | weechat.color.chat_nick
|
| 14 | weechat.color.chat_nick
|
||||||
| 15 | weechat.color.chat_nick_self
|
| 15 | weechat.color.chat_nick_self
|
||||||
| 16 | weechat.color.chat_nick_other
|
| 16 | weechat.color.chat_nick_other
|
||||||
| 17 | _(not used any more since WeeChat 0.3.4)_
|
| 17 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 18 | _(not used any more since WeeChat 0.3.4)_
|
| 18 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 19 | _(not used any more since WeeChat 0.3.4)_
|
| 19 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 20 | _(not used any more since WeeChat 0.3.4)_
|
| 20 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 21 | _(not used any more since WeeChat 0.3.4)_
|
| 21 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 22 | _(not used any more since WeeChat 0.3.4)_
|
| 22 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 23 | _(not used any more since WeeChat 0.3.4)_
|
| 23 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 24 | _(not used any more since WeeChat 0.3.4)_
|
| 24 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 25 | _(not used any more since WeeChat 0.3.4)_
|
| 25 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 26 | _(not used any more since WeeChat 0.3.4)_
|
| 26 | _(not used anymore since WeeChat 0.3.4)_
|
||||||
| 27 | weechat.color.chat_host
|
| 27 | weechat.color.chat_host
|
||||||
| 28 | weechat.color.chat_delimiters
|
| 28 | weechat.color.chat_delimiters
|
||||||
| 29 | weechat.color.chat_highlight
|
| 29 | weechat.color.chat_highlight
|
||||||
@@ -1170,7 +1175,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
|||||||
|
|
||||||
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^].
|
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
|
Any patch for bug or new feature must be done on branch `main`, preferred way
|
||||||
is a GitHub pull request. A patch can also be sent by e-mail
|
is a GitHub pull request. A patch can also be sent by e-mail
|
||||||
(made with `git diff` or `git format-patch`).
|
(made with `git diff` or `git format-patch`).
|
||||||
|
|
||||||
@@ -1187,15 +1192,15 @@ Where _component_ is one of following:
|
|||||||
| Component | Files | Description
|
| Component | Files | Description
|
||||||
|
|
||||||
| core
|
| core
|
||||||
| AUTHORS.adoc +
|
| AUTHORS.md +
|
||||||
ChangeLog.adoc +
|
CHANGELOG.md +
|
||||||
Contributing.adoc +
|
CONTRIBUTING.md +
|
||||||
.github/FUNDING.yml +
|
.github/FUNDING.yml +
|
||||||
.github/ISSUE_TEMPLATE/* +
|
.github/ISSUE_TEMPLATE/* +
|
||||||
icons/* +
|
icons/* +
|
||||||
po/* +
|
po/* +
|
||||||
README.adoc +
|
README.md +
|
||||||
ReleaseNotes.adoc +
|
UPGRADING.md +
|
||||||
src/core/* +
|
src/core/* +
|
||||||
src/gui/* +
|
src/gui/* +
|
||||||
version.sh +
|
version.sh +
|
||||||
@@ -1252,8 +1257,9 @@ Where _component_ is one of following:
|
|||||||
| Plugin API reference
|
| Plugin API reference
|
||||||
|
|
||||||
| doc/relay
|
| doc/relay
|
||||||
| doc/xx/weechat_relay_protocol.xx.adoc
|
| doc/xx/weechat_relay_api.xx.adoc +
|
||||||
| Relay protocol
|
doc/xx/weechat_relay_weechat.xx.adoc
|
||||||
|
| Relay protocols
|
||||||
|
|
||||||
| doc/dev
|
| doc/dev
|
||||||
| doc/xx/weechat_dev.en.adoc
|
| doc/xx/weechat_dev.en.adoc
|
||||||
@@ -1297,9 +1303,10 @@ Gettext files are in directory _po/_.
|
|||||||
If you want to initialize a new language, use command `msginit`. For example to
|
If you want to initialize a new language, use command `msginit`. For example to
|
||||||
create a file which is ready to translate to Dutch:
|
create a file which is ready to translate to Dutch:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cd po
|
cd po
|
||||||
$ msginit -i weechat.pot -l nl_NL -o nl.po
|
msginit -i weechat.pot -l nl_NL -o nl.po
|
||||||
----
|
----
|
||||||
|
|
||||||
Base language for WeeChat is English, so you must of course perfectly understand
|
Base language for WeeChat is English, so you must of course perfectly understand
|
||||||
@@ -1308,8 +1315,9 @@ English in order to translate to your language.
|
|||||||
After changes in sources, you can regenerate all translations files: run this
|
After changes in sources, you can regenerate all translations files: run this
|
||||||
command in the CMake "build" directory:
|
command in the CMake "build" directory:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ make translations && make update-po
|
make translations && make update-po
|
||||||
----
|
----
|
||||||
|
|
||||||
Then you can edit .po files (if you can translate in a language).
|
Then you can edit .po files (if you can translate in a language).
|
||||||
@@ -1317,8 +1325,9 @@ Then you can edit .po files (if you can translate in a language).
|
|||||||
When done, you *have* to check your file with
|
When done, you *have* to check your file with
|
||||||
https://github.com/flashcode/msgcheck[msgcheck ^↗^^]:
|
https://github.com/flashcode/msgcheck[msgcheck ^↗^^]:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ msgcheck.py xx.po
|
msgcheck.py xx.po
|
||||||
----
|
----
|
||||||
|
|
||||||
And then you can recompile WeeChat to use the new translations.
|
And then you can recompile WeeChat to use the new translations.
|
||||||
@@ -1355,5 +1364,5 @@ warnings, ... These words must be kept unchanged:
|
|||||||
When there is a name after `+<<link_name>>+`, then you must translate it:
|
When there is a name after `+<<link_name>>+`, then you must translate it:
|
||||||
|
|
||||||
----
|
----
|
||||||
<<link_name,this text must be translated>>
|
<<link_name,this text should be translated>>
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
|
include::includes/attributes-en.adoc[]
|
||||||
|
|
||||||
[[general]]
|
[[general]]
|
||||||
== General
|
== General
|
||||||
@@ -48,12 +49,14 @@ If you still have issues, please report them to the developers.
|
|||||||
It is recommended to use https://brew.sh/[Homebrew ^↗^^],
|
It is recommended to use https://brew.sh/[Homebrew ^↗^^],
|
||||||
you can get help with:
|
you can get help with:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
brew info weechat
|
brew info weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
You can install WeeChat with this command:
|
You can install WeeChat with this command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
brew install weechat
|
brew install weechat
|
||||||
----
|
----
|
||||||
@@ -266,7 +269,7 @@ for more info about the hotlist.
|
|||||||
[[input_bar_size]]
|
[[input_bar_size]]
|
||||||
=== How to use command line with more than one line?
|
=== How to use command line with more than one line?
|
||||||
|
|
||||||
The option _size_ in input bar can be set to a value higher than 1 (for fixed
|
The option _size_ in input bar can be set to a value greater than 1 (for fixed
|
||||||
size, default size is 1) or 0 for dynamic size, and then option _size_max_ will
|
size, default size is 1) or 0 for dynamic size, and then option _size_max_ will
|
||||||
set the max size (0 = no limit).
|
set the max size (0 = no limit).
|
||||||
|
|
||||||
@@ -313,10 +316,14 @@ You can use a terminal with rectangular selection (like rxvt-unicode,
|
|||||||
konsole, gnome-terminal, etc.). Key is usually kbd:[Ctrl] + kbd:[Alt] + mouse
|
konsole, gnome-terminal, etc.). Key is usually kbd:[Ctrl] + kbd:[Alt] + mouse
|
||||||
selection.
|
selection.
|
||||||
|
|
||||||
|
You can toggle nicklist and make it visible only when needed, with key
|
||||||
|
kbd:[Alt+Shift+N].
|
||||||
|
|
||||||
Another solution is to move nicklist to top or bottom, for example:
|
Another solution is to move nicklist to top or bottom, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
|
/set weechat.bar.nicklist.size_max 8
|
||||||
----
|
----
|
||||||
|
|
||||||
[[urls]]
|
[[urls]]
|
||||||
@@ -326,10 +333,13 @@ You can use the bare display (default key: kbd:[Alt+l] (`L`)).
|
|||||||
|
|
||||||
To make opening URLs easier, you can:
|
To make opening URLs easier, you can:
|
||||||
|
|
||||||
|
* toggle nicklist and make it visible only when needed, with key kbd:[Alt+Shift+N]
|
||||||
|
|
||||||
* move nicklist to top:
|
* move nicklist to top:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
|
/set weechat.bar.nicklist.size_max 8
|
||||||
----
|
----
|
||||||
|
|
||||||
* disable alignment for multiline words:
|
* disable alignment for multiline words:
|
||||||
@@ -379,6 +389,7 @@ There is no option in WeeChat to change the timezone, the environment variable
|
|||||||
|
|
||||||
In your shell initialization file or on command line, before starting WeeChat:
|
In your shell initialization file or on command line, before starting WeeChat:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
export TZ=America/New_York
|
export TZ=America/New_York
|
||||||
----
|
----
|
||||||
@@ -682,16 +693,18 @@ According to terminfo used, mouse may not be supported.
|
|||||||
|
|
||||||
You can test mouse support in terminal:
|
You can test mouse support in terminal:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ printf '\033[?1002h'
|
printf '\033[?1002h'
|
||||||
----
|
----
|
||||||
|
|
||||||
And then click on first char of terminal (upper left). You should see " !!#!!".
|
And then click on first char of terminal (upper left). You should see " !!#!!".
|
||||||
|
|
||||||
To disable mouse in terminal:
|
To disable mouse in terminal:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ printf '\033[?1002l'
|
printf '\033[?1002l'
|
||||||
----
|
----
|
||||||
|
|
||||||
[[mouse_coords]]
|
[[mouse_coords]]
|
||||||
@@ -746,7 +759,7 @@ should be, you can specify the fingerprint (SHA-512, SHA-256 or SHA-1):
|
|||||||
You can try a different priority string, replace "xxx" by your server name:
|
You can try a different priority string, replace "xxx" by your server name:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_tls_libera]]
|
[[irc_tls_libera]]
|
||||||
@@ -993,14 +1006,15 @@ for help).
|
|||||||
Scripts are not compatible with other IRC clients.
|
Scripts are not compatible with other IRC clients.
|
||||||
|
|
||||||
[[scripts_update]]
|
[[scripts_update]]
|
||||||
=== The command "/script update" can not read scripts, how to fix that?
|
=== The command "/script update" cannot read scripts, how to fix that?
|
||||||
|
|
||||||
First check questions about TLS 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):
|
If still not working, try to manually delete the scripts file (in your shell):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ rm ~/.cache/weechat/script/plugins.xml.gz
|
rm ~/.cache/weechat/script/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1024,15 +1038,17 @@ have to update manually the file yourself to get updates):
|
|||||||
|
|
||||||
* in your shell, with curl installed:
|
* in your shell, with curl installed:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cd ~/.cache/weechat/script
|
cd ~/.cache/weechat/script
|
||||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
curl -O https://weechat.org/files/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
If you're running macOS and the downloaded file has a size of 0 bytes,
|
If you're running macOS and the downloaded file has a size of 0 bytes,
|
||||||
try to set this variable in your shell initialization file or on command line,
|
try to set this variable in your shell initialization file or on command line,
|
||||||
before starting WeeChat:
|
before starting WeeChat:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||||
----
|
----
|
||||||
@@ -1202,6 +1218,7 @@ See https://weechat.org/about/support/[this page ^↗^^].
|
|||||||
|
|
||||||
When you run WeeChat under gdb, you may have this error:
|
When you run WeeChat under gdb, you may have this error:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ gdb /path/to/weechat
|
$ gdb /path/to/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1212,6 +1229,7 @@ Cannot find new threads: generic error
|
|||||||
To fix that, you can run gdb with this command (replace path to libpthread and
|
To fix that, you can run gdb with this command (replace path to libpthread and
|
||||||
WeeChat with paths on your system):
|
WeeChat with paths on your system):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1220,7 +1238,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
|||||||
[[supported_os]]
|
[[supported_os]]
|
||||||
=== What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
|
=== What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
|
||||||
|
|
||||||
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, Mac OS and Windows
|
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, macOS and Windows
|
||||||
(Cygwin and Windows Subsystem for Linux).
|
(Cygwin and Windows Subsystem for Linux).
|
||||||
|
|
||||||
We do our best to run on as many platforms as possible. Help is welcome for
|
We do our best to run on as many platforms as possible. Help is welcome for
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
|
include::includes/attributes-en.adoc[]
|
||||||
|
|
||||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||||
|
|
||||||
@@ -165,9 +166,10 @@ required.
|
|||||||
|
|
||||||
To compile a plugin which has one file "toto.c" (under GNU/Linux):
|
To compile a plugin which has one file "toto.c" (under GNU/Linux):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ gcc -fPIC -Wall -c toto.c
|
gcc -fPIC -Wall -c toto.c
|
||||||
$ gcc -shared -fPIC -o toto.so toto.o
|
gcc -shared -fPIC -o toto.so toto.o
|
||||||
----
|
----
|
||||||
|
|
||||||
[[load_plugin]]
|
[[load_plugin]]
|
||||||
@@ -636,7 +638,7 @@ Arguments:
|
|||||||
|
|
||||||
* _string_: string to cut
|
* _string_: string to cut
|
||||||
* _length_: max chars
|
* _length_: max chars
|
||||||
* _count_suffix_: if 1, the length of suffix is counter in the max length
|
* _count_suffix_: if 1, the length of suffix is counted in the max length
|
||||||
* _screen_: if 1, the cut is based on width of chars displayed
|
* _screen_: if 1, the cut is based on width of chars displayed
|
||||||
* _cut_suffix_: the suffix added after the string if it is cut
|
* _cut_suffix_: the suffix added after the string if it is cut
|
||||||
|
|
||||||
@@ -816,7 +818,7 @@ This function is not available in scripting API.
|
|||||||
|
|
||||||
_WeeChat ≥ 3.8._
|
_WeeChat ≥ 3.8._
|
||||||
|
|
||||||
Case sensitive string comparison.
|
Case-sensitive string comparison.
|
||||||
|
|
||||||
Prototype:
|
Prototype:
|
||||||
|
|
||||||
@@ -852,7 +854,7 @@ This function is not available in scripting API.
|
|||||||
|
|
||||||
_WeeChat ≥ 3.8._
|
_WeeChat ≥ 3.8._
|
||||||
|
|
||||||
Case sensitive string comparison, for _max_ chars.
|
Case-sensitive string comparison, for _max_ chars.
|
||||||
|
|
||||||
Prototype:
|
Prototype:
|
||||||
|
|
||||||
@@ -889,7 +891,7 @@ This function is not available in scripting API.
|
|||||||
|
|
||||||
_Updated in 1.0, 3.8._
|
_Updated in 1.0, 3.8._
|
||||||
|
|
||||||
Case insensitive string comparison.
|
Case-insensitive string comparison.
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Behavior has changed in version 3.8: now all uppercase letters are properly
|
Behavior has changed in version 3.8: now all uppercase letters are properly
|
||||||
@@ -978,7 +980,7 @@ This function is not available in scripting API.
|
|||||||
|
|
||||||
_Updated in 1.0, 3.8._
|
_Updated in 1.0, 3.8._
|
||||||
|
|
||||||
Case insensitive string comparison, for _max_ chars.
|
Case-insensitive string comparison, for _max_ chars.
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Behavior has changed in version 3.8: now all uppercase letters are properly
|
Behavior has changed in version 3.8: now all uppercase letters are properly
|
||||||
@@ -1083,7 +1085,7 @@ Arguments:
|
|||||||
* _string1_: first string for comparison
|
* _string1_: first string for comparison
|
||||||
* _string2_: second string for comparison
|
* _string2_: second string for comparison
|
||||||
* _chars_ignored_: string with chars to ignored
|
* _chars_ignored_: string with chars to ignored
|
||||||
* _case_sensitive_: 1 for case sensitive comparison, otherwise 0
|
* _case_sensitive_: 1 for case-sensitive comparison, otherwise 0
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Behavior has changed in version 3.8 when _case_sensitive_ is set to 0: now all
|
Behavior has changed in version 3.8 when _case_sensitive_ is set to 0: now all
|
||||||
@@ -1093,7 +1095,7 @@ uppercase letters are properly converted to lowercase (by calling function
|
|||||||
Return value:
|
Return value:
|
||||||
|
|
||||||
* arithmetic result of subtracting the last compared UTF-8 char in
|
* arithmetic result of subtracting the last compared UTF-8 char in
|
||||||
_string2_ (converted to lowercase if _case_sentitive_ is set to 0) from the last
|
_string2_ (converted to lowercase if _case_sensitive_ is set to 0) from the last
|
||||||
compared UTF-8 char in _string1_ (converted to lowercase if _case_sensitive_ is
|
compared UTF-8 char in _string1_ (converted to lowercase if _case_sensitive_ is
|
||||||
set to 0):
|
set to 0):
|
||||||
** < 0 if string1 < string2
|
** < 0 if string1 < string2
|
||||||
@@ -1114,7 +1116,7 @@ This function is not available in scripting API.
|
|||||||
|
|
||||||
_Updated in 1.3, 3.8._
|
_Updated in 1.3, 3.8._
|
||||||
|
|
||||||
Case insensitive string search.
|
Case-insensitive string search.
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Behavior has changed in version 3.8: now all uppercase letters are properly
|
Behavior has changed in version 3.8: now all uppercase letters are properly
|
||||||
@@ -1209,7 +1211,7 @@ Arguments:
|
|||||||
* _string_: string
|
* _string_: string
|
||||||
* _mask_: mask with wildcards (`+*+`), each wildcard matches 0 or more chars in
|
* _mask_: mask with wildcards (`+*+`), each wildcard matches 0 or more chars in
|
||||||
the string
|
the string
|
||||||
* _case_sensitive_: 1 for case sensitive comparison, otherwise 0
|
* _case_sensitive_: 1 for case-sensitive comparison, otherwise 0
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Since version 1.0, wildcards are allowed inside the mask
|
Since version 1.0, wildcards are allowed inside the mask
|
||||||
@@ -1271,7 +1273,7 @@ Arguments:
|
|||||||
* _string_: string
|
* _string_: string
|
||||||
* _masks_: list of masks, with a NULL after the last mask in list; each mask
|
* _masks_: list of masks, with a NULL after the last mask in list; each mask
|
||||||
is compared to the string with the function <<_string_match,string_match>>
|
is compared to the string with the function <<_string_match,string_match>>
|
||||||
* _case_sensitive_: 1 for case sensitive comparison, otherwise 0
|
* _case_sensitive_: 1 for case-sensitive comparison, otherwise 0
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Behavior has changed in version 3.8 when _case_sensitive_ is set to 0: now all
|
Behavior has changed in version 3.8 when _case_sensitive_ is set to 0: now all
|
||||||
@@ -1597,7 +1599,7 @@ Flags must be at beginning of regular expression. Format is:
|
|||||||
Allowed flags are:
|
Allowed flags are:
|
||||||
|
|
||||||
* _e_: POSIX extended regular expression (_REG_EXTENDED_)
|
* _e_: POSIX extended regular expression (_REG_EXTENDED_)
|
||||||
* _i_: case insensitive (_REG_ICASE_)
|
* _i_: case-insensitive (_REG_ICASE_)
|
||||||
* _n_: match-any-character operators don't match a newline (_REG_NEWLINE_)
|
* _n_: match-any-character operators don't match a newline (_REG_NEWLINE_)
|
||||||
* _s_: support for substring addressing of matches is not required (_REG_NOSUB_)
|
* _s_: support for substring addressing of matches is not required (_REG_NOSUB_)
|
||||||
|
|
||||||
@@ -2616,8 +2618,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test"
|
|||||||
|
|
||||||
==== string_eval_expression
|
==== string_eval_expression
|
||||||
|
|
||||||
_WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8, 2.0,
|
_WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8, 2.0, 2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0, 4.2.0, 4.3.0, 4.4.0._
|
||||||
2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4, 3.6, 3.8, 4.0.0, 4.2.0, 4.3.0._
|
|
||||||
|
|
||||||
Evaluate an expression and return result as a string.
|
Evaluate an expression and return result as a string.
|
||||||
Special variables with format `+${variable}+` are expanded (see table below).
|
Special variables with format `+${variable}+` are expanded (see table below).
|
||||||
@@ -2791,7 +2792,7 @@ from first used to last):
|
|||||||
== `+1+`
|
== `+1+`
|
||||||
|
|
||||||
| `+==*+` | 2.9
|
| `+==*+` | 2.9
|
||||||
| Is matching mask where "*" is allowed, case sensitive (see function <<_string_match,string_match>>)
|
| Is matching mask where "*" is allowed, case-sensitive (see function <<_string_match,string_match>>)
|
||||||
| >> `+abc def ==* a*f+` +
|
| >> `+abc def ==* a*f+` +
|
||||||
== `+1+` +
|
== `+1+` +
|
||||||
+
|
+
|
||||||
@@ -2799,7 +2800,7 @@ from first used to last):
|
|||||||
== `+0+`
|
== `+0+`
|
||||||
|
|
||||||
| `+!!*+` | 2.9
|
| `+!!*+` | 2.9
|
||||||
| Is NOT wildcard mask where "*" is allowed, case sensitive (see function <<_string_match,string_match>>)
|
| Is NOT wildcard mask where "*" is allowed, case-sensitive (see function <<_string_match,string_match>>)
|
||||||
| >> `+abc def !!* a*f+` +
|
| >> `+abc def !!* a*f+` +
|
||||||
== `+0+` +
|
== `+0+` +
|
||||||
+
|
+
|
||||||
@@ -2807,7 +2808,7 @@ from first used to last):
|
|||||||
== `+1+`
|
== `+1+`
|
||||||
|
|
||||||
| `+=*+` | 1.8
|
| `+=*+` | 1.8
|
||||||
| Is matching mask where "*" is allowed, case insensitive (see function <<_string_match,string_match>>)
|
| Is matching mask where "*" is allowed, case-insensitive (see function <<_string_match,string_match>>)
|
||||||
| >> `+abc def =* A*F+` +
|
| >> `+abc def =* A*F+` +
|
||||||
== `+1+` +
|
== `+1+` +
|
||||||
+
|
+
|
||||||
@@ -2815,7 +2816,7 @@ from first used to last):
|
|||||||
== `+0+`
|
== `+0+`
|
||||||
|
|
||||||
| `+!*+` | 1.8
|
| `+!*+` | 1.8
|
||||||
| Is NOT wildcard mask where "*" is allowed, case insensitive (see function <<_string_match,string_match>>)
|
| Is NOT wildcard mask where "*" is allowed, case-insensitive (see function <<_string_match,string_match>>)
|
||||||
| >> `+abc def !* A*F+` +
|
| >> `+abc def !* A*F+` +
|
||||||
== `+0+` +
|
== `+0+` +
|
||||||
+
|
+
|
||||||
@@ -2823,7 +2824,7 @@ from first used to last):
|
|||||||
== `+1+`
|
== `+1+`
|
||||||
|
|
||||||
| `+==-+` | 2.9
|
| `+==-+` | 2.9
|
||||||
| Is included, case sensitive
|
| Is included, case-sensitive
|
||||||
| >> `+abc def ==- bc+` +
|
| >> `+abc def ==- bc+` +
|
||||||
== `+1+` +
|
== `+1+` +
|
||||||
+
|
+
|
||||||
@@ -2831,7 +2832,7 @@ from first used to last):
|
|||||||
== `+0+`
|
== `+0+`
|
||||||
|
|
||||||
| `+!!-+` | 2.9
|
| `+!!-+` | 2.9
|
||||||
| Is NOT included, case sensitive
|
| Is NOT included, case-sensitive
|
||||||
| >> `+abc def !!- bc+` +
|
| >> `+abc def !!- bc+` +
|
||||||
== `+0+` +
|
== `+0+` +
|
||||||
+
|
+
|
||||||
@@ -2839,7 +2840,7 @@ from first used to last):
|
|||||||
== `+1+`
|
== `+1+`
|
||||||
|
|
||||||
| `+=-+` | 2.9
|
| `+=-+` | 2.9
|
||||||
| Is included, case insensitive
|
| Is included, case-insensitive
|
||||||
| >> `+abc def =- BC+` +
|
| >> `+abc def =- BC+` +
|
||||||
== `+1+` +
|
== `+1+` +
|
||||||
+
|
+
|
||||||
@@ -2847,7 +2848,7 @@ from first used to last):
|
|||||||
== `+0+`
|
== `+0+`
|
||||||
|
|
||||||
| `+!-+` | 2.9
|
| `+!-+` | 2.9
|
||||||
| Is NOT included, case insensitive
|
| Is NOT included, case-insensitive
|
||||||
| >> `+abc def !- BC+` +
|
| >> `+abc def !- BC+` +
|
||||||
== `+0+` +
|
== `+0+` +
|
||||||
+
|
+
|
||||||
@@ -3332,6 +3333,12 @@ expanded to last):
|
|||||||
| >> `+${define:len,${calc:5+3}}${len}x${len}+` +
|
| >> `+${define:len,${calc:5+3}}${len}x${len}+` +
|
||||||
== `+8x8+`
|
== `+8x8+`
|
||||||
|
|
||||||
|
| `+${hdata_count:name[list]}+` +
|
||||||
|
`+${hdata_count:name[pointer]}+` | 4.4.0
|
||||||
|
| Number of items in a hdata list or starting at `pointer`.
|
||||||
|
| >> `+${hdata_count:buffer[gui_buffers]}+` +
|
||||||
|
== `+15+`
|
||||||
|
|
||||||
| `+${sec.data.name}+` |
|
| `+${sec.data.name}+` |
|
||||||
| Value of the secured data `name`.
|
| Value of the secured data `name`.
|
||||||
| >> `+${sec.data.libera_pass}+` +
|
| >> `+${sec.data.libera_pass}+` +
|
||||||
@@ -3995,7 +4002,7 @@ Arguments:
|
|||||||
|
|
||||||
Return value:
|
Return value:
|
||||||
|
|
||||||
* real potision (in bytes)
|
* real position (in bytes)
|
||||||
|
|
||||||
C example:
|
C example:
|
||||||
|
|
||||||
@@ -4755,7 +4762,7 @@ This function is not available in scripting API.
|
|||||||
|
|
||||||
==== util_strftimeval
|
==== util_strftimeval
|
||||||
|
|
||||||
_WeeChat ≥ 4.2.0, updated in 4.3.0._
|
_WeeChat ≥ 4.2.0, updated in 4.3.0, 4.6.4._
|
||||||
|
|
||||||
Format date and time like function `strftime` in C library, using `struct timeval`
|
Format date and time like function `strftime` in C library, using `struct timeval`
|
||||||
as input, and supporting extra specifiers.
|
as input, and supporting extra specifiers.
|
||||||
@@ -4772,6 +4779,8 @@ Arguments:
|
|||||||
* _string_: buffer where the formatted string is stored
|
* _string_: buffer where the formatted string is stored
|
||||||
* _max_: string size
|
* _max_: string size
|
||||||
* _format_: format, the same as _strftime_ function, with these extra specifiers:
|
* _format_: format, the same as _strftime_ function, with these extra specifiers:
|
||||||
|
** `%@`: return the date expressed in Coordinated Universal Time (UTC)
|
||||||
|
instead of date relative to the user's specified timezone _(WeeChat ≥ 4.7.0)_
|
||||||
** `%.N` where `N` is between 1 and 6: zero-padded microseconds on N digits
|
** `%.N` where `N` is between 1 and 6: zero-padded microseconds on N digits
|
||||||
(for example `%.3` for milliseconds)
|
(for example `%.3` for milliseconds)
|
||||||
** `%f`: alias of `%.6`
|
** `%f`: alias of `%.6`
|
||||||
@@ -4788,8 +4797,8 @@ C example:
|
|||||||
char time[256];
|
char time[256];
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
gettimeofday (&tv, NULL);
|
gettimeofday (&tv, NULL);
|
||||||
weechat_util_strftimeval (time, sizeof (time), "%FT%T.%f", &tv);
|
weechat_util_strftimeval (time, sizeof (time), "%@%FT%T.%fZ", &tv);
|
||||||
/* result: 2023-12-26T18:10:04.460509 */
|
/* result: 2023-12-26T18:10:04.460509Z */
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -5808,7 +5817,7 @@ Hashtable functions.
|
|||||||
|
|
||||||
==== hashtable_new
|
==== hashtable_new
|
||||||
|
|
||||||
_WeeChat ≥ 0.3.3._
|
_WeeChat ≥ 0.3.3, updated in 4.4.0._
|
||||||
|
|
||||||
Create a new hashtable.
|
Create a new hashtable.
|
||||||
|
|
||||||
@@ -5837,12 +5846,14 @@ Arguments:
|
|||||||
** _WEECHAT_HASHTABLE_POINTER_
|
** _WEECHAT_HASHTABLE_POINTER_
|
||||||
** _WEECHAT_HASHTABLE_BUFFER_
|
** _WEECHAT_HASHTABLE_BUFFER_
|
||||||
** _WEECHAT_HASHTABLE_TIME_
|
** _WEECHAT_HASHTABLE_TIME_
|
||||||
|
** _WEECHAT_HASHTABLE_LONGLONG_ _(WeeChat ≥ 4.4.0)_
|
||||||
* _type_values_: type for values in hashtable:
|
* _type_values_: type for values in hashtable:
|
||||||
** _WEECHAT_HASHTABLE_INTEGER_
|
** _WEECHAT_HASHTABLE_INTEGER_
|
||||||
** _WEECHAT_HASHTABLE_STRING_
|
** _WEECHAT_HASHTABLE_STRING_
|
||||||
** _WEECHAT_HASHTABLE_POINTER_
|
** _WEECHAT_HASHTABLE_POINTER_
|
||||||
** _WEECHAT_HASHTABLE_BUFFER_
|
** _WEECHAT_HASHTABLE_BUFFER_
|
||||||
** _WEECHAT_HASHTABLE_TIME_
|
** _WEECHAT_HASHTABLE_TIME_
|
||||||
|
** _WEECHAT_HASHTABLE_LONGLONG_ _(WeeChat ≥ 4.4.0)_
|
||||||
* _callback_hash_key_: callback used to "hash" a key (key as integer value), can
|
* _callback_hash_key_: callback used to "hash" a key (key as integer value), can
|
||||||
be NULL if key type is not "buffer" (a default hash function is used),
|
be NULL if key type is not "buffer" (a default hash function is used),
|
||||||
arguments and return value:
|
arguments and return value:
|
||||||
@@ -6203,12 +6214,14 @@ Arguments:
|
|||||||
*** _pointer_: pointer
|
*** _pointer_: pointer
|
||||||
*** _buffer_: buffer
|
*** _buffer_: buffer
|
||||||
*** _time_: time
|
*** _time_: time
|
||||||
|
*** _longlong_: long long integer
|
||||||
** _type_values_: type for values:
|
** _type_values_: type for values:
|
||||||
*** _integer_: integer
|
*** _integer_: integer
|
||||||
*** _string_: string
|
*** _string_: string
|
||||||
*** _pointer_: pointer
|
*** _pointer_: pointer
|
||||||
*** _buffer_: buffer
|
*** _buffer_: buffer
|
||||||
*** _time_: time
|
*** _time_: time
|
||||||
|
*** _longlong_: long long integer
|
||||||
** _keys_: string with list of keys (format: "key1,key2,key3")
|
** _keys_: string with list of keys (format: "key1,key2,key3")
|
||||||
** _keys_sorted_: string with list of sorted keys (format: "key1,key2,key3")
|
** _keys_sorted_: string with list of sorted keys (format: "key1,key2,key3")
|
||||||
** _values_: string with list of values (format: "value1,value2,value3")
|
** _values_: string with list of values (format: "value1,value2,value3")
|
||||||
@@ -6956,7 +6969,7 @@ my_section_delete_option_cb (const void *pointer, void *data,
|
|||||||
/* return WEECHAT_CONFIG_OPTION_UNSET_ERROR; */
|
/* return WEECHAT_CONFIG_OPTION_UNSET_ERROR; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* standard section, user can not add/delete options */
|
/* standard section, user cannot add/delete options */
|
||||||
struct t_config_section *new_section1 =
|
struct t_config_section *new_section1 =
|
||||||
weechat_config_new_section (config_file, "section1", 0, 0,
|
weechat_config_new_section (config_file, "section1", 0, 0,
|
||||||
NULL, NULL, NULL,
|
NULL, NULL, NULL,
|
||||||
@@ -8111,7 +8124,7 @@ def config_boolean_inherited(option: str) -> int: ...
|
|||||||
|
|
||||||
# example
|
# example
|
||||||
option = weechat.config_get("irc.server.libera.autoconnect")
|
option = weechat.config_get("irc.server.libera.autoconnect")
|
||||||
autoconect = weechat.config_boolean_inherited(option)
|
autoconnect = weechat.config_boolean_inherited(option)
|
||||||
----
|
----
|
||||||
|
|
||||||
==== config_integer
|
==== config_integer
|
||||||
@@ -9412,7 +9425,7 @@ _WeeChat ≥ 0.3.6, updated in 2.0._
|
|||||||
|
|
||||||
Remove key binding(s).
|
Remove key binding(s).
|
||||||
|
|
||||||
[WARNING]
|
[CAUTION]
|
||||||
When calling this function, ensure that you will not remove a user key binding.
|
When calling this function, ensure that you will not remove a user key binding.
|
||||||
|
|
||||||
Prototype:
|
Prototype:
|
||||||
@@ -9999,7 +10012,7 @@ C examples:
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/* hook modifier with priority = 2000 */
|
/* hook modifier with priority = 2000 */
|
||||||
/* high priority: called before other modifier calbacks */
|
/* high priority: called before other modifier callbacks */
|
||||||
weechat_hook_modifier ("2000|input_text_display", &modifier_cb, NULL, NULL);
|
weechat_hook_modifier ("2000|input_text_display", &modifier_cb, NULL, NULL);
|
||||||
|
|
||||||
/* hook two signals with priority = 3000 */
|
/* hook two signals with priority = 3000 */
|
||||||
@@ -10465,7 +10478,7 @@ Arguments:
|
|||||||
* _flag_read_: 1 = catch read event, 0 = ignore
|
* _flag_read_: 1 = catch read event, 0 = ignore
|
||||||
* _flag_write_: 1 = catch write event, 0 = ignore
|
* _flag_write_: 1 = catch write event, 0 = ignore
|
||||||
* _flag_exception_: 1 = catch exception event, 0 = ignore
|
* _flag_exception_: 1 = catch exception event, 0 = ignore
|
||||||
(_WeeChat ≥ 1.3_: this argument is ignored and not used any more)
|
(_WeeChat ≥ 1.3_: this argument is ignored and not used anymore)
|
||||||
* _callback_: function called a selected event occurs for file (or socket),
|
* _callback_: function called a selected event occurs for file (or socket),
|
||||||
arguments and return value:
|
arguments and return value:
|
||||||
** _const void *pointer_: pointer
|
** _const void *pointer_: pointer
|
||||||
@@ -10529,7 +10542,7 @@ _Updated in 1.5._
|
|||||||
Hook a process (launched with fork), and catch output.
|
Hook a process (launched with fork), and catch output.
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Since version 0.3.9.2, the shell is not used any more to execute the command.
|
Since version 0.3.9.2, the shell is not used anymore to execute the command.
|
||||||
WeeChat makes an automatic split of the command and its arguments (like the
|
WeeChat makes an automatic split of the command and its arguments (like the
|
||||||
shell does). +
|
shell does). +
|
||||||
If the split is not correct (according to quotes in your command), or if you
|
If the split is not correct (according to quotes in your command), or if you
|
||||||
@@ -10970,6 +10983,11 @@ _WeeChat ≥ 4.1.0._
|
|||||||
|
|
||||||
URL transfer.
|
URL transfer.
|
||||||
|
|
||||||
|
This function is similar to <<_hook_process,hook_process>> and
|
||||||
|
<<_hook_process_hashtable,hook_process_hashtable>> with command "url:..."
|
||||||
|
but it uses a thread instead of new process, making it more lightweight
|
||||||
|
and thus recommended for this usage.
|
||||||
|
|
||||||
Prototype:
|
Prototype:
|
||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
@@ -11116,7 +11134,7 @@ hook2 = weechat.hook_url("http://localhost:8080/", options, 20000, "my_url_cb",
|
|||||||
|
|
||||||
==== hook_connect
|
==== hook_connect
|
||||||
|
|
||||||
_Updated in 1.5, 2.0._
|
_Updated in 1.5, 2.0, 4.4.0._
|
||||||
|
|
||||||
Hook a connection (background connection to a remote host).
|
Hook a connection (background connection to a remote host).
|
||||||
|
|
||||||
@@ -11151,7 +11169,10 @@ Arguments:
|
|||||||
without proxy)
|
without proxy)
|
||||||
* _address_: name or IP address to connect to
|
* _address_: name or IP address to connect to
|
||||||
* _port_: port number
|
* _port_: port number
|
||||||
* _ipv6_: 1 to use IPv6 (with fallback to IPv4), 0 to use only IPv4
|
* _ipv6_:
|
||||||
|
** `WEECHAT_HOOK_CONNECT_IPV6_DISABLE` ^(1)^: disable IPv6 (use only IPv4)
|
||||||
|
** `WEECHAT_HOOK_CONNECT_IPV6_AUTO` ^(1)^: use IPv6 with fallback to IPv4
|
||||||
|
** `WEECHAT_HOOK_CONNECT_IPV6_FORCE` ^(1)^: force IPv6 (do not use IPv4) _(WeeChat ≥ 4.4.0)_
|
||||||
* _retry_: retry count, used to fallback to IPv4 hosts if IPv6 hosts connect
|
* _retry_: retry count, used to fallback to IPv4 hosts if IPv6 hosts connect
|
||||||
but then fail to accept the client
|
but then fail to accept the client
|
||||||
* _gnutls_sess_: GnuTLS session (optional)
|
* _gnutls_sess_: GnuTLS session (optional)
|
||||||
@@ -11171,7 +11192,7 @@ Arguments:
|
|||||||
return value:
|
return value:
|
||||||
** _const void *pointer_: pointer
|
** _const void *pointer_: pointer
|
||||||
** _void *data_: pointer
|
** _void *data_: pointer
|
||||||
** _int status_: connection status:
|
** _int status_: connection status ^(2)^:
|
||||||
*** _WEECHAT_HOOK_CONNECT_OK_: connection OK
|
*** _WEECHAT_HOOK_CONNECT_OK_: connection OK
|
||||||
*** _WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND_: address not found
|
*** _WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND_: address not found
|
||||||
*** _WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND_: IP address not found
|
*** _WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND_: IP address not found
|
||||||
@@ -11183,8 +11204,8 @@ Arguments:
|
|||||||
*** _WEECHAT_HOOK_CONNECT_MEMORY_ERROR_: insufficient memory
|
*** _WEECHAT_HOOK_CONNECT_MEMORY_ERROR_: insufficient memory
|
||||||
*** _WEECHAT_HOOK_CONNECT_TIMEOUT_: timeout
|
*** _WEECHAT_HOOK_CONNECT_TIMEOUT_: timeout
|
||||||
*** _WEECHAT_HOOK_CONNECT_SOCKET_ERROR_: unable to create socket
|
*** _WEECHAT_HOOK_CONNECT_SOCKET_ERROR_: unable to create socket
|
||||||
** _gnutls_rc_: return value of _gnutls_handshake()_
|
** _gnutls_rc_: return value of _gnutls_handshake()_ ^(2)^
|
||||||
** _sock_: socket used to connect
|
** _sock_: socket used to connect ^(2)^
|
||||||
** _const char *error_: return value of _gnutls_strerror(gnutls_rc)_
|
** _const char *error_: return value of _gnutls_strerror(gnutls_rc)_
|
||||||
** _const char *ip_address_: IP address found
|
** _const char *ip_address_: IP address found
|
||||||
** return value:
|
** return value:
|
||||||
@@ -11195,16 +11216,19 @@ Arguments:
|
|||||||
if not NULL, it must have been allocated with malloc (or similar function)
|
if not NULL, it must have been allocated with malloc (or similar function)
|
||||||
and it is automatically freed when the hook is deleted
|
and it is automatically freed when the hook is deleted
|
||||||
|
|
||||||
Return value:
|
[NOTE]
|
||||||
|
^(1)^ Constants for parameter _ipv6_ are available since WeeChat 4.4.0. +
|
||||||
* pointer to new hook, NULL if error occurred
|
For older releases, allowed values are `1` (use IPv6 with fallback to IPv4) and
|
||||||
|
`0` (disable IPv6, use only IPv4). +
|
||||||
[IMPORTANT]
|
^(2)^ In scripts, with WeeChat ≥ 2.0, the callback arguments _status_, _gnutls_rc_
|
||||||
In scripts, with WeeChat ≥ 2.0, the callback arguments _status_, _gnutls_rc_
|
|
||||||
and _sock_ are integers (with WeeChat ≤ 1.9, they were strings). +
|
and _sock_ are integers (with WeeChat ≤ 1.9, they were strings). +
|
||||||
To be compatible with all versions, it is recommended to convert the argument
|
To be compatible with all versions, it is recommended to convert the argument
|
||||||
to integer before using it, for example in Python: `int(sock)`.
|
to integer before using it, for example in Python: `int(sock)`.
|
||||||
|
|
||||||
|
Return value:
|
||||||
|
|
||||||
|
* pointer to new hook, NULL if error occurred
|
||||||
|
|
||||||
C example:
|
C example:
|
||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
@@ -11254,7 +11278,8 @@ my_connect_cb (const void *pointer, void *data, int status, int gnutls_rc,
|
|||||||
|
|
||||||
struct t_hook *my_connect_hook = weechat_hook_connect (NULL,
|
struct t_hook *my_connect_hook = weechat_hook_connect (NULL,
|
||||||
"my.server.org", 1234,
|
"my.server.org", 1234,
|
||||||
1, 0,
|
WEECHAT_HOOK_CONNECT_IPV6_AUTO,
|
||||||
|
0,
|
||||||
NULL, NULL, 0, /* GnuTLS */
|
NULL, NULL, 0, /* GnuTLS */
|
||||||
NULL,
|
NULL,
|
||||||
&my_connect_cb, NULL, NULL);
|
&my_connect_cb, NULL, NULL);
|
||||||
@@ -11270,31 +11295,32 @@ def hook_connect(proxy: str, address: str, port: int, ipv6: int, retry: int, loc
|
|||||||
|
|
||||||
# example
|
# example
|
||||||
def my_connect_cb(data: str, status: int, gnutls_rc: int, sock: int, error: str, ip_address: str) -> int:
|
def my_connect_cb(data: str, status: int, gnutls_rc: int, sock: int, error: str, ip_address: str) -> int:
|
||||||
if status == WEECHAT_HOOK_CONNECT_OK:
|
if status == weechat.WEECHAT_HOOK_CONNECT_OK:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_PROXY_ERROR:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_PROXY_ERROR:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_MEMORY_ERROR:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_MEMORY_ERROR:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_TIMEOUT:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_TIMEOUT:
|
||||||
# ...
|
# ...
|
||||||
elif status == WEECHAT_HOOK_CONNECT_SOCKET_ERROR:
|
elif status == weechat.WEECHAT_HOOK_CONNECT_SOCKET_ERROR:
|
||||||
# ...
|
# ...
|
||||||
return weechat.WEECHAT_RC_OK
|
return weechat.WEECHAT_RC_OK
|
||||||
|
|
||||||
hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
|
hook = weechat.hook_connect("", "my.server.org", 1234,
|
||||||
|
weechat.WEECHAT_HOOK_CONNECT_IPV6_AUTO, 0, "",
|
||||||
"my_connect_cb", "")
|
"my_connect_cb", "")
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -11559,7 +11585,7 @@ C example:
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int
|
int
|
||||||
my_line_cb (const void *pointer, void *data, struct t_hasbtable *line)
|
my_line_cb (const void *pointer, void *data, struct t_hashtable *line)
|
||||||
{
|
{
|
||||||
struct t_hashtable *hashtable;
|
struct t_hashtable *hashtable;
|
||||||
|
|
||||||
@@ -12106,6 +12132,10 @@ List of signals sent by WeeChat and plugins:
|
|||||||
| Pointer: line.
|
| Pointer: line.
|
||||||
| Line added in a buffer.
|
| Line added in a buffer.
|
||||||
|
|
||||||
|
| weechat | [[hook_signal_buffer_line_data_changed]] buffer_line_data_changed | 4.4.0
|
||||||
|
| Pointer: line data.
|
||||||
|
| Line data has been updated in a buffer.
|
||||||
|
|
||||||
| weechat | [[hook_signal_buffer_lines_hidden]] buffer_lines_hidden |
|
| weechat | [[hook_signal_buffer_lines_hidden]] buffer_lines_hidden |
|
||||||
| Pointer: buffer.
|
| Pointer: buffer.
|
||||||
| Lines hidden in buffer.
|
| Lines hidden in buffer.
|
||||||
@@ -12150,6 +12180,10 @@ List of signals sent by WeeChat and plugins:
|
|||||||
| Pointer: buffer.
|
| Pointer: buffer.
|
||||||
| Modes of buffer changed.
|
| Modes of buffer changed.
|
||||||
|
|
||||||
|
| weechat | [[hook_signal_buffer_time_for_each_line_changed]] buffer_time_for_each_line_changed | 4.4.0
|
||||||
|
| Pointer: buffer.
|
||||||
|
| Display time for each line changed.
|
||||||
|
|
||||||
| weechat | [[hook_signal_buffer_type_changed]] buffer_type_changed |
|
| weechat | [[hook_signal_buffer_type_changed]] buffer_type_changed |
|
||||||
| Pointer: buffer.
|
| Pointer: buffer.
|
||||||
| Type of buffer changed.
|
| Type of buffer changed.
|
||||||
@@ -12166,7 +12200,7 @@ List of signals sent by WeeChat and plugins:
|
|||||||
| String: text sent to buffer.
|
| String: text sent to buffer.
|
||||||
| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). +
|
| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). +
|
||||||
If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q"
|
If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q"
|
||||||
can not be used any more to close the buffer.
|
cannot be used anymore to close the buffer.
|
||||||
|
|
||||||
| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8
|
| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8
|
||||||
| -
|
| -
|
||||||
@@ -12260,6 +12294,14 @@ List of signals sent by WeeChat and plugins:
|
|||||||
| String: key combo.
|
| String: key combo.
|
||||||
| Key combo in _cursor_ context.
|
| Key combo in _cursor_ context.
|
||||||
|
|
||||||
|
| weechat | [[hook_signal_layout_buffers_applied]] layout_buffers_applied | 4.4.0
|
||||||
|
| String: layout name.
|
||||||
|
| Layout applied for buffers.
|
||||||
|
|
||||||
|
| weechat | [[hook_signal_layout_windows_applied]] layout_windows_applied | 4.4.0
|
||||||
|
| String: layout name.
|
||||||
|
| Layout applied for windows.
|
||||||
|
|
||||||
| weechat | [[hook_signal_mouse_enabled]] mouse_enabled | 1.1
|
| weechat | [[hook_signal_mouse_enabled]] mouse_enabled | 1.1
|
||||||
| -
|
| -
|
||||||
| Mouse enabled.
|
| Mouse enabled.
|
||||||
@@ -12453,7 +12495,7 @@ hook = weechat.hook_signal("quit;upgrade", "my_signal_cb", "")
|
|||||||
|
|
||||||
==== hook_signal_send
|
==== hook_signal_send
|
||||||
|
|
||||||
_Updated in 1.0._
|
_Updated in 1.0, 4.5.0._
|
||||||
|
|
||||||
Send a signal.
|
Send a signal.
|
||||||
|
|
||||||
@@ -12467,10 +12509,20 @@ int weechat_hook_signal_send (const char *signal, const char *type_data,
|
|||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
* _signal_: signal to send
|
* _signal_: signal to send; flags are allowed before the signal name (see below)
|
||||||
|
_(WeeChat ≥ 4.5.0)_
|
||||||
* _type_data_: type of data sent with signal (see <<_hook_signal,hook_signal>>)
|
* _type_data_: type of data sent with signal (see <<_hook_signal,hook_signal>>)
|
||||||
* _signal_data_: data sent with signal
|
* _signal_data_: data sent with signal
|
||||||
|
|
||||||
|
The signal name can contain flags with the following format: `[flags:xxx,yyy]signal`
|
||||||
|
where `xxx` and `yyy` are names of flags, and `signal` the signal name. +
|
||||||
|
The following flags are supported:
|
||||||
|
|
||||||
|
* _stop_on_error_: exit immediately if a callback returns WEECHAT_RC_ERROR
|
||||||
|
(remaining callbacks are then NOT executed) _(WeeChat ≥ 4.5.0)_
|
||||||
|
* _ignore_eat_: consider any callback returning WEECHAT_RC_OK_EAT is in fact
|
||||||
|
WEECHAT_RC_OK and execute remaining callbacks _(WeeChat ≥ 4.5.0)_
|
||||||
|
|
||||||
Return value _(WeeChat ≥ 1.0)_:
|
Return value _(WeeChat ≥ 1.0)_:
|
||||||
|
|
||||||
* return code of last callback executed (_WEECHAT_RC_OK_ if no callback was
|
* return code of last callback executed (_WEECHAT_RC_OK_ if no callback was
|
||||||
@@ -12484,6 +12536,8 @@ C example:
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int rc = weechat_hook_signal_send ("my_signal", WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
int rc = weechat_hook_signal_send ("my_signal", WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||||
|
int rc2 = weechat_hook_signal_send ("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||||
|
WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||||
----
|
----
|
||||||
|
|
||||||
Script (Python):
|
Script (Python):
|
||||||
@@ -12493,8 +12547,10 @@ Script (Python):
|
|||||||
# prototype
|
# prototype
|
||||||
def hook_signal_send(signal: str, type_data: str, signal_data: str) -> int: ...
|
def hook_signal_send(signal: str, type_data: str, signal_data: str) -> int: ...
|
||||||
|
|
||||||
# example
|
# examples
|
||||||
rc = weechat.hook_signal_send("my_signal", weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
rc = weechat.hook_signal_send("my_signal", weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||||
|
rc2 = weechat.hook_signal_send("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||||
|
weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||||
----
|
----
|
||||||
|
|
||||||
[[signal_logger_backlog]]
|
[[signal_logger_backlog]]
|
||||||
@@ -12779,7 +12835,7 @@ hook = weechat.hook_hsignal("test", "my_hsignal_cb", "")
|
|||||||
|
|
||||||
==== hook_hsignal_send
|
==== hook_hsignal_send
|
||||||
|
|
||||||
_WeeChat ≥ 0.3.4, updated in 1.0._
|
_WeeChat ≥ 0.3.4, updated in 1.0, 4.5.0._
|
||||||
|
|
||||||
Send a hsignal (signal with hashtable).
|
Send a hsignal (signal with hashtable).
|
||||||
|
|
||||||
@@ -12792,7 +12848,8 @@ int weechat_hook_hsignal_send (const char *signal, struct t_hashtable *hashtable
|
|||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
* _signal_: signal to send
|
* _signal_: signal to send; flags are allowed before the signal name
|
||||||
|
(see function <<_hook_signal_send,hook_signal_send>>) _(WeeChat ≥ 4.5.0)_
|
||||||
* _hashtable_: hashtable
|
* _hashtable_: hashtable
|
||||||
|
|
||||||
Return value _(WeeChat ≥ 1.0)_:
|
Return value _(WeeChat ≥ 1.0)_:
|
||||||
@@ -12807,7 +12864,7 @@ C example:
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int rc;
|
int rc, rc2;
|
||||||
struct t_hashtable *hashtable = weechat_hashtable_new (8,
|
struct t_hashtable *hashtable = weechat_hashtable_new (8,
|
||||||
WEECHAT_HASHTABLE_STRING,
|
WEECHAT_HASHTABLE_STRING,
|
||||||
WEECHAT_HASHTABLE_STRING,
|
WEECHAT_HASHTABLE_STRING,
|
||||||
@@ -12817,6 +12874,7 @@ if (hashtable)
|
|||||||
{
|
{
|
||||||
weechat_hashtable_set (hashtable, "key", "value");
|
weechat_hashtable_set (hashtable, "key", "value");
|
||||||
rc = weechat_hook_hsignal_send ("my_hsignal", hashtable);
|
rc = weechat_hook_hsignal_send ("my_hsignal", hashtable);
|
||||||
|
rc2 = weechat_hook_hsignal_send ("[flags:stop_on_error,ignore_eat]my_hsignal2", hashtable);
|
||||||
weechat_hashtable_free (hashtable);
|
weechat_hashtable_free (hashtable);
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
@@ -12828,8 +12886,9 @@ Script (Python):
|
|||||||
# prototype
|
# prototype
|
||||||
def hook_hsignal_send(signal: str, hashtable: Dict[str, str]) -> int: ...
|
def hook_hsignal_send(signal: str, hashtable: Dict[str, str]) -> int: ...
|
||||||
|
|
||||||
# example
|
# examples
|
||||||
rc = weechat.hook_hsignal_send("my_hsignal", {"key": "value"})
|
rc = weechat.hook_hsignal_send("my_hsignal", {"key": "value"})
|
||||||
|
rc2 = weechat.hook_hsignal_send("[flags:stop_on_error,ignore_eat]my_hsignal2", {"key": "value"})
|
||||||
----
|
----
|
||||||
|
|
||||||
[[hsignal_irc_redirect_command]]
|
[[hsignal_irc_redirect_command]]
|
||||||
@@ -13962,6 +14021,10 @@ Properties:
|
|||||||
| Name of sub plugin (commonly script name, which is displayed in
|
| Name of sub plugin (commonly script name, which is displayed in
|
||||||
`/help command` for a hook of type _command_).
|
`/help command` for a hook of type _command_).
|
||||||
|
|
||||||
|
| keep_spaces_right | 4.6.0 | _command_, _command_run_
|
||||||
|
| "0" or "1"
|
||||||
|
| Keep trailing spaces in command arguments when it is executed.
|
||||||
|
|
||||||
| stdin | 0.4.3 | _process_, _process_hashtable_
|
| stdin | 0.4.3 | _process_, _process_hashtable_
|
||||||
| any string
|
| any string
|
||||||
| Send data on standard input (_stdin_) of child process.
|
| Send data on standard input (_stdin_) of child process.
|
||||||
@@ -14373,7 +14436,7 @@ Arguments:
|
|||||||
** `+==id+`: the name used is the buffer unique identifier (`id`) _(WeeChat ≥ 4.3.0)_
|
** `+==id+`: the name used is the buffer unique identifier (`id`) _(WeeChat ≥ 4.3.0)_
|
||||||
* _name_: name of buffer, if it is NULL or empty string, the current buffer is
|
* _name_: name of buffer, if it is NULL or empty string, the current buffer is
|
||||||
returned (buffer displayed by current window); if the name starts with
|
returned (buffer displayed by current window); if the name starts with
|
||||||
`(?i)`, the search is case insensitive _(WeeChat ≥ 1.0)_
|
`(?i)`, the search is case-insensitive _(WeeChat ≥ 1.0)_
|
||||||
|
|
||||||
Return value:
|
Return value:
|
||||||
|
|
||||||
@@ -14608,7 +14671,6 @@ Arguments:
|
|||||||
** _number_: number of buffer (starts to 1)
|
** _number_: number of buffer (starts to 1)
|
||||||
** _layout_number_: number of buffer saved in layout
|
** _layout_number_: number of buffer saved in layout
|
||||||
** _layout_number_merge_order_: order in merge for layout
|
** _layout_number_merge_order_: order in merge for layout
|
||||||
** _short_name_is_set_: 1 if short name is set, 0 if not set
|
|
||||||
** _type_: buffer type (0: formatted, 1: free content)
|
** _type_: buffer type (0: formatted, 1: free content)
|
||||||
** _notify_: notify level for buffer
|
** _notify_: notify level for buffer
|
||||||
** _num_displayed_: number of windows displaying buffer
|
** _num_displayed_: number of windows displaying buffer
|
||||||
@@ -14625,7 +14687,7 @@ Arguments:
|
|||||||
** _next_line_id_: next line id in buffer _(WeeChat ≥ 3.8)_
|
** _next_line_id_: next line id in buffer _(WeeChat ≥ 3.8)_
|
||||||
** _time_for_each_line_: 1 if time is displayed for each line in buffer (default), otherwise 0
|
** _time_for_each_line_: 1 if time is displayed for each line in buffer (default), otherwise 0
|
||||||
** _nicklist_: 1 if nicklist is enabled, otherwise 0
|
** _nicklist_: 1 if nicklist is enabled, otherwise 0
|
||||||
** _nicklist_case_sensitive_: 1 if nicks are case sensitive, otherwise 0
|
** _nicklist_case_sensitive_: 1 if nicks are case-sensitive, otherwise 0
|
||||||
** _nicklist_max_length_: max length for a nick
|
** _nicklist_max_length_: max length for a nick
|
||||||
** _nicklist_display_groups_: 1 if groups are displayed, otherwise 0
|
** _nicklist_display_groups_: 1 if groups are displayed, otherwise 0
|
||||||
** _nicklist_count_: number of nicks and groups in nicklist
|
** _nicklist_count_: number of nicks and groups in nicklist
|
||||||
@@ -14651,7 +14713,7 @@ Arguments:
|
|||||||
** _text_search_direction_: direction for search:
|
** _text_search_direction_: direction for search:
|
||||||
*** 0: backward search (direction: oldest messages/commands)
|
*** 0: backward search (direction: oldest messages/commands)
|
||||||
*** 1: forward search (direction: newest messages/commands)
|
*** 1: forward search (direction: newest messages/commands)
|
||||||
** _text_search_exact_: 1 if text search is case sensitive
|
** _text_search_exact_: 1 if text search is case-sensitive
|
||||||
** _text_search_regex_: 1 if searching with a regular expression
|
** _text_search_regex_: 1 if searching with a regular expression
|
||||||
** _text_search_where_:
|
** _text_search_where_:
|
||||||
*** 0: no search at this moment
|
*** 0: no search at this moment
|
||||||
@@ -14780,7 +14842,7 @@ C example:
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
weechat_printf (NULL, "plugin pointer of my buffer: %lx",
|
weechat_printf (NULL, "plugin pointer of my buffer: %p",
|
||||||
weechat_buffer_get_pointer (my_buffer, "plugin"));
|
weechat_buffer_get_pointer (my_buffer, "plugin"));
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -14828,6 +14890,12 @@ Properties:
|
|||||||
are *NOT* checked) +
|
are *NOT* checked) +
|
||||||
"-1": remove buffer from hotlist _(WeeChat ≥ 1.0)_.
|
"-1": remove buffer from hotlist _(WeeChat ≥ 1.0)_.
|
||||||
|
|
||||||
|
| hotlist_conditions | 4.5.0 | WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE,
|
||||||
|
WEECHAT_HOTLIST_PRIVATE, WEECHAT_HOTLIST_HIGHLIGHT
|
||||||
|
| priority: add buffer to hotlist with this priority
|
||||||
|
(conditions defined in option _weechat.look.hotlist_add_conditions_
|
||||||
|
are checked).
|
||||||
|
|
||||||
| completion_freeze | | "0" or "1"
|
| completion_freeze | | "0" or "1"
|
||||||
| "0": no freeze of completion (default value)
|
| "0": no freeze of completion (default value)
|
||||||
(global setting, buffer pointer is not used) +
|
(global setting, buffer pointer is not used) +
|
||||||
@@ -14899,7 +14967,7 @@ Properties:
|
|||||||
| "0" to remove nicklist for buffer, "1" to add nicklist for buffer.
|
| "0" to remove nicklist for buffer, "1" to add nicklist for buffer.
|
||||||
|
|
||||||
| nicklist_case_sensitive | | "0" or "1"
|
| nicklist_case_sensitive | | "0" or "1"
|
||||||
| "0" to have case insensitive nicklist, "1" to have case sensitive nicklist.
|
| "0" to have case-insensitive nicklist, "1" to have case-sensitive nicklist.
|
||||||
|
|
||||||
| nicklist_display_groups | | "0" or "1"
|
| nicklist_display_groups | | "0" or "1"
|
||||||
| "0" to hide nicklist groups, "1" to display nicklist groups.
|
| "0" to hide nicklist groups, "1" to display nicklist groups.
|
||||||
@@ -15156,7 +15224,7 @@ Arguments:
|
|||||||
** wildcard `+*+` is allowed in name
|
** wildcard `+*+` is allowed in name
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Since version 4.0.0, comparison of buffer names is case sensitive.
|
Since version 4.0.0, comparison of buffer names is case-sensitive.
|
||||||
|
|
||||||
Return value:
|
Return value:
|
||||||
|
|
||||||
@@ -15192,6 +15260,46 @@ if buffer:
|
|||||||
weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "irc.oftc.*,python.*")) # 0
|
weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "irc.oftc.*,python.*")) # 0
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[[buffer_lines]]
|
||||||
|
=== Buffer lines
|
||||||
|
|
||||||
|
Functions for buffer lines.
|
||||||
|
|
||||||
|
==== line_search_by_id
|
||||||
|
|
||||||
|
_WeeChat ≥ 4.4.0._
|
||||||
|
|
||||||
|
Search line in buffer by identifier.
|
||||||
|
|
||||||
|
Prototype:
|
||||||
|
|
||||||
|
[source,c]
|
||||||
|
----
|
||||||
|
struct t_gui_line *weechat_line_search_by_id (struct t_gui_buffer *buffer, int id);
|
||||||
|
----
|
||||||
|
|
||||||
|
Return value:
|
||||||
|
|
||||||
|
* pointer to line found, NULL if not found
|
||||||
|
|
||||||
|
C example:
|
||||||
|
|
||||||
|
[source,c]
|
||||||
|
----
|
||||||
|
struct t_gui_line *line = weechat_line_search_by_id (buffer, 123);
|
||||||
|
----
|
||||||
|
|
||||||
|
Script (Python):
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# prototype
|
||||||
|
def line_search_by_id(buffer: str, line_id: int) -> str: ...
|
||||||
|
|
||||||
|
# example
|
||||||
|
line = weechat.line_search_by_id(buffer, 123)
|
||||||
|
----
|
||||||
|
|
||||||
[[windows]]
|
[[windows]]
|
||||||
=== Windows
|
=== Windows
|
||||||
|
|
||||||
@@ -15256,7 +15364,7 @@ C example:
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
weechat_printf (NULL,
|
weechat_printf (NULL,
|
||||||
"window displaying core buffer: %lx",
|
"window displaying core buffer: %p",
|
||||||
weechat_window_search_with_buffer (weechat_buffer_search_main ()));
|
weechat_window_search_with_buffer (weechat_buffer_search_main ()));
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -15393,7 +15501,7 @@ C example:
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
weechat_printf (NULL,
|
weechat_printf (NULL,
|
||||||
"buffer displayed in current window: %lx",
|
"buffer displayed in current window: %p",
|
||||||
weechat_window_get_pointer (weechat_current_window (), "buffer"));
|
weechat_window_get_pointer (weechat_current_window (), "buffer"));
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -15422,8 +15530,8 @@ void weechat_window_set_title (const char *title);
|
|||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
* _title_: new title for terminal (NULL to reset title); string is evaluated,
|
* _title_: new title for terminal; string is evaluated, so variables like
|
||||||
so variables like `${info:version}` can be used
|
`${info:version}` can be used
|
||||||
(see <<_string_eval_expression,string_eval_expression>>)
|
(see <<_string_eval_expression,string_eval_expression>>)
|
||||||
|
|
||||||
C example:
|
C example:
|
||||||
@@ -16776,7 +16884,7 @@ rc = weechat.command(weechat.buffer_search("irc", "libera.#weechat"), "/whois Fl
|
|||||||
|
|
||||||
==== command_options
|
==== command_options
|
||||||
|
|
||||||
_WeeChat ≥ 2.5, updated in 4.0.0._
|
_WeeChat ≥ 2.5, updated in 4.0.0, 4.5.0._
|
||||||
|
|
||||||
Execute a command or send text to buffer with options.
|
Execute a command or send text to buffer with options.
|
||||||
|
|
||||||
@@ -16792,13 +16900,14 @@ Arguments:
|
|||||||
|
|
||||||
* _buffer_: buffer pointer (command is executed on this buffer, use NULL for
|
* _buffer_: buffer pointer (command is executed on this buffer, use NULL for
|
||||||
current buffer)
|
current buffer)
|
||||||
* _command_: command to execute (if beginning with a "/"), or text to send to
|
* _command_: command to execute (if beginning with a `/` or a command char),
|
||||||
buffer
|
or text to send to buffer
|
||||||
* _options_: a hashtable with some options (keys and values must be string)
|
* _options_: a hashtable with some options (keys and values must be string)
|
||||||
(can be NULL):
|
(can be NULL):
|
||||||
** _commands_: a comma-separated list of commands allowed to be executed during
|
** _commands_: a comma-separated list of commands allowed to be executed during
|
||||||
this call; see function <<_string_match_list,string_match_list>> for the
|
this call (see function <<_string_match_list,string_match_list>> for the
|
||||||
format
|
format); the special value `-` (hyphen-minus) disables the execution of commands
|
||||||
|
and the string in _command_ is sent as-is to the buffer (_WeeChat ≥ 4.5.0_)
|
||||||
** _delay_: delay to execute command, in milliseconds
|
** _delay_: delay to execute command, in milliseconds
|
||||||
** _split_newline_: `1` to split commands on newline char (`\n`) (_WeeChat ≥ 4.0.0_)
|
** _split_newline_: `1` to split commands on newline char (`\n`) (_WeeChat ≥ 4.0.0_)
|
||||||
|
|
||||||
@@ -16831,7 +16940,7 @@ Script (Python):
|
|||||||
def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ...
|
def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ...
|
||||||
|
|
||||||
# example: allow any command except /exec
|
# example: allow any command except /exec
|
||||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"})
|
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"})
|
||||||
----
|
----
|
||||||
|
|
||||||
[[completion]]
|
[[completion]]
|
||||||
@@ -16985,6 +17094,71 @@ def my_completion_cb(data: str, completion_item: str, buffer: str, completion: s
|
|||||||
return weechat.WEECHAT_RC_OK
|
return weechat.WEECHAT_RC_OK
|
||||||
----
|
----
|
||||||
|
|
||||||
|
==== completion_set
|
||||||
|
|
||||||
|
_WeeChat ≥ 4.6.0._
|
||||||
|
|
||||||
|
Set a completion property.
|
||||||
|
|
||||||
|
Prototype:
|
||||||
|
|
||||||
|
[source,c]
|
||||||
|
----
|
||||||
|
void weechat_completion_get_string (struct t_gui_completion *completion,
|
||||||
|
const char *property,
|
||||||
|
const char *value);
|
||||||
|
----
|
||||||
|
|
||||||
|
Arguments:
|
||||||
|
|
||||||
|
* _completion_: completion pointer
|
||||||
|
* _property_: property name (see table below)
|
||||||
|
* _value_: new value for property
|
||||||
|
|
||||||
|
Properties:
|
||||||
|
|
||||||
|
[width="100%",cols="^2,^1,4,8",options="header"]
|
||||||
|
|===
|
||||||
|
| Name | Min WeeChat | Value | Description
|
||||||
|
|
||||||
|
| add_space | 4.6.0 | "0" or "1"
|
||||||
|
| "0": do not add space after completion +
|
||||||
|
"1": add space after completion (default).
|
||||||
|
|===
|
||||||
|
|
||||||
|
C example:
|
||||||
|
|
||||||
|
[source,c]
|
||||||
|
----
|
||||||
|
int
|
||||||
|
my_completion_cb (const void *pointer, void *data, const char *completion_item,
|
||||||
|
struct t_gui_buffer *buffer,
|
||||||
|
struct t_gui_completion *completion)
|
||||||
|
{
|
||||||
|
/* do not add space after completion */
|
||||||
|
weechat_completion_set (completion, "add_space", "0");
|
||||||
|
|
||||||
|
/* ... */
|
||||||
|
|
||||||
|
return WEECHAT_RC_OK;
|
||||||
|
}
|
||||||
|
----
|
||||||
|
|
||||||
|
Script (Python):
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# prototype
|
||||||
|
def completion_set(completion: str, property: str, value: str) -> int: ...
|
||||||
|
|
||||||
|
# example
|
||||||
|
def my_completion_cb(data: str, completion_item: str, buffer: str, completion: str) -> int:
|
||||||
|
# do not add space after completion
|
||||||
|
weechat.completion_set(completion, "add_space", "0")
|
||||||
|
# ...
|
||||||
|
return weechat.WEECHAT_RC_OK
|
||||||
|
----
|
||||||
|
|
||||||
==== completion_list_add
|
==== completion_list_add
|
||||||
|
|
||||||
_WeeChat ≥ 2.9._
|
_WeeChat ≥ 2.9._
|
||||||
@@ -19261,7 +19435,7 @@ C example:
|
|||||||
----
|
----
|
||||||
struct t_hdata *hdata = weechat_hdata_get ("buffer");
|
struct t_hdata *hdata = weechat_hdata_get ("buffer");
|
||||||
struct t_gui_buffer *buffer = weechat_buffer_search_main ();
|
struct t_gui_buffer *buffer = weechat_buffer_search_main ();
|
||||||
weechat_printf (NULL, "lines = %lx", weechat_hdata_pointer (hdata, buffer, "lines"));
|
weechat_printf (NULL, "lines = %p", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||||
----
|
----
|
||||||
|
|
||||||
Script (Python):
|
Script (Python):
|
||||||
@@ -19416,7 +19590,7 @@ Arguments:
|
|||||||
* _pointer2_: pointer to second WeeChat/plugin object
|
* _pointer2_: pointer to second WeeChat/plugin object
|
||||||
* _name_: variable name or path to a variable name; for arrays, the name can be
|
* _name_: variable name or path to a variable name; for arrays, the name can be
|
||||||
"N|name" where N is the index in array (starting at 0), for example: "2|name"
|
"N|name" where N is the index in array (starting at 0), for example: "2|name"
|
||||||
* _case_sensitive_: 1 for case sensitive comparison of strings, otherwise 0
|
* _case_sensitive_: 1 for case-sensitive comparison of strings, otherwise 0
|
||||||
|
|
||||||
Return value:
|
Return value:
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
|
include::includes/attributes-en.adoc[]
|
||||||
|
|
||||||
[[start]]
|
[[start]]
|
||||||
== Start WeeChat
|
== Start WeeChat
|
||||||
@@ -11,8 +12,9 @@ It has good UTF-8 support and works well with WeeChat's default key bindings.
|
|||||||
|
|
||||||
Run from your shell:
|
Run from your shell:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat
|
weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[help]]
|
[[help]]
|
||||||
@@ -265,7 +267,7 @@ Close a server, channel or private buffer (`/close` is an alias for
|
|||||||
/close
|
/close
|
||||||
----
|
----
|
||||||
|
|
||||||
[WARNING]
|
[CAUTION]
|
||||||
Closing the server buffer will close all channel/private buffers.
|
Closing the server buffer will close all channel/private buffers.
|
||||||
|
|
||||||
Disconnect from server, on the server buffer:
|
Disconnect from server, on the server buffer:
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -2,11 +2,12 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
|
include::includes/attributes-en.adoc[]
|
||||||
|
|
||||||
[[introduction]]
|
[[introduction]]
|
||||||
== Introduction
|
== Introduction
|
||||||
|
|
||||||
This document is the specification of WeeChat Relay protocol: the protocol used
|
This document is the specification of _weechat_ relay protocol: the protocol used
|
||||||
to relay WeeChat data to clients, which are mostly remote interfaces.
|
to relay WeeChat data to clients, which are mostly remote interfaces.
|
||||||
|
|
||||||
[[terminology]]
|
[[terminology]]
|
||||||
@@ -24,28 +25,11 @@ The following terms are used in this document:
|
|||||||
|
|
||||||
The _clients_ are connected to _relay_ like shown in this diagram:
|
The _clients_ are connected to _relay_ like shown in this diagram:
|
||||||
|
|
||||||
....
|
include::includes/relay.en.adoc[tag=diagram]
|
||||||
┌──────────┐ Workstation
|
|
||||||
┌────────┐ ┌───┤ client 1 │ (Linux, Windows,
|
|
||||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └──────────┘ BSD, macOS ...)
|
|
||||||
└────────┘ └──╢ │ ║◄───┘ ┌──────────┐
|
|
||||||
...... ║ WeeChat │ Relay ║◄───────┤ client 2 │ Mobile device
|
|
||||||
┌────────┐ ┌──╢ │ ║◄───┐ └──────────┘ (Android, iPhone ...)
|
|
||||||
│ jabber │◄──┘ ╚═══════════╧═══════╝ │ ......
|
|
||||||
└────────┘ │ ┌──────────┐
|
|
||||||
...... └───┤ client N │ Other devices
|
|
||||||
└──────────┘
|
|
||||||
|
|
||||||
|
|
||||||
└────────────┘ └───────────────────┘╘══════╛└────────────────────────────────┘
|
|
||||||
network servers ncurses interface relay remote interfaces
|
|
||||||
protocol
|
|
||||||
....
|
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
All clients here are clients using _weechat_ protocol in _relay_ plugin. The
|
All clients here are clients using _weechat_ protocol in _relay_ plugin. +
|
||||||
_relay_ plugin also allows IRC clients, then _relay_ plugin acts as an
|
The _relay_ plugin also allows _api_ and _irc_ protocols (not described in this document).
|
||||||
_IRC proxy_ (not described in this document).
|
|
||||||
|
|
||||||
[[protocol_generalities]]
|
[[protocol_generalities]]
|
||||||
== Protocol generalities
|
== Protocol generalities
|
||||||
@@ -995,7 +979,7 @@ Arguments:
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
* Send command "/help filter" on WeeChat core bufer:
|
* Send command "/help filter" on WeeChat core buffer:
|
||||||
|
|
||||||
----
|
----
|
||||||
input core.weechat /help filter
|
input core.weechat /help filter
|
||||||
@@ -1505,6 +1489,9 @@ WeeChat reserved identifiers:
|
|||||||
| _buffer_line_added | buffer | hdata: line
|
| _buffer_line_added | buffer | hdata: line
|
||||||
| Line added in buffer. | Display line in buffer.
|
| Line added in buffer. | Display line in buffer.
|
||||||
|
|
||||||
|
| _buffer_line_data_changed | buffer | hdata: line
|
||||||
|
| Line changed in buffer. | Update line displayed in buffer.
|
||||||
|
|
||||||
| _nicklist | nicklist | hdata: nicklist_item
|
| _nicklist | nicklist | hdata: nicklist_item
|
||||||
| Nicklist for a buffer. | Replace nicklist.
|
| Nicklist for a buffer. | Replace nicklist.
|
||||||
|
|
||||||
@@ -2059,6 +2046,7 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| buffer | pointer | Buffer pointer.
|
| buffer | pointer | Buffer pointer.
|
||||||
|
| id | integer | Line identifier.
|
||||||
| date | time | Date of message.
|
| date | time | Date of message.
|
||||||
| date_usec | integer | Microseconds of date.
|
| date_usec | integer | Microseconds of date.
|
||||||
| date_printed | time | Date when WeeChat displayed message.
|
| date_printed | time | Date when WeeChat displayed message.
|
||||||
@@ -2079,6 +2067,7 @@ id: '_buffer_line_added'
|
|||||||
hda:
|
hda:
|
||||||
keys: {
|
keys: {
|
||||||
'buffer': 'ptr',
|
'buffer': 'ptr',
|
||||||
|
'id': 'int',
|
||||||
'date': 'tim',
|
'date': 'tim',
|
||||||
'date_usec': 'int',
|
'date_usec': 'int',
|
||||||
'date_printed': 'tim',
|
'date_printed': 'tim',
|
||||||
@@ -2094,6 +2083,58 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4a49600']
|
__path: ['0x4a49600']
|
||||||
buffer: '0x4a715d0'
|
buffer: '0x4a715d0'
|
||||||
|
id: 12
|
||||||
|
date: 1362728993
|
||||||
|
date_usec: 902765
|
||||||
|
date_printed: 1362728993
|
||||||
|
date_usec_printed: 902765
|
||||||
|
displayed: 1
|
||||||
|
notify_level: 1
|
||||||
|
highlight: 0
|
||||||
|
tags_array: [
|
||||||
|
'irc_privmsg',
|
||||||
|
'notify_message',
|
||||||
|
'prefix_nick_142',
|
||||||
|
'nick_FlashCode',
|
||||||
|
'log1',
|
||||||
|
]
|
||||||
|
prefix: 'F06@F@00142FlashCode'
|
||||||
|
message: 'hello!'
|
||||||
|
----
|
||||||
|
|
||||||
|
[[message_buffer_line_data_changed]]
|
||||||
|
==== _buffer_line_data_changed
|
||||||
|
|
||||||
|
This message is sent to the client when the signal "buffer_line_data_changed"
|
||||||
|
is sent by WeeChat.
|
||||||
|
|
||||||
|
Data sent as hdata: same data as <<message_buffer_line_added,_buffer_line_added>>.
|
||||||
|
|
||||||
|
Example: message _hello!_ from nick _FlashCode_ on buffer _irc.libera.#weechat_ has been updated:
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
id: '_buffer_line_data_changed'
|
||||||
|
hda:
|
||||||
|
keys: {
|
||||||
|
'buffer': 'ptr',
|
||||||
|
'id': 'int',
|
||||||
|
'date': 'tim',
|
||||||
|
'date_usec': 'int',
|
||||||
|
'date_printed': 'tim',
|
||||||
|
'date_usec_printed': 'int',
|
||||||
|
'displayed': 'chr',
|
||||||
|
'notify_level': 'chr',
|
||||||
|
'highlight': 'chr',
|
||||||
|
'tags_array': 'arr',
|
||||||
|
'prefix': 'str',
|
||||||
|
'message': 'str',
|
||||||
|
}
|
||||||
|
path: ['line_data']
|
||||||
|
item 1:
|
||||||
|
__path: ['0x4a49600']
|
||||||
|
buffer: '0x4a715d0'
|
||||||
|
id: 12
|
||||||
date: 1362728993
|
date: 1362728993
|
||||||
date_usec: 902765
|
date_usec: 902765
|
||||||
date_printed: 1362728993
|
date_printed: 1362728993
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
|
include::includes/attributes-en.adoc[]
|
||||||
|
|
||||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||||
|
|
||||||
@@ -67,7 +68,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`. +
|
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||||
A Python stub for WeeChat API is available in the repository:
|
A Python stub for WeeChat API is available in the repository:
|
||||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||||
|
|
||||||
[[python_functions]]
|
[[python_functions]]
|
||||||
===== Functions
|
===== Functions
|
||||||
@@ -362,9 +363,10 @@ WeeChat is starting.
|
|||||||
|
|
||||||
For example with Python:
|
For example with Python:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cd ~/.local/share/weechat/python/autoload
|
cd ~/.local/share/weechat/python/autoload
|
||||||
$ ln -s ../script.py
|
ln -s ../script.py
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
|
|||||||
+204
-160
@@ -2,6 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
|
include::includes/attributes-en.adoc[]
|
||||||
|
|
||||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||||
|
|
||||||
@@ -110,7 +111,7 @@ WeeChat:
|
|||||||
| cmake | ≥ 3.0
|
| cmake | ≥ 3.0
|
||||||
| Build.
|
| Build.
|
||||||
|
|
||||||
| pkg-config |
|
| pkgconf / pkg-config |
|
||||||
| Detect installed libraries.
|
| Detect installed libraries.
|
||||||
|
|
||||||
| libncurses-dev |
|
| libncurses-dev |
|
||||||
@@ -220,8 +221,9 @@ If you are using a Debian/Ubuntu based distribution, and if you have some
|
|||||||
"deb-src" source entries in your file _/etc/apt/sources.list_, you can install
|
"deb-src" source entries in your file _/etc/apt/sources.list_, you can install
|
||||||
all dependencies with the command:
|
all dependencies with the command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
# apt-get build-dep weechat
|
sudo apt-get build-dep weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[build]]
|
[[build]]
|
||||||
@@ -229,22 +231,24 @@ all dependencies with the command:
|
|||||||
|
|
||||||
* Installation in system directories (requires _root_ privileges):
|
* Installation in system directories (requires _root_ privileges):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir build
|
mkdir build
|
||||||
$ cd build
|
cd build
|
||||||
$ cmake ..
|
cmake ..
|
||||||
$ make
|
make
|
||||||
$ sudo make install
|
sudo make install
|
||||||
----
|
----
|
||||||
|
|
||||||
* Installation in custom directory (for example your home):
|
* Installation in custom directory (for example your home):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir build
|
mkdir build
|
||||||
$ cd build
|
cd build
|
||||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
|
cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
|
||||||
$ make
|
make
|
||||||
$ make install
|
make install
|
||||||
----
|
----
|
||||||
|
|
||||||
Options can be used for CMake, with format: `-DOPTION=VALUE`.
|
Options can be used for CMake, with format: `-DOPTION=VALUE`.
|
||||||
@@ -380,14 +384,16 @@ List of available options:
|
|||||||
|
|
||||||
The other options can be displayed with this command:
|
The other options can be displayed with this command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cmake -LA
|
cmake -LA
|
||||||
----
|
----
|
||||||
|
|
||||||
Or with Curses interface:
|
Or with Curses interface:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ ccmake ..
|
ccmake ..
|
||||||
----
|
----
|
||||||
|
|
||||||
[[tests]]
|
[[tests]]
|
||||||
@@ -400,14 +406,16 @@ Following packages are *required* to compile tests:
|
|||||||
|
|
||||||
Tests must be enabled when compiling WeeChat:
|
Tests must be enabled when compiling WeeChat:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cmake .. -DENABLE_TESTS=ON
|
cmake .. -DENABLE_TESTS=ON
|
||||||
----
|
----
|
||||||
|
|
||||||
They can be launched after compilation from the build directory:
|
They can be launched after compilation from the build directory:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ ctest -V
|
ctest -V
|
||||||
----
|
----
|
||||||
|
|
||||||
[[git_sources]]
|
[[git_sources]]
|
||||||
@@ -418,8 +426,9 @@ stable. You're warned!
|
|||||||
|
|
||||||
To get Git sources, issue this command:
|
To get Git sources, issue this command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ git clone https://github.com/weechat/weechat.git
|
git clone https://github.com/weechat/weechat.git
|
||||||
----
|
----
|
||||||
|
|
||||||
Then follow instructions for source package (see
|
Then follow instructions for source package (see
|
||||||
@@ -442,8 +451,9 @@ you have to:
|
|||||||
|
|
||||||
If you're compiling with CMake:
|
If you're compiling with CMake:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
----
|
----
|
||||||
|
|
||||||
[[address_sanitizer]]
|
[[address_sanitizer]]
|
||||||
@@ -452,18 +462,20 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
|||||||
You can additionally enable the address sanitizer, which causes WeeChat to
|
You can additionally enable the address sanitizer, which causes WeeChat to
|
||||||
crash immediately in case of problem:
|
crash immediately in case of problem:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||||
----
|
----
|
||||||
|
|
||||||
[WARNING]
|
[CAUTION]
|
||||||
You should enable address sanitizer only if you're trying to cause a crash,
|
You should enable address sanitizer only if you're trying to cause a crash,
|
||||||
this is not recommended in production.
|
this is not recommended in production.
|
||||||
|
|
||||||
Then once compiled and installed, you must run WeeChat like this:
|
Then once compiled and installed, you must run WeeChat like this:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat
|
ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
In case of crash, the backtrace is in file `asan.log`.
|
In case of crash, the backtrace is in file `asan.log`.
|
||||||
@@ -483,12 +495,14 @@ starts, you can use `ulimit` command.
|
|||||||
|
|
||||||
For example under Linux with _bash_ shell, add this line to your `~/.bashrc`:
|
For example under Linux with _bash_ shell, add this line to your `~/.bashrc`:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
----
|
----
|
||||||
|
|
||||||
Or max size:
|
Or max size:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
ulimit -c 200000
|
ulimit -c 200000
|
||||||
----
|
----
|
||||||
@@ -510,6 +524,7 @@ https://wiki.archlinux.org/title/Core_dump[wiki page ^↗^^].
|
|||||||
For example if _weechat_ is installed in _/usr/bin/_ and _core_ file is
|
For example if _weechat_ is installed in _/usr/bin/_ and _core_ file is
|
||||||
in _/home/user/_, then run gdb with this command:
|
in _/home/user/_, then run gdb with this command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
gdb /usr/bin/weechat /home/user/core
|
gdb /usr/bin/weechat /home/user/core
|
||||||
----
|
----
|
||||||
@@ -557,6 +572,7 @@ Thank you for your help!
|
|||||||
To debug a running WeeChat (for example if WeeChat seems blocked), you can use
|
To debug a running WeeChat (for example if WeeChat seems blocked), you can use
|
||||||
gdb with process id (replace _12345_ with PID of weechat process):
|
gdb with process id (replace _12345_ with PID of weechat process):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
gdb /usr/bin/weechat 12345
|
gdb /usr/bin/weechat 12345
|
||||||
----
|
----
|
||||||
@@ -572,8 +588,9 @@ Then like for a crash, use command `bt full`:
|
|||||||
|
|
||||||
To start WeeChat, issue this command:
|
To start WeeChat, issue this command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat
|
weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
When you run WeeChat for the first time, the default configuration files are
|
When you run WeeChat for the first time, the default configuration files are
|
||||||
@@ -587,7 +604,7 @@ include::includes/cmdline_options.en.adoc[tag=standard]
|
|||||||
|
|
||||||
Some extra options are available for debug purposes only:
|
Some extra options are available for debug purposes only:
|
||||||
|
|
||||||
[WARNING]
|
[CAUTION]
|
||||||
Do *NOT* use any of these options in production!
|
Do *NOT* use any of these options in production!
|
||||||
|
|
||||||
include::includes/cmdline_options.en.adoc[tag=debug]
|
include::includes/cmdline_options.en.adoc[tag=debug]
|
||||||
@@ -789,25 +806,25 @@ This saves the current state in `*.upgrade` files. You can then either reboot
|
|||||||
or move the whole WeeChat directories (config, data, cache) to another machine,
|
or move the whole WeeChat directories (config, data, cache) to another machine,
|
||||||
and restart WeeChat later with this command:
|
and restart WeeChat later with this command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat --upgrade
|
weechat --upgrade
|
||||||
----
|
----
|
||||||
|
|
||||||
[[restart_after_upgrade]]
|
[[restart_after_upgrade]]
|
||||||
=== Restart after upgrade
|
=== Restart after upgrade
|
||||||
|
|
||||||
[[restart_release_notes]]
|
[[restart_upgrading_notes]]
|
||||||
==== Release notes
|
==== Upgrading notes
|
||||||
|
|
||||||
After an upgrade, it is *strongly recommended* to read the
|
After an upgrade, it is *strongly recommended* to read the file
|
||||||
https://weechat.org/files/doc/weechat/ReleaseNotes-devel.html[release notes ^↗^^]
|
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||||
which contain important information about breaking changes and some
|
which contains important information about breaking changes and some
|
||||||
manual actions that could be required.
|
manual actions that could be required.
|
||||||
|
|
||||||
You must read the release notes of all versions between your old (excluded) and
|
You must read the versions between your old (excluded) and your new version (included). +
|
||||||
your new version (included). +
|
For example if you switch from version 4.0.0 to 4.3.0, you must read versions
|
||||||
For example if you switch from version 3.0 to 3.2, you must read release notes
|
4.0.1 to 4.3.0.
|
||||||
of versions 3.1 and 3.2.
|
|
||||||
|
|
||||||
[[restart_configuration_upgrade]]
|
[[restart_configuration_upgrade]]
|
||||||
==== Configuration upgrade
|
==== Configuration upgrade
|
||||||
@@ -860,7 +877,7 @@ Example of terminal with WeeChat:
|
|||||||
│ │ │ │
|
│ │ │ │
|
||||||
│ │ │ │
|
│ │ │ │
|
||||||
│ │ │ │
|
│ │ │ │
|
||||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* M [H: 3:#abc(2,5), 5] │
|
||||||
│ │[@Flashy(i)] hi peter!█ │
|
│ │[@Flashy(i)] hi peter!█ │
|
||||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
▲ bars "status" and "input" bar "nicklist" ▲
|
▲ bars "status" and "input" bar "nicklist" ▲
|
||||||
@@ -899,39 +916,41 @@ Bar _status_ has following default items:
|
|||||||
|
|
||||||
[width="100%",cols="^3,^3,9",options="header"]
|
[width="100%",cols="^3,^3,9",options="header"]
|
||||||
|===
|
|===
|
||||||
| Item | Example | Description
|
| Item | Example | Description
|
||||||
| time | `[12:55]` | Time.
|
| time | `12:55` | Time.
|
||||||
| buffer_last_number | `[5]` | Number of last buffer in list.
|
| buffer_last_number | `5` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`).
|
||||||
| buffer_plugin | `[irc/libera]` | Plugin of current buffer (irc plugin can add IRC server name used by buffer).
|
| buffer_plugin | `irc/libera` | Plugin of current buffer (irc plugin can add IRC server name used by buffer).
|
||||||
| buffer_number | `2` | Current buffer number.
|
| buffer_number | `2` | Current buffer number.
|
||||||
| buffer_name | `#test` | Current buffer name.
|
| buffer_name | `#test` | Current buffer name.
|
||||||
| buffer_modes | `+n` | IRC channel modes.
|
| buffer_modes | `+n` | IRC channel modes.
|
||||||
| buffer_nicklist_count | `{4}` | Number of nicks displayed in nicklist.
|
| buffer_nicklist_count | `4` | Number of nicks displayed in nicklist.
|
||||||
| buffer_zoom | ! | `!` means the merged buffer is zoomed (only this one is displayed), empty value means all merged buffers are displayed.
|
| buffer_zoom | ! | `!` means the merged buffer is zoomed (only this one is displayed), empty value means all merged buffers are displayed.
|
||||||
| buffer_filter | `+*+` | Filtering indicator: `+*+` means some lines are filtered (hidden), empty value means all lines are displayed.
|
| buffer_filter | `+*+` | Filtering indicator: `+*+` means some lines are filtered (hidden), empty value means all lines are displayed.
|
||||||
| scroll | `-MORE(50)-` | Scroll indicator, with number of lines below last line displayed.
|
| mouse_status | `M` | Mouse status (empty if mouse is disabled), see command <<command_weechat_mouse,/mouse>> and <<key_bindings_toggle_keys,toggle keys>>.
|
||||||
| lag | `[Lag: 2.5]` | Lag indicator, in seconds (hidden if lag is low).
|
| scroll | `-MORE(50)-` | Scroll indicator, with number of lines below last line displayed.
|
||||||
| hotlist | `[H: 3:#abc(2,5), 5]` | List of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on _#abc_, one unread message on buffer #5).
|
| lag | `Lag: 2.5` | Lag indicator, in seconds (hidden if lag is low).
|
||||||
| completion | `abc(2) def(5)` | List of words for completion, with number of possible completions for each word.
|
| hotlist | `H: 3:#abc(2,5), 5` | List of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on _#abc_, one unread message on buffer #5).
|
||||||
|
| typing | `Typing: bob, (alice)` | Typing notification, see <<typing_notifications,typing notifications>>.
|
||||||
|
| completion | `abc(2) def(5)` | List of words for completion, with number of possible completions for each word.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Bar _input_ has following default items:
|
Bar _input_ has following default items:
|
||||||
|
|
||||||
[width="100%",cols="^3,^3,9",options="header"]
|
[width="100%",cols="^3,^3,9",options="header"]
|
||||||
|===
|
|===
|
||||||
| Item | Example | Description
|
| Item | Example | Description
|
||||||
| input_prompt | `[@Flashy(i)]` | Input prompt, for irc: nick and modes (mode "+i" means invisible on libera).
|
| input_prompt | `@Flashy(i)` | Input prompt, for irc: nick and modes (mode "+i" means invisible on libera).
|
||||||
| away | `(away)` | Away indicator.
|
| away | `away` | Away indicator.
|
||||||
| input_search | `[Search lines (~ str,msg)]` | Search indicator (see below)
|
| input_search | `Search lines (~ str,msg)` | Search indicator (see below)
|
||||||
| input_paste | `[Paste 7 lines ? [ctrl-y] Yes [ctrl-n] No]` | Question to user for pasting lines.
|
| input_paste | `Paste 7 lines ? [ctrl-y] Yes [ctrl-n] No` | Question to user for pasting lines.
|
||||||
| input_text | `hi peter!` | Input text.
|
| input_text | `hi peter!` | Input text.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
There are two search modes:
|
There are two search modes:
|
||||||
|
|
||||||
* search in lines, for example `[Search lines (~ str,msg)]`, with the following info:
|
* search in lines, for example `[Search lines (~ str,msg)]`, with the following info:
|
||||||
** `~`: case insensitive
|
** `~`: case-insensitive
|
||||||
** `==`: case sensitive
|
** `==`: case-sensitive
|
||||||
** `str`: search string
|
** `str`: search string
|
||||||
** `regex`: search regular expression
|
** `regex`: search regular expression
|
||||||
** `msg`: search in messages
|
** `msg`: search in messages
|
||||||
@@ -939,8 +958,8 @@ There are two search modes:
|
|||||||
** `pre\|msg`: search in prefixes and messages.
|
** `pre\|msg`: search in prefixes and messages.
|
||||||
* search in commands history, for example `[Search command (~ str,local)]`,
|
* search in commands history, for example `[Search command (~ str,local)]`,
|
||||||
with the following info:
|
with the following info:
|
||||||
** `~`: case insensitive
|
** `~`: case-insensitive
|
||||||
** `==`: case sensitive
|
** `==`: case-sensitive
|
||||||
** `str`: search string
|
** `str`: search string
|
||||||
** `regex`: search regular expression
|
** `regex`: search regular expression
|
||||||
** `local`: search in buffer local history
|
** `local`: search in buffer local history
|
||||||
@@ -959,8 +978,7 @@ Other items available (not used in bars by default):
|
|||||||
[width="100%",cols="^3,^3,9",options="header"]
|
[width="100%",cols="^3,^3,9",options="header"]
|
||||||
|===
|
|===
|
||||||
| Item | Example | Description
|
| Item | Example | Description
|
||||||
| buffer_count | `10` | Total number of buffers opened.
|
| buffer_count | `5` | Total number of buffers opened.
|
||||||
| buffer_last_number | `10` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`).
|
|
||||||
| buffer_nicklist_count_all | `4` | Number of visible groups and nicks in nicklist.
|
| buffer_nicklist_count_all | `4` | Number of visible groups and nicks in nicklist.
|
||||||
| buffer_nicklist_count_groups | `0` | Number of visible groups in nicklist.
|
| buffer_nicklist_count_groups | `0` | Number of visible groups in nicklist.
|
||||||
| buffer_short_name | `#test` | Current buffer short name.
|
| buffer_short_name | `#test` | Current buffer short name.
|
||||||
@@ -975,7 +993,7 @@ Other items available (not used in bars by default):
|
|||||||
| irc_nick_host | `+Flashy!user@host.com+` | Current IRC nick and host.
|
| irc_nick_host | `+Flashy!user@host.com+` | Current IRC nick and host.
|
||||||
| irc_nick_modes | `i` | IRC modes for self nick.
|
| irc_nick_modes | `i` | IRC modes for self nick.
|
||||||
| irc_nick_prefix | `@` | IRC nick prefix on channel.
|
| irc_nick_prefix | `@` | IRC nick prefix on channel.
|
||||||
| mouse_status | `M` | Mouse status (empty if mouse is disabled).
|
| spacer | | Special item used to align text in bars, see <<item_spacer,Spacer item>>.
|
||||||
| spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
|
| spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
|
||||||
| spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
|
| spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
|
||||||
| tls_version | `TLS1.3` | TLS version in use for current IRC server.
|
| tls_version | `TLS1.3` | TLS version in use for current IRC server.
|
||||||
@@ -1085,7 +1103,7 @@ data).
|
|||||||
|
|
||||||
Examples of buffers:
|
Examples of buffers:
|
||||||
|
|
||||||
* core buffer (created by WeeChat on startup, can not be closed)
|
* core buffer (created by WeeChat on startup, cannot be closed)
|
||||||
* irc server (displays messages from server)
|
* irc server (displays messages from server)
|
||||||
* irc channel
|
* irc channel
|
||||||
* irc private messages
|
* irc private messages
|
||||||
@@ -1323,10 +1341,10 @@ Tags commonly used (non-exhaustive list):
|
|||||||
[width="100%",cols="1m,4",options="header"]
|
[width="100%",cols="1m,4",options="header"]
|
||||||
|===
|
|===
|
||||||
| Tag | Description
|
| Tag | Description
|
||||||
| no_filter | Line can not be filtered.
|
| no_filter | Line cannot be filtered.
|
||||||
| no_highlight | No highlight is possible on line.
|
| no_highlight | No highlight is possible on line.
|
||||||
| no_log | Line is not written in log file.
|
| no_log | Line is not written in log file.
|
||||||
| log0 … log9 | Level of log for line (see `/help logger`).
|
| log0 … log9 | Level of log for line (see the <<command_logger_logger,/logger>> command).
|
||||||
| notify_none | The line must not be added to hotlist. ^(1)^
|
| notify_none | The line must not be added to hotlist. ^(1)^
|
||||||
| notify_message | The line is a user message. ^(1)^
|
| notify_message | The line is a user message. ^(1)^
|
||||||
| notify_private | The line is a private message. ^(1)^
|
| notify_private | The line is a private message. ^(1)^
|
||||||
@@ -1735,11 +1753,12 @@ They can be changed and new ones can be added with the <<command_weechat_key,/ke
|
|||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Key | Description | Command
|
| Key | Description | Command
|
||||||
| kbd:[Alt+m] | Toggle mouse. | `+/mouse toggle+`
|
| kbd:[Alt+m] | Toggle mouse. | `+/mouse toggle+`
|
||||||
| kbd:[Alt+s] | Toggle spell checker. | `+/mute spell toggle+`
|
| kbd:[Alt+s] | Toggle spell checker. | `+/mute spell toggle+`
|
||||||
| kbd:[Alt+=] | Toggle filters. | `+/filter toggle+`
|
| kbd:[Alt+=] | Toggle filters. | `+/filter toggle+`
|
||||||
| kbd:[Alt+-] | Toggle filters in current buffer. | `+/filter toggle @+`
|
| kbd:[Alt+-] | Toggle filters in current buffer. | `+/filter toggle @+`
|
||||||
|
| kbd:[Alt+Ctrl+l] (`L`) | Toggle between remote and local commands on a remote buffer (relay "api"). | `+/remote togglecmd+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[key_bindings_search_context]]
|
[[key_bindings_search_context]]
|
||||||
@@ -1950,9 +1969,9 @@ These keys and actions are used on the IRC /list buffer (see command <<command_i
|
|||||||
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/list -left+`
|
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/list -left+`
|
||||||
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/list -right+`
|
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/list -right+`
|
||||||
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
|
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
|
||||||
| | `xxx` | Show only channels with "xxx" in name or topic (case insensitive). |
|
| | `xxx` | Show only channels with "xxx" in name or topic (case-insensitive). |
|
||||||
| | `n:xxx` | Show only channels with "xxx" in name (case insensitive). |
|
| | `n:xxx` | Show only channels with "xxx" in name (case-insensitive). |
|
||||||
| | `t:xxx` | Show only channels with "xxx" in topic (case insensitive). |
|
| | `t:xxx` | Show only channels with "xxx" in topic (case-insensitive). |
|
||||||
| | `u:n` | Show only channels with at least "n" users. |
|
| | `u:n` | Show only channels with at least "n" users. |
|
||||||
| | `u:>n` | Show only channels with more than "n" users. |
|
| | `u:>n` | Show only channels with more than "n" users. |
|
||||||
| | `u:<n` | Show only channels with less than "n" users. |
|
| | `u:<n` | Show only channels with less than "n" users. |
|
||||||
@@ -2009,27 +2028,27 @@ Example of fset buffer displaying options starting with `weechat.look` :
|
|||||||
[subs="quotes"]
|
[subs="quotes"]
|
||||||
....
|
....
|
||||||
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
||||||
│1.weechat│1/121 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggle │
|
│1.weechat│7/125 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggl>>│
|
||||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||||
│ │hanges in input [default: on] │
|
│ │hanges in input [default: on] │
|
||||||
│ │----------------------------------------------------------------------------│
|
│ │----------------------------------------------------------------------------│
|
||||||
│ │ weechat.look.align_end_of_lines enum message │
|
│ │ weechat.look.align_end_of_lines enum message │
|
||||||
│ │ weechat.look.align_multiline_words boolean on │
|
│ │ weechat.look.align_multiline_words boolean on │
|
||||||
│ │ weechat.look.bar_more_down string "++" │
|
│ │ weechat.look.bar_more_down string "++" │
|
||||||
│ │ weechat.look.bar_more_left string "<<" │
|
│ │ weechat.look.bar_more_left string "<<" │
|
||||||
│ │ weechat.look.bar_more_right string ">>" │
|
│ │ weechat.look.bar_more_right string ">>" │
|
||||||
│ │ weechat.look.bar_more_up string "--" │
|
│ │ weechat.look.bar_more_up string "--" │
|
||||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||||
│ │ weechat.look.buffer_notify_default enum all │
|
│ │ weechat.look.buffer_notify_default enum all │
|
||||||
│ │ weechat.look.buffer_position enum end │
|
│ │ weechat.look.buffer_position enum end │
|
||||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||||
│ │ weechat.look.buffer_search_regex boolean off │
|
│ │ weechat.look.buffer_search_history enum local │
|
||||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
│ │ weechat.look.buffer_search_regex boolean off │
|
||||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||||
│ │ weechat.look.buffer_time_same string "" │
|
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||||
│ │[12:55] [2] [fset] 2:fset │
|
│ │[12:55] [2] [fset] 2:fset │
|
||||||
│ │█ │
|
│ │█ │
|
||||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
@@ -2807,8 +2826,9 @@ configuration.
|
|||||||
The option name is an aspell configuration option. List of options can be found
|
The option name is an aspell configuration option. List of options can be found
|
||||||
in a shell with following command:
|
in a shell with following command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ aspell config
|
aspell config
|
||||||
----
|
----
|
||||||
|
|
||||||
For example, to enable option "ignore-case":
|
For example, to enable option "ignore-case":
|
||||||
@@ -3244,7 +3264,7 @@ buffer to see values), just do:
|
|||||||
Secured data can be used in some options that can contain private data like
|
Secured data can be used in some options that can contain private data like
|
||||||
password, using this format: "${sec.data.xxx}" where "xxx" is the name of
|
password, using this format: "${sec.data.xxx}" where "xxx" is the name of
|
||||||
secured data (used with `/secure set xxx ...`). +
|
secured data (used with `/secure set xxx ...`). +
|
||||||
For a complete list of supported options, see `/help secure`.
|
For a complete list of supported options, see the <<command_weechat_secure,/secure>> command.
|
||||||
|
|
||||||
To use the _libera_ password, for example with
|
To use the _libera_ password, for example with
|
||||||
<<irc_sasl_authentication,SASL authentication>>:
|
<<irc_sasl_authentication,SASL authentication>>:
|
||||||
@@ -3260,7 +3280,7 @@ Alias plugin lets you create alias for commands (from WeeChat or other
|
|||||||
plugins).
|
plugins).
|
||||||
|
|
||||||
Some aliases are created by default, with name in upper case (to make them
|
Some aliases are created by default, with name in upper case (to make them
|
||||||
different from standard commands); commands are not case sensitive in WeeChat,
|
different from standard commands); commands are not case-sensitive in WeeChat,
|
||||||
so for example `/close` runs the alias `/CLOSE`.
|
so for example `/close` runs the alias `/CLOSE`.
|
||||||
|
|
||||||
List of default aliases:
|
List of default aliases:
|
||||||
@@ -3368,8 +3388,9 @@ irc[6][s]://[nick[:password]@]irc.example.org[:port][/channel][,channel[...]]
|
|||||||
Example to join _#weechat_ and _#weechat-fr_ on server _irc.libera.chat_ server,
|
Example to join _#weechat_ and _#weechat-fr_ on server _irc.libera.chat_ server,
|
||||||
default port (6667), with nick _alice_:
|
default port (6667), with nick _alice_:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat irc://alice@irc.libera.chat/#weechat,#weechat-fr
|
weechat irc://alice@irc.libera.chat/#weechat,#weechat-fr
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_servers]]
|
[[irc_servers]]
|
||||||
@@ -3381,13 +3402,15 @@ $ weechat irc://alice@irc.libera.chat/#weechat,#weechat-fr
|
|||||||
By default no servers are defined. You can add as many servers as you want with
|
By default no servers are defined. You can add as many servers as you want with
|
||||||
the <<command_irc_server,/server>> command.
|
the <<command_irc_server,/server>> command.
|
||||||
|
|
||||||
For example to connect to https://libera.chat/[libera.chat ^↗^^]
|
For example to connect to https://libera.chat/[libera.chat ^↗^^]:
|
||||||
with TLS (encrypted trafic):
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add libera irc.libera.chat/6697 -tls
|
/server add libera irc.libera.chat
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Default port is 6697 and TLS (encrypted traffic) is enabled.
|
||||||
|
|
||||||
You can tell WeeChat to auto-connect to this server on startup:
|
You can tell WeeChat to auto-connect to this server on startup:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -3428,11 +3451,11 @@ For example if you created the _libera_ server with the commands above, you'll
|
|||||||
see this with the command `/fset libera`:
|
see this with the command `/fset libera`:
|
||||||
|
|
||||||
....
|
....
|
||||||
irc.server.libera.addresses string "irc.libera.chat/6697"
|
irc.server.libera.addresses string "irc.libera.chat"
|
||||||
irc.server.libera.anti_flood_prio_high integer null -> 2
|
irc.server.libera.anti_flood integer null -> 2000
|
||||||
irc.server.libera.anti_flood_prio_low integer null -> 2
|
|
||||||
irc.server.libera.autoconnect boolean on
|
irc.server.libera.autoconnect boolean on
|
||||||
irc.server.libera.autojoin string null -> ""
|
irc.server.libera.autojoin string null -> ""
|
||||||
|
irc.server.libera.autojoin_delay integer null -> 0
|
||||||
irc.server.libera.autojoin_dynamic boolean null -> off
|
irc.server.libera.autojoin_dynamic boolean null -> off
|
||||||
irc.server.libera.autoreconnect boolean null -> on
|
irc.server.libera.autoreconnect boolean null -> on
|
||||||
irc.server.libera.autoreconnect_delay integer null -> 10
|
irc.server.libera.autoreconnect_delay integer null -> 10
|
||||||
@@ -3446,17 +3469,18 @@ irc.server.libera.command string null -> ""
|
|||||||
irc.server.libera.command_delay integer null -> 0
|
irc.server.libera.command_delay integer null -> 0
|
||||||
irc.server.libera.connection_timeout integer null -> 60
|
irc.server.libera.connection_timeout integer null -> 60
|
||||||
irc.server.libera.default_chantypes string null -> "#&"
|
irc.server.libera.default_chantypes string null -> "#&"
|
||||||
irc.server.libera.ipv6 boolean null -> on
|
irc.server.libera.ipv6 enum null -> auto
|
||||||
irc.server.libera.local_hostname string null -> ""
|
irc.server.libera.local_hostname string null -> ""
|
||||||
irc.server.libera.msg_kick string null -> ""
|
irc.server.libera.msg_kick string null -> ""
|
||||||
irc.server.libera.msg_part string null -> "WeeChat ${info:version}"
|
irc.server.libera.msg_part string null -> "WeeChat ${info:version}"
|
||||||
irc.server.libera.msg_quit string null -> "WeeChat ${info:version}"
|
irc.server.libera.msg_quit string null -> "WeeChat ${info:version}"
|
||||||
irc.server.libera.nicks string null -> "alice,alice1,alice2,alice3,alice4"
|
irc.server.libera.nicks string null -> "${username},${username}2,${username}3,${username}4,${username}5"
|
||||||
irc.server.libera.nicks_alternate boolean null -> on
|
irc.server.libera.nicks_alternate boolean null -> on
|
||||||
irc.server.libera.notify string null -> ""
|
irc.server.libera.notify string null -> ""
|
||||||
irc.server.libera.password string null -> ""
|
irc.server.libera.password string null -> ""
|
||||||
irc.server.libera.proxy string null -> ""
|
irc.server.libera.proxy string null -> ""
|
||||||
irc.server.libera.realname string null -> ""
|
irc.server.libera.realname string null -> ""
|
||||||
|
irc.server.libera.registered_mode string null -> "r"
|
||||||
irc.server.libera.sasl_fail enum null -> reconnect
|
irc.server.libera.sasl_fail enum null -> reconnect
|
||||||
irc.server.libera.sasl_key string null -> ""
|
irc.server.libera.sasl_key string null -> ""
|
||||||
irc.server.libera.sasl_mechanism enum null -> plain
|
irc.server.libera.sasl_mechanism enum null -> plain
|
||||||
@@ -3464,15 +3488,15 @@ irc.server.libera.sasl_password string "${sec.data.libera}"
|
|||||||
irc.server.libera.sasl_timeout integer null -> 15
|
irc.server.libera.sasl_timeout integer null -> 15
|
||||||
irc.server.libera.sasl_username string "alice"
|
irc.server.libera.sasl_username string "alice"
|
||||||
irc.server.libera.split_msg_max_length integer null -> 512
|
irc.server.libera.split_msg_max_length integer null -> 512
|
||||||
irc.server.libera.tls boolean on
|
irc.server.libera.tls boolean null -> on
|
||||||
irc.server.libera.tls_cert string null -> ""
|
irc.server.libera.tls_cert string null -> ""
|
||||||
irc.server.libera.tls_dhkey_size integer null -> 2048
|
irc.server.libera.tls_dhkey_size integer null -> 2048
|
||||||
irc.server.libera.tls_fingerprint string null -> ""
|
irc.server.libera.tls_fingerprint string null -> ""
|
||||||
irc.server.libera.tls_password string null -> ""
|
irc.server.libera.tls_password string null -> ""
|
||||||
irc.server.libera.tls_priorities string null -> "NORMAL:-VERS-SSL3.0"
|
irc.server.libera.tls_priorities string null -> "NORMAL"
|
||||||
irc.server.libera.tls_verify boolean null -> on
|
irc.server.libera.tls_verify boolean null -> on
|
||||||
irc.server.libera.usermode string null -> ""
|
irc.server.libera.usermode string null -> ""
|
||||||
irc.server.libera.username string null -> "alice"
|
irc.server.libera.username string null -> "${username}"
|
||||||
....
|
....
|
||||||
|
|
||||||
For example if you want to automatically connect to all servers you define
|
For example if you want to automatically connect to all servers you define
|
||||||
@@ -3523,9 +3547,10 @@ even if it was OK with versions prior to 0.3.1.
|
|||||||
|
|
||||||
* Import certificate in shell:
|
* Import certificate in shell:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir -p ~/.config/weechat/tls
|
mkdir -p ~/.config/weechat/tls
|
||||||
$ wget -O ~/.config/weechat/tls/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
|
wget -O ~/.config/weechat/tls/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -3546,10 +3571,11 @@ It is possible to concatenate many certificates in file CAs.pem.
|
|||||||
|
|
||||||
* Create certificate in shell:
|
* Create certificate in shell:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir -p ~/.config/weechat/tls
|
mkdir -p ~/.config/weechat/tls
|
||||||
$ cd ~/.config/weechat/tls
|
cd ~/.config/weechat/tls
|
||||||
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
|
openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -3592,13 +3618,14 @@ Options in servers are:
|
|||||||
[[irc_sasl_ecdsa_nist256p_challenge]]
|
[[irc_sasl_ecdsa_nist256p_challenge]]
|
||||||
===== SASL ECDSA-NIST256P-CHALLENGE
|
===== SASL ECDSA-NIST256P-CHALLENGE
|
||||||
|
|
||||||
You must generate a private key in order to authentify with the
|
You must generate a private key in order to authenticate with the
|
||||||
ECDSA-NIST256P-CHALLENGE mechanism (no password is required on connection).
|
ECDSA-NIST256P-CHALLENGE mechanism (no password is required on connection).
|
||||||
|
|
||||||
You can generate the key with this command:
|
You can generate the key with this command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ openssl ecparam -genkey -name prime256v1 -out ~/.config/weechat/ecdsa.pem
|
openssl ecparam -genkey -name prime256v1 -out ~/.config/weechat/ecdsa.pem
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -3607,8 +3634,9 @@ which can also be for example `~/.weechat`.
|
|||||||
|
|
||||||
Get the public key (encoded as base64) with this command:
|
Get the public key (encoded as base64) with this command:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ openssl ec -noout -text -conv_form compressed -in ~/.config/weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64
|
openssl ec -noout -text -conv_form compressed -in ~/.config/weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64
|
||||||
----
|
----
|
||||||
|
|
||||||
Connect to the server, identify (for example with "nickserv identify") and set
|
Connect to the server, identify (for example with "nickserv identify") and set
|
||||||
@@ -3675,8 +3703,9 @@ privacy and security on the Internet.
|
|||||||
|
|
||||||
In first place, install Tor. For Debian (and derived):
|
In first place, install Tor. For Debian (and derived):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ sudo apt-get install tor
|
sudo apt-get install tor
|
||||||
----
|
----
|
||||||
|
|
||||||
In WeeChat you need to add a socks5 proxy for Tor service (hostname/IP and
|
In WeeChat you need to add a socks5 proxy for Tor service (hostname/IP and
|
||||||
@@ -4097,7 +4126,7 @@ for example if `#channel1` requires a key but not `#channel2`:
|
|||||||
/set irc.server.libera.autojoin "#channel1,#channel2 key1"
|
/set irc.server.libera.autojoin "#channel1,#channel2 key1"
|
||||||
----
|
----
|
||||||
|
|
||||||
For help on the format, see `/help irc.server.libera.autojoin`.
|
For help on the format, see option <<option_irc.server_default.autojoin,irc.server_default.autojoin>>.
|
||||||
|
|
||||||
[[irc_private_messages]]
|
[[irc_private_messages]]
|
||||||
=== Private messages
|
=== Private messages
|
||||||
@@ -4144,7 +4173,7 @@ buffers, for example:
|
|||||||
----
|
----
|
||||||
|
|
||||||
It is possible to create filter for one channel only or channels beginning with
|
It is possible to create filter for one channel only or channels beginning with
|
||||||
same name (see `/help filter`):
|
same name (see the <<command_weechat_filter,/filter>> command):
|
||||||
|
|
||||||
----
|
----
|
||||||
/filter add irc_smart_weechat irc.libera.#weechat* irc_smart_filter *
|
/filter add irc_smart_weechat irc.libera.#weechat* irc_smart_filter *
|
||||||
@@ -4589,10 +4618,11 @@ The default path to certificate/key is defined by option
|
|||||||
|
|
||||||
You can create a certificate and private key with following commands:
|
You can create a certificate and private key with following commands:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ mkdir -p ~/.config/weechat/tls
|
mkdir -p ~/.config/weechat/tls
|
||||||
$ cd ~/.config/weechat/tls
|
cd ~/.config/weechat/tls
|
||||||
$ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out relay.pem
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4666,13 +4696,21 @@ For example:
|
|||||||
Now you can connect on port 9000 with a WeeChat or a remote interface using
|
Now you can connect on port 9000 with a WeeChat or a remote interface using
|
||||||
password "mypassword".
|
password "mypassword".
|
||||||
|
|
||||||
To connect to an _api_ relay with WeeChat:
|
To connect to an _api_ relay running locally with WeeChat:
|
||||||
|
|
||||||
----
|
----
|
||||||
/remote add weechat http://localhost:9000 -password=mypassword
|
/remote add weechat http://localhost:9000 -password=mypassword
|
||||||
/remote connect weechat
|
/remote connect weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
|
To connect to an _api_ relay running elsewhere with WeeChat
|
||||||
|
(TLS is highly recommended):
|
||||||
|
|
||||||
|
----
|
||||||
|
/remote add weechat https://example.com:9000 -password=mypassword
|
||||||
|
/remote connect weechat
|
||||||
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
The remote WeeChat must expose the same API version as the local WeeChat, so
|
The remote WeeChat must expose the same API version as the local WeeChat, so
|
||||||
it's highly recommended to use exactly the same WeeChat version on remote
|
it's highly recommended to use exactly the same WeeChat version on remote
|
||||||
@@ -4687,15 +4725,15 @@ You can connect with a remote interface, see
|
|||||||
https://weechat.org/about/interfaces/[this page ^↗^^].
|
https://weechat.org/about/interfaces/[this page ^↗^^].
|
||||||
|
|
||||||
[IMPORTANT]
|
[IMPORTANT]
|
||||||
WeeChat itself can NOT connect to another WeeChat with this protocol.
|
WeeChat itself cannot connect to another WeeChat with this protocol.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/relay add weechat 9000
|
/relay add weechat 9500
|
||||||
----
|
----
|
||||||
|
|
||||||
Now you can connect on port 9000 with a remote interface using password
|
Now you can connect on port 9500 with a remote interface using password
|
||||||
"mypassword".
|
"mypassword".
|
||||||
|
|
||||||
[[relay_websocket]]
|
[[relay_websocket]]
|
||||||
@@ -4713,10 +4751,10 @@ A WebSocket can be opened in a HTML5 with a single line of JavaScript:
|
|||||||
|
|
||||||
[source,javascript]
|
[source,javascript]
|
||||||
----
|
----
|
||||||
websocket = new WebSocket("ws://server.com:9000/weechat");
|
websocket = new WebSocket("ws://example.com:9500/weechat");
|
||||||
----
|
----
|
||||||
|
|
||||||
The port (9000 in example) is the port defined in Relay plugin.
|
The port (9500 in example) is the port defined in Relay plugin.
|
||||||
|
|
||||||
The URI must end with "/weechat" for _irc_ and _weechat_ protocols and "/api"
|
The URI must end with "/weechat" for _irc_ and _weechat_ protocols and "/api"
|
||||||
for _api_ protocol.
|
for _api_ protocol.
|
||||||
@@ -4737,8 +4775,9 @@ SSH forwarding for relay clients, when other ports cannot be opened.
|
|||||||
|
|
||||||
Using OpenSSH:
|
Using OpenSSH:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
ssh -L 9000:.weechat/relay_socket user@hostname
|
||||||
----
|
----
|
||||||
|
|
||||||
This redirects local relay clients connecting on port 9000 to the WeeChat
|
This redirects local relay clients connecting on port 9000 to the WeeChat
|
||||||
@@ -4824,34 +4863,39 @@ Some examples:
|
|||||||
|
|
||||||
* Change nick on IRC server libera to "newnick":
|
* Change nick on IRC server libera to "newnick":
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_12345
|
echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
* Send a message on IRC #weechat channel:
|
* Send a message on IRC #weechat channel:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
|
echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
|
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
|
||||||
is enabled on the ergo server:
|
is enabled on the ergo server:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
|
echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
* Send a message on current buffer:
|
* Send a message on current buffer:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ echo '*hello!' >/run/user/1000/weechat/weechat_fifo_12345
|
echo '*hello!' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
* Send two commands to unload/reload Python scripts (you have to separate them
|
* Send two commands to unload/reload Python scripts (you have to separate them
|
||||||
with "\n"):
|
with "\n"):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ printf '%b' '*/python unload\n*/python autoload\n' >/run/user/1000/weechat/weechat_fifo_12345
|
printf '%b' '*/python unload\n*/python autoload\n' >/run/user/1000/weechat/weechat_fifo_12345
|
||||||
----
|
----
|
||||||
|
|
||||||
[[fifo_commands]]
|
[[fifo_commands]]
|
||||||
@@ -4934,7 +4978,7 @@ A trigger has the following options (names are
|
|||||||
|
|
||||||
| enabled | `on`, `off`
|
| enabled | `on`, `off`
|
||||||
| When option is `off`, the trigger is disabled and actions are not executed
|
| When option is `off`, the trigger is disabled and actions are not executed
|
||||||
any more.
|
anymore.
|
||||||
|
|
||||||
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
|
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
|
||||||
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
|
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
|
||||||
@@ -5748,7 +5792,7 @@ For privacy considerations, the download of scripts is disabled by default. +
|
|||||||
To enable it, type this command:
|
To enable it, type this command:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set script.scripts.download_enabled on
|
/script enable
|
||||||
----
|
----
|
||||||
|
|
||||||
Then you can download the list of scripts and display them in a new buffer
|
Then you can download the list of scripts and display them in a new buffer
|
||||||
@@ -5758,33 +5802,33 @@ with the <<command_script_script,/script>> command:
|
|||||||
:x: *
|
:x: *
|
||||||
....
|
....
|
||||||
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||||
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
|
│1.weechat│322/322 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, >>│
|
||||||
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
|
│2.scripts│{x} autosort.py 3.10 2023-12-31 | Automatically keep buffers grouped by se│
|
||||||
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
|
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
||||||
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
│ │{x}ia r grep.py 0.8.6 0.8.6 2022-11-11 | Search regular expression in buffers or │
|
||||||
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
|
│ │{x} colorize_nicks.py 32 2023-10-30 | Use the weechat nick colors in the chat │
|
||||||
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
|
│ │##{x}ia r go.py 3.0.1 3.0.1 2024-05-30 | Quick jump to buffers. ##│
|
||||||
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
|
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L│
|
||||||
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
|
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for re│
|
||||||
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
|
│ │ alternatetz.py 0.4 2022-01-25 | Add an alternate timezone item. │
|
||||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
|
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script.│
|
||||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
|
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to │
|
||||||
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
|
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel│
|
||||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
|
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highl│
|
||||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
|
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidental│
|
||||||
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
|
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s│
|
||||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
|
│ │ arespond.py 0.1.2 2022-01-25 | Simple autoresponder. │
|
||||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
|
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@│
|
||||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
|
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currentl│
|
||||||
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
|
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ│
|
||||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
|
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
||||||
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
|
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changi│
|
||||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
|
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
||||||
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .wee│
|
||||||
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
|
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last │
|
||||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
│ │ autojoin_on_invite.py 0.9 2022-10-25 | Auto joins channels when invited. │
|
||||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
|
│ │ automarkbuffer.py 1.0 2015-03-31 | Mark buffers as read if there is no new │
|
||||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
|
│ │ automerge.py 0.2 2018-03-03 | Automatically merge new buffers accordin│
|
||||||
│ │[12:55] [2] [script] 2:scripts │
|
│ │[12:55] [2] [script] 2:scripts │
|
||||||
│ │█ │
|
│ │█ │
|
||||||
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
// Spanish translation, courtesy of Eddú Meléndez <eddu.melendez@gmail.com> with updates from Fede Mendez <federicomh@gmail.com>
|
||||||
|
:appendix-caption: Apéndice
|
||||||
|
:appendix-refsig: {appendix-caption}
|
||||||
|
:caution-caption: Precaución
|
||||||
|
:chapter-signifier: Capítulo
|
||||||
|
:chapter-refsig: {chapter-signifier}
|
||||||
|
:example-caption: Ejemplo
|
||||||
|
:figure-caption: Figura
|
||||||
|
:important-caption: Importante
|
||||||
|
:last-update-label: Ultima actualización
|
||||||
|
ifdef::listing-caption[:listing-caption: Lista]
|
||||||
|
ifdef::manname-title[:manname-title: Nombre]
|
||||||
|
:note-caption: Nota
|
||||||
|
:part-signifier: Parte
|
||||||
|
:part-refsig: {part-signifier}
|
||||||
|
ifdef::preface-title[:preface-title: Prefacio]
|
||||||
|
:section-refsig: Sección
|
||||||
|
:table-caption: Tabla
|
||||||
|
:tip-caption: Sugerencia
|
||||||
|
:toc-title: Tabla de Contenido
|
||||||
|
:untitled-label: Sin título
|
||||||
|
:version-label: Versión
|
||||||
|
:warning-caption: Aviso
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: es
|
:lang: es
|
||||||
:toc-title: Índice
|
include::includes/attributes-es.adoc[]
|
||||||
|
|
||||||
Traductores
|
Traductores
|
||||||
|
|
||||||
@@ -58,12 +58,14 @@ If you still have issues, please report them to the developers.
|
|||||||
Se recomienda utilizar https://brew.sh/[Homebrew ^↗^^],
|
Se recomienda utilizar https://brew.sh/[Homebrew ^↗^^],
|
||||||
puede obtener ayuda con el comando:
|
puede obtener ayuda con el comando:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
brew info weechat
|
brew info weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
Puede instalar WeeChat con este comando:
|
Puede instalar WeeChat con este comando:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
brew install weechat
|
brew install weechat
|
||||||
----
|
----
|
||||||
@@ -326,10 +328,15 @@ Puede utilizar una terminal con selección rectangualr (como rxvt-unicode,
|
|||||||
konsole, gnome-terminal, etc.). La tecla normalmente es kbd:[Ctrl] + kbd:[Alt] + la selección
|
konsole, gnome-terminal, etc.). La tecla normalmente es kbd:[Ctrl] + kbd:[Alt] + la selección
|
||||||
con el ratón.
|
con el ratón.
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
You can toggle nicklist and make it visible only when needed, with key
|
||||||
|
kbd:[Alt+Shift+N].
|
||||||
|
|
||||||
Otra solución es mover la lista de apodos a la parte superior o inferior, por ejemplo:
|
Otra solución es mover la lista de apodos a la parte superior o inferior, por ejemplo:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
|
/set weechat.bar.nicklist.size_max 8
|
||||||
----
|
----
|
||||||
|
|
||||||
[[urls]]
|
[[urls]]
|
||||||
@@ -340,10 +347,14 @@ You can use the bare display (default key: kbd:[Alt+l] (`L`)).
|
|||||||
|
|
||||||
Para abrir direcciones URL más fácilmente, puede:
|
Para abrir direcciones URL más fácilmente, puede:
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
* toggle nicklist and make it visible only when needed, with key kbd:[Alt+Shift+N]
|
||||||
|
|
||||||
* mover la lista de apodos a la parte superior con este comando:
|
* mover la lista de apodos a la parte superior con este comando:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
|
/set weechat.bar.nicklist.size_max 8
|
||||||
----
|
----
|
||||||
|
|
||||||
* inhabilitar la alineación de palabras multilínea:
|
* inhabilitar la alineación de palabras multilínea:
|
||||||
@@ -394,6 +405,7 @@ No hay razón en WeeChat para cambiar la zona horaria, la variable de entorno
|
|||||||
|
|
||||||
En el archivo de inicialización de su shell o en la línea de comando, antes de ejecutar WeeChat:
|
En el archivo de inicialización de su shell o en la línea de comando, antes de ejecutar WeeChat:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
export TZ=America/New_York
|
export TZ=America/New_York
|
||||||
----
|
----
|
||||||
@@ -701,16 +713,18 @@ De acuerdo a la información usada, el ratón podrá o no estar soportado.
|
|||||||
|
|
||||||
Puede comprobar el soporte del ratón en la terminal:
|
Puede comprobar el soporte del ratón en la terminal:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ printf '\033[?1002h'
|
printf '\033[?1002h'
|
||||||
----
|
----
|
||||||
|
|
||||||
Y después haga clic en el primer caracter de la terminal (superior izquierdo). Debería ver " !!#!!".
|
Y después haga clic en el primer caracter de la terminal (superior izquierdo). Debería ver " !!#!!".
|
||||||
|
|
||||||
Para inhabilitar el ratón en la terminal:
|
Para inhabilitar el ratón en la terminal:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ printf '\033[?1002l'
|
printf '\033[?1002l'
|
||||||
----
|
----
|
||||||
|
|
||||||
[[mouse_coords]]
|
[[mouse_coords]]
|
||||||
@@ -766,7 +780,7 @@ Puede intentar una cadena de prioridad diferente, reemplace "xxx" por el nombre
|
|||||||
de su servidor:
|
de su servidor:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_tls_libera]]
|
[[irc_tls_libera]]
|
||||||
@@ -1033,8 +1047,9 @@ 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):
|
Si todavía no funciona, trate de manera manual eliminar los archivos de scripts (escriba en su terminal):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ rm ~/.cache/weechat/script/plugins.xml.gz
|
rm ~/.cache/weechat/script/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -1059,9 +1074,10 @@ que actualizar manualmente el archivo usted mismo para obtener las actualizacion
|
|||||||
|
|
||||||
* en su terminal, con el software curl instalado:
|
* en su terminal, con el software curl instalado:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ cd ~/.cache/weechat/script
|
cd ~/.cache/weechat/script
|
||||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
curl -O https://weechat.org/files/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -1069,6 +1085,7 @@ If you're running macOS and the downloaded file has a size of 0 bytes,
|
|||||||
try to set this variable in your shell initialization file or on command line,
|
try to set this variable in your shell initialization file or on command line,
|
||||||
before starting WeeChat:
|
before starting WeeChat:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||||
----
|
----
|
||||||
@@ -1243,6 +1260,7 @@ See https://weechat.org/about/support/[this page ^↗^^].
|
|||||||
|
|
||||||
Cuando ejecuta WeeChat bajo gdb, puede tener este error:
|
Cuando ejecuta WeeChat bajo gdb, puede tener este error:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ gdb /ruta/a/weechat
|
$ gdb /ruta/a/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1253,6 +1271,7 @@ Cannot find new threads: generic error
|
|||||||
Para solucionar esto, puede ejecutar gdb con este comando (reemplace la ruta a libpthread y
|
Para solucionar esto, puede ejecutar gdb con este comando (reemplace la ruta a libpthread y
|
||||||
WeeChat con las rutas de su sistema):
|
WeeChat con las rutas de su sistema):
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /ruta/a/weechat
|
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /ruta/a/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1261,7 +1280,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /ruta/a/weechat
|
|||||||
[[supported_os]]
|
[[supported_os]]
|
||||||
=== ¿Cual es la lista de plataformas para las que está disponible WeeChat? ¿Será portado a otros sistemas operativos?
|
=== ¿Cual es la lista de plataformas para las que está disponible WeeChat? ¿Será portado a otros sistemas operativos?
|
||||||
|
|
||||||
WeeChat se ejecuta sin problemas en la mayoría de distribuciones Linux/BSD, GNU/Hurd, Mac OS y Windows
|
WeeChat se ejecuta sin problemas en la mayoría de distribuciones Linux/BSD, GNU/Hurd, macOS y Windows
|
||||||
(Cygwin y Windows Subsystem para Linux).
|
(Cygwin y Windows Subsystem para Linux).
|
||||||
|
|
||||||
Hacemos todo lo posible para que pueda ser ejecutado en cuantas plataformas sea posible. La ayuda es bienvenida para
|
Hacemos todo lo posible para que pueda ser ejecutado en cuantas plataformas sea posible. La ayuda es bienvenida para
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: es
|
:lang: es
|
||||||
:toc-title: Índice
|
include::includes/attributes-es.adoc[]
|
||||||
|
|
||||||
Traductores:
|
Traductores:
|
||||||
|
|
||||||
@@ -18,8 +18,9 @@ los atajos de teclado predeterminados.
|
|||||||
|
|
||||||
Ejecuta desde una consola:
|
Ejecuta desde una consola:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
----
|
----
|
||||||
$ weechat
|
weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[help]]
|
[[help]]
|
||||||
@@ -282,7 +283,7 @@ Cierra un servidor, canal o buffer privado (`/close` es un alias para
|
|||||||
/close
|
/close
|
||||||
----
|
----
|
||||||
|
|
||||||
[WARNING]
|
[CAUTION]
|
||||||
Al cerrar el buffer del servidor cerrará todos los buffer de canales/privados
|
Al cerrar el buffer del servidor cerrará todos los buffer de canales/privados
|
||||||
|
|
||||||
Para desconectar del servidor, en el buffer del servidor ejecute:
|
Para desconectar del servidor, en el buffer del servidor ejecute:
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
// French translation, courtesy of Nicolas Comet <nicolas.comet@gmail.com> with updates from Maheva Bagard Laursen <mblaursen@gbif.org>
|
||||||
|
:appendix-caption: Annexe
|
||||||
|
:appendix-refsig: {appendix-caption}
|
||||||
|
:caution-caption: Attention
|
||||||
|
:chapter-signifier: Chapitre
|
||||||
|
:chapter-refsig: {chapter-signifier}
|
||||||
|
:example-caption: Exemple
|
||||||
|
:figure-caption: Figure
|
||||||
|
:important-caption: Important
|
||||||
|
:last-update-label: Dernière mise à jour
|
||||||
|
ifdef::listing-caption[:listing-caption: Liste]
|
||||||
|
ifdef::manname-title[:manname-title: Nom]
|
||||||
|
:note-caption: Note
|
||||||
|
:part-signifier: Partie
|
||||||
|
:part-refsig: {part-signifier}
|
||||||
|
ifdef::preface-title[:preface-title: Préface]
|
||||||
|
:section-refsig: Section
|
||||||
|
:table-caption: Tableau
|
||||||
|
:tip-caption: Astuce
|
||||||
|
:toc-title: Table des matières
|
||||||
|
:untitled-label: Sans titre
|
||||||
|
:version-label: Version
|
||||||
|
:warning-caption: Avertissement
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user