Ryan Pavlik
b82999c1ac
FbTk/FbString.cc,Font.cc: Windows doesn't have nl_langinfo
2011-10-31 10:54:09 -05:00
Mathias Gumz
dc18666ef2
small code simplification
2011-10-23 09:01:19 +02:00
Peter Korsgaard
b9e9eb4e44
FbString: fix build without iconv
...
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>
2011-09-11 17:18:30 +02:00
Mathias Gumz
2b62cf9733
cleanup and code deduplication
...
* 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-15 01:22:01 +02:00
Mathias Gumz
690d926ac4
introduced FbTk::BidiString
...
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-08 20:17:21 +02:00
Mathias Gumz
83656fc0e8
cosmetic
2010-09-05 10:47:12 +02:00
Mathias Gumz
63f9c8c1a2
reuse temporary memory for reencoding / reordering fribidi-strings
2010-09-05 10:47:01 +02:00
Ken Bloom
ea98db4140
added support for bidirectional text
2010-09-04 15:01:33 +02:00
Thomas Orgis
1e2ab2f3ed
some fixes for gcc 3.4
2008-04-21 15:43:10 -07:00
Mark Tiefenbruck
9c105111d2
remove old svn $Id$ tags
2008-01-03 17:34:12 -08:00
Mathias Gumz
04cd2fd14c
removed some unneeded headers
2007-12-30 16:32:53 +01:00
markt
329fca30fd
updates for compiling with gcc 4.3
2007-06-29 17:25:24 +00:00
simonb
64fcedda00
use LC_TIME for interpreting clock locale.
...
Fix something likely to break locales on BSDs and things without
nl_langinfo
2007-01-05 16:10:56 +00:00
mathias
10082d821d
cosmetic patch from slava semushin, removes whitespaces and
...
uses only those things from "namespace std" what we really need.
2006-10-27 06:57:43 +00:00
simonb
b407e121ba
fix crash on startup from iconv_close of an invalid descriptor
2006-07-04 23:41:43 +00:00
simonb
aedcaea054
properly protect usage of iconv_t by HAVE_ICONV
2006-06-26 01:36:27 +00:00
simonb
80389b5dd5
support encodings in menu files
2006-06-25 09:05:58 +00:00
simonb
577859034d
fix crash when unable to convert from local to utf-8
2006-06-25 07:18:41 +00:00
simonb
e8a6f45c9e
fix compile in hosts without HAVE_ICONV
2006-06-10 16:42:39 +00:00
simonb
4afe5499b2
fix parentrelative background, and some tidying
2006-05-22 15:09:21 +00:00
simonb
d508292a57
fix build on cygwin (iconv constness)
2006-05-22 07:34:25 +00:00
simonb
ff463a0481
missing include (broke gcc 2.95 build)
2006-05-20 15:27:40 +00:00
simonb
460f57a4ad
fix error when running with -i (or similar "don't start Fluxbox class"
...
options
2006-05-20 15:23:54 +00:00
simonb
faf043bef9
more utf8 changes, notably window titles
2006-05-07 10:08:25 +00:00
simonb
c69b4020c5
missed two added files, whoops
2006-05-07 03:45:43 +00:00