Sébastien Helleu
7ee88fb46c
core: fix some styles
2018-01-07 09:11:45 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
e579e86929
fset: shift plugins priority to insert fset plugin between buflist and fifo
2017-06-25 21:22:36 +02:00
Sébastien Helleu
c18be9da21
buflist: load plugin after some other plugins by shifting plugins priority
2017-03-25 14:18:19 +01:00
Sébastien Helleu
70d110026c
alias: check that alias pointer is not NULL in function "alias_free"
2017-03-25 14:05:03 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
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-03-21 18:11:21 +01:00
Sébastien Helleu
7a55d8aa29
alias: do not allow slashes and spaces in alias name ( closes #646 )
2016-01-05 07:46:24 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Simmo Saan
5499843905
core: update examples of alias add commands
2015-08-06 18:20:29 +03:00
Sébastien Helleu
b1bd5c721e
alias: add options "add", "addcompletion" and "del" in command /alias, remove command /unalias ( closes #458 )
2015-07-20 07:54:59 +02:00
Sébastien Helleu
4ecd8a505f
api: fix type of value returned by functions utf8_prev_char, utf8_next_char and utf8_add_offset
2015-07-04 08:39:55 +02:00
Sébastien Helleu
bd850398e8
core: add missing comments before functions when the result must be freed after use
2015-07-04 08:24:53 +02:00
Sébastien Helleu
0770b95266
alias: remove unused function alias_get_final_command()
2015-07-04 08:16:05 +02:00
Sébastien Helleu
cf5501f69c
core: add priority in plugins to initialize them in order
...
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer,
irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-15 07:40:38 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
1ef3237b6b
api: return value in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
2014-11-22 08:14:29 +01:00
Sébastien Helleu
34723d2acc
api: allow wildcard "*" inside the mask in function string_match
2014-04-12 23:07:06 +02:00
Sebastien Helleu
01c7f1cc6a
alias: use same return code and message in all commands when arguments are wrong/missing
2014-02-21 13:09:24 +01:00
Sebastien Helleu
8fc7515322
core: reformat hook_command arguments
2014-01-18 20:33:19 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
786ad41309
alias: remove unneeded warning, do not load plugin when options can not be initialized
2013-11-09 10:21:46 +01:00
Sebastien Helleu
b63fca15fa
alias: mention local variables of buffer in /help alias
2013-03-10 08:27:55 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
992ed5b75c
alias: improve completion of command /alias
2012-12-20 19:31:12 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
1fa23e6d9c
alias: give higher priority to aliases (2000) so that they take precedence over an existing command
2012-12-02 13:13:24 +01:00
Sebastien Helleu
e41595833a
core: update description of plugins and translate them in output of /plugin
2012-08-02 09:21:47 +02:00
Sebastien Helleu
a306fcfd33
alias: reallow names beginning with "#" for aliases
2012-06-04 18:20:47 +02:00
Sebastien Helleu
c681c660c6
alias: prohibit names beginning with "#" for aliases (bug #36584 )
2012-06-04 09:59:03 +02:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
034b216eee
alias: add help about syntax %%command for completion of alias in /alias
2011-12-17 18:32:40 +01:00
Sebastien Helleu
1acaa0ebd3
alias: improve /help alias: display many <command> in command synopsis
2011-10-27 08:45:06 +02:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
f843f904bc
core: fix bugs with calls to realloc
2011-08-28 15:25:30 +02:00
Sebastien Helleu
06a9546ca5
core: return WEECHAT_RC_OK instead of WEECHAT_RC_ERROR in commands when error is displayed
2011-04-16 10:58:15 +02:00
Sebastien Helleu
7d433b798f
Improve arguments displayed in /help of commands, display all commands with same name (for same command name in many plugins)
2011-02-04 22:12:19 +01:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
ec38523bb3
Complete with alias value for second argument of command /alias
2010-11-09 15:52:50 +01:00
Sebastien Helleu
6562d676fe
Update licenses and copyrights, add missing author names in sources
2010-06-22 19:46:28 +02:00
Sebastien Helleu
c33f0e60ea
Define WeeChat license as macro for C compiler, used in plugins to set license
2010-04-09 15:39:52 +02:00
Sebastien Helleu
31bfcf96c7
Reformat and add comments for description of C sources
2010-04-08 18:15:00 +02:00
Sebastien Helleu
2bad57ae28
Add note about /unalias in /help alias
2010-03-23 09:58:07 +01:00
Sebastien Helleu
8f9f1f8e97
Fix typo in /help alias
2010-03-21 18:35:44 +01:00
Sebastien Helleu
b40ea94a49
Add custom completion for aliases (task #9479 )
2010-03-21 18:30:51 +01:00
Sebastien Helleu
2801b8437c
Reformat multi-line comments
2010-03-19 23:33:14 +01:00
Sebastien Helleu
0543b0ccc7
Add new option weechat.look.command_chars, add functions string_is_command_char and string_input_for_buffer in plugin and script API
2010-03-02 17:34:49 +01:00
Sebastien Helleu
eb56a98fc8
Remove evil tabs in sources
2010-01-24 10:47:53 +01:00
Sebastien Helleu
4da0cff321
Add new IRC commands /allchan and /allserv with excluding option, commands /ame and /amsg are now aliases, new aliases /aaway and /anick
2010-01-08 16:20:16 +01:00