commit 16e15d49297f72397f6b691cf7a9ccf47bdae844
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 20 10:26:11 2018 +0100

    release: 1.16.0

    Updated libtool versioning for the stable release.

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 1a1d9801e6bb5951aa53068d35357b15ff00851e
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 20 10:24:08 2018 +0100

    Revert "build: post-release version bump to 1.17.0"

    This reverts commit 3134204465a2b13316bcbcf6c646b521c4389cec.

    Didn't bump libtool library versioning...

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3134204465a2b13316bcbcf6c646b521c4389cec
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 20 10:11:46 2018 +0100

    build: post-release version bump to 1.17.0

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit bec91eb31bad02ef776a17115e6644ebbf26ffe0
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 20 09:55:41 2018 +0100

    release: bump version to 1.16.0

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4097bddb60036b2e3560b24b9d16cc74ee3c91c9
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 20 09:54:58 2018 +0100

    NEWS: update for 1.16.0

 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

commit 232ad747ee3476e86a4e0af578f7899da7b01344
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 20 09:31:46 2018 +0100

    AUTHORS: update based on latest git stats

 AUTHORS | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

commit 4bb9e85d9b16a9bf43c4705f02d4911f7f9207b1
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 20 09:28:31 2018 +0100

    mbimcli,mbim-proxy,mbim-network: update copyright year to 2018

 src/mbim-proxy/mbim-proxy.c | 4 ++--
 src/mbimcli/mbimcli.c       | 2 +-
 utils/mbim-network.in       | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

commit 497b1a6298bd90e791920438e52457abbdcaa8b1
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 20 10:01:07 2018 +0100

    build: ignore built test file

 .gitignore | 2 ++
 1 file changed, 2 insertions(+)

commit d57ef9cca58ef08e7e6471b396dbdd2c7fa89339
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 20 09:10:29 2018 +0100

    docs: update copyright year to 2018

 docs/reference/libmbim-glib/libmbim-glib-docs.xml | 1 +
 1 file changed, 1 insertion(+)

commit 2ee8bf11ad8fd16f0c36cb292be712e2b10c6fca
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jan 10 22:08:35 2018 +0100

    build: don't rebuild mbim-proxy-helpers

    They're already included in the non-inst core library.

 src/libmbim-glib/test/Makefile.am | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 810da895a4d7e722a9dae40578e52d12135e262b
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jan 10 22:02:18 2018 +0100

    docs: add missing pieces to document the Intel Firmware Update service

 docs/reference/libmbim-glib/libmbim-glib-common.sections | 4 ++++
 docs/reference/libmbim-glib/libmbim-glib-docs.xml        | 1 +
 2 files changed, 5 insertions(+)

commit 4128a33e9b08442853aa739070fec3a85c607a55
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jan 10 12:47:00 2018 -0800

    mbimcli: new '--intel-modem-reboot' action

 docs/man/Makefile.am                        |   1 +
 src/mbimcli/Makefile.am                     |   3 +-
 src/mbimcli/mbimcli-intel-firmware-update.c | 159
 ++++++++++++++++++++++++++++
 src/mbimcli/mbimcli.c                       |   8 ++
 src/mbimcli/mbimcli.h                       |   4 +
 5 files changed, 174 insertions(+), 1 deletion(-)

commit d2ae618dd598fb05d42c914ef74ba09c6b80b032
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jan 10 12:46:59 2018 -0800

    intel-firmware-update: add support for Intel Firmware Update service

 data/Makefile.am                                       |  3 ++-
 data/mbim-service-intel-firmware-update.json           | 11 +++++++++++
 docs/reference/libmbim-glib/Makefile.am                |  3 ++-
 .../libmbim-glib/libmbim-glib-common.sections          |  2 ++
 src/libmbim-glib/generated/Makefile.am                 | 18
 +++++++++++++++---
 src/libmbim-glib/libmbim-glib.h                        |  1 +
 src/libmbim-glib/mbim-cid.c                            | 12 ++++++++++++
 src/libmbim-glib/mbim-cid.h                            | 12 ++++++++++++
 src/libmbim-glib/mbim-uuid.c                           | 13 +++++++++++++
 src/libmbim-glib/mbim-uuid.h                           | 11 +++++++++++
 src/libmbim-glib/test/test-uuid.c                      |  8 ++++++++
 11 files changed, 89 insertions(+), 5 deletions(-)

commit bf3a6ab8e01ecf9ee7494aade4bcbd59c1e71c3f
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Sep 13 22:12:10 2017 -0700

    libmbim-glib,device: port transactions to GTask

 src/libmbim-glib/mbim-device.c | 464
 ++++++++++++++++++++++-------------------
 1 file changed, 248 insertions(+), 216 deletions(-)

