Commit Graph

1801 Commits

Author SHA1 Message Date
Denis Kenzior 566c60a402 gprs: Fixup error path
When we try to register the GPRS D-Bus interface and fail for some
reason, calling gprs_unregister is not really kosher since much of the
initialization has not yet been done.  Call an intermediate function
instead.
2011-02-08 21:55:42 -06:00
Jukka Saunamaki 7243af46fa gprs,gprs-provision: add SPN to provisioning API 2011-02-08 21:48:54 -06:00
Denis Kenzior e0d777a655 core: free GError objects returned by glib 2011-02-08 16:48:52 -06:00
Denis Kenzior a8f15c5cf3 sim: Fixup compiler complaints
src/sim.c:2396: error: comparison between signed and unsigned integer
expressions
src/sim.c:2396: error: comparison between signed and unsigned integer
expressions
2011-02-08 10:19:52 -06:00
Jussi Kangas a8671fe1f7 sim: Allow usage of SIM codes longer than 8 digits
Some PIN codes (e.g. subsidy locks, etc) can have PIN codes much longer
than the default 8 digits.
2011-02-08 10:19:52 -06:00
Denis Kenzior 50f1b7e943 voicecall: Fix check for ECT pre-conditions
We must have 1 Dialing / Alerting / Active call and a single
non-multiparty held call.
2011-02-07 15:53:31 -06:00
Denis Kenzior b97399ce12 simfs: Add function to notify all file watches 2011-02-07 13:35:41 -06:00
Denis Kenzior 53d8bbfe29 sim: Add implementation of sim file watching API 2011-02-07 12:26:50 -06:00
Denis Kenzior 417b445eaf simfs: Add file changed watches to simfs contexts 2011-02-07 12:25:46 -06:00
Denis Kenzior 0eed0db9fe sms: Minor style fix 2011-02-06 23:47:17 -06:00
Denis Kenzior 960310f8b1 sms: Be more paranoid when loading SMS settings 2011-02-06 23:47:17 -06:00
Denis Kenzior 9086328508 sms: Use a better pattern for bearer_from_string 2011-02-06 23:47:17 -06:00
Denis Kenzior 40926f1951 gprs: Be a bit more paranoid when loading settings 2011-02-06 23:47:16 -06:00
Aki Niemi bef5e1773c sms: Add alphabet support to SMS atom 2011-02-06 23:47:16 -06:00
Marcel Holtmann 4be27988ff plugin: Allow colon as plugin name separator 2011-02-06 19:25:58 -08:00
Jeevaka Badrappan 3a03fbf841 smsutil: M16 coding style fix 2011-02-05 07:05:47 -08:00
Jeevaka Badrappan 4d6eaf121c modem: M16 coding style fix 2011-02-05 07:05:32 -08:00
Denis Kenzior b7f8fc6f83 smsutil: Fix compilation 2011-02-03 14:37:00 -06:00
Aki Niemi cd1e58bd20 smsutil: Add alphabet support to encoding 2011-02-03 14:24:00 -06:00
Denis Kenzior d7d24f55ee util: Fix convert_utf8_to_gsm_best_lang logic 2011-02-03 14:18:16 -06:00
Aki Niemi cfb8b40a04 util: Add best dialect picker API 2011-02-03 14:16:16 -06:00
Denis Kenzior 5f3701cda5 util: Use gboolean for returning success / failure 2011-02-03 13:50:42 -06:00
Aki Niemi a1dbd89052 util: Refactor conversion table handling 2011-02-03 13:44:45 -06:00
Denis Kenzior 3f798c4741 core: Minor style tweaks 2011-02-03 13:15:29 -06:00
Andrzej Zaborowski a7a0cb1ed0 simfs: implement ofono_sim_context api 2011-02-03 13:13:37 -06:00
Andrzej Zaborowski 0cde90ff8e simfs: Use cache for sim_fs_read_info requests too.
There seems to be no reason that the fileinfo is cached for file
read or block read requests but not info_only requests, so move
code around to fix this.  O_RDWR is changed to O_WRONLY for the
cache file because the file is not being read in case of cache miss.
2011-02-03 11:01:40 -06:00
Aki Niemi 7d389054ac stk: Fix style issues 2011-02-02 11:03:21 +02:00
Aki Niemi 0b65fb30b0 stkutil: Remove trailing WS 2011-02-02 11:03:21 +02:00
Aki Niemi 59b00052d3 util: Fix style issue with long lines 2011-02-02 11:03:21 +02:00
Aki Niemi 15428cc2df sms: Fix indentation 2011-02-02 11:03:21 +02:00
Aki Niemi f0d855dd99 simutil: Remove trailing WS 2011-02-02 11:03:21 +02:00
Aki Niemi a8112dc1ea sim: Fix style issues 2011-02-02 11:03:21 +02:00
Aki Niemi 6ed9fe85a5 simfs: Add NULL check 2011-02-02 11:03:21 +02:00
Aki Niemi 5d0f67e786 message-waiting: Fix indentation 2011-02-02 11:03:21 +02:00
Aki Niemi 1af43cf7f0 cbs: Fix style issues 2011-02-02 11:03:21 +02:00
Aki Niemi a7f1a1583c call-volume: Fix style issue 2011-02-02 11:03:21 +02:00
Aki Niemi 9f619fd467 call-settings: Fix style issues 2011-02-02 11:03:21 +02:00
Aki Niemi 352795aba6 call-barring: Fix style issue 2011-02-02 11:03:21 +02:00
Aki Niemi ac6656b004 netreg: Fix coding style, M12 2011-02-02 11:03:21 +02:00
Aki Niemi 9be348714d call-forwarding: Remove useless curly brackets 2011-02-02 11:03:21 +02:00
Aki Niemi 8e90c3368c simutil: Add checks for NULL 2011-02-02 11:03:21 +02:00
Aki Niemi cfa179fe6b audio-settings: Fix style, use tabs to indent 2011-02-02 11:03:21 +02:00
Aki Niemi 03d00626f6 call-meter: Fix style issues 2011-02-02 11:03:10 +02:00
Lucas De Marchi 80a257098a common: implement initializer for ofono_call 2011-02-01 18:30:53 +01:00
Andrzej Zaborowski f2c73f0a52 simfs: Return from sim_fs_op_check_cached on error 2011-01-29 18:39:37 +01:00
Andrzej Zaborowski 882c0c2761 simfs: Reset op_source in simfs_read_block
If the block is not in cache or if this is the last block of a last
op in the queue, then fs->op_source might be left with the wrong
value.
2011-01-29 18:39:37 +01:00
Lucas De Marchi f5b1c95490 smsutil: do not allow larger file names
If file name had anything in the name after addr-msgid, it would be
parsed as well. This is not what we want, since there could be temporary
files lying around.
2011-01-28 20:32:09 -06:00
Denis Kenzior 971bdfbe48 smsutil: Don't bother renaming to the same name
In sms_tx_queue_load, if the resulting file is the same (which is quite
often the case) then don't bother trying to rename it.
2011-01-28 20:27:58 -06:00
Denis Kenzior 31a4c0025d smsutil: Fix corner case during tx queue loading
If there are extraneous files in the directory when it is being loaded,
then the index used to rename the old file into the new file can get out
of sync with what the core expects.
2011-01-28 20:20:56 -06:00
Denis Kenzior b1acc3c2db smsutil: simplify tx backup loading
glib functions as a rule do not use g_try* variations.  They use
g_malloc instead, so there's no need to check for out of memory
conditions.
2011-01-28 19:51:32 -06:00