commit 1a186e61a34e0b267cc91e9a72dd266429ab6408
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Jun 18 10:40:31 2020 +0200

    release: bump version to 1.24.0

 configure.ac | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 53dd98b856711845af761d2bab2779e85aa45520
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat May 30 13:11:49 2020 +0200

    AUTHORS: update with latest commit stats

 AUTHORS | 2 ++
 1 file changed, 2 insertions(+)

commit 30dd906a658bbd182c252f046c76697218d1da8b
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat May 30 08:59:15 2020 +0200

    example: always perform a clean exit, even on error

 examples/simple-tester-python/simple-tester-python | 2 --
 1 file changed, 2 deletions(-)

commit ede2849ce88e951ab1b07a6d80406e571b6d21aa
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat May 30 08:56:04 2020 +0200

    example: GObject import not explicitly required

 examples/simple-tester-python/simple-tester-python | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2f8c625da4b8b9faad0b9120aa1613ae53b47661
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri May 29 18:30:21 2020 +0200

    example: separate with 2 whitelines the program methods

 examples/simple-tester-python/simple-tester-python | 6 ++++++
 1 file changed, 6 insertions(+)

commit 3564fde972c3e39aeccd589ed4919aa058dd23ca
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri May 29 18:16:34 2020 +0200

    example: don't attempt to continue logic after quitting main loop

 examples/simple-tester-python/simple-tester-python | 3 +++
 1 file changed, 3 insertions(+)

commit 47e2ed70db68f655710a558e03bc0d77e3be96d4
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 27 14:02:03 2020 +0200

    build: bump version to 1.23.900 (1.24-rc1)

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

commit f9bb4d26175512cc2b3084189fc9826a78fbd43d
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 27 14:01:20 2020 +0200

    NEWS: update for 1.24

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

commit 3757cf5a1946613d3b11fa6af6f262097967759a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 27 13:49:04 2020 +0200

    libmbim-glib: skip unneeded methods from introspection

    Don't add in introspection the methods reading GObject properties.

 src/libmbim-glib/mbim-device.h | 4 ++--
 src/libmbim-glib/mbim-proxy.h  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 368450ecec0cce1abca098995428733d6db38b88
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 27 13:45:15 2020 +0200

    mbim-codegen: setup introspection annotations in message creators

 build-aux/mbim-codegen/Message.py | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

commit aedc73750a10f3bb18a72e0a9bb63863a6390c34
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 27 10:50:41 2020 +0200

    examples: new simple python tester for introspection support

 Makefile.am                                        |   2 +-
 configure.ac                                       |   2 +
 examples/Makefile.am                               |   1 +
 examples/simple-tester-python/Makefile.am          |   2 +
 examples/simple-tester-python/README               |  29 ++++++
 examples/simple-tester-python/simple-tester-python | 102
 +++++++++++++++++++++
 6 files changed, 137 insertions(+), 1 deletion(-)

commit 8612624c1d674f9f23cd4b442060dce1d4d34873
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 27 11:56:05 2020 +0200

    mbim-codegen: set array detail annotations

 build-aux/mbim-codegen/Message.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit b1d92278f9689547894d0aa28228b53636f3c47c
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 27 11:00:17 2020 +0200

    mbim-codegen: set transfer annotations in parsers

 build-aux/mbim-codegen/Message.py | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

commit 539e570b161c7127c3a267493cf760cd41ec586c
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 27 10:51:06 2020 +0200

    mbim-codegen: explicitly flag as optional outputs all fields in
    parsers

 build-aux/mbim-codegen/Message.py | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

commit 891ff842fdb84a2f8628a19af89794a9c4287623
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 18 13:32:50 2020 +0200

    mbim-codegen: avoid needing python packaging.version.parse

 build-aux/mbim-codegen/Struct.py |  4 +---
 build-aux/mbim-codegen/utils.py  | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

commit fc550c38e88f6228a492546f1d75edb98846a194
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 18 06:42:26 2020 +0200

    docs,libmbim-glib: include API indices

 docs/reference/libmbim-glib/libmbim-glib-docs.xml | 50
 +++++++++++++++++++++--
 1 file changed, 47 insertions(+), 3 deletions(-)

