aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbString.cc
AgeCommit message (Collapse)AuthorFilesLines
2015-04-11Don't assume ICONV_NULL = 0Casey Dahlin1-5/+9
We define the value ICONV_NULL = -1, but when we attempt to set the s_iconv_convs array to all NULL values, we zero the array instead of setting its entries to -1. This patch properly initializes and wipes s_iconv_convs.
2013-05-26build-sys: use pkg-config to locate dependenciesSami Kerola1-1/+1
This commit alters XRANDR (X Resize And Rotate) extension dependency, which is expected to have at least version 1.4. Earlier old versions of xrandr were supported, at least to some extent.
2011-10-31FbTk/FbString.cc,Font.cc: Windows doesn't have nl_langinfoRyan Pavlik1-2/+2
2011-10-23small code simplificationMathias Gumz1-73/+68
2011-09-11FbString: fix build without iconvPeter Korsgaard1-1/+2
Commit 690d926 (introduced FbTk::BidiString) broke building without HAVE_ICONV, because of wrong variable name and use of iconv_t type. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-14cleanup and code deduplicationMathias Gumz1-0/+1
* ClientPattern.cc: make compiler happy (complaints about XPROP not handled in switch) * FbTk/FbPixmap.cc FbTk/StringUtil.cc: signed vs unsigned * FbTk/FbString.cc: missing return * WinClient.cc: create atoms only once; use helper function * Window.cc: use a helper function
2010-09-08introduced FbTk::BidiStringMathias Gumz1-54/+96
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text).
2010-09-05cosmeticMathias Gumz1-2/+6
2010-09-05reuse temporary memory for reencoding / reordering fribidi-stringsMathias Gumz1-17/+25
2010-09-04added support for bidirectional textKen Bloom1-0/+37
2008-04-21some fixes for gcc 3.4Thomas Orgis1-2/+2
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-30removed some unneeded headersMathias Gumz1-7/+3
2007-06-29updates for compiling with gcc 4.3markt1-0/+10
2007-01-05use LC_TIME for interpreting clock locale.simonb1-1/+1
Fix something likely to break locales on BSDs and things without nl_langinfo
2006-10-27cosmetic patch from slava semushin, removes whitespaces andmathias1-22/+28
uses only those things from "namespace std" what we really need.
2006-07-04fix crash on startup from iconv_close of an invalid descriptorsimonb1-1/+2
2006-06-26properly protect usage of iconv_t by HAVE_ICONVsimonb1-2/+6
2006-06-25support encodings in menu filessimonb1-2/+47
2006-06-25fix crash when unable to convert from local to utf-8simonb1-0/+3
2006-06-10fix compile in hosts without HAVE_ICONVsimonb1-5/+6
2006-05-22fix parentrelative background, and some tidyingsimonb1-4/+4
2006-05-22fix build on cygwin (iconv constness)simonb1-3/+9
2006-05-20missing include (broke gcc 2.95 build)simonb1-0/+2
2006-05-20fix error when running with -i (or similar "don't start Fluxbox class" simonb1-0/+5
options
2006-05-07more utf8 changes, notably window titlessimonb1-0/+8
2006-05-07missed two added files, whoopssimonb1-0/+207