All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/7] Add JSON enconding and formatted printing to QObject
@ 2009-10-17  7:55 Paolo Bonzini
  2009-10-17  7:55 ` [Qemu-devel] [PATCH 1/7] add qemu_memdup Paolo Bonzini
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Paolo Bonzini @ 2009-10-17  7:55 UTC (permalink / raw)
  To: qemu-devel

This patch adds to the QObject system a method to encode JSON
objects.  It also adds printf-like capabilities where you can
write %{a.b} in a format string and the method will walk a
QDict to find the "a" first and "b" in a QDict inside that one
(and then print what's found).

Since QEMU does not have (or I could not find...) a variable-length
string buffer object, I added that to QString, thus making it mutable.
I talked to Luiz and he mentioned that QString were immutable not
by design, but rather due to not having the need so far.

Paolo Bonzini (7):
    add qemu_memdup
    allow passing NULL to qobject_type
    forward declare all QObject subclasses in qobject.h
    add mutable qstring functions
    add json encoder for qobjects
    add testsuite for qobject json encoder
    add formatted printing of QObjects

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-10-17 16:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-17  7:55 [Qemu-devel] [PATCH 0/7] Add JSON enconding and formatted printing to QObject Paolo Bonzini
2009-10-17  7:55 ` [Qemu-devel] [PATCH 1/7] add qemu_memdup Paolo Bonzini
2009-10-17  7:55 ` [Qemu-devel] [PATCH 2/7] allow passing NULL to qobject_type Paolo Bonzini
2009-10-17  7:55 ` [Qemu-devel] [PATCH 3/7] forward declare all QObject subclasses in qobject.h Paolo Bonzini
2009-10-17 13:02   ` Anthony Liguori
2009-10-17  7:55 ` [Qemu-devel] [PATCH 4/7] add mutable qstring functions Paolo Bonzini
2009-10-17 13:03   ` Anthony Liguori
2009-10-17  7:55 ` [Qemu-devel] [PATCH 5/7] add json encoder for qobjects Paolo Bonzini
2009-10-17 13:03   ` Anthony Liguori
2009-10-17 13:44     ` Paolo Bonzini
2009-10-17 16:20       ` Anthony Liguori
2009-10-17  7:55 ` [Qemu-devel] [PATCH 6/7] add testsuite for qobject json encoder Paolo Bonzini
2009-10-17  7:55 ` [Qemu-devel] [PATCH 7/7] add formatted printing of QObjects Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.