commit 03f4969bc7d79e1d6aa78af2fa69d6ff1de815ca
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 18 13:07:59 2020 +0200

    build-aux: include Since tag in methods built from enums

 build-aux/templates/mbim-enum-types-template.c |  17 ----
 build-aux/templates/mbim-enum-types-template.h |  21 +++++
 src/libmbim-glib/mbim-cid.h                    |  28 +++----
 src/libmbim-glib/mbim-device.h                 |   2 +-
 src/libmbim-glib/mbim-enums.h                  | 112
 ++++++++++++-------------
 src/libmbim-glib/mbim-errors.h                 |   6 +-
 src/libmbim-glib/mbim-message.h                |   4 +-
 src/libmbim-glib/mbim-uuid.h                   |   4 +-
 8 files changed, 99 insertions(+), 95 deletions(-)

commit 0237c972093c716eeab82a94272cd0ae8a00426f
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 18 12:54:20 2020 +0200

    build-aux: import custom mkenums tool

    Equivalent to the glib-mkenums released in 2.66, we just include it in
    the repo to be able to use it earlier than requiring 2.66 in the whole
    project.

 build-aux/Makefile.am                  |   4 +-
 build-aux/mbim-mkenums                 | 788
 +++++++++++++++++++++++++++++++++
 configure.ac                           |   3 -
 src/libmbim-glib/generated/Makefile.am |  10 +-
 4 files changed, 796 insertions(+), 9 deletions(-)

commit 4c2a7b4f8285dfbf7ff3c45c142c454f5f5530b9
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 18 09:10:36 2020 +0200

    libmbim-glib: add Since tags to all API types and methods

 src/libmbim-glib/mbim-cid.h        |  40 +++++++-
 src/libmbim-glib/mbim-compat.h     |  12 ++-
 src/libmbim-glib/mbim-device.c     |  21 ++++
 src/libmbim-glib/mbim-device.h     |  92 +++++++++++++++++-
 src/libmbim-glib/mbim-enums.h      | 194
 +++++++++++++++++++++++++++++--------
 src/libmbim-glib/mbim-errors.h     |  10 +-
 src/libmbim-glib/mbim-message.h    |  92 ++++++++++++++++++
 src/libmbim-glib/mbim-proxy.c      |  11 ++-
 src/libmbim-glib/mbim-proxy.h      |  40 +++++++-
 src/libmbim-glib/mbim-utils.h      |   4 +
 src/libmbim-glib/mbim-uuid.h       |  72 ++++++++++++--
 src/libmbim-glib/mbim-version.h.in |   8 ++
 12 files changed, 536 insertions(+), 60 deletions(-)

commit 8abe015a9ab756b2248df892a6b601d17e1a6611
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 18 07:05:16 2020 +0200

    mbim-codegen: add Since tags to all public structs and methods

 build-aux/mbim-codegen/Message.py | 236
 +++++++++++++++++++++-----------------
 build-aux/mbim-codegen/Struct.py  |  46 +++++---
 2 files changed, 159 insertions(+), 123 deletions(-)

commit e20be27adea9fbc0ebcca4fe74e4d872fea75bad
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 18 06:15:27 2020 +0200

    data: add 'since' version tags to all messages

    E.g.:
      "since" : "1.0"

    Or per-message-type version tags with 'since-ex', e.g.:
      "since-ex" : { "query"        : "1.0",
                     "response"     : "1.0",
                     "notification" : "1.8" },

 data/mbim-service-atds.json                        |   6 +
 data/mbim-service-auth.json                        |   9 +-
 data/mbim-service-basic-connect.json               | 163 ++++++----
 data/mbim-service-dss.json                         |   1 +
 data/mbim-service-intel-firmware-update.json       |   9 +-
 data/mbim-service-ms-basic-connect-extensions.json |   6 +
 data/mbim-service-ms-firmware-id.json              |   1 +
 data/mbim-service-ms-host-shutdown.json            |   1 +
 data/mbim-service-phonebook.json                   |  73 ++---
 data/mbim-service-proxy-control.json               |   1 +
 data/mbim-service-qmi.json                         |  35 ++-
 data/mbim-service-sms.json                         | 347
 +++++++++++----------
 data/mbim-service-stk.json                         |   4 +-
 data/mbim-service-ussd.json                        |  69 ++--
 14 files changed, 402 insertions(+), 323 deletions(-)

commit 21f8b992e8d17c9fa944641c0e4e1c02a756c5a9
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu May 14 19:24:41 2020 +0200

    libmbim-glib,proxy: fix proxy reference count

    Fixes bf9a52868047c11463692a57fdda6af9f0b59588

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

commit 91d107fd4f052da5728656a45261aedde77de95e
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 13 07:00:46 2020 +0200

    build: update list of ignored files

 .gitignore | 47 ++++++++++++++++++-----------------------------
 1 file changed, 18 insertions(+), 29 deletions(-)

