summaryrefslogtreecommitdiff
path: root/src/fe-text/irssi.c
AgeCommit message (Collapse)Author
2017-03-21Intentation/whitespace fixesStephen Oberholtzer
Change several instances of space-indentation to tabs, matching the surrounding code.
2017-03-21Fix delay at startup when running against glib 2.49.3+Stephen Oberholtzer
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.)
2016-08-12remove broken dummy modeailin-nemui
2015-12-09Remove all WIN32 ifdefs (unifdef -UWIN32)dequis
Just use cygwin. This looks like it wasn't enough to do anything useful, and I don't think anyone cares about supporting win32 the hard way.
2015-09-20Remove Garbage Collection support.Alexander Færøy
GC support was never enabled by default and nobody in the current development team seems to care about it.
2015-02-17Refuse to load broken configs on irssi startAilin Nemui
By temporarily raising the fatal log level to critical during irssi start-up, we make it fail when the config file is broken. This is then re-set so that /reload of a broken config file will not crash irssi and just report the errors and gracefully continue instead.
2014-09-11source cleanup: remove trailing whitespacesMichael Vetter
2014-07-08Suggest /HELP rather than HELPDavid Leadbeater
At this point cmdchars is definitely / and the user might not know they need to add / to a command.
2014-07-08Change to printtext for first time message tooDavid Leadbeater
2014-07-08Only show banner if not connecting to serversDavid Leadbeater
It's tricky to make the banner show first in all cases and it's unlikely to be seen if someone is connecting to a server already, so just don't show it.
2014-07-06Fixed a compiler warning for statusbar_redrawGeert Hauwaerts
Fixed a compiler warning for statusbar_redraw.
2014-07-06Updated the startup banner + added generic bannerGeert Hauwaerts
I updated the banner displayed when you start Irssi for the first time and I have added a banner that will be displayed everytime you start Irssi.
2009-01-10Remove buggy /scrollback redraw - scrollback_save_formats.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-07g_mem_set_vtable must be called before using any other GLib functions.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4734 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05Remove check for ancient default.theme.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-03Remove popt and use glib GOption commandline option parserEmanuele Giaquinta
(glib-2.6 is now the minimum required version). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-11Fix broken URI.Geert Hauwaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-07Use autoconf PACKAGE_TARNAME/PACKAGE_VERSION macros rather than automakeEmanuele Giaquinta
PACKAGE/VERSION ones. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-24Move 'version' option in main.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-24Cleanup option handling.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-19Fix typos.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4457 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-07Remove unused gettext code.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4438 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-14Replace last occurrence of IRSSI_DIR_SHORT with get_irssi_dir() and remove it.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-03-26Removed all srand calls and added a single srand invokation in at startupJochen Eisinger
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-12fixed recoding of own messages.Valentin Batz
recode after expand_emphasis remove the redundant call to setlocale(LC_CTYPE, ) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4038 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-12call setlocale(LC_ALL, ) once in fe-text/irssi.c and not everytime ↵Valentin Batz
recode_get_charset() is called in recode.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11Added /MANUAL-WINDOWS alias which removes all automated windowing stuff.Timo Sirainen
Startup message also mentions it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-25didn't compile without gcTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3103 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-25Lets see if GC happens to work now without explicit free() calls. PerlTimo Sirainen
objects now set the C pointer to NULL once they're done with it, so this might just work without leaking.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3101 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-11Check for gc.h tooTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23--with-gc enables now support for Boehm's GC, if it's found and glib2 isTimo Sirainen
used. This also enables an extra check for perl library to verify scripts aren't using objects that have already been free'd - while not a fully safe solution it's much better than before :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-09grammatical fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2991 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01Moved setlocale() at the beginning of initialization, should fix regexpTimo Sirainen
crashes with non-C locale. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-07irsis --dummy fixed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2850 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11freeze/thaw before/after running glib main loop, so the cursor isn't movedTimo Sirainen
uselessly around. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10typofix.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2769 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10SIGHUP now does /RELOAD - useful with for example /SBAR prompt DISABLE whenTimo Sirainen
you don't have an input line to recover :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02Ignoring SIGTRAP signal which is sent at /UPGRADE time.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2375 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in someTimo Sirainen
systems, use our own is_...() functions now instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17Since I accidentally already committed some of the detach-code, here's theTimo Sirainen
rest of it. It doesn't really work, you can make irssi detached but you can't attach to it anymore :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17Separate irssi-dummy binary was a bit stupid idea, now it can be started ↵Timo Sirainen
with -d command line parameter. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03add the "gui exit" with signal_add_last() so it can be aborted while still ↵Timo Sirainen
running the other "gui exit" hooks. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2179 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20/UPGRADE now saves the session, disconnects the servers so that the socketTimo Sirainen
isn't closed but irssi thinks its disconnected, then it quits irssi, and as the last command executes the new irssi. This way we get clean deinitialization so irssi can close log files, destroy scripts, etc. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Removed memory debugging code. It's a lot easier to check for bufferTimo Sirainen
overflows with electric fence and memory leaks with memprof. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19moved the dirty_check() before fe_common_core_finish_init() so that ifTimo Sirainen
~/.irssi/startup file does something that wants to change the prompt it would work.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2089 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Redraw the screen before emitting "irssi init finished" signal, so we haveTimo Sirainen
input entry created if someone wants to change prompt. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2087 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19/UPGRADE - upgrade-on-the-fly feature. Currently only moves the activeTimo Sirainen
server connections to the new irssi process, but that should be enough to never quit from IRC again :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2070 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02Moved some stuff from irc to core. Added command_bind_proto() function toTimo Sirainen
bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564