1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00
Commit Graph

91 Commits

Author SHA1 Message Date
Sebastien Helleu 149c77decd core: fix typos in many comments and some strings 2013-03-17 12:55:20 +01:00
Sebastien Helleu 6983d34e88 aspell: optimization on spellers to improve speed (save state by buffer), add info "aspell_dict", add completion "aspell_dicts"
Two hashtables have been added to store the spellers currently used (in all
buffers) and info for each buffer: array with pointers to spellers and state of
aspell for this buffer.
Therefore the spellers are not destroyed and created again on each buffer switch,
or each time screen is refreshed when window is split.
2013-01-31 19:40:41 +01:00
Sebastien Helleu a6bc15e69d aspell: fix spellers used when switching buffer
The bug happened when two buffers have different number of dictionaries and start
with same dictionaries. For example buffer #1 with [en,fr] and buffer #2 with [en].
When switching from buffer #1 to buffer #2, aspell does not use only [en], but [en,fr].
2013-01-11 17:25:53 +01:00
Sebastien Helleu db62b272b5 Revert "aspell: store dictionaries in buffer local variable "aspell_dict""
This reverts commit 8b61a55764.

The local variable in buffers introduced new display bugs and would need
some extra code and optimizations to fix.
This will be reintroduced after the release of version 0.4.0.
2013-01-11 16:07:45 +01:00
Sebastien Helleu 8b61a55764 aspell: store dictionaries in buffer local variable "aspell_dict" 2013-01-10 23:30:14 +01:00
Sebastien Helleu 53c6b62ae3 core: fix some copyright dates 2013-01-10 23:14:33 +01:00
Sebastien Helleu fec8a1d122 aspell: ignore self and remote nicks in private buffers 2013-01-04 18:41:27 +01:00
Sebastien Helleu 72f760cd48 aspell: fix compilation warning 2013-01-01 17:28:42 +01:00
Sebastien Helleu 3df1d70bb5 aspell: add signal "aspell_suggest" (sent when new suggestions are displayed) 2013-01-01 17:26:50 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 7eb5cc4b97 core: move comments with description of C file to top of files 2012-12-15 12:27:57 +01:00
Sebastien Helleu 7d34812f1c core: reformat comments for functions 2012-12-13 18:51:44 +01:00
Sebastien Helleu c1389f8fe1 aspell: refresh bar item "aspell_suggest" when aspell is enabled/disabled (bug #37744) 2012-11-16 13:28:24 +01:00
Sebastien Helleu 57d5afeda5 aspell: add bar item "aspell_suggest": suggestions for misspelled word at cursor (task #12061) (patch from Nils Görs) 2012-11-04 11:50:15 +01:00
Sebastien Helleu 9e94bfd48b aspell: update bar item "aspell_dict" only if spellers have changed 2012-11-04 10:49:03 +01:00
Sebastien Helleu ebc4ff82c0 aspell: fix creation of spellers when number of dictionaries is different between two buffers 2012-11-04 09:59:45 +01:00
Nils Görs 668cda2684 aspell: add bar item "aspell_dict" (dictionary used on current buffer) 2012-10-06 17:16:49 +02:00
Sebastien Helleu e41595833a core: update description of plugins and translate them in output of /plugin 2012-08-02 09:21:47 +02:00
Sebastien Helleu 3de7b2ff3d aspell: add new option aspell.check.enabled, add options enable/disable/toggle for command /aspell, display aspell status with /aspell (task #11988)
New options in command /aspell:
- "enable": enable aspell
- "disable": disable aspell
- "toggle": toggle aspell

Options renamed in command /aspell:
- "enable" renamed to "setdict" (set dictionary for current buffer)
- "disable" renamed to "deldict" (delete dictionary used on current buffer)
- "dictlist" renamed to "listdict" (show installed dictionaries)
2012-07-05 16:06:28 +02:00
Sebastien Helleu cbc47ece3d aspell: add missing dictionaries (ast/grc/hus/kn/ky) 2012-07-05 14:41:26 +02:00
Sebastien Helleu b877a53f80 aspell: fix typo in a comment 2012-03-24 11:05:24 +01:00
Sebastien Helleu 5ac884d57f aspell: fix URL detection (do not check spelling of URLs) (bug #34040) 2012-01-24 10:34:36 +01:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu 0d37e2ea6f aspell: add note about option "aspell.check.commands" in /help aspell 2011-10-31 10:04:47 +01:00
Sebastien Helleu 364b006209 aspell: add note about option "default_dict" in /help aspell 2011-10-29 11:34:54 +02:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 53cc5af7c5 aspell: add section "option" in aspell.conf for speller options (task #11083) 2011-04-15 18:45:17 +02:00
Sebastien Helleu e0151b42a6 aspell: fix spellers used after switch of window (bug #32811) 2011-03-16 21:59:39 +01:00
Sebastien Helleu 7d433b798f Improve arguments displayed in /help of commands, display all commands with same name (for same command name in many plugins) 2011-02-04 22:12:19 +01:00
Sebastien Helleu cc6bb607e0 Test return value of calls to sscanf function 2011-01-21 19:30:08 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 6317dba790 Add priority for hooks (task #10550) 2010-08-11 18:42:38 +02:00
Sebastien Helleu dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 9def214c11 Add some notes for translators in gettext files 2010-06-10 12:41:28 +02:00
Sebastien Helleu c33f0e60ea Define WeeChat license as macro for C compiler, used in plugins to set license 2010-04-09 15:39:52 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01:00
Sebastien Helleu 0543b0ccc7 Add new option weechat.look.command_chars, add functions string_is_command_char and string_input_for_buffer in plugin and script API 2010-03-02 17:34:49 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu fea5c961ae Fix cmake directories: let user customize lib, share, locale and include directories (patch #6922) 2009-09-20 21:44:08 +02:00
Sebastien Helleu 1691b3060c Fix typo: explicitely -> explicitly 2009-08-09 12:19:47 +02:00
Sebastien Helleu 9508953b8e Fix typo: mispelled -> misspelled 2009-08-06 21:35:12 +02:00
Sebastien Helleu 2f7a5a4147 Rename function string_explode to string_split 2009-06-28 19:49:32 +02:00
Sebastien Helleu 38f1bc0837 Remove variable with "WeeChat required version" in plugins, do not compare version any more (API comparison is enough) 2009-06-12 16:02:40 +02:00
Sebastien Helleu acb5772334 Add support of many templates for completion of command arguments, rename default completion items 2009-04-11 14:49:34 +02:00
Sebastien Helleu 564afdc75d Fix another aspell bug: don't consider '-' as a word delimiter 2009-04-07 09:46:03 +02:00
Sebastien Helleu 8ec4187d7b Fix aspell bug: don't consider apostrophe as a word delimiter 2009-04-07 09:41:48 +02:00
Sebastien Helleu 998db86f45 Add cmake files in package built by autotools 2009-03-28 22:53:34 +01:00
Sebastien Helleu 7c793257ff Add option aspell.check.real_time (off by default), fix bugs with aspell and utf-8 chars, add function utf8_char_int to API 2009-03-22 16:38:06 +01:00