summaryrefslogtreecommitdiff
path: root/src/core/wee-input.c
AgeCommit message (Collapse)Author
2022-01-17core: update copyright datesSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-11-17core: fix and normalize error messagesSébastien Helleu
2020-05-09core: add an option for multiline input in a buffer (closes #984)Trygve Aaberge
This allows the input callback function for a buffer to receive multiple lines at once, instead of the message being split on newline before being sent to the callback. It adds a new flag, input_multiline, to control this. This flag defaults to 0 which is the current behavior.
2020-01-04core: update copyright datesSébastien Helleu
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-03-29core: don't execute command scheduled by /wait if the buffer does not exist ↵Sébastien Helleu
any more
2019-03-28api: add option "delay" in hashtable options of function command_options ↵Sébastien Helleu
(issue #1327)
2019-03-28core: make "input_commands_allowed" work with /wait and /repeat commands ↵Sébastien Helleu
(issue #928)
2019-03-11core: improve message displayed when a command is not allowed (issue #928)Sébastien Helleu
The whole command with arguments and the full buffer name are now displayed in the warning message (in debug mode only).
2019-02-28api: add function command_options (issue #928)Sébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-10-01core: replace "long unsigned int" by "unsigned long"Sébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
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)