Sébastien Helleu
cf5501f69c
core: add priority in plugins to initialize them in order
...
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer,
irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-15 07:40:38 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
c357408c2c
aspell: rename callback for info "aspell_dict"
2014-11-28 07:54:23 +01:00
Sébastien Helleu
1ef3237b6b
api: return value in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
2014-11-22 08:14:29 +01:00
Sébastien Helleu
6860aa491f
aspell: fix compilation with enchant version older than 1.6.0 ( closes #192 )
2014-09-20 11:05:48 +02:00
Sébastien Helleu
dac076c242
aspell: display an error if command "/aspell setdict" is called without a dictionary
2014-08-16 09:07:10 +02:00
Sébastien Helleu
3f3eb55c6d
aspell: remove unneeded else condition
2014-08-16 09:02:31 +02:00
nils_2
2629fd8c74
aspell: fix crash with command "/aspell addword" if no word is given ( closes #164 )
2014-08-15 20:56:52 +02:00
Sébastien Helleu
b14ad26fd5
aspell: rename variable "utf8_char_int" to "code_point"
2014-07-14 09:29:14 +02:00
Sébastien Helleu
7618fdd240
core: use lower case for CMake keywords
2014-04-12 18:00:27 +02:00
Sebastien Helleu
9b380a935b
core: fix use of reserved C identifiers in headers ( closes #31 )
2014-03-19 10:39:13 +01:00
Sebastien Helleu
437767c0ca
api: add integer return code for functions hook_{signal|hsignal}_send
2014-02-10 17:42:53 +01:00
Sebastien Helleu
8fc7515322
core: reformat hook_command arguments
2014-01-18 20:33:19 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
f99103ee21
aspell: fix detection of nicks when there are non-alphanumeric chars around and in private buffers
2013-11-30 13:31:06 +01:00
Sebastien Helleu
332dcf1257
aspell: fix detection of nicks when there is nick completer at the end
2013-11-30 12:58:33 +01:00
Sebastien Helleu
0a0bbeed4d
aspell: fix detection of nicks with non-alphanumeric chars
2013-11-30 12:18:36 +01:00
Sebastien Helleu
3b53a3a8be
core: remove "v" before versions displayed by /debug libs
2013-11-18 07:46:14 +01:00
Sebastien Helleu
be9269dfc2
aspell: display aspell/enchant version on signal "debug_libs"
2013-11-17 20:51:10 +01:00
Sebastien Helleu
a349af5356
aspell: load plugin even if options can not be read in aspell.conf (with warnings)
2013-11-09 10:22:43 +01:00
Sebastien Helleu
b5f6874f2c
core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am in plugins
...
This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-10-05 20:17:18 +02:00
Sebastien Helleu
a9ca95241d
aspell: fix detection of word start/end when there are apostrophes or minus chars before/after word (thanks to Nils Görs)
2013-09-20 19:31:34 +02:00
Sebastien Helleu
eac1ca929b
core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717 )
2013-08-19 21:22:10 +02:00
Sebastien Helleu
f7f019887d
aspell: rename option aspell.look.color to aspell.color.misspelled, add option aspell.color.suggestions
2013-07-20 19:27:51 +02:00
Sebastien Helleu
94b9104d14
core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am
2013-07-20 09:07:05 +02:00
Sebastien Helleu
6103f18cd6
aspell: fix uninitialized variable "lang" when displaying list of installed dictionaries
2013-06-29 12:38:59 +02:00
Sebastien Helleu
fb7edb3518
aspell: add support of enchant library (patch #6858 )
...
Enchant is enabled only if the new option for cmake (or configure) is enabled:
- for cmake: cmake -DENABLE_ENCHANT=ON
- for configure: ./configure --enable-enchant
2013-06-07 21:01:48 +02:00
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