summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-main.c
AgeCommit message (Collapse)Author
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-07-13core: fix compiler warnings on calls to snprintfSébastien Helleu
2018-03-16core: quit WeeChat on ctrl-C (signal SIGINT) in headless modeSébastien Helleu
2018-03-11core: add binary weechat-headless to run WeeChat without interface (closes ↵Sébastien Helleu
#1120) The optional command line option "--daemon" runs WeeChat like a daemon (fork, new process group, file descriptors closed).
2018-01-07core: fix some stylesSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-06-03core: fix infinite loop when the terminal is closed on the secure password ↵Sébastien Helleu
prompt (closes #1010)
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-01core: update copyright datesSé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-04-23api: add support of functions in hook_processSé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-01-01core: update copyright datesSébastien Helleu
2015-07-18core: fix crash if a file descriptor used in hook_fd() is too high (> 1024 ↵Sébastien Helleu
on Linux/BSD) (closes #465) The calls to select() are replaced by poll(), which doesn't have limitation on file descriptor number.
2015-06-28core: allow ctrl-C to exit WeeChat when the passphrase is asked on startup ↵Sébastien Helleu
(closes #452)
2015-05-01core: fix compilation on CygwinSébastien Helleu
The header sys/select.h is now required for select() function.
2015-04-30core: add comments after some #endifSébastien Helleu
2015-04-25core: display the welcome message immediately after the startup message, ↵Sébastien Helleu
move source code to weechat.c
2015-04-17core: add a welcome message on first WeeChat run (closes #318)Sébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-07-14core: move main() function into Curses GUISébastien Helleu
2014-03-29core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup"Sebastien Helleu
2014-03-06core: add option weechat.look.hotlist_add_conditions, remove option ↵Sebastien Helleu
weechat.look.hotlist_add_buffer_if_away
2014-02-16core: add bare display mode (for easy text selection and click on URLs)Sebastien Helleu
New key: alt+"!", to swith to bare display (same key to come back to standard display). New options: - weechat.look.bare_display_exit_on_input (default: on): by default any changes in input will return to standard display - weechat.look.bare_display_time_format (default: "%H:%M"): the format of time used in bare display.
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-01-21core: delay the signal "signal_sigwinch" after WeeChat screen refreshSebastien Helleu
The signal is sent after WeeChat screen refresh, so all sizes for windows, bars, ... are already adjusted to the new terminal size.
2014-01-21core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized)Sebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-11-23core: free nicklist data (for hsignal) on exitSebastien Helleu
2013-11-18core: use #ifdef to check if versions are defined in signal "debug_libs"Sebastien Helleu
2013-11-18core: remove "v" before versions displayed by /debug libsSebastien Helleu
2013-11-17core: add option "libs" for command /debug, add signal "debug_libs"Sebastien Helleu
2013-11-09core: rename option weechat.look.set_title to weechat.look.window_title ↵Sebastien Helleu
(evaluated string)
2013-09-23core: replace some calls to ncurses *printw functions by *addstrSebastien Helleu
2013-08-10core: optimize the removal of lines in buffers (a lot faster to clear/close ↵Sebastien Helleu
buffers with lot of lines) The update of variables "buffer_max_length" and "prefix_max_length" in struct t_gui_lines is now delayed and made during the main refresh (in main loop). For a buffer with 50K lines, it is up to 3300 times faster to clear/close it. For a buffer with 4096 lines (default limit), it is up to 120 times faster.
2013-07-27core: add secured data with optional encryption in file sec.confSebastien Helleu
2013-04-12core: do not force weechat_quit to 0 in main loop, so that a /quit issued ↵Sebastien Helleu
before main loop is working
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-03-17core: add support of multiple layouts (task #11274)Sebastien Helleu
2013-01-05core: fix refresh of bars when applying layout (bug #37944, bug #37952)Sebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-12-16core: add git version in build, display it in "weechat-curses --help" and ↵Sebastien Helleu
/version
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-04-11core: fix display bugs and crashs with small windows (bug #36107)Sebastien Helleu
2012-03-04core: rename option weechat.look.bracketed_paste_mode to ↵Sebastien Helleu
weechat.look.paste_bracketed
2012-03-04core: add support of terminal "bracketed paste mode" (task #11316)Sebastien Helleu