summaryrefslogtreecommitdiff
path: root/src/gui/gui-completion.c
AgeCommit message (Collapse)Author
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
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-12-08api: allow creation of structure with hdata_update (allowed for hdata "history")Sebastien Helleu
2012-08-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set
2012-07-20core: add support of arrays in hdata variablesSebastien Helleu
2012-02-01core: do not auto add space after nick completer if option ↵Sebastien Helleu
weechat.completion.nick_add_space is off
2012-01-08core: update copyright datesSebastien Helleu
2011-11-12core: add new option weechat.completion.base_word_until_cursor: allow ↵Sebastien Helleu
completion in middle of words (enabled by default) (task #9771)
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-07-26core: add mouse support (task #5435), free cursor movement, hook_focus, fix ↵Sebastien Helleu
bugs with key "^" (bug #32072, bug #21381), fix bugs with bar windows, completion and /buffer New features and bugs fixed: - mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse" - free movement of cursor: new command /cursor, new key context "cursor" - new hook_focus (used by cursor and mouse) - info "cursor_mode" - bugs fixed with key "^" - allow plugin name in /buffer name - fix bugs with bar windows: do not create bar windows for hidden bars - fix completion bug when two words for completion are equal but with different case - automatic scroll direction in /bar scroll (x/y is now optional)
2011-07-12core: fix completion for command arguments when same command exists in many ↵Sebastien Helleu
plugins (bug #33753)