Sébastien Helleu
b29f18d7ea
aspell: add options to control delimiters in suggestions ( closes #940 )
...
New options:
- aspell.color.suggestion_delimiter_dict
- aspell.color.suggestion_delimiter_word
- aspell.look.suggestion_delimiter_dict
- aspell.look.suggestion_delimiter_word
Option renamed:
- aspell.color.suggestions -> aspell.color.suggestion
2017-04-01 12:26:48 +02:00
Sébastien Helleu
c18be9da21
buflist: load plugin after some other plugins by shifting plugins priority
2017-03-25 14:18:19 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.
With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.
Following functions are affected in the C API:
* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Sébastien Helleu
b98e71a91c
aspell: fix typo in a comment
2015-07-19 09:55:19 +02:00
Sébastien Helleu
4ecd8a505f
api: fix type of value returned by functions utf8_prev_char, utf8_next_char and utf8_add_offset
2015-07-04 08:39:55 +02:00
Sébastien Helleu
bd850398e8
core: add missing comments before functions when the result must be freed after use
2015-07-04 08:24:53 +02:00
Sébastien Helleu
71dd64678c
core: add comments after some #endif
2015-04-30 21:15:30 +02:00
Sébastien Helleu
b15818fd4c
aspell: add bar item "aspell_suggest" in /help aspell ( closes #390 )
2015-04-11 18:58:44 +02:00
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