summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar-item.c
AgeCommit message (Collapse)Author
2024-01-01core: update copyright datesSébastien Helleu
2023-11-11core: add incremental search in commands history (issue #2040)Sébastien Helleu
Changes: - move key ctrl+r to ctrl+s - add key ctrl+r to search in commands history - add option `search_history` in command `/input` - add key context "histsearch" - add option weechat.look.buffer_search_history - add buffer variables "text_search_direction", "text_search_history" and "text_search_ptr_history"
2023-10-23core: fix crash when a custom bar item name is already used by a default bar ↵Sébastien Helleu
item (closes #2034)
2023-08-25core: add option `callbacks` in command `/debug`Sébastien Helleu
2023-07-08core: use type "enum" in optionsSébastien Helleu
2023-05-18core: fix refresh of bar item "input_search" after buffer switch in root ↵Sébastien Helleu
bars (closes #1939)
2023-03-26core: Add an option to start multiline input text on a new lineTrygve Aaberge
This does the same as the lead_linebreak option in multiline.pl. That is, when the input contains more than one line, the first line will be displayed beneath the previous items in the bar. This is practical because all the lines in the input will be aligned. Related to #1498
2023-03-26core: fix default value of bar optionsSébastien Helleu
The previous commit e385eec1d6116b8c87889fc1d829aa1c5192156f fixed default value for bar added by plugins and option "items" in all bars. This commit fixes the default value of all bar options.
2023-03-25core: fix gcc warning on snprintfSébastien Helleu
2023-03-17core: also display mouse codes with `/debug key`Sébastien Helleu
2023-03-17core: remove "%s" from translated message for key debugSébastien Helleu
2023-03-16core: add keyboard debug mode with command `/key debug`Sébastien Helleu
2023-01-29core: force ctrl keys to lower case when they are added (closes #1875)Sébastien Helleu
2023-01-01core: update copyright datesSébastien Helleu
2022-12-19core: return directly output of string_dyn_free without temporary variableSébastien Helleu
2022-07-24core: use dynamic string in function gui_bar_item_get_valueSébastien Helleu
2022-04-24api: allow to catch multiple signals in functions hook_signal and ↵Sébastien Helleu
hook_hsignal (closes #1780)
2022-04-18core: add bar item "spacer"Sébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-07-04core: add bar item "typing" in status bar by defaultSébastien Helleu
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]".