1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
irssi/src/fe-text
Stephen Oberholtzer 70f9db3cbd Fix delay at startup when running against glib 2.49.3+
In glib v2.49.3, an optimization was made to eliminate certain
unnecessary wakeups.  (The specific change was made in
e4ee3079c5afc3c1c3d2415f20c3e8605728f074). Before this change, the
first call to g_main_iteration would always complete immediately.
In Irssi, this effectively reversed the order of the main loop, causing
the reload_config check and the dirty_check to run *before* the first
blocking call to g_main_iteration.

With the new logic, the first g_main_iteration call now blocks,
preventing the screen from being refreshed until the user starts typing
or a timer goes off.  (It also delays processing of SIGHUP, but I
expect that is not a common situation.)

This commit reorders the main loop to wait at the end of the loop,
rather than the beginning, addressing the problem.

(This closes Debian bug #856201.)
2017-03-21 09:37:23 -04:00
..
gui-entry.c Fix an OOB access in the cutbuffer implementation. 2016-08-24 22:29:52 +02:00
gui-entry.h Improve cutbuffer handling 2016-03-29 15:20:45 +02:00
gui-expandos.c Fix leak with $L expando. 2008-04-21 14:00:02 +00:00
gui-printtext.c reset background for mirc colour 99 2016-12-15 17:06:40 +01:00
gui-printtext.h reimplement format and length logic for the entry prompt 2014-11-10 10:53:14 +01:00
gui-readline.c Kill bell_beeps. 2016-10-23 21:24:12 +02:00
gui-readline.h Since I accidentally already committed some of the detach-code, here's the 2001-12-17 23:01:12 +00:00
gui-windows.c implement break_wide 2017-01-20 10:32:23 +01:00
gui-windows.h add print_text_after_time to specify time stamp for lines 2014-06-27 15:50:36 +02:00
irssi.c Fix delay at startup when running against glib 2.49.3+ 2017-03-21 09:37:23 -04:00
lastlog.c Factor out some redundant code and remove hashtable_get_keys 2016-06-05 17:24:27 +02:00
mainwindow-activity.c Fix leak. 2008-05-27 18:19:34 +00:00
mainwindows-layout.c Prevent some potential null-pointer deferences. 2017-02-14 14:46:14 +01:00
mainwindows.c Fix crash in mainwindows_resize_smaller when the 'mainwindows' list is empty. 2012-06-24 14:33:54 +00:00
mainwindows.h Redrawing fixes - irssi should now rarely redraw stuff uselessly in screen. 2001-10-28 18:40:12 +00:00
Makefile.am remove broken dummy mode 2016-08-12 19:33:56 +02:00
module-formats.c Added customization possibility for the lastlog date format, lastlog_date 2015-02-08 16:58:30 +02:00
module-formats.h Added customization possibility for the lastlog date format, lastlog_date 2015-02-08 16:58:30 +02:00
module.h /SET term_type 8bit|utf8|big5 - Removed --with-big5 configure option, it's 2002-02-15 13:38:24 +00:00
statusbar-config.c add assertion to statusbar_read_group 2016-12-15 16:59:38 +01:00
statusbar-config.h Configurable statusbar - see default config file (irssi.conf) for example 2001-10-13 16:11:13 +00:00
statusbar-item.h Add function to set minimum/maximum size for a statusbar item. 2008-12-01 18:18:59 +00:00
statusbar-items.c manually redraw the activity list on expose only 2016-12-13 03:19:00 +01:00
statusbar.c Fix some ANSI C issues. 2016-05-03 15:28:20 +00:00
statusbar.h Add public header with interfaces to manage statusbar items, bug #535. 2008-12-01 18:12:52 +00:00
term-terminfo.c Fix oob read on invalid utf8 in term_addstr 2016-12-19 15:52:05 -05:00
term.c Finish 256 colour support for Irssi 2014-06-30 02:41:34 +02:00
term.h Move utf8.{h,c} from fe-common/core to core. 2016-05-13 01:26:33 +02:00
terminfo-core.c remove curses terminal and ncurses macro 2016-08-04 10:02:28 +02:00
terminfo-core.h Make use of terminal application keys configurable 2016-03-22 23:58:34 +01:00
textbuffer-commands.c Reject invalid level specifications in /set. 2009-02-21 21:17:51 +00:00
textbuffer-view.c Merge pull request #626 from ailin-nemui/textbuffer_monospace 2017-01-31 14:17:44 +01:00
textbuffer-view.h implement break_wide 2017-01-20 10:32:23 +01:00
textbuffer.c Merge pull request #626 from ailin-nemui/textbuffer_monospace 2017-01-31 14:17:44 +01:00
textbuffer.h support storing and replaying the monospace attribute in textbuffer 2014-09-11 18:15:06 +02:00