summaryrefslogtreecommitdiff
path: root/src/gui/gui-completion.c
AgeCommit message (Collapse)Author
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)
2011-06-26core: many improvements on hdataSebastien Helleu
New features: - add optional hdata name for variables in hdata - add plugin API functions: hdata_get_var_hdata - use hashtable to store hdata (created by WeeChat and plugins) - free hdata and infolists created by plugin on plugin unload - free all hdata on exit - add "free" option to command /debug hdata - remove hdata for hooks
2011-06-13core: add "hdata" (direct access to WeeChat/plugin data)Sebastien Helleu
2011-03-10Fix bug with repeat of last completion ("%*"), which failed when many ↵Sebastien Helleu
templates are used in completion
2011-01-01Update copyright datesSebastien Helleu
2010-11-09Add function "hook_completion_get_string" in plugin APISebastien Helleu
2010-11-09Move WeeChat core completions from gui-completion.c to wee-completion.cSebastien Helleu
2010-10-31Add extra checks on some pointersSebastien Helleu
2010-06-22Update licenses and copyrights, add missing author names in sourcesSebastien Helleu
2010-04-08Reformat and add comments for description of C sourcesSebastien Helleu
2010-04-03Add option "get" for command /buffer, add completions with buffer propertiesSebastien Helleu
2010-03-24Add new options for command /key (listdefault, listdiff and reset), add ↵Sebastien Helleu
examples in /help key Note: old option "reset" for /key has been renamed to "resetall".
2010-03-19Reformat multi-line commentsSebastien Helleu
2010-03-03Fix completion bug for commands when input starts with two command chars ↵Sebastien Helleu
(like //)
2010-03-02Add new option weechat.look.command_chars, add functions ↵Sebastien Helleu
string_is_command_char and string_input_for_buffer in plugin and script API
2010-01-10Fix bug with completion of words with wide charsSebastien Helleu
2010-01-03Update copyright datesSebastien Helleu
2009-12-07Add missing include of limits.hSebastien Helleu