summaryrefslogtreecommitdiff
path: root/src/core/wee-input.c
AgeCommit message (Collapse)Author
2017-08-21core: add flag "input_get_empty" in bufferSébastien Helleu
The default value is 0 (legacy behavior). When it is set to 1, an empty input (just by pressing Return with nothing in input) is sent to the input callback, which receives an empty string.
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-01-01core: update copyright datesSébastien Helleu
2014-11-22api: return value in function command(), remove WeeChat error after command ↵Sébastien Helleu
callback if return code is WEECHAT_RC_ERROR
2014-08-23core: fix error message in case of ambiguous incomplete commandSébastien Helleu
2014-08-23core: fix typo: too much calls -> too many callsSébastien Helleu
2014-08-23core: allow incomplete commands if unambiguous (task #5419)Sébastien Helleu
2014-03-18core: check validity of buffer pointer when data is sent to a bufferSebastien Helleu
2014-03-18core: fix crash when buffer is closed during execution of multiple commands ↵Sebastien Helleu
(closes #27)
2014-03-02core: fix memory in execution of commandsSebastien Helleu
This memory leak was introduced by commit aa81067ad070f05a4aaf98383781eba0fbafefd6
2014-02-21core: use same return code and message in all commands when arguments are ↵Sebastien Helleu
wrong/missing
2014-01-01core: update copyright datesSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-01-24api: add modifier "input_text_for_buffer"Sebastien Helleu
2012-01-24core: fix typo in commentSebastien Helleu
2012-01-08core: update copyright datesSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-01-01Update copyright datesSebastien 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-03-19Reformat multi-line commentsSebastien Helleu
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-02-09Add new command /silenceSebastien Helleu
2010-01-03Update copyright datesSebastien Helleu
2009-03-21Add new command /version, add count of /upgrade, fix bugs with command execSebastien Helleu
New (core) command /version displays version, and number of upgrades done with first start date (if # /upgrade > 0). The number of upgrades is displayed at startup (if > 0).
2009-01-03Add error message when a command failed, fix typos in aspell pluginSebastien Helleu
2009-01-03Update copyright datesSebastien Helleu
2008-11-15Reintroduce option "irc.network.send_unknown_commands", save extra data for ↵Sebastien Helleu
buffers with /upgrade (title, input data, text search)
2008-07-18Fix bug with input line when it starts with "//" (command is no more executed)Sebastien Helleu
2008-06-03Add "const" keyword for some "char *" function arguments (core and plugins API)Sebastien Helleu
2008-05-22Increase number of authorized calls to same command (recursive calls), from ↵Sebastien Helleu
1 to 5 (more than 5 is considered as looping)
2008-04-29Removed key functions (replaced by /input command)Sebastien Helleu
2008-04-18Replaced /builtin command by /command, and can now be used to launch ↵Sebastien Helleu
commands with same name from different plugins
2008-03-23Removed sizeof(char) and useless type casts from void* to another pointer ↵Sebastien Helleu
type (patch from Leonid Evdokimov)
2008-03-22Added tags for lines and custom filtering by tags or regex (task #7674), ↵Sebastien Helleu
fixed many memory leaks
2008-02-02Use of sizeof(char) in all malloc/realloc for stringsSebastien Helleu
2008-01-10Added some missing functions in Perl plugin APISebastien Helleu
2008-01-02Update of year in some copyrightsSebastien Helleu
2007-12-18All messages translated to french, fixed bugs/typos in some messagesSebastien Helleu
2007-12-17New backlog option in logger plugin, added variable names in .h files, ↵Sebastien Helleu
replaced "void *" pointers by structures
2007-12-04Removed WeeChat "command" structure, now all internal commands are hooked ↵Sebastien Helleu
when WeeChat starts
2007-12-03Added alias plugin, added missing config file functions in plugins APISebastien Helleu
2007-12-01New config functions, almost entirely rewritten from scratchSebastien Helleu
2007-11-25Added buffer argument in command hooks, code cleanup in IRC pluginSebastien Helleu
2007-11-05Added string_remove_quotes() function, use of argv and argv_eol for WeeChat ↵Sebastien Helleu
commands arguments
2007-11-05Added keep_eol flag to string_explode(), updated hook command callback argumentsSebastien Helleu