summaryrefslogtreecommitdiff
path: root/src/fe-text
AgeCommit message (Collapse)Author
2001-05-06keyboard handling rewriteTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-01--with-big5 enables Chinese Big5 charset support. Patch by vanilla@freebsd.orgTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1458 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-22/SET indent_always - should we indent the long words that are forciblyTimo Sirainen
wrapped to next line. Default is ON. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20potential crash fix..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1451 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-16added/removed some checksTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1450 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-14resize fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1446 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-14bugfixes for multiple windows support :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1443 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 unused colorsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-01gui_window_line2text(): don't keep track of colors - if fg or bg doesn'tTimo Sirainen
change, just use FORMAT_COLOR_NOCHANGE instead of figuring out what it should be. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1435 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-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-17Added some debug messages..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1401 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-15minor cleanupTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1388 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-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-08/SET scroll_page_count - don't crash if /0 is given. Works now properlyTimo Sirainen
if /0.xx is given. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1364 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07/LASTLOG -window unknown crashed irssiTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04"command window prev" -> "command window previous"Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04/SET autostick_split_windows (default ON) - should we do /WINDOW STICKTimo Sirainen
ON to all new split windows and hidden windows that are created inside it. This hopefully makes it easier to use split windows. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1344 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-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-03-03/SET prompt - if target had %c or something in it, it shouldn't beTimo Sirainen
treated as color code. So color codes can now be used in /SET prompt string itself, but in none of the $variables it uses. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1324 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-03-03delete_next_word key implemented, patch by TinukTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03/LASTLOG: -case option for case-sensitive matches. -force option is nowTimo Sirainen
required to print lastlogs longer than 1000 lines. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-27/WINDOW STICKY -> /WINDOW STICKTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21Entry line works now properly with very long promptsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1277 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-19/LASTLOG syntax updatedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1256 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-19/NETSPLIT prints nicks now sorted and prints @ or + before channel ifTimo Sirainen
user was opped/voiced before split. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1251 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-02-19Moved autoconnects and command line parameter parsing from irc to core.Timo Sirainen
Added not_initialized parameter to chat protocols that are created using chat_protocol_get_unknown(). /CONNECT doesn't crash now with non-initialized protocols but instead complains about them. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17more static perl fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17/LOAD module tries to load "module_core" instead. If it wasn't found,Timo Sirainen
it fallbacks to "module" again. If it is found, it tries to load several other modules too, like irc_module, fe_module and fe_irc_module. Split perl module to perl_core and fe_perl. Removed "_common" from some fe_common modules. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 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-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-10added descriptions for left_window and right_windowTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1200 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-02-05make deinitialization between screen_refresh_freeze() andTimo Sirainen
screen_refresh_thaw() so screen won't get redrawn needlessly git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1184 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