commit c26e9494166ba45a36db65dc89362e2fed861136
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 13 06:02:10 2020 +0200

    libmbim-glib,introspection: add introspection support

 .gitlab-ci.yml               |  4 +-
 configure.ac                 | 26 +++++++-----
 m4/introspection.m4          | 97
 ++++++++++++++++++++++++++++++++++++++++++++
 src/libmbim-glib/Makefile.am | 40 ++++++++++++++++++
 4 files changed, 154 insertions(+), 13 deletions(-)

commit 0bf83040b3addca4dce3fea17f15292f33fbb403
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 13 06:55:54 2020 +0200

    libmbim-glib: move method docs to headers

 src/libmbim-glib/mbim-cid.c     |  45 ----
 src/libmbim-glib/mbim-cid.h     |  61 ++++-
 src/libmbim-glib/mbim-compat.c  |  33 ---
 src/libmbim-glib/mbim-compat.h  |  33 +++
 src/libmbim-glib/mbim-device.c  | 187 --------------
 src/libmbim-glib/mbim-device.h  | 294 ++++++++++++++++++----
 src/libmbim-glib/mbim-message.c | 373 ----------------------------
 src/libmbim-glib/mbim-message.h | 524
 +++++++++++++++++++++++++++++++++++-----
 src/libmbim-glib/mbim-proxy.c   |  16 --
 src/libmbim-glib/mbim-proxy.h   |  54 ++++-
 src/libmbim-glib/mbim-utils.c   |  13 -
 src/libmbim-glib/mbim-utils.h   |  17 +-
 src/libmbim-glib/mbim-uuid.c    | 109 ---------
 src/libmbim-glib/mbim-uuid.h    | 134 +++++++++-
 14 files changed, 984 insertions(+), 909 deletions(-)

commit f3f906bd4bcceac34a9e69accd819bb88fb68edf
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 11 17:13:29 2020 +0200

    ci: also test distcheck by default

 .gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit bf9a52868047c11463692a57fdda6af9f0b59588
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 11 16:58:37 2020 +0200

    libmbim-glib,proxy: port to use g_auto() helpers

 src/libmbim-glib/mbim-proxy.c | 164
 +++++++++++++++++-------------------------
 1 file changed, 64 insertions(+), 100 deletions(-)

commit 9e31bd6f3b4f2063b0b0d2ea78b1846e65e0ca3a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 11 16:39:47 2020 +0200

    libmbim-glib,message: port to use g_auto() helpers

 src/libmbim-glib/mbim-message.c | 65
 +++++++++++++++++------------------------
 1 file changed, 27 insertions(+), 38 deletions(-)

commit a4c7b1a17f7267a1146d33e39b41f70f7e110062
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 11 16:31:04 2020 +0200

    libmbim-glib,device: port to use g_auto() helpers

 src/libmbim-glib/mbim-device.c | 302
 ++++++++++++++++-------------------------
 1 file changed, 117 insertions(+), 185 deletions(-)

commit 1e4654e2b326cfc98d20b3171bc54d2654bb9b23
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 11 16:02:03 2020 +0200

    libmbim-glib,device: proxy_control_configuration_set_new() never fails

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

commit 073df58b71ac4edacddd18e4e822eae4cab0e59a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 11 14:54:17 2020 +0200

    mbim-codegen: port to use g_auto() helpers

 build-aux/mbim-codegen/Message.py | 57
 ++++++++++++++-------------------------
 build-aux/mbim-codegen/Struct.py  |  8 +++---
 2 files changed, 23 insertions(+), 42 deletions(-)

commit f8856c71607a0d2612cb5e9b050efd01f8c6e9d4
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 11 14:46:20 2020 +0200

    mbim-proxy: port to use g_auto() helpers

 src/mbim-proxy/mbim-proxy.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

commit 00dcb26cd6993104cb2d255487df7e9d754d0e94
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 11 14:38:31 2020 +0200

    mbimcli: port to use g_auto() helpers

 src/mbimcli/mbimcli-atds.c                        |  50 +-
 src/mbimcli/mbimcli-basic-connect.c               | 735
 +++++++---------------
 src/mbimcli/mbimcli-dss.c                         |  61 +-
 src/mbimcli/mbimcli-helpers.c                     | 130 ++--
 src/mbimcli/mbimcli-intel-firmware-update.c       |  15 +-
 src/mbimcli/mbimcli-ms-basic-connect-extensions.c |  79 +--
 src/mbimcli/mbimcli-ms-firmware-id.c              |  25 +-
 src/mbimcli/mbimcli-ms-host-shutdown.c            |  13 +-
 src/mbimcli/mbimcli-phonebook.c                   |  89 +--
 src/mbimcli/mbimcli.c                             |  16 +-
 10 files changed, 400 insertions(+), 813 deletions(-)

