summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar-item.c
AgeCommit message (Collapse)Author
2021-01-02core: update copyright datesSébastien Helleu
2020-11-22core: increase buffer size in function gui_bar_item_time_cbSébastien Helleu
This fixes a compiler warning complaining about a too small buffer for snprintf, even if this should never happen.
2020-08-23api: add argument "bytes" in function string_dyn_concatSébastien Helleu
2020-08-17core: replace calls to malloc by callocSébastien Helleu
After these calls to malloc the memory is set to zero, so it's better to call calloc that does it already.
2020-05-16core: add bar items with nicklist groups and nicks/groups (closes #1506)Sébastien Helleu
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-10core: properly display newlines in input for all buffersTrygve Aaberge
Supporting multiple lines in the input bar is useful even for buffers without input_multiline set, because it enables you to compose multiple lines at once, even if it is sent as multiple messages. It is particularly useful when you paste multiple lines and want to edit some of it before you send the message.
2020-05-09core: properly display newlines in input when multiline is enabled in buffer ↵Sébastien Helleu
(issue #984, issue #1063)
2020-01-04core: update copyright datesSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-10-01core: replace "long unsigned int" by "unsigned long"Sébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-25doc: add non-breaking spaces in French messagesSébastien Helleu
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