[libvirt] [dbus PATCH v2 0/9] Remove all enum->string and string->enum code

Katerina Koukiou posted 9 patches 5 years, 11 months ago
Failed in applying to current master (apply log)
data/org.libvirt.Connect.xml |   6 +-
data/org.libvirt.Domain.xml  |  20 ++---
data/org.libvirt.Network.xml |   6 +-
src/connect.c                |  18 +---
src/domain.c                 | 203 ++++---------------------------------------
src/events.c                 |  72 ++-------------
src/network.c                |  66 +-------------
src/util.c                   |  27 ------
src/util.h                   |  28 ------
tests/libvirttest.py         |  32 +++++++
tests/test_connect.py        |  24 +++--
tests/test_domain.py         |  46 ++++++----
tests/test_network.py        |  20 +++--
13 files changed, 131 insertions(+), 437 deletions(-)
[libvirt] [dbus PATCH v2 0/9] Remove all enum->string and string->enum code
Posted by Katerina Koukiou 5 years, 11 months ago
Changes from v1:
 * Added the three last patches

Katerina Koukiou (9):
  Abandon usage of all *TypeToString functions in domain.c
  Abandon usage of all *TypeToString functions in connect.c
  Abandon usage of all *TypeToString functions in network.c
  Change DomainEvent argument from string to unsigned int
  Change NetworkEvent argument from string to unsigned int
  Remove virtDBusUtilEnum{From,From}String functions
  Remove reason to string translation in virtDBusEventsDomainTrayChange
  Remove state to string translation in virtDBusDomainGetState
  Remove reason to string translation in virtDBusEventsDomainDiskChange

 data/org.libvirt.Connect.xml |   6 +-
 data/org.libvirt.Domain.xml  |  20 ++---
 data/org.libvirt.Network.xml |   6 +-
 src/connect.c                |  18 +---
 src/domain.c                 | 203 ++++---------------------------------------
 src/events.c                 |  72 ++-------------
 src/network.c                |  66 +-------------
 src/util.c                   |  27 ------
 src/util.h                   |  28 ------
 tests/libvirttest.py         |  32 +++++++
 tests/test_connect.py        |  24 +++--
 tests/test_domain.py         |  46 ++++++----
 tests/test_network.py        |  20 +++--
 13 files changed, 131 insertions(+), 437 deletions(-)

-- 
2.15.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list