23 Commits

Author SHA1 Message Date
Sébastien Helleu
fabd48cc6c core: move nick coloring from irc plugin to core (closes #262)
Options moved from irc.conf to weechat.conf:

* "irc.look.nick_color_force" moved to "weechat.look.nick_color_force"
* "irc.look.nick_color_hash" moved to "weechat.look.nick_color_hash"
* "irc.look.nick_color_stop_chars" moved to
  "weechat.look.nick_color_stop_chars"

New info (for API function "info_get"):

* "nick_color" (replaces "irc_nick_color")
* "nick_color_name" (replaced "irc_nick_color_name")

Info "irc_nick_color" and "irc_nick_color_name" are now deprecated.

And a bug has been fixed in nick coloring: stop chars are removed before
looking at a forced color.
2016-04-05 07:56:43 +02: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
c4e3d66ba5 core: add a parent name in options (closes #629)
Inherited values are now displayed in /set output when the value is
null, if a parent option name is defined in option.

New option: weechat.color.chat_value_null
2015-12-24 07:53:37 +01:00
Sébastien Helleu
6f0151e128 fifo: add /fifo command 2015-12-02 19:46:34 +01:00
Sébastien Helleu
49243fc114 doc: fix name of emphasized text color in developer's guide 2015-10-07 20:42:06 +02: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
1fb3e8b2dc doc: sort directories and files, reformat emacs lisp example in developer's guide 2015-05-17 07:48:21 +02:00
Sébastien Helleu
fd3b3d6711 doc: update list of repositories in developer's guide 2015-05-17 07:46:54 +02:00
Sébastien Helleu
4b5bc0ac8d doc: add missing file test-arraylist.cpp in developer's guide 2015-05-15 22:17:59 +02:00
Sébastien Helleu
300d1ad44e doc: add Javascript plugin in docs 2015-03-07 16:52:30 +01:00
Sébastien Helleu
fdcf46b476 doc: add translators in docs, move table of contents on the left, build HTML5 2015-01-12 21:53:34 +01:00
Sébastien Helleu
a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sébastien Helleu
0cd2aff765 core: use https for WeeChat URLs 2014-12-13 09:16:09 +01:00
Sébastien Helleu
3d4c4aac9b doc: minor changes in developer's guide 2014-11-01 10:14:32 +01:00
Sébastien Helleu
f804484b06 doc: fix typos in French docs 2014-10-29 07:36:27 +01:00
Sébastien Helleu
71425bddfb doc: add file "wee-arraylist.c" in developer's guide 2014-10-05 08:48:23 +02:00
Sébastien Helleu
181e44d126 doc: add missing file "tests.cpp" in developer's guide 2014-08-14 19:05:48 +02:00
Sébastien Helleu
d083b77d7f doc: add file main.c in developer's guide 2014-07-20 16:50:53 +02:00
Sébastien Helleu
ee0ed7b839 doc: remove obsolete "test" directory with weercd in developer's guide 2014-07-20 12:18:15 +02:00
Sébastien Helleu
db9a8e7bc4 tests: add unit tests using CppUTest
The tests can be run only via CMake:

  1. build with tests: cmake .. -DENABLE_TESTS=ON
  2. make
  3. ctest  (or ctest -V for verbose output)
2014-07-20 12:13:25 +02:00
Sébastien Helleu
dc0229617a doc: use .asciidoc extension instead of .txt for doc files 2014-05-25 12:47:24 +02:00