commit b9a684084f753e9025f16b4c4fbf40d92a63c3e3
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Aug 19 12:35:11 2017 +0200

    mbim-proxy: port internal device open to GTask

 src/libmbim-glib/mbim-proxy.c | 83
 +++++++++++++++++++++----------------------
 1 file changed, 40 insertions(+), 43 deletions(-)

commit 0cd2280bf5912c84f817e4a0b1c5a889ac65583b
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Sep 14 07:02:11 2017 -0700

    build: add missing gtk-doc.m4

    Fixes: 9ef8723927c28d731e8f4041e45fb4df6c919a0b

 m4/gtk-doc.m4 | 88
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)

commit 7becf366e78a71778232ca636f7677bd00ea2a00
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Sep 13 18:25:22 2017 +0200

    build: generate ChangeLog from git during dist

 Makefile.am | 14 ++++++++++++++
 autogen.sh  |  1 -
 2 files changed, 14 insertions(+), 1 deletion(-)

commit e50f84f3fc499042939a190994127bd7718953ce
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Sep 13 18:13:39 2017 +0200

    doc,atds: avoid redefining MbimAtdsProvider documentation

    MbimAtdsProvider is a struct and is already documented in the ATDS
    service doc.

 docs/reference/libmbim-glib/libmbim-glib-common.sections | 1 -
 1 file changed, 1 deletion(-)

commit 6ec653bc83c364ff24145d348bfbfbd771ab31e3
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Sep 13 17:55:43 2017 +0200

    libmbim-glib,uuid: also document internal enum value

    Just to make gtk-doc happy really.

 src/libmbim-glib/mbim-uuid.h | 1 +
 1 file changed, 1 insertion(+)

commit 040f3b43ffd50ed932b66e7ebd361bb94eec34a9
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Sep 13 17:49:00 2017 +0200

    build: the m4 directory always exists

    Even when cloning a git checkout, as we have m4/compiler-warnings
    under version control.

 autogen.sh | 1 -
 1 file changed, 1 deletion(-)

