Commit Graph

15 Commits

Author SHA1 Message Date
christos 5113710e5b add FreeBSD 2015-05-17 13:14:41 +00:00
christos d2ed0c780a fix warnings on ubuntu 32 bit (Miki Rozloznik) 2015-05-14 10:44:15 +00:00
christos 21ea10bd7a split the allocation functions, their mixed usage was too confusing. 2015-02-22 02:16:19 +00:00
christos aecf67a262 PR/49683: Amir Plivatsky: Off-by-one comparison in ct_decode_string() leading
to out of bounds referrence.
XXX: pullup-7
2015-02-22 00:46:58 +00:00
christos 71cf54e71e OpenBSD is like us. 2015-02-17 22:49:26 +00:00
christos 872b7bf4a3 easier with an int for now. 2011-11-16 01:45:10 +00:00
christos 749960097c Since Width() is used only for display purposes we don't want to pass -1 for
unprintable characters.
2011-11-15 23:54:14 +00:00
christos c11bd863f5 pass -Wconversion 2011-07-29 23:44:44 +00:00
wiz 3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
christos ca8b6091c1 Use the same hack for Solaris and MacOS/X. This is not right, we only really
support UTF-8, but it will get us going until this is fixed properly.
From Jess Thrysoee
2010-04-20 02:01:13 +00:00
christos a5b37ffc65 From Jess Thrysoee
expose ct_enc_width()
2010-04-15 00:55:57 +00:00
christos 73eda9fe27 rename historyw -> history_w for consistency.
add wide tst code and make it the default.
2010-01-03 18:27:10 +00:00
christos 4168f34493 expose the encode and decode string functions for the benefit of history
and readline.
2009-12-31 18:32:37 +00:00
christos 0b9ae3fdf0 Fix wide build, test it, but don't turn it on yet. 2009-12-30 23:54:52 +00:00
christos 34e53048e6 Wide character support (UTF-8) from Johny Mattsson; currently disabled. 2009-12-30 22:37:40 +00:00