32 Commits

Author SHA1 Message Date
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
AYANOKOUZI, Ryuunosuke
77f69890bd core: update Japanese translations 2016-01-05 09:00:00 +09:00
Sébastien Helleu
3330724574 core: update copyright dates 2016-01-01 11:09:53 +01:00
AYANOKOUZI, Ryuunosuke
173239bb37 core: update Japanese translations 2015-12-25 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
7d27d05877 core: update Japanese translations 2015-11-22 09:00:00 +09:00
Sébastien Helleu
49243fc114 doc: fix name of emphasized text color in developer's guide 2015-10-07 20:42:06 +02:00
AYANOKOUZI, Ryuunosuke
5c37c1c6f6 core: update Japanese translations 2015-08-26 09:00:00 +09: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
AYANOKOUZI, Ryuunosuke
8feb4c1c3b core: update Japanese translations 2015-05-18 01:34:03 +09: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
AYANOKOUZI, Ryuunosuke
e9d56f19a8 core: update Japanese translations 2015-03-16 01:28:22 +09:00
Sébastien Helleu
300d1ad44e doc: add Javascript plugin in docs 2015-03-07 16:52:30 +01:00
AYANOKOUZI, Ryuunosuke
8986ab9621 core: update Japanese translations 2015-01-18 12:54:58 +09: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
AYANOKOUZI, Ryuunosuke
5a7d437d86 core: update Japanese translations 2014-10-25 09:39:37 +09:00
Sébastien Helleu
71425bddfb doc: add file "wee-arraylist.c" in developer's guide 2014-10-05 08:48:23 +02:00
AYANOKOUZI, Ryuunosuke
37f7d69cdc core: update Japanese translations 2014-08-17 00:01:14 +09:00
Sébastien Helleu
4c12639f61 doc: add tags for missing translations in Japanese developer's guide 2014-08-16 09:24:40 +02:00
Sébastien Helleu
181e44d126 doc: add missing file "tests.cpp" in developer's guide 2014-08-14 19:05:48 +02:00
AYANOKOUZI, Ryuunosuke
c3ec3cd3ed core: update Japanese translations 2014-07-26 17:56:38 +09: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