Sébastien Helleu
9d98dee7d9
spell: improve error displayed when a word can not be added to the dictionary ( closes #2144 )
2024-07-06 11:57:26 +02:00
Sébastien Helleu
e64ab3c675
core, plugins: replace "%lx" by "%p" in calls to sscanf
2024-06-14 17:59:02 +02:00
Sébastien Helleu
e06e4d1457
core, plugins: use variable "argv" in calls to macro COMMAND_MIN_ARGS
2024-06-09 10:53:05 +02:00
Sébastien Helleu
9a5a1fb300
plugins: remove check of NULL pointers before calling weechat_string_free_split() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
1f104d06a0
spell: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
75dc8b9d6c
core: fix crash on plugin reload when using musl libs ( closes #2052 )
2023-12-15 22:53:51 +01:00
Sébastien Helleu
f65556f3b2
spell: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
722cb27d04
core: add note for translators on command arguments (issue #2005 )
...
Only text between angle brackets (eg: "<name>") must be translated.
2023-09-05 13:28:26 +02:00
Sébastien Helleu
6415c09a07
core: add quotes around paths in CMake files ( closes #29 )
2023-05-13 11:59:18 +02:00
Sébastien Helleu
4aabe8681f
core, plugins: set options to NULL by default, refactor config init functions
2023-04-01 20:56:11 +02:00
Sébastien Helleu
6a2ecc90b3
spell: check buffer pointer received in info "spell_dict"
2023-03-30 22:02:12 +02:00
Sébastien Helleu
fbeab26a35
core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872 )
2023-01-28 15:14:24 +01:00
Sébastien Helleu
f0415c8ec3
core, plugins: make commands, hook command_run, completions and aliases case sensitive (issue #1872 )
2023-01-28 15:13:48 +01:00
Sébastien Helleu
202b4d82c0
plugins: set priority in calls to weechat_config_new (issue #1872 )
2023-01-28 15:13:34 +01:00
Sébastien Helleu
754ab33946
core: remove build with autotools
...
CMake is now the only way to build WeeChat.
2023-01-08 14:19:41 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
56436e57fd
spell: return directly output of string_dyn_free without temporary variable
2022-12-19 07:07:12 +01:00
Sébastien Helleu
a99fc17d40
spell: allow special dict value "-" to disable spell checking on a specific buffer ( closes #1699 )
2022-09-17 10:44:21 +02:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
e6f65122a9
spell: fix comparison of URL prefix with UTF-8 chars (issue #1739 )
...
There is no problem in practice because the possible URL prefixes are hardcoded
in the spell plugin and don't contain any UTF-8 char on more than one byte.
2022-01-15 10:04:12 +01:00
Sébastien Helleu
dccf605e66
typing: add typing plugin
2021-07-04 13:27:32 +02:00
Sébastien Helleu
7cc61cdbb3
core: replace freenode by libera in command examples
2021-05-25 18:44:10 +02:00
Sébastien Helleu
0f9640a5f3
core: split WeeChat home in 4 directories, use XDG directories by default (issue #1285 )
...
The 4 directories (which can be the same):
- config: configuration files, certificates
- data: log/upgrade files, local plugins, scripts, xfer files
- cache: script repository, scripts downloaded (temporary location)
- runtime: FIFO pipe, relay UNIX sockets
2021-05-11 21:06:34 +02:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
ee24fac586
spell: fix crash with IRC color codes in command line ( closes #1589 )
2020-11-20 21:50:05 +01:00
Sébastien Helleu
a2266e4e3f
core: add missing cast to unsigned char on first argument to function isdigit
2020-11-19 22:20:48 +01:00
Sébastien Helleu
eb90a73fe8
spell: fix refresh of bar item "spell_suggest" when the input becomes empty ( closes #1586 )
...
When the input is empty, length of string is zero: when sending zero to
function weechat_string_dyn_alloc, the function returns NULL and therefore we
return immediately instead of handling the empty input, which is a valid value.
The regression was introduced by the use of dynamic strings, commit:
299f74bfef
2020-11-13 21:30:06 +01:00
Sébastien Helleu
54b7c88553
spell: also skip IRC color attributes codes when checking words in input (issue #1547 )
2020-08-28 18:32:50 +02:00
Sébastien Helleu
e25c364790
spell: skip IRC color codes when checking words in input ( closes #1547 )
2020-08-25 19:37:42 +02:00
Sébastien Helleu
299f74bfef
spell: use dynamic string functions to return modified string
2020-08-24 22:12:45 +02:00
Sébastien Helleu
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +02:00
Sébastien Helleu
b459dab84b
spell: properly skip WeeChat color codes when checking words in input ( closes #1547 )
2020-08-22 08:56:21 +02:00
Sébastien Helleu
88bef0b1b1
core: rename functions hook_completion_{get_string|list_add} to completion_{get_string|list_add}
...
Old functions are kept for compatibility reasons.
2020-05-08 10:51:30 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
baf8f635ff
core: fix style in CMake files
2019-10-01 18:31:41 +02:00
Sébastien Helleu
9178156354
api: add argument "strip_items" in function string_split
2019-06-15 20:47:14 +02:00
jesopo
4ea193c981
alias: remove default aliases /AME and /AMSG
2019-06-07 21:35:15 +02:00
Sébastien Helleu
917b2ddf69
spell: add a warning if aspell.conf is still present (on first spell load)
2019-06-04 20:56:05 +02:00
Ryan Farley
8df3ad3d26
cmake: allow custom libdir ( fix #1341 )
...
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR
is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR
used to be set).
2019-04-25 16:53:55 -05:00
Sébastien Helleu
3d95217745
api: return allocated string in hook_info callback and function info_get
2019-04-13 08:42:45 +02:00
Sébastien Helleu
2612adf899
core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
...
This option is OFF by default and should be enabled only for tests, to measure
test coverage.
2019-03-24 09:38:43 +01:00
Sébastien Helleu
2b70d71aa1
core: replace argument "keep_eol" by "flags" in function string_split ( closes #1322 )
2019-03-10 18:29:16 +01:00
Sébastien Helleu
57aa9e060e
spell: rename "aspell" plugin to "spell" (issue #1299 )
...
The following things have been renamed:
- file aspell.conf -> spell.conf
- options aspell.* -> spell.*
- bar item aspell_dict -> spell_dict
- bar item and local variable aspell_suggest -> spell_suggest
- info aspell_dict -> spell_dict
2019-02-19 21:15:56 +01:00