commit 9ef8723927c28d731e8f4041e45fb4df6c919a0b
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Sep 13 17:32:43 2017 +0200

    build: import gtk-doc support

    Remove the need to run `gtkdocize' when building from git; this should
    be an operation done by the maintainer when modernizing the gtk-doc
    setup (think of e.g. gettextize), no need to do it unconditionally.

    This makes it easier for platforms without gtk-doc to build from git.

    When trying to build with documentation enabled and gtk-doc isn't
    found, we get some nice warnings and errors in the configure report:

        checking for gtk-doc... no
        configure: WARNING:
          You will not be able to create source packages with 'make dist'
          because gtk-doc >= 1.0 is not found.
        checking for gtkdoc-check... no
        checking for gtkdoc-check... no
        checking for gtkdoc-rebase... no
        checking for gtkdoc-mkpdf... no
        checking whether to build gtk-doc documentation... yes
        configure: error:
          You must have gtk-doc >= 1.0 installed to build documentation
          for
          ModemManager. Please install gtk-doc or disable building the
          documentation by adding '--disable-gtk-doc' to './configure'.

    Files generated with gtkdocize (gtk-doc) 1.26.1.

 .gitignore   |   1 -
 autogen.sh   |   1 -
 gtk-doc.make | 302
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 302 insertions(+), 2 deletions(-)

commit 4f0f3f85cdab90635bbf58e17bc1dc91fc7f06af
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Sep 13 17:02:59 2017 +0200

    api: don't use intermediate variables for deprecation warnings

    Using an intermediate constant variable breaks compilation with C
    compilers, as these variables cannot be used as initializers.

    Instead, define a deprecated type and cast all deprecated symbols to
    that type. We lose the information about what the new replacement
    symbol is, but we don't break compilation.

    Also, add MBIM_DISABLE_DEPRECATED guards around deprecated symbols. So
    that when this symbol is defined, e.g. via CFLAGS, building a program
    that uses the libmbim API will fail if the program references
    deprecated symbols. For now we just use it to keep gtk-doc-scan happy
    and avoid unnecessary warnings.

    Equivalent to ModemManager commits eedd4ab4457 and f0bb6ef856.

 docs/reference/libmbim-glib/Makefile.am            |  2 +-
 .../libmbim-glib/libmbim-glib-common.sections      |  3 +++
 src/libmbim-glib/mbim-compat.c                     |  4 ++++
 src/libmbim-glib/mbim-compat.h                     | 22
 ++++++++++++++--------
 4 files changed, 22 insertions(+), 9 deletions(-)

commit 7626a0784b602ea01192a068c745a21bd9095781
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Aug 6 17:08:10 2017 +0200

    device: detect already open MBIM channel on EM7345

    If we try to 'MBIM open' the channel with a Sierra Wireless EM7345
    (FIH7160_V1.1_MODEM_01.1349.12) and the channel is already open in the
    device (e.g. mbim-proxy crashed and we try to reopen, or just running
    consecutive mbimcli commands with --no-close), the device returns a
    'MBIM close done' message for every 'MBIM open' request we send.

    We update the logic to try to detect this case, and if we do, we
    launch an explicit 'MBIM close' operation before retrying the 'MBIM
    open' again.

    E.g. this is the flow when trying to run mbimcli command while the
    MBIM channel is already open in the device side:

        $ mbimcli -d /dev/cdc-wdm1 --query-device-caps --no-close
        --verbose
        [06 ago 2017, 16:58:21] [Debug] opening device...
        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Queried max
        control message size: 512
        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Sent message...
        <<<<<< RAW:
        <<<<<<   length = 16
        <<<<<<   data   = 01:00:00:00:10:00:00:00:01:00:00:00:00:02:00:00

        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Sent message
        (translated)...
        <<<<<< Header:
        <<<<<<   length      = 16
        <<<<<<   type        = open (0x00000001)
        <<<<<<   transaction = 1
        <<<<<< Contents:
        <<<<<<   max_control_transfer = 512

        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Received
        message...
        >>>>>> RAW:
        >>>>>>   length = 16
        >>>>>>   data   = 02:00:00:80:10:00:00:00:02:00:00:00:00:00:00:00

        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] No transaction
        matched in received message
        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Received
        unexpected message (translated)...
        >>>>>> Header:
        >>>>>>   length      = 16
        >>>>>>   type        = close-done (0x80000002)
        >>>>>>   transaction = 2
        >>>>>> Contents:
        >>>>>>   status error = 'None' (0x00000000)

        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Sent message...
        <<<<<< RAW:
        <<<<<<   length = 12
        <<<<<<   data   = 02:00:00:00:0C:00:00:00:02:00:00:00

        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Sent message
        (translated)...
        <<<<<< Header:
        <<<<<<   length      = 12
        <<<<<<   type        = close (0x00000002)
        <<<<<<   transaction = 2

        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Received
        message...
        >>>>>> RAW:
        >>>>>>   length = 16
        >>>>>>   data   = 02:00:00:80:10:00:00:00:02:00:00:00:00:00:00:00

        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Sent message...
        <<<<<< RAW:
        <<<<<<   length = 16
        <<<<<<   data   = 01:00:00:00:10:00:00:00:03:00:00:00:00:02:00:00

        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Sent message
        (translated)...
        <<<<<< Header:
        <<<<<<   length      = 16
        <<<<<<   type        = open (0x00000001)
        <<<<<<   transaction = 3
        <<<<<< Contents:
        <<<<<<   max_control_transfer = 512

        [06 ago 2017, 16:58:21] [Debug] [/dev/cdc-wdm1] Received
        message...
        >>>>>> RAW:
        >>>>>>   length = 16
        >>>>>>   data   = 01:00:00:80:10:00:00:00:03:00:00:00:00:00:00:00

        [06 ago 2017, 16:58:21] [Debug] MBIM Device at '/dev/cdc-wdm1'
        ready

 src/libmbim-glib/mbim-device.c | 114
 +++++++++++++++++++++++++++++++++++++++--
 src/libmbim-glib/mbim-errors.h |   6 ++-
 2 files changed, 115 insertions(+), 5 deletions(-)

commit 9aef2e779dbec73d3740ef5281a9f1487cf84307
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Aug 6 17:08:09 2017 +0200

    device: open timeout check in main state machine

    Lets check if the operation timed out on the main state machine,
    instead of when the open command response is processed. This will
    allow us to queue up new steps sending/receiving messages and have
    a single place to check the timeout for all of them.

 src/libmbim-glib/mbim-device.c | 39
 ++++++++++++++++++++++++---------------
 1 file changed, 24 insertions(+), 15 deletions(-)

commit 417b0b80023dc30d61c111ec0a54da2884d3a541
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Sep 11 09:31:03 2017 +0200

    mbim-device: prefer realpath() to canonicalize_file_name()

    Usually the canonicalize_file_name() GNU extension is preferred to the
    POSIX realpath(), as it covers some of the limitations the latter has.
    But this extension isn't available in lots of platforms or in other
    c library implementations (e.g. musl), so just default to the POSIX
    method to improve portability.

    Note that the check for canonicalize_file_name() availability during
    configure isn't as trivial as adding a new AC_CHECK_FUNCS(), and
    importing a gnulib module seems overkill just for this one liner.

 src/libmbim-glib/mbim-device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5bb673fe87ff9462bdec6435487d57982f886968
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Aug 6 13:13:40 2017 +0200

    device: avoid signals sent to the mbim-proxy process

    If e.g. mbim-proxy is started by ModemManager and we send a Ctrl+C to
    it, the signal would be propagated to the mbim-proxy process and we
    would kill it right away, while leaving ModemManager still around
    wondering why the socket to the proxy got a HUP.

    Avoid this, by making sure the mbim-proxy gets its own process group.

 src/libmbim-glib/mbim-device.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

commit cd65ee939cbc95de7ee50e1fd3756c35fddaa41f
Author: Ben Chan <benchan@chromium.org>
Date:   Mon Aug 7 13:40:19 2017 -0700

    mbimcli: new '--query-pin-list' action

    This patch adds a new '--query-pin-list' action to mbimcli for
    querying
    the list of PINs supported by a MBIM device and additional details for
    each PIN type.

 src/mbimcli/mbimcli-basic-connect.c | 116
 ++++++++++++++++++++++++++++++++++++
 1 file changed, 116 insertions(+)

commit 2fbfb74c14ebea038aa08186af7ccaa37ee633dd
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Jul 30 17:42:03 2017 +0200

    mbim-proxy: avoid double-free of 'opening device info' struct

    When the device is gone while an open() operation is ongoing, we're
    completing and freeing the 'opening device info' struct, but we didn't
    remove it from the private info, so when device_open_ready() happened,
    we were trying to complete and free it again.

    Avoid this issue by making sure no already-freed structs are kept in
    the private info, and also allowing device_open_ready() to get called
    without a valid pending 'opening device info'.

        [30 Jul 2017, 15:24:33] [Debug] [/dev/cdc-wdm0] Sent message
        (translated)...
        <<<<<< Header:
        <<<<<<   length      = 16
        <<<<<<   type        = open (0x00000001)
        <<<<<<   transaction = 1
        <<<<<< Contents:
        <<<<<<   max_control_transfer = 4096

        [30 Jul 2017, 15:24:38] [Debug] [/dev/cdc-wdm0] Sent message...
        <<<<<< RAW:
        <<<<<<   length = 16
        <<<<<<   data   = 01:00:00:00:10:00:00:00:02:00:00:00:00:10:00:00

        [30 Jul 2017, 15:24:38] [Debug] [/dev/cdc-wdm0] Sent message
        (translated)...
        <<<<<< Header:
        <<<<<<   length      = 16
        <<<<<<   type        = open (0x00000001)
        <<<<<<   transaction = 2
        <<<<<< Contents:
        <<<<<<   max_control_transfer = 4096

        [30 Jul 2017, 15:24:42] [Debug] [/dev/cdc-wdm0] unexpected
        port hangup!
        [30 Jul 2017, 15:24:42] [Debug] Client (7) connection closed...
        [30 Jul 2017, 15:24:42] -Warning ** error opening device: Device
        is gone
        [30 Jul 2017, 15:24:43] [Debug] open operation timed out: closed
        ==24404== Invalid read of size 8
        ==24404==    at 0x4E4A673: peek_opening_device_info (in
        /usr/lib/libmbim-glib.so.4.2.0)
        ==24404==    by 0x4E4BD7B: device_open_ready (in
        /usr/lib/libmbim-glib.so.4.2.0)
        ==24404==    by 0x50CAF61: g_simple_async_result_complete (in
        /usr/lib/libgio-2.0.so.0.3707.0)
        ==24404==    by 0x50CB028: complete_in_idle_cb (in
        /usr/lib/libgio-2.0.so.0.3707.0)
        ==24404==    by 0x5602EEA: g_main_context_dispatch (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x5603207: g_main_context_iterate.isra.13 (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x56035D1: g_main_loop_run (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x4010F8: main (in /usr/lib/mbim-proxy)
        ==24404==  Address 0x6d3bfe0 is 0 bytes inside a block of size
        16 free'd
        ==24404==    at 0x4C2A0C0: free (in
        /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
        ==24404==    by 0x4E4AC21: untrack_device (in
        /usr/lib/libmbim-glib.so.4.2.0)
        ==24404==    by 0x5395392: _g_closure_invoke_va (in
        /usr/lib/libgobject-2.0.so.0.3707.0)
        ==24404==    by 0x53A805D: g_signal_emit_valist (in
        /usr/lib/libgobject-2.0.so.0.3707.0)
        ==24404==    by 0x53A8A51: g_signal_emit (in
        /usr/lib/libgobject-2.0.so.0.3707.0)
        ==24404==    by 0x4E49424: data_available (in
        /usr/lib/libmbim-glib.so.4.2.0)
        ==24404==    by 0x5602EEA: g_main_context_dispatch (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x5603207: g_main_context_iterate.isra.13 (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x56035D1: g_main_loop_run (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x4010F8: main (in /usr/lib/mbim-proxy)
        ==24404==  Block was alloc'd at
        ==24404==    at 0x4C2B3D0: malloc (in
        /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
        ==24404==    by 0x5607B00: g_malloc (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x5617E12: g_slice_alloc (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x5618385: g_slice_alloc0 (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x4E4B1A9: internal_open (in
        /usr/lib/libmbim-glib.so.4.2.0)
        ==24404==    by 0x4E4BAC5: device_new_ready (in
        /usr/lib/libmbim-glib.so.4.2.0)
        ==24404==    by 0x50CAF61: g_simple_async_result_complete (in
        /usr/lib/libgio-2.0.so.0.3707.0)
        ==24404==    by 0x50CB028: complete_in_idle_cb (in
        /usr/lib/libgio-2.0.so.0.3707.0)
        ==24404==    by 0x5602EEA: g_main_context_dispatch (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x5603207: g_main_context_iterate.isra.13 (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x56035D1: g_main_loop_run (in
        /usr/lib/libglib-2.0.so.0.3707.0)
        ==24404==    by 0x4010F8: main (in /usr/lib/mbim-proxy)
        ==24404==

 src/libmbim-glib/mbim-proxy.c | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

commit c689c7700545feb16381a2e892fa1e00a4d54ee8
Author: Ben Chan <benchan@chromium.org>
Date:   Mon Jul 31 23:47:45 2017 -0700

    mbimcli: make output more consistent in capitalization

 src/mbimcli/mbimcli-basic-connect.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit f2f87bf2b9811ba7fa593ac2ab9852693cef08c2
Author: Ben Chan <benchan@chromium.org>
Date:   Mon Jul 31 10:50:34 2017 -0700

    build: add other source files that affect the output of --help-all

 docs/man/Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)

commit f2c2df8e4879920923b0423f92ec2a66fbee054d
Author: Ben Chan <benchan@chromium.org>
Date:   Sat Jul 29 01:37:34 2017 -0700

    mbimcli: show unknown CID name as "unknown" instead of "(null)"

 src/mbimcli/mbimcli-basic-connect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit cf3c041f590a00b739c1b7eb145642c5ccc80185
Author: Ben Chan <benchan@chromium.org>
Date:   Thu Jul 27 19:45:55 2017 -0700

    mbimcli: new '--query-ip-packet-filters' action

    This patch adds a new '--query-ip-packet-filters' action to mbimcli
    for
    querying the IP packet filters currently set up on a MBIM device.

 src/mbimcli/Makefile.am             |   2 +
 src/mbimcli/mbimcli-basic-connect.c | 116
 +++++++++++++++++++++++++++++++++++-
 2 files changed, 117 insertions(+), 1 deletion(-)

commit 44c7593c716ac321d6b2640a86fce34e41d8fbb6
Author: Ben Chan <benchan@chromium.org>
Date:   Thu Jul 27 19:45:54 2017 -0700

    mbim-common,test: add unit tests for mbim_common_str_hex

 configure.ac                  |  1 +
 src/common/Makefile.am        |  2 +-
 src/common/test/Makefile.am   | 17 ++++++++++++++
 src/common/test/test-common.c | 54
 +++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 73 insertions(+), 1 deletion(-)

commit 8e64510e706d7192ec9e0db6c506d05beda9820c
Author: Ben Chan <benchan@chromium.org>
Date:   Thu Jul 27 19:45:53 2017 -0700

    mbim-common: turn __mbim_utils_str_hex into mbim_common_str_hex

    __mbim_utils_str_hex is a useful utility method for returning
    a hexadecimal
    string representation of a sequence of bytes in memory. This patch
    turns it
    into 'mbim_common_str_hex', which can be shared between libmbim-glib
    and
    mbimcli.

 configure.ac                                 |  7 ++++
 src/Makefile.am                              |  2 +-
 src/common/Makefile.am                       | 15 +++++++
 src/common/mbim-common.c                     | 61
 ++++++++++++++++++++++++++++
 src/common/mbim-common.h                     | 31 ++++++++++++++
 src/libmbim-glib/Makefile.am                 |  2 +
 src/libmbim-glib/mbim-device.c               | 15 +++----
 src/libmbim-glib/mbim-utils.c                | 36 ----------------
 src/libmbim-glib/mbim-utils.h                |  3 --
 src/libmbim-glib/test/Makefile.am            |  4 ++
 src/libmbim-glib/test/test-message-builder.c |  6 +--
 src/libmbim-glib/test/test-message-parser.c  |  6 +--
 12 files changed, 135 insertions(+), 53 deletions(-)

commit 0e2ad4993ebcbcbc52ca0b0cc13a65ecfcbd81c8
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jul 26 18:44:53 2017 -0700

    mbimcli: make 'session_id' variables consistently guint32

    This patch updates the code to consistently use guint32, instead of
    guint, for 'session_id' variables as SessionId is UINT32.

 src/mbimcli/mbimcli-basic-connect.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit 06dd18bff47f94cb5a4ddadca414cec8bb3858d4
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jul 26 18:44:52 2017 -0700

    mbimcli,ms-firmware-id: fix memory leaks

 src/mbimcli/mbimcli-ms-firmware-id.c | 1 +
 1 file changed, 1 insertion(+)

commit 79010dab08f7a44c94e47dbe5e403cdeda3c6321
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jul 26 18:44:51 2017 -0700

    mbimcli,basic-connect: fix memory leaks

 src/mbimcli/mbimcli-basic-connect.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

commit 716c4850b9c2c4bdaa07f18fdf364bdf0719786b
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jul 26 18:44:50 2017 -0700

    mbimcli,atds: fix memory leaks

 src/mbimcli/mbimcli-atds.c | 2 ++
 1 file changed, 2 insertions(+)

commit a1cf1e233fef337a58a2a991a00b1b099a6f2b02
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jul 26 18:44:49 2017 -0700

    mbimcli,phonebook: fix memory leaks

 src/mbimcli/mbimcli-phonebook.c | 3 +++
 1 file changed, 3 insertions(+)

commit 8abc5808262cc3048983457d367533c786a19656
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jul 26 18:44:48 2017 -0700

    mbimcli,phonebook: add missing return statement in
    set_phonebook_delete_ready

    When mbim_message_phonebook_delete_response_parse fails,
    set_phonebook_delete_ready should shutdown with a failure status and
    return.

 src/mbimcli/mbimcli-phonebook.c | 2 ++
 1 file changed, 2 insertions(+)

commit 752855389c8fc7f23e74f2e9e4224dee4e28362d
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jul 26 11:33:29 2017 -0700

    mbimcli: ensure 'cancellable' in Context is always initialized

    As the Context struct is allocated via g_slice_new and its
    'cancellable' field
    is only set when a GCancellable is provided, there is no guarantee
    that the
    cancellable field is always initialized. This patch fixes the code
    to always
    initialize the cancellable field of the Context struct.

 src/mbimcli/mbimcli-atds.c             | 3 +--
 src/mbimcli/mbimcli-basic-connect.c    | 3 +--
 src/mbimcli/mbimcli-dss.c              | 3 +--
 src/mbimcli/mbimcli-ms-firmware-id.c   | 3 +--
 src/mbimcli/mbimcli-ms-host-shutdown.c | 3 +--
 src/mbimcli/mbimcli-phonebook.c        | 3 +--
 6 files changed, 6 insertions(+), 12 deletions(-)

commit 221ab6581f589ed720419c7459e6ae597ead4e05
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jul 26 00:35:58 2017 -0700

    mbimcli: wire up cancellable for query-ip-configuration action

 src/mbimcli/mbimcli-basic-connect.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 519b0815b11de2b7c441024ef4a05b76cde40d02
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jul 26 00:10:00 2017 -0700

    mbimcli,dss: fix a potential memory leak in set_dss_ready

 src/mbimcli/mbimcli-dss.c | 2 ++
 1 file changed, 2 insertions(+)

commit fc81452adabe554e2493aa1dda2af0ef0eaea184
Author: Ben Chan <benchan@chromium.org>
Date:   Tue Jul 25 23:42:34 2017 -0700

    mbimcli: avoid calling mbim_message_unref on NULL MbimMessage

 src/mbimcli/mbimcli-basic-connect.c | 1 -
 1 file changed, 1 deletion(-)

commit 242e7f738bcc7589dc08c901771a90e35f4ef738
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jul 18 11:12:45 2017 +0200

    mbim-device: plug memleak

        ==21554== 64 bytes in 1 blocks are definitely lost in loss record
        2,960 of 4,396
        ==21554==    at 0x4C2E10F: realloc (in
        /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
        ==21554==    by 0x644E0CF: g_realloc (in
        /usr/lib/libglib-2.0.so.0.5200.2)
        ==21554==    by 0x6469C06: ??? (in
        /usr/lib/libglib-2.0.so.0.5200.2)
        ==21554==    by 0x6469F94: g_string_insert_len (in
        /usr/lib/libglib-2.0.so.0.5200.2)
        ==21554==    by 0x64345E1: ??? (in
        /usr/lib/libglib-2.0.so.0.5200.2)
        ==21554==    by 0x643585A: g_build_path (in
        /usr/lib/libglib-2.0.so.0.5200.2)
        ==21554==    by 0x57C25E2: get_descriptors_filepath
        (mbim-device.c:837)
        ==21554==    by 0x57C267A: read_max_control_transfer
        (mbim-device.c:921)
        ==21554==    by 0x57C2F89: create_iochannel_with_socket
        (mbim-device.c:1161)
        ==21554==    by 0x57C2C06: wait_for_proxy_cb (mbim-device.c:1073)
        ==21554==    by 0x6449332: ??? (in
        /usr/lib/libglib-2.0.so.0.5200.2)
        ==21554==    by 0x64488B4: g_main_context_dispatch (in
        /usr/lib/libglib-2.0.so.0.5200.2)

 src/libmbim-glib/mbim-device.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 47c8b0b7e71ad208496c290e564406803276b816
Author: Ben Chan <benchan@chromium.org>
Date:   Wed Jun 28 08:28:21 2017 -0700

    libmbim-glib: make gtk-doc work again on deprecated enumerators

    Commit e5b6807d6 "libmbim-glib: fix G_DEPRECATED_FOR annotations"
    replaced macro defintions with `static const int' definitions
    for those
    deprecated enumerators. However, gtk-doc doesn't seem to document
    `static const int' defintions. This patch works around the issue by
    adding a macro defintion on top of a `static const int' defintion.

 src/libmbim-glib/mbim-compat.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 5f5680f7b604771f8e9f4145e2a2bb41d9bb85a8
