summaryrefslogtreecommitdiff
path: root/src/fe-text/textbuffer-view.c
AgeCommit message (Collapse)Author
2006-08-08Merge of cuix back in trunknattfodd
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-23replace guint by gsize for the glib2 version of irssi_ssl_readValentin Batz
like it's defined in GIOFuncs for glib2 moved src/fe-text/utf8.* to src/fe-common/core changed get_utf8_char so it returns a status code and the unichar argument pointer to the value that it returned before if there were no errors, so you can check for a negative value an handle the error git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4091 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-05fix minor textbuffer leak, Bug 288 by TobyWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-24Fixes for Chinese multibyte characters handling and cursor movement, patchTimo Sirainen
by Wang WenRui git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-26BIG5 stuff is used only if term_type is big5Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-19BIG5 fixes by vanilla@FreeBSD.org(?)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3134 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10GC fixes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14Some changes to make doublewidth chars possibly work (or possibly horriblyTimo Sirainen
break whole utf8 support :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18External indent functions (theme_indent module) weren't working properly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13changed log domain and changed few g_return_if_fails to g_asserts. theTimo Sirainen
domain change makes all glib warnings be printed into stderr instead of trying to print them into irssi window which most probably would just mysteriously crash. also irssi doesn't now crash if it thinks screen height is 0 :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2787 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15/SET term_type 8bit|utf8|big5 - Removed --with-big5 configure option, it'sTimo Sirainen
now included the same way as utf8, though i'm not sure if it really works but at least it should partially :) Input line is now internally using 32bit chars but it's converted to 8bit chars for external use. Text buffer supports only 8bit + utf8 for now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2448 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-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
2002-01-29Preliminary support for UTF8 with /SET term_utf8 ON. Input line is stillTimo Sirainen
messed up, but lines should wrap properly in text buffer. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2354 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20Fixed a memory leak.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2329 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-18Fixed the "multiple space split" fix :) It was causing crashes, strange thatTimo Sirainen
it worked in my tests.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2051 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17If line was split from multiple spaces, irssi printed the spaces in theTimo Sirainen
beginning of the next line - which wasn't good if the next line was statusbar.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2045 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15The default color for line should be ATTR_RESET, not 0 (black).Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2025 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-13Reset the terminal color before scrolling, so the scrolled area's background ↵Timo Sirainen
doesn't get non-black.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2000 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04Still messing up with colors.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03Don't clear the window before redrawing, it's faster to do it at the sameTimo Sirainen
time window is being redrawn. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03update_cmd_color() updated colors wrong.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03Some fixes to drawing lines & handling long lines.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01Buffer overflow fix (read-only, might have caused some crashes).Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28clrtoeol() wasn't called always when drawing buffer, so some garbage couldTimo Sirainen
have been left to screen. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28Some resize fixes. With terminfo + /SET indent_always OFF, doubleclickingTimo Sirainen
long words (URLs mostly) that get split into two lines, selects the word fully. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1929 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-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-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-14Reversed text (^V) works again.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14/SET scroll ON - should the windows be scrolled by default when you're atTimo Sirainen
bottom. /WINDOW SCROLL ON|OFF|DEFAULT - Window specific scrolling behaviour, also saved in windows layout. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1751 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12textbuffer_view_remove_line() fixes (with a small kludge..)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1741 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08Some extra cleanups for /SB CLEAR.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1719 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-04resizing empty windows didn't work properlyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1539 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-02bugfixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1536 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-01s/newline/new_line/ - AIX curses (or something) seems to use #defineTimo Sirainen
newline for something git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1528 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21scrolling in empty windows crashedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21removing line from the top of the screen crashed irssiTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1507 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17textbuffer_view_redraw() - call werase() before drawing anything, thisTimo Sirainen
hopefully helps with some buggy curseses. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1505 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11Line removing fixes, /LAST -clear fixedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1477 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11resizing terminal with /CLEARed empty windows scrolled those windows so thatTimo Sirainen
the last screenful of text was visible again. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1474 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-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