summaryrefslogtreecommitdiff
path: root/src/fe-text/statusbar-items.c
AgeCommit message (Collapse)Author
2002-01-29A bit more better utf8 support, still not a good input line.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2355 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Still some #include "servers.h"s ..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01snprintf() -> g_snprintf()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29Make sure the more-statusbar item doesn't crash if there's no active window.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25--more-- statusbar item didn't work properly with split windows. AlsoTimo Sirainen
changed it's settings in non-active window to be the same as in active window (right aligned) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2147 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Rewrote lag statusbar item. It's now updated properly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2102 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18--more-- works again, better than ever :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2066 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15Lag checking fixes - should work fine again.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2016 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-24Always set the newly created entry active. Currently we don't support ↵Timo Sirainen
multiple, but if the entry moves between statusbars sometimes we first create new one then destroy the old one and there's no active then.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23Activity list colors are now configurable.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1903 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21Lag statusbar item isn't anymore displayed alwaysTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1872 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-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-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-14--more-- checker uses now "gui print text finished" signal. "gui " part wasTimo Sirainen
missing from signal_remove("gui print text finished") in gui-printtext.c.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1752 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Removed trigraphs by adding "" in the middle.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08"mail counter" signal is now sent when mail counter is updated in statusbar.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1728 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-06-26Added $cumode expando which works like $P, but prints voices/halfops also.Timo Sirainen
Changed statusbar to use $cumode. Patch by fuchs. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26special-vars: added flag PARSE_FLAG_ESCAPE_THEME to escape { and } charsTimo Sirainen
with % char. Used this with statusbar items - now for example "{error xxx}" topic won't print it with error color. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1564 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-03-17Hilighting updates. /HILIGHT -color, /SET hilight_color and /SETTimo Sirainen
hilight_act_color now use %codes for specifying color. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15minor cleanupTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1388 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-12%n+bg color change doesn't anymore set foreground black. changed theme'sTimo Sirainen
default_bold_color to default_real_color. Activity list printed first item with white always. Color redrawed itself every second. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1381 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-02-21added format_get_length() for getting length of text part in a formatTimo Sirainen
string. gui_printtext() now works like printtext_string() so %s won't accidentally crash it. /SET prompt can now have %formats. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19Highlight colors can now have background color set with fg,bg. WorksTimo Sirainen
with activity list too, useful for example blinking. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1249 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
2001-01-09Highlighting cleanups. Added /HILIGHT -priority option.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01Added/moved several "typedef struct _XXX XXX;" to common.h so thatTimo Sirainen
they're known to all files and I don't need those stupid "void *xxx" anymore just to avoid useless #include. Header files themselves don't either include others as often anymore. Added channel->ownnick to point to our NICK_REC in channel's nicks. Gives a minor speedup in few places :) Moved completion specific lastmsgs from channel/server core records to fe-common/core specific records. Also changed the nick completion logic a bit so it should work better now. Removed completion_keep_publics_count setting, but changed the meaning of completion_keep_publics to same as _count was before. Nick completion doesn't have any time specific code anymore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17Some minor query fixes. Nick changes are also detected by checking ifTimo Sirainen
query with another nick from same address if found. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02Moved activity to last item in statusbarTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17Don't crash if MAIL environment isn't set.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@848 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-11-12Text printing changes. Formats are now optionally saved to each line soTimo Sirainen
later if you used /format it would change the old lines too. However the actual line changing doesn't work yet :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-15Some hilight+window activity related fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27Also moving windows and changing refnum updates activity list.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27Closing window didn't update window activity list.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@678 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25Don't show statusbar with bold colorTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-24Bugfix for checking if user mode was empty (don't show (+) in statusbar)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06/set autocreate_query -> /set autocreate_query_levelTimo Sirainen
fixes to /ircnet, /server and /channel commands other updates and fixes git-svn-id: http://svn.irssi.org/repos/irssi/trunk@649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-01Added chat protocol register. Changed all chat_type fields to use it.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@640 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-20Channel mode handling changed - there's no more mode_xxx fields inTimo Sirainen
channel structure, but instead just one mode string field. Also handling half-ops (+h) should work right. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@617 dbcabf3a-b0e7-0310-adc4-f8d773084564