commit 7ae92677360a57e796d10c982a0d4d125ae86731
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 11 16:33:02 2020 +0200

    build: bump version to 1.23.1 to flag existence of new API (autoptr
    support)

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

commit 50d43376a6ac9c6fc9a1e3d595675937ae90cc86
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Mar 21 15:19:58 2020 +0100

    mbimcli: remove empty whiteline in --version

    This also fixes the Copyright section in the troffit generated HTML
    output.

 src/mbimcli/mbimcli.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit adaeaa6ad14854655b092bdaf7e7b02f7d616ccd
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Mar 21 15:09:00 2020 +0100

    mbimcli: add ':' to the section titles

    So that --help-all print all sections in the same way as the Help and
    Application option groups.

 src/mbimcli/mbimcli-atds.c                        | 2 +-
 src/mbimcli/mbimcli-basic-connect.c               | 2 +-
 src/mbimcli/mbimcli-dss.c                         | 2 +-
 src/mbimcli/mbimcli-intel-firmware-update.c       | 2 +-
 src/mbimcli/mbimcli-ms-basic-connect-extensions.c | 2 +-
 src/mbimcli/mbimcli-ms-firmware-id.c              | 2 +-
 src/mbimcli/mbimcli-ms-host-shutdown.c            | 2 +-
 src/mbimcli/mbimcli-phonebook.c                   | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

commit 4f67acb16e0dbafad78387090b8c086c2428f663
Author: Eric Caruso <ejcaruso@chromium.org>
Date:   Tue Feb 4 11:04:14 2020 -0800

    mbim-proxy: flag print_version_and_exit() as noreturn

 src/mbim-proxy/mbim-proxy.c | 1 +
 1 file changed, 1 insertion(+)

commit cc307468d078a28ea99660b33d740f563484d910
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jan 15 18:35:45 2020 +0100

    libmbim-glib,test: port message parser tests to use autoptr

 src/libmbim-glib/test/test-message-parser.c | 224
 +++++++++++-----------------
 1 file changed, 90 insertions(+), 134 deletions(-)

commit 7100b28963a34581ff44a7b43626ef81cd7c87e8
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jan 15 18:09:32 2020 +0100

    libmbim-glib,mbim-codegen: define autoptr cleanup functions for
    all types

 build-aux/mbim-codegen/Message.py |  8 ++++----
 build-aux/mbim-codegen/Struct.py  | 21 ++++++++++++++++-----
 src/libmbim-glib/mbim-device.h    |  1 +
 src/libmbim-glib/mbim-message.h   |  2 ++
 src/libmbim-glib/mbim-proxy.h     |  1 +
 5 files changed, 24 insertions(+), 9 deletions(-)

commit 8819bb94affc97455f1716c71b10ca5a4a574879
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jan 15 17:37:22 2020 +0100

    build: bump minimum glib required version to 2.48

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

commit f6506bccdfc43c3c89eaf928cf4576963fdacf32
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jan 15 17:33:21 2020 +0100

    build: post-release version bump to 1.23.0

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

commit 697465da7e976d15b13061368d37f76d8e0c33c4
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jan 15 16:09:39 2020 +0100

    release: bump version to 1.22.0

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

commit dfffc52415ef1504cd0c088b4cc7dbe5d54211f0
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jan 15 16:07:54 2020 +0100

    NEWS: update for 1.22

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

commit 2374eeabf2f163fba3f9680a3e95ddeef8bb8a2e
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Jan 9 11:36:51 2020 +0100

    libmbim-glib,message: fix build with -Wcast-align in ARM

      mbim-message.c: In function '_mbim_struct_builder_complete':
      mbim-message.c:534:24: error: cast increases required alignment
      of target type [-Werror=cast-align]
               offset_value = (guint32 *)
               &(builder->fixed_buffer->data[offset_offset]);
                            ^

 src/libmbim-glib/mbim-message.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 1c58bd3c10eca49eaf83afd667aa8e5b079bc8ad
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Jan 3 20:38:31 2020 +0100

    build: bump copyright years to 2020

 docs/reference/libmbim-glib/libmbim-glib-docs.xml | 1 +
 src/mbim-proxy/mbim-proxy.c                       | 2 +-
 src/mbimcli/mbimcli.c                             | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

