49 Commits

Author SHA1 Message Date
Sébastien Helleu
1d357533b9 core: add bar items with nicklist groups and nicks/groups (closes #1506)
The bar item "buffer_nicklist_count" is now the number of displayed nicks
only (not groups).

New bar items:

- "buffer_nicklist_count_groups": number of groups displayed
- "buffer_nicklist_count_all": number of nicks and groups displayed
2020-05-16 11:27:41 +02:00
Sébastien Helleu
feb6258910 core: update copyright dates 2020-01-04 10:41:26 +01:00
Sébastien Helleu
2b0057239b core: update copyright dates 2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06 core: use https for links to GNU GPL license 2018-11-29 23:16:07 +01:00
Sébastien Helleu
a8b6fa08b7 core: split plugin-api.c into 2 files (API wrappers and infos/infolists) 2018-11-03 23:01:46 +01:00
Sébastien Helleu
ed4837b2f6 core: update copyright dates 2018-01-05 00:54:18 +01:00
Sébastien Helleu
9bad3f44db core: remove value for first #define in headers, add "PLUGIN" in plugin headers 2017-08-10 20:05:16 +02: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
0e6a6a0334 core: move irc bar item "away" and two options to core (closes #692)
Options moved:

* "irc.look.item_away_message" --> "weechat.look.item_away_message"
* "irc.color.item_away" --> "weechat.color.item_away".
2016-02-15 13:36:16 +01:00
Sébastien Helleu
3330724574 core: update copyright dates 2016-01-01 11:09:53 +01:00
Sébastien Helleu
a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Nils Görs
ee7c280d7e core: add bar item "mouse_status", new options weechat.look.item_mouse_status and weechat.color.status_mouse 2014-11-06 08:06:00 +01:00
Sébastien Helleu
b1430131a7 core: add bar item "buffer_short_name" (task #10882) 2014-05-16 20:55:56 +02:00
Sebastien Helleu
9b380a935b core: fix use of reserved C identifiers in headers (closes #31) 2014-03-19 10:39:13 +01:00
Sebastien Helleu
892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu
b7e0e29de7 core: add bar item "buffer_last_number" 2013-11-30 15:57:34 +01:00
Sebastien Helleu
9b4eb6d607 core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" (patch #8204) (patch from Nils Görs) 2013-11-09 13:21:56 +01:00
Sebastien Helleu
eac1ca929b core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717) 2013-08-19 21:22:10 +02:00
Sebastien Helleu
f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Nils Görs
03cbb1c8f6 core: disable paste detection and confirmation if bar item "input_paste" is not used in a visible bar (task #12327) 2012-12-05 19:04:07 +01:00
Sebastien Helleu
32c93b5c0a core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API 2012-11-02 09:37:15 +01:00
Sebastien Helleu
97a64f1334 irc: add bar item "buffer_modes", remove option irc.look.item_channel_modes (task #12022) 2012-07-07 12:44:55 +02:00
Sebastien Helleu
47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu
54a6f42de5 core: add number in windows, improve mouse/cursor actions when screen is split 2011-07-29 19:46:02 +02:00
Sebastien Helleu
e0781f0390 core: add mouse support (task #5435), free cursor movement, hook_focus, fix bugs with key "^" (bug #32072, bug #21381), fix bugs with bar windows, completion and /buffer
New features and bugs fixed:
- mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse"
- free movement of cursor: new command /cursor, new key context "cursor"
- new hook_focus (used by cursor and mouse)
- info "cursor_mode"
- bugs fixed with key "^"
- allow plugin name in /buffer name
- fix bugs with bar windows: do not create bar windows for hidden bars
- fix completion bug when two words for completion are equal but with different case
- automatic scroll direction in /bar scroll (x/y is now optional)
2011-07-26 18:50:29 +02:00
Sebastien Helleu
c8b2a6a084 core: add "hdata" (direct access to WeeChat/plugin data) 2011-06-13 12:32:27 +02:00
Sebastien Helleu
d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu
e5afd593ab Fix default value of bar items options (bug #31422) 2010-10-23 12:29:43 +02:00
Sebastien Helleu
dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +02:00
Sebastien Helleu
6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu
2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu
2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
Sebastien Helleu
d07a7cedc8 Add sub-items in bars (items glued with "+" as separator instead of comma), add buffer_number default bar item 2008-12-19 10:17:55 +01:00
Sebastien Helleu
e69a3f0f0e Add new bar filling types: columns_horizontal and columns_vertical 2008-12-15 22:11:13 +01:00
Sebastien Helleu
ec545c70b1 Add infolists for bars/bar items/bar windows, code cleanup for bars 2008-12-13 19:43:11 +01:00
Sebastien Helleu
349371197c Add 2 new default bar items (input_paste and input_search), used by default input bar 2008-10-10 15:58:11 +02:00
Sebastien Helleu
b97a979f61 Add "buffer_nicklist" bar item and scroll feature in bars with /bar scroll 2008-07-03 16:02:03 +02:00
Sebastien Helleu
0e2fa128a6 Add "buffer_title" bar item, and create title bar when using /bar default 2008-06-28 12:59:58 +02:00
Sebastien Helleu
e5745e4d14 Add "default" option to command /bar, to create default bars (today only input and status) 2008-06-28 12:43:57 +02:00
Sebastien Helleu
50f8bf0043 Add input bar item, add "hidden" flag for bars, fix some display bugs with bars 2008-06-27 17:15:26 +02:00
Sebastien Helleu
6635c7d617 Add delimiter color for bars, fix some bugs with bars 2008-06-22 12:01:50 +02:00
Sebastien Helleu
66e8d703bd Add new options for completion, optional stop instead of cycling with words found 2008-06-18 16:47:09 +02:00
Sebastien Helleu
3a53257032 Add "const" keyword for some "char *" function arguments (core and plugins API) 2008-06-03 10:56:51 +02:00
Sebastien Helleu
5c8ef8109a Added new default bar item "time" 2008-04-12 23:59:27 +02:00
Sebastien Helleu
61ca929728 Added tags for lines and custom filtering by tags or regex (task #7674), fixed many memory leaks 2008-03-22 23:36:12 +01:00
Sebastien Helleu
fe8d679362 Fixed bugs with bars size and refresh 2008-03-15 10:49:42 +01:00
Sebastien Helleu
519f62c11d Added "max_height" parameter for bar item rebuild callbacks 2008-03-07 10:54:33 +01:00
Sebastien Helleu
14d393b11e Partial support of bars, with custom items.
Today only root bars are partially working (refresh is not always performed),
and bars are not saved in configuration file. To be continued...
2008-03-05 16:19:10 +01:00