summaryrefslogtreecommitdiff
path: root/src/fe-text/statusbar.c
AgeCommit message (Collapse)Author
2007-12-05Reindent.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4651 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-05-03Revert, do not use IS_PRINTABLE in reverse_controls.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4475 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-03Add common IS_PRINTABLE macro.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4474 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-14Fix format_real_length to return the correct length when the input stringEmanuele Giaquinta
includes a trailing wide char. Change statusbar_item_default_handler to compute padding also when item->size < item->min_size, needed after the fix to format_real_length. Patch by Yi-Hsuan Hsin, bug #452. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4416 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15Fixed memleak in recode.c, fixed typo in special_vars.txt, fixed bug 105, ↵Valentin Batz
fixed bug 106 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-20Recode patch by decadix/sennethTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14statusbar is now also updated for connecting-servers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13make sure the statusbar item fills the space it's given, so it won't corruptTimo Sirainen
the statusbar. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2786 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-16fixes for new signaling code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15Rewritten signal handling code - it wasn't supposed to come before 0.9 irssiTimo Sirainen
but it doesn't break much things and is needed for Qt port :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2682 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11All control chars in statusbar items are now displayed reversed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15Added /STATUSBAR commands for most commonly used tasks.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2459 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15Statusbar wasn't always properly cleared when there was right-aligned items.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2449 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01added some pointer casting to get rid of warnings with some compilers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Fixed 2 small memory leaks.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2209 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-18back to "Irssi didn't always remove the statusbar item from screen when itTimo Sirainen
should have." bug - this time with right-aligned items :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2065 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18typobugfix for previous commit.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18After calls to statusbar_item_register() and statusbar_item_unregister(),Timo Sirainen
the statusbars should be redrawn. This also fixes the crash at quit when using statusbar perl scripts. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17Irssi didn't always remove the statusbar item from screen when it shouldTimo Sirainen
have. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2044 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15Changed the escaping system - theme_format_expand_data()'sTimo Sirainen
EXPAND_FLAG_IGNORE_EMPTY now also checks if the argument is a $variable that is empty. Statusbar now first expands the formats and after then expands $variables. Should fix at least when trying to print #$$$ channel in statusbar. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15Right-aligned statusbar items weren't positioned correctly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2021 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12Removed statusbar-items.hTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1990 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-20Dependencies finally work correctly in perl libraries (they're each compiledTimo Sirainen
separately now). Added statusbar code to available to perl, it's now possible to create new statusbar items with perl scripts. statusbar_items_redraw(char *name) can now be used to easily redraw all named statusbar items in screen. Probably several other changes I've already forgotten :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1861 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-14Window-statusbars are created correctly with /RELOAD, some input lineTimo Sirainen
fixes related to /RELOAD. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1831 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-14fallback to sb_background in theme if no other statusbar background settingsTimo Sirainen
were found. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1827 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-08-04statusbar_item_redraw() didn't work properly with multiple split windows.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1704 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-05-11statusbar was a bit broken when using split windowsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1487 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-04-01removed some unused includesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15when some statusbar item was forced to be removed because of lack of space,Timo Sirainen
it still used 2 chars. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15Beginnings of configurable statusbar. The existing items can be configuredTimo Sirainen
in default.theme. If some abstract isn't set in theme, it fallbacks to the one in default.theme now. This should help with old themes, and maybe themes that don't change something should just keep those parts commented out.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12Statusbar rewrites. Colors are currently not configurable at all, but otherTimo Sirainen
than that, it should work better. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1379 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04More statusbar size fixes. Shouldn't corrupt entry line anymore.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04Statusbar could have gotten to endless loop trying to grow size of someTimo Sirainen
item when there was no space left. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31Ugly quick hack to make act: never disappear but print as much activityTimo Sirainen
to statusbar as fits. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] toTimo Sirainen
fe-windows.[ch] git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Lots of moving stuff around - hopefully I didn't break too much :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10Topic bar doesn't get erased anymore after resize.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@582 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
2000-07-26Mainwindows use now real curses WINDOWs, this should fix irssi with someTimo Sirainen
curseses that didn't like setscrreg() (solaris 8). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09You can change statusbar colors with /SET statusbar_xxx.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@440 dbcabf3a-b0e7-0310-adc4-f8d773084564