summaryrefslogtreecommitdiff
path: root/src/fe-text/mainwindows.c
AgeCommit message (Collapse)Author
2003-11-17potential crashfixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17crashfix when quittingTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3165 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-09Crashfix when sometimes closing a split window.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-22Show window's scroll state with /WINDOW.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01When resizing terminal, width of all split windows weren't always updatedTimo Sirainen
properly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2364 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-09Still some window closing bugs/crashes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Small focus bugfix when closing a split window.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2220 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Fixed some problems with mainwindow resizing not affecting the subwindows.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20/WINDOW STICK <ref#> OFF didn't work.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2126 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20Irssi didn't redraw the screen properly when split windows were created butTimo Sirainen
were never set active. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2119 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15/WINDOW DOWN and /WINDOW UP now cycle to highest/lowest window.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2024 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12Closing last non-sticky window didn't destroy the split window.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12/WINDOW BALANCE was buggy sometimes - thanks to poptix for finding it :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29Windows weren't created with correct size. When setting statusbar lines forTimo Sirainen
windows, irssi didn't resize the window properly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28Redrawing fixes - irssi should now rarely redraw stuff uselessly in screen.Timo Sirainen
Most of the code now just marks the window/statusbar/etc. as dirty, and lets the dirty-checker handle it later. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1926 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28Added support for using terminfo/termcap instead of curses. By default,Timo Sirainen
configure chooses to use ncurses if found, of terminfo if only curses was found. --with-terminfo parameter can be used to specify if you want it or not. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24window-top-statusbars weren't working properly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1907 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20added mainwindow_resize_freeze() and .._thaw() functions to temporarilyTimo Sirainen
freeze all window resizes. It's now being used with statusbar code so changing between split windows don't make the screen jump around. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1860 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20When resizing terminal smaller, destroy some split windows if they don't fitTimo Sirainen
into screen otherwise. Also, irssi doesn't crash anymore or mess up the screen even if terminal is resized to 1x1 size (not sure of 0x0, my terminal doesn't resize that small, and maybe I shouldn't bother with it anyway :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1855 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20Fixed restoring split windows layout. Some other split window resizing fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1854 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15mainwindow_set_statusbar_lines() resized only active window - not allTimo Sirainen
windows in that main window.. This made screen mess up for example with /RELOAD. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1844 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14Resizing terminal works now properly, also sends "terminal resized" signalTimo Sirainen
now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1830 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13Configurable statusbar - see default config file (irssi.conf) for exampleTimo Sirainen
how to configure it. Added %> format which clears to end of line using the current bg color. Added support for multiple input lines (just the core, not used anywhere yet). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-09/WINDOW MOVE UP|DOWN might have crashed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1780 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31mainwindow_set_size() called mainwindow_shrink() improperly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1775 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08/WINDOW BALANCE didn't work properly when topicbar was off. Added a fewTimo Sirainen
comments to mainwindows.h git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07Restoring layout for split windows works betters now. Some sticky windowTimo Sirainen
changes/fixes. Renamed /WINDOW MOVE LEFT|RIGHT -> PREV|NEXT, added commands /WINDOW MOVE UP|DOWN|LEFT|RIGHT. The new LEFT|RIGHT now moves the window only inside split windows. mainwindows-save.c -> mainwindows-layout.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03/WINDOW STICK changes - If ref# is given and it's in another split window,Timo Sirainen
it's moved to the active split window - even if the window was already sticky in the other one. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1702 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03Added sticky window information to /WINDOW.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01Replaced all direct curses calls with screen_xx() wrappers. This shouldTimo Sirainen
enable us to optionally use termcap directly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1535 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01Resizing window destroyed curses window, but didn't update the view's cursesTimo Sirainen
window which kept using the old one, and probably crashed soon. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1532 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-18Split windows created with /WINDOW SHOW are now sticky ifTimo Sirainen
/SET autostick_split_windows is ON. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1506 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-16split windows were broken. added some checks to textbuffer.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1449 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14some resize problems fixedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1445 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14Rewrote text buffer handling in windows - try #3.Timo Sirainen
/SET scrollback_save_formats + /SB REDRAW is broken currently. There's some other minor things that might need to be changed. This time it allows the same window to be visible multiple times in screen, like you could make a new split window where to scroll back and find something while still seeing the new messages at the other window, this however doesn't work yet but it should be quite easy to make it :) I've tested that pretty much everything should work with this, new lines can be added at any position and lines can be removed from any position and screen should be updated properly. Screen resizing should also work perfectly now (maybe it did previously too, not sure) and hopefully now we won't see any of those ugly strange bugs some people were having. Also this time the same code isn't written 2-3 times to do some specific thing, like scrolling has now only one view_scroll() function instead of the 3 separate functions it used to have :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04/WINDOW SHOW didn't work properlyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1335 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10/SAVEWINDOWS saves now split windowsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10/WINDOW STICK [ON|OFF|<ref#>] - stick window to specified main window.Timo Sirainen
After setting window to sticky non-sticky windows can't replace the active sticky one. Each main window can have it's own sticky window group. /WINDOW LEFT, /WINDOW RIGHT - Go to previous/next window in the current sticky window group, or if there's no sticky windows go to previous/next non-sticky window. Alt-Left/Right keys default to these commands now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15screen resizing fixes when resizeterm() isn't supportedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15no, bugfix done wrong :) reversed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15Compiling with --disable-curses-windows was brokenTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07In core/module-formats.h: IRCTXT_ -> TXT_Timo Sirainen
Added "message irc ctcp" signal to print CTCPs git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02window_[add|remove]_item -> window_item_[add|remove]Timo Sirainen
added window_item_destroy(), window_item_remove() doesn't destroy the item anymore window_find_item()'s first parameter changed from WINDOW_REC to SERVER_REC git-svn-id: http://svn.irssi.org/repos/irssi/trunk@922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28Cleaned up printtext.c, split part of it to formats.cTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-08--disable-curses-windows option to configureTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-23Call idlok() for all new subwindows.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@622 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12Don't trigger window activity if window is already visible in someTimo Sirainen
other split window. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@592 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10Still some fixes for curseses without wresize() or resizeterm().Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@579 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10Windowing system fixes, doesn't crash anymore after window resizes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@577 dbcabf3a-b0e7-0310-adc4-f8d773084564