commit 9c82fe382b49808131a087e69de709ba988f0e47
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Jan 3 20:35:16 2020 +0100

    mbimcli: flag print_version_and_exit() as noreturn

    Same thing as done in libqmi, see
    https://gitlab.freedesktop.org/mobile-broadband/libqmi/merge_requests/82

 src/mbimcli/mbimcli.c | 1 +
 1 file changed, 1 insertion(+)

commit 78541004048aa15880ca99b5e06b9d7529742c77
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Dec 23 08:24:02 2019 +0100

    test,basic-connect: fail provisioned contexts response without
    information buffer

 src/libmbim-glib/test/test-message-parser.c | 37
 +++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

commit 2ed61627f885de72a20850b02f262a7e851240c3
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Dec 21 16:48:45 2019 +0100

    libmbim-glib,device: plug memleak when processing Open errors

       ==8725== 40 (16 direct, 24 indirect) bytes in 1 blocks are
       definitely lost in loss record 825 of 1,273
       ==8725==    at 0x483877F: malloc (vg_replace_malloc.c:309)
       ==8725==    by 0x4B7C8D9: g_malloc (in
       /usr/lib/libglib-2.0.so.0.6200.3)
       ==8725==    by 0x4B5D893: g_slice_alloc (in
       /usr/lib/libglib-2.0.so.0.6200.3)
       ==8725==    by 0x4B979DA: g_error_copy (in
       /usr/lib/libglib-2.0.so.0.6200.3)
       ==8725==    by 0x48AA3BC: transaction_task_complete_and_free
       (mbim-device.c:243)
       ==8725==    by 0x48AAE00: finalize_pending_open_request
       (mbim-device.c:541)
       ==8725==    by 0x48AB12B: process_message (mbim-device.c:632)
       ==8725==    by 0x48AB530: parse_response (mbim-device.c:762)
       ==8725==    by 0x48AB844: data_available (mbim-device.c:842)
       ==8725==    by 0x4B8226E: g_main_context_dispatch (in
       /usr/lib/libglib-2.0.so.0.6200.3)
       ==8725==    by 0x4B841B0: ??? (in /usr/lib/libglib-2.0.so.0.6200.3)
       ==8725==    by 0x4B850C2: g_main_loop_run (in
       /usr/lib/libglib-2.0.so.0.6200.3)

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

commit 4d5a77fe68feeef3c0aed27c865ac7645760789b
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Dec 21 16:38:40 2019 +0100

    libmbim,device: plug memleak when processing responses with multiple
    fragments

       ==8725== 48 bytes in 3 blocks are definitely lost in loss record
       840 of 1,273
       ==8725==    at 0x483877F: malloc (vg_replace_malloc.c:309)
       ==8725==    by 0x4B7C8D9: g_malloc (in
       /usr/lib/libglib-2.0.so.0.6200.3)
       ==8725==    by 0x4B5D893: g_slice_alloc (in
       /usr/lib/libglib-2.0.so.0.6200.3)
       ==8725==    by 0x48AA78D: device_store_transaction
       (mbim-device.c:371)
       ==8725==    by 0x48AE34C: mbim_device_command (mbim-device.c:2218)
       ==8725==    by 0x48B0E83: process_command (mbim-proxy.c:1020)
       ==8725==    by 0x48B0F8C: process_message (mbim-proxy.c:1052)
       ==8725==    by 0x48B1052: parse_request (mbim-proxy.c:1091)
       ==8725==    by 0x48B1279: connection_readable_cb
       (mbim-proxy.c:1140)
       ==8725==    by 0x49D32E9: ??? (in /usr/lib/libgio-2.0.so.0.6200.3)
       ==8725==    by 0x4B8226E: g_main_context_dispatch (in
       /usr/lib/libglib-2.0.so.0.6200.3)
       ==8725==    by 0x4B841B0: ??? (in /usr/lib/libglib-2.0.so.0.6200.3)
       ==8725==

 src/libmbim-glib/mbim-device.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

commit 0d3017abc39d14d4c8356f54af81aa4dbb0f4e79
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Dec 21 15:57:00 2019 +0100

    libmbim-glib,proxy: validate service subscribe request before parsing

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