Author: Dan Williams <dcbw@redhat.com>
Date:   Wed Jun 28 10:57:26 2017 -0500

    mbimcli: make ATDS commands consistent with other subsystems

 src/mbimcli/mbimcli-atds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 1f86135579311bb22d391bde39024f8fb1d014b8
Author: Dan Williams <dcbw@redhat.com>
Date:   Tue Apr 18 15:47:25 2017 -0500

    atds: add AT&T Device Service implementation

    See
    https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob;f=epan/dissectors/packet-mbim.c

    ATDS/Operators seems to be the same as BasicConnect/VisibleProviders
    except that
    CellularClass has been replaced with a "Provider PLMN Mode".

    ATDS/RegisterState seems to be exactly the same as
    BasicConnect/RegisterState if
    the Wireshark dissector is to be believed.

    Doesn't implement ATDS/SetProjectionTables yet.

 data/Makefile.am                                   |   3 +-
 data/mbim-service-atds.json                        | 147 +++++++++
 docs/reference/libmbim-glib/Makefile.am            |   3 +-
 .../libmbim-glib/libmbim-glib-common.sections      |  17 ++
 docs/reference/libmbim-glib/libmbim-glib-docs.xml  |   1 +
 src/libmbim-glib/generated/Makefile.am             |  18 +-
 src/libmbim-glib/libmbim-glib.h                    |   1 +
 src/libmbim-glib/mbim-cid.c                        |  18 ++
 src/libmbim-glib/mbim-cid.h                        |  20 ++
 src/libmbim-glib/mbim-enums.h                      |  36 +++
 src/libmbim-glib/mbim-uuid.c                       |  13 +
 src/libmbim-glib/mbim-uuid.h                       |  11 +
 src/mbimcli/Makefile.am                            |   3 +-
 src/mbimcli/mbimcli-atds.c                         | 336
 +++++++++++++++++++++
 src/mbimcli/mbimcli.c                              |   8 +
 src/mbimcli/mbimcli.h                              |   4 +
 16 files changed, 633 insertions(+), 6 deletions(-)

commit e5b6807d6f2a8488878cd1cc1530f3b3fd92a2ec
Author: Ben Chan <benchan@chromium.org>
Date:   Tue Jun 27 23:37:43 2017 -0700

    libmbim-glib: fix G_DEPRECATED_FOR annotations

    mbim-compat.h defines a few deprecated enumerators as an alias
    to their
    equivalence using macros and annotates those macros with
    G_DEPRECATED_FOR, which may be expanded to
    `__attribute__((deprecated))'.

    Neither gcc nor clang supports `__attribute__((deprecated))'
    on macros.
    Thus, a G_DEPRECATED_FOR annotation before a macro definition is
    actually associated with the next identifier found after the macro
    definition, which is incorrect.

    Alternatively, the G_DEPRECATED_FOR annotation can be used on the
    deprecated enumerators. But only gcc 6 or above supports enumerator
    attributes.

    To address the issue, this patch defines the deprecated enumerators as
    `static const int' values, which can then be annotated with
    G_DEPRECATED_FOR.

 src/libmbim-glib/mbim-compat.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 895d9847e461cb03d9772a2a60f863f4265d1506
Author: Ben Chan <benchan@chromium.org>
Date:   Tue Jun 27 00:15:01 2017 -0700

    libmbim-glib: add MBIM_READY_INFO_FLAG_NONE to MbimReadyInfoFlag

    According to MBIM spec Rev 1.0 Errata-1 Table 10-17, a value 0 of the
    ReadyInfo field in MBIM_SUBSCRIBER_READY_INFO refers to
    MBIMReadyInfoFlagsNone and indicates that the device is in normal
    mode.

    This patch adds MBIM_READY_INFO_FLAG_NONE (0) to the MbimReadyInfoFlag
    enum, such that `mbimcli --query-subscriber-ready-info` shows 'Ready
    info' as 'none' instead of 'unknown' when the ReadyInfo field is 0.

 src/libmbim-glib/mbim-enums.h | 2 ++
 1 file changed, 2 insertions(+)

commit b6e03a03906b6b4d632b41f2039f4f62311278fc
Author: Ben Chan <benchan@chromium.org>
Date:   Mon Jun 26 20:58:22 2017 -0700

    glib: remove invocations of g_type_init()

    g_type_init() has been deprecated (and also marked with the attribute
    'deprecated') since glib 2.36 as the type system is automatically
    initialized. Since the minimum version of glib required by libmbim is
    2.36, calling g_type_init() isn't necessarily in the libmbim code.

 src/mbim-proxy/mbim-proxy.c | 4 ----
 src/mbimcli/mbimcli.c       | 4 ----
 2 files changed, 8 deletions(-)

commit e34fde1e097ed56506b64a1abe66774038ffde2b
Author: Ben Chan <benchan@chromium.org>
Date:   Thu Jun 22 04:21:04 2017 -0700

    build: only define WITH_UDEV if enabled

 configure.ac                   | 1 -
 src/libmbim-glib/mbim-device.c | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

commit 9896cdad8a027fba76965d81f9e61622ed0d80ea
Author: Jaroslav Stepanek <xstej70@gmail.com>
Date:   Mon Jun 5 13:50:04 2017 +0200

    mbim-network: add support for short help switch

    https://bugs.freedesktop.org/show_bug.cgi?id=101279

 utils/mbim-network.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 4148d2d9de1b62b86cd62414856a5c388a3f5f25
Author: Ben Chan <benchan@chromium.org>
Date:   Tue May 2 06:27:13 2017 -0700

    libmbim-glib,device: port create_iochannel to use GTask

 src/libmbim-glib/mbim-device.c | 163
 +++++++++++++++++++++--------------------
 1 file changed, 83 insertions(+), 80 deletions(-)

commit 205dc3b36f3ffac2fa6addc0110e3ab4d3c42f3a
Author: Ben Chan <benchan@chromium.org>
Date:   Tue May 2 06:27:12 2017 -0700

    libmbim-glib,device: port mbim_device_close to use GTask

 src/libmbim-glib/mbim-device.c | 53
 ++++++++++++++++++------------------------
 1 file changed, 22 insertions(+), 31 deletions(-)

commit 01fbb01748754185e715af01d03169c4d155d6ca
Author: Ben Chan <benchan@chromium.org>
Date:   Tue May 2 06:27:11 2017 -0700

    libmbim-glib,device: port mbim_device_open_full to use GTask

 src/libmbim-glib/mbim-device.c | 159
 ++++++++++++++++++++++-------------------
 1 file changed, 84 insertions(+), 75 deletions(-)

commit 50f359fbe8edc84dcfa8c13873e8f0bbf6e79bd3
Author: Ben Chan <benchan@chromium.org>
Date:   Tue May 2 06:27:10 2017 -0700

    libmbim-glib,device: port initable_init_async to use GTask

 src/libmbim-glib/mbim-device.c | 70
 +++++++++++++++---------------------------
 1 file changed, 24 insertions(+), 46 deletions(-)

commit ef772d671785d42fdb550ef9b064d210d43ba78a
Author: Ben Chan <benchan@chromium.org>
Date:   Mon Apr 24 10:48:40 2017 -0700

    build: require glib 2.36

    We want to start using new features like GTask, which is available in
    GLib 2.36.

 configure.ac | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit 6c78817ecde8c0d303783b53d1137410e7900826
Author: Carlo Lobrano <c.lobrano@gmail.com>
Date:   Thu Mar 23 11:58:58 2017 +0100

    libmbim-glib,device: misplaced trace_transaction

    Moved trace_transaction with error message in the right context.

 src/libmbim-glib/mbim-device.c | 4 ++--
