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
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
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01: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
7618fdd240
core: use lower case for CMake keywords
2014-04-12 18:00:27 +02:00
Sébastien Helleu
51d18c92e5
charset: fix /help charset.default.decode
...
The charset is used only when the message is not UTF-8 valid.
2014-04-12 17:32:33 +02:00
Sebastien Helleu
898c9dc195
charset: remove unneeded test in command /charset
2014-02-21 13:09:43 +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
c0081e7355
charset: replace call to strcasecmp by weechat_strcasecmp
...
This fixes a compilation problem on Illumos.
2013-12-21 10:29:32 +01:00
Sebastien Helleu
91f76dc771
charset: remove unneeded warning, do not load plugin when options can not be initialized
2013-11-09 10:23:30 +01:00
Sebastien Helleu
b5f6874f2c
core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am in plugins
...
This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-10-05 20:17:18 +02:00
Sebastien Helleu
94b9104d14
core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am
2013-07-20 09:07:05 +02:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +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
1dc99c1dc2
charset: allow "UTF-8" in charset encoding options (still forbidden in decoding options)
2012-09-19 17:40:13 +02: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
7033c1bda5
charset: fix typo
2012-07-14 23:01:50 +02:00
Sebastien Helleu
f4dc85a3cb
charset: do not allow "UTF-8" in charset options (useless because UTF-8 is the internal WeeChat charset)
2012-07-14 10:50:49 +02:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +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
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
2133eb30ff
Update copyright dates
2010-01-03 19:31:55 +01:00
Sebastien Helleu
fea5c961ae
Fix cmake directories: let user customize lib, share, locale and include directories (patch #6922 )
2009-09-20 21:44:08 +02:00
Sebastien Helleu
38f1bc0837
Remove variable with "WeeChat required version" in plugins, do not compare version any more (API comparison is enough)
2009-06-12 16:02:40 +02:00
Sebastien Helleu
998db86f45
Add cmake files in package built by autotools
2009-03-28 22:53:34 +01:00
Sebastien Helleu
a938ef736a
Remove some messages during startup about scripts and plugins loaded
...
It is still possible to see messages by changing debug level for "core" or
plugins (perl, python, ruby, lua, tcl).
2009-03-18 15:11:18 +01:00
Sebastien Helleu
2115f3f675
Update copyright dates
2009-01-03 10:06:53 +01:00
Sebastien Helleu
e7e2da5a9c
Add null values for options, new syntax for /set, reintroduce temporary IRC server feature, improve IRC server options, new functions in API
2009-01-02 23:05:23 +01:00
Sebastien Helleu
13e3f3c7f0
Fix charset problem with IRC plugin: use server charset if channel charset is not set
2008-12-19 17:43:37 +01:00
Sebastien Helleu
8724fc18af
Use of const for some functions returning "char *"
2008-11-15 22:35:12 +01:00
Sebastien Helleu
6e69f7f3ce
Remove debug plugin (merged to core), new debug variable for each plugin (no more signals for setting debug)
2008-11-02 18:54:25 +01:00
Sebastien Helleu
6f442bbfc1
Add new features to logger plugin (command /logger, log level, level by buffer, mask by buffer, ..), fix some bugs
...
New features:
- new command /logger
- log level, to log only some messages, according to importance (task #8592 )
- level by buffer: custom level for some buffers (or group of buffers)
- log filename mask by buffer (or group of buffers)
- marker line is added after display of backlog
- add "delete" callback for config file sections
- add "mkdir_parents" function to plugin API
- remove old log options in IRC plugin
Bug fix:
- marker line is set only when user switches buffer (not when a plugin force
switch, like IRC plugin does when opening server or channel buffer)
- backlog fixed (sometimes lines were not properly displayed)
2008-10-30 17:18:28 +01:00
Sebastien Helleu
3b81a4746a
Add new argument "value" to function config_new_option
2008-10-18 19:31:40 +02:00
Sebastien Helleu
ac107802fd
Aspell plugin is born again
2008-10-18 16:03:16 +02:00
Sebastien Helleu
5d07aa14ed
Add function to get plugin name (return "core" for WeeChat core)
2008-10-08 19:04:05 +02:00
Sebastien Helleu
c572e393e7
Remove "category" for buffers (keep only name).
2008-09-18 18:44:03 +02:00
Sebastien Helleu
0839b359f9
Add new hooks (info and infolist), IRC plugin now return infos and infolists
2008-08-30 00:25:56 +02:00
Sebastien Helleu
74d595498d
Add hook infolist to plugins API, fix bugs with gettext in plugins
2008-08-22 21:34:29 +02:00
Sebastien Helleu
af87798455
New plugin "notify", new option for debug messages in plugins
2008-06-17 16:01:09 +02:00