commit a5089b41e442bbd9fedcb51e976b3cbdab360f32
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Dec 21 15:30:19 2019 +0100

    mbim-codegen,message: information buffer only required if fields
    expected

    If a MBIM response/indication message does not expect any field in
    payload, don't even validate the existence of the information buffer.

    E.g. the SMS delete response doesn't have any field, so we shouldn't
    fail when we detect that:

        ModemManager[6065]: [/dev/cdc-wdm0] Received message
        (translated)...
        >>>>>> Header:
        >>>>>>   length      = 48
        >>>>>>   type        = command-done (0x80000003)
        >>>>>>   transaction = 36
        >>>>>> Fragment header:
        >>>>>>   total   = 1
        >>>>>>   current = 0
        >>>>>> Contents:
        >>>>>>   status error = 'None' (0x00000000)
        >>>>>>   service      = 'sms'
        (533fbeeb-14fe-4467-9f90-33a223e56c3f)
        >>>>>>   cid          = 'delete' (0x00000004)
        ModemManager[6065]: <debug> [1576938340.872769] Couldn't delete
        SMS part with index 3: 'Message does not have information buffer'

 build-aux/mbim-codegen/Message.py | 38
 ++++++++++++++++++++++----------------
 1 file changed, 22 insertions(+), 16 deletions(-)

commit a850e71dadc4a109b81d580b6c2d7be1132b1f32
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 22:14:01 2019 +0100

    libmbim-glib,test: add test for failed message parsing

 src/libmbim-glib/test/test-message-parser.c | 48
 +++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

commit b9d63f822a57fc09afacbef37cbe2cd57bd1054d
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 22:05:22 2019 +0100

    build-aux,message: no longer need early out count management

 build-aux/mbim-codegen/Message.py | 53
 +++------------------------------------
 1 file changed, 3 insertions(+), 50 deletions(-)

commit 02631fbb74c5daed91f1d56595b4bab0ed54d962
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 21:56:21 2019 +0100

    build-aux,struct: no longer need early out count management

 build-aux/mbim-codegen/Struct.py | 23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

commit d498e9323ea133de9993d1fba7f4d548e8ca2152
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 21:42:26 2019 +0100

    libmbim-glib,message: reading IPv6 array may fail

 build-aux/mbim-codegen/Message.py       |  9 ++++---
 src/libmbim-glib/mbim-message-private.h |  9 ++++---
 src/libmbim-glib/mbim-message.c         | 43
 +++++++++++++++++++++++++--------
 3 files changed, 44 insertions(+), 17 deletions(-)

commit 5ddf637c1636c79eaf69dee6fb5223fea9766927
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 21:34:02 2019 +0100

    libmbim-glib,message: reading IPv6 may fail

 build-aux/mbim-codegen/Message.py       | 18 ++++++++++-----
 build-aux/mbim-codegen/Struct.py        | 22 ++++++++++++++----
 src/libmbim-glib/mbim-message-private.h |  8 ++++---
 src/libmbim-glib/mbim-message.c         | 40
 ++++++++++++++++++++++++++-------
 4 files changed, 67 insertions(+), 21 deletions(-)

commit f39f22bd173b27b925b8aaa76650d92ea72584c0
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 20:17:06 2019 +0100

    libmbim-glib,message: reading IPv4 array may fail

 build-aux/mbim-codegen/Message.py       |  9 ++++---
 src/libmbim-glib/mbim-message-private.h |  8 ++++---
 src/libmbim-glib/mbim-message.c         | 42
 +++++++++++++++++++++++++--------
 3 files changed, 43 insertions(+), 16 deletions(-)

commit 91568c1a79790754eecaaeaf0cf53c27c6494c49
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 20:07:25 2019 +0100

    libmbim-glib,message: reading IPv4 may fail

 build-aux/mbim-codegen/Message.py       | 18 ++++++++++-----
 build-aux/mbim-codegen/Struct.py        | 22 ++++++++++++++----
 src/libmbim-glib/mbim-message-private.h |  8 ++++---
 src/libmbim-glib/mbim-message.c         | 40
 ++++++++++++++++++++++++++-------
 4 files changed, 67 insertions(+), 21 deletions(-)

commit 8ecb23418fd79f25458b35363738ebdbe8c8ff11
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 18:28:49 2019 +0100

    libmbim-glib,message: reading string array may fail

 build-aux/mbim-codegen/Message.py       |  9 +++++---
 build-aux/mbim-codegen/Struct.py        |  4 +++-
 src/libmbim-glib/mbim-message-private.h | 11 ++++-----
 src/libmbim-glib/mbim-message.c         | 40
 +++++++++++++++++++++------------
 4 files changed, 41 insertions(+), 23 deletions(-)

commit d01b83df1b96172b90cf70ca2f6fdd39fe3a2539
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 18:23:26 2019 +0100

    libmbim-glib,message: reading string may fail

 build-aux/mbim-codegen/Message.py       |  9 +++--
 build-aux/mbim-codegen/Struct.py        |  4 +-
 src/libmbim-glib/mbim-message-private.h |  9 +++--
 src/libmbim-glib/mbim-message.c         | 66
 +++++++++++++++++++++------------
 src/libmbim-glib/mbim-proxy.c           |  7 ++--
 5 files changed, 62 insertions(+), 33 deletions(-)

