summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar-item.c
AgeCommit message (Collapse)Author
2017-06-10core: improve speed of nicklist bar item callbackSébastien Helleu
It's faster to use a string with dynamic size, rather than looping on the whole nicklist to compute the length of result string, before looping again to build the string.
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-06-03core, gui: remove declared but unused global variablesSimmo Saan
2017-01-01core: update copyright datesSébastien Helleu
2016-09-03core: evaluate content of option "weechat.look.item_time_format" (issue #791)Sébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
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-02-16core: fix truncation of buffer names in hotlist (closes #668)Sébastien Helleu
2016-02-15core: move irc bar item "away" and two options to core (closes #692)Sébastien Helleu
Options moved: * "irc.look.item_away_message" --> "weechat.look.item_away_message" * "irc.color.item_away" --> "weechat.color.item_away".
2016-01-01core: update copyright datesSébastien Helleu
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-04-26core: remove extra spaces in function gui_bar_item_default_mouse_statusSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-12-28core: check bar conditions in root bars and on each update of a bar itemSébastien Helleu
2014-11-06core: add bar item "mouse_status", new options ↵Nils Görs
weechat.look.item_mouse_status and weechat.color.status_mouse
2014-10-05Merge branch 'arraylist'Sébastien Helleu
2014-09-28core: move bar item "scroll" between buffer name and lag in default bar ↵Sébastien Helleu
items of status bar
2014-09-01core: optimize completion by using arraylistsSébastien Helleu
With arraylist (vs weelist), the completion is about 50x faster. It is visible on "/help [+tab]".
2014-08-03core: fix display of bar item "buffer_filter" when toggling filters in ↵Sébastien Helleu
current buffer (closes #150)
2014-07-12core: add option weechat.color.status_nicklist_count (closes #109, closes #110)Sébastien Helleu
2014-05-24api: add argument "flags" in function hdata_new_listSébastien Helleu
2014-05-18core: fix display of item buffer_short_name when the short name is not ↵Sébastien Helleu
defined in buffer
2014-05-16core: add bar item "buffer_short_name" (task #10882)Sébastien Helleu
2014-03-31core: fix refresh of bar item "buffer_zoom" on buffer switchSébastien Helleu
2014-02-26core: fix size used in some snprintfSebastien Helleu
2014-02-13core: use item "buffer_last_number" instead of "buffer_count" by default in ↵Sebastien Helleu
status bar
2014-01-05core: replace calls to sprintf() with snprintf()Sebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-11-30core: add bar item "buffer_last_number"Sebastien Helleu
2013-11-30core: add variable "gui_buffers_count", use it in bar item "buffer_count"Sebastien Helleu
Now the bar item "buffer_count" displays the number of opened buffers (each merged buffer counts 1).
2013-11-09core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" ↵Sebastien Helleu
(patch #8204) (patch from Nils Görs)
2013-08-20core: fix buffer returned in focus info for bar items with a forced bufferSebastien Helleu
2013-08-19core: add syntax "@buffer:item" in bar items to force the buffer used when ↵Sebastien Helleu
displaying the bar item (task #12717)
2013-08-17core: add search of regular expression in buffer, don't reset search type on ↵Sebastien Helleu
a new search, select where to search (messages/prefixes) Key changed in search context: - ctrl+"r": switch search type: string/regex New keys in search context: - alt+"c": case (in)sensitive search - tab: search in messages/prefixes/both
2013-07-20core: add options weechat.look.hotlist_prefix and ↵Sebastien Helleu
weechat.look.hotlist_suffix (task #12730) (patch from Nils Görs)
2013-01-14core: fix click in item "buffer_nicklist" when nicklist is a root bar (bug ↵Sebastien Helleu
#38080) Argument "*" is now silently ignored in command /window. When item "buffer_nicklist" is in a root bar, we use current window/buffer to find which nick has been clicked (same behaviour as callback used to display bar item "buffer_nicklist").
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-12-08api: allow creation of structure with hdata_update (allowed for hdata "history")Sebastien Helleu
2012-12-05core: disable paste detection and confirmation if bar item "input_paste" is ↵Nils Görs
not used in a visible bar (task #12327)
2012-11-02core: add command /eval, use expression in conditions for bars, add function ↵Sebastien Helleu
"string_eval_expression" in plugin API
2012-08-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set
2012-07-29core: fix refresh of bar items when switching windowSebastien Helleu
2012-07-20core: add support of arrays in hdata variablesSebastien Helleu
2012-07-09core: fix refresh of bar items "buffer_filter" and "scroll" in root bars ↵Sebastien Helleu
(bug #36816)
2012-07-07irc: add bar item "buffer_modes", remove option irc.look.item_channel_modes ↵Sebastien Helleu
(task #12022)
2012-05-04core: fix crash in focus hook for nicklist (bug #36271)Sebastien Helleu
2012-03-04core: add support of terminal "bracketed paste mode" (task #11316)Sebastien Helleu
2012-01-08core: update copyright datesSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu