Commit Graph

411 Commits

Author SHA1 Message Date
Rémi Denis-Courmont 18b99fa032 Fix configure script on bash 2.0
../configure: line 11885: CFLAGS+= -Werror -Wextra: command not found
../configure: line 11886: CFLAGS+= -Wno-unused-parameter: command not found
../configure: line 11887: CFLAGS+= -Wno-missing-field-initializers: command not found
../configure: line 11888: CFLAGS+= -Wdeclaration-after-statement: command not found
../configure: line 11889: CFLAGS+= -Wmissing-declarations: command not found
../configure: line 11890: CFLAGS+= -Wredundant-decls: command not found
../configure: line 11891: CFLAGS+= -Wcast-align: command not found
2009-08-03 12:32:22 -05:00
Denis Kenzior 5f2c9b13e2 Make distcheck work 2009-07-31 18:32:44 -05:00
Andres Salomon 4d993d518b add manpage for ofonod
I created this manpage for Debian; feel free to use it.  The license
is the same as oFono's.
2009-07-31 18:20:23 -05:00
Andrzej Zaborowski 0809e33659 Fix possible memory leak on SIM reading error.
This would also stall the SIM op queue if there's a read error for a record
other than the first.  The other solution would be "goto next;" (keep
reading further records).
2009-07-31 09:56:44 -05:00
Andrzej Zaborowski cfce4413c6 Don't use g_slist_length to check for empty lists.
A glib Anti-pattern according to http://www.burtonini.com/blog
2009-07-31 09:56:21 -05:00
Andrzej Zaborowski ebf6fca07a Clean up in sim.c.
Remove unused variables and fields.
Move EFadn format parsing to a common function because various files use
this same format.
2009-07-31 09:55:46 -05:00
Andrzej Zaborowski 049e573691 Use STORAGEDIR autoconf voodoo from Bluez. 2009-07-29 17:22:12 -05:00
Denis Kenzior 3e6d4237cb Remove all uses of modem.h 2009-07-29 16:53:19 -05:00
Denis Kenzior 8e4d029d84 Get rid of modem.h 2009-07-29 16:44:17 -05:00
Denis Kenzior 98436eb539 Get rid of unnecessary function 2009-07-29 16:44:17 -05:00
Denis Kenzior a2d310642f Move ofono_modem functions to modem.c 2009-07-29 16:44:17 -05:00
Denis Kenzior ea4886816f Move MODEM_INTERFACE to dbus.h 2009-07-29 16:44:17 -05:00
Denis Kenzior b50291466d Move MANAGER_PATH to dbus.h 2009-07-29 16:44:17 -05:00
Denis Kenzior 1e9580a044 Move MANAGER_INTERFACE to dbus.h 2009-07-29 16:44:16 -05:00
Denis Kenzior cb75833fc8 Rename ofono_modem_userdata 2009-07-29 16:44:16 -05:00
Denis Kenzior 4fbca244ea Make plugins use ofono_modem_get_path 2009-07-29 16:44:16 -05:00
Denis Kenzior 19eeb7f1ba Rename modem_add_interface / modem_remove_interface
Move to ofono_modem_add_interface, ofono_modem_remove_interface
and put in ofono/modem.h
2009-07-29 16:44:16 -05:00
Denis Kenzior be064f92a5 Rename modem_alloc_callid, modem_release_callid 2009-07-29 16:44:16 -05:00
Denis Kenzior 47dab3468e Move ofono_modem definition to ofono.h 2009-07-29 16:44:16 -05:00
Denis Kenzior 35a43b8367 Rename internal ofono history funcs to __ofono 2009-07-29 16:44:16 -05:00
Denis Kenzior 89af1fcabe Remove supports_tech variable
The proper way to register with a particular network technology
is to use a band selection command (e.g. select 2G only or 3G only,
or hybrid)

