Commit Graph

17 Commits

Author SHA1 Message Date
Denis Kenzior 213e1ed65a Fix: Use g_try_malloc instead of g_malloc in util
In these cases we were checking for NULL return, but the function used
should have been g_try_malloc instead.
2010-03-16 17:21:06 -05:00
Denis Kenzior 9bed04ca2f Style: Trailing whitespace & extra lines 2010-01-12 17:54:37 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Marcel Holtmann 0b359e89db Use error label instead of err or err_out 2009-12-24 07:09:09 -08:00
Denis Kenzior 955e6a61ee Style: Fix a few more occurences of if/else
See Linux coding style document for details
2009-12-17 21:45:39 -06:00
Denis Kenzior b1932334da Refactor SMS language dialect encoding / decoding
- 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-08 12:44:51 -05:00
Denis Kenzior bfbe142774 Fix style issues 2009-09-08 09:42:29 -05:00
Aki Niemi 462b0b8249 Add support for national language variants
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-09-08 14:16:23 +03:00
Denis Kenzior d4ccad4b72 Fix trailing whitespace 2009-08-06 17:29:11 -05:00
Denis Kenzior 04aae280a0 Fix signedness warning 2009-07-13 22:33:48 -05:00
Denis Kenzior 8d88ff2e11 Don't process surrogate pair chars
These are not valid UCS2 chars
2009-07-07 14:33:59 -05:00
Denis Kenzior 5f04cb1c3e Fix length check for valid UCS2 starting with 0xff 2009-07-07 14:33:59 -05:00
Denis Kenzior 467db7dd7f Add utility to convert SIM FS strings to UTF8 2009-07-06 19:33:24 -05:00
Denis Kenzior ee38e24040 GSM to UTF8 should accept empty strings 2009-07-06 19:32:23 -05:00
Denis Kenzior 5068e895cb Don't fail in own_buf if items_written is NULL 2009-06-19 21:12:16 -05:00
Denis Kenzior 219a94a502 Only USSD needs the special <cr> handling
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-06-05 19:58:27 -05:00
Denis Kenzior a78b36290b Add implementation of telephony daemon 2009-05-05 21:14:19 -07:00