summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-printtext.c
AgeCommit message (Collapse)Author
2002-04-28minor fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2733 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-18sig_gui_print_text: don't crash if dest is NULL.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17"gui print text" signal changed, last parameter is now TEXT_DEST_REC, notTimo Sirainen
level. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11default_color checks moved from fe-text to fe-common, so they work properlyTimo Sirainen
with window-specific themes. also should fix some weird problems related to them and gui_printtext_after(). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-08/SET mirc_blink_fix - if ON, the bright/blink bit is stripped from MIRCTimo Sirainen
colors. Set this to ON, if your terminal shows bright background colors as blinking. Patch by pv2b git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2539 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17fixed a compiler warningTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2500 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10It's possible to use black foreground color now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2418 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
2002-01-19Some MIRC color changes, patch by qrczak@knm.org.plTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2320 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10swapped dark/bright reds.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2306 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-24Added support for changing indentation behaviour with modules.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14Reversed text (^V) works again.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1828 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-14Some internal changes how /SERVER command works. Added /SERVER PURGETimo Sirainen
[<target>] command. The channel output is purged at /PART if the output queue is larger than 10. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 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-07-15Added --home and --config command line parameters to irssi to specifyTimo Sirainen
locations for ~/.irssi and ~/.irssi/config git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-12Replaced GList by adding prev/next pointers to LINE_REC. This should makeTimo Sirainen
some things faster and take a bit less memory. Also fixed an evil memory leak. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1611 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26"print text finished" -> "gui print text finished". Added %[options] formatTimo Sirainen
for printing text. The syntax for options is [+-]<option>[+-]<option>... Currently supports options 't' = timestamp, 'T' = server tag, 's' = line_start, 'S' = line_start_irssi. -s or -S means don't print the line_start. For example %[-st+T] would never print line_start or timestamp to line, but would always print server tag to line. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-18/SET scrollback_lines 0 now means unlimited.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1556 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-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-17%F = blinking on/off. several fixes to make blinking work better. someTimo Sirainen
hilight fixes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15Text buffer: Saving pointer to char[] didn't work correctly withTimo Sirainen
netbsd/alpha which caused crash soon after startup. Changed the code a bit, I'm not sure if it's still correct ANSI C but at least it seems to work fine with netbsd/alpha now :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1397 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-03Removed all beep handling from text printing. If you want to beep justTimo Sirainen
send "beep" signal. /LAST -clear crashed if window contained only lastlog lines. Some other minor cleanups. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1312 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-19Instead of directly calling beep(), send "beep" signal which defaultTimo Sirainen
behaviour is to call beep() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19Moved /LASTLOG handling to lastlog.c. Added options -file <filename>Timo Sirainen
for writing lastlog to file, -window <ref#|name> for specifying which window's lastlog to print (output is always to active window) and -clear option to remove all lastlog lines from window. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1255 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10theme->default_color is now used again, added default_bold_color whichTimo Sirainen
is used with default bolds since A_NORMAL|A_BOLD doesn't seem to do anything with curses.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03Added gui_printtext() function for printing text in printtext() formatTimo Sirainen
to screen in specified position. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04MIRC colors >=16 changed to work as in MIRC (color %= 16)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1066 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04/CLEAR -all - clear all windows.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@961 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03Don't crash if first line in window is just a newlineTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02/SB REDRAW fixes, multiline formats should work now correctly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-27fixed text buffer crash when scrollback got fullTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@893 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23Still some warnings removed..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23more warning fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-22hilight-text: whops, bugfix went wrong :)Timo Sirainen
fe-text: removed the warning that happened when calling printbeep() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21/SCROLLBACK REDRAW - redraw the contents of current window according toTimo Sirainen
active formats, ie. changing theme changes scrollback. It's still a bit buggy (can crash) with multiline formats, need to fix it as soon as I figure out where the problem is.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@852 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-11removed warningTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@728 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-22Using blinking/bright background colors would crash irssi..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@619 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-29Bugfixes for the windowing system.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@548 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-23Display bolds with the current_theme->default_color color, not with theTimo Sirainen
"default color" (0) since it doesn't seem to work right with all terminals. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@531 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23Added syntaxes of all commands in comments, they're going to be used toTimo Sirainen
autogenerate help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564