The tech selection according to 27.007 is non-binding anyway
2009-07-29 12:26:06 -05:00
Denis Kenzior 863f4e367f Tweak CREG notification to be more fault tolerant 2009-07-29 12:26:06 -05:00
Denis Kenzior 2dbf3cbceb Rename dbus-gsm.c to dbus.c 2009-07-29 12:26:06 -05:00
Denis Kenzior 54816de04d Get rid of dbus-gsm.h 2009-07-29 12:26:06 -05:00
Denis Kenzior 1d8785f8bd Rename dbus_gsm_pending_reply 2009-07-29 12:26:06 -05:00
Denis Kenzior 596eb5606e Don't expose dbus_gsm_append_array_variant 2009-07-29 12:26:06 -05:00
Denis Kenzior fb59e49633 Don't expose dbus_gsm_append_variant 2009-07-29 12:26:06 -05:00
Denis Kenzior 9cd9338ba1 Rename dbus_gsm_dict_append_array 2009-07-29 12:26:05 -05:00
Denis Kenzior 6728542a01 Rename dbus_gsm_dict_append 2009-07-29 12:26:05 -05:00
Denis Kenzior d9025e13e1 Move & Rename PROPERTIES_ARRAY_SIGNATURE 2009-07-29 12:26:05 -05:00
Denis Kenzior 55787fe876 Rename dbus_gsm_signal_array_property_changed 2009-07-29 12:26:05 -05:00
Denis Kenzior 684b5be1fc Rename dbus_gsm_signal_property_changed 2009-07-29 12:26:05 -05:00
Denis Kenzior 18ecb22f93 Fix segfault 2009-07-29 12:26:05 -05:00
Denis Kenzior 00fb6cce62 Rename dbus_gsm error functions to __ofono_error 2009-07-29 12:26:05 -05:00
Denis Kenzior 5cd850304c Remove reconnect timeout define 2009-07-29 12:26:05 -05:00
Denis Kenzior 1426d84ad7 Get rid of dbus_gsm_free_string_array
Use g_strfreev instead.
2009-07-29 12:26:04 -05:00
Denis Kenzior c31350294f Refactor dbus initialization & reconnect 2009-07-29 12:26:04 -05:00
Denis Kenzior 73fe7ac6dc Move & Rename dbus_gsm_init & dbus_gsm_exit
Rename to __ofono_dbus_init && __ofono_dbus_cleanup for consistency
Move to ofono.h
2009-07-29 12:26:04 -05:00
Denis Kenzior b4e8e5fb90 Remove dbus_gsm_set_connection from header
Not actually needed outside of dbus-gsm.c
2009-07-29 12:26:04 -05:00
Denis Kenzior 99c1c92708 Move & Rename dbus_gsm_connection
Move to ofono/dbus.h ofono_dbus_get_connection
2009-07-29 12:26:04 -05:00
Denis Kenzior 2dc831a35c Add new ofono/dbus.h header 2009-07-29 12:26:04 -05:00
Denis Kenzior 48d46f1136 Experimental support for modems with no UCS2/UTF8
Some modems, like the G1 do not support UCS2/UTF8.  However, we can
still attempt to export some phonebook entries which are probably
going to be simple Latin1 characters (e.g. 411, etc)
2009-07-29 12:26:03 -05:00
Denis Kenzior aa9212ca0f Fix tolower undeclared warning 2009-07-29 12:26:03 -05:00
Yang Gu a3991a36c3 Handle phonebook text field with uppercase type 2009-07-27 17:10:07 -05:00
Yang Gu ca403d273e Fix phonebook comment to report CSCS 2009-07-27 17:10:04 -05:00
Yang Gu 57120b7156 Fix phonebook problem when charset is in a list 2009-07-27 17:10:00 -05:00
Denis Kenzior 426d201b2e Add support for cyclic files 2009-07-27 17:09:58 -05:00
Denis Kenzior 555e2e689d Refactor SIM file access code
SIM File Access conditions would be reported similarly between various
stacks, so it seems like the core logic of figuring out the access
conditions belongs up in the daemon.

This also fixes various problems, including:
  - access conditions read from bytes 10-12, instead of 9-11.
  - read/update, invalidate/rehabilitate and increase conditions
    read from the wrong bits (0-3 instead of 4-7 and vice versa)
2009-07-27 17:09:56 -05:00
Denis Kenzior 5fcbc68f3e Kill unused variable warn 2009-07-27 17:09:54 -05:00
Denis Kenzior 30c1b5e05f Kill implicit declaration warn 2009-07-27 17:09:53 -05:00