summaryrefslogtreecommitdiffstats
path: root/src/util.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-09util: Add a "sim string" encoding utility.Andrzej Zaborowski1-0/+46
2010-03-16Fix: Use g_try_malloc instead of g_malloc in utilDenis Kenzior1-3/+3
In these cases we were checking for NULL return, but the function used should have been g_try_malloc instead.
2010-01-12Style: Trailing whitespace & extra linesDenis Kenzior1-2/+2
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-24Use error label instead of err or err_outMarcel Holtmann1-6/+6
2009-12-17Style: Fix a few more occurences of if/elseDenis Kenzior1-1/+2
See Linux coding style document for details
2009-09-08Refactor SMS language dialect encoding / decodingDenis Kenzior1-63/+74
- Introduce new enum gsm_dialect instead of unsigned char arguments - Use ISO639 3 letter codes for conversion tables - Use a single lookup table instead of 4 different ones
2009-09-08Fix style issuesDenis Kenzior1-36/+18
2009-09-08Add support for national language variantsAki Niemi1-107/+501
Add API for supporting character conversion using national language variants. Also, add conversion tables for Turkish, Spanish and Portuguese, and fix the default table. The lookup algorithms were tweaked to support multiple tables.
2009-08-06Fix trailing whitespaceDenis Kenzior1-7/+7
2009-07-13Fix signedness warningDenis Kenzior1-1/+1
2009-07-07Don't process surrogate pair charsDenis Kenzior1-0/+4
These are not valid UCS2 chars
2009-07-07Fix length check for valid UCS2 starting with 0xffDenis Kenzior1-1/+8
2009-07-06Add utility to convert SIM FS strings to UTF8Denis Kenzior1-0/+124
2009-07-06GSM to UTF8 should accept empty stringsDenis Kenzior1-1/+1
2009-06-19Don't fail in own_buf if items_written is NULLDenis Kenzior1-2/+3
2009-06-05Only USSD needs the special <cr> handlingDenis Kenzior1-11/+11
Apparently all Cell Broadcasts are always 88 bytes long, with a 6 byte header and 82 byte payload. <cr> character is used as a terminator and padding for the unused payload
2009-05-05Add implementation of telephony daemonDenis Kenzior1-0/+693