summaryrefslogtreecommitdiff
path: root/src/gui
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-10core: remove unused function gui_window_clear_weechat (issue #1012)Sébastien Helleu
2017-06-10core: fix bind of keys with space key, like alt+space (bug #32133)Sébastien Helleu
2017-06-08api: allow update of variables "scroll_x" and "scroll_y" in bar_window with ↵Sébastien Helleu
function hdata_update
2017-06-06core: remove unused functions gui_bar_get_min_width and ↵Sébastien Helleu
gui_bar_get_min_height (issue #1012)
2017-06-03gui: remove callback unused after 0b2be21f1f42c2a1b0c200b339d7d2e59595da4cSimmo Saan
2017-06-03gui: remove completion hdata made unusable by arraylist usageSimmo Saan
2017-06-03gui, buflist: remove declared but undefined functionsSimmo Saan
2017-06-03core, gui: remove declared but unused global variablesSimmo Saan
2017-06-03gui: fix gui-focus.h header guardSimmo Saan
2017-06-03gui: remove non-standard enum forward declarationSimmo Saan
2017-06-03gui: fix gui_key_default_bindings declared without argumentsSimmo Saan
2017-06-03core: fix infinite loop when the terminal is closed on the secure password ↵Sébastien Helleu
prompt (closes #1010)
2017-05-21core: remove useless conditionSébastien Helleu
Variables base_word and nick can not be NULL here.
2017-05-10core: remove dead assignment in function gui_input_history_nextSébastien Helleu
2017-05-06core: add option weechat.completion.nick_case_sensitive (closes #981)Sébastien Helleu
2017-05-04core: fix memory leak in display of mouse event debug infoSébastien Helleu
2017-04-25core: fix command /cursor stop (do not toggle cursor mode) (closes #964)Sébastien Helleu
2017-03-31script: move default mouse keys for script plugin from core to script-mouse.cSébastien Helleu
2017-03-31api: add special key "__quiet" in function key_bindSébastien Helleu
2017-03-28core: fix cut of chars in "cutscr" of evaluated stringsSébastien Helleu
This fixes two problems: - stop before max char displayed with wide chars - preserve combining chars in the output Before the fix (wrong): >> ${cutscr:3,+,こんにちは世界} == [こん+] >> ${cutscr:1,+,a${\u0308}} == [a+] After the fix (OK): >> ${cutscr:3,+,こんにちは世界} == [こ+] >> ${cutscr:1,+,a${\u0308}} == [ä]
2017-03-25core: fix type of values for hashtables extra_vars and options in ↵Sébastien Helleu
gui_bar_check_conditions
2017-03-25core: add hotlist pointer in buffer structureSébastien Helleu
2017-03-25core: check that pointers received in arguments are not NULL in "free" functionsSébastien Helleu
Functions: - hdata_free - infolist_var_free - infolist_item_free - infolist_free - string_shared_free - gui_window_objects_free - gui_color_free - gui_completion_free - gui_filter_free - gui_history_buffer_free - gui_hotlist_free - gui_key_free - gui_lines_free - gui_line_tags_free - gui_line_free - gui_window_tree_free - gui_window_scroll_free
2017-03-12core: fix typo: refreshs -> refreshesSébastien Helleu
2017-02-22core: send signal "signal_sigwinch" after refreshs (issue #902)Sébastien Helleu
Sending the signal after the refreshs will let scripts receive the good size for windows/bars/terminal, ie the size computed with the new terminal size.
2017-02-04core: fix delayed refresh when the signal SIGWINCH is received (terminal ↵Sébastien Helleu
resized) (closes #902) This fixes a regression introduced in version 1.7 by changes on signal handlers, commit 018b9693812eb58e6d15602366c61e937a9ea930.
2017-01-22core: add resize of window parents (closes #893)raspbeguy
2017-01-15core: fix compilation on FreeBSD with autotools (issue #276)Sébastien Helleu
2017-01-13tests: fix compilation of tests on FreeBSD 11Sébastien Helleu
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD.
2017-01-01core: update copyright datesSébastien Helleu
2016-12-17core: link with resolv library only on Mac OS XSébastien Helleu
This fixes build on FreeBSD.
2016-12-17core: fix compilation on Mac OS X (closes #276)Sébastien Helleu
The resolver functions like res_init() require link with resolv.
2016-12-17Merge remote-tracking branch 'origin/pr/802'Sébastien Helleu
2016-11-13core: fix deadlock when quitting after a signal is received (closes #32)Sébastien Helleu
The code in signal handers (SIGHUP, SIGQUIT, SIGTERM) is moved into main loop, this hopefully fixes the deadlock when quitting after receiving one of these signals. The code in SIGWINCH signal handler is moved too (even if it shouldn't be a problem).
2016-10-29core: fix display of empty lines in search mode (closes #829)Sébastien Helleu
2016-10-08core: fix integer overflow in calls to realloc (issue #809)Sébastien Helleu
2016-10-08core: fix realloc in function gui_input_optimize_size (issue #809)Sébastien Helleu
This could cause crash in case of memory allocation error (but WeeChat would probably crash or have problems anyway if there's not enough memory for the input line).
2016-09-20core: add option weechat.look.align_multiline_wordsarza
2016-09-08core: replace "clipboard" by "internal clipboard" in /help input and user's ↵Sébastien Helleu
guide
2016-09-03core: evaluate content of option "weechat.look.item_time_format" (issue #791)Sébastien Helleu
2016-08-16core: add optional argument "lowest", "highest" or level mask in command ↵Sébastien Helleu
/input hotlist_clear
2016-08-13core: fix NULL pointer derefence in case of memory error in ↵Sébastien Helleu
gui_buffer_input_buffer_init()
2016-07-09core: rename function string_iconv_fprintf to string_fprintfSébastien Helleu
2016-04-23api: add support of functions in hook_processSébastien Helleu
2016-04-05core: move nick coloring from irc plugin to core (closes #262)Sébastien Helleu
Options moved from irc.conf to weechat.conf: * "irc.look.nick_color_force" moved to "weechat.look.nick_color_force" * "irc.look.nick_color_hash" moved to "weechat.look.nick_color_hash" * "irc.look.nick_color_stop_chars" moved to "weechat.look.nick_color_stop_chars" New info (for API function "info_get"): * "nick_color" (replaces "irc_nick_color") * "nick_color_name" (replaced "irc_nick_color_name") Info "irc_nick_color" and "irc_nick_color_name" are now deprecated. And a bug has been fixed in nick coloring: stop chars are removed before looking at a forced color.
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-03-17core: use ${info:term_width} instead of ${window.win_width} in /help ↵Sébastien Helleu
weechat.bar.xxx.conditions (closes #703)
2016-02-28core: check that pointers received in arguments are not NULL in buffers and ↵Sébastien Helleu
windows functions