Aleksander Morgado
961290ddd7
build: autogenerate `mm-errors-quarks.c'
...
We define custom nicks for each error enum, matching the DBus error entry that
we want to have with each of them.
2012-03-16 14:53:23 +01:00
Aleksander Morgado
455fc68d8a
libmm-common: new `MMNetworkTimezone' helper object
2012-03-16 14:53:20 +01:00
Aleksander Morgado
bd9d7011b9
api,dbus: rewrote Time interface to be used with gdbus-codegen
2012-03-16 14:53:20 +01:00
Aleksander Morgado
cd63df938f
libmm-common: `MMSimpleStatus' won't be considered internal any more
...
Renamed `MMCommonSimpleProperties' to `MMSimpleStatus', and removed the
`MMSimpleStatusProperties' provided in libmm-glib. We'll just use the original
one from libmm-common always.
2012-03-16 14:53:20 +01:00
Aleksander Morgado
bb352d5da3
libmm-common: `MMLocation3gpp' won't be considered internal any more
...
Renamed `MMCommonLocation3gpp' to `MMLocation3gpp', and removed the
`MMModemLocation3gpp' provided in libmm-glib. We'll just use the original one
from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
1385eb394f
libmm-common: `MMSimpleConnectProperties' won't be considered internal any more
...
Renamed `MMCommonConnectProperties' to `MMSimpleConnectProperties', and removed
the `MMModemSimpleConnectProperties' provided in libmm-glib. We'll just use the
original one from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
d306bb082f
libmm-common: `MMBearerProperties' won't be considered internal any more
...
Renamed `MMCommonBearerProperties' to `MMBearerProperties', and removed the
`MMBearerProperties' provided in libmm-glib. We'll just use the original one
from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
323df60ed9
libmm-common: `MMBearerIpConfig' won't be considered internal any more
...
Renamed `MMCommonBearerIpConfig' to `MMBearerIpConfig', and removed the
`MMBearerIpConfig' provided in libmm-glib. We'll just use the original one
from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
ef9fb0bfac
libmm-common: `MMSmsProperties' won't be considered internal any more
...
Renamed `MMCommonSmsProperties' to `MMSmsProperties', and removed the
`MMSmsProperties' provided in libmm-glib. We'll just use the original one
from libmm-common always.
2012-03-16 14:53:19 +01:00
Aleksander Morgado
036711eb1c
libmm-common: new `MMUnlockRetries' helper object
2012-03-16 14:53:19 +01:00
Aleksander Morgado
1628f495fe
libmm-common,tests: include tests when running make check/distcheck
2012-03-16 14:53:18 +01:00
Aleksander Morgado
0c6dad40a0
build: get path of `glib-mkenums' from pkg-config
2012-03-16 14:53:17 +01:00
Aleksander Morgado
3e511f90c7
build: don't distribute generated sources
2012-03-16 14:53:17 +01:00
Aleksander Morgado
e68db23a97
introspection: setup all new files and remove old ones
2012-03-16 14:53:17 +01:00
Aleksander Morgado
6f1a4514da
libmm-common: new bands array comparator
2012-03-16 14:28:13 +01:00
Aleksander Morgado
09d2f062c7
api,dbus: rename AllowedBands' to just Bands'
...
ModemManager will load:
1) The list of supported bands. Note that this doesn't mean that any possible
combination of bands is supported, as modems may support only specific
combinations, but at least gives a rough idea of what the modem is capable
of handling.
2) The list of CURRENT bands. There is no such "Allowed" bands, as we do with
modes, modems will have a specific set of bands being currently used, which
will be reported in the `Bands' property.
If the modem allows modifying the list of bands to use, this can be done with
the `SetBands()' method. If the modem doesn't support using a specific
combination of bands, this method will report an error.
2012-03-16 14:28:13 +01:00
Aleksander Morgado
c176117941
libmm-common: no need to check for end of string when looking for spaces
2012-03-15 14:15:06 +01:00
Aleksander Morgado
2234205570
libmm-common: allow empty strings passed to the key value parser
2012-03-15 14:15:06 +01:00
Aleksander Morgado
71c3c8d8e5
libmm-common: use the new key/value parser in the common bearer properties builder
2012-03-15 14:15:04 +01:00
Aleksander Morgado
591e641369
libmm-common: use the new key/value parser in the common connect properties builder
2012-03-15 14:15:04 +01:00
Aleksander Morgado
f0b9f3954c
libmm-common: use the new key/value parser in the common SMS properties builder
2012-03-15 14:15:04 +01:00
Aleksander Morgado
b7938448ea
libmm-common,tests: new tests for the key/value parser
2012-03-15 14:15:04 +01:00
Aleksander Morgado
7df5874a88
libmm-common: new helper key/value parser
2012-03-15 14:15:04 +01:00
Aleksander Morgado
23508ddd7f
libmm-common: new helpers to work with SMS storage strings
2012-03-15 14:15:03 +01:00
Aleksander Morgado
672e9d09e3
libmm-common: new helper object to handle common SMS properties
2012-03-15 14:15:01 +01:00
Aleksander Morgado
bc375ec7c5
libmm-common: include gdbus-codegen generated SMS-related sources
2012-03-15 14:14:58 +01:00
Nathan Williams
418e0ac559
libmm-common: CDMA sid/nid are uint, not enum
2012-03-15 14:14:55 +01:00
Aleksander Morgado
f797beefac
libmm-common: build dictionary even if IP config object not given
2012-03-15 14:14:54 +01:00
Aleksander Morgado
ff7406005d
libmm-common: new helper object to handle Bearer IP config
2012-03-15 14:14:53 +01:00
Aleksander Morgado
2ca4d36e5e
libmm-common: 3gpp location doesn't use any of our enum/flags
2012-03-15 14:14:53 +01:00
Aleksander Morgado
332d1a0891
build: add missing build dependency in libmm-common
...
Spotted by Nathan Williams.
2012-03-15 14:14:53 +01:00
Aleksander Morgado
a3532e7730
libmm-common: flags string builders are now all autogenerated
2012-03-15 14:14:52 +01:00
Aleksander Morgado
04fc34fab8
build: autogenerate enum/flags string getter/builders
...
Each enum will have its own #_get_string (),
and each flags will have its own #_build_string_from_mask ().
2012-03-15 14:14:52 +01:00
Aleksander Morgado
3b443b6954
libmm-common: fix usage of main library header
2012-03-15 14:14:52 +01:00
Aleksander Morgado
5fa8918847
libmm-common: new helper object to handle 3GPP location
2012-03-15 14:14:52 +01:00
Aleksander Morgado
263f106b33
libmm-common: include CDMA-specific items in the simple properties
2012-03-15 14:14:50 +01:00
Aleksander Morgado
71fbd2248c
api,dbus: prefix with 'm3gpp' the 3GPP-specific entries returned in the simple status
...
Note that we cannot have properties starting with a digit :-/
2012-03-15 14:14:50 +01:00
Aleksander Morgado
d2af326e1a
libmm-common: prefix with '3gpp' the 3GPP-specific simple properties
2012-03-15 14:14:50 +01:00
Aleksander Morgado
d19cf55f8f
libmm-common: allow duplicating the bearer properties object
2012-03-15 14:14:49 +01:00
Aleksander Morgado
1c447ba85b
libmm-common: expect 'rm-protocol' in the common bearer properties
2012-03-15 14:14:47 +01:00
Aleksander Morgado
f3bc54eb40
libmm-common: plug small leak in the common simple properties
2012-03-15 14:14:44 +01:00
Aleksander Morgado
b18a801df3
libmm-common: fix build dependencies
...
Added proper rules in the Makefile so that those files which need the
glib-mkenums generated files are built always once the prerequisites are all
ready.
Also, avoid including libmm-common.h from within source files of the library.
2012-03-15 14:14:41 +01:00
Aleksander Morgado
9a4940c4b2
libmm-common: handle strings coming in capitals when building bands or modes
2012-03-15 14:14:41 +01:00
Aleksander Morgado
ebbfe9cb61
libmm-common: print modes string with capitals for the acronyms
2012-03-15 14:14:40 +01:00
Aleksander Morgado
cc55734a01
api,header: don't use '1G' for modem modes, use 'CS' instead.
...
1G is not the proper way to define GSM, which is already 2G. Use CS instead,
which will include all circuit-switched broadband modem technologies.
2012-03-15 14:14:40 +01:00
Aleksander Morgado
1745d8c9eb
libmm-common: let the simple properties object be built from a dictionary
2012-03-15 14:14:39 +01:00
Aleksander Morgado
111cd56a2b
libmm-common: new helper object to handle simple properties from all interfaces
2012-03-15 14:14:39 +01:00
Aleksander Morgado
b0272444cb
libmm-common: new helpers to work with bands arrays
2012-03-15 14:14:39 +01:00
Aleksander Morgado
e08ce775c5
libmm-common: let the connection properties use bearer properties internally
...
Removes lots of duplicated code.
2012-03-15 14:14:38 +01:00
Aleksander Morgado
fe7f71b677
libmm-common,libmm-glib: new object to handle bearer creation properties
2012-03-15 14:14:38 +01:00