commit 74068b23d1db1d73f6a91a14d87f1b251edd907d
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 16:59:48 2019 +0100

    libmbim-glib,message: reading guint64 may fail

 build-aux/mbim-codegen/Message.py       | 21 ++++++++++++++++++---
 build-aux/mbim-codegen/Struct.py        |  4 +++-
 src/libmbim-glib/mbim-message-private.h |  6 ++++--
 src/libmbim-glib/mbim-message.c         | 29
 ++++++++++++++++++++++-------
 4 files changed, 47 insertions(+), 13 deletions(-)

commit 093b0bf07eb85d989c6db855bcb63ef36ab372b9
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 16:52:58 2019 +0100

    libmbim-glib,message: reading guint32 array may fail

 build-aux/mbim-codegen/Struct.py        |  4 ++-
 src/libmbim-glib/mbim-message-private.h |  8 ++++--
 src/libmbim-glib/mbim-message.c         | 49
 +++++++++++++++++++++------------
 src/libmbim-glib/mbim-proxy-helpers.c   |  4 +--
 4 files changed, 41 insertions(+), 24 deletions(-)

commit 3e33a1e839254940ff17b4b38923dca21f857a6a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 16:44:58 2019 +0100

    libmbim-glib,message: reading guint32 may fail

 build-aux/mbim-codegen/Message.py       | 37
 +++++++++++++++++++++++++--------
 build-aux/mbim-codegen/Struct.py        | 14 +++++++++----
 src/libmbim-glib/mbim-message-private.h |  6 ++++--
 src/libmbim-glib/mbim-message.c         | 29 +++++++++++++++++++-------
 src/libmbim-glib/mbim-proxy-helpers.c   | 24 ++++++++++-----------
 src/libmbim-glib/mbim-proxy.c           |  8 ++++++-
 6 files changed, 82 insertions(+), 36 deletions(-)

commit b7c36db1550521336262508deadda195d3feb5b4
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 15:29:49 2019 +0100

    libmbim-glib,message: reading uuid may fail

 build-aux/mbim-codegen/Message.py       | 11 +++++++----
 build-aux/mbim-codegen/Struct.py        | 11 +++++++++--
 src/libmbim-glib/mbim-message-private.h |  6 ++++--
 src/libmbim-glib/mbim-message.c         | 24 +++++++++++++++++++-----
 src/libmbim-glib/mbim-proxy-helpers.c   | 17 +++++++++++++----
 5 files changed, 52 insertions(+), 17 deletions(-)

commit 28084e36e20d2436cf9dff03f83fc3f150c2b9e2
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 19:34:12 2019 +0100

    libmbim-glib,test: fix byte array reading test

    The STK buffer is 256 bytes, fixed-size, so use that array size for
    the actual test, or it'll fail with the new strict reading checks.

 src/libmbim-glib/test/test-message-parser.c | 56
 +++++++++++++++++++++++++++--
 1 file changed, 53 insertions(+), 3 deletions(-)

commit 413133f2f88b6636a7f2613e7fead937a5be8b33
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 13:03:15 2019 +0100

    libmbim-glib,message: reading byte array may fail

 build-aux/mbim-codegen/Message.py       |  32 ++++++---
 build-aux/mbim-codegen/Struct.py        |  24 +++++--
 src/libmbim-glib/mbim-message-private.h |  18 +++--
 src/libmbim-glib/mbim-message.c         | 116
 +++++++++++++++++++++++++++-----
 4 files changed, 154 insertions(+), 36 deletions(-)

commit 45545bb78e8f3c0a72b4a5075f0652f167c38e54
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 16:36:23 2019 +0100

    libmbim-glib,proxy: helper service_subscribe_request_parse() may fail

 src/libmbim-glib/mbim-proxy-helpers.c      |  5 +++--
 src/libmbim-glib/mbim-proxy-helpers.h      |  3 ++-
 src/libmbim-glib/mbim-proxy.c              | 14 +++++++++++++-
 src/libmbim-glib/test/test-proxy-helpers.c |  9 ++++++---
 4 files changed, 24 insertions(+), 7 deletions(-)

