aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib
AgeCommit message (Collapse)Author
2016-08-10api,signal: Ec/Io is in dB, not dBmAleksander Morgado
2016-08-10libmm-glib,helpers: don't warn when trying to read invalid match info indexAleksander Morgado
We may want to use the mm_get_()_from_match_info() calls to read optional items, so that the method returns FALSE if the item index doesn't apply. So, avoid the implicit warning issued by g_return_val_if_fail().
2016-04-19libmm-glib,common-helpers: fix reading boolean from stringAleksander Morgado
The "0" case wasn't being handled properly: $ sudo mmcli -m 0 --create-bearer="apn=,allow-roaming=0" Error parsing properties string: 'Cannot get boolean from string '0''
2016-03-25libmm-glib: fix enum conversion warning/errorBrian Norris
mm-modem-oma.c:400:51: error: implicit conversion from enumeration type 'MMOmaSessionType' to different enumeration type 'MMOmaFeature' [-Werror,-Wenum-conversion] g_return_val_if_fail (MM_IS_MODEM_OMA (self), MM_OMA_SESSION_TYPE_UNKNOWN); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmessages.h:382:11: note: expanded from macro 'g_return_val_if_fail' return (val); \ ~~~~~~ ^~~ This should be MMOmaFeature, not MMOmaSessionType. The end result is the same, as both are 0.
2016-03-16libmm-glib,modem-voice: fix unknown methods in documentationAleksander Morgado
html/MMCallProperties.html:141: warning: no link for: 'mm-modem-voice-create' -> (<code class="function">mm_modem_voice_create()</code>). html/MMCallProperties.html:141: warning: no link for: 'mm-modem-voice-create-sync' -> (<code class="function">mm_modem_voice_create_sync()</code>). html/MMModemVoice.html:379: warning: no link for: 'mm-modem-voice-delete-finish' -> (<code class="function">mm_modem_voice_delete_finish()</code>). html/MMModemVoice.html:380: warning: no link for: 'mm-modem-voice-delete-sync' -> (<code class="function">mm_modem_voice_delete_sync()</code>).
2016-03-16libmm-glib,modem-location: fix unknown method in documentationAleksander Morgado
html/MMModemLocation.html:516: warning: no link for: 'mm-modem-dup-supl-server' -> (<code class="function">mm_modem_dup_supl_server()</code>).
2016-03-15build,libmm-glib: built headers shouldn't be included in distAleksander Morgado
2016-03-15build: end all multiline list variables with $(NULL)Aleksander Morgado
So that appending a new item in the list only inserts one new line (i.e. the last $(NULL) is the last item always).
2016-03-15build,libmm-glib: fix gdbus-codegen rulesAleksander Morgado
The rule with multiple targets means that for each of the target the command specified is run; not that a single run of the command generates all the targets specified. So, generate the .c file with the command, and make the .h and the .xml files a side-effect of the .c generation.
2016-01-20libmm-glib: make C++ happy by not using 'class'Dan Williams
2015-12-19location: support updating the GPS refresh timeAleksander Morgado
The default setup uses a refresh time of 30s, which means that even if the GPS location updates are received at a higher frequency, the DBus interface will still expose at most one update every 30s. This patch includes a new "SetGpsRefreshTime()" method in the Location interface, which takes a single 'u' parameter, specifying the refresh rate to use, in seconds. This method also allows 0 being passed, which will make the implementation to publish the GPS location updates are soon as ModemManager detects them. Along with the new method, a "GpsRefreshTime" read-only property is exposed to specify the refresh time in effect. The new method and property will only be applicable if the device has GPS capabilities. https://bugs.freedesktop.org/show_bug.cgi?id=89924
2015-12-07libmm-glib: retrieve stats from the bearerAleksander Morgado
The MMBearer object is updated to provide getter methods to retrieve the new MMBearerStats object.
2015-12-07libmm-glib: new helper object to handle bearer statsAleksander Morgado
The new MMBearerStats object provides a simple API to interact with the new dictionary containing the bearer connection stats.
2015-09-24libmm-glib: don't create a SIM object if empty path (/) givenAleksander Morgado
Instead, we'll return NULL and an error set.
2015-09-16libmm-glib, simple: add missing introspection annotations to disconnect()Krzysztof Kotlenga
2015-08-02libmm-glib,docs: fix missing documentationsAleksander Morgado
2015-08-02libmm-glib,call: add missing 'dtmf' variable descriptionAleksander Morgado
2015-08-02core,libmm-glib,cli,voice: Replaced 'SendTone' method and 'ToneReceived' ↵Marco Bascetta
signal with 'SendDtmf' and 'DtmfReceived'
2015-08-02libmm-glib,cli: Replaced 'list call' with 'list calls'Marco Bascetta
2015-08-02libmm-glib,voice: minor coding style fixesAleksander Morgado
2015-08-02api,voice: added DTMF interface specificationMarco Bascetta
2015-08-02fixes: added voice support in libmm-glib MMManager, also fixed wrong number ↵Riccardo Vangelisti
of parameters in mm-call-list class init
2015-08-02build: added voice call include in libmm-glib and modified Makefile.amRiccardo Vangelisti
2015-08-02libmm-glib: added support for Modem.Voice and Call interfacesRiccardo Vangelisti
2015-01-11build: add code coverage supportJakub Sitnicki
Build all targets, except for CLI tools (mmcli, uml290), with special flags needed for collecting code coverage information when the build has been configured with --enable-code-coverage. Three new targets are available in the top build directory: - `check-code-coverage' runs the test suite and generates a code coverage report, - `code-coverage-capture' generates a code coverage report from already collected data, which can come in handy when one wants to see code paths touched by a particular test, - `code-coverage-clean' removes the collected coverage data and the generated reports.
2014-09-05libmm-glib,location: add helpers to get/set the SUPL server addressAleksander Morgado
2014-07-29libmbim-glib: handle explicit '+' on positive numbersDavid McCullough
2014-06-13libmm-glib: always return all bearer propertiesDan Williams
IPv6 may have addresses and other information even if the bearer's method is DHCP.
2014-06-11build: look for gdbus-codegen through pkg-configAleksander Morgado
2014-06-03libmm-glib: fix a memory leak of GMutexBen Chan
2014-05-20libmbim-glib: consistently use spaces for indentationBen Chan
2014-05-05libmm-glib: Initialize result arrayMartin Pitt
In mm_modem_messaging_get_supported_storages(), initialize array to avoid a potential crash with an uninitialized value, and a build failure due to mm-modem-messaging.c:168:24: error: 'array' may be used uninitialized in this function [-Werror=maybe-uninitialized] *n_storages = array->len; https://bugzilla.gnome.org/show_bug.cgi?id=729267
2014-03-25api: add MTU to bearer IP config propertiesBen Chan
This patch adds a 'mtu' value to the Ip4Config and Ip6Config property of a Bearer object, which indicates the value of the maximum transmission unit for the established connection when such information is available (e.g. via QMI_WDS_GET_RUNTIME_SETTINGS on a QMI modem or MBIM_CID_IP_CONFIGURATION on a MBIM modem).
2014-02-27libmm-glib: deep-copy ports array in ensure_internal_ports() (bgo #724900)Dan Williams
ensure_internal_ports() didn't deep-copy the ports array, which meant that anything calling mm_modem_port_info_array_free() was freeing the internal memory owned by MMModem if it retrieved the array with mm_modem_get_ports(). https://bugzilla.gnome.org/show_bug.cgi?id=724900
2014-02-13libmm-glib,tests: use gdbus-codegen to generate code for the new Test interfaceAleksander Morgado
2013-11-22libmm-glib: add methods to retrieve 'Bearers' property in Modem interfaceBen Chan
2013-11-21introspection,api: new 'Messages' property in the Messaging interfaceAleksander Morgado
https://bugzilla.gnome.org/show_bug.cgi?id=712276
2013-11-21introspection,api: new 'Bearers' property in the Modem interfaceAleksander Morgado
https://bugzilla.gnome.org/show_bug.cgi?id=712276
2013-10-25libmm-glib: allow new 'teleservice-id' and 'service-category' keywords in ↵Aleksander Morgado
MMSmsProperties
2013-10-25api: add 'ServiceCategory' property to the SMS interfaceAleksander Morgado
Will be used in 3GPP2 SMS messages.
2013-10-25api: add 'TeleserviceId' property to the SMS interfaceAleksander Morgado
Will be used in 3GPP2 SMS messages.
2013-10-24libmm-glib: fix some more introspection annotationsAleksander Morgado
2013-10-24libmm-glib: fix several introspection annotationsAleksander Morgado
2013-10-09iface-modem-3gpp: add SubscriptionState propertyThieu Le
2013-09-10libmm-glib: don't include internal header from public headerColin Walters
This broke gnome-control-center in gnome-ostree. It should be included in the C file where stuff from the private header is actually used.
2013-09-09libmm-glib: fix return typeAleksander Morgado
Reported by Arman Uguray <armansito@google.com>
2013-09-09mmcli,oma: support for the new OMA interfaceAleksander Morgado
2013-09-09libmm-glib: support for the 'OMA' interfaceAleksander Morgado
2013-09-09introspection,api: new 'Oma' interfaceAleksander Morgado
2013-08-21libmm-glib,time: fix gtk-doc commentsAleksander Morgado