summaryrefslogtreecommitdiff
path: root/src/gui/gui-completion.c
AgeCommit message (Collapse)Author
2023-01-28core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872)Sébastien Helleu
2023-01-28core, plugins: check that string parameters are not NULL in search functions ↵Sébastien Helleu
(issue #1872)
2023-01-28core: make get/set object properties case sensitive (issue #1872)Sébastien Helleu
2023-01-28core, plugins: make commands, hook command_run, completions and aliases case ↵Sébastien Helleu
sensitive (issue #1872)
2023-01-01core: update copyright datesSébastien Helleu
2022-12-24api: rename char comparison functions "utf8_char*" to "string_char*"Sébastien Helleu
2022-12-18api: return newly allocated string in functions string_tolower and ↵Sébastien Helleu
string_toupper
2022-01-17core: update copyright datesSébastien Helleu
2022-01-15core: fix search of commands with UTF-8 chars in name when option ↵Sébastien Helleu
weechat.look.command_incomplete is on (issue #1739)
2021-01-02core: update copyright datesSébastien Helleu
2020-12-19core: add buffer local variable "completion_default_template" (evaluated) ↵Sébastien Helleu
(closes #1600) When this local variable is set, it overrides the value of option "weechat.completion.default_template". It is evaluated, that means the global default template can be used to append some custom completion. For example: /buffer set localvar_set_completion_default_template ${weechat.completion.default_template}|%(my_completion)
2020-04-28core: remove obsolete commentSébastien Helleu
The completion context can be "GUI_COMPLETION_NULL" if there's no base word found (for example empty input).
2020-04-28api: return integer in function gui_completion_search (issue #1484)Sébastien Helleu
2020-04-27api: add hdata "completion_word" (issue #1484)Sébastien Helleu
2020-04-27api: add functions completion_new, completion_search and completion_free ↵Sébastien Helleu
(issue #1484)
2020-02-09core: fix unlikely memory leak in completionSébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-01-26core: do not automatically add a space when completing "nick:" at the ↵Sébastien Helleu
beginning of command line The space can be added in option weechat.completion.nick_completer (this is now the default value of the option): /set weechat.completion.nick_completer ": "
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-07-21gui: fix uncleared completion item (#1162)Nils Görs
2018-01-05core: update copyright datesSébastien Helleu
2017-12-09core: add option weechat.completion.partial_completion_templatesSébastien Helleu
This option is used to force partial completion on specific templates (for now only "config_options").
2017-06-03gui: remove completion hdata made unusable by arraylist usageSimmo Saan
2017-05-21core: remove useless conditionSébastien Helleu
Variables base_word and nick can not be NULL here.
2017-05-06core: add option weechat.completion.nick_case_sensitive (closes #981)Sébastien Helleu
2017-03-25core: check that pointers received in arguments are not NULL in "free" functionsSébastien Helleu
Functions: - hdata_free - infolist_var_free - infolist_item_free - infolist_free - string_shared_free - gui_window_objects_free - gui_color_free - gui_completion_free - gui_filter_free - gui_history_buffer_free - gui_hotlist_free - gui_key_free - gui_lines_free - gui_line_tags_free - gui_line_free - gui_window_tree_free - gui_window_scroll_free
2017-01-01core: update copyright datesSébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
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-01-01core: update copyright datesSébastien Helleu
2015-07-25core: flush stdout/stderr after sending text directly on them (fix corrupted ↵Sébastien Helleu
data sent to hook_process() callback) (closes #442)
2015-07-04api: fix type of value returned by functions utf8_prev_char, utf8_next_char ↵Sébastien Helleu
and utf8_add_offset
2015-01-01core: update copyright datesSébastien Helleu
2014-11-09core: add option weechat.completion.command_inline (task #12491)Sébastien Helleu
2014-10-16core: fix memory leak in completionSébastien Helleu
2014-09-01core: use a sorted arraylist for partial completionsSébastien Helleu
With a sorted list, the partial completion is about 50x faster (like other completions).
2014-09-01core: optimize completion by using arraylistsSébastien Helleu
With arraylist (vs weelist), the completion is about 50x faster. It is visible on "/help [+tab]".
2014-08-23core: allow incomplete commands if unambiguous (task #5419)Sébastien Helleu
2014-02-21Merge branch 'trigger'Sebastien Helleu
2014-02-14core: fix completion template used in command completion when first argument ↵Sebastien Helleu
in template has pipes
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-02-02core: fix compilation on Android (replace calls to rindex by strrchr) (bug ↵Sebastien Helleu
#41420, patch #8301)
2014-01-01core: update copyright datesSebastien Helleu
2013-04-18api: add property "completion_freeze" for function buffer_set: do not stop ↵Sebastien Helleu
completion when command line is updated
2013-03-17core: fix refresh of item "completion" (bug #38214) (patch from Nils Görs)Sebastien Helleu
The item is now cleared after any action that is changing content of command line and after switch of buffer.
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-12-20core: search for a fallback template when a no template is matching command ↵Sebastien Helleu
arguments