commit 896cd9cbca60a90609a6cedb23d6c176b5b12b8d
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 14:54:10 2019 +0100

    build-aux,message: struct reading may fail

 build-aux/mbim-codegen/Message.py | 49 +++++++++++++++++++-----
 build-aux/mbim-codegen/Struct.py  | 79
 +++++++++++++++++++++++----------------
 2 files changed, 86 insertions(+), 42 deletions(-)

commit 60da80336b13fab5039e84fc8803ade278ed2edb
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 13:13:04 2019 +0100

    build-aux,struct: setup base logic to abort early

 build-aux/mbim-codegen/Struct.py | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

commit 3ebb80f9e35d84a185dd7e49f6092fb7621ea1d7
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 11:45:05 2019 +0100

    build-aux,message: setup base logic to abort early

    All memory allocated variables will be freed if the parsing is aborted
    at any time.

 build-aux/mbim-codegen/Message.py | 51
 +++++++++++++++++++++++++++++++++------
 1 file changed, 43 insertions(+), 8 deletions(-)

commit ab6a1bd1df422968ef526e615f30945e343c5baf
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 11:30:19 2019 +0100

    build-aux,message: set all output mem allocated variables just
    before returning

    This is just a minor refactor to make it easier to abort the
    processing early if reading specific fields fail.

 build-aux/mbim-codegen/Message.py | 66
 ++++++++++++++++++++++++++++++++-------
 1 file changed, 55 insertions(+), 11 deletions(-)

commit fd3306c8070aae12fda4f4493de3cdef6f73a34c
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Nov 26 10:57:10 2019 +0100

    build-aux,message: always reset inner template

    So that the 'else' path has an empty string as template.

 build-aux/mbim-codegen/Message.py | 6 ++++++
 1 file changed, 6 insertions(+)

commit 2f27283834cb54492b3f9cf72f7d83b0a9838063
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Nov 25 15:04:26 2019 +0100

    build-aux,message: rename output variables in message parsers as
    'out_..'

 build-aux/mbim-codegen/Message.py | 198
 +++++++++++++++++++-------------------
 1 file changed, 99 insertions(+), 99 deletions(-)

commit 80b27d4dc307451cea631f3a7c25d1845f457911
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Nov 25 13:37:11 2019 +0100

    build-aux,message: error out if trying to parse contents and none
    given

    If the message doesn't have an information buffer, don't allow
    content parsing.

 build-aux/mbim-codegen/Message.py | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit 404de179081c52ae310adae16788fb5f68e7d30a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Nov 25 13:33:45 2019 +0100

    libmbim-glib,message: allow NULL length output when getting
    information buffer

 src/libmbim-glib/mbim-message.c | 39
 ++++++++++++++++++++++++---------------
 src/libmbim-glib/mbim-message.h |  6 +++---
 2 files changed, 27 insertions(+), 18 deletions(-)

commit d08dd6f0071f94838c5f6fd78413c7f51461ba8e
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Nov 21 11:50:54 2019 +0100

    mbimcli: G_LOG_FLAG_FATAL is an internal flag

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

commit 0cb13839345633fa0dfe8d11393231d59e7defd8
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Nov 20 15:21:38 2019 +0100

    libmbim-glib,device: fix warnings with -Wimplicit-fallthrough

      mbim-device.c: In function ‘device_open_context_step’:
      mbim-device.c:1601:18: warning: this statement may fall through
      [-Wimplicit-fallthrough=]
       1601 |         ctx->step++;
            |         ~~~~~~~~~^~
      mbim-device.c:1604:5: note: here
       1604 |     case DEVICE_OPEN_CONTEXT_STEP_CREATE_IOCHANNEL:
            |     ^~~~
      mbim-device.c:1616:18: warning: this statement may fall through
      [-Wimplicit-fallthrough=]
       1616 |         ctx->step++;
            |         ~~~~~~~~~^~
      mbim-device.c:1619:5: note: here
       1619 |     case DEVICE_OPEN_CONTEXT_STEP_CLOSE_MESSAGE:
            |     ^~~~
      mbim-device.c:1626:18: warning: this statement may fall through
      [-Wimplicit-fallthrough=]
       1626 |         ctx->step++;
            |         ~~~~~~~~~^~
      mbim-device.c:1629:5: note: here
       1629 |     case DEVICE_OPEN_CONTEXT_STEP_OPEN_MESSAGE:
            |     ^~~~
      mbim-device.c:1635:18: warning: this statement may fall through
      [-Wimplicit-fallthrough=]
       1635 |         ctx->step++;
            |         ~~~~~~~~~^~
      mbim-device.c:1638:5: note: here
       1638 |     case DEVICE_OPEN_CONTEXT_STEP_LAST:
